create-cedar-app 4.2.1-next.0 → 4.2.1-next.269
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/.env.defaults +20 -0
- package/database-overlays/neon-postgres/api/package.json +2 -2
- package/database-overlays/pglite/api/package.json +4 -4
- package/dist/create-cedar-app.js +430 -408
- package/package.json +6 -6
- package/templates/esm-js/api/package.json +3 -2
- package/templates/esm-js/api/prisma.config.cjs +1 -1
- package/templates/esm-js/package.json +6 -6
- package/templates/esm-js/scripts/jsconfig.json +6 -0
- package/templates/esm-js/web/{src/index.html → index.html} +1 -1
- package/templates/esm-js/web/package.json +4 -4
- package/templates/esm-js/web/src/entry.client.jsx +8 -8
- package/templates/esm-ts/api/package.json +3 -2
- package/templates/esm-ts/api/prisma.config.cjs +1 -1
- package/templates/esm-ts/package.json +6 -6
- package/templates/esm-ts/scripts/tsconfig.json +6 -0
- package/templates/esm-ts/web/{src/index.html → index.html} +1 -1
- package/templates/esm-ts/web/package.json +4 -4
- package/templates/esm-ts/web/src/entry.client.tsx +8 -8
- package/templates/js/api/package.json +3 -2
- package/templates/js/api/prisma.config.cjs +1 -1
- package/templates/js/package.json +4 -4
- package/templates/js/scripts/jsconfig.json +6 -0
- package/templates/js/web/{src/index.html → index.html} +1 -1
- package/templates/js/web/package.json +4 -4
- package/templates/js/web/src/entry.client.jsx +8 -8
- package/templates/overlays/cjs/npm/package.json +4 -4
- package/templates/overlays/cjs/pnpm/package.json +11 -9
- package/templates/overlays/cjs/pnpm/pnpm-workspace.yaml +18 -0
- package/templates/overlays/cjs/yarn/package.json +19 -7
- package/templates/overlays/esm/npm/package.json +4 -4
- package/templates/overlays/esm/pnpm/package.json +11 -9
- package/templates/overlays/esm/pnpm/pnpm-workspace.yaml +18 -0
- package/templates/overlays/esm/yarn/package.json +21 -9
- package/templates/ts/api/package.json +3 -2
- package/templates/ts/api/prisma.config.cjs +1 -1
- package/templates/ts/package.json +4 -4
- package/templates/ts/scripts/tsconfig.json +6 -0
- package/templates/ts/web/{src/index.html → index.html} +1 -1
- package/templates/ts/web/package.json +4 -4
- package/templates/ts/web/src/entry.client.tsx +8 -8
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# These environment variables will be used by default if you do not create any
|
|
2
|
+
# yourself in .env. This file should be safe to check into your version control
|
|
3
|
+
# system. Any custom values should go in .env and .env should *not* be checked
|
|
4
|
+
# into version control.
|
|
5
|
+
|
|
6
|
+
# Pooled PostgreSQL connection string (used by your app at runtime).
|
|
7
|
+
# DATABASE_URL=postgresql://user:password@ep-cool-breeze-12345678-pooler.us-east-2.aws.neon.tech/neondb?sslmode=require
|
|
8
|
+
|
|
9
|
+
# Direct (non-pooled) PostgreSQL connection string (used by Prisma for migrations).
|
|
10
|
+
# Same host as DATABASE_URL but without the -pooler suffix.
|
|
11
|
+
# DIRECT_DATABASE_URL=postgresql://user:password@ep-cool-breeze-12345678.us-east-2.aws.neon.tech/neondb?sslmode=require
|
|
12
|
+
|
|
13
|
+
# disables Prisma CLI update notifier
|
|
14
|
+
PRISMA_HIDE_UPDATE_MESSAGE=true
|
|
15
|
+
|
|
16
|
+
# Option to override the current environment's default api-side log level
|
|
17
|
+
# See: https://cedarjs.com/docs/logger for level options, defaults to "trace" otherwise.
|
|
18
|
+
# Most applications want "debug" or "info" during dev, "trace" when you have issues and "warn" in production.
|
|
19
|
+
# Ordered by how verbose they are: trace | debug | info | warn | error | silent
|
|
20
|
+
# LOG_LEVEL=debug
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@cedarjs/api": "4.2.1-next.
|
|
8
|
-
"@cedarjs/graphql-server": "4.2.1-next.
|
|
7
|
+
"@cedarjs/api": "4.2.1-next.269",
|
|
8
|
+
"@cedarjs/graphql-server": "4.2.1-next.269",
|
|
9
9
|
"@prisma/adapter-pg": "7.8.0",
|
|
10
10
|
"pg": "^8.13.0"
|
|
11
11
|
}
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@cedarjs/api": "4.2.1-next.
|
|
8
|
-
"@cedarjs/graphql-server": "4.2.1-next.
|
|
9
|
-
"@electric-sql/pglite": "^0.
|
|
10
|
-
"@electric-sql/pglite-socket": "^0.
|
|
7
|
+
"@cedarjs/api": "4.2.1-next.269",
|
|
8
|
+
"@cedarjs/graphql-server": "4.2.1-next.269",
|
|
9
|
+
"@electric-sql/pglite": "^0.5.2",
|
|
10
|
+
"@electric-sql/pglite-socket": "^0.2.0",
|
|
11
11
|
"@prisma/adapter-pg": "7.8.0",
|
|
12
12
|
"pg": "^8.13.0"
|
|
13
13
|
}
|