@vercel/static-build 1.3.41 → 1.3.42
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 +4 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -236064,6 +236064,7 @@ exports.frameworks = [
|
|
|
236064
236064
|
},
|
|
236065
236065
|
buildCommand: {
|
|
236066
236066
|
value: 'storybook build',
|
|
236067
|
+
ignorePackageJsonScript: true,
|
|
236067
236068
|
},
|
|
236068
236069
|
devCommand: {
|
|
236069
236070
|
value: `storybook dev -p $PORT`,
|
|
@@ -238579,7 +238580,9 @@ function getCommand(name, pkg, config, framework) {
|
|
|
238579
238580
|
if (typeof propValue === 'string') {
|
|
238580
238581
|
return propValue;
|
|
238581
238582
|
}
|
|
238582
|
-
|
|
238583
|
+
const ignorePackageJsonScript = name === 'build' &&
|
|
238584
|
+
framework?.settings.buildCommand.ignorePackageJsonScript;
|
|
238585
|
+
if (pkg && !ignorePackageJsonScript) {
|
|
238583
238586
|
const scriptName = getScriptName(pkg, name, config);
|
|
238584
238587
|
if (hasScript(scriptName, pkg)) {
|
|
238585
238588
|
return null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.42",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/build-step",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"@types/semver": "7.3.13",
|
|
29
29
|
"@vercel/build-utils": "6.8.2",
|
|
30
30
|
"@vercel/error-utils": "1.0.10",
|
|
31
|
-
"@vercel/frameworks": "1.
|
|
32
|
-
"@vercel/fs-detectors": "4.1.
|
|
31
|
+
"@vercel/frameworks": "1.5.0",
|
|
32
|
+
"@vercel/fs-detectors": "4.1.1",
|
|
33
33
|
"@vercel/ncc": "0.24.0",
|
|
34
34
|
"@vercel/routing-utils": "2.2.1",
|
|
35
35
|
"@vercel/static-config": "2.0.17",
|