From 8f920a3e1028062d0ae135436f6645dc4d284258 Mon Sep 17 00:00:00 2001 From: Daniel Bate Date: Mon, 2 Dec 2024 10:33:34 +0000 Subject: [PATCH 1/3] chore: cleanups for recipes build --- .prettierignore | 2 -- nodemon.config.json | 3 ++- packages/recipes/CHANGELOG.md | 2 +- packages/recipes/package.json | 4 +++- packages/recipes/src/types/Src14OwnedProxy.ts | 1 - 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.prettierignore b/.prettierignore index a5f37d5f210..16f1d26f503 100644 --- a/.prettierignore +++ b/.prettierignore @@ -19,8 +19,6 @@ apps/docs/.typedoc apps/docs/src/api apps/docs/src/typegend apps/docs/src/**/*.test.ts - -packages/recipes/src packages/fuels/test/fixtures/project packages/account/src/providers/assets diff --git a/nodemon.config.json b/nodemon.config.json index fcbc36f5086..cb288d1364a 100644 --- a/nodemon.config.json +++ b/nodemon.config.json @@ -15,6 +15,7 @@ "apps/demo-typegen/src/contract-types/**", "apps/demo-typegen/src/predicate-types/**", "apps/demo-typegen/src/script-types/**", - "packages/fuels/src/cli/commands/deploy/proxy/types/**" + "packages/fuels/src/cli/commands/deploy/proxy/types/**", + "packages/recipes/src/types/**" ] } diff --git a/packages/recipes/CHANGELOG.md b/packages/recipes/CHANGELOG.md index fa4d35e687c..420e6f23d0e 100644 --- a/packages/recipes/CHANGELOG.md +++ b/packages/recipes/CHANGELOG.md @@ -1 +1 @@ -# Change Log \ No newline at end of file +# Change Log diff --git a/packages/recipes/package.json b/packages/recipes/package.json index 5f9f46e216b..ad436f02427 100644 --- a/packages/recipes/package.json +++ b/packages/recipes/package.json @@ -20,8 +20,10 @@ "dist" ], "scripts": { - "build": "tsup && pnpm build:recipes", + "build": "run-s build:package build:recipes build:format", + "build:package": "tsup", "build:recipes": "tsx ./scripts/build-recipes.ts", + "build:format": "prettier --config ../../.prettierrc --write .", "postbuild": "tsx ../../scripts/postbuild.ts" }, "license": "Apache-2.0", diff --git a/packages/recipes/src/types/Src14OwnedProxy.ts b/packages/recipes/src/types/Src14OwnedProxy.ts index d5b737e7c35..dcfab7009a8 100644 --- a/packages/recipes/src/types/Src14OwnedProxy.ts +++ b/packages/recipes/src/types/Src14OwnedProxy.ts @@ -652,7 +652,6 @@ const storageSlots: StorageSlot[] = [ value: '0000000000000000000000000000000000000000000000000000000000000000', }, ]; - export class Src14OwnedProxyInterface extends Interface { constructor() { super(abi); From 5620e463950e38cb27dadcadd2331e5c1387f6d6 Mon Sep 17 00:00:00 2001 From: Daniel Bate Date: Mon, 2 Dec 2024 10:34:32 +0000 Subject: [PATCH 2/3] chore: changeset --- .changeset/red-trainers-mix.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/red-trainers-mix.md diff --git a/.changeset/red-trainers-mix.md b/.changeset/red-trainers-mix.md new file mode 100644 index 00000000000..2459d658394 --- /dev/null +++ b/.changeset/red-trainers-mix.md @@ -0,0 +1,5 @@ +--- +"@fuel-ts/recipes": patch +--- + +chore: recipes build clean ups From 048cfa26c8fa4b63223ed9b856f1f37c656c750b Mon Sep 17 00:00:00 2001 From: Daniel Bate Date: Mon, 2 Dec 2024 10:44:14 +0000 Subject: [PATCH 3/3] chore: lint Co-authored-by: Peter Smith --- nodemon.config.json | 1 - 1 file changed, 1 deletion(-) diff --git a/nodemon.config.json b/nodemon.config.json index cb288d1364a..9245eb11690 100644 --- a/nodemon.config.json +++ b/nodemon.config.json @@ -15,7 +15,6 @@ "apps/demo-typegen/src/contract-types/**", "apps/demo-typegen/src/predicate-types/**", "apps/demo-typegen/src/script-types/**", - "packages/fuels/src/cli/commands/deploy/proxy/types/**", "packages/recipes/src/types/**" ] }