create-cedar-app 7.0.0 → 8.0.0-canary.3265
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 +3 -3
- package/database-overlays/pglite/api/package.json +4 -4
- package/dist/create-cedar-app.js +366 -368
- package/package.json +5 -7
- package/templates/js/api/jsconfig.json +2 -2
- package/templates/js/api/package.json +12 -6
- package/templates/js/api/src/directives/requireAuth/requireAuth.js +1 -1
- package/templates/js/api/src/directives/skipAuth/skipAuth.js +1 -1
- package/templates/js/api/src/lib/auth.js +2 -2
- package/templates/js/api/src/lib/db.js +3 -1
- package/templates/js/package.json +12 -7
- package/templates/js/scripts/jsconfig.json +1 -2
- package/templates/js/web/jsconfig.json +1 -2
- package/templates/js/web/package.json +13 -9
- package/templates/js/web/src/pages/FatalErrorPage/FatalErrorPage.jsx +0 -1
- package/templates/js/web/src/pages/NotFoundPage/NotFoundPage.jsx +0 -1
- package/templates/js/web/vite.config.js +11 -3
- package/templates/overlays/{esm/npm → npm}/package.json +8 -8
- package/templates/overlays/{esm/pnpm → pnpm}/package.json +7 -7
- package/templates/overlays/{esm/pnpm → pnpm}/pnpm-workspace.yaml +1 -1
- package/templates/overlays/{esm/yarn → yarn}/package.json +8 -8
- package/templates/ts/api/package.json +12 -6
- package/templates/ts/api/src/directives/requireAuth/requireAuth.ts +1 -1
- package/templates/ts/api/src/directives/skipAuth/skipAuth.ts +1 -1
- package/templates/ts/api/src/lib/auth.ts +2 -2
- package/templates/ts/api/src/lib/db.ts +3 -1
- package/templates/ts/api/tsconfig.json +1 -0
- package/templates/ts/eslint.config.js +11 -0
- package/templates/ts/package.json +12 -7
- package/templates/ts/scripts/tsconfig.json +0 -1
- package/templates/ts/web/package.json +13 -9
- package/templates/ts/web/vite.config.ts +11 -3
- package/templates/esm-js/.cedar/README.md +0 -44
- package/templates/esm-js/.editorconfig +0 -10
- package/templates/esm-js/.env +0 -15
- package/templates/esm-js/.env.defaults +0 -19
- package/templates/esm-js/.env.example +0 -4
- package/templates/esm-js/.vscode/extensions.json +0 -14
- package/templates/esm-js/.vscode/launch.json +0 -56
- package/templates/esm-js/.vscode/settings.json +0 -11
- package/templates/esm-js/.vscode/tasks.json +0 -29
- package/templates/esm-js/README.md +0 -17
- package/templates/esm-js/api/db/schema.prisma +0 -29
- package/templates/esm-js/api/jsconfig.json +0 -41
- package/templates/esm-js/api/package.json +0 -19
- package/templates/esm-js/api/prisma.config.cjs +0 -12
- package/templates/esm-js/api/src/directives/requireAuth/requireAuth.js +0 -22
- package/templates/esm-js/api/src/directives/requireAuth/requireAuth.test.js +0 -18
- package/templates/esm-js/api/src/directives/skipAuth/skipAuth.js +0 -16
- package/templates/esm-js/api/src/directives/skipAuth/skipAuth.test.js +0 -10
- package/templates/esm-js/api/src/functions/graphql.js +0 -19
- package/templates/esm-js/api/src/graphql/.keep +0 -0
- package/templates/esm-js/api/src/lib/auth.js +0 -32
- package/templates/esm-js/api/src/lib/db.js +0 -46
- package/templates/esm-js/api/src/lib/logger.js +0 -17
- package/templates/esm-js/api/src/services/.keep +0 -0
- package/templates/esm-js/cedar.toml +0 -26
- package/templates/esm-js/gitignore.template +0 -27
- package/templates/esm-js/graphql.config.cjs +0 -11
- package/templates/esm-js/package.json +0 -33
- package/templates/esm-js/prettier.config.cjs +0 -18
- package/templates/esm-js/scripts/.keep +0 -0
- package/templates/esm-js/scripts/jsconfig.json +0 -60
- package/templates/esm-js/scripts/seed.js +0 -27
- package/templates/esm-js/web/index.html +0 -15
- package/templates/esm-js/web/jsconfig.json +0 -53
- package/templates/esm-js/web/package.json +0 -30
- package/templates/esm-js/web/public/README.md +0 -43
- package/templates/esm-js/web/public/favicon.png +0 -0
- package/templates/esm-js/web/public/robots.txt +0 -2
- package/templates/esm-js/web/src/App.jsx +0 -16
- package/templates/esm-js/web/src/Routes.jsx +0 -20
- package/templates/esm-js/web/src/components/.keep +0 -0
- package/templates/esm-js/web/src/entry.client.jsx +0 -35
- package/templates/esm-js/web/src/index.css +0 -0
- package/templates/esm-js/web/src/layouts/.keep +0 -0
- package/templates/esm-js/web/src/pages/FatalErrorPage/FatalErrorPage.jsx +0 -58
- package/templates/esm-js/web/src/pages/NotFoundPage/NotFoundPage.jsx +0 -45
- package/templates/esm-js/web/vite.config.js +0 -15
- package/templates/esm-ts/.cedar/README.md +0 -44
- package/templates/esm-ts/.editorconfig +0 -10
- package/templates/esm-ts/.env +0 -15
- package/templates/esm-ts/.env.defaults +0 -19
- package/templates/esm-ts/.env.example +0 -4
- package/templates/esm-ts/.vscode/extensions.json +0 -14
- package/templates/esm-ts/.vscode/launch.json +0 -56
- package/templates/esm-ts/.vscode/settings.json +0 -11
- package/templates/esm-ts/.vscode/tasks.json +0 -29
- package/templates/esm-ts/README.md +0 -17
- package/templates/esm-ts/api/db/schema.prisma +0 -29
- package/templates/esm-ts/api/package.json +0 -19
- package/templates/esm-ts/api/prisma.config.cjs +0 -12
- package/templates/esm-ts/api/src/directives/requireAuth/requireAuth.test.ts +0 -18
- package/templates/esm-ts/api/src/directives/requireAuth/requireAuth.ts +0 -25
- package/templates/esm-ts/api/src/directives/skipAuth/skipAuth.test.ts +0 -10
- package/templates/esm-ts/api/src/directives/skipAuth/skipAuth.ts +0 -16
- package/templates/esm-ts/api/src/functions/graphql.ts +0 -19
- package/templates/esm-ts/api/src/graphql/.keep +0 -0
- package/templates/esm-ts/api/src/lib/auth.ts +0 -32
- package/templates/esm-ts/api/src/lib/db.ts +0 -46
- package/templates/esm-ts/api/src/lib/logger.ts +0 -17
- package/templates/esm-ts/api/src/services/.keep +0 -0
- package/templates/esm-ts/api/tsconfig.json +0 -27
- package/templates/esm-ts/cedar.toml +0 -26
- package/templates/esm-ts/eslint.config.js +0 -3
- package/templates/esm-ts/gitignore.template +0 -27
- package/templates/esm-ts/graphql.config.cjs +0 -11
- package/templates/esm-ts/package.json +0 -33
- package/templates/esm-ts/prettier.config.cjs +0 -18
- package/templates/esm-ts/scripts/.keep +0 -0
- package/templates/esm-ts/scripts/seed.ts +0 -27
- package/templates/esm-ts/scripts/tsconfig.json +0 -35
- package/templates/esm-ts/web/index.html +0 -15
- package/templates/esm-ts/web/package.json +0 -30
- package/templates/esm-ts/web/public/README.md +0 -43
- package/templates/esm-ts/web/public/favicon.png +0 -0
- package/templates/esm-ts/web/public/robots.txt +0 -2
- package/templates/esm-ts/web/src/App.tsx +0 -22
- package/templates/esm-ts/web/src/Routes.tsx +0 -20
- package/templates/esm-ts/web/src/components/.keep +0 -0
- package/templates/esm-ts/web/src/entry.client.tsx +0 -35
- package/templates/esm-ts/web/src/index.css +0 -0
- package/templates/esm-ts/web/src/layouts/.keep +0 -0
- package/templates/esm-ts/web/src/pages/FatalErrorPage/FatalErrorPage.tsx +0 -57
- package/templates/esm-ts/web/src/pages/NotFoundPage/NotFoundPage.tsx +0 -44
- package/templates/esm-ts/web/tsconfig.json +0 -45
- package/templates/esm-ts/web/vite.config.ts +0 -15
- package/templates/js/api/jest.config.js +0 -8
- package/templates/js/eslint.config.mjs +0 -3
- package/templates/js/jest.config.js +0 -8
- package/templates/js/web/jest.config.js +0 -8
- package/templates/overlays/cjs/npm/package-lock.json +0 -28868
- package/templates/overlays/cjs/npm/package.json +0 -31
- package/templates/overlays/cjs/pnpm/package.json +0 -32
- package/templates/overlays/cjs/pnpm/pnpm-lock.yaml +0 -18204
- package/templates/overlays/cjs/pnpm/pnpm-workspace.yaml +0 -23
- package/templates/overlays/cjs/yarn/package.json +0 -73
- package/templates/overlays/cjs/yarn/yarn.lock +0 -18896
- package/templates/overlays/esm/npm/package-lock.json +0 -29256
- package/templates/overlays/esm/pnpm/pnpm-lock.yaml +0 -18683
- package/templates/overlays/esm/yarn/.yarnrc.yml +0 -17
- package/templates/overlays/esm/yarn/yarn.lock +0 -19181
- package/templates/ts/api/jest.config.js +0 -8
- package/templates/ts/eslint.config.mjs +0 -3
- package/templates/ts/jest.config.js +0 -8
- package/templates/ts/web/jest.config.js +0 -8
- /package/templates/{esm-js → js}/api/vitest.config.js +0 -0
- /package/templates/{esm-js → js}/eslint.config.js +0 -0
- /package/templates/{esm-js → js}/vitest.config.mjs +0 -0
- /package/templates/{esm-js → js}/web/vitest.setup.js +0 -0
- /package/templates/overlays/{cjs/yarn → yarn}/.yarnrc.yml +0 -0
- /package/templates/{esm-ts → ts}/api/vitest.config.ts +0 -0
- /package/templates/{esm-ts → ts}/vitest.config.ts +0 -0
- /package/templates/{esm-ts → ts}/web/vitest.setup.ts +0 -0
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@cedarjs/api": "
|
|
8
|
-
"@cedarjs/graphql-server": "
|
|
9
|
-
"@prisma/adapter-pg": "7.
|
|
7
|
+
"@cedarjs/api": "8.0.0-canary.3265",
|
|
8
|
+
"@cedarjs/graphql-server": "8.0.0-canary.3265",
|
|
9
|
+
"@prisma/adapter-pg": "7.10.0",
|
|
10
10
|
"pg": "^8.13.0"
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@cedarjs/api": "
|
|
8
|
-
"@cedarjs/graphql-server": "
|
|
9
|
-
"@electric-sql/pglite": "^0.5.
|
|
7
|
+
"@cedarjs/api": "8.0.0-canary.3265",
|
|
8
|
+
"@cedarjs/graphql-server": "8.0.0-canary.3265",
|
|
9
|
+
"@electric-sql/pglite": "^0.5.0",
|
|
10
10
|
"@electric-sql/pglite-socket": "^0.2.0",
|
|
11
|
-
"@prisma/adapter-pg": "7.
|
|
11
|
+
"@prisma/adapter-pg": "7.10.0",
|
|
12
12
|
"pg": "^8.13.0"
|
|
13
13
|
}
|
|
14
14
|
}
|