create-payload-app 3.0.0-beta.7 → 3.0.0-canary.2077da8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/lib/configure-payload-config.d.ts.map +1 -1
- package/dist/lib/configure-payload-config.js +26 -0
- package/dist/lib/configure-payload-config.js.map +1 -1
- package/dist/lib/create-project.d.ts.map +1 -1
- package/dist/lib/create-project.js +8 -1
- package/dist/lib/create-project.js.map +1 -1
- package/dist/lib/create-project.spec.js +7 -10
- package/dist/lib/create-project.spec.js.map +1 -1
- package/dist/lib/get-package-manager.d.ts +6 -0
- package/dist/lib/get-package-manager.d.ts.map +1 -0
- package/dist/lib/get-package-manager.js +29 -0
- package/dist/lib/get-package-manager.js.map +1 -0
- package/dist/lib/init-next.d.ts +1 -9
- package/dist/lib/init-next.d.ts.map +1 -1
- package/dist/lib/init-next.js +34 -51
- package/dist/lib/init-next.js.map +1 -1
- package/dist/lib/install-packages.d.ts +9 -0
- package/dist/lib/install-packages.d.ts.map +1 -0
- package/dist/lib/install-packages.js +43 -0
- package/dist/lib/install-packages.js.map +1 -0
- package/dist/lib/select-db.js +1 -1
- package/dist/lib/select-db.js.map +1 -1
- package/dist/lib/templates.js +1 -1
- package/dist/lib/templates.js.map +1 -1
- package/dist/lib/update-payload-in-project.d.ts +6 -0
- package/dist/lib/update-payload-in-project.d.ts.map +1 -0
- package/dist/lib/update-payload-in-project.js +71 -0
- package/dist/lib/update-payload-in-project.js.map +1 -0
- package/dist/lib/wrap-next-config.spec.js +1 -0
- package/dist/lib/wrap-next-config.spec.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +27 -20
- package/dist/main.js.map +1 -1
- package/dist/template/src/app/(payload)/admin/[[...segments]]/not-found.tsx +22 -0
- package/dist/template/src/app/(payload)/admin/[[...segments]]/page.tsx +6 -1
- package/dist/template/src/app/(payload)/api/[...slug]/route.ts +2 -1
- package/dist/template/src/payload.config.ts +2 -1
- package/dist/types.d.ts +10 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/git.d.ts +4 -0
- package/dist/utils/git.d.ts.map +1 -0
- package/dist/utils/git.js +46 -0
- package/dist/utils/git.js.map +1 -0
- package/package.json +19 -21
package/package.json
CHANGED
@@ -1,17 +1,24 @@
|
|
1
1
|
{
|
2
2
|
"name": "create-payload-app",
|
3
|
-
"version": "3.0.0-
|
4
|
-
"license": "MIT",
|
5
|
-
"type": "module",
|
3
|
+
"version": "3.0.0-canary.2077da8",
|
6
4
|
"homepage": "https://payloadcms.com",
|
7
|
-
"bin": {
|
8
|
-
"create-payload-app": "bin/cli.js"
|
9
|
-
},
|
10
5
|
"repository": {
|
11
6
|
"type": "git",
|
12
7
|
"url": "https://github.com/payloadcms/payload.git",
|
13
8
|
"directory": "packages/create-payload-app"
|
14
9
|
},
|
10
|
+
"license": "MIT",
|
11
|
+
"type": "module",
|
12
|
+
"exports": {
|
13
|
+
"./commands": {
|
14
|
+
"import": "./src/lib/init-next.ts",
|
15
|
+
"require": "./src/lib/init-next.ts",
|
16
|
+
"types": "./src/lib/init-next.ts"
|
17
|
+
}
|
18
|
+
},
|
19
|
+
"bin": {
|
20
|
+
"create-payload-app": "bin/cli.js"
|
21
|
+
},
|
15
22
|
"files": [
|
16
23
|
"package.json",
|
17
24
|
"dist",
|
@@ -22,10 +29,8 @@
|
|
22
29
|
"@sindresorhus/slugify": "^1.1.0",
|
23
30
|
"arg": "^5.0.0",
|
24
31
|
"chalk": "^4.1.0",
|
25
|
-
"command-exists": "^1.2.9",
|
26
32
|
"comment-json": "^4.2.3",
|
27
33
|
"degit": "^2.8.4",
|
28
|
-
"detect-package-manager": "^3.0.1",
|
29
34
|
"esprima-next": "^6.0.3",
|
30
35
|
"execa": "^5.0.0",
|
31
36
|
"figures": "^6.1.0",
|
@@ -34,26 +39,19 @@
|
|
34
39
|
"terminal-link": "^2.1.1"
|
35
40
|
},
|
36
41
|
"devDependencies": {
|
37
|
-
"@types/command-exists": "^1.2.0",
|
38
42
|
"@types/degit": "^2.8.3",
|
39
43
|
"@types/esprima": "^4.0.6",
|
40
44
|
"@types/fs-extra": "^9.0.12",
|
41
|
-
"@types/jest": "
|
42
|
-
"@types/node": "20.12.5"
|
43
|
-
|
44
|
-
"exports": {
|
45
|
-
"./commands": {
|
46
|
-
"import": "./src/lib/init-next.ts",
|
47
|
-
"require": "./src/lib/init-next.ts",
|
48
|
-
"types": "./src/lib/init-next.ts"
|
49
|
-
}
|
45
|
+
"@types/jest": "29.5.12",
|
46
|
+
"@types/node": "20.12.5",
|
47
|
+
"temp-dir": "2.0.0"
|
50
48
|
},
|
51
49
|
"scripts": {
|
52
50
|
"build": "pnpm pack-template-files && pnpm typecheck && pnpm build:swc",
|
53
|
-
"typecheck": "tsc",
|
54
|
-
"pack-template-files": "tsx src/scripts/pack-template-files.ts",
|
55
51
|
"build:swc": "swc ./src -d ./dist --config-file .swcrc",
|
56
52
|
"clean": "rimraf {dist,*.tsbuildinfo}",
|
57
|
-
"
|
53
|
+
"pack-template-files": "tsx src/scripts/pack-template-files.ts",
|
54
|
+
"test": "jest",
|
55
|
+
"typecheck": "tsc"
|
58
56
|
}
|
59
57
|
}
|