@virtality/schema 0.0.1-alpha0.1.9 → 0.0.1-alpha0.2.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.
|
@@ -18,10 +18,13 @@ jobs:
|
|
|
18
18
|
- name: Set up Node.js
|
|
19
19
|
uses: actions/setup-node@v3
|
|
20
20
|
with:
|
|
21
|
-
node-version: '
|
|
21
|
+
node-version: '24'
|
|
22
22
|
|
|
23
23
|
- name: Install dependencies
|
|
24
24
|
run: npm install
|
|
25
25
|
|
|
26
|
+
- name: Generate Client
|
|
27
|
+
run: npm run generate
|
|
28
|
+
|
|
26
29
|
- name: Run Prisma Migrations
|
|
27
30
|
run: npx prisma migrate deploy
|
|
@@ -18,10 +18,13 @@ jobs:
|
|
|
18
18
|
- name: Set up Node.js
|
|
19
19
|
uses: actions/setup-node@v3
|
|
20
20
|
with:
|
|
21
|
-
node-version: '
|
|
21
|
+
node-version: '24'
|
|
22
22
|
|
|
23
23
|
- name: Install dependencies
|
|
24
24
|
run: npm install
|
|
25
25
|
|
|
26
|
+
- name: Generate Client
|
|
27
|
+
run: npm run generate
|
|
28
|
+
|
|
26
29
|
- name: Run Prisma Migrations
|
|
27
30
|
run: npx prisma migrate deploy
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virtality/schema",
|
|
3
|
-
"version": "0.0.1-alpha0.1
|
|
3
|
+
"version": "0.0.1-alpha0.2.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
"types"
|
|
16
16
|
],
|
|
17
17
|
"scripts": {
|
|
18
|
-
"generate": "npx prisma generate"
|
|
19
|
-
"postinstall": "npm run generate"
|
|
18
|
+
"generate": "npx prisma generate"
|
|
20
19
|
},
|
|
21
20
|
"dependencies": {
|
|
22
21
|
"@prisma/client": ">=6",
|
|
@@ -3,7 +3,7 @@ import type { PrismaConfig } from 'prisma';
|
|
|
3
3
|
import { env } from 'prisma/config';
|
|
4
4
|
|
|
5
5
|
export default {
|
|
6
|
-
schema: 'prisma/schema',
|
|
6
|
+
schema: 'prisma/schema.prisma',
|
|
7
7
|
migrations: { path: 'prisma/migrations' },
|
|
8
8
|
datasource: { url: env('DATABASE_URL') },
|
|
9
9
|
} satisfies PrismaConfig;
|