Skip to content

Commit

Permalink
refactor: updated nx to v14.8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
dereekb committed Dec 3, 2022
1 parent 7c6be73 commit 4635fb1
Show file tree
Hide file tree
Showing 22 changed files with 8,127 additions and 15,063 deletions.
16 changes: 8 additions & 8 deletions apps/demo-api/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "application",
"targets": {
"build": {
"executor": "@nrwl/workspace:run-commands",
"executor": "nx:run-commands",
"outputs": ["dist/apps/demo-api"],
"options": {
"command": "npx nx run demo-api:build-base",
Expand Down Expand Up @@ -37,19 +37,19 @@
}
},
"run-emulators": {
"executor": "@nrwl/workspace:run-commands",
"executor": "nx:run-commands",
"options": {
"command": "npx env-cmd -f .env.local --use-shell 'npx firebase --project=default emulators:start --import=/root/data/emulators --export-on-exit'"
}
},
"watch-emulators": {
"executor": "@nrwl/workspace:run-commands",
"executor": "nx:run-commands",
"options": {
"command": "echo 'starting server in 5...'; sleep 5; while sleep 2; do find dist/apps/demo-api | entr -r -s './wait-for-ports.sh && npx env-cmd -f .env.local --use-shell npx firebase --project=default emulators:start --import=/root/data/emulators --export-on-exit'; done"
}
},
"serve": {
"executor": "@nrwl/workspace:run-commands",
"executor": "nx:run-commands",
"options": {
"commands": [
{
Expand All @@ -70,7 +70,7 @@
}
},
"test": {
"executor": "@nrwl/workspace:run-commands",
"executor": "nx:run-commands",
"options": {
"command": "./exec-with-emulator.sh 'npx nx run-tests demo-api'"
}
Expand All @@ -84,19 +84,19 @@
}
},
"watch": {
"executor": "@nrwl/workspace:run-commands",
"executor": "nx:run-commands",
"options": {
"command": "./exec-with-emulator.sh 'npx nx run-tests demo-api --watch'"
}
},
"make-env": {
"executor": "@nrwl/workspace:run-commands",
"executor": "nx:run-commands",
"options": {
"command": "node ./make-env.js > dist/apps/demo-api/.env && cp .env.prod dist/apps/demo-api/.env.prod"
}
},
"ci-deploy": {
"executor": "@nrwl/workspace:run-commands",
"executor": "nx:run-commands",
"options": {
"commands": [
{
Expand Down
6 changes: 3 additions & 3 deletions apps/demo/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"prefix": "app",
"targets": {
"build": {
"executor": "@nrwl/workspace:run-commands",
"executor": "nx:run-commands",
"outputs": ["dist/apps/demo"],
"options": {
"command": "npx nx run demo:build-base",
Expand Down Expand Up @@ -109,13 +109,13 @@
}
},
"deploy": {
"executor": "@nrwl/workspace:run-commands",
"executor": "nx:run-commands",
"options": {
"command": "npx firebase --project=default deploy --only hosting"
}
},
"ci-deploy": {
"executor": "@nrwl/workspace:run-commands",
"executor": "nx:run-commands",
"options": {
"command": "npx firebase --project=default deploy --only hosting"
}
Expand Down
2 changes: 1 addition & 1 deletion components/demo-components/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"prefix": "demo",
"targets": {
"build": {
"executor": "@nrwl/workspace:run-commands",
"executor": "nx:run-commands",
"outputs": ["dist/components/demo-components"],
"options": {
"command": "npx nx run demo-components:build-base",
Expand Down
4 changes: 2 additions & 2 deletions components/demo-firebase/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/workspace:run-commands",
"executor": "nx:run-commands",
"outputs": ["dist/components/demo-firebase"],
"options": {
"command": "npx nx run demo-firebase:build-base",
Expand Down Expand Up @@ -37,7 +37,7 @@
}
},
"watch": {
"executor": "@nrwl/workspace:run-commands",
"executor": "nx:run-commands",
"options": {
"command": "./exec-with-emulator.sh 'npx nx run-tests demo-firebase --watch'"
}
Expand Down
42 changes: 37 additions & 5 deletions migrations.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,44 @@
{
"migrations": [
{
"version": "14.5.5-beta.0",
"cli": "nx",
"description": "Exclude jest.config.ts from tsconfig where missing.",
"factory": "./src/migrations/update-14-0-0/update-jest-config-ext",
"package": "@nrwl/jest",
"name": "exclude-jest-config-from-ts-config"
"version": "14.6.0-beta.0",
"description": "Update the @angular/cli package version to ~14.2.0.",
"factory": "./src/migrations/update-14-6-0/update-angular-cli",
"package": "@nrwl/angular",
"name": "update-angular-cli-version-14-2-0"
},
{
"cli": "nx",
"version": "14.6.1-beta.0",
"description": "Change Cypress e2e and component testing presets to use __filename instead of __dirname and include a devServerTarget for component testing.",
"factory": "./src/migrations/update-14-6-1/update-cypress-configs-presets",
"package": "@nrwl/cypress",
"name": "update-cypress-configs-preset"
},
{
"cli": "nx",
"version": "14.7.0-beta.0",
"description": "Update Cypress if using v10 to support latest component testing features",
"factory": "./src/migrations/update-14-7-0/update-cypress-version-if-10",
"package": "@nrwl/cypress",
"name": "update-cypress-if-v10"
},
{
"cli": "nx",
"version": "14.7.6-beta.1",
"description": "Update usages of webpack executors to @nrwl/webpack",
"factory": "./src/migrations/update-14-7-6/update-webpack-executor",
"package": "@nrwl/node",
"name": "update-webpack-executor"
},
{
"version": "14.8.0-beta.0",
"description": "Migrates from @nrwl/workspace:run-commands to nx:run-commands",
"cli": "nx",
"implementation": "./src/migrations/update-14-8-0/change-run-commands-executor",
"package": "@nrwl/workspace",
"name": "14-8-0-change-run-commands-executor"
}
]
}
Loading

0 comments on commit 4635fb1

Please sign in to comment.