Skip to content

Commit

Permalink
chore: nx 17.1.1 (typescript-eslint#7900)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry authored Nov 12, 2023
1 parent 1927893 commit fadc794
Show file tree
Hide file tree
Showing 5 changed files with 155 additions and 119 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ env:
PRIMARY_NODE_VERSION: '>=20.6.1'
# Only set the read-write token if we are on the main branch
NX_CLOUD_ACCESS_TOKEN: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') && secrets.NX_CLOUD_ACCESS_TOKEN || '' }}
NX_NO_CLOUD: true

defaults:
run:
Expand Down
23 changes: 18 additions & 5 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,24 @@
],
"cache": true
},
"package": {
"cache": true
},
"prebuild": {
"cache": true
"@nx/jest:jest": {
"inputs": [
"default",
"{workspaceRoot}/jest.config.js",
"{workspaceRoot}/jest.config.base.js"
],
"outputs": ["{projectRoot}/coverage"],
"cache": true,
"options": {
"jestConfig": "{projectRoot}/jest.config.js",
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
}
}
},
"namedInputs": {
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
"@babel/eslint-parser": "^7.22.7",
"@babel/parser": "^7.22.7",
"@babel/types": "^7.22.5",
"@nx/eslint": "17.0.2",
"@nx/jest": "17.0.2",
"@nx/workspace": "17.0.2",
"@nx/eslint": "17.1.1",
"@nx/jest": "17.1.1",
"@nx/workspace": "17.1.1",
"@prettier/sync": "^0.3.0",
"@swc/core": "^1.3.68",
"@swc/jest": "^0.2.26",
Expand Down Expand Up @@ -105,7 +105,7 @@
"markdownlint-cli": "^0.37.0",
"ncp": "^2.0.0",
"netlify": "^13.1.9",
"nx": "17.0.2",
"nx": "17.1.1",
"prettier": "3.0.3",
"pretty-format": "^29.6.2",
"raw-loader": "^4.0.2",
Expand Down
7 changes: 1 addition & 6 deletions packages/scope-manager/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,7 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{projectRoot}/coverage"],
"options": {
"jestConfig": "packages/scope-manager/jest.config.js",
"passWithNoTests": true
}
"executor": "@nx/jest:jest"
},
"generate-lib": {
"executor": "nx:run-commands",
Expand Down
Loading

0 comments on commit fadc794

Please sign in to comment.