create-cedar-app 2.0.1-rc.2 → 2.0.2-next.24
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-cedar-app.js +1 -1
- package/package.json +4 -4
- package/templates/esm-js/api/db/schema.prisma +1 -1
- package/templates/esm-js/api/package.json +2 -2
- package/templates/esm-js/package.json +3 -3
- package/templates/esm-js/scripts/seed.js +3 -3
- package/templates/esm-js/web/package.json +4 -4
- package/templates/esm-js/yarn.lock +178 -178
- package/templates/esm-ts/api/db/schema.prisma +1 -1
- package/templates/esm-ts/api/package.json +2 -2
- package/templates/esm-ts/package.json +3 -3
- package/templates/esm-ts/scripts/seed.ts +3 -3
- package/templates/esm-ts/web/package.json +4 -4
- package/templates/esm-ts/yarn.lock +178 -178
- package/templates/js/api/db/schema.prisma +1 -1
- package/templates/js/api/package.json +2 -2
- package/templates/js/package.json +3 -3
- package/templates/js/scripts/seed.js +3 -3
- package/templates/js/web/package.json +4 -4
- package/templates/js/yarn.lock +178 -178
- package/templates/ts/api/db/schema.prisma +1 -1
- package/templates/ts/api/package.json +2 -2
- package/templates/ts/package.json +3 -3
- package/templates/ts/scripts/seed.ts +3 -3
- package/templates/ts/web/package.json +4 -4
- package/templates/ts/yarn.lock +178 -178
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Don't forget to tell Prisma about your edits to this file using
|
|
2
|
-
// `yarn
|
|
2
|
+
// `yarn cedar prisma migrate dev` or `yarn cedar prisma db push`.
|
|
3
3
|
// `migrate` is like committing while `push` is for prototyping.
|
|
4
4
|
// Read more about both here:
|
|
5
5
|
// https://www.prisma.io/docs/orm/prisma-migrate
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
]
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@cedarjs/core": "2.0.1
|
|
12
|
-
"@cedarjs/project-config": "2.0.1
|
|
13
|
-
"@cedarjs/testing": "2.0.1
|
|
11
|
+
"@cedarjs/core": "2.0.1",
|
|
12
|
+
"@cedarjs/project-config": "2.0.1",
|
|
13
|
+
"@cedarjs/testing": "2.0.1",
|
|
14
14
|
"vitest": "3.2.4"
|
|
15
15
|
},
|
|
16
16
|
"eslintConfig": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// import { db } from 'api/src/lib/db.js'
|
|
2
2
|
|
|
3
|
-
// Manually apply seeds via the `yarn
|
|
3
|
+
// Manually apply seeds via the `yarn cedar prisma db seed` command.
|
|
4
4
|
//
|
|
5
|
-
// Seeds automatically run the first time you run the `yarn
|
|
6
|
-
// command and every time you run the `yarn
|
|
5
|
+
// Seeds automatically run the first time you run the `yarn cedar prisma migrate dev`
|
|
6
|
+
// command and every time you run the `yarn cedar prisma migrate reset` command.
|
|
7
7
|
//
|
|
8
8
|
// See https://cedarjs.com/docs/database-seeds for more info
|
|
9
9
|
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
]
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@cedarjs/forms": "2.0.1
|
|
16
|
-
"@cedarjs/router": "2.0.1
|
|
17
|
-
"@cedarjs/web": "2.0.1
|
|
15
|
+
"@cedarjs/forms": "2.0.1",
|
|
16
|
+
"@cedarjs/router": "2.0.1",
|
|
17
|
+
"@cedarjs/web": "2.0.1",
|
|
18
18
|
"react": "18.3.1",
|
|
19
19
|
"react-dom": "18.3.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@cedarjs/vite": "2.0.1
|
|
22
|
+
"@cedarjs/vite": "2.0.1",
|
|
23
23
|
"@types/react": "^18.2.55",
|
|
24
24
|
"@types/react-dom": "^18.2.19"
|
|
25
25
|
}
|