@vercel/static-build 0.22.2-canary.4 → 0.23.0
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 +49 -33
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -7452,7 +7452,7 @@ exports.frameworks = [
|
|
|
7452
7452
|
},
|
|
7453
7453
|
settings: {
|
|
7454
7454
|
installCommand: {
|
|
7455
|
-
placeholder: '`yarn install` or `npm install`',
|
|
7455
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
7456
7456
|
},
|
|
7457
7457
|
buildCommand: {
|
|
7458
7458
|
placeholder: '`npm run build` or `blitz build`',
|
|
@@ -7490,7 +7490,7 @@ exports.frameworks = [
|
|
|
7490
7490
|
},
|
|
7491
7491
|
settings: {
|
|
7492
7492
|
installCommand: {
|
|
7493
|
-
placeholder: '`yarn install` or `npm install`',
|
|
7493
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
7494
7494
|
},
|
|
7495
7495
|
buildCommand: {
|
|
7496
7496
|
placeholder: '`npm run build` or `next build`',
|
|
@@ -7534,7 +7534,7 @@ exports.frameworks = [
|
|
|
7534
7534
|
},
|
|
7535
7535
|
settings: {
|
|
7536
7536
|
installCommand: {
|
|
7537
|
-
placeholder: '`yarn install` or `npm install`',
|
|
7537
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
7538
7538
|
},
|
|
7539
7539
|
buildCommand: {
|
|
7540
7540
|
placeholder: '`npm run build` or `gatsby build`',
|
|
@@ -7615,7 +7615,7 @@ exports.frameworks = [
|
|
|
7615
7615
|
},
|
|
7616
7616
|
settings: {
|
|
7617
7617
|
installCommand: {
|
|
7618
|
-
placeholder: '`yarn install` or `npm install`',
|
|
7618
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
7619
7619
|
},
|
|
7620
7620
|
buildCommand: {
|
|
7621
7621
|
value: 'remix build',
|
|
@@ -7683,7 +7683,7 @@ exports.frameworks = [
|
|
|
7683
7683
|
},
|
|
7684
7684
|
settings: {
|
|
7685
7685
|
installCommand: {
|
|
7686
|
-
placeholder: '`yarn install` or `npm install`',
|
|
7686
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
7687
7687
|
},
|
|
7688
7688
|
buildCommand: {
|
|
7689
7689
|
placeholder: '`npm run build` or `hexo generate`',
|
|
@@ -7718,7 +7718,7 @@ exports.frameworks = [
|
|
|
7718
7718
|
},
|
|
7719
7719
|
settings: {
|
|
7720
7720
|
installCommand: {
|
|
7721
|
-
placeholder: '`yarn install` or `npm install`',
|
|
7721
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
7722
7722
|
},
|
|
7723
7723
|
buildCommand: {
|
|
7724
7724
|
placeholder: '`npm run build` or `npx @11ty/eleventy`',
|
|
@@ -7754,7 +7754,7 @@ exports.frameworks = [
|
|
|
7754
7754
|
},
|
|
7755
7755
|
settings: {
|
|
7756
7756
|
installCommand: {
|
|
7757
|
-
placeholder: '`yarn install` or `npm install`',
|
|
7757
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
7758
7758
|
},
|
|
7759
7759
|
buildCommand: {
|
|
7760
7760
|
placeholder: '`npm run build` or `docusaurus build`',
|
|
@@ -7883,7 +7883,7 @@ exports.frameworks = [
|
|
|
7883
7883
|
},
|
|
7884
7884
|
settings: {
|
|
7885
7885
|
installCommand: {
|
|
7886
|
-
placeholder: '`yarn install` or `npm install`',
|
|
7886
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
7887
7887
|
},
|
|
7888
7888
|
buildCommand: {
|
|
7889
7889
|
placeholder: '`npm run build` or `docusaurus-build`',
|
|
@@ -7932,7 +7932,7 @@ exports.frameworks = [
|
|
|
7932
7932
|
},
|
|
7933
7933
|
settings: {
|
|
7934
7934
|
installCommand: {
|
|
7935
|
-
placeholder: '`yarn install` or `npm install`',
|
|
7935
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
7936
7936
|
},
|
|
7937
7937
|
buildCommand: {
|
|
7938
7938
|
placeholder: '`npm run build` or `preact build`',
|
|
@@ -7988,7 +7988,7 @@ exports.frameworks = [
|
|
|
7988
7988
|
},
|
|
7989
7989
|
settings: {
|
|
7990
7990
|
installCommand: {
|
|
7991
|
-
placeholder: '`yarn install` or `npm install`',
|
|
7991
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
7992
7992
|
},
|
|
7993
7993
|
buildCommand: {
|
|
7994
7994
|
placeholder: '`npm run build` or `solid-start build`',
|
|
@@ -8024,7 +8024,7 @@ exports.frameworks = [
|
|
|
8024
8024
|
},
|
|
8025
8025
|
settings: {
|
|
8026
8026
|
installCommand: {
|
|
8027
|
-
placeholder: '`yarn install` or `npm install`',
|
|
8027
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
8028
8028
|
},
|
|
8029
8029
|
buildCommand: {
|
|
8030
8030
|
placeholder: '`npm run build` or `dojo build`',
|
|
@@ -8088,7 +8088,7 @@ exports.frameworks = [
|
|
|
8088
8088
|
},
|
|
8089
8089
|
settings: {
|
|
8090
8090
|
installCommand: {
|
|
8091
|
-
placeholder: '`yarn install` or `npm install`',
|
|
8091
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
8092
8092
|
},
|
|
8093
8093
|
buildCommand: {
|
|
8094
8094
|
placeholder: '`npm run build` or `ember build`',
|
|
@@ -8140,7 +8140,7 @@ exports.frameworks = [
|
|
|
8140
8140
|
},
|
|
8141
8141
|
settings: {
|
|
8142
8142
|
installCommand: {
|
|
8143
|
-
placeholder: '`yarn install` or `npm install`',
|
|
8143
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
8144
8144
|
},
|
|
8145
8145
|
buildCommand: {
|
|
8146
8146
|
placeholder: '`npm run build` or `vue-cli-service build`',
|
|
@@ -8215,7 +8215,7 @@ exports.frameworks = [
|
|
|
8215
8215
|
},
|
|
8216
8216
|
settings: {
|
|
8217
8217
|
installCommand: {
|
|
8218
|
-
placeholder: '`yarn install` or `npm install`',
|
|
8218
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
8219
8219
|
},
|
|
8220
8220
|
buildCommand: {
|
|
8221
8221
|
placeholder: '`npm run build` or `ng build && scully`',
|
|
@@ -8250,7 +8250,7 @@ exports.frameworks = [
|
|
|
8250
8250
|
},
|
|
8251
8251
|
settings: {
|
|
8252
8252
|
installCommand: {
|
|
8253
|
-
placeholder: '`yarn install` or `npm install`',
|
|
8253
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
8254
8254
|
},
|
|
8255
8255
|
buildCommand: {
|
|
8256
8256
|
placeholder: '`npm run build` or `ng build`',
|
|
@@ -8300,7 +8300,7 @@ exports.frameworks = [
|
|
|
8300
8300
|
},
|
|
8301
8301
|
settings: {
|
|
8302
8302
|
installCommand: {
|
|
8303
|
-
placeholder: '`yarn install` or `npm install`',
|
|
8303
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
8304
8304
|
},
|
|
8305
8305
|
buildCommand: {
|
|
8306
8306
|
placeholder: '`npm run build` or `ng build`',
|
|
@@ -8365,7 +8365,7 @@ exports.frameworks = [
|
|
|
8365
8365
|
},
|
|
8366
8366
|
settings: {
|
|
8367
8367
|
installCommand: {
|
|
8368
|
-
placeholder: '`yarn install` or `npm install`',
|
|
8368
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
8369
8369
|
},
|
|
8370
8370
|
buildCommand: {
|
|
8371
8371
|
placeholder: '`npm run build` or `polymer build`',
|
|
@@ -8433,7 +8433,7 @@ exports.frameworks = [
|
|
|
8433
8433
|
},
|
|
8434
8434
|
settings: {
|
|
8435
8435
|
installCommand: {
|
|
8436
|
-
placeholder: '`yarn install` or `npm install`',
|
|
8436
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
8437
8437
|
},
|
|
8438
8438
|
buildCommand: {
|
|
8439
8439
|
placeholder: '`npm run build` or `rollup -c`',
|
|
@@ -8485,7 +8485,7 @@ exports.frameworks = [
|
|
|
8485
8485
|
},
|
|
8486
8486
|
settings: {
|
|
8487
8487
|
installCommand: {
|
|
8488
|
-
placeholder: '`yarn install` or `npm install`',
|
|
8488
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
8489
8489
|
},
|
|
8490
8490
|
buildCommand: {
|
|
8491
8491
|
placeholder: '`npm run build` or `svelte-kit build`',
|
|
@@ -8519,7 +8519,7 @@ exports.frameworks = [
|
|
|
8519
8519
|
},
|
|
8520
8520
|
settings: {
|
|
8521
8521
|
installCommand: {
|
|
8522
|
-
placeholder: '`yarn install` or `npm install`',
|
|
8522
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
8523
8523
|
},
|
|
8524
8524
|
buildCommand: {
|
|
8525
8525
|
placeholder: '`npm run build` or `react-scripts build`',
|
|
@@ -8623,7 +8623,7 @@ exports.frameworks = [
|
|
|
8623
8623
|
},
|
|
8624
8624
|
settings: {
|
|
8625
8625
|
installCommand: {
|
|
8626
|
-
placeholder: '`yarn install` or `npm install`',
|
|
8626
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
8627
8627
|
},
|
|
8628
8628
|
buildCommand: {
|
|
8629
8629
|
placeholder: '`npm run build` or `react-scripts build`',
|
|
@@ -8721,7 +8721,7 @@ exports.frameworks = [
|
|
|
8721
8721
|
},
|
|
8722
8722
|
settings: {
|
|
8723
8723
|
installCommand: {
|
|
8724
|
-
placeholder: '`yarn install` or `npm install`',
|
|
8724
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
8725
8725
|
},
|
|
8726
8726
|
buildCommand: {
|
|
8727
8727
|
placeholder: '`npm run build` or `gridsome build`',
|
|
@@ -8756,7 +8756,7 @@ exports.frameworks = [
|
|
|
8756
8756
|
},
|
|
8757
8757
|
settings: {
|
|
8758
8758
|
installCommand: {
|
|
8759
|
-
placeholder: '`yarn install` or `npm install`',
|
|
8759
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
8760
8760
|
},
|
|
8761
8761
|
buildCommand: {
|
|
8762
8762
|
placeholder: '`npm run build` or `umi build`',
|
|
@@ -8807,7 +8807,7 @@ exports.frameworks = [
|
|
|
8807
8807
|
},
|
|
8808
8808
|
settings: {
|
|
8809
8809
|
installCommand: {
|
|
8810
|
-
placeholder: '`yarn install` or `npm install`',
|
|
8810
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
8811
8811
|
},
|
|
8812
8812
|
buildCommand: {
|
|
8813
8813
|
placeholder: '`npm run build` or `sapper export`',
|
|
@@ -8842,7 +8842,7 @@ exports.frameworks = [
|
|
|
8842
8842
|
},
|
|
8843
8843
|
settings: {
|
|
8844
8844
|
installCommand: {
|
|
8845
|
-
placeholder: '`yarn install` or `npm install`',
|
|
8845
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
8846
8846
|
},
|
|
8847
8847
|
buildCommand: {
|
|
8848
8848
|
placeholder: '`npm run build` or `saber build`',
|
|
@@ -8908,7 +8908,7 @@ exports.frameworks = [
|
|
|
8908
8908
|
},
|
|
8909
8909
|
settings: {
|
|
8910
8910
|
installCommand: {
|
|
8911
|
-
placeholder: '`yarn install` or `npm install`',
|
|
8911
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
8912
8912
|
},
|
|
8913
8913
|
buildCommand: {
|
|
8914
8914
|
placeholder: '`npm run build` or `stencil build`',
|
|
@@ -8996,7 +8996,7 @@ exports.frameworks = [
|
|
|
8996
8996
|
},
|
|
8997
8997
|
settings: {
|
|
8998
8998
|
installCommand: {
|
|
8999
|
-
placeholder: '`yarn install` or `npm install`',
|
|
8999
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
9000
9000
|
},
|
|
9001
9001
|
buildCommand: {
|
|
9002
9002
|
placeholder: '`npm run build` or `nuxt generate`',
|
|
@@ -9053,7 +9053,7 @@ exports.frameworks = [
|
|
|
9053
9053
|
},
|
|
9054
9054
|
settings: {
|
|
9055
9055
|
installCommand: {
|
|
9056
|
-
placeholder: '`yarn install` or `npm install`',
|
|
9056
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
9057
9057
|
},
|
|
9058
9058
|
buildCommand: {
|
|
9059
9059
|
value: 'yarn rw deploy vercel',
|
|
@@ -9170,7 +9170,7 @@ exports.frameworks = [
|
|
|
9170
9170
|
},
|
|
9171
9171
|
settings: {
|
|
9172
9172
|
installCommand: {
|
|
9173
|
-
placeholder: '`yarn install` or `npm install`',
|
|
9173
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
9174
9174
|
},
|
|
9175
9175
|
buildCommand: {
|
|
9176
9176
|
placeholder: '`npm run build` or `brunch build --production`',
|
|
@@ -9273,7 +9273,7 @@ exports.frameworks = [
|
|
|
9273
9273
|
},
|
|
9274
9274
|
settings: {
|
|
9275
9275
|
installCommand: {
|
|
9276
|
-
placeholder: '`yarn install` or `npm install`',
|
|
9276
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
9277
9277
|
},
|
|
9278
9278
|
buildCommand: {
|
|
9279
9279
|
placeholder: '`npm run build` or `vite build`',
|
|
@@ -9308,7 +9308,7 @@ exports.frameworks = [
|
|
|
9308
9308
|
},
|
|
9309
9309
|
settings: {
|
|
9310
9310
|
installCommand: {
|
|
9311
|
-
placeholder: '`yarn install` or `npm install`',
|
|
9311
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
9312
9312
|
},
|
|
9313
9313
|
buildCommand: {
|
|
9314
9314
|
placeholder: '`npm run build` or `parcel build`',
|
|
@@ -9362,7 +9362,7 @@ exports.frameworks = [
|
|
|
9362
9362
|
},
|
|
9363
9363
|
settings: {
|
|
9364
9364
|
installCommand: {
|
|
9365
|
-
placeholder: '`yarn install` or `npm install`',
|
|
9365
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
9366
9366
|
},
|
|
9367
9367
|
buildCommand: {
|
|
9368
9368
|
placeholder: '`npm run build` or `sanity build`',
|
|
@@ -9394,7 +9394,7 @@ exports.frameworks = [
|
|
|
9394
9394
|
description: 'No framework or an unoptimized framework.',
|
|
9395
9395
|
settings: {
|
|
9396
9396
|
installCommand: {
|
|
9397
|
-
placeholder: '`yarn install` or `npm install`',
|
|
9397
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
|
9398
9398
|
},
|
|
9399
9399
|
buildCommand: {
|
|
9400
9400
|
placeholder: '`npm run vercel-build` or `npm run build`',
|
|
@@ -13974,6 +13974,21 @@ const build = async ({ files, entrypoint, workPath, config, meta = {}, }) => {
|
|
|
13974
13974
|
}
|
|
13975
13975
|
const nodeVersion = await build_utils_1.getNodeVersion(entrypointDir, undefined, config, meta);
|
|
13976
13976
|
const spawnOpts = build_utils_1.getSpawnOptions(meta, nodeVersion);
|
|
13977
|
+
/* Don't fail the build on warnings from Create React App.
|
|
13978
|
+
Node.js will load 'false' as a string, not a boolean, so it's truthy still.
|
|
13979
|
+
This is to ensure we don't accidentally break other packages that check
|
|
13980
|
+
if process.env.CI is true somewhere.
|
|
13981
|
+
|
|
13982
|
+
https://github.com/facebook/create-react-app/issues/2453
|
|
13983
|
+
https://github.com/facebook/create-react-app/pull/2501
|
|
13984
|
+
https://github.com/vercel/community/discussions/30
|
|
13985
|
+
*/
|
|
13986
|
+
if (framework && framework.slug === 'create-react-app') {
|
|
13987
|
+
if (!spawnOpts.env) {
|
|
13988
|
+
spawnOpts.env = {};
|
|
13989
|
+
}
|
|
13990
|
+
spawnOpts.env.CI = 'false';
|
|
13991
|
+
}
|
|
13977
13992
|
if (meta.isDev) {
|
|
13978
13993
|
build_utils_1.debug('Skipping dependency installation because dev mode is enabled');
|
|
13979
13994
|
}
|
|
@@ -14209,6 +14224,7 @@ const build = async ({ files, entrypoint, workPath, config, meta = {}, }) => {
|
|
|
14209
14224
|
'node_modules/**',
|
|
14210
14225
|
'yarn.lock',
|
|
14211
14226
|
'package-lock.json',
|
|
14227
|
+
'pnpm-lock.yaml',
|
|
14212
14228
|
'package.json',
|
|
14213
14229
|
'.vercel_build_output',
|
|
14214
14230
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/build-step",
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
"@types/ms": "0.7.31",
|
|
25
25
|
"@types/node-fetch": "2.5.4",
|
|
26
26
|
"@types/promise-timeout": "1.3.0",
|
|
27
|
-
"@vercel/build-utils": "2.
|
|
28
|
-
"@vercel/frameworks": "0.
|
|
27
|
+
"@vercel/build-utils": "2.15.0",
|
|
28
|
+
"@vercel/frameworks": "0.7.0",
|
|
29
29
|
"@vercel/ncc": "0.24.0",
|
|
30
|
-
"@vercel/routing-utils": "1.
|
|
30
|
+
"@vercel/routing-utils": "1.13.0",
|
|
31
31
|
"get-port": "5.0.0",
|
|
32
32
|
"is-port-reachable": "2.0.1",
|
|
33
33
|
"ms": "2.1.2",
|
|
34
34
|
"node-fetch": "2.6.1",
|
|
35
35
|
"rc9": "1.2.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "c76781fac978fee923d8180706103bad13ca33a0"
|
|
38
38
|
}
|