@vercel/build-utils
Advanced tools
Comparing version 2.3.0 to 2.3.1-canary.0
@@ -267,7 +267,7 @@ "use strict"; | ||
return [ | ||
{ src: 'api/**/*.js', use: `@now/node${withTag}`, config }, | ||
{ src: 'api/**/*.ts', use: `@now/node${withTag}`, config }, | ||
{ src: 'api/**/!(*_test).go', use: `@now/go${withTag}`, config }, | ||
{ src: 'api/**/*.py', use: `@now/python${withTag}`, config }, | ||
{ src: 'api/**/*.rb', use: `@now/ruby${withTag}`, config }, | ||
{ src: 'api/**/*.js', use: `@vercel/node${withTag}`, config }, | ||
{ src: 'api/**/*.ts', use: `@vercel/node${withTag}`, config }, | ||
{ src: 'api/**/!(*_test).go', use: `@vercel/go${withTag}`, config }, | ||
{ src: 'api/**/*.py', use: `@vercel/python${withTag}`, config }, | ||
{ src: 'api/**/*.rb', use: `@vercel/ruby${withTag}`, config }, | ||
]; | ||
@@ -318,3 +318,3 @@ } | ||
if (framework === 'nextjs') { | ||
return { src: 'package.json', use: `@now/next${withTag}`, config }; | ||
return { src: 'package.json', use: `@vercel/next${withTag}`, config }; | ||
} | ||
@@ -339,3 +339,3 @@ // Entrypoints for other frameworks | ||
src: source || 'package.json', | ||
use: `@now/static-build${withTag}`, | ||
use: `@vercel/static-build${withTag}`, | ||
config, | ||
@@ -342,0 +342,0 @@ }; |
@@ -30,3 +30,4 @@ import FileBlob from './file-blob'; | ||
* Helper function to support both `VERCEL_` and legacy `NOW_` env vars. | ||
* Throws an error if *both* env vars are defined. | ||
*/ | ||
export declare const getPlatformEnv: (name: string) => string | undefined; |
{ | ||
"name": "@vercel/build-utils", | ||
"version": "2.3.0", | ||
"version": "2.3.1-canary.0", | ||
"license": "MIT", | ||
@@ -51,3 +51,3 @@ "main": "./dist/index.js", | ||
}, | ||
"gitHead": "b626f3fe57751dc2c34a0bb8f678bcbbaafae068" | ||
"gitHead": "76f544cbea84a7890479fa711ca39f9f3e35616f" | ||
} |
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1220514
30281
1