Skip to content

Commit

Permalink
build: Fix nx-config for lint (#10050)
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst committed Jan 4, 2024
1 parent a696aef commit c769958
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
3 changes: 3 additions & 0 deletions dev-packages/browser-integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
"dependencies": {
"@babel/preset-typescript": "^7.16.7",
"@playwright/test": "^1.31.1",
"@sentry/browser": "7.91.0",
"@sentry/tracing": "7.91.0",
"@sentry-internal/rrweb": "2.6.0",
"axios": "1.6.0",
"babel-loader": "^8.2.2",
"html-webpack-plugin": "^5.5.0",
Expand Down
2 changes: 2 additions & 0 deletions dev-packages/node-integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
"test:watch": "yarn test --watch"
},
"dependencies": {
"@sentry/node": "7.91.0",
"@sentry/tracing": "7.91.0",
"@prisma/client": "3.15.2",
"@types/mongodb": "^3.6.20",
"@types/mysql": "^2.15.21",
Expand Down
14 changes: 4 additions & 10 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,7 @@
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"build:bundle",
"build:transpile",
"build:types",
"lint:eslint",
"test:unit",
"build:tarball"
],
"cacheableOperations": ["build:bundle", "build:transpile", "build:types", "lint", "test:unit", "build:tarball"],
"cacheDirectory": ".nxcache"
}
}
Expand All @@ -34,15 +27,16 @@
"build:transpile": {
"inputs": ["production", "^production"],
"dependsOn": ["^build:transpile"],
"outputs": ["{projectRoot}/build/npm", "{projectRoot}/build/esm", "{projectRoot}/build/cjs"]
"outputs": ["{projectRoot}/build"]
},
"build:types": {
"inputs": ["production", "^production"],
"dependsOn": ["^build:types"],
"outputs": ["{projectRoot}/build/**/*.d.ts"]
},
"lint:eslint": {
"lint": {
"inputs": ["default"],
"dependsOn": ["^build:types", "build:types"],
"outputs": []
},
"test:unit": {
Expand Down

0 comments on commit c769958

Please sign in to comment.