@vercel/static-build 1.3.40 → 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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +4 -4
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
- if (pkg) {
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.40",
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",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@vercel/gatsby-plugin-vercel-analytics": "1.0.10",
17
- "@vercel/gatsby-plugin-vercel-builder": "1.3.13"
17
+ "@vercel/gatsby-plugin-vercel-builder": "1.3.14"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/aws-lambda": "8.10.64",
@@ -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.4.3",
32
- "@vercel/fs-detectors": "4.1.0",
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",