@prisma/orm-toolchain 8.0.0-rc.4-dev.17 → 8.0.0-rc.5-dev.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 +14 -25
- package/dist/cli.mjs.map +1 -1
- package/package.json +12 -12
package/dist/cli.mjs
CHANGED
|
@@ -33,8 +33,8 @@ import { applyEdits, modify, parse, printParseErrorCode } from "jsonc-parser";
|
|
|
33
33
|
import stringWidth from "string-width";
|
|
34
34
|
import { bold, createColors, cyan, cyanBright, dim, green, yellow } from "colorette";
|
|
35
35
|
import { build } from "esbuild";
|
|
36
|
-
//#region ../../../1-framework/3-tooling/cli/dist/load-config-
|
|
37
|
-
var version = "8.0.0-rc.
|
|
36
|
+
//#region ../../../1-framework/3-tooling/cli/dist/load-config-DOUIXx2w.mjs
|
|
37
|
+
var version = "8.0.0-rc.5-dev.1";
|
|
38
38
|
const MISSING_CONFIG_ACTION = {
|
|
39
39
|
kind: "run-command",
|
|
40
40
|
label: "Create a config file",
|
|
@@ -2973,26 +2973,12 @@ function requirePeer(moduleId, baseDir, overrides) {
|
|
|
2973
2973
|
* own subpath (and optional `#ref` for version-pinned clusters).
|
|
2974
2974
|
*/
|
|
2975
2975
|
const DEFAULT_SKILL_BASE = "prisma/prisma";
|
|
2976
|
-
const DEFAULT_SKILL_SOURCES = [
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
},
|
|
2983
|
-
{
|
|
2984
|
-
subpath: "skills",
|
|
2985
|
-
skill: "prisma-next-upgrade",
|
|
2986
|
-
ref: null,
|
|
2987
|
-
description: "upgrade skill (always tracks `main`)"
|
|
2988
|
-
},
|
|
2989
|
-
{
|
|
2990
|
-
subpath: "skills",
|
|
2991
|
-
skill: "prisma-8-extension-upgrade",
|
|
2992
|
-
ref: null,
|
|
2993
|
-
description: "extension-author upgrade skill (always tracks `main`)"
|
|
2994
|
-
}
|
|
2995
|
-
];
|
|
2976
|
+
const DEFAULT_SKILL_SOURCES = [{
|
|
2977
|
+
subpath: "skills",
|
|
2978
|
+
skill: "prisma-8",
|
|
2979
|
+
ref: "cli",
|
|
2980
|
+
description: "usage skill (version-locked to installed Prisma Next)"
|
|
2981
|
+
}];
|
|
2996
2982
|
/**
|
|
2997
2983
|
* Test-only escape hatch for pinning the install base to a local
|
|
2998
2984
|
* checkout. Production runs leave this unset, so installs always use
|
|
@@ -3089,8 +3075,9 @@ function formatPackageManagerCommand(pm, args) {
|
|
|
3089
3075
|
* the per-workflow usage cluster (including the renamed
|
|
3090
3076
|
* `prisma-8-migration-review` spelling it briefly shipped under), the
|
|
3091
3077
|
* pre-rename spellings of the consolidated skill and the
|
|
3092
|
-
* extension-author upgrade skill,
|
|
3093
|
-
*
|
|
3078
|
+
* extension-author upgrade skill, any hand-rolled `prisma-next` stub,
|
|
3079
|
+
* and the two standalone upgrade skills that folded into the
|
|
3080
|
+
* `prisma-8` router. Projects initialised before the consolidation carry these as
|
|
3094
3081
|
* sibling directories in each agent's install root; left in place
|
|
3095
3082
|
* they compete with the current skills for activation, so init
|
|
3096
3083
|
* removes them on every run.
|
|
@@ -3108,7 +3095,9 @@ const RETIRED_SKILL_NAMES = [
|
|
|
3108
3095
|
"prisma-next-supabase",
|
|
3109
3096
|
"prisma-next-debug",
|
|
3110
3097
|
"prisma-next-feedback",
|
|
3111
|
-
"prisma-next-extension-upgrade"
|
|
3098
|
+
"prisma-next-extension-upgrade",
|
|
3099
|
+
"prisma-next-upgrade",
|
|
3100
|
+
"prisma-8-extension-upgrade"
|
|
3112
3101
|
];
|
|
3113
3102
|
/**
|
|
3114
3103
|
* Project-level install roots the upstream `skills` CLI uses for the
|