Skip to content

Commit

Permalink
chore: update repo to nx 17.3 (#3944)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry committed Feb 5, 2024
1 parent 4fcac71 commit bd0b5ce
Show file tree
Hide file tree
Showing 47 changed files with 571 additions and 521 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,5 +230,8 @@ jobs:

- name: Run e2e tests for task-runner
if: ${{ steps.check_affected.outputs.is_affected }}
run: e2e/run/task-runner/src/run-tests.sh
run: |
# We do not want the automatic Github Actions grouping to be applied to the e2e tests, or the snapshots won't match local
unset GITHUB_ACTIONS
e2e/run/task-runner/src/run-tests.sh
shell: bash
5 changes: 1 addition & 4 deletions e2e/changed/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"run-e2e-tests": {},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/changed/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
}
}
5 changes: 1 addition & 4 deletions e2e/clean/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"run-e2e-tests": {},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/clean/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
}
}
5 changes: 1 addition & 4 deletions e2e/create/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"run-e2e-tests": {},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/create/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
}
}
5 changes: 1 addition & 4 deletions e2e/diff/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"run-e2e-tests": {},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/diff/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
}
}
5 changes: 1 addition & 4 deletions e2e/exec/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"run-e2e-tests": {},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/exec/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
}
}
5 changes: 1 addition & 4 deletions e2e/info/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"run-e2e-tests": {},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/info/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
}
}
5 changes: 1 addition & 4 deletions e2e/init/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"run-e2e-tests": {},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/init/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
}
}
5 changes: 1 addition & 4 deletions e2e/list/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"run-e2e-tests": {},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/list/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
}
}
5 changes: 1 addition & 4 deletions e2e/publish/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"run-e2e-tests": {},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/publish/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
}
}
5 changes: 1 addition & 4 deletions e2e/repair/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"run-e2e-tests": {},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/repair/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
}
}
5 changes: 1 addition & 4 deletions e2e/run/legacy-task-runner/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"run-e2e-tests": {},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/run/legacy-task-runner/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
}
}
5 changes: 1 addition & 4 deletions e2e/run/task-runner/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/run/task-runner/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
}
}
5 changes: 1 addition & 4 deletions e2e/version/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"run-e2e-tests": {},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/version/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
}
}
5 changes: 1 addition & 4 deletions e2e/watch/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
"run-e2e-tests": {},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/watch/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
}
}
5 changes: 1 addition & 4 deletions integration/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["integration/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
},
"integration": {
"executor": "@nx/jest:jest",
Expand Down
5 changes: 1 addition & 4 deletions libs/child-process/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/child-process/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
Expand Down
5 changes: 1 addition & 4 deletions libs/commands/add/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/commands/add/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
Expand Down
5 changes: 1 addition & 4 deletions libs/commands/bootstrap/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/commands/bootstrap/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
Expand Down
5 changes: 1 addition & 4 deletions libs/commands/changed/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/commands/changed/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
Expand Down
5 changes: 1 addition & 4 deletions libs/commands/clean/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/commands/clean/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
Expand Down
5 changes: 4 additions & 1 deletion libs/commands/create/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {}
"rules": {
"node/no-extraneous-require": "off",
"import/no-extraneous-dependencies": "off"
}
},
{
"files": ["*.ts", "*.tsx"],
Expand Down
5 changes: 1 addition & 4 deletions libs/commands/create/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/commands/create/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
},
"tags": []
Expand Down
5 changes: 1 addition & 4 deletions libs/commands/diff/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/commands/diff/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
Expand Down
5 changes: 1 addition & 4 deletions libs/commands/exec/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/commands/exec/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
Expand Down
5 changes: 1 addition & 4 deletions libs/commands/import/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/commands/import/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
Expand Down
5 changes: 1 addition & 4 deletions libs/commands/info/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/commands/info/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
Expand Down
5 changes: 1 addition & 4 deletions libs/commands/init/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/commands/init/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
Expand Down
5 changes: 1 addition & 4 deletions libs/commands/link/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/commands/link/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
Expand Down
5 changes: 1 addition & 4 deletions libs/commands/list/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/commands/list/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
Expand Down
5 changes: 1 addition & 4 deletions libs/commands/publish/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/commands/publish/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
Expand Down
5 changes: 1 addition & 4 deletions libs/commands/run/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/commands/run/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
Expand Down
5 changes: 1 addition & 4 deletions libs/commands/version/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/commands/version/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
Expand Down

0 comments on commit bd0b5ce

Please sign in to comment.