-
-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: modular workspace config with nx 12.5 (#560)
- Loading branch information
1 parent
c8d2321
commit 7c47be9
Showing
35 changed files
with
523 additions
and
504 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"root": "packages/builder", | ||
"type": "library", | ||
"targets": { | ||
"build": { | ||
"executor": "@nrwl/workspace:run-commands", | ||
"outputs": ["packages/builder/dist"], | ||
"options": { | ||
"cwd": "packages/builder", | ||
"parallel": false, | ||
"commands": [ | ||
"npx rimraf ./dist", | ||
"npx tsc --project tsconfig.build.json", | ||
"terser ./dist/index.js --output=./dist/index.js", | ||
"ncp src/schema.json dist/schema.json" | ||
] | ||
} | ||
}, | ||
"test": { | ||
"executor": "@nrwl/workspace:run-commands", | ||
"outputs": ["packages/builder/coverage"], | ||
"options": { | ||
"cwd": "packages/builder", | ||
"parallel": false, | ||
"commands": ["npx jest --coverage"] | ||
} | ||
}, | ||
"clean": { | ||
"executor": "@nrwl/workspace:run-commands", | ||
"options": { | ||
"cwd": "packages/builder", | ||
"parallel": false, | ||
"commands": ["npx rimraf ./dist"] | ||
} | ||
}, | ||
"typecheck": { | ||
"executor": "@nrwl/workspace:run-commands", | ||
"options": { | ||
"cwd": "packages/builder", | ||
"parallel": false, | ||
"commands": ["npx tsc -p tsconfig.json --noEmit"] | ||
} | ||
} | ||
}, | ||
"implicitDependencies": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"root": "packages/eslint-plugin-template", | ||
"type": "library", | ||
"targets": { | ||
"build": { | ||
"executor": "@nrwl/workspace:run-commands", | ||
"outputs": ["packages/eslint-plugin-template/dist"], | ||
"options": { | ||
"cwd": "packages/eslint-plugin-template", | ||
"parallel": false, | ||
"commands": [ | ||
"npx rimraf ./dist", | ||
"npx microbundle --tsconfig tsconfig.build.json --no-sourcemap --target=node --compress --format=cjs", | ||
"npx ncp ./src/configs ./dist/configs" | ||
] | ||
} | ||
}, | ||
"test": { | ||
"executor": "@nrwl/workspace:run-commands", | ||
"outputs": ["packages/eslint-plugin-template/coverage"], | ||
"options": { | ||
"cwd": "packages/eslint-plugin-template", | ||
"parallel": false, | ||
"commands": ["npx nx build template-parser", "npx jest --coverage"] | ||
} | ||
}, | ||
"clean": { | ||
"executor": "@nrwl/workspace:run-commands", | ||
"options": { | ||
"cwd": "packages/eslint-plugin-template", | ||
"parallel": false, | ||
"commands": ["npx rimraf ./dist"] | ||
} | ||
}, | ||
"typecheck": { | ||
"executor": "@nrwl/workspace:run-commands", | ||
"options": { | ||
"cwd": "packages/eslint-plugin-template", | ||
"parallel": false, | ||
"commands": ["npx tsc -p tsconfig.json --noEmit"] | ||
} | ||
}, | ||
"check-configs": { | ||
"executor": "@nrwl/workspace:run-commands", | ||
"options": { | ||
"cwd": "packages/eslint-plugin-template", | ||
"parallel": false, | ||
"commands": [ | ||
"npx jest tests/configs.test.ts --runTestsByPath --runInBand" | ||
] | ||
} | ||
} | ||
}, | ||
"implicitDependencies": ["template-parser"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"root": "packages/eslint-plugin", | ||
"type": "library", | ||
"targets": { | ||
"build": { | ||
"executor": "@nrwl/workspace:run-commands", | ||
"outputs": ["packages/eslint-plugin/dist"], | ||
"options": { | ||
"cwd": "packages/eslint-plugin", | ||
"parallel": false, | ||
"commands": [ | ||
"npx rimraf ./dist", | ||
"npx microbundle --tsconfig tsconfig.build.json --no-sourcemap --target=node --compress --format=cjs", | ||
"npx ncp ./src/configs ./dist/configs" | ||
] | ||
} | ||
}, | ||
"test": { | ||
"executor": "@nrwl/workspace:run-commands", | ||
"outputs": ["packages/eslint-plugin/coverage"], | ||
"options": { | ||
"cwd": "packages/eslint-plugin", | ||
"parallel": false, | ||
"commands": ["npx jest --coverage"] | ||
} | ||
}, | ||
"clean": { | ||
"executor": "@nrwl/workspace:run-commands", | ||
"options": { | ||
"cwd": "packages/eslint-plugin", | ||
"parallel": false, | ||
"commands": ["npx rimraf ./dist"] | ||
} | ||
}, | ||
"typecheck": { | ||
"executor": "@nrwl/workspace:run-commands", | ||
"options": { | ||
"cwd": "packages/eslint-plugin", | ||
"parallel": false, | ||
"commands": ["npx tsc -p tsconfig.json --noEmit"] | ||
} | ||
}, | ||
"check-configs": { | ||
"executor": "@nrwl/workspace:run-commands", | ||
"options": { | ||
"cwd": "packages/eslint-plugin", | ||
"parallel": false, | ||
"commands": [ | ||
"npx jest tests/configs.test.ts --runTestsByPath --runInBand" | ||
] | ||
} | ||
} | ||
}, | ||
"implicitDependencies": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.