@prisma/cli 3.0.0-dev.117.1 → 3.0.0-dev.119.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.
@@ -115,7 +115,8 @@ async function runAppRun(context, options) {
115
115
  const framework = await resolveLocalRunFramework(context, {
116
116
  requestedBuildType: buildType,
117
117
  configFramework: compute.target?.framework ?? null,
118
- appDir
118
+ appDir,
119
+ entrypoint: merged.entrypoint
119
120
  });
120
121
  const entrypoint = framework.buildType === "bun" ? await resolveDeployEntrypoint(appDir, framework, merged.entrypoint, context.runtime.signal) : merged.entrypoint;
121
122
  let runResult;
@@ -398,7 +399,7 @@ async function runSingleAppDeploy(context, appName, options, preloadedConfig) {
398
399
  promoted: deployResult.promoted,
399
400
  deploySettings: {
400
401
  config: {
401
- path: buildSettingsResolution.relativeConfigPath,
402
+ path: computeConfig.config?.relativeConfigPath ?? null,
402
403
  status: buildSettingsResolution.status
403
404
  },
404
405
  buildCommand: {
@@ -2250,6 +2251,7 @@ function assertSupportedEntrypoint(buildType, entrypoint, commandName) {
2250
2251
  * and Bun/Hono have dev servers in the current preview.
2251
2252
  */
2252
2253
  async function resolveLocalRunFramework(context, options) {
2254
+ if (options.requestedBuildType === "auto" && options.entrypoint) return frameworkFromUserFacingValue("bun", "set by --entry");
2253
2255
  if (LOCAL_DEV_BUILD_TYPES.includes(options.requestedBuildType)) {
2254
2256
  if (options.configFramework && computeFrameworkToBuildType(options.configFramework) === options.requestedBuildType) return frameworkFromUserFacingValue(options.configFramework, `set by ${COMPUTE_CONFIG_FILENAME$1}`);
2255
2257
  return frameworkFromUserFacingValue(options.requestedBuildType, "set by --build-type");
@@ -70,9 +70,10 @@ async function executeAppBuild(options) {
70
70
  }
71
71
  }
72
72
  async function resolveAppBuildStrategy(options) {
73
+ const buildType = options.buildType === "auto" && options.entrypoint ? "bun" : options.buildType;
73
74
  return resolveBuildStrategy({
74
75
  appPath: options.appPath,
75
- buildType: options.buildType,
76
+ buildType,
76
77
  entrypoint: options.entrypoint,
77
78
  buildSettings: options.buildSettings,
78
79
  signal: options.signal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/cli",
3
- "version": "3.0.0-dev.117.1",
3
+ "version": "3.0.0-dev.119.1",
4
4
  "description": "Command-line interface for the Prisma Developer Platform.",
5
5
  "type": "module",
6
6
  "bin": {