@vercel/static-build 21.0.0 → 21.0.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/index.js +27 -0
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -31522,8 +31522,35 @@ ${issues}`,
|
|
|
31522
31522
|
}
|
|
31523
31523
|
}
|
|
31524
31524
|
}
|
|
31525
|
+
if (manifest != null) {
|
|
31526
|
+
normalizeDependencyGroups(manifest);
|
|
31527
|
+
}
|
|
31525
31528
|
return manifest;
|
|
31526
31529
|
}
|
|
31530
|
+
function normalizeDependencyGroups(manifest) {
|
|
31531
|
+
const groups = manifest.data["dependency-groups"];
|
|
31532
|
+
if (groups == null) {
|
|
31533
|
+
return;
|
|
31534
|
+
}
|
|
31535
|
+
const normalized = {};
|
|
31536
|
+
for (const [name, entries] of Object.entries(groups)) {
|
|
31537
|
+
const key = normalizePackageName(name);
|
|
31538
|
+
if (Object.prototype.hasOwnProperty.call(normalized, key)) {
|
|
31539
|
+
throw new PythonAnalysisError({
|
|
31540
|
+
message: `duplicate dependency group "${key}": group names must be unique after normalization`,
|
|
31541
|
+
code: "PYTHON_DUPLICATE_DEPENDENCY_GROUP",
|
|
31542
|
+
path: manifest.path
|
|
31543
|
+
});
|
|
31544
|
+
}
|
|
31545
|
+
normalized[key] = entries.map(
|
|
31546
|
+
(entry) => typeof entry === "string" ? entry : {
|
|
31547
|
+
...entry,
|
|
31548
|
+
"include-group": normalizePackageName(entry["include-group"])
|
|
31549
|
+
}
|
|
31550
|
+
);
|
|
31551
|
+
}
|
|
31552
|
+
manifest.data["dependency-groups"] = normalized;
|
|
31553
|
+
}
|
|
31527
31554
|
async function maybeLoadLockFile(root, subdir) {
|
|
31528
31555
|
const uvLockRelPath = import_node_path5.default.join(subdir, "uv.lock");
|
|
31529
31556
|
const uvLockPath = import_node_path5.default.join(root, uvLockRelPath);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/build-step",
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"ts-morph": "12.0.0",
|
|
17
|
-
"@vercel/gatsby-plugin-vercel-builder": "2.2.72",
|
|
18
17
|
"@vercel/gatsby-plugin-vercel-analytics": "1.0.12",
|
|
18
|
+
"@vercel/gatsby-plugin-vercel-builder": "2.2.73",
|
|
19
19
|
"@vercel/static-config": "3.4.4"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@vercel/build-utils": "14.21.
|
|
22
|
+
"@vercel/build-utils": "14.21.1"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/aws-lambda": "8.10.64",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"semver": "7.5.2",
|
|
41
41
|
"tree-kill": "1.2.2",
|
|
42
42
|
"vitest": "4.1.10",
|
|
43
|
+
"@vercel/build-utils": "14.21.1",
|
|
43
44
|
"@vercel/error-utils": "2.2.1",
|
|
44
45
|
"@vercel/frameworks": "3.35.0",
|
|
45
|
-
"@vercel/fs-detectors": "7.9.7",
|
|
46
46
|
"@vercel/routing-utils": "6.6.0",
|
|
47
|
-
"@vercel/
|
|
47
|
+
"@vercel/fs-detectors": "7.9.8"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "node ../../utils/build-builder.mjs",
|