create-cedar-app 5.0.7-next.239 → 5.0.7-next.310
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/database-overlays/neon-postgres/api/package.json +2 -2
- package/database-overlays/pglite/api/package.json +2 -2
- package/dist/create-cedar-app.js +377 -377
- package/package.json +4 -4
- package/templates/esm-js/api/package.json +4 -4
- package/templates/esm-js/api/src/lib/logger.js +3 -3
- package/templates/esm-js/package.json +5 -5
- package/templates/esm-js/vitest.config.mjs +1 -1
- package/templates/esm-js/web/package.json +5 -5
- package/templates/esm-js/web/src/App.jsx +3 -3
- package/templates/esm-ts/api/package.json +4 -4
- package/templates/esm-ts/api/src/lib/logger.ts +3 -3
- package/templates/esm-ts/api/tsconfig.json +2 -2
- package/templates/esm-ts/package.json +5 -5
- package/templates/esm-ts/vitest.config.ts +1 -1
- package/templates/esm-ts/web/package.json +5 -5
- package/templates/esm-ts/web/src/App.tsx +3 -3
- package/templates/js/api/jsconfig.json +2 -2
- package/templates/js/api/package.json +2 -2
- package/templates/js/api/src/lib/logger.js +3 -3
- package/templates/js/package.json +5 -5
- package/templates/js/web/package.json +4 -4
- package/templates/js/web/src/App.jsx +3 -3
- package/templates/overlays/cjs/npm/package.json +5 -5
- package/templates/overlays/cjs/pnpm/package.json +5 -5
- package/templates/overlays/cjs/yarn/package.json +5 -5
- package/templates/overlays/esm/npm/package.json +5 -5
- package/templates/overlays/esm/pnpm/package.json +5 -5
- package/templates/overlays/esm/yarn/package.json +5 -5
- package/templates/ts/api/package.json +2 -2
- package/templates/ts/api/src/lib/logger.ts +3 -3
- package/templates/ts/api/tsconfig.json +2 -2
- package/templates/ts/package.json +5 -5
- package/templates/ts/web/package.json +4 -4
- package/templates/ts/web/src/App.tsx +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-cedar-app",
|
|
3
|
-
"version": "5.0.7-next.
|
|
3
|
+
"version": "5.0.7-next.310",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/core": "^7.26.10",
|
|
29
29
|
"@babel/plugin-transform-typescript": "^7.26.8",
|
|
30
|
-
"@cedarjs/framework-tools": "5.0.7-next.
|
|
31
|
-
"@cedarjs/tui": "5.0.7-next.
|
|
30
|
+
"@cedarjs/framework-tools": "5.0.7-next.310",
|
|
31
|
+
"@cedarjs/tui": "5.0.7-next.310",
|
|
32
32
|
"@opentelemetry/api": "1.9.1",
|
|
33
33
|
"@opentelemetry/exporter-trace-otlp-http": "0.57.2",
|
|
34
34
|
"@opentelemetry/resources": "1.30.1",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"execa": "5.1.1",
|
|
43
43
|
"gradient-string": "3.0.0",
|
|
44
44
|
"klaw-sync": "7.0.0",
|
|
45
|
-
"semver": "7.
|
|
45
|
+
"semver": "7.8.5",
|
|
46
46
|
"systeminformation": "5.31.7",
|
|
47
47
|
"termi-link": "1.1.0",
|
|
48
48
|
"untildify": "4.0.0",
|
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
"version": "0.0.0",
|
|
5
5
|
"private": true,
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@cedarjs/api": "5.0.7-next.
|
|
8
|
-
"@cedarjs/graphql-server": "5.0.7-next.
|
|
7
|
+
"@cedarjs/api": "5.0.7-next.310",
|
|
8
|
+
"@cedarjs/graphql-server": "5.0.7-next.310",
|
|
9
9
|
"@prisma/adapter-better-sqlite3": "7.8.0",
|
|
10
10
|
"@prisma/client": "7.8.0",
|
|
11
11
|
"better-sqlite3": "12.11.1",
|
|
12
|
-
"@cedarjs/context": "5.0.7-next.
|
|
12
|
+
"@cedarjs/context": "5.0.7-next.310",
|
|
13
13
|
"graphql-tag": "2.12.6"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@cedarjs/vite": "5.0.7-next.
|
|
16
|
+
"@cedarjs/vite": "5.0.7-next.310",
|
|
17
17
|
"vitest": "4.1.10"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { createLogger } from '@cedarjs/api/logger'
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Creates a logger with
|
|
4
|
+
* Creates a logger with CedarLoggerOptions
|
|
5
5
|
*
|
|
6
6
|
* These extend and override default LoggerOptions,
|
|
7
7
|
* can define a destination like a file or other supported pino log transport stream,
|
|
8
8
|
* and sets whether or not to show the logger configuration settings (defaults to false)
|
|
9
9
|
*
|
|
10
|
-
* @param
|
|
10
|
+
* @param CedarLoggerOptions
|
|
11
11
|
*
|
|
12
|
-
*
|
|
12
|
+
* CedarLoggerOptions have
|
|
13
13
|
* @param {options} LoggerOptions - defines how to log, such as redaction and format
|
|
14
14
|
* @param {string | DestinationStream} destination - defines where to log, such as a transport stream or file
|
|
15
15
|
* @param {boolean} showConfig - whether to display logger configuration on initialization
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"start:web": "cedarjs-server web"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@cedarjs/api-server": "5.0.7-next.
|
|
16
|
+
"@cedarjs/api-server": "5.0.7-next.310"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@cedarjs/core": "5.0.7-next.
|
|
20
|
-
"@cedarjs/eslint-config": "5.0.7-next.
|
|
21
|
-
"@cedarjs/project-config": "5.0.7-next.
|
|
22
|
-
"@cedarjs/testing": "5.0.7-next.
|
|
19
|
+
"@cedarjs/core": "5.0.7-next.310",
|
|
20
|
+
"@cedarjs/eslint-config": "5.0.7-next.310",
|
|
21
|
+
"@cedarjs/project-config": "5.0.7-next.310",
|
|
22
|
+
"@cedarjs/testing": "5.0.7-next.310",
|
|
23
23
|
"vitest": "4.1.10"
|
|
24
24
|
},
|
|
25
25
|
"engines": {
|
|
@@ -12,17 +12,17 @@
|
|
|
12
12
|
]
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@cedarjs/forms": "5.0.7-next.
|
|
16
|
-
"@cedarjs/router": "5.0.7-next.
|
|
17
|
-
"@cedarjs/web": "5.0.7-next.
|
|
15
|
+
"@cedarjs/forms": "5.0.7-next.310",
|
|
16
|
+
"@cedarjs/router": "5.0.7-next.310",
|
|
17
|
+
"@cedarjs/web": "5.0.7-next.310",
|
|
18
18
|
"react": "18.3.1",
|
|
19
19
|
"react-dom": "18.3.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@cedarjs/vite": "5.0.7-next.
|
|
22
|
+
"@cedarjs/vite": "5.0.7-next.310",
|
|
23
23
|
"@types/react": "^18.2.55",
|
|
24
24
|
"@types/react-dom": "^18.2.19",
|
|
25
|
-
"@cedarjs/testing": "5.0.7-next.
|
|
25
|
+
"@cedarjs/testing": "5.0.7-next.310",
|
|
26
26
|
"@testing-library/jest-dom": "6.9.1",
|
|
27
27
|
"@testing-library/react": "16.3.2",
|
|
28
28
|
"vite": "7.3.6"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FatalErrorBoundary,
|
|
1
|
+
import { FatalErrorBoundary, CedarProvider } from '@cedarjs/web'
|
|
2
2
|
import { CedarApolloProvider } from '@cedarjs/web/apollo/CedarApolloProvider'
|
|
3
3
|
|
|
4
4
|
import FatalErrorPage from 'src/pages/FatalErrorPage'
|
|
@@ -7,9 +7,9 @@ import './index.css'
|
|
|
7
7
|
|
|
8
8
|
const App = ({ children }) => (
|
|
9
9
|
<FatalErrorBoundary page={FatalErrorPage}>
|
|
10
|
-
<
|
|
10
|
+
<CedarProvider titleTemplate="%PageTitle | %AppTitle">
|
|
11
11
|
<CedarApolloProvider>{children}</CedarApolloProvider>
|
|
12
|
-
</
|
|
12
|
+
</CedarProvider>
|
|
13
13
|
</FatalErrorBoundary>
|
|
14
14
|
)
|
|
15
15
|
|
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
"version": "0.0.0",
|
|
5
5
|
"private": true,
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@cedarjs/api": "5.0.7-next.
|
|
8
|
-
"@cedarjs/graphql-server": "5.0.7-next.
|
|
7
|
+
"@cedarjs/api": "5.0.7-next.310",
|
|
8
|
+
"@cedarjs/graphql-server": "5.0.7-next.310",
|
|
9
9
|
"@prisma/adapter-better-sqlite3": "7.8.0",
|
|
10
10
|
"@prisma/client": "7.8.0",
|
|
11
11
|
"better-sqlite3": "12.11.1",
|
|
12
|
-
"@cedarjs/context": "5.0.7-next.
|
|
12
|
+
"@cedarjs/context": "5.0.7-next.310",
|
|
13
13
|
"graphql-tag": "2.12.6"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@cedarjs/vite": "5.0.7-next.
|
|
16
|
+
"@cedarjs/vite": "5.0.7-next.310",
|
|
17
17
|
"vitest": "4.1.10"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { createLogger } from '@cedarjs/api/logger'
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Creates a logger with
|
|
4
|
+
* Creates a logger with CedarLoggerOptions
|
|
5
5
|
*
|
|
6
6
|
* These extend and override default LoggerOptions,
|
|
7
7
|
* can define a destination like a file or other supported pino log transport stream,
|
|
8
8
|
* and sets whether or not to show the logger configuration settings (defaults to false)
|
|
9
9
|
*
|
|
10
|
-
* @param
|
|
10
|
+
* @param CedarLoggerOptions
|
|
11
11
|
*
|
|
12
|
-
*
|
|
12
|
+
* CedarLoggerOptions have
|
|
13
13
|
* @param {options} LoggerOptions - defines how to log, such as redaction and format
|
|
14
14
|
* @param {string | DestinationStream} destination - defines where to log, such as a transport stream or file
|
|
15
15
|
* @param {boolean} showConfig - whether to display logger configuration on initialization
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"allowJs": true,
|
|
5
5
|
"esModuleInterop": true,
|
|
6
6
|
"target": "es2023",
|
|
7
|
-
"module": "
|
|
8
|
-
"moduleResolution": "
|
|
7
|
+
"module": "ESNext",
|
|
8
|
+
"moduleResolution": "Bundler",
|
|
9
9
|
"allowImportingTsExtensions": true,
|
|
10
10
|
"skipLibCheck": false,
|
|
11
11
|
"rootDirs": ["./src", "../.cedar/types/mirror/api/src"],
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"start:web": "cedarjs-server web"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@cedarjs/api-server": "5.0.7-next.
|
|
16
|
+
"@cedarjs/api-server": "5.0.7-next.310"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@cedarjs/core": "5.0.7-next.
|
|
20
|
-
"@cedarjs/eslint-config": "5.0.7-next.
|
|
21
|
-
"@cedarjs/project-config": "5.0.7-next.
|
|
22
|
-
"@cedarjs/testing": "5.0.7-next.
|
|
19
|
+
"@cedarjs/core": "5.0.7-next.310",
|
|
20
|
+
"@cedarjs/eslint-config": "5.0.7-next.310",
|
|
21
|
+
"@cedarjs/project-config": "5.0.7-next.310",
|
|
22
|
+
"@cedarjs/testing": "5.0.7-next.310",
|
|
23
23
|
"vitest": "4.1.10"
|
|
24
24
|
},
|
|
25
25
|
"engines": {
|
|
@@ -12,17 +12,17 @@
|
|
|
12
12
|
]
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@cedarjs/forms": "5.0.7-next.
|
|
16
|
-
"@cedarjs/router": "5.0.7-next.
|
|
17
|
-
"@cedarjs/web": "5.0.7-next.
|
|
15
|
+
"@cedarjs/forms": "5.0.7-next.310",
|
|
16
|
+
"@cedarjs/router": "5.0.7-next.310",
|
|
17
|
+
"@cedarjs/web": "5.0.7-next.310",
|
|
18
18
|
"react": "18.3.1",
|
|
19
19
|
"react-dom": "18.3.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@cedarjs/vite": "5.0.7-next.
|
|
22
|
+
"@cedarjs/vite": "5.0.7-next.310",
|
|
23
23
|
"@types/react": "^18.2.55",
|
|
24
24
|
"@types/react-dom": "^18.2.19",
|
|
25
|
-
"@cedarjs/testing": "5.0.7-next.
|
|
25
|
+
"@cedarjs/testing": "5.0.7-next.310",
|
|
26
26
|
"@testing-library/jest-dom": "6.9.1",
|
|
27
27
|
"@testing-library/react": "16.3.2",
|
|
28
28
|
"vite": "7.3.6"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react'
|
|
2
2
|
|
|
3
|
-
import { FatalErrorBoundary,
|
|
3
|
+
import { FatalErrorBoundary, CedarProvider } from '@cedarjs/web'
|
|
4
4
|
import { CedarApolloProvider } from '@cedarjs/web/apollo/CedarApolloProvider'
|
|
5
5
|
|
|
6
6
|
import FatalErrorPage from 'src/pages/FatalErrorPage'
|
|
@@ -13,9 +13,9 @@ interface AppProps {
|
|
|
13
13
|
|
|
14
14
|
const App = ({ children }: AppProps) => (
|
|
15
15
|
<FatalErrorBoundary page={FatalErrorPage}>
|
|
16
|
-
<
|
|
16
|
+
<CedarProvider titleTemplate="%PageTitle | %AppTitle">
|
|
17
17
|
<CedarApolloProvider>{children}</CedarApolloProvider>
|
|
18
|
-
</
|
|
18
|
+
</CedarProvider>
|
|
19
19
|
</FatalErrorBoundary>
|
|
20
20
|
)
|
|
21
21
|
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"version": "0.0.0",
|
|
5
5
|
"private": true,
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@cedarjs/api": "5.0.7-next.
|
|
8
|
-
"@cedarjs/graphql-server": "5.0.7-next.
|
|
7
|
+
"@cedarjs/api": "5.0.7-next.310",
|
|
8
|
+
"@cedarjs/graphql-server": "5.0.7-next.310",
|
|
9
9
|
"@prisma/adapter-better-sqlite3": "7.8.0",
|
|
10
10
|
"@prisma/client": "7.8.0",
|
|
11
11
|
"better-sqlite3": "12.11.1"
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { createLogger } from '@cedarjs/api/logger'
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Creates a logger with
|
|
4
|
+
* Creates a logger with CedarLoggerOptions
|
|
5
5
|
*
|
|
6
6
|
* These extend and override default LoggerOptions,
|
|
7
7
|
* can define a destination like a file or other supported pino log transport stream,
|
|
8
8
|
* and sets whether or not to show the logger configuration settings (defaults to false)
|
|
9
9
|
*
|
|
10
|
-
* @param
|
|
10
|
+
* @param CedarLoggerOptions
|
|
11
11
|
*
|
|
12
|
-
*
|
|
12
|
+
* CedarLoggerOptions have
|
|
13
13
|
* @param {options} LoggerOptions - defines how to log, such as redaction and format
|
|
14
14
|
* @param {string | DestinationStream} destination - defines where to log, such as a transport stream or file
|
|
15
15
|
* @param {boolean} showConfig - whether to display logger configuration on initialization
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"start:web": "cedarjs-server web"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@cedarjs/api-server": "5.0.7-next.
|
|
16
|
+
"@cedarjs/api-server": "5.0.7-next.310"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@cedarjs/core": "5.0.7-next.
|
|
20
|
-
"@cedarjs/eslint-config": "5.0.7-next.
|
|
21
|
-
"@cedarjs/project-config": "5.0.7-next.
|
|
22
|
-
"@cedarjs/testing": "5.0.7-next.
|
|
19
|
+
"@cedarjs/core": "5.0.7-next.310",
|
|
20
|
+
"@cedarjs/eslint-config": "5.0.7-next.310",
|
|
21
|
+
"@cedarjs/project-config": "5.0.7-next.310",
|
|
22
|
+
"@cedarjs/testing": "5.0.7-next.310"
|
|
23
23
|
},
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": "24.x"
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
]
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@cedarjs/forms": "5.0.7-next.
|
|
16
|
-
"@cedarjs/router": "5.0.7-next.
|
|
17
|
-
"@cedarjs/web": "5.0.7-next.
|
|
15
|
+
"@cedarjs/forms": "5.0.7-next.310",
|
|
16
|
+
"@cedarjs/router": "5.0.7-next.310",
|
|
17
|
+
"@cedarjs/web": "5.0.7-next.310",
|
|
18
18
|
"react": "18.3.1",
|
|
19
19
|
"react-dom": "18.3.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@cedarjs/vite": "5.0.7-next.
|
|
22
|
+
"@cedarjs/vite": "5.0.7-next.310",
|
|
23
23
|
"@types/react": "^18.2.55",
|
|
24
24
|
"@types/react-dom": "^18.2.19"
|
|
25
25
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FatalErrorBoundary,
|
|
1
|
+
import { FatalErrorBoundary, CedarProvider } from '@cedarjs/web'
|
|
2
2
|
import { CedarApolloProvider } from '@cedarjs/web/apollo/CedarApolloProvider'
|
|
3
3
|
|
|
4
4
|
import FatalErrorPage from 'src/pages/FatalErrorPage'
|
|
@@ -7,9 +7,9 @@ import './index.css'
|
|
|
7
7
|
|
|
8
8
|
const App = ({ children }) => (
|
|
9
9
|
<FatalErrorBoundary page={FatalErrorPage}>
|
|
10
|
-
<
|
|
10
|
+
<CedarProvider titleTemplate="%PageTitle | %AppTitle">
|
|
11
11
|
<CedarApolloProvider>{children}</CedarApolloProvider>
|
|
12
|
-
</
|
|
12
|
+
</CedarProvider>
|
|
13
13
|
</FatalErrorBoundary>
|
|
14
14
|
)
|
|
15
15
|
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"start:web": "cedarjs-server web"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@cedarjs/api-server": "5.0.7-next.
|
|
16
|
+
"@cedarjs/api-server": "5.0.7-next.310"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@cedarjs/core": "5.0.7-next.
|
|
20
|
-
"@cedarjs/eslint-config": "5.0.7-next.
|
|
21
|
-
"@cedarjs/project-config": "5.0.7-next.
|
|
22
|
-
"@cedarjs/testing": "5.0.7-next.
|
|
19
|
+
"@cedarjs/core": "5.0.7-next.310",
|
|
20
|
+
"@cedarjs/eslint-config": "5.0.7-next.310",
|
|
21
|
+
"@cedarjs/project-config": "5.0.7-next.310",
|
|
22
|
+
"@cedarjs/testing": "5.0.7-next.310",
|
|
23
23
|
"prisma": "7.8.0"
|
|
24
24
|
},
|
|
25
25
|
"engines": {
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"start:web": "cedarjs-server web"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@cedarjs/api-server": "5.0.7-next.
|
|
12
|
+
"@cedarjs/api-server": "5.0.7-next.310"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@cedarjs/core": "5.0.7-next.
|
|
16
|
-
"@cedarjs/eslint-config": "5.0.7-next.
|
|
17
|
-
"@cedarjs/project-config": "5.0.7-next.
|
|
18
|
-
"@cedarjs/testing": "5.0.7-next.
|
|
15
|
+
"@cedarjs/core": "5.0.7-next.310",
|
|
16
|
+
"@cedarjs/eslint-config": "5.0.7-next.310",
|
|
17
|
+
"@cedarjs/project-config": "5.0.7-next.310",
|
|
18
|
+
"@cedarjs/testing": "5.0.7-next.310",
|
|
19
19
|
"prisma": "7.8.0"
|
|
20
20
|
},
|
|
21
21
|
"engines": {
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"start:web": "cedarjs-server web"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@cedarjs/api-server": "5.0.7-next.
|
|
16
|
+
"@cedarjs/api-server": "5.0.7-next.310"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@cedarjs/core": "5.0.7-next.
|
|
20
|
-
"@cedarjs/eslint-config": "5.0.7-next.
|
|
21
|
-
"@cedarjs/project-config": "5.0.7-next.
|
|
22
|
-
"@cedarjs/testing": "5.0.7-next.
|
|
19
|
+
"@cedarjs/core": "5.0.7-next.310",
|
|
20
|
+
"@cedarjs/eslint-config": "5.0.7-next.310",
|
|
21
|
+
"@cedarjs/project-config": "5.0.7-next.310",
|
|
22
|
+
"@cedarjs/testing": "5.0.7-next.310",
|
|
23
23
|
"prisma": "7.8.0"
|
|
24
24
|
},
|
|
25
25
|
"engines": {
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"start:web": "cedarjs-server web"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@cedarjs/api-server": "5.0.7-next.
|
|
16
|
+
"@cedarjs/api-server": "5.0.7-next.310"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@cedarjs/core": "5.0.7-next.
|
|
20
|
-
"@cedarjs/eslint-config": "5.0.7-next.
|
|
21
|
-
"@cedarjs/project-config": "5.0.7-next.
|
|
22
|
-
"@cedarjs/testing": "5.0.7-next.
|
|
19
|
+
"@cedarjs/core": "5.0.7-next.310",
|
|
20
|
+
"@cedarjs/eslint-config": "5.0.7-next.310",
|
|
21
|
+
"@cedarjs/project-config": "5.0.7-next.310",
|
|
22
|
+
"@cedarjs/testing": "5.0.7-next.310",
|
|
23
23
|
"prisma": "7.8.0",
|
|
24
24
|
"vitest": "4.1.10"
|
|
25
25
|
},
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"start:web": "cedarjs-server web"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@cedarjs/api-server": "5.0.7-next.
|
|
12
|
+
"@cedarjs/api-server": "5.0.7-next.310"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@cedarjs/core": "5.0.7-next.
|
|
16
|
-
"@cedarjs/eslint-config": "5.0.7-next.
|
|
17
|
-
"@cedarjs/project-config": "5.0.7-next.
|
|
18
|
-
"@cedarjs/testing": "5.0.7-next.
|
|
15
|
+
"@cedarjs/core": "5.0.7-next.310",
|
|
16
|
+
"@cedarjs/eslint-config": "5.0.7-next.310",
|
|
17
|
+
"@cedarjs/project-config": "5.0.7-next.310",
|
|
18
|
+
"@cedarjs/testing": "5.0.7-next.310",
|
|
19
19
|
"prisma": "7.8.0",
|
|
20
20
|
"vitest": "4.1.10"
|
|
21
21
|
},
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"start:web": "cedarjs-server web"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@cedarjs/api-server": "5.0.7-next.
|
|
16
|
+
"@cedarjs/api-server": "5.0.7-next.310"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@cedarjs/core": "5.0.7-next.
|
|
20
|
-
"@cedarjs/eslint-config": "5.0.7-next.
|
|
21
|
-
"@cedarjs/project-config": "5.0.7-next.
|
|
22
|
-
"@cedarjs/testing": "5.0.7-next.
|
|
19
|
+
"@cedarjs/core": "5.0.7-next.310",
|
|
20
|
+
"@cedarjs/eslint-config": "5.0.7-next.310",
|
|
21
|
+
"@cedarjs/project-config": "5.0.7-next.310",
|
|
22
|
+
"@cedarjs/testing": "5.0.7-next.310",
|
|
23
23
|
"prisma": "7.8.0",
|
|
24
24
|
"vitest": "4.1.10"
|
|
25
25
|
},
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"version": "0.0.0",
|
|
5
5
|
"private": true,
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@cedarjs/api": "5.0.7-next.
|
|
8
|
-
"@cedarjs/graphql-server": "5.0.7-next.
|
|
7
|
+
"@cedarjs/api": "5.0.7-next.310",
|
|
8
|
+
"@cedarjs/graphql-server": "5.0.7-next.310",
|
|
9
9
|
"@prisma/adapter-better-sqlite3": "7.8.0",
|
|
10
10
|
"@prisma/client": "7.8.0",
|
|
11
11
|
"better-sqlite3": "12.11.1"
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { createLogger } from '@cedarjs/api/logger'
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Creates a logger with
|
|
4
|
+
* Creates a logger with CedarLoggerOptions
|
|
5
5
|
*
|
|
6
6
|
* These extend and override default LoggerOptions,
|
|
7
7
|
* can define a destination like a file or other supported pino log transport stream,
|
|
8
8
|
* and sets whether or not to show the logger configuration settings (defaults to false)
|
|
9
9
|
*
|
|
10
|
-
* @param
|
|
10
|
+
* @param CedarLoggerOptions
|
|
11
11
|
*
|
|
12
|
-
*
|
|
12
|
+
* CedarLoggerOptions have
|
|
13
13
|
* @param {options} LoggerOptions - defines how to log, such as redaction and format
|
|
14
14
|
* @param {string | DestinationStream} destination - defines where to log, such as a transport stream or file
|
|
15
15
|
* @param {boolean} showConfig - whether to display logger configuration on initialization
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"allowJs": true,
|
|
5
5
|
"esModuleInterop": true,
|
|
6
6
|
"target": "es2023",
|
|
7
|
-
"module": "
|
|
8
|
-
"moduleResolution": "
|
|
7
|
+
"module": "ESNext",
|
|
8
|
+
"moduleResolution": "Bundler",
|
|
9
9
|
"allowImportingTsExtensions": true,
|
|
10
10
|
"skipLibCheck": false,
|
|
11
11
|
"rootDirs": ["./src", "../.cedar/types/mirror/api/src"],
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"start:web": "cedarjs-server web"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@cedarjs/api-server": "5.0.7-next.
|
|
16
|
+
"@cedarjs/api-server": "5.0.7-next.310"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@cedarjs/core": "5.0.7-next.
|
|
20
|
-
"@cedarjs/eslint-config": "5.0.7-next.
|
|
21
|
-
"@cedarjs/project-config": "5.0.7-next.
|
|
22
|
-
"@cedarjs/testing": "5.0.7-next.
|
|
19
|
+
"@cedarjs/core": "5.0.7-next.310",
|
|
20
|
+
"@cedarjs/eslint-config": "5.0.7-next.310",
|
|
21
|
+
"@cedarjs/project-config": "5.0.7-next.310",
|
|
22
|
+
"@cedarjs/testing": "5.0.7-next.310"
|
|
23
23
|
},
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": "24.x"
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
]
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@cedarjs/forms": "5.0.7-next.
|
|
16
|
-
"@cedarjs/router": "5.0.7-next.
|
|
17
|
-
"@cedarjs/web": "5.0.7-next.
|
|
15
|
+
"@cedarjs/forms": "5.0.7-next.310",
|
|
16
|
+
"@cedarjs/router": "5.0.7-next.310",
|
|
17
|
+
"@cedarjs/web": "5.0.7-next.310",
|
|
18
18
|
"react": "18.3.1",
|
|
19
19
|
"react-dom": "18.3.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@cedarjs/vite": "5.0.7-next.
|
|
22
|
+
"@cedarjs/vite": "5.0.7-next.310",
|
|
23
23
|
"@types/react": "^18.2.55",
|
|
24
24
|
"@types/react-dom": "^18.2.19"
|
|
25
25
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react'
|
|
2
2
|
|
|
3
|
-
import { FatalErrorBoundary,
|
|
3
|
+
import { FatalErrorBoundary, CedarProvider } from '@cedarjs/web'
|
|
4
4
|
import { CedarApolloProvider } from '@cedarjs/web/apollo/CedarApolloProvider'
|
|
5
5
|
|
|
6
6
|
import FatalErrorPage from 'src/pages/FatalErrorPage'
|
|
@@ -13,9 +13,9 @@ interface AppProps {
|
|
|
13
13
|
|
|
14
14
|
const App = ({ children }: AppProps) => (
|
|
15
15
|
<FatalErrorBoundary page={FatalErrorPage}>
|
|
16
|
-
<
|
|
16
|
+
<CedarProvider titleTemplate="%PageTitle | %AppTitle">
|
|
17
17
|
<CedarApolloProvider>{children}</CedarApolloProvider>
|
|
18
|
-
</
|
|
18
|
+
</CedarProvider>
|
|
19
19
|
</FatalErrorBoundary>
|
|
20
20
|
)
|
|
21
21
|
|