create-arkos 2.0.0-next.19 → 2.0.0-next.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-arkos",
3
- "version": "2.0.0-next.19",
3
+ "version": "2.0.0-next.20",
4
4
  "type": "module",
5
5
  "description": "CLI for creating Arkos.js projects, see docs at www.arkosjs.com",
6
6
  "bin": {
@@ -9,9 +9,6 @@
9
9
  "start": "arkos start",
10
10
  "arkos": "arkos"
11
11
  },
12
- "prisma": {
13
- "schema": "prisma/schema/"
14
- },
15
12
  "devDependencies": {
16
13
  {{#if typescript}}
17
14
  "typescript": "7.0.2",
@@ -24,7 +21,7 @@
24
21
  {{/if}}
25
22
  },
26
23
  "dependencies": {
27
- "arkos": "2.0.0-next.19",
24
+ "arkos": "2.0.0-next.20",
28
25
  "express": "5.2.1",
29
26
  "@scalar/express-api-reference": "0.10.11",
30
27
  "@scalar/api-reference": "1.63.0"{{#if (or (neq prisma.provider "none") validation.type)}},{{/if}}
@@ -45,8 +42,6 @@
45
42
  {{#if (eq prisma.provider "sqlserver")}}
46
43
  "@prisma/adapter-mssql": "7.9.0",
47
44
  {{/if}}
48
- {{#if validation.type}},{{/if}}
49
- {{/if}}
50
45
  {{#if (eq validation.type "class-validator")}}
51
46
  "reflect-metadata": "0.2.2",
52
47
  "class-transformer": "0.5.1",
@@ -1,6 +1,6 @@
1
1
  generator client {
2
2
  provider = "prisma-client"
3
- output = "../src/generated/prisma"
3
+ output = "../../src/generated/prisma"
4
4
  }
5
5
 
6
6
  datasource db {
@@ -7,4 +7,5 @@ export default defineConfig({
7
7
  datasource: {
8
8
  url: env("DATABASE_URL"),
9
9
  },
10
+ schema: "prisma/schema"
10
11
  });
@@ -2,7 +2,7 @@
2
2
  import { z } from "zod";
3
3
  {{#if (eq authentication.type "static")}}
4
4
  {{#if (neq prisma.provider "sqlite")}}
5
- import { UserRole } from "@prisma/client";
5
+ import { UserRole } from "@/src/generated/prisma/client";
6
6
  {{/if}}
7
7
  {{/if}}
8
8
 
@@ -59,7 +59,7 @@ import {
59
59
  import { Type } from "class-transformer";
60
60
  {{#if (eq authentication.type "static")}}
61
61
  {{#if (neq prisma.provider "sqlite")}}
62
- import { UserRole } from "@prisma/client";
62
+ import { UserRole } from "@/src/generated/prisma/client";
63
63
  {{/if}}
64
64
  {{/if}}
65
65
  {{#if (eq authentication.type "dynamic")}}
@@ -3,7 +3,7 @@ import { z } from "zod";
3
3
  import apiActions from "@/src/utils/validation/api-actions";
4
4
  {{#if (eq authentication.type "static")}}
5
5
  {{#if (neq prisma.provider "sqlite")}}
6
- import { UserRole } from "@prisma/client";
6
+ import { UserRole } from "@/src/generated/prisma/client";
7
7
  {{/if}}
8
8
  {{/if}}
9
9
 
@@ -66,7 +66,7 @@ import { Type } from 'class-transformer';
66
66
  import apiActions from "@/src/utils/validation/api-actions";
67
67
  {{#if (eq authentication.type "static")}}
68
68
  {{#if (neq prisma.provider "sqlite")}}
69
- import { UserRole } from "@prisma/client";
69
+ import { UserRole } from "@/src/generated/prisma/client";
70
70
  {{/if}}
71
71
  {{/if}}
72
72
  {{#if (eq authentication.type "dynamic")}}