mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-10 04:22:12 +00:00
[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.
This commit is contained in:
@@ -39,7 +39,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `blitz build`',
|
placeholder: '`npm run build` or `blitz build`',
|
||||||
@@ -80,7 +80,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `next build`',
|
placeholder: '`npm run build` or `next build`',
|
||||||
@@ -126,7 +126,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `gatsby build`',
|
placeholder: '`npm run build` or `gatsby build`',
|
||||||
@@ -211,7 +211,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
value: 'remix build',
|
value: 'remix build',
|
||||||
@@ -281,7 +281,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `hexo generate`',
|
placeholder: '`npm run build` or `hexo generate`',
|
||||||
@@ -318,7 +318,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `npx @11ty/eleventy`',
|
placeholder: '`npm run build` or `npx @11ty/eleventy`',
|
||||||
@@ -357,7 +357,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `docusaurus build`',
|
placeholder: '`npm run build` or `docusaurus build`',
|
||||||
@@ -496,7 +496,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `docusaurus-build`',
|
placeholder: '`npm run build` or `docusaurus-build`',
|
||||||
@@ -547,7 +547,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `preact build`',
|
placeholder: '`npm run build` or `preact build`',
|
||||||
@@ -605,7 +605,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `solid-start build`',
|
placeholder: '`npm run build` or `solid-start build`',
|
||||||
@@ -643,7 +643,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `dojo build`',
|
placeholder: '`npm run build` or `dojo build`',
|
||||||
@@ -709,7 +709,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `ember build`',
|
placeholder: '`npm run build` or `ember build`',
|
||||||
@@ -763,7 +763,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `vue-cli-service build`',
|
placeholder: '`npm run build` or `vue-cli-service build`',
|
||||||
@@ -839,7 +839,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `ng build && scully`',
|
placeholder: '`npm run build` or `ng build && scully`',
|
||||||
@@ -876,7 +876,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `ng build`',
|
placeholder: '`npm run build` or `ng build`',
|
||||||
@@ -928,7 +928,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `ng build`',
|
placeholder: '`npm run build` or `ng build`',
|
||||||
@@ -995,7 +995,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `polymer build`',
|
placeholder: '`npm run build` or `polymer build`',
|
||||||
@@ -1065,7 +1065,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `rollup -c`',
|
placeholder: '`npm run build` or `rollup -c`',
|
||||||
@@ -1120,7 +1120,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `svelte-kit build`',
|
placeholder: '`npm run build` or `svelte-kit build`',
|
||||||
@@ -1156,7 +1156,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `react-scripts build`',
|
placeholder: '`npm run build` or `react-scripts build`',
|
||||||
@@ -1262,7 +1262,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `react-scripts build`',
|
placeholder: '`npm run build` or `react-scripts build`',
|
||||||
@@ -1362,7 +1362,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `gridsome build`',
|
placeholder: '`npm run build` or `gridsome build`',
|
||||||
@@ -1399,7 +1399,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `umi build`',
|
placeholder: '`npm run build` or `umi build`',
|
||||||
@@ -1452,7 +1452,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `sapper export`',
|
placeholder: '`npm run build` or `sapper export`',
|
||||||
@@ -1489,7 +1489,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `saber build`',
|
placeholder: '`npm run build` or `saber build`',
|
||||||
@@ -1557,7 +1557,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `stencil build`',
|
placeholder: '`npm run build` or `stencil build`',
|
||||||
@@ -1648,7 +1648,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `nuxt generate`',
|
placeholder: '`npm run build` or `nuxt generate`',
|
||||||
@@ -1706,7 +1706,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
value: 'yarn rw deploy vercel',
|
value: 'yarn rw deploy vercel',
|
||||||
@@ -1833,7 +1833,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `brunch build --production`',
|
placeholder: '`npm run build` or `brunch build --production`',
|
||||||
@@ -1939,7 +1939,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `vite build`',
|
placeholder: '`npm run build` or `vite build`',
|
||||||
@@ -1976,7 +1976,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `parcel build`',
|
placeholder: '`npm run build` or `parcel build`',
|
||||||
@@ -2030,7 +2030,7 @@ export const frameworks = [
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run build` or `sanity build`',
|
placeholder: '`npm run build` or `sanity build`',
|
||||||
@@ -2062,7 +2062,7 @@ export const frameworks = [
|
|||||||
description: 'No framework or an unoptimized framework.',
|
description: 'No framework or an unoptimized framework.',
|
||||||
settings: {
|
settings: {
|
||||||
installCommand: {
|
installCommand: {
|
||||||
placeholder: '`yarn install` or `npm install`',
|
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
||||||
},
|
},
|
||||||
buildCommand: {
|
buildCommand: {
|
||||||
placeholder: '`npm run vercel-build` or `npm run build`',
|
placeholder: '`npm run vercel-build` or `npm run build`',
|
||||||
|
|||||||
@@ -694,6 +694,7 @@ export const build: BuildV2 = async ({
|
|||||||
'node_modules/**',
|
'node_modules/**',
|
||||||
'yarn.lock',
|
'yarn.lock',
|
||||||
'package-lock.json',
|
'package-lock.json',
|
||||||
|
'pnpm-lock.yaml',
|
||||||
'package.json',
|
'package.json',
|
||||||
'.vercel_build_output',
|
'.vercel_build_output',
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user