create-cedar-app 5.0.7-next.239 → 5.0.7-next.258

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.
@@ -4,8 +4,8 @@
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "dependencies": {
7
- "@cedarjs/api": "5.0.7-next.239",
8
- "@cedarjs/graphql-server": "5.0.7-next.239",
7
+ "@cedarjs/api": "5.0.7-next.258",
8
+ "@cedarjs/graphql-server": "5.0.7-next.258",
9
9
  "@prisma/adapter-pg": "7.8.0",
10
10
  "pg": "^8.13.0"
11
11
  }
@@ -4,8 +4,8 @@
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "dependencies": {
7
- "@cedarjs/api": "5.0.7-next.239",
8
- "@cedarjs/graphql-server": "5.0.7-next.239",
7
+ "@cedarjs/api": "5.0.7-next.258",
8
+ "@cedarjs/graphql-server": "5.0.7-next.258",
9
9
  "@electric-sql/pglite": "^0.5.2",
10
10
  "@electric-sql/pglite-socket": "^0.2.0",
11
11
  "@prisma/adapter-pg": "7.8.0",
@@ -558,7 +558,7 @@ ${r}
558
558
  ${o}
559
559
 
560
560
  ${r}
561
- `)}displayError(e,t){let o=`\u26A0 Error: ${e}`;this.drawFencedText("red",o,t)}displayWarning(e,t){let o=`\u26A0 Warning: ${e}`;this.drawFencedText("yellow",o,t)}};var Vu={name:"create-cedar-app",version:"5.0.7-next.239",repository:{type:"git",url:"git+https://github.com/cedarjs/cedar.git",directory:"packages/create-cedar-app"},license:"MIT",type:"module",bin:"./dist/create-cedar-app.js",files:["dist","templates","database-overlays"],scripts:{build:"node ./scripts/build.ts","build:pack":"node ./scripts/buildPack.js","build:watch":'nodemon --watch src --ignore dist,template --exec "yarn build"',prepublishOnly:"NODE_ENV=production yarn build","set-up-test-project":"node ./scripts/setUpTestProject.js",test:"vitest run templates","test:e2e":"vitest --pool=forks run e2e","ts-to-js":"yarn node ./scripts/tsToJS.js"},devDependencies:{"@babel/core":"^7.26.10","@babel/plugin-transform-typescript":"^7.26.8","@cedarjs/framework-tools":"5.0.7-next.239","@cedarjs/tui":"5.0.7-next.239","@opentelemetry/api":"1.9.1","@opentelemetry/exporter-trace-otlp-http":"0.57.2","@opentelemetry/resources":"1.30.1","@opentelemetry/sdk-trace-node":"1.30.1","@opentelemetry/semantic-conventions":"1.41.1","@types/babel__core":"7.20.5","@types/klaw-sync":"6.0.5",ansis:"4.3.1","ci-info":"4.4.0",envinfo:"7.21.0",execa:"5.1.1","gradient-string":"3.0.0","klaw-sync":"7.0.0",semver:"7.7.4",systeminformation:"5.31.7","termi-link":"1.1.0",untildify:"4.0.0",uuid:"11.1.0",vitest:"4.1.10",yargs:"17.7.3"},engines:{node:">=24"},gitHead:"3905ed045508b861b495f8d5630d76c7a157d8f1"};var bee=nr(c0(),1);Ue();Ue();var Cee=nr(vY(),1),Ky=nr(Sh(),1),I_=nr(AQ(),1);var vQ="service.name";var yQ="service.version";var Dee=nr(RQ(),1),Mee=nr(CQ(),1),zy=nr(Ree(),1);var gr=[];for(let i=0;i<256;++i)gr.push((i+256).toString(16).slice(1));function Nee(i,e=0){return(gr[i[e+0]]+gr[i[e+1]]+gr[i[e+2]]+gr[i[e+3]]+"-"+gr[i[e+4]]+gr[i[e+5]]+"-"+gr[i[e+6]]+gr[i[e+7]]+"-"+gr[i[e+8]]+gr[i[e+9]]+"-"+gr[i[e+10]]+gr[i[e+11]]+gr[i[e+12]]+gr[i[e+13]]+gr[i[e+14]]+gr[i[e+15]]).toLowerCase()}import{randomFillSync as g9e}from"crypto";var M_=new Uint8Array(256),D_=M_.length;function qy(){return D_>M_.length-16&&(g9e(M_),D_=0),M_.slice(D_,D_+=16)}import{randomUUID as A9e}from"crypto";var Wy={randomUUID:A9e};function v9e(i,e,t){if(Wy.randomUUID&&!e&&!i)return Wy.randomUUID();i=i||{};let o=i.random??i.rng?.()??qy();if(o.length<16)throw new Error("Random bytes length must be >= 16");if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,e){if(t=t||0,t<0||t+16>e.length)throw new RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let a=0;a<16;++a)e[t+a]=o[a];return e}return Nee(o)}var $y=v9e;var{name:y9e,version:O9e}=Vu,x9e="os.type",P9e="os.version",Xy,Jy,Qy,Zy=$y();async function Iee(){$t.setLogger(new ea,Jt.ERROR);let i=JSON.parse(await Mee.default.run({System:["OS","Shell"],Binaries:["Node","Yarn","npm"],npmPackages:"@cedarjs/*",IDEs:["VSCode"]},{json:!0})),e=i.System?.Shell;e?.path?.match("/")?i.System.Shell.name=i.System.Shell.path.split("/").pop():e?.path.match("\\")&&(i.System.Shell.name=i.System.Shell.path.split("\\").pop());let t=await zy.default.cpu(),o=await zy.default.mem(),a;Object.keys(process.env).some(n=>n.startsWith("GITPOD_"))&&(a="gitpod");let s=Ky.Resource.default().merge(new Ky.Resource({[vQ]:y9e,[yQ]:O9e,[x9e]:i.System?.OS?.split(" ")[0],[P9e]:i.System?.OS?.split(" ")[1],"shell.name":i.System?.Shell?.name,"node.version":i.Binaries?.Node?.version,"yarn.version":i.Binaries?.Yarn?.version,"npm.version":i.Binaries?.npm?.version,"vscode.version":i.IDEs?.VSCode?.version,"cpu.count":t.physicalCores,"memory.gb":Math.round(o.total/1073741824),"env.node_env":process.env.NODE_ENV||void 0,"ci.redwood":!!process.env.CEDAR_CI,"ci.isci":Dee.default.isCI,"dev.environment":a,uid:Zy}));Qy=new Cee.OTLPTraceExporter({url:process.env.CEDAR_REDIRECT_TELEMETRY||process.env.REDWOOD_REDIRECT_TELEMETRY||"https://quark.quantumparticle.io/v1/traces"}),Jy=new I_.BatchSpanProcessor(Qy),Xy=new I_.NodeTracerProvider({resource:s,spanProcessors:[Jy]}),Xy.register(),process.on("SIGTERM",async()=>{await Ot()})}async function Ot(){try{iu.trace.getActiveSpan()?.end(),await Xy?.shutdown(),await Jy?.shutdown(),await Qy?.shutdown()}catch(i){(process.env.CEDAR_VERBOSE_TELEMETRY||process.env.REDWOOD_VERBOSE_TELEMETRY)&&console.error("Telemetry: shutdown error",i)}}function wt(i){iu.trace.getActiveSpan()?.setStatus({code:Ki.ERROR,message:String(i).split(`
561
+ `)}displayError(e,t){let o=`\u26A0 Error: ${e}`;this.drawFencedText("red",o,t)}displayWarning(e,t){let o=`\u26A0 Warning: ${e}`;this.drawFencedText("yellow",o,t)}};var Vu={name:"create-cedar-app",version:"5.0.7-next.258",repository:{type:"git",url:"git+https://github.com/cedarjs/cedar.git",directory:"packages/create-cedar-app"},license:"MIT",type:"module",bin:"./dist/create-cedar-app.js",files:["dist","templates","database-overlays"],scripts:{build:"node ./scripts/build.ts","build:pack":"node ./scripts/buildPack.js","build:watch":'nodemon --watch src --ignore dist,template --exec "yarn build"',prepublishOnly:"NODE_ENV=production yarn build","set-up-test-project":"node ./scripts/setUpTestProject.js",test:"vitest run templates","test:e2e":"vitest --pool=forks run e2e","ts-to-js":"yarn node ./scripts/tsToJS.js"},devDependencies:{"@babel/core":"^7.26.10","@babel/plugin-transform-typescript":"^7.26.8","@cedarjs/framework-tools":"5.0.7-next.258","@cedarjs/tui":"5.0.7-next.258","@opentelemetry/api":"1.9.1","@opentelemetry/exporter-trace-otlp-http":"0.57.2","@opentelemetry/resources":"1.30.1","@opentelemetry/sdk-trace-node":"1.30.1","@opentelemetry/semantic-conventions":"1.41.1","@types/babel__core":"7.20.5","@types/klaw-sync":"6.0.5",ansis:"4.3.1","ci-info":"4.4.0",envinfo:"7.21.0",execa:"5.1.1","gradient-string":"3.0.0","klaw-sync":"7.0.0",semver:"7.7.4",systeminformation:"5.31.7","termi-link":"1.1.0",untildify:"4.0.0",uuid:"11.1.0",vitest:"4.1.10",yargs:"17.7.3"},engines:{node:">=24"},gitHead:"3905ed045508b861b495f8d5630d76c7a157d8f1"};var bee=nr(c0(),1);Ue();Ue();var Cee=nr(vY(),1),Ky=nr(Sh(),1),I_=nr(AQ(),1);var vQ="service.name";var yQ="service.version";var Dee=nr(RQ(),1),Mee=nr(CQ(),1),zy=nr(Ree(),1);var gr=[];for(let i=0;i<256;++i)gr.push((i+256).toString(16).slice(1));function Nee(i,e=0){return(gr[i[e+0]]+gr[i[e+1]]+gr[i[e+2]]+gr[i[e+3]]+"-"+gr[i[e+4]]+gr[i[e+5]]+"-"+gr[i[e+6]]+gr[i[e+7]]+"-"+gr[i[e+8]]+gr[i[e+9]]+"-"+gr[i[e+10]]+gr[i[e+11]]+gr[i[e+12]]+gr[i[e+13]]+gr[i[e+14]]+gr[i[e+15]]).toLowerCase()}import{randomFillSync as g9e}from"crypto";var M_=new Uint8Array(256),D_=M_.length;function qy(){return D_>M_.length-16&&(g9e(M_),D_=0),M_.slice(D_,D_+=16)}import{randomUUID as A9e}from"crypto";var Wy={randomUUID:A9e};function v9e(i,e,t){if(Wy.randomUUID&&!e&&!i)return Wy.randomUUID();i=i||{};let o=i.random??i.rng?.()??qy();if(o.length<16)throw new Error("Random bytes length must be >= 16");if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,e){if(t=t||0,t<0||t+16>e.length)throw new RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let a=0;a<16;++a)e[t+a]=o[a];return e}return Nee(o)}var $y=v9e;var{name:y9e,version:O9e}=Vu,x9e="os.type",P9e="os.version",Xy,Jy,Qy,Zy=$y();async function Iee(){$t.setLogger(new ea,Jt.ERROR);let i=JSON.parse(await Mee.default.run({System:["OS","Shell"],Binaries:["Node","Yarn","npm"],npmPackages:"@cedarjs/*",IDEs:["VSCode"]},{json:!0})),e=i.System?.Shell;e?.path?.match("/")?i.System.Shell.name=i.System.Shell.path.split("/").pop():e?.path.match("\\")&&(i.System.Shell.name=i.System.Shell.path.split("\\").pop());let t=await zy.default.cpu(),o=await zy.default.mem(),a;Object.keys(process.env).some(n=>n.startsWith("GITPOD_"))&&(a="gitpod");let s=Ky.Resource.default().merge(new Ky.Resource({[vQ]:y9e,[yQ]:O9e,[x9e]:i.System?.OS?.split(" ")[0],[P9e]:i.System?.OS?.split(" ")[1],"shell.name":i.System?.Shell?.name,"node.version":i.Binaries?.Node?.version,"yarn.version":i.Binaries?.Yarn?.version,"npm.version":i.Binaries?.npm?.version,"vscode.version":i.IDEs?.VSCode?.version,"cpu.count":t.physicalCores,"memory.gb":Math.round(o.total/1073741824),"env.node_env":process.env.NODE_ENV||void 0,"ci.redwood":!!process.env.CEDAR_CI,"ci.isci":Dee.default.isCI,"dev.environment":a,uid:Zy}));Qy=new Cee.OTLPTraceExporter({url:process.env.CEDAR_REDIRECT_TELEMETRY||process.env.REDWOOD_REDIRECT_TELEMETRY||"https://quark.quantumparticle.io/v1/traces"}),Jy=new I_.BatchSpanProcessor(Qy),Xy=new I_.NodeTracerProvider({resource:s,spanProcessors:[Jy]}),Xy.register(),process.on("SIGTERM",async()=>{await Ot()})}async function Ot(){try{iu.trace.getActiveSpan()?.end(),await Xy?.shutdown(),await Jy?.shutdown(),await Qy?.shutdown()}catch(i){(process.env.CEDAR_VERBOSE_TELEMETRY||process.env.REDWOOD_VERBOSE_TELEMETRY)&&console.error("Telemetry: shutdown error",i)}}function wt(i){iu.trace.getActiveSpan()?.setStatus({code:Ki.ERROR,message:String(i).split(`
562
562
  `)[0]}),iu.trace.getActiveSpan()?.recordException(i instanceof Error?i:new Error(String(i)))}var Le=new Rf;var eO="Initial commit";async function Lee(i){if(i){let e=i==="."?"the current directory":i;return Le.drawText(`${Et.green("\u2714")} Creating your Cedar app in ${e} based on command line argument`),i}try{let e=await Le.prompt({type:"input",name:"targetDir",message:"Where would you like to create your CedarJS app?",initial:"my-cedar-app"});return/^~\w/.test(e.targetDir)&&(Le.stopReactive(!0),Le.displayError("The `~username` syntax is not supported here","Please use the full path or specify the target directory on the command line."),wt("Target dir prompt path syntax not supported"),await Ot(),process.exit(1)),(0,bee.default)(e.targetDir)}catch{wt("User cancelled install at target dir prompt"),await Ot(),process.exit(1)}}async function wee(i){if(i!==null)return Le.drawText(`${Et.green("\u2714")} Using ${i?"TypeScript":"JavaScript"} based on command line flag`),i;try{return(await Le.prompt({type:"Select",name:"language",choices:["TypeScript","JavaScript"],message:"Select your preferred language",initial:"TypeScript"})).language==="TypeScript"}catch{wt("User cancelled install at language prompt"),await Ot(),process.exit(1)}}async function Uee(i){return i!==null?(Le.drawText(`${Et.green("\u2714")} Setting up ${i?"an ESM":"a CJS"} project based on command line flag`),i):!1}async function Vee(i){if(i!==null)return Le.drawText(`${Et.green("\u2714")} ${i?"Will":"Will not"} initialize a git repo based on command line flag`),i;try{return(await Le.prompt({type:"Toggle",name:"git",message:"Do you want to initialize a git repo?",enabled:"Yes",disabled:"no",initial:"Yes"})).git}catch{wt("User cancelled install at git prompt"),await Ot(),process.exit(1)}}async function Bee(){try{return(await Le.prompt({type:"input",name:"targetDirectoryInput",message:"What directory would you like to create the app in?",initial:"my-cedar-app"})).targetDirectoryInput}catch{wt("User cancelled install at specify a different directory prompt"),await Ot(),process.exit(1)}}async function Gee(i){if(i!==null)return i;try{return(await Le.prompt({type:"input",name:"commitMessage",message:"Enter a commit message",initial:eO})).commitMessage}catch{wt("User cancelled install at commit message prompt"),await Ot(),process.exit(1)}}async function Fee(i,e){if(i!==null)return Le.drawText(`${Et.green("\u2714")} ${i?"Will":"Will not"} run ${e} install based on command line flag`),i;try{return(await Le.prompt({type:"Toggle",name:"install",message:`Do you want to run ${e} install?`,enabled:"Yes",disabled:"no",initial:"Yes"})).install}catch{wt("User cancelled install at install prompt"),await Ot(),process.exit(1)}}function R9e(i){return["yarn","npm","pnpm"].includes(i??"")}function tO(){let e=process.env.npm_config_user_agent?.split(" ")[0]?.split("/")[0];if(e==="yarn"||e==="npm"||e==="pnpm")return e}async function kee(i){if(R9e(i))return Le.drawText(`${Et.green("\u2714")} Using ${i} based on command line flag`),i;try{let e=tO();return(await Le.prompt({type:"Select",name:"packageManager",choices:["yarn","npm","pnpm"],message:"Select your preferred package manager",initial:e})).packageManager}catch{wt("User cancelled install at package manager prompt"),await Ot(),process.exit(1)}}async function Hee(i,e){let t=["sqlite","pglite","neon-postgres"];return i&&!t.includes(i)&&(Le.stopReactive(!0),Le.displayError("Invalid database",`Unknown database "${i}". Supported values: `+t.join(", ")),wt("Invalid database flag"),await Ot(),process.exit(1)),i==="pglite"&&!e&&(Le.stopReactive(!0),Le.displayError("Invalid configuration",`The --db pglite flag requires --esm. Use:
563
563
  create-cedar-app --esm --db pglite my-app`),wt("pglite without esm"),await Ot(),process.exit(1)),i==="neon-postgres"&&!e&&(Le.stopReactive(!0),Le.displayError("Invalid configuration",`The --db neon-postgres flag requires --esm. Use:
564
564
  create-cedar-app --esm --db neon-postgres my-app`),wt("neon-postgres without esm"),await Ot(),process.exit(1)),i??"sqlite"}var $_=nr(Mre(),1),Zl=nr(Ure(),1);import Lze from"node:fs";import wze from"node:path";async function Vre(i){let e=new Si({mode:"text",content:"Checking node compatibility",spinner:{enabled:!0}});Le.startReactive(e);let{isSatisfied:t,nodeRange:o}=Uze(i);if(t){e.update({spinner:{enabled:!1},content:`${Et.green("\u2714")} Compatibility checks passed`}),Le.stopReactive();return}let a=$_.default.minVersion(o);a&&$_.default.lt(process.version,a)&&(Le.stopReactive(!0),Le.displayError("Compatibility checks failed",[" You need to upgrade the version of node you're using.",` You're using ${process.version} and we currently support node ${o}.`,""," Please use tools like nvm or corepack to change to a compatible version.",` See: ${(0,Zl.terminalLink)("How to - Using nvm","https://cedarjs.com/docs/how-to/using-nvm",{fallback:()=>"How to - Using nvm https://cedarjs.com/docs/how-to/using-nvm"})}`,` See: ${(0,Zl.terminalLink)("Tutorial - Prerequisites","https://cedarjs.com/docs/tutorial/chapter1/prerequisites",{fallback:()=>"Tutorial - Prerequisites https://cedarjs.com/docs/tutorial/chapter1/prerequisites"})}`].join(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-cedar-app",
3
- "version": "5.0.7-next.239",
3
+ "version": "5.0.7-next.258",
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.239",
31
- "@cedarjs/tui": "5.0.7-next.239",
30
+ "@cedarjs/framework-tools": "5.0.7-next.258",
31
+ "@cedarjs/tui": "5.0.7-next.258",
32
32
  "@opentelemetry/api": "1.9.1",
33
33
  "@opentelemetry/exporter-trace-otlp-http": "0.57.2",
34
34
  "@opentelemetry/resources": "1.30.1",
@@ -4,16 +4,16 @@
4
4
  "version": "0.0.0",
5
5
  "private": true,
6
6
  "dependencies": {
7
- "@cedarjs/api": "5.0.7-next.239",
8
- "@cedarjs/graphql-server": "5.0.7-next.239",
7
+ "@cedarjs/api": "5.0.7-next.258",
8
+ "@cedarjs/graphql-server": "5.0.7-next.258",
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.239",
12
+ "@cedarjs/context": "5.0.7-next.258",
13
13
  "graphql-tag": "2.12.6"
14
14
  },
15
15
  "devDependencies": {
16
- "@cedarjs/vite": "5.0.7-next.239",
16
+ "@cedarjs/vite": "5.0.7-next.258",
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 RedwoodLoggerOptions
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 RedwoodLoggerOptions
10
+ * @param CedarLoggerOptions
11
11
  *
12
- * RedwoodLoggerOptions have
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.239"
16
+ "@cedarjs/api-server": "5.0.7-next.258"
17
17
  },
18
18
  "devDependencies": {
19
- "@cedarjs/core": "5.0.7-next.239",
20
- "@cedarjs/eslint-config": "5.0.7-next.239",
21
- "@cedarjs/project-config": "5.0.7-next.239",
22
- "@cedarjs/testing": "5.0.7-next.239",
19
+ "@cedarjs/core": "5.0.7-next.258",
20
+ "@cedarjs/eslint-config": "5.0.7-next.258",
21
+ "@cedarjs/project-config": "5.0.7-next.258",
22
+ "@cedarjs/testing": "5.0.7-next.258",
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.239",
16
- "@cedarjs/router": "5.0.7-next.239",
17
- "@cedarjs/web": "5.0.7-next.239",
15
+ "@cedarjs/forms": "5.0.7-next.258",
16
+ "@cedarjs/router": "5.0.7-next.258",
17
+ "@cedarjs/web": "5.0.7-next.258",
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.239",
22
+ "@cedarjs/vite": "5.0.7-next.258",
23
23
  "@types/react": "^18.2.55",
24
24
  "@types/react-dom": "^18.2.19",
25
- "@cedarjs/testing": "5.0.7-next.239",
25
+ "@cedarjs/testing": "5.0.7-next.258",
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, RedwoodProvider } from '@cedarjs/web'
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
- <RedwoodProvider titleTemplate="%PageTitle | %AppTitle">
10
+ <CedarProvider titleTemplate="%PageTitle | %AppTitle">
11
11
  <CedarApolloProvider>{children}</CedarApolloProvider>
12
- </RedwoodProvider>
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.239",
8
- "@cedarjs/graphql-server": "5.0.7-next.239",
7
+ "@cedarjs/api": "5.0.7-next.258",
8
+ "@cedarjs/graphql-server": "5.0.7-next.258",
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.239",
12
+ "@cedarjs/context": "5.0.7-next.258",
13
13
  "graphql-tag": "2.12.6"
14
14
  },
15
15
  "devDependencies": {
16
- "@cedarjs/vite": "5.0.7-next.239",
16
+ "@cedarjs/vite": "5.0.7-next.258",
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 RedwoodLoggerOptions
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 RedwoodLoggerOptions
10
+ * @param CedarLoggerOptions
11
11
  *
12
- * RedwoodLoggerOptions have
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.239"
16
+ "@cedarjs/api-server": "5.0.7-next.258"
17
17
  },
18
18
  "devDependencies": {
19
- "@cedarjs/core": "5.0.7-next.239",
20
- "@cedarjs/eslint-config": "5.0.7-next.239",
21
- "@cedarjs/project-config": "5.0.7-next.239",
22
- "@cedarjs/testing": "5.0.7-next.239",
19
+ "@cedarjs/core": "5.0.7-next.258",
20
+ "@cedarjs/eslint-config": "5.0.7-next.258",
21
+ "@cedarjs/project-config": "5.0.7-next.258",
22
+ "@cedarjs/testing": "5.0.7-next.258",
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.239",
16
- "@cedarjs/router": "5.0.7-next.239",
17
- "@cedarjs/web": "5.0.7-next.239",
15
+ "@cedarjs/forms": "5.0.7-next.258",
16
+ "@cedarjs/router": "5.0.7-next.258",
17
+ "@cedarjs/web": "5.0.7-next.258",
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.239",
22
+ "@cedarjs/vite": "5.0.7-next.258",
23
23
  "@types/react": "^18.2.55",
24
24
  "@types/react-dom": "^18.2.19",
25
- "@cedarjs/testing": "5.0.7-next.239",
25
+ "@cedarjs/testing": "5.0.7-next.258",
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, RedwoodProvider } from '@cedarjs/web'
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
- <RedwoodProvider titleTemplate="%PageTitle | %AppTitle">
16
+ <CedarProvider titleTemplate="%PageTitle | %AppTitle">
17
17
  <CedarApolloProvider>{children}</CedarApolloProvider>
18
- </RedwoodProvider>
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.239",
8
- "@cedarjs/graphql-server": "5.0.7-next.239",
7
+ "@cedarjs/api": "5.0.7-next.258",
8
+ "@cedarjs/graphql-server": "5.0.7-next.258",
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 RedwoodLoggerOptions
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 RedwoodLoggerOptions
10
+ * @param CedarLoggerOptions
11
11
  *
12
- * RedwoodLoggerOptions have
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.239"
16
+ "@cedarjs/api-server": "5.0.7-next.258"
17
17
  },
18
18
  "devDependencies": {
19
- "@cedarjs/core": "5.0.7-next.239",
20
- "@cedarjs/eslint-config": "5.0.7-next.239",
21
- "@cedarjs/project-config": "5.0.7-next.239",
22
- "@cedarjs/testing": "5.0.7-next.239"
19
+ "@cedarjs/core": "5.0.7-next.258",
20
+ "@cedarjs/eslint-config": "5.0.7-next.258",
21
+ "@cedarjs/project-config": "5.0.7-next.258",
22
+ "@cedarjs/testing": "5.0.7-next.258"
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.239",
16
- "@cedarjs/router": "5.0.7-next.239",
17
- "@cedarjs/web": "5.0.7-next.239",
15
+ "@cedarjs/forms": "5.0.7-next.258",
16
+ "@cedarjs/router": "5.0.7-next.258",
17
+ "@cedarjs/web": "5.0.7-next.258",
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.239",
22
+ "@cedarjs/vite": "5.0.7-next.258",
23
23
  "@types/react": "^18.2.55",
24
24
  "@types/react-dom": "^18.2.19"
25
25
  }
@@ -1,4 +1,4 @@
1
- import { FatalErrorBoundary, RedwoodProvider } from '@cedarjs/web'
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
- <RedwoodProvider titleTemplate="%PageTitle | %AppTitle">
10
+ <CedarProvider titleTemplate="%PageTitle | %AppTitle">
11
11
  <CedarApolloProvider>{children}</CedarApolloProvider>
12
- </RedwoodProvider>
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.239"
16
+ "@cedarjs/api-server": "5.0.7-next.258"
17
17
  },
18
18
  "devDependencies": {
19
- "@cedarjs/core": "5.0.7-next.239",
20
- "@cedarjs/eslint-config": "5.0.7-next.239",
21
- "@cedarjs/project-config": "5.0.7-next.239",
22
- "@cedarjs/testing": "5.0.7-next.239",
19
+ "@cedarjs/core": "5.0.7-next.258",
20
+ "@cedarjs/eslint-config": "5.0.7-next.258",
21
+ "@cedarjs/project-config": "5.0.7-next.258",
22
+ "@cedarjs/testing": "5.0.7-next.258",
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.239"
12
+ "@cedarjs/api-server": "5.0.7-next.258"
13
13
  },
14
14
  "devDependencies": {
15
- "@cedarjs/core": "5.0.7-next.239",
16
- "@cedarjs/eslint-config": "5.0.7-next.239",
17
- "@cedarjs/project-config": "5.0.7-next.239",
18
- "@cedarjs/testing": "5.0.7-next.239",
15
+ "@cedarjs/core": "5.0.7-next.258",
16
+ "@cedarjs/eslint-config": "5.0.7-next.258",
17
+ "@cedarjs/project-config": "5.0.7-next.258",
18
+ "@cedarjs/testing": "5.0.7-next.258",
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.239"
16
+ "@cedarjs/api-server": "5.0.7-next.258"
17
17
  },
18
18
  "devDependencies": {
19
- "@cedarjs/core": "5.0.7-next.239",
20
- "@cedarjs/eslint-config": "5.0.7-next.239",
21
- "@cedarjs/project-config": "5.0.7-next.239",
22
- "@cedarjs/testing": "5.0.7-next.239",
19
+ "@cedarjs/core": "5.0.7-next.258",
20
+ "@cedarjs/eslint-config": "5.0.7-next.258",
21
+ "@cedarjs/project-config": "5.0.7-next.258",
22
+ "@cedarjs/testing": "5.0.7-next.258",
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.239"
16
+ "@cedarjs/api-server": "5.0.7-next.258"
17
17
  },
18
18
  "devDependencies": {
19
- "@cedarjs/core": "5.0.7-next.239",
20
- "@cedarjs/eslint-config": "5.0.7-next.239",
21
- "@cedarjs/project-config": "5.0.7-next.239",
22
- "@cedarjs/testing": "5.0.7-next.239",
19
+ "@cedarjs/core": "5.0.7-next.258",
20
+ "@cedarjs/eslint-config": "5.0.7-next.258",
21
+ "@cedarjs/project-config": "5.0.7-next.258",
22
+ "@cedarjs/testing": "5.0.7-next.258",
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.239"
12
+ "@cedarjs/api-server": "5.0.7-next.258"
13
13
  },
14
14
  "devDependencies": {
15
- "@cedarjs/core": "5.0.7-next.239",
16
- "@cedarjs/eslint-config": "5.0.7-next.239",
17
- "@cedarjs/project-config": "5.0.7-next.239",
18
- "@cedarjs/testing": "5.0.7-next.239",
15
+ "@cedarjs/core": "5.0.7-next.258",
16
+ "@cedarjs/eslint-config": "5.0.7-next.258",
17
+ "@cedarjs/project-config": "5.0.7-next.258",
18
+ "@cedarjs/testing": "5.0.7-next.258",
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.239"
16
+ "@cedarjs/api-server": "5.0.7-next.258"
17
17
  },
18
18
  "devDependencies": {
19
- "@cedarjs/core": "5.0.7-next.239",
20
- "@cedarjs/eslint-config": "5.0.7-next.239",
21
- "@cedarjs/project-config": "5.0.7-next.239",
22
- "@cedarjs/testing": "5.0.7-next.239",
19
+ "@cedarjs/core": "5.0.7-next.258",
20
+ "@cedarjs/eslint-config": "5.0.7-next.258",
21
+ "@cedarjs/project-config": "5.0.7-next.258",
22
+ "@cedarjs/testing": "5.0.7-next.258",
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.239",
8
- "@cedarjs/graphql-server": "5.0.7-next.239",
7
+ "@cedarjs/api": "5.0.7-next.258",
8
+ "@cedarjs/graphql-server": "5.0.7-next.258",
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 RedwoodLoggerOptions
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 RedwoodLoggerOptions
10
+ * @param CedarLoggerOptions
11
11
  *
12
- * RedwoodLoggerOptions have
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.239"
16
+ "@cedarjs/api-server": "5.0.7-next.258"
17
17
  },
18
18
  "devDependencies": {
19
- "@cedarjs/core": "5.0.7-next.239",
20
- "@cedarjs/eslint-config": "5.0.7-next.239",
21
- "@cedarjs/project-config": "5.0.7-next.239",
22
- "@cedarjs/testing": "5.0.7-next.239"
19
+ "@cedarjs/core": "5.0.7-next.258",
20
+ "@cedarjs/eslint-config": "5.0.7-next.258",
21
+ "@cedarjs/project-config": "5.0.7-next.258",
22
+ "@cedarjs/testing": "5.0.7-next.258"
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.239",
16
- "@cedarjs/router": "5.0.7-next.239",
17
- "@cedarjs/web": "5.0.7-next.239",
15
+ "@cedarjs/forms": "5.0.7-next.258",
16
+ "@cedarjs/router": "5.0.7-next.258",
17
+ "@cedarjs/web": "5.0.7-next.258",
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.239",
22
+ "@cedarjs/vite": "5.0.7-next.258",
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, RedwoodProvider } from '@cedarjs/web'
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
- <RedwoodProvider titleTemplate="%PageTitle | %AppTitle">
16
+ <CedarProvider titleTemplate="%PageTitle | %AppTitle">
17
17
  <CedarApolloProvider>{children}</CedarApolloProvider>
18
- </RedwoodProvider>
18
+ </CedarProvider>
19
19
  </FatalErrorBoundary>
20
20
  )
21
21