Skip to content

Commit

Permalink
ci: Update Nx config (#39)
Browse files Browse the repository at this point in the history
* ci: Update Nx config

* Don't exclude examples
  • Loading branch information
lachlancollins authored Feb 3, 2024
1 parent b4e8293 commit 59953ba
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 29 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ concurrency:

env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
NX_CLOUD_AUTH_TOKEN: ${{ secrets.NX_CLOUD_AUTH_TOKEN }}

jobs:
test-and-publish:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ concurrency:

env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
NX_CLOUD_AUTH_TOKEN: ${{ secrets.NX_CLOUD_AUTH_TOKEN }}

jobs:
test:
Expand Down
5 changes: 0 additions & 5 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@
"defaultBase": "main"
},
"defaultBase": "main",
"pluginsConfig": {
"@nrwl/js": {
"analyzeSourceFiles": false
}
},
"nxCloudAccessToken": "OTI3Y2U3NGQtYzQ3ZC00ZmE3LWJjZWQtYTYxOTEyNmNiN2IyfHJlYWQtb25seQ==",
"parallel": 5,
"namedInputs": {
Expand Down
17 changes: 3 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
"install:csb": "corepack enable && pnpm install --frozen-lockfile",
"test": "pnpm run test:ci",
"test:pr": "nx affected --targets=test:format,test:eslint,test:lib,test:types,build,test:build --exclude=examples/**",
"test:ci": "nx run-many --targets=test:format,test:eslint,test:lib,test:types,build,test:build --exclude=examples/**",
"test:pr": "nx affected --targets=test:format,test:eslint,test:lib,test:types,test:build,build",
"test:ci": "nx run-many --targets=test:format,test:eslint,test:lib,test:types,test:build,build",
"test:eslint": "nx affected --target=test:eslint",
"test:format": "pnpm run prettier --check",
"test:lib": "nx affected --target=test:lib --exclude=examples/**",
Expand All @@ -32,20 +32,9 @@
]
},
"namespace": "@tanstack",
"workspaces": [
"./packages/*",
"./examples/react/*",
"./examples/solid/*"
],
"pnpm": {
"overrides": {
"@tanstack/store": "workspace:*",
"@tanstack/react-store": "workspace:*"
}
},
"devDependencies": {
"@solidjs/testing-library": "^0.8.5",
"@tanstack/config": "^0.3.2",
"@tanstack/config": "^0.4.2",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.4.3",
Expand Down
12 changes: 4 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 59953ba

Please sign in to comment.