Compare commits

..

5 Commits

Author SHA1 Message Date
Steven
c76781fac9 Publish Stable
- @vercel/build-utils@2.15.0
 - vercel@24.0.1
 - @vercel/client@10.4.0
 - @vercel/frameworks@0.7.0
 - @vercel/go@1.3.1
 - @vercel/node-bridge@2.2.0
 - @vercel/node@1.14.0
 - @vercel/python@2.2.1
 - @vercel/redwood@0.6.0
 - @vercel/routing-utils@1.13.0
 - @vercel/ruby@1.3.1
 - @vercel/static-build@0.23.0
2022-03-22 15:17:06 -04:00
Steven
451e0b0cfb Publish Canary
- @vercel/build-utils@2.14.1-canary.8
 - vercel@24.0.1-canary.9
 - @vercel/client@10.3.1-canary.8
 - @vercel/frameworks@0.6.1-canary.7
 - @vercel/go@1.3.1-canary.8
 - @vercel/node@1.13.1-canary.9
 - @vercel/python@2.2.1-canary.8
 - @vercel/redwood@0.5.2-canary.6
 - @vercel/ruby@1.3.1-canary.8
 - @vercel/static-build@0.22.2-canary.6
2022-03-22 14:53:04 -04:00
Ethan Arrowood
cf477d45b2 [frameworks] add pnpm to framework install placeholders (#7587)
Add `pnpm` commands to framework `installCommand.placeholders` so that it appears in the UI.

Additionally, adds the `pnpm-lock.yaml` file to an ignore list like the other lock files.
2022-03-22 14:52:07 -04:00
Steven
cdd2d69e07 Publish Canary
- @vercel/static-build@0.22.2-canary.5
2022-03-22 13:45:48 -04:00
Lee Robinson
43f1f8b257 [static-build] Don't fail CRA builds on warnings (#7584) 2022-03-22 11:04:42 -05:00
15 changed files with 82 additions and 65 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@vercel/build-utils",
"version": "2.14.1-canary.7",
"version": "2.15.0",
"license": "MIT",
"main": "./dist/index.js",
"types": "./dist/index.d.js",
@@ -30,7 +30,7 @@
"@types/node-fetch": "^2.1.6",
"@types/semver": "6.0.0",
"@types/yazl": "^2.4.1",
"@vercel/frameworks": "0.6.1-canary.6",
"@vercel/frameworks": "0.7.0",
"@vercel/ncc": "0.24.0",
"aggregate-error": "3.0.1",
"async-retry": "1.2.3",

View File

@@ -1,6 +1,6 @@
{
"name": "vercel",
"version": "24.0.1-canary.8",
"version": "24.0.1",
"preferGlobal": true,
"license": "Apache-2.0",
"description": "The command-line interface for Vercel",
@@ -43,11 +43,11 @@
"node": ">= 12"
},
"dependencies": {
"@vercel/build-utils": "2.14.1-canary.7",
"@vercel/go": "1.3.1-canary.7",
"@vercel/node": "1.13.1-canary.8",
"@vercel/python": "2.2.1-canary.7",
"@vercel/ruby": "1.3.1-canary.7",
"@vercel/build-utils": "2.15.0",
"@vercel/go": "1.3.1",
"@vercel/node": "1.14.0",
"@vercel/python": "2.2.1",
"@vercel/ruby": "1.3.1",
"update-notifier": "4.1.0"
},
"devDependencies": {
@@ -88,9 +88,9 @@
"@types/update-notifier": "5.1.0",
"@types/which": "1.3.2",
"@types/write-json-file": "2.2.1",
"@vercel/client": "10.3.1-canary.7",
"@vercel/client": "10.4.0",
"@vercel/fetch-retry": "5.0.3",
"@vercel/frameworks": "0.6.1-canary.6",
"@vercel/frameworks": "0.7.0",
"@vercel/ncc": "0.24.0",
"@vercel/nft": "0.17.5",
"@zeit/fun": "0.11.2",

View File

@@ -1,6 +1,6 @@
{
"name": "@vercel/client",
"version": "10.3.1-canary.7",
"version": "10.4.0",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"homepage": "https://vercel.com",
@@ -41,7 +41,7 @@
]
},
"dependencies": {
"@vercel/build-utils": "2.14.1-canary.7",
"@vercel/build-utils": "2.15.0",
"@zeit/fetch": "5.2.0",
"async-retry": "1.2.3",
"async-sema": "3.0.0",

View File

@@ -1,6 +1,6 @@
{
"name": "@vercel/frameworks",
"version": "0.6.1-canary.6",
"version": "0.7.0",
"main": "./dist/frameworks.js",
"types": "./dist/frameworks.d.ts",
"files": [
@@ -20,7 +20,7 @@
"@types/js-yaml": "3.12.1",
"@types/node": "12.0.4",
"@types/node-fetch": "2.5.8",
"@vercel/routing-utils": "1.12.1-canary.0",
"@vercel/routing-utils": "1.13.0",
"ajv": "6.12.2",
"typescript": "4.3.4"
}

View File

@@ -39,7 +39,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `blitz build`',
@@ -80,7 +80,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `next build`',
@@ -126,7 +126,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `gatsby build`',
@@ -211,7 +211,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
value: 'remix build',
@@ -281,7 +281,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `hexo generate`',
@@ -318,7 +318,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `npx @11ty/eleventy`',
@@ -357,7 +357,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `docusaurus build`',
@@ -496,7 +496,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `docusaurus-build`',
@@ -547,7 +547,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `preact build`',
@@ -605,7 +605,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `solid-start build`',
@@ -643,7 +643,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `dojo build`',
@@ -709,7 +709,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `ember build`',
@@ -763,7 +763,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `vue-cli-service build`',
@@ -839,7 +839,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `ng build && scully`',
@@ -876,7 +876,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `ng build`',
@@ -928,7 +928,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `ng build`',
@@ -995,7 +995,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `polymer build`',
@@ -1065,7 +1065,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `rollup -c`',
@@ -1120,7 +1120,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `svelte-kit build`',
@@ -1156,7 +1156,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `react-scripts build`',
@@ -1262,7 +1262,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `react-scripts build`',
@@ -1362,7 +1362,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `gridsome build`',
@@ -1399,7 +1399,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `umi build`',
@@ -1452,7 +1452,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `sapper export`',
@@ -1489,7 +1489,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `saber build`',
@@ -1557,7 +1557,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `stencil build`',
@@ -1648,7 +1648,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `nuxt generate`',
@@ -1706,7 +1706,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
value: 'yarn rw deploy vercel',
@@ -1833,7 +1833,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `brunch build --production`',
@@ -1939,7 +1939,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `vite build`',
@@ -1976,7 +1976,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `parcel build`',
@@ -2030,7 +2030,7 @@ export const frameworks = [
},
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run build` or `sanity build`',
@@ -2062,7 +2062,7 @@ export const frameworks = [
description: 'No framework or an unoptimized framework.',
settings: {
installCommand: {
placeholder: '`yarn install` or `npm install`',
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
},
buildCommand: {
placeholder: '`npm run vercel-build` or `npm run build`',

View File

@@ -1,6 +1,6 @@
{
"name": "@vercel/go",
"version": "1.3.1-canary.7",
"version": "1.3.1",
"license": "MIT",
"main": "./dist/index",
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/go",
@@ -24,7 +24,7 @@
"@types/fs-extra": "^5.0.5",
"@types/node-fetch": "^2.3.0",
"@types/tar": "^4.0.0",
"@vercel/build-utils": "2.14.1-canary.7",
"@vercel/build-utils": "2.15.0",
"@vercel/ncc": "0.24.0",
"async-retry": "1.3.1",
"execa": "^1.0.0",

View File

@@ -1,6 +1,6 @@
{
"name": "@vercel/node-bridge",
"version": "2.1.2-canary.1",
"version": "2.2.0",
"license": "MIT",
"main": "./index.js",
"repository": {

View File

@@ -1,6 +1,6 @@
{
"name": "@vercel/node",
"version": "1.13.1-canary.8",
"version": "1.14.0",
"license": "MIT",
"main": "./dist/index",
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/node-js",
@@ -19,7 +19,7 @@
],
"dependencies": {
"@types/node": "*",
"@vercel/node-bridge": "2.1.2-canary.1",
"@vercel/node-bridge": "2.2.0",
"ts-node": "8.9.1",
"typescript": "4.3.4"
},
@@ -32,7 +32,7 @@
"@types/cookie": "0.3.3",
"@types/etag": "1.8.0",
"@types/test-listen": "1.1.0",
"@vercel/build-utils": "2.14.1-canary.7",
"@vercel/build-utils": "2.15.0",
"@vercel/ncc": "0.24.0",
"@vercel/nft": "0.17.5",
"content-type": "1.0.4",

View File

@@ -1,6 +1,6 @@
{
"name": "@vercel/python",
"version": "2.2.1-canary.7",
"version": "2.2.1",
"main": "./dist/index.js",
"license": "MIT",
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/python",
@@ -20,7 +20,7 @@
},
"devDependencies": {
"@types/execa": "^0.9.0",
"@vercel/build-utils": "2.14.1-canary.7",
"@vercel/build-utils": "2.15.0",
"@vercel/ncc": "0.24.0",
"execa": "^1.0.0",
"typescript": "4.3.4"

View File

@@ -1,6 +1,6 @@
{
"name": "@vercel/redwood",
"version": "0.5.2-canary.5",
"version": "0.6.0",
"main": "./dist/index.js",
"license": "MIT",
"homepage": "https://vercel.com/docs",
@@ -25,6 +25,6 @@
"@types/aws-lambda": "8.10.19",
"@types/node": "*",
"@types/semver": "6.0.0",
"@vercel/build-utils": "2.14.1-canary.7"
"@vercel/build-utils": "2.15.0"
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "@vercel/routing-utils",
"version": "1.12.1-canary.0",
"version": "1.13.0",
"description": "Vercel routing utilities",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",

View File

@@ -1,7 +1,7 @@
{
"name": "@vercel/ruby",
"author": "Nathan Cahill <nathan@nathancahill.com>",
"version": "1.3.1-canary.7",
"version": "1.3.1",
"license": "MIT",
"main": "./dist/index",
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/ruby",
@@ -22,7 +22,7 @@
"devDependencies": {
"@types/fs-extra": "8.0.0",
"@types/semver": "6.0.0",
"@vercel/build-utils": "2.14.1-canary.7",
"@vercel/build-utils": "2.15.0",
"@vercel/ncc": "0.24.0",
"execa": "2.0.4",
"fs-extra": "^7.0.1",

View File

@@ -1,6 +1,6 @@
{
"name": "@vercel/static-build",
"version": "0.22.2-canary.4",
"version": "0.23.0",
"license": "MIT",
"main": "./dist/index",
"homepage": "https://vercel.com/docs/build-step",
@@ -24,10 +24,10 @@
"@types/ms": "0.7.31",
"@types/node-fetch": "2.5.4",
"@types/promise-timeout": "1.3.0",
"@vercel/build-utils": "2.14.1-canary.7",
"@vercel/frameworks": "0.6.1-canary.6",
"@vercel/build-utils": "2.15.0",
"@vercel/frameworks": "0.7.0",
"@vercel/ncc": "0.24.0",
"@vercel/routing-utils": "1.12.1-canary.0",
"@vercel/routing-utils": "1.13.0",
"get-port": "5.0.0",
"is-port-reachable": "2.0.1",
"ms": "2.1.2",

View File

@@ -378,6 +378,22 @@ export const build: BuildV2 = async ({
);
const spawnOpts = getSpawnOptions(meta, nodeVersion);
/* Don't fail the build on warnings from Create React App.
Node.js will load 'false' as a string, not a boolean, so it's truthy still.
This is to ensure we don't accidentally break other packages that check
if process.env.CI is true somewhere.
https://github.com/facebook/create-react-app/issues/2453
https://github.com/facebook/create-react-app/pull/2501
https://github.com/vercel/community/discussions/30
*/
if (framework && framework.slug === 'create-react-app') {
if (!spawnOpts.env) {
spawnOpts.env = {};
}
spawnOpts.env.CI = 'false';
}
if (meta.isDev) {
debug('Skipping dependency installation because dev mode is enabled');
} else {
@@ -678,6 +694,7 @@ export const build: BuildV2 = async ({
'node_modules/**',
'yarn.lock',
'package-lock.json',
'pnpm-lock.yaml',
'package.json',
'.vercel_build_output',
];

View File

@@ -9,7 +9,7 @@
},
"scripts": {
"start": "react-scripts start",
"build": "CI=false react-scripts build",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},