create-prisma 0.4.2-next.37.85.1 → 0.4.2-next.37.86.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/cli.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import "./create-BmezPnjP.mjs";
2
+ import "./create-_RveOsMX.mjs";
3
3
  import { createCreatePrismaCli } from "./index.mjs";
4
4
 
5
5
  //#region src/cli.ts
@@ -40,7 +40,7 @@ async function getAnonymousId() {
40
40
  }
41
41
  function getCommonProperties() {
42
42
  return {
43
- "cli-version": "0.4.2-next.37.85.1",
43
+ "cli-version": "0.4.2-next.37.86.1",
44
44
  "node-version": process.version,
45
45
  platform: process.platform,
46
46
  arch: process.arch
@@ -140,25 +140,25 @@ function requiresDotenvConfigImport(packageManager) {
140
140
  //#region src/constants/dependencies.ts
141
141
  const dependencyVersionMap = {
142
142
  "@elysiajs/node": "^1.4.5",
143
- "@prisma-next/adapter-mongo": "0.4.4",
144
- "@prisma-next/adapter-postgres": "0.4.4",
145
- "@prisma-next/cli": "0.4.4",
146
- "@prisma-next/contract": "0.4.4",
147
- "@prisma-next/family-mongo": "0.4.4",
148
- "@prisma-next/family-sql": "0.4.4",
149
- "@prisma-next/mongo": "0.4.4",
150
- "@prisma-next/mongo-contract": "0.4.4",
151
- "@prisma-next/mongo-contract-ts": "0.4.4",
152
- "@prisma-next/mongo-orm": "0.4.4",
153
- "@prisma-next/postgres": "0.4.4",
154
- "@prisma-next/sql-contract": "0.4.4",
155
- "@prisma-next/sql-contract-ts": "0.4.4",
156
- "@prisma-next/sql-orm-client": "0.4.4",
157
- "@prisma-next/target-mongo": "0.4.4",
158
- "@prisma-next/target-postgres": "0.4.4",
143
+ "@prisma-next/adapter-mongo": "0.7.0",
144
+ "@prisma-next/adapter-postgres": "0.7.0",
145
+ "@prisma-next/cli": "0.7.0",
146
+ "@prisma-next/contract": "0.7.0",
147
+ "@prisma-next/family-mongo": "0.7.0",
148
+ "@prisma-next/family-sql": "0.7.0",
149
+ "@prisma-next/mongo": "0.7.0",
150
+ "@prisma-next/mongo-contract": "0.7.0",
151
+ "@prisma-next/mongo-contract-ts": "0.7.0",
152
+ "@prisma-next/mongo-orm": "0.7.0",
153
+ "@prisma-next/postgres": "0.7.0",
154
+ "@prisma-next/sql-contract": "0.7.0",
155
+ "@prisma-next/sql-contract-ts": "0.7.0",
156
+ "@prisma-next/sql-orm-client": "0.7.0",
157
+ "@prisma-next/target-mongo": "0.7.0",
158
+ "@prisma-next/target-postgres": "0.7.0",
159
159
  "@types/node": "^25.6.2",
160
160
  dotenv: "^17.4.2",
161
- "prisma-next": "0.4.4",
161
+ "prisma-next": "0.7.0",
162
162
  tsx: "^4.21.0"
163
163
  };
164
164
  function getWorkspaceDependencyVersion(packageManager) {
package/dist/index.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
- import { a as DatabaseProviderSchema, c as SchemaPresetSchema, i as CreateTemplateSchema, n as AuthoringStyleSchema, o as DatabaseUrlSchema, r as CreateCommandInputSchema, s as PackageManagerSchema, t as runCreateCommand } from "./create-BmezPnjP.mjs";
2
+ import { a as DatabaseProviderSchema, c as SchemaPresetSchema, i as CreateTemplateSchema, n as AuthoringStyleSchema, o as DatabaseUrlSchema, r as CreateCommandInputSchema, s as PackageManagerSchema, t as runCreateCommand } from "./create-_RveOsMX.mjs";
3
3
  import { os } from "@orpc/server";
4
4
  import { createCli } from "trpc-cli";
5
5
 
6
6
  //#region src/index.ts
7
- const CLI_VERSION = "0.4.2-next.37.85.1";
7
+ const CLI_VERSION = "0.4.2-next.37.86.1";
8
8
  const router = os.router({ create: os.meta({
9
9
  description: "Create a new project with Prisma setup",
10
10
  default: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma",
3
- "version": "0.4.2-next.37.85.1",
3
+ "version": "0.4.2-next.37.86.1",
4
4
  "private": false,
5
5
  "description": "Create Prisma Next projects with first-party templates and great DX.",
6
6
  "homepage": "https://github.com/prisma/create-prisma",
@@ -58,7 +58,7 @@ export const contract = defineContract(
58
58
  id: field.id.uuidv7(),
59
59
  email: field.text().unique(),
60
60
  name: field.text().optional(),
61
- createdAt: field.createdAt(),
61
+ createdAt: field.temporal.createdAt(),
62
62
  },
63
63
  relations: {
64
64
  posts: rel.hasMany("Post", { by: "authorId" }),
@@ -71,7 +71,7 @@ export const contract = defineContract(
71
71
  title: field.text(),
72
72
  content: field.text().optional(),
73
73
  authorId: field.uuid(),
74
- createdAt: field.createdAt(),
74
+ createdAt: field.temporal.createdAt(),
75
75
  },
76
76
  relations: {
77
77
  author: rel.belongsTo("User", { from: "authorId", to: "id" }),
@@ -58,7 +58,7 @@ export const contract = defineContract(
58
58
  id: field.id.uuidv7(),
59
59
  email: field.text().unique(),
60
60
  name: field.text().optional(),
61
- createdAt: field.createdAt(),
61
+ createdAt: field.temporal.createdAt(),
62
62
  },
63
63
  relations: {
64
64
  posts: rel.hasMany("Post", { by: "authorId" }),
@@ -71,7 +71,7 @@ export const contract = defineContract(
71
71
  title: field.text(),
72
72
  content: field.text().optional(),
73
73
  authorId: field.uuid(),
74
- createdAt: field.createdAt(),
74
+ createdAt: field.temporal.createdAt(),
75
75
  },
76
76
  relations: {
77
77
  author: rel.belongsTo("User", { from: "authorId", to: "id" }),
@@ -58,7 +58,7 @@ export const contract = defineContract(
58
58
  id: field.id.uuidv7(),
59
59
  email: field.text().unique(),
60
60
  name: field.text().optional(),
61
- createdAt: field.createdAt(),
61
+ createdAt: field.temporal.createdAt(),
62
62
  },
63
63
  relations: {
64
64
  posts: rel.hasMany("Post", { by: "authorId" }),
@@ -71,7 +71,7 @@ export const contract = defineContract(
71
71
  title: field.text(),
72
72
  content: field.text().optional(),
73
73
  authorId: field.uuid(),
74
- createdAt: field.createdAt(),
74
+ createdAt: field.temporal.createdAt(),
75
75
  },
76
76
  relations: {
77
77
  author: rel.belongsTo("User", { from: "authorId", to: "id" }),
@@ -58,7 +58,7 @@ export const contract = defineContract(
58
58
  id: field.id.uuidv7(),
59
59
  email: field.text().unique(),
60
60
  name: field.text().optional(),
61
- createdAt: field.createdAt(),
61
+ createdAt: field.temporal.createdAt(),
62
62
  },
63
63
  relations: {
64
64
  posts: rel.hasMany("Post", { by: "authorId" }),
@@ -71,7 +71,7 @@ export const contract = defineContract(
71
71
  title: field.text(),
72
72
  content: field.text().optional(),
73
73
  authorId: field.uuid(),
74
- createdAt: field.createdAt(),
74
+ createdAt: field.temporal.createdAt(),
75
75
  },
76
76
  relations: {
77
77
  author: rel.belongsTo("User", { from: "authorId", to: "id" }),
@@ -58,7 +58,7 @@ export const contract = defineContract(
58
58
  id: field.id.uuidv7(),
59
59
  email: field.text().unique(),
60
60
  name: field.text().optional(),
61
- createdAt: field.createdAt(),
61
+ createdAt: field.temporal.createdAt(),
62
62
  },
63
63
  relations: {
64
64
  posts: rel.hasMany("Post", { by: "authorId" }),
@@ -71,7 +71,7 @@ export const contract = defineContract(
71
71
  title: field.text(),
72
72
  content: field.text().optional(),
73
73
  authorId: field.uuid(),
74
- createdAt: field.createdAt(),
74
+ createdAt: field.temporal.createdAt(),
75
75
  },
76
76
  relations: {
77
77
  author: rel.belongsTo("User", { from: "authorId", to: "id" }),
@@ -58,7 +58,7 @@ export const contract = defineContract(
58
58
  id: field.id.uuidv7(),
59
59
  email: field.text().unique(),
60
60
  name: field.text().optional(),
61
- createdAt: field.createdAt(),
61
+ createdAt: field.temporal.createdAt(),
62
62
  },
63
63
  relations: {
64
64
  posts: rel.hasMany("Post", { by: "authorId" }),
@@ -71,7 +71,7 @@ export const contract = defineContract(
71
71
  title: field.text(),
72
72
  content: field.text().optional(),
73
73
  authorId: field.uuid(),
74
- createdAt: field.createdAt(),
74
+ createdAt: field.temporal.createdAt(),
75
75
  },
76
76
  relations: {
77
77
  author: rel.belongsTo("User", { from: "authorId", to: "id" }),
@@ -58,7 +58,7 @@ export const contract = defineContract(
58
58
  id: field.id.uuidv7(),
59
59
  email: field.text().unique(),
60
60
  name: field.text().optional(),
61
- createdAt: field.createdAt(),
61
+ createdAt: field.temporal.createdAt(),
62
62
  },
63
63
  relations: {
64
64
  posts: rel.hasMany("Post", { by: "authorId" }),
@@ -71,7 +71,7 @@ export const contract = defineContract(
71
71
  title: field.text(),
72
72
  content: field.text().optional(),
73
73
  authorId: field.uuid(),
74
- createdAt: field.createdAt(),
74
+ createdAt: field.temporal.createdAt(),
75
75
  },
76
76
  relations: {
77
77
  author: rel.belongsTo("User", { from: "authorId", to: "id" }),
@@ -58,7 +58,7 @@ export const contract = defineContract(
58
58
  id: field.id.uuidv7(),
59
59
  email: field.text().unique(),
60
60
  name: field.text().optional(),
61
- createdAt: field.createdAt(),
61
+ createdAt: field.temporal.createdAt(),
62
62
  },
63
63
  relations: {
64
64
  posts: rel.hasMany("Post", { by: "authorId" }),
@@ -71,7 +71,7 @@ export const contract = defineContract(
71
71
  title: field.text(),
72
72
  content: field.text().optional(),
73
73
  authorId: field.uuid(),
74
- createdAt: field.createdAt(),
74
+ createdAt: field.temporal.createdAt(),
75
75
  },
76
76
  relations: {
77
77
  author: rel.belongsTo("User", { from: "authorId", to: "id" }),
@@ -58,7 +58,7 @@ export const contract = defineContract(
58
58
  id: field.id.uuidv7(),
59
59
  email: field.text().unique(),
60
60
  name: field.text().optional(),
61
- createdAt: field.createdAt(),
61
+ createdAt: field.temporal.createdAt(),
62
62
  },
63
63
  relations: {
64
64
  posts: rel.hasMany("Post", { by: "authorId" }),
@@ -71,7 +71,7 @@ export const contract = defineContract(
71
71
  title: field.text(),
72
72
  content: field.text().optional(),
73
73
  authorId: field.uuid(),
74
- createdAt: field.createdAt(),
74
+ createdAt: field.temporal.createdAt(),
75
75
  },
76
76
  relations: {
77
77
  author: rel.belongsTo("User", { from: "authorId", to: "id" }),