Skip to content

Commit

Permalink
Use correct package ranges in create recipes (#1214)
Browse files Browse the repository at this point in the history
We should consider using a more robust way of managing these ranges to
avoid needing to always touch these directly, while also avoiding making
them roughly "*".

This only "broke" because we don't have these old versions published and
`^` for 0.x versions won't automatically install the latest minor
version since that's considered a breaking change.
  • Loading branch information
scotttrinh authored Feb 25, 2025
1 parent cc9e809 commit a1217c0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/create/src/recipes/express/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const recipe: Recipe = {
typecheck: "tsc --noEmit",
},
dependencies: {
...(baseOptions.useGelAuth ? { "@gel/auth-express": "^0.1.0" } : {}),
...(baseOptions.useGelAuth ? { "@gel/auth-express": "^0.3.0" } : {}),
"cookie-parser": "^1.4.6",
express: "^4.18.2",
},
Expand Down
2 changes: 1 addition & 1 deletion packages/create/src/recipes/nextjs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const recipe: Recipe<NextjsOptions> = {
lint: "next lint",
},
dependencies: {
...(useGelAuth ? { "@gel/auth-nextjs": "^0.1.0" } : {}),
...(useGelAuth ? { "@gel/auth-nextjs": "^0.4.0" } : {}),
gel: "^2.0.0",
react: "^19.0.0",
"react-dom": "^19.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/create/src/recipes/remix/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const recipe: Recipe = {
typecheck: "tsc",
},
dependencies: {
...(useGelAuth ? { "@gel/auth-remix": "^0.1.0" } : {}),
...(useGelAuth ? { "@gel/auth-remix": "^0.3.0" } : {}),
react: "^18",
"react-dom": "^18",
"@remix-run/css-bundle": "*",
Expand Down
2 changes: 1 addition & 1 deletion packages/create/src/recipes/sveltekit/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const recipe: Recipe<SveltekitOptions> = {
},
dependencies: {
...(useGelAuth && {
"@gel/auth-sveltekit": "^0.1.1",
"@gel/auth-sveltekit": "^0.3.0",
}),
},
devDependencies: {
Expand Down

0 comments on commit a1217c0

Please sign in to comment.