Skip to content

Commit

Permalink
fix(design): nx cache for schematics
Browse files Browse the repository at this point in the history
  • Loading branch information
kpanot committed Oct 9, 2024
1 parent 553fbdd commit 8c5e9d2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -259,14 +259,17 @@
"inputs": ["builders", "schematics", "middlewares", "^source"],
"outputs": [
"{projectRoot}/dist/builders/package.json",
"{projectRoot}/dist/builders/**/*.cjs",
"{projectRoot}/dist/builders/**/*.js",
"{projectRoot}/dist/builders/**/*.d.ts",
"{projectRoot}/dist/builders/**/*.d.ts.map",
"{projectRoot}/dist/schematics/package.json",
"{projectRoot}/dist/schematics/**/*.cjs",
"{projectRoot}/dist/schematics/**/*.js",
"{projectRoot}/dist/schematics/**/*.d.ts",
"{projectRoot}/dist/schematics/**/*.d.ts.map",
"{projectRoot}/dist/middlewares/package.json",
"{projectRoot}/dist/middlewares/**/*.cjs",
"{projectRoot}/dist/middlewares/**/*.js",
"{projectRoot}/dist/middlewares/**/*.d.ts",
"{projectRoot}/dist/middlewares/**/*.d.ts.map",
Expand Down
2 changes: 1 addition & 1 deletion packages/@o3r/design/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"prepare:build:builders": "yarn cpy 'builders/**/schema.json' dist/builders && yarn cpy '{builders,collection,migration}.json' dist && yarn cpy 'schematics/**/schema.json' dist/schematics && yarn copy:templates",
"prepare:publish": "prepare-publish ./dist",
"build:source": "tsc -b tsconfig.build.json && yarn cpy package.json dist/",
"build:builders": "tsc -b tsconfig.builders.json --pretty && yarn copy:templates && generate-cjs-manifest",
"build:builders": "tsc -b tsconfig.builders.json --pretty && generate-cjs-manifest",
"build": "yarn nx build design",
"postbuild": "yarn copy:schemas && patch-package-json-main"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/@o3r/design/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"script": "build:source"
},
"inputs": [
"{projectRoot}/cli/*.cts",
"cli",
"source",
"^source"
]
Expand Down

0 comments on commit 8c5e9d2

Please sign in to comment.