create-cedar-app 4.2.0 → 4.2.1-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.
Files changed (43) hide show
  1. package/database-overlays/neon-postgres/.env.defaults +20 -0
  2. package/database-overlays/neon-postgres/api/package.json +2 -2
  3. package/database-overlays/pglite/api/package.json +4 -4
  4. package/dist/create-cedar-app.js +430 -408
  5. package/package.json +6 -6
  6. package/templates/esm-js/api/package.json +2 -2
  7. package/templates/esm-js/api/prisma.config.cjs +1 -1
  8. package/templates/esm-js/package.json +6 -6
  9. package/templates/esm-js/scripts/jsconfig.json +6 -0
  10. package/templates/{js/web/src → esm-js/web}/index.html +1 -1
  11. package/templates/esm-js/web/package.json +4 -4
  12. package/templates/esm-js/web/src/entry.client.jsx +8 -8
  13. package/templates/esm-ts/api/package.json +2 -2
  14. package/templates/esm-ts/api/prisma.config.cjs +1 -1
  15. package/templates/esm-ts/package.json +6 -6
  16. package/templates/esm-ts/scripts/tsconfig.json +6 -0
  17. package/templates/{esm-js/web/src → esm-ts/web}/index.html +1 -1
  18. package/templates/esm-ts/web/package.json +4 -4
  19. package/templates/esm-ts/web/src/entry.client.tsx +8 -8
  20. package/templates/js/api/package.json +2 -2
  21. package/templates/js/api/prisma.config.cjs +1 -1
  22. package/templates/js/package.json +4 -4
  23. package/templates/js/scripts/jsconfig.json +6 -0
  24. package/templates/{ts/web/src → js/web}/index.html +1 -1
  25. package/templates/js/web/package.json +4 -4
  26. package/templates/js/web/src/entry.client.jsx +8 -8
  27. package/templates/overlays/cjs/npm/package.json +4 -4
  28. package/templates/overlays/cjs/pnpm/package.json +11 -9
  29. package/templates/overlays/cjs/pnpm/pnpm-workspace.yaml +18 -0
  30. package/templates/overlays/cjs/yarn/package.json +19 -7
  31. package/templates/overlays/esm/npm/package.json +4 -4
  32. package/templates/overlays/esm/pnpm/package.json +11 -9
  33. package/templates/overlays/esm/pnpm/pnpm-workspace.yaml +18 -0
  34. package/templates/overlays/esm/yarn/package.json +21 -9
  35. package/templates/ts/api/package.json +2 -2
  36. package/templates/ts/api/prisma.config.cjs +1 -1
  37. package/templates/ts/package.json +4 -4
  38. package/templates/ts/scripts/tsconfig.json +6 -0
  39. package/templates/{esm-ts/web/src → ts/web}/index.html +1 -1
  40. package/templates/ts/web/package.json +4 -4
  41. package/templates/ts/web/src/entry.client.tsx +8 -8
  42. package/templates/esm-js/.yarn/install-state.gz +0 -0
  43. package/templates/esm-ts/.yarn/install-state.gz +0 -0
@@ -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.0",
8
- "@cedarjs/graphql-server": "4.2.0",
7
+ "@cedarjs/api": "4.2.1-next.258",
8
+ "@cedarjs/graphql-server": "4.2.1-next.258",
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.0",
8
- "@cedarjs/graphql-server": "4.2.0",
9
- "@electric-sql/pglite": "^0.4.2",
10
- "@electric-sql/pglite-socket": "^0.1.2",
7
+ "@cedarjs/api": "4.2.1-next.258",
8
+ "@cedarjs/graphql-server": "4.2.1-next.258",
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
  }