From c6b1190ff612d19bc35ab24f22ce21e12681ffc6 Mon Sep 17 00:00:00 2001 From: Jason Bahl Date: Mon, 16 Sep 2024 21:11:10 -0600 Subject: [PATCH] - change packages to have explicit ordering so that core is built before blocks as core is a dependency of blocks - add sass as dependency to faustwp-core --- package-lock.json | 1 + package.json | 7 +++++-- packages/faustwp-cli/tsconfig.json | 2 ++ packages/faustwp-core/package.json | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 03742f9da..2319b07a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16112,6 +16112,7 @@ "concurrently": "^7.6.0", "fetch-mock": "9.11.0", "jest": "^27.3.1", + "sass": "^1.78.0", "shx": "^0.3.4", "ts-jest": "^27.0.7", "ts-loader": "^9.2.6", diff --git a/package.json b/package.json index eaa27602e..b2f47a497 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,10 @@ }, "workspaces": { "packages": [ - "packages/*" + "packages/faustwp-core", + "packages/faustwp-cli", + "packages/blocks", + "packages/block-editor-utils" ], "plugins": [ "plugins/*" @@ -30,7 +33,7 @@ "build:faust-core": "npm run build --workspace=@faustwp/core", "build:faust-blocks": "npm run build --workspace=@faustwp/blocks", "build:experimental-app-router": "npm run build --workspace=@faustwp/experimental-app-router", - "clean": "npm run clean --workspaces", + "clean": "rimraf node_modules && npm run clean --workspaces", "clean:examples": "rimraf examples/**/node_modules", "format": "npm run format --workspaces", "build:faust-block-editor-utils": "npm run build --workspace=@faustwp/block-editor-utils", diff --git a/packages/faustwp-cli/tsconfig.json b/packages/faustwp-cli/tsconfig.json index be3130c84..dd1fd3aa3 100644 --- a/packages/faustwp-cli/tsconfig.json +++ b/packages/faustwp-cli/tsconfig.json @@ -12,3 +12,5 @@ "exclude": ["node_modules", "dist"], "include": ["src"] } + + diff --git a/packages/faustwp-core/package.json b/packages/faustwp-core/package.json index 411a486f6..2241c6e65 100644 --- a/packages/faustwp-core/package.json +++ b/packages/faustwp-core/package.json @@ -26,6 +26,7 @@ "concurrently": "^7.6.0", "fetch-mock": "9.11.0", "jest": "^27.3.1", + "sass": "^1.78.0", "shx": "^0.3.4", "ts-jest": "^27.0.7", "ts-loader": "^9.2.6",