Skip to content

Commit 2a90490

Browse files
beaussanSeanCassiere
andauthoredJan 30, 2025··
chore(examples): fix nx graph detection (#3271)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
1 parent 044ff1c commit 2a90490

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
 

‎examples/react/router-monorepo-simple-lazy/packages/app/package.json

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
"vite-plugin-dts": "^4.5.0"
2828
},
2929
"nx": {
30+
"//": "This is a workaround for a bug in Nx. See https://github.com/nrwl/nx/issues/29486",
31+
"implicitDependencies": [
32+
"@router-mono-simple-lazy/post-feature"
33+
],
3034
"targets": {
3135
"dev": {
3236
"dependsOn": [

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"clean": "pnpm --filter \"./packages/**\" run clean",
1313
"preinstall": "node -e \"if(process.env.CI == 'true') {console.info('Skipping preinstall...')} else {process.exit(1)}\" || npx -y only-allow pnpm",
1414
"test": "pnpm run test:ci",
15-
"test:pr": "nx affected --targets=test:eslint,test:unit,test:e2e,test:types,test:build,build --exclude=examples/react/router-monorepo-simple/**",
16-
"test:ci": "nx run-many --targets=test:eslint,test:unit,test:e2e,test:types,test:build,build --exclude=examples/react/router-monorepo-simple/**",
15+
"test:pr": "nx affected --targets=test:eslint,test:unit,test:e2e,test:types,test:build,build",
16+
"test:ci": "nx run-many --targets=test:eslint,test:unit,test:e2e,test:types,test:build,build",
1717
"test:eslint": "nx affected --target=test:eslint --exclude=examples/**,e2e/**",
1818
"test:format": "pnpm run prettier --check",
1919
"test:unit": "nx affected --target=test:unit --exclude=examples/**,e2e/**",

0 commit comments

Comments
 (0)
Please sign in to comment.