Skip to content

Commit

Permalink
fix(examples): create-turbo dependencies with npm (#9580)
Browse files Browse the repository at this point in the history
### Description

Unpins the `next` dependency in the `basic` example.

### Testing Instructions

`npx create-turbo -e
https://github.com/vercel/turborepo/tree/shew-c50d5/examples/basic -m
npm`
  • Loading branch information
anthonyshew authored Dec 6, 2024
1 parent 6036aec commit b79e06e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/basic/apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@repo/ui": "workspace:*",
"next": "15.0.3",
"next": "^15.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
Expand Down
8 changes: 5 additions & 3 deletions examples/basic/apps/docs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
]
},
"include": [
"next-env.d.ts",
"next.config.js",
"**/*.ts",
"**/*.tsx",
"next-env.d.ts",
"next.config.js",
".next/types/**/*.ts"
],
"exclude": ["node_modules"]
"exclude": [
"node_modules"
]
}
2 changes: 1 addition & 1 deletion examples/basic/apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@repo/ui": "workspace:*",
"next": "15.0.3",
"next": "^15.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
Expand Down
8 changes: 5 additions & 3 deletions examples/basic/apps/web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
]
},
"include": [
"next-env.d.ts",
"next.config.js",
"**/*.ts",
"**/*.tsx",
"next-env.d.ts",
"next.config.js",
".next/types/**/*.ts"
],
"exclude": ["node_modules"]
"exclude": [
"node_modules"
]
}
4 changes: 2 additions & 2 deletions examples/basic/pnpm-lock.yaml

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

0 comments on commit b79e06e

Please sign in to comment.