Skip to content

Commit ab25692

Browse files
jasonbahltheodesp
authored andcommitted
- 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
1 parent b6fde90 commit ab25692

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
},
88
"workspaces": {
99
"packages": [
10-
"packages/*"
10+
"packages/faustwp-core",
11+
"packages/faustwp-cli",
12+
"packages/blocks",
13+
"packages/block-editor-utils"
1114
],
1215
"plugins": [
1316
"plugins/*"
@@ -30,7 +33,7 @@
3033
"build:faust-core": "npm run build --workspace=@faustwp/core",
3134
"build:faust-blocks": "npm run build --workspace=@faustwp/blocks",
3235
"build:experimental-app-router": "npm run build --workspace=@faustwp/experimental-app-router",
33-
"clean": "npm run clean --workspaces",
36+
"clean": "rimraf node_modules && npm run clean --workspaces",
3437
"clean:examples": "rimraf examples/**/node_modules",
3538
"format": "npm run format --workspaces",
3639
"build:faust-block-editor-utils": "npm run build --workspace=@faustwp/block-editor-utils",

packages/faustwp-cli/tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@
1212
"exclude": ["node_modules", "dist"],
1313
"include": ["src"]
1414
}
15+
16+

packages/faustwp-core/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"concurrently": "^7.6.0",
2727
"fetch-mock": "9.11.0",
2828
"jest": "^27.3.1",
29+
"sass": "^1.78.0",
2930
"shx": "^0.3.4",
3031
"ts-jest": "^27.0.7",
3132
"ts-loader": "^9.2.6",

0 commit comments

Comments
 (0)