create-keystone-app 6.0.0 → 7.0.1
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/dist/create-keystone-app.cjs.dev.js +5 -5
- package/dist/create-keystone-app.cjs.prod.js +5 -5
- package/package.json +5 -5
- package/starter/CHANGELOG.md +10 -0
- package/starter/package.json +5 -5
- package/starter/schema.graphql +1 -0
- package/starter/schema.prisma +3 -2
- package/starter/schema.ts +8 -2
- package/starter/.keystone/admin/.next/build-manifest.json +0 -30
- package/starter/.keystone/admin/.next/cache/webpack/client-development/0.pack +0 -0
- package/starter/.keystone/admin/.next/cache/webpack/client-development/index.pack +0 -0
- package/starter/.keystone/admin/.next/cache/webpack/server-development/0.pack +0 -0
- package/starter/.keystone/admin/.next/cache/webpack/server-development/index.pack +0 -0
- package/starter/.keystone/admin/.next/react-loadable-manifest.json +0 -1
- package/starter/.keystone/admin/.next/server/middleware-manifest.json +0 -6
- package/starter/.keystone/admin/.next/server/pages/_app.js +0 -1534
- package/starter/.keystone/admin/.next/server/pages/_document.js +0 -156
- package/starter/.keystone/admin/.next/server/pages/_error.js +0 -56
- package/starter/.keystone/admin/.next/server/pages/api/__keystone_api_build.js +0 -123
- package/starter/.keystone/admin/.next/server/pages-manifest.json +0 -6
- package/starter/.keystone/admin/.next/server/webpack-api-runtime.js +0 -168
- package/starter/.keystone/admin/.next/server/webpack-runtime.js +0 -168
- package/starter/.keystone/admin/.next/static/chunks/amp.js +0 -366
- package/starter/.keystone/admin/.next/static/chunks/main.js +0 -1251
- package/starter/.keystone/admin/.next/static/chunks/pages/_app.js +0 -10481
- package/starter/.keystone/admin/.next/static/chunks/pages/_error.js +0 -28
- package/starter/.keystone/admin/.next/static/chunks/polyfills.js +0 -1
- package/starter/.keystone/admin/.next/static/chunks/react-refresh.js +0 -62
- package/starter/.keystone/admin/.next/static/chunks/webpack.js +0 -1202
- package/starter/.keystone/admin/.next/static/development/_buildManifest.js +0 -1
- package/starter/.keystone/admin/.next/static/development/_middlewareManifest.js +0 -1
- package/starter/.keystone/admin/.next/static/development/_ssgManifest.js +0 -1
- package/starter/.keystone/admin/.next/trace +0 -26
- package/starter/.keystone/admin/next-env.d.ts +0 -6
- package/starter/.keystone/admin/next.config.js +0 -4
- package/starter/.keystone/admin/pages/_app.js +0 -19
- package/starter/.keystone/admin/pages/api/__keystone_api_build.js +0 -3
- package/starter/.keystone/admin/pages/index.js +0 -1
- package/starter/.keystone/admin/pages/init.js +0 -5
- package/starter/.keystone/admin/pages/no-access.js +0 -3
- package/starter/.keystone/admin/pages/posts/[id].js +0 -3
- package/starter/.keystone/admin/pages/posts/index.js +0 -3
- package/starter/.keystone/admin/pages/signin.js +0 -3
- package/starter/.keystone/admin/pages/tags/[id].js +0 -3
- package/starter/.keystone/admin/pages/tags/index.js +0 -3
- package/starter/.keystone/admin/pages/users/[id].js +0 -3
- package/starter/.keystone/admin/pages/users/index.js +0 -3
- package/starter/.keystone/admin/tsconfig.json +0 -22
- package/starter/keystone.db +0 -0
|
@@ -44,7 +44,7 @@ var terminalLink__default = /*#__PURE__*/_interopDefault(terminalLink);
|
|
|
44
44
|
|
|
45
45
|
var currentPkgJson = {
|
|
46
46
|
name: "create-keystone-app",
|
|
47
|
-
version: "
|
|
47
|
+
version: "7.0.1",
|
|
48
48
|
main: "dist/create-keystone-app.cjs.js",
|
|
49
49
|
files: [
|
|
50
50
|
"dist",
|
|
@@ -55,15 +55,15 @@ var currentPkgJson = {
|
|
|
55
55
|
bin: "./bin.js",
|
|
56
56
|
license: "MIT",
|
|
57
57
|
dependencies: {
|
|
58
|
-
"@babel/runtime": "^7.
|
|
58
|
+
"@babel/runtime": "^7.17.2",
|
|
59
59
|
chalk: "^4.1.2",
|
|
60
60
|
enquirer: "^2.3.6",
|
|
61
61
|
execa: "^5.1.1",
|
|
62
|
-
"fs-extra": "^10.
|
|
62
|
+
"fs-extra": "^10.1.0",
|
|
63
63
|
meow: "^9.0.0",
|
|
64
64
|
ora: "^5.4.1",
|
|
65
|
-
"package-json": "^
|
|
66
|
-
semver: "^7.3.
|
|
65
|
+
"package-json": "^7.0.0",
|
|
66
|
+
semver: "^7.3.7",
|
|
67
67
|
"terminal-link": "^2.1.1"
|
|
68
68
|
}
|
|
69
69
|
};
|
|
@@ -44,7 +44,7 @@ var terminalLink__default = /*#__PURE__*/_interopDefault(terminalLink);
|
|
|
44
44
|
|
|
45
45
|
var currentPkgJson = {
|
|
46
46
|
name: "create-keystone-app",
|
|
47
|
-
version: "
|
|
47
|
+
version: "7.0.1",
|
|
48
48
|
main: "dist/create-keystone-app.cjs.js",
|
|
49
49
|
files: [
|
|
50
50
|
"dist",
|
|
@@ -55,15 +55,15 @@ var currentPkgJson = {
|
|
|
55
55
|
bin: "./bin.js",
|
|
56
56
|
license: "MIT",
|
|
57
57
|
dependencies: {
|
|
58
|
-
"@babel/runtime": "^7.
|
|
58
|
+
"@babel/runtime": "^7.17.2",
|
|
59
59
|
chalk: "^4.1.2",
|
|
60
60
|
enquirer: "^2.3.6",
|
|
61
61
|
execa: "^5.1.1",
|
|
62
|
-
"fs-extra": "^10.
|
|
62
|
+
"fs-extra": "^10.1.0",
|
|
63
63
|
meow: "^9.0.0",
|
|
64
64
|
ora: "^5.4.1",
|
|
65
|
-
"package-json": "^
|
|
66
|
-
semver: "^7.3.
|
|
65
|
+
"package-json": "^7.0.0",
|
|
66
|
+
semver: "^7.3.7",
|
|
67
67
|
"terminal-link": "^2.1.1"
|
|
68
68
|
}
|
|
69
69
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-keystone-app",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"main": "dist/create-keystone-app.cjs.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
"bin": "./bin.js",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@babel/runtime": "^7.
|
|
14
|
+
"@babel/runtime": "^7.17.2",
|
|
15
15
|
"chalk": "^4.1.2",
|
|
16
16
|
"enquirer": "^2.3.6",
|
|
17
17
|
"execa": "^5.1.1",
|
|
18
|
-
"fs-extra": "^10.
|
|
18
|
+
"fs-extra": "^10.1.0",
|
|
19
19
|
"meow": "^9.0.0",
|
|
20
20
|
"ora": "^5.4.1",
|
|
21
|
-
"package-json": "^
|
|
22
|
-
"semver": "^7.3.
|
|
21
|
+
"package-json": "^7.0.0",
|
|
22
|
+
"semver": "^7.3.7",
|
|
23
23
|
"terminal-link": "^2.1.1"
|
|
24
24
|
}
|
|
25
25
|
}
|
package/starter/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# keystone-next-app
|
|
2
2
|
|
|
3
|
+
## 1.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#278](https://github.com/keystonejs/create-keystone-app/pull/278) [`26f9a79`](https://github.com/keystonejs/create-keystone-app/commit/26f9a79ef913915bac85657884f85ff7e4da46c2) Thanks [@Noviny](https://github.com/Noviny)! - Improve schema options for linking authors to posts:
|
|
8
|
+
- Add `inlineConnect: true` to the post's relationship to users
|
|
9
|
+
- Remove authors from being inline-creatable
|
|
10
|
+
|
|
11
|
+
* [#319](https://github.com/keystonejs/create-keystone-app/pull/319) [`94a859e`](https://github.com/keystonejs/create-keystone-app/commit/94a859e43123d2f348d5e21551d59bd7e257aa81) Thanks [@Achisingh](https://github.com/Achisingh)! - Fix dependencies and update schemas for the latest `keystone-6` release
|
|
12
|
+
|
|
3
13
|
## 5.0.0
|
|
4
14
|
|
|
5
15
|
### Major Changes
|
package/starter/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "keystone-app",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"private": true,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "keystone dev",
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"postinstall": "keystone postinstall"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@keystone-6/auth": "^
|
|
13
|
-
"@keystone-6/core": "^1.0
|
|
14
|
-
"@keystone-6/fields-document": "^
|
|
15
|
-
"typescript": "^4.
|
|
12
|
+
"@keystone-6/auth": "^4.0.0",
|
|
13
|
+
"@keystone-6/core": "^2.1.0",
|
|
14
|
+
"@keystone-6/fields-document": "^4.0.0",
|
|
15
|
+
"typescript": "^4.7.4"
|
|
16
16
|
},
|
|
17
17
|
"engines": {
|
|
18
18
|
"node": "^14.15 || ^16.13"
|
package/starter/schema.graphql
CHANGED
package/starter/schema.prisma
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Modify your Keystone config when you want to change this.
|
|
3
3
|
|
|
4
4
|
datasource sqlite {
|
|
5
|
-
url
|
|
6
|
-
|
|
5
|
+
url = env("DATABASE_URL")
|
|
6
|
+
shadowDatabaseUrl = env("SHADOW_DATABASE_URL")
|
|
7
|
+
provider = "sqlite"
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
generator client {
|
package/starter/schema.ts
CHANGED
|
@@ -31,10 +31,16 @@ import {
|
|
|
31
31
|
// custom ones.
|
|
32
32
|
import { document } from '@keystone-6/fields-document';
|
|
33
33
|
|
|
34
|
+
// We are using Typescript, and we want our types experience to be as strict as it can be.
|
|
35
|
+
// By providing the Keystone generated `Lists` type to our lists object, we refine
|
|
36
|
+
// our types to a stricter subset that is type-aware of other lists in our schema
|
|
37
|
+
// that Typescript cannot easily infer.
|
|
38
|
+
import { Lists } from '.keystone/types';
|
|
39
|
+
|
|
34
40
|
// We have a users list, a blogs list, and tags for blog posts, so they can be filtered.
|
|
35
41
|
// Each property on the exported object will become the name of a list (a.k.a. the `listKey`),
|
|
36
42
|
// with the value being the definition of the list, including the fields.
|
|
37
|
-
export const lists = {
|
|
43
|
+
export const lists: Lists = {
|
|
38
44
|
// Here we define the user list.
|
|
39
45
|
User: list({
|
|
40
46
|
// Here are the fields that `User` will have. We want an email and password so they can log in
|
|
@@ -105,7 +111,7 @@ export const lists = {
|
|
|
105
111
|
cardFields: ['name', 'email'],
|
|
106
112
|
inlineEdit: { fields: ['name', 'email'] },
|
|
107
113
|
linkToItem: true,
|
|
108
|
-
|
|
114
|
+
inlineConnect: true,
|
|
109
115
|
},
|
|
110
116
|
}),
|
|
111
117
|
// We also link posts to tags. This is a many <=> many linking.
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"polyfillFiles": [
|
|
3
|
-
"static/chunks/polyfills.js"
|
|
4
|
-
],
|
|
5
|
-
"devFiles": [
|
|
6
|
-
"static/chunks/react-refresh.js"
|
|
7
|
-
],
|
|
8
|
-
"ampDevFiles": [
|
|
9
|
-
"static/chunks/webpack.js",
|
|
10
|
-
"static/chunks/amp.js"
|
|
11
|
-
],
|
|
12
|
-
"lowPriorityFiles": [
|
|
13
|
-
"static/development/_buildManifest.js",
|
|
14
|
-
"static/development/_ssgManifest.js",
|
|
15
|
-
"static/development/_middlewareManifest.js"
|
|
16
|
-
],
|
|
17
|
-
"pages": {
|
|
18
|
-
"/_app": [
|
|
19
|
-
"static/chunks/webpack.js",
|
|
20
|
-
"static/chunks/main.js",
|
|
21
|
-
"static/chunks/pages/_app.js"
|
|
22
|
-
],
|
|
23
|
-
"/_error": [
|
|
24
|
-
"static/chunks/webpack.js",
|
|
25
|
-
"static/chunks/main.js",
|
|
26
|
-
"static/chunks/pages/_error.js"
|
|
27
|
-
]
|
|
28
|
-
},
|
|
29
|
-
"ampFirstPages": []
|
|
30
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|