create-prisma 0.4.2-next.37.108.1 → 0.4.2-next.37.110.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-C7SXN6bn.mjs";
2
+ import "./create-B5AaEVfo.mjs";
3
3
  import { createCreatePrismaCli } from "./index.mjs";
4
4
 
5
5
  //#region src/cli.ts
@@ -131,7 +131,7 @@ async function getAnonymousId() {
131
131
  }
132
132
  function getCommonProperties() {
133
133
  return {
134
- "cli-version": "0.4.2-next.37.108.1",
134
+ "cli-version": "0.4.2-next.37.110.1",
135
135
  "node-version": process.version,
136
136
  platform: process.platform,
137
137
  arch: process.arch
@@ -1653,6 +1653,7 @@ async function executePrismaSetupContext(context, options = {}) {
1653
1653
  });
1654
1654
  progressSpinner?.stop("Prisma Next project ready.");
1655
1655
  if (warningLines.length > 0) note(warningLines.map((line) => line.replace(/^- /, "")).join("\n"), "Heads up");
1656
+ if (options.createdProjectPath) note(path.resolve(options.createdProjectPath), "Project path");
1656
1657
  note(formatAgentPrompt(), "Agent prompt");
1657
1658
  if (context.verbose) note(formatNextSteps(nextSteps), "Next steps for Prisma Next");
1658
1659
  outro("Prisma Next setup complete.");
@@ -1890,6 +1891,7 @@ async function executeCreateContext(context) {
1890
1891
  if (!await executePrismaSetupContext(context.prismaSetupContext, {
1891
1892
  prependNextSteps: nextSteps,
1892
1893
  projectDir: context.targetDirectory,
1894
+ createdProjectPath: context.targetDirectory,
1893
1895
  includeDevNextStep: true,
1894
1896
  progressSpinner: createSpinner
1895
1897
  })) return {
package/dist/index.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
- import { a as DatabaseProviderSchema, i as CreateTemplateSchema, n as AuthoringStyleSchema, o as DatabaseUrlSchema, r as CreateCommandInputSchema, s as PackageManagerSchema, t as runCreateCommand } from "./create-C7SXN6bn.mjs";
2
+ import { a as DatabaseProviderSchema, i as CreateTemplateSchema, n as AuthoringStyleSchema, o as DatabaseUrlSchema, r as CreateCommandInputSchema, s as PackageManagerSchema, t as runCreateCommand } from "./create-B5AaEVfo.mjs";
3
3
  import { os } from "@orpc/server";
4
4
  import { createCli } from "trpc-cli";
5
5
  import { z } from "zod";
6
6
 
7
7
  //#region src/index.ts
8
- const CLI_VERSION = "0.4.2-next.37.108.1";
8
+ const CLI_VERSION = "0.4.2-next.37.110.1";
9
9
  const CreateCliInputSchema = z.tuple([z.string().trim().min(1, "Please enter a valid project name").optional().describe("Project name / directory"), CreateCommandInputSchema]);
10
10
  function normalizeCreateCliInput(input) {
11
11
  const [projectName, options] = input;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma",
3
- "version": "0.4.2-next.37.108.1",
3
+ "version": "0.4.2-next.37.110.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",