Skip to content

Commit 65834b5

Browse files
committed
Merge branch 'main' into v5
2 parents 2eeb7c1 + 0cb4086 commit 65834b5

File tree

7 files changed

+21
-19
lines changed

7 files changed

+21
-19
lines changed

@app/client/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"react-dom": "^18.2.0",
3131
"slugify": "^1.6.5",
3232
"tls": "^0.0.1",
33-
"webpack": "^5.75.0"
33+
"webpack": "^5.76.0"
3434
},
3535
"devDependencies": {
3636
"cross-env": "^7.0.3",

@app/e2e/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"cross-env": "^7.0.3",
1313
"cypress": "^12.7.0",
1414
"jest": "^29.4.3",
15-
"webpack": "^5.75.0"
15+
"webpack": "^5.76.0"
1616
}
1717
}

@app/server/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"build": "tsc -b",
77
"start": "node -r @app/config/env dist/index.js",
88
"dev": "nodemon --signal SIGINT --watch 'dist/**/*.js' -x \"node --inspect=9678 -r @app/config/env -r source-map-support/register\" dist/index.js",
9-
"schema:export": "cross-env NODE_OPTIONS=\"${NODE_OPTIONS:-} -r @app/config/env\" ts-node scripts/schema-export.ts",
9+
"schema:export": "ts-node -r @app/config/env scripts/schema-export.ts",
1010
"cloudflare:import": "(echo \"export const cloudflareIps: string[] = [\"; (curl -Ls https://www.cloudflare.com/ips-v4 | sort | sed -e \"s/^/ \\\"/\" -e \"s/$/\\\",/\"); echo \"];\") > src/cloudflare.ts",
1111
"test": "cross-env NODE_ENV=test NODE_OPTIONS=\"${NODE_OPTIONS:-} -r @app/config/env\" jest"
1212
},

@app/server/src/graphile.config.ts

+8
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ declare global {
2828
}
2929
}
3030

31+
declare global {
32+
namespace Express {
33+
interface User {
34+
session_id: string;
35+
}
36+
}
37+
}
38+
3139
const TagsFilePlugin = makePgSmartTagsFromFilePlugin(
3240
// We're using JSONC for VSCode compatibility; also using an explicit file
3341
// path keeps the tests happy.

@app/server/src/middleware/installPassport.ts

-8
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@ interface DbSession {
1010
session_id: string;
1111
}
1212

13-
declare global {
14-
namespace Express {
15-
interface User {
16-
session_id: string;
17-
}
18-
}
19-
}
20-
2113
export default async (app: Express) => {
2214
passport.serializeUser((sessionObject: DbSession, done) => {
2315
done(null, sessionObject.session_id);

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,10 @@ this list:
199199
Next.js for Vue users
200200
- [Create React App variant](https://github.com/alexk111/graphile-starter-cra) -
201201
replaces Next.js for apps without Server Side Rendering
202-
- [Remix variant](https://github.com/fnimick/graphile-starter-remix) - replaces
203-
Next.js with Remix
202+
- [Remix variant](https://github.com/fnimick/graphile-starter-remix-or-sveltekit) -
203+
replaces Next.js with Remix
204+
- [Sveltekit variant](https://github.com/fnimick/graphile-starter-remix-or-sveltekit/tree/sveltekit) -
205+
replaces Next.js with Sveltekit
204206

205207
**VARIANTS ARE NOT OFFICIALLY SUPPORTED** and may become out of date or
206208
unmaintained over time. If you have issues with variants, please submit issues

yarn.lock

+6-6
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ __metadata:
228228
react-dom: ^18.2.0
229229
slugify: ^1.6.5
230230
tls: ^0.0.1
231-
webpack: ^5.75.0
231+
webpack: ^5.76.0
232232
languageName: unknown
233233
linkType: soft
234234

@@ -280,7 +280,7 @@ __metadata:
280280
cross-env: ^7.0.3
281281
cypress: ^12.7.0
282282
jest: ^29.4.3
283-
webpack: ^5.75.0
283+
webpack: ^5.76.0
284284
languageName: unknown
285285
linkType: soft
286286

@@ -15996,9 +15996,9 @@ __metadata:
1599615996
languageName: node
1599715997
linkType: hard
1599815998

15999-
"webpack@npm:^5.75.0":
16000-
version: 5.75.0
16001-
resolution: "webpack@npm:5.75.0"
15999+
"webpack@npm:^5.76.0":
16000+
version: 5.76.1
16001+
resolution: "webpack@npm:5.76.1"
1600216002
dependencies:
1600316003
"@types/eslint-scope": ^3.7.3
1600416004
"@types/estree": ^0.0.51
@@ -16029,7 +16029,7 @@ __metadata:
1602916029
optional: true
1603016030
bin:
1603116031
webpack: bin/webpack.js
16032-
checksum: 2bcc5f3c195f375944e8af2f00bf2feea39cb9fda5f763b0d1b00077f1c51783db25c94d3fae96a07dead9fa085e6ae7474417e5ab31719c9776ea5969ceb83a
16032+
checksum: b01fe0bc2dbca0e10d290ddb0bf81e807a031de48028176e2b21afd696b4d3f25ab9accdad888ef4a1f7c7f4d41f13d5bf2395b7653fdf3e5e3dafa54e56dab2
1603316033
languageName: node
1603416034
linkType: hard
1603516035

0 commit comments

Comments
 (0)