create-payload-app 3.0.0-canary.3bd3027 → 3.0.0-canary.483db21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. package/dist/index.js.map +1 -1
  2. package/dist/lib/configure-payload-config.js.map +1 -1
  3. package/dist/lib/create-project.js.map +1 -1
  4. package/dist/lib/create-project.spec.js +17 -16
  5. package/dist/lib/create-project.spec.js.map +1 -1
  6. package/dist/lib/generate-secret.js.map +1 -1
  7. package/dist/lib/get-package-manager.d.ts.map +1 -1
  8. package/dist/lib/get-package-manager.js +12 -3
  9. package/dist/lib/get-package-manager.js.map +1 -1
  10. package/dist/lib/init-next.d.ts +2 -2
  11. package/dist/lib/init-next.d.ts.map +1 -1
  12. package/dist/lib/init-next.js +47 -7
  13. package/dist/lib/init-next.js.map +1 -1
  14. package/dist/lib/install-packages.js.map +1 -1
  15. package/dist/lib/parse-project-name.js.map +1 -1
  16. package/dist/lib/parse-template.js.map +1 -1
  17. package/dist/lib/replacements.d.ts.map +1 -1
  18. package/dist/lib/replacements.js +13 -1
  19. package/dist/lib/replacements.js.map +1 -1
  20. package/dist/lib/select-db.d.ts.map +1 -1
  21. package/dist/lib/select-db.js +11 -11
  22. package/dist/lib/select-db.js.map +1 -1
  23. package/dist/lib/templates.js +6 -0
  24. package/dist/lib/templates.js.map +1 -1
  25. package/dist/lib/update-payload-in-project.d.ts.map +1 -1
  26. package/dist/lib/update-payload-in-project.js +1 -1
  27. package/dist/lib/update-payload-in-project.js.map +1 -1
  28. package/dist/lib/wrap-next-config.d.ts +5 -5
  29. package/dist/lib/wrap-next-config.d.ts.map +1 -1
  30. package/dist/lib/wrap-next-config.js +122 -58
  31. package/dist/lib/wrap-next-config.js.map +1 -1
  32. package/dist/lib/wrap-next-config.spec.js +84 -34
  33. package/dist/lib/wrap-next-config.spec.js.map +1 -1
  34. package/dist/lib/write-env-file.d.ts.map +1 -1
  35. package/dist/lib/write-env-file.js +25 -25
  36. package/dist/lib/write-env-file.js.map +1 -1
  37. package/dist/main.d.ts.map +1 -1
  38. package/dist/main.js +6 -1
  39. package/dist/main.js.map +1 -1
  40. package/dist/scripts/pack-template-files.js.map +1 -1
  41. package/dist/types.d.ts +4 -2
  42. package/dist/types.d.ts.map +1 -1
  43. package/dist/types.js.map +1 -1
  44. package/dist/utils/copy-recursive-sync.js.map +1 -1
  45. package/dist/utils/git.js.map +1 -1
  46. package/dist/utils/log.d.ts.map +1 -1
  47. package/dist/utils/log.js +1 -1
  48. package/dist/utils/log.js.map +1 -1
  49. package/dist/utils/messages.js.map +1 -1
  50. package/package.json +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-payload-app",
3
- "version": "3.0.0-canary.3bd3027",
3
+ "version": "3.0.0-canary.483db21",
4
4
  "homepage": "https://payloadcms.com",
5
5
  "repository": {
6
6
  "type": "git",
@@ -41,6 +41,7 @@
41
41
  "dependencies": {
42
42
  "@clack/prompts": "^0.7.0",
43
43
  "@sindresorhus/slugify": "^1.1.0",
44
+ "@swc/core": "^1.6.13",
44
45
  "arg": "^5.0.0",
45
46
  "chalk": "^4.1.0",
46
47
  "comment-json": "^4.2.3",
@@ -57,8 +58,7 @@
57
58
  "@types/esprima": "^4.0.6",
58
59
  "@types/fs-extra": "^9.0.12",
59
60
  "@types/jest": "29.5.12",
60
- "@types/node": "20.12.5",
61
- "temp-dir": "2.0.0"
61
+ "@types/node": "20.12.5"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "pnpm pack-template-files && pnpm typecheck && pnpm build:swc",