create-prisma 0.4.2-pr.34.107.1 → 0.4.2-pr.34.109.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
|
@@ -1145,7 +1145,7 @@ async function migrateAndSeedIfRequested(context, projectDir, options) {
|
|
|
1145
1145
|
migrateSpinner.stop("Initial migration applied.");
|
|
1146
1146
|
didMigrate = true;
|
|
1147
1147
|
} catch (error) {
|
|
1148
|
-
migrateSpinner.
|
|
1148
|
+
migrateSpinner.stop(`Migration failed${error instanceof Error ? `: ${error.message}` : "."}`);
|
|
1149
1149
|
return {
|
|
1150
1150
|
didMigrate: false,
|
|
1151
1151
|
didSeed: false,
|
|
@@ -1163,7 +1163,7 @@ async function migrateAndSeedIfRequested(context, projectDir, options) {
|
|
|
1163
1163
|
seedSpinner.stop("Database seeded.");
|
|
1164
1164
|
didSeed = true;
|
|
1165
1165
|
} catch (error) {
|
|
1166
|
-
seedSpinner.
|
|
1166
|
+
seedSpinner.stop(`Seed failed${error instanceof Error ? `: ${error.message}` : "."}`);
|
|
1167
1167
|
return {
|
|
1168
1168
|
didMigrate,
|
|
1169
1169
|
didSeed: false,
|
|
@@ -2051,7 +2051,7 @@ async function getAnonymousId() {
|
|
|
2051
2051
|
}
|
|
2052
2052
|
function getCommonProperties() {
|
|
2053
2053
|
return {
|
|
2054
|
-
"cli-version": "0.4.2-pr.34.
|
|
2054
|
+
"cli-version": "0.4.2-pr.34.109.1",
|
|
2055
2055
|
"node-version": process.version,
|
|
2056
2056
|
platform: process.platform,
|
|
2057
2057
|
arch: process.arch
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as DatabaseUrlSchema, i as DatabaseProviderSchema, n as CreateCommandInputSchema, o as PackageManagerSchema, r as CreateTemplateSchema, s as SchemaPresetSchema, t as runCreateCommand } from "./create-
|
|
2
|
+
import { a as DatabaseUrlSchema, i as DatabaseProviderSchema, n as CreateCommandInputSchema, o as PackageManagerSchema, r as CreateTemplateSchema, s as SchemaPresetSchema, t as runCreateCommand } from "./create-dRPbnGmA.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-pr.34.
|
|
7
|
+
const CLI_VERSION = "0.4.2-pr.34.109.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