create-cedar-app 5.0.6 → 5.0.7-next.219
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/database-overlays/neon-postgres/api/package.json +2 -2
- package/database-overlays/pglite/api/package.json +2 -2
- package/dist/create-cedar-app.js +344 -344
- package/package.json +5 -5
- package/templates/esm-js/api/package.json +9 -3
- package/templates/esm-js/package.json +17 -7
- package/templates/esm-js/web/package.json +9 -5
- package/templates/esm-js/web/src/App.jsx +2 -2
- package/templates/esm-js/web/vite.config.js +0 -6
- package/templates/esm-js/yarn.lock +291 -301
- package/templates/esm-ts/api/package.json +9 -3
- package/templates/esm-ts/package.json +17 -7
- package/templates/esm-ts/web/package.json +9 -5
- package/templates/esm-ts/web/src/App.tsx +2 -2
- package/templates/esm-ts/web/vite.config.ts +0 -6
- package/templates/esm-ts/yarn.lock +291 -301
- package/templates/js/api/package.json +3 -3
- package/templates/js/package.json +15 -5
- package/templates/js/web/package.json +4 -4
- package/templates/js/web/src/App.jsx +2 -2
- package/templates/js/web/vite.config.js +0 -6
- package/templates/js/yarn.lock +291 -301
- package/templates/overlays/cjs/npm/package.json +15 -5
- package/templates/overlays/cjs/pnpm/package.json +15 -5
- package/templates/overlays/cjs/pnpm/pnpm-workspace.yaml +2 -0
- package/templates/overlays/cjs/yarn/package.json +15 -5
- package/templates/overlays/esm/npm/package.json +19 -7
- package/templates/overlays/esm/pnpm/package.json +17 -6
- package/templates/overlays/esm/pnpm/pnpm-workspace.yaml +3 -0
- package/templates/overlays/esm/yarn/package.json +17 -7
- package/templates/ts/api/package.json +3 -3
- package/templates/ts/package.json +15 -5
- package/templates/ts/web/package.json +4 -4
- package/templates/ts/web/src/App.tsx +2 -2
- package/templates/ts/web/vite.config.ts +0 -6
- package/templates/ts/yarn.lock +291 -301
- package/templates/overlays/cjs/npm/package-lock.json +0 -29220
- package/templates/overlays/cjs/pnpm/pnpm-lock.yaml +0 -18579
- package/templates/overlays/cjs/yarn/yarn.lock +0 -19276
- package/templates/overlays/esm/npm/package-lock.json +0 -29220
- package/templates/overlays/esm/pnpm/pnpm-lock.yaml +0 -18579
- package/templates/overlays/esm/yarn/yarn.lock +0 -19587
|
@@ -5,15 +5,25 @@
|
|
|
5
5
|
"api",
|
|
6
6
|
"web"
|
|
7
7
|
],
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "cedar build",
|
|
10
|
+
"dev": "cedar dev",
|
|
11
|
+
"start": "cedarjs-server",
|
|
12
|
+
"start:api": "cedarjs-server api",
|
|
13
|
+
"start:web": "cedarjs-server web"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@cedarjs/api-server": "5.0.7-next.219"
|
|
17
|
+
},
|
|
8
18
|
"devDependencies": {
|
|
9
|
-
"@cedarjs/core": "5.0.
|
|
10
|
-
"@cedarjs/eslint-config": "5.0.
|
|
11
|
-
"@cedarjs/project-config": "5.0.
|
|
12
|
-
"@cedarjs/testing": "5.0.
|
|
19
|
+
"@cedarjs/core": "5.0.7-next.219",
|
|
20
|
+
"@cedarjs/eslint-config": "5.0.7-next.219",
|
|
21
|
+
"@cedarjs/project-config": "5.0.7-next.219",
|
|
22
|
+
"@cedarjs/testing": "5.0.7-next.219",
|
|
13
23
|
"prisma": "7.8.0"
|
|
14
24
|
},
|
|
15
25
|
"engines": {
|
|
16
|
-
"node": "
|
|
26
|
+
"node": "24.x"
|
|
17
27
|
},
|
|
18
28
|
"overrides": {
|
|
19
29
|
"react-is": "19.2.3"
|
|
@@ -1,15 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"private": true,
|
|
3
3
|
"type": "commonjs",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"build": "cedar build",
|
|
6
|
+
"dev": "cedar dev",
|
|
7
|
+
"start": "cedarjs-server",
|
|
8
|
+
"start:api": "cedarjs-server api",
|
|
9
|
+
"start:web": "cedarjs-server web"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"@cedarjs/api-server": "5.0.7-next.219"
|
|
13
|
+
},
|
|
4
14
|
"devDependencies": {
|
|
5
|
-
"@cedarjs/core": "5.0.
|
|
6
|
-
"@cedarjs/eslint-config": "5.0.
|
|
7
|
-
"@cedarjs/project-config": "5.0.
|
|
8
|
-
"@cedarjs/testing": "5.0.
|
|
15
|
+
"@cedarjs/core": "5.0.7-next.219",
|
|
16
|
+
"@cedarjs/eslint-config": "5.0.7-next.219",
|
|
17
|
+
"@cedarjs/project-config": "5.0.7-next.219",
|
|
18
|
+
"@cedarjs/testing": "5.0.7-next.219",
|
|
9
19
|
"prisma": "7.8.0"
|
|
10
20
|
},
|
|
11
21
|
"engines": {
|
|
12
|
-
"node": "
|
|
22
|
+
"node": "24.x",
|
|
13
23
|
"pnpm": ">=11.8.0 <12.0.0"
|
|
14
24
|
},
|
|
15
25
|
"devEngines": {
|
|
@@ -5,15 +5,25 @@
|
|
|
5
5
|
"api",
|
|
6
6
|
"web"
|
|
7
7
|
],
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "cedar build",
|
|
10
|
+
"dev": "cedar dev",
|
|
11
|
+
"start": "cedarjs-server",
|
|
12
|
+
"start:api": "cedarjs-server api",
|
|
13
|
+
"start:web": "cedarjs-server web"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@cedarjs/api-server": "5.0.7-next.219"
|
|
17
|
+
},
|
|
8
18
|
"devDependencies": {
|
|
9
|
-
"@cedarjs/core": "5.0.
|
|
10
|
-
"@cedarjs/eslint-config": "5.0.
|
|
11
|
-
"@cedarjs/project-config": "5.0.
|
|
12
|
-
"@cedarjs/testing": "5.0.
|
|
19
|
+
"@cedarjs/core": "5.0.7-next.219",
|
|
20
|
+
"@cedarjs/eslint-config": "5.0.7-next.219",
|
|
21
|
+
"@cedarjs/project-config": "5.0.7-next.219",
|
|
22
|
+
"@cedarjs/testing": "5.0.7-next.219",
|
|
13
23
|
"prisma": "7.8.0"
|
|
14
24
|
},
|
|
15
25
|
"engines": {
|
|
16
|
-
"node": "
|
|
26
|
+
"node": "24.x"
|
|
17
27
|
},
|
|
18
28
|
"packageManager": "yarn@4.14.1",
|
|
19
29
|
"resolutions": {
|
|
@@ -5,17 +5,29 @@
|
|
|
5
5
|
"api",
|
|
6
6
|
"web"
|
|
7
7
|
],
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "cedar build",
|
|
10
|
+
"dev": "cedar dev",
|
|
11
|
+
"start": "cedarjs-server",
|
|
12
|
+
"start:api": "cedarjs-server api",
|
|
13
|
+
"start:web": "cedarjs-server web"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@cedarjs/api-server": "5.0.7-next.219"
|
|
17
|
+
},
|
|
8
18
|
"devDependencies": {
|
|
9
|
-
"@cedarjs/core": "5.0.
|
|
10
|
-
"@cedarjs/eslint-config": "5.0.
|
|
11
|
-
"@cedarjs/project-config": "5.0.
|
|
12
|
-
"@cedarjs/testing": "5.0.
|
|
13
|
-
"prisma": "7.8.0"
|
|
19
|
+
"@cedarjs/core": "5.0.7-next.219",
|
|
20
|
+
"@cedarjs/eslint-config": "5.0.7-next.219",
|
|
21
|
+
"@cedarjs/project-config": "5.0.7-next.219",
|
|
22
|
+
"@cedarjs/testing": "5.0.7-next.219",
|
|
23
|
+
"prisma": "7.8.0",
|
|
24
|
+
"vitest": "4.1.10"
|
|
14
25
|
},
|
|
15
26
|
"engines": {
|
|
16
|
-
"node": "
|
|
27
|
+
"node": "24.x"
|
|
17
28
|
},
|
|
18
29
|
"overrides": {
|
|
19
|
-
"react-is": "19.2.3"
|
|
30
|
+
"react-is": "19.2.3",
|
|
31
|
+
"vite": "7.3.6"
|
|
20
32
|
}
|
|
21
33
|
}
|
|
@@ -1,15 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"private": true,
|
|
3
3
|
"type": "module",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"build": "cedar build",
|
|
6
|
+
"dev": "cedar dev",
|
|
7
|
+
"start": "cedarjs-server",
|
|
8
|
+
"start:api": "cedarjs-server api",
|
|
9
|
+
"start:web": "cedarjs-server web"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"@cedarjs/api-server": "5.0.7-next.219"
|
|
13
|
+
},
|
|
4
14
|
"devDependencies": {
|
|
5
|
-
"@cedarjs/core": "5.0.
|
|
6
|
-
"@cedarjs/eslint-config": "5.0.
|
|
7
|
-
"@cedarjs/project-config": "5.0.
|
|
8
|
-
"@cedarjs/testing": "5.0.
|
|
9
|
-
"prisma": "7.8.0"
|
|
15
|
+
"@cedarjs/core": "5.0.7-next.219",
|
|
16
|
+
"@cedarjs/eslint-config": "5.0.7-next.219",
|
|
17
|
+
"@cedarjs/project-config": "5.0.7-next.219",
|
|
18
|
+
"@cedarjs/testing": "5.0.7-next.219",
|
|
19
|
+
"prisma": "7.8.0",
|
|
20
|
+
"vitest": "4.1.10"
|
|
10
21
|
},
|
|
11
22
|
"engines": {
|
|
12
|
-
"node": "
|
|
23
|
+
"node": "24.x",
|
|
13
24
|
"pnpm": ">=11.8.0 <12.0.0"
|
|
14
25
|
},
|
|
15
26
|
"devEngines": {
|
|
@@ -5,21 +5,31 @@
|
|
|
5
5
|
"api",
|
|
6
6
|
"web"
|
|
7
7
|
],
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "cedar build",
|
|
10
|
+
"dev": "cedar dev",
|
|
11
|
+
"start": "cedarjs-server",
|
|
12
|
+
"start:api": "cedarjs-server api",
|
|
13
|
+
"start:web": "cedarjs-server web"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@cedarjs/api-server": "5.0.7-next.219"
|
|
17
|
+
},
|
|
8
18
|
"devDependencies": {
|
|
9
|
-
"@cedarjs/core": "5.0.
|
|
10
|
-
"@cedarjs/eslint-config": "5.0.
|
|
11
|
-
"@cedarjs/project-config": "5.0.
|
|
12
|
-
"@cedarjs/testing": "5.0.
|
|
19
|
+
"@cedarjs/core": "5.0.7-next.219",
|
|
20
|
+
"@cedarjs/eslint-config": "5.0.7-next.219",
|
|
21
|
+
"@cedarjs/project-config": "5.0.7-next.219",
|
|
22
|
+
"@cedarjs/testing": "5.0.7-next.219",
|
|
13
23
|
"prisma": "7.8.0",
|
|
14
|
-
"vitest": "
|
|
24
|
+
"vitest": "4.1.10"
|
|
15
25
|
},
|
|
16
26
|
"engines": {
|
|
17
|
-
"node": "
|
|
27
|
+
"node": "24.x"
|
|
18
28
|
},
|
|
19
29
|
"packageManager": "yarn@4.14.1",
|
|
20
30
|
"resolutions": {
|
|
21
31
|
"react-is": "19.2.3",
|
|
22
|
-
"vite": "7.3.
|
|
32
|
+
"vite": "7.3.6"
|
|
23
33
|
},
|
|
24
34
|
"dependenciesMeta": {
|
|
25
35
|
"@clerk/shared": {
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
"version": "0.0.0",
|
|
5
5
|
"private": true,
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@cedarjs/api": "5.0.
|
|
8
|
-
"@cedarjs/graphql-server": "5.0.
|
|
7
|
+
"@cedarjs/api": "5.0.7-next.219",
|
|
8
|
+
"@cedarjs/graphql-server": "5.0.7-next.219",
|
|
9
9
|
"@prisma/adapter-better-sqlite3": "7.8.0",
|
|
10
10
|
"@prisma/client": "7.8.0",
|
|
11
|
-
"better-sqlite3": "12.
|
|
11
|
+
"better-sqlite3": "12.11.1"
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -5,14 +5,24 @@
|
|
|
5
5
|
"api",
|
|
6
6
|
"web"
|
|
7
7
|
],
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "cedar build",
|
|
10
|
+
"dev": "cedar dev",
|
|
11
|
+
"start": "cedarjs-server",
|
|
12
|
+
"start:api": "cedarjs-server api",
|
|
13
|
+
"start:web": "cedarjs-server web"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@cedarjs/api-server": "5.0.7-next.219"
|
|
17
|
+
},
|
|
8
18
|
"devDependencies": {
|
|
9
|
-
"@cedarjs/core": "5.0.
|
|
10
|
-
"@cedarjs/eslint-config": "5.0.
|
|
11
|
-
"@cedarjs/project-config": "5.0.
|
|
12
|
-
"@cedarjs/testing": "5.0.
|
|
19
|
+
"@cedarjs/core": "5.0.7-next.219",
|
|
20
|
+
"@cedarjs/eslint-config": "5.0.7-next.219",
|
|
21
|
+
"@cedarjs/project-config": "5.0.7-next.219",
|
|
22
|
+
"@cedarjs/testing": "5.0.7-next.219"
|
|
13
23
|
},
|
|
14
24
|
"engines": {
|
|
15
|
-
"node": "
|
|
25
|
+
"node": "24.x"
|
|
16
26
|
},
|
|
17
27
|
"packageManager": "yarn@4.14.1"
|
|
18
28
|
}
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
]
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@cedarjs/forms": "5.0.
|
|
16
|
-
"@cedarjs/router": "5.0.
|
|
17
|
-
"@cedarjs/web": "5.0.
|
|
15
|
+
"@cedarjs/forms": "5.0.7-next.219",
|
|
16
|
+
"@cedarjs/router": "5.0.7-next.219",
|
|
17
|
+
"@cedarjs/web": "5.0.7-next.219",
|
|
18
18
|
"react": "18.3.1",
|
|
19
19
|
"react-dom": "18.3.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@cedarjs/vite": "5.0.
|
|
22
|
+
"@cedarjs/vite": "5.0.7-next.219",
|
|
23
23
|
"@types/react": "^18.2.55",
|
|
24
24
|
"@types/react-dom": "^18.2.19"
|
|
25
25
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react'
|
|
2
2
|
|
|
3
3
|
import { FatalErrorBoundary, RedwoodProvider } from '@cedarjs/web'
|
|
4
|
-
import {
|
|
4
|
+
import { CedarApolloProvider } from '@cedarjs/web/apollo/CedarApolloProvider'
|
|
5
5
|
|
|
6
6
|
import FatalErrorPage from 'src/pages/FatalErrorPage'
|
|
7
7
|
|
|
@@ -14,7 +14,7 @@ interface AppProps {
|
|
|
14
14
|
const App = ({ children }: AppProps) => (
|
|
15
15
|
<FatalErrorBoundary page={FatalErrorPage}>
|
|
16
16
|
<RedwoodProvider titleTemplate="%PageTitle | %AppTitle">
|
|
17
|
-
<
|
|
17
|
+
<CedarApolloProvider>{children}</CedarApolloProvider>
|
|
18
18
|
</RedwoodProvider>
|
|
19
19
|
</FatalErrorBoundary>
|
|
20
20
|
)
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import dns from 'dns'
|
|
2
|
-
|
|
3
1
|
import { defineConfig } from 'vite'
|
|
4
2
|
|
|
5
3
|
import { cedar } from '@cedarjs/vite'
|
|
6
4
|
|
|
7
|
-
// So that Vite will load on localhost instead of `127.0.0.1`.
|
|
8
|
-
// See: https://vitejs.dev/config/server-options.html#server-host.
|
|
9
|
-
dns.setDefaultResultOrder('verbatim')
|
|
10
|
-
|
|
11
5
|
export default defineConfig({
|
|
12
6
|
plugins: [cedar()],
|
|
13
7
|
})
|