Skip to content

Commit

Permalink
project root
Browse files Browse the repository at this point in the history
  • Loading branch information
hirsch88 committed Feb 12, 2024
1 parent aff7cfb commit 18c031f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
16 changes: 11 additions & 5 deletions packages/icons/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
"sourceRoot": "packages/icons/src",
"projectType": "library",
"targets": {
"nx-release-publish": {
"executor": "@nx/js:release-publish",
"options": {
"packageRoot": "{projectRoot}/dist"
}
},
"prepare": {
"executor": "nx:run-commands",
"options": {
Expand All @@ -14,11 +20,11 @@
"executor": "@nx/rollup:rollup",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "packages/icons/dist",
"main": "packages/icons/src/index.ts",
"tsConfig": "packages/icons/tsconfig.lib.json",
"assets": ["packages/icons/src/assets"],
"project": "packages/icons/package.json",
"outputPath": "{projectRoot}/dist",
"main": "{projectRoot}/src/index.ts",
"tsConfig": "{projectRoot}/tsconfig.lib.json",
"assets": ["{projectRoot}/src/assets"],
"project": "{projectRoot}/package.json",
"compiler": "swc",
"format": ["cjs", "esm"]
}
Expand Down
12 changes: 6 additions & 6 deletions packages/tokens/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
"executor": "@nxkit/style-dictionary:build",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "packages/tokens/dist",
"styleDictionaryConfig": "packages/tokens/style-dictionary.config.ts",
"tsConfig": "packages/tokens/tsconfig.json",
"customFormats": "packages/tokens/src/extensions/formats/index.ts",
"customFilters": "packages/tokens/src/extensions/filters/index.ts",
"customTransforms": "packages/tokens/src/extensions/transforms/index.ts"
"outputPath": "{projectRoot}/dist",
"styleDictionaryConfig": "{projectRoot}/style-dictionary.config.ts",
"tsConfig": "{projectRoot}/tsconfig.json",
"customFormats": "{projectRoot}/src/extensions/formats/index.ts",
"customFilters": "{projectRoot}/src/extensions/filters/index.ts",
"customTransforms": "{projectRoot}/src/extensions/transforms/index.ts"
}
}
},
Expand Down

0 comments on commit 18c031f

Please sign in to comment.