siteplane 0.1.62 → 0.1.64
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/bin/siteplane.js +5 -5
- package/dist/index.js +5 -5
- package/dist/next.d.ts +1 -6
- package/dist/next.js +5 -5
- package/package.json +1 -1
package/dist/bin/siteplane.js
CHANGED
|
@@ -4175,11 +4175,11 @@ async function setupPreflightCommand(input) {
|
|
|
4175
4175
|
fail("vercel_package_manager_conflict", "The provider install command conflicts with the canonical lockfile.");
|
|
4176
4176
|
if (overridePin && local.packageManager.declared && `${overridePin[1]}@${overridePin[2]}` !== local.packageManager.declared)
|
|
4177
4177
|
fail("vercel_package_manager_conflict", "The Vercel install override conflicts with the exact packageManager declaration.");
|
|
4178
|
-
const
|
|
4179
|
-
const
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4178
|
+
const buildRunners = (project.buildCommand ?? "").matchAll(/(?:^|[;&|\n])\s*(?:(?:corepack|npx(?:\s+(?:--yes|-y))?)\s+)?(npm|pnpm|yarn|bun)(?:@(\d+\.\d+\.\d+))?\s+(?:run\s+)?build\b/gu);
|
|
4179
|
+
for (const [, family, version2] of buildRunners) {
|
|
4180
|
+
if (family !== local.packageManager.name || version2 && local.packageManager.declared && `${family}@${version2}` !== local.packageManager.declared)
|
|
4181
|
+
fail("vercel_package_manager_conflict", "The explicit Vercel build command conflicts with the selected package manager or its declared version. Align the existing build override and rerun preflight; no setup writes were performed.");
|
|
4182
|
+
}
|
|
4183
4183
|
return {
|
|
4184
4184
|
status: "ready",
|
|
4185
4185
|
local,
|
package/dist/index.js
CHANGED
|
@@ -3243,11 +3243,11 @@ async function setupPreflightCommand(input) {
|
|
|
3243
3243
|
fail("vercel_package_manager_conflict", "The provider install command conflicts with the canonical lockfile.");
|
|
3244
3244
|
if (overridePin && local.packageManager.declared && `${overridePin[1]}@${overridePin[2]}` !== local.packageManager.declared)
|
|
3245
3245
|
fail("vercel_package_manager_conflict", "The Vercel install override conflicts with the exact packageManager declaration.");
|
|
3246
|
-
const
|
|
3247
|
-
const
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3246
|
+
const buildRunners = (project.buildCommand ?? "").matchAll(/(?:^|[;&|\n])\s*(?:(?:corepack|npx(?:\s+(?:--yes|-y))?)\s+)?(npm|pnpm|yarn|bun)(?:@(\d+\.\d+\.\d+))?\s+(?:run\s+)?build\b/gu);
|
|
3247
|
+
for (const [, family, version2] of buildRunners) {
|
|
3248
|
+
if (family !== local.packageManager.name || version2 && local.packageManager.declared && `${family}@${version2}` !== local.packageManager.declared)
|
|
3249
|
+
fail("vercel_package_manager_conflict", "The explicit Vercel build command conflicts with the selected package manager or its declared version. Align the existing build override and rerun preflight; no setup writes were performed.");
|
|
3250
|
+
}
|
|
3251
3251
|
return {
|
|
3252
3252
|
status: "ready",
|
|
3253
3253
|
local,
|
package/dist/next.d.ts
CHANGED
|
@@ -94,12 +94,7 @@ export declare class SiteplaneNextContractError extends Error {
|
|
|
94
94
|
| "image_policy_conflict"
|
|
95
95
|
| "image_origin_missing"
|
|
96
96
|
| "field_contract_scan_failed"
|
|
97
|
-
| "
|
|
98
|
-
| "frame_policy_conflict"
|
|
99
|
-
| "build_identity_missing"
|
|
100
|
-
| "missing_build_revision"
|
|
101
|
-
| "missing_field_contract"
|
|
102
|
-
| "stale_field_contract";
|
|
97
|
+
| "build_identity_missing";
|
|
103
98
|
}
|
|
104
99
|
|
|
105
100
|
export declare function scanNextProjectFieldContract(projectDir: string): Promise<{
|
package/dist/next.js
CHANGED
|
@@ -3046,11 +3046,11 @@ async function setupPreflightCommand(input) {
|
|
|
3046
3046
|
fail("vercel_package_manager_conflict", "The provider install command conflicts with the canonical lockfile.");
|
|
3047
3047
|
if (overridePin && local.packageManager.declared && `${overridePin[1]}@${overridePin[2]}` !== local.packageManager.declared)
|
|
3048
3048
|
fail("vercel_package_manager_conflict", "The Vercel install override conflicts with the exact packageManager declaration.");
|
|
3049
|
-
const
|
|
3050
|
-
const
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3049
|
+
const buildRunners = (project.buildCommand ?? "").matchAll(/(?:^|[;&|\n])\s*(?:(?:corepack|npx(?:\s+(?:--yes|-y))?)\s+)?(npm|pnpm|yarn|bun)(?:@(\d+\.\d+\.\d+))?\s+(?:run\s+)?build\b/gu);
|
|
3050
|
+
for (const [, family, version2] of buildRunners) {
|
|
3051
|
+
if (family !== local.packageManager.name || version2 && local.packageManager.declared && `${family}@${version2}` !== local.packageManager.declared)
|
|
3052
|
+
fail("vercel_package_manager_conflict", "The explicit Vercel build command conflicts with the selected package manager or its declared version. Align the existing build override and rerun preflight; no setup writes were performed.");
|
|
3053
|
+
}
|
|
3054
3054
|
return {
|
|
3055
3055
|
status: "ready",
|
|
3056
3056
|
local,
|