mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-31 03:39:11 +00:00
Compare commits
3 Commits
@vercel/ne
...
Fix-Packag
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
59f51a1bb6 | ||
|
|
494164a3a4 | ||
|
|
b45052adda |
3
.github/workflows/cron-update-next.yml
vendored
3
.github/workflows/cron-update-next.yml
vendored
@@ -16,13 +16,10 @@ jobs:
|
||||
# 0 means fetch all commits so we can commit and push in the script below
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Enable corepack
|
||||
run: corepack enable pnpm
|
||||
- name: Create Pull Request
|
||||
uses: actions/github-script@v6
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_PULL_REQUESTS }}
|
||||
# See https://github.com/actions/github-script#run-a-separate-file-with-an-async-function
|
||||
with:
|
||||
script: |
|
||||
|
||||
5
.github/workflows/cron-update-turbo.yml
vendored
5
.github/workflows/cron-update-turbo.yml
vendored
@@ -16,13 +16,12 @@ jobs:
|
||||
# 0 means fetch all commits so we can commit and push in the script below
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Enable corepack
|
||||
run: corepack enable pnpm
|
||||
- name: install pnpm@7.26.0
|
||||
run: npm i -g pnpm@7.26.0
|
||||
- name: Create Pull Request
|
||||
uses: actions/github-script@v6
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_PULL_REQUESTS }}
|
||||
# See https://github.com/actions/github-script#run-a-separate-file-with-an-async-function
|
||||
with:
|
||||
script: |
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
|
||||
#### Why This Error Occurred
|
||||
|
||||
This error is often caused by a misconfigured "Build Command" or "Output Directory" for your Next.js project.
|
||||
This could be caused by a misconfigured "Build Command" or "Output Directory" for your Next.js project.
|
||||
|
||||
#### Possible Ways to Fix It
|
||||
|
||||
In the Vercel dashboard, open your "Project Settings" and draw attention to "Build & Development Settings":
|
||||
|
||||
1. Ensure that the "Build Command" setting is not overridden, or that it calls `next build`. If this command is not overridden but you are seeing this error, double check that your `build` script in `package.json` calls `next build`. If `buildCommand` exists in `vercel.json`, make sure it calls `next build`.
|
||||
2. Ensure that the "Output Directory" setting is not overridden. This value almost never needs to be configured, and is only necessary if you override `distDir` in `next.config.js`. If `outputDirectory` exists in `vercel.json`, remove that property.
|
||||
3. For `next export` users: **do not override the "Output Directory"**, even if you customized the `next export` output directory. It will automatically detects the correct output.
|
||||
1. Ensure that the "Build Command" setting is not changed, or that it calls `next build`. If this command is not changed but you are seeing this error, double check that your `build` script in `package.json` calls `next build`.
|
||||
2. Ensure that the "Output Directory" setting is not changed. This value almost never needs to be configured, and is only necessary if you override `distDir` in `next.config.js`.
|
||||
3. For `next export` users: **do not override the "Output Directory"**. Next.js automatically detects what folder you outputted `next export` to.
|
||||
|
||||
In rare scenarios, this error message can also be caused by a Next.js build failure (if your "Build Command" accidentally returns an exit code that is not 0).
|
||||
Double check for any error messages above the Routes Manifest error, which may provide additional details.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vercel/build-utils",
|
||||
"version": "6.2.4",
|
||||
"version": "6.2.2",
|
||||
"license": "MIT",
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.js",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Cron, Files, FunctionFramework } from './types';
|
||||
import type { Cron, Files } from './types';
|
||||
|
||||
/**
|
||||
* An Edge Functions output
|
||||
@@ -44,9 +44,6 @@ export class EdgeFunction {
|
||||
/** Cronjob definition for the edge function */
|
||||
cron?: Cron;
|
||||
|
||||
/** The framework */
|
||||
framework?: FunctionFramework;
|
||||
|
||||
constructor(params: Omit<EdgeFunction, 'type'>) {
|
||||
this.type = 'EdgeFunction';
|
||||
this.name = params.name;
|
||||
@@ -57,6 +54,5 @@ export class EdgeFunction {
|
||||
this.assets = params.assets;
|
||||
this.regions = params.regions;
|
||||
this.cron = params.cron;
|
||||
this.framework = params.framework;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ import minimatch from 'minimatch';
|
||||
import { readlink } from 'fs-extra';
|
||||
import { isSymbolicLink, isDirectory } from './fs/download';
|
||||
import streamToBuffer from './fs/stream-to-buffer';
|
||||
import type { Files, Config, Cron, FunctionFramework } from './types';
|
||||
import type { Files, Config, Cron } from './types';
|
||||
|
||||
interface Environment {
|
||||
[key: string]: string;
|
||||
@@ -26,7 +26,6 @@ export interface LambdaOptionsBase {
|
||||
experimentalResponseStreaming?: boolean;
|
||||
operationType?: string;
|
||||
cron?: Cron;
|
||||
framework?: FunctionFramework;
|
||||
}
|
||||
|
||||
export interface LambdaOptionsWithFiles extends LambdaOptionsBase {
|
||||
@@ -72,7 +71,6 @@ export class Lambda {
|
||||
supportsMultiPayloads?: boolean;
|
||||
supportsWrapper?: boolean;
|
||||
experimentalResponseStreaming?: boolean;
|
||||
framework?: FunctionFramework;
|
||||
|
||||
constructor(opts: LambdaOptions) {
|
||||
const {
|
||||
@@ -88,7 +86,6 @@ export class Lambda {
|
||||
supportsWrapper,
|
||||
experimentalResponseStreaming,
|
||||
operationType,
|
||||
framework,
|
||||
} = opts;
|
||||
if ('files' in opts) {
|
||||
assert(typeof opts.files === 'object', '"files" must be an object');
|
||||
@@ -142,20 +139,6 @@ export class Lambda {
|
||||
assert(typeof cron === 'string', '"cron" is not a string');
|
||||
}
|
||||
|
||||
if (framework !== undefined) {
|
||||
assert(typeof framework === 'object', '"framework" is not an object');
|
||||
assert(
|
||||
typeof framework.slug === 'string',
|
||||
'"framework.slug" is not a string'
|
||||
);
|
||||
if (framework.version !== undefined) {
|
||||
assert(
|
||||
typeof framework.version === 'string',
|
||||
'"framework.version" is not a string'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
this.type = 'Lambda';
|
||||
this.operationType = operationType;
|
||||
this.files = 'files' in opts ? opts.files : undefined;
|
||||
@@ -171,7 +154,6 @@ export class Lambda {
|
||||
this.supportsMultiPayloads = supportsMultiPayloads;
|
||||
this.supportsWrapper = supportsWrapper;
|
||||
this.experimentalResponseStreaming = experimentalResponseStreaming;
|
||||
this.framework = framework;
|
||||
}
|
||||
|
||||
async createZip(): Promise<Buffer> {
|
||||
|
||||
@@ -412,11 +412,6 @@ export interface BuildResultBuildOutput {
|
||||
}
|
||||
|
||||
export type Cron = string;
|
||||
/** The framework which created the function */
|
||||
export interface FunctionFramework {
|
||||
slug: string;
|
||||
version?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* When a Builder implements `version: 2`, the `build()` function is expected
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vercel",
|
||||
"version": "28.15.6",
|
||||
"version": "28.15.4",
|
||||
"preferGlobal": true,
|
||||
"license": "Apache-2.0",
|
||||
"description": "The command-line interface for Vercel",
|
||||
@@ -41,16 +41,16 @@
|
||||
"node": ">= 14"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vercel/build-utils": "6.2.4",
|
||||
"@vercel/go": "2.3.6",
|
||||
"@vercel/hydrogen": "0.0.52",
|
||||
"@vercel/next": "3.4.5",
|
||||
"@vercel/node": "2.9.5",
|
||||
"@vercel/python": "3.1.48",
|
||||
"@vercel/redwood": "1.1.4",
|
||||
"@vercel/remix": "1.3.1",
|
||||
"@vercel/ruby": "1.3.64",
|
||||
"@vercel/static-build": "1.3.8"
|
||||
"@vercel/build-utils": "6.2.2",
|
||||
"@vercel/go": "2.3.4",
|
||||
"@vercel/hydrogen": "0.0.50",
|
||||
"@vercel/next": "3.4.3",
|
||||
"@vercel/node": "2.9.3",
|
||||
"@vercel/python": "3.1.46",
|
||||
"@vercel/redwood": "1.1.2",
|
||||
"@vercel/remix": "1.2.13",
|
||||
"@vercel/ruby": "1.3.62",
|
||||
"@vercel/static-build": "1.3.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@alex_neo/jest-expect-message": "1.0.5",
|
||||
@@ -93,13 +93,13 @@
|
||||
"@types/which": "1.3.2",
|
||||
"@types/write-json-file": "2.2.1",
|
||||
"@types/yauzl-promise": "2.1.0",
|
||||
"@vercel/client": "12.3.10",
|
||||
"@vercel/client": "12.3.8",
|
||||
"@vercel/error-utils": "1.0.8",
|
||||
"@vercel/frameworks": "1.3.1",
|
||||
"@vercel/fs-detectors": "3.7.13",
|
||||
"@vercel/frameworks": "1.3.0",
|
||||
"@vercel/fs-detectors": "3.7.11",
|
||||
"@vercel/fun": "1.0.4",
|
||||
"@vercel/ncc": "0.24.0",
|
||||
"@vercel/routing-utils": "2.1.9",
|
||||
"@vercel/routing-utils": "2.1.8",
|
||||
"@zeit/source-map-support": "0.6.2",
|
||||
"ajv": "6.12.2",
|
||||
"alpha-sort": "2.0.1",
|
||||
|
||||
@@ -10,7 +10,7 @@ const { version: cliVersion } = require('../../package.json');
|
||||
const {
|
||||
fetchCachedToken,
|
||||
} = require('../../../../test/lib/deployment/now-deploy');
|
||||
const { spawnSync, execFileSync } = require('child_process');
|
||||
const { spawnSync } = require('child_process');
|
||||
|
||||
jest.setTimeout(6 * 60 * 1000);
|
||||
|
||||
@@ -522,7 +522,7 @@ async function ps(parentPid, pids = {}) {
|
||||
: ['ps', '-o', 'pid', '--no-headers', '--ppid', parentPid];
|
||||
|
||||
try {
|
||||
const buf = execFileSync(cmd[0], cmd.slice(1), {
|
||||
const { stdout: buf } = spawnSync(cmd[0], cmd.slice(1), {
|
||||
encoding: 'utf-8',
|
||||
});
|
||||
for (let pid of buf.match(/\d+/g)) {
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
const path = require('node:path');
|
||||
const fs = require('node:fs');
|
||||
const world = require('app-2');
|
||||
|
||||
const dist = path.join(__dirname, 'dist');
|
||||
fs.rmSync(dist, { recursive: true, force: true });
|
||||
fs.mkdirSync(dist);
|
||||
fs.writeFileSync(path.join(dist, 'index.txt'), `Hello, ${world}`);
|
||||
fs.writeFileSync(path.join(dist, 'index.txt'), `Hello`);
|
||||
|
||||
@@ -4,4 +4,4 @@ const fs = require('node:fs');
|
||||
const dist = path.join(__dirname, 'dist');
|
||||
fs.rmSync(dist, { recursive: true, force: true });
|
||||
fs.mkdirSync(dist);
|
||||
fs.writeFileSync(path.join(dist, 'index.js'), 'module.exports = "world"');
|
||||
fs.writeFileSync(path.join(dist, 'index.txt'), `Hello`);
|
||||
@@ -1,12 +1,8 @@
|
||||
{
|
||||
"name": "app-2",
|
||||
"version": "0.0.1",
|
||||
"main": "dist/index.js",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "node script.js"
|
||||
"build": "node index.js"
|
||||
},
|
||||
"nx": {
|
||||
"targets": {
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
const path = require('node:path');
|
||||
const fs = require('node:fs');
|
||||
const world = require('app-2');
|
||||
|
||||
const dist = path.join(__dirname, 'dist');
|
||||
fs.rmSync(dist, { recursive: true, force: true });
|
||||
fs.mkdirSync(dist);
|
||||
fs.writeFileSync(path.join(dist, 'index.txt'), `Hello, ${world}`);
|
||||
fs.writeFileSync(path.join(dist, 'index.txt'), `Hello`);
|
||||
|
||||
@@ -4,4 +4,4 @@ const fs = require('node:fs');
|
||||
const dist = path.join(__dirname, 'dist');
|
||||
fs.rmSync(dist, { recursive: true, force: true });
|
||||
fs.mkdirSync(dist);
|
||||
fs.writeFileSync(path.join(dist, 'index.js'), 'module.exports = "world"');
|
||||
fs.writeFileSync(path.join(dist, 'index.txt'), `Hello`);
|
||||
@@ -1,11 +1,7 @@
|
||||
{
|
||||
"name": "app-2",
|
||||
"version": "0.0.1",
|
||||
"main": "dist/index.js",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "node script.js"
|
||||
"build": "node index.js"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
const path = require('node:path');
|
||||
const fs = require('node:fs');
|
||||
const world = require('app-2');
|
||||
|
||||
const dist = path.join(__dirname, 'dist');
|
||||
fs.rmSync(dist, { recursive: true, force: true });
|
||||
fs.mkdirSync(dist);
|
||||
fs.writeFileSync(path.join(dist, 'index.txt'), `Hello, ${world}`);
|
||||
fs.writeFileSync(path.join(dist, 'index.txt'), `Hello`);
|
||||
|
||||
@@ -4,4 +4,4 @@ const fs = require('node:fs');
|
||||
const dist = path.join(__dirname, 'dist');
|
||||
fs.rmSync(dist, { recursive: true, force: true });
|
||||
fs.mkdirSync(dist);
|
||||
fs.writeFileSync(path.join(dist, 'index.js'), 'module.exports = "world"');
|
||||
fs.writeFileSync(path.join(dist, 'index.txt'), `Hello`);
|
||||
@@ -1,11 +1,7 @@
|
||||
{
|
||||
"name": "app-2",
|
||||
"version": "0.0.1",
|
||||
"main": "dist/index.js",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "node script.js"
|
||||
"build": "node index.js"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
const path = require('node:path');
|
||||
const fs = require('node:fs');
|
||||
const world = require('app-2');
|
||||
|
||||
const dist = path.join(__dirname, 'dist');
|
||||
fs.rmSync(dist, { recursive: true, force: true });
|
||||
fs.mkdirSync(dist);
|
||||
fs.writeFileSync(path.join(dist, 'index.txt'), `Hello, ${world}`);
|
||||
fs.writeFileSync(path.join(dist, 'index.txt'), `Hello`);
|
||||
|
||||
@@ -4,4 +4,4 @@ const fs = require('node:fs');
|
||||
const dist = path.join(__dirname, 'dist');
|
||||
fs.rmSync(dist, { recursive: true, force: true });
|
||||
fs.mkdirSync(dist);
|
||||
fs.writeFileSync(path.join(dist, 'index.js'), 'module.exports = "world"');
|
||||
fs.writeFileSync(path.join(dist, 'index.txt'), `Hello`);
|
||||
@@ -1,11 +1,7 @@
|
||||
{
|
||||
"name": "app-2",
|
||||
"version": "0.0.1",
|
||||
"main": "dist/index.js",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "node script.js"
|
||||
"build": "node index.js"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
const path = require('node:path');
|
||||
const fs = require('node:fs');
|
||||
const world = require('app-2');
|
||||
|
||||
const dist = path.join(__dirname, 'dist');
|
||||
fs.rmSync(dist, { recursive: true, force: true });
|
||||
fs.mkdirSync(dist);
|
||||
fs.writeFileSync(path.join(dist, 'index.txt'), `Hello, ${world}`);
|
||||
fs.writeFileSync(path.join(dist, 'index.txt'), `Hello`);
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
const path = require('node:path');
|
||||
const fs = require('node:fs');
|
||||
|
||||
const dist = path.join(__dirname, 'dist');
|
||||
fs.rmSync(dist, { recursive: true, force: true });
|
||||
fs.mkdirSync(dist);
|
||||
fs.writeFileSync(path.join(dist, 'index.txt'), `Hello`);
|
||||
@@ -1,11 +1,7 @@
|
||||
{
|
||||
"name": "app-2",
|
||||
"version": "0.0.1",
|
||||
"main": "dist/index.js",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "node script.js"
|
||||
"build": "node index.js"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
const path = require('node:path');
|
||||
const fs = require('node:fs');
|
||||
|
||||
const dist = path.join(__dirname, 'dist');
|
||||
fs.rmSync(dist, { recursive: true, force: true });
|
||||
fs.mkdirSync(dist);
|
||||
fs.writeFileSync(path.join(dist, 'index.js'), 'module.exports = "world"');
|
||||
@@ -8,7 +8,7 @@ import { defaultProject, useProject } from '../../../mocks/project';
|
||||
import { useTeams } from '../../../mocks/team';
|
||||
import { useUser } from '../../../mocks/user';
|
||||
import { setupFixture } from '../../../helpers/setup-fixture';
|
||||
import JSON5 from 'json5';
|
||||
// import JSON5 from 'json5';
|
||||
// TODO (@Ethan-Arrowood) - After shipping support for turbo and nx, revisit rush support
|
||||
// import execa from 'execa';
|
||||
|
||||
@@ -1325,7 +1325,7 @@ describe('build', () => {
|
||||
join(cwd, '.vercel/output/static/index.txt'),
|
||||
'utf8'
|
||||
);
|
||||
expect(result).toMatch(/Hello, world/);
|
||||
expect(result).toMatch(/Hello/);
|
||||
} finally {
|
||||
process.chdir(originalCwd);
|
||||
delete process.env.__VERCEL_BUILD_RUNNING;
|
||||
@@ -1565,86 +1565,87 @@ describe('build', () => {
|
||||
);
|
||||
});
|
||||
|
||||
describe.each([
|
||||
[
|
||||
'nx',
|
||||
'nx.json',
|
||||
'targetDefaults.build',
|
||||
[
|
||||
'Missing required `build` target in either nx.json, project.json, or package.json Nx configuration. Skipping automatic setting assignment.',
|
||||
],
|
||||
],
|
||||
[
|
||||
'nx-project-config',
|
||||
'packages/app-1/project.json',
|
||||
'targets.build',
|
||||
[
|
||||
'Missing required `build` target in either nx.json, project.json, or package.json Nx configuration. Skipping automatic setting assignment.',
|
||||
],
|
||||
],
|
||||
[
|
||||
'nx-package-config',
|
||||
'packages/app-1/package.json',
|
||||
'nx.targets.build',
|
||||
[
|
||||
'Missing required `build` target in either nx.json, project.json, or package.json Nx configuration. Skipping automatic setting assignment.',
|
||||
],
|
||||
],
|
||||
[
|
||||
'turbo',
|
||||
'turbo.json',
|
||||
'pipeline.build',
|
||||
[
|
||||
'Missing required `build` pipeline in turbo.json or package.json Turbo configuration. Skipping automatic setting assignment.',
|
||||
],
|
||||
],
|
||||
[
|
||||
'turbo-package-config',
|
||||
'package.json',
|
||||
'turbo.pipeline.build',
|
||||
[
|
||||
'Missing required `build` pipeline in turbo.json or package.json Turbo configuration. Skipping automatic setting assignment.',
|
||||
],
|
||||
],
|
||||
])('fixture: %s', (fixture, configFile, propertyAccessor, expectedLogs) => {
|
||||
function deleteSubProperty(
|
||||
obj: { [k: string]: any },
|
||||
accessorString: string
|
||||
) {
|
||||
const accessors = accessorString.split('.');
|
||||
const lastAccessor = accessors.pop();
|
||||
for (const accessor of accessors) {
|
||||
obj = obj[accessor];
|
||||
}
|
||||
// lastAccessor cannot be undefined as accessors will always be an array of atleast one string
|
||||
delete obj[lastAccessor as string];
|
||||
}
|
||||
// describe.each([
|
||||
// [
|
||||
// 'nx',
|
||||
// 'nx.json',
|
||||
// 'targetDefaults.build',
|
||||
// [
|
||||
// 'Missing required `build` target in either nx.json, project.json, or package.json Nx configuration. Skipping automatic setting assignment.',
|
||||
// ],
|
||||
// ],
|
||||
// [
|
||||
// 'nx-project-config',
|
||||
// 'packages/app-1/project.json',
|
||||
// 'targets.build',
|
||||
// [
|
||||
// 'Missing required `build` target in either nx.json, project.json, or package.json Nx configuration. Skipping automatic setting assignment.',
|
||||
// ],
|
||||
// ],
|
||||
// [
|
||||
// 'nx-package-config',
|
||||
// 'packages/app-1/package.json',
|
||||
// 'nx.targets.build',
|
||||
// [
|
||||
// 'Missing required `build` target in either nx.json, project.json, or package.json Nx configuration. Skipping automatic setting assignment.',
|
||||
// ],
|
||||
// ],
|
||||
// [
|
||||
// 'turbo',
|
||||
// 'turbo.json',
|
||||
// 'pipeline.build',
|
||||
// [
|
||||
// 'Missing required `build` pipeline in turbo.json or package.json Turbo configuration. Skipping automatic setting assignment.',
|
||||
// ],
|
||||
// ],
|
||||
// [
|
||||
// 'turbo-package-config',
|
||||
// 'package.json',
|
||||
// 'turbo.pipeline.build',
|
||||
// [
|
||||
// 'Missing required `build` pipeline in turbo.json or package.json Turbo configuration. Skipping automatic setting assignment.',
|
||||
// ],
|
||||
// ],
|
||||
// ])('fixture: %s', (fixture, configFile, propertyAccessor, expectedLogs) => {
|
||||
// function deleteSubProperty(
|
||||
// obj: { [k: string]: any },
|
||||
// accessorString: string
|
||||
// ) {
|
||||
// const accessors = accessorString.split('.');
|
||||
// const lastAccessor = accessors.pop();
|
||||
// for (const accessor of accessors) {
|
||||
// obj = obj[accessor];
|
||||
// }
|
||||
// // lastAccessor cannot be undefined as accessors will always be an array of atleast one string
|
||||
// delete obj[lastAccessor as string];
|
||||
// }
|
||||
|
||||
test(
|
||||
'should warn and not configure settings when project does not satisfy requirements',
|
||||
async () => {
|
||||
try {
|
||||
const cwd = setupMonorepoDetectionFixture(fixture);
|
||||
// test.(
|
||||
// 'should warn and not configure settings when project does not satisfy requirements',
|
||||
// async () => {
|
||||
// try {
|
||||
// const cwd = setupMonorepoDetectionFixture(fixture);
|
||||
|
||||
const configPath = join(cwd, configFile);
|
||||
const config = JSON5.parse(await fs.readFile(configPath, 'utf-8'));
|
||||
// const configPath = join(cwd, configFile);
|
||||
// console.log('chloe tedder', configPath)
|
||||
// const config = JSON5.parse(await fs.readFile(configPath, 'utf-8'));
|
||||
|
||||
deleteSubProperty(config, propertyAccessor);
|
||||
await fs.writeFile(configPath, JSON.stringify(config));
|
||||
// deleteSubProperty(config, propertyAccessor);
|
||||
// await fs.writeFile(configPath, JSON.stringify(config));
|
||||
|
||||
const exitCode = await build(client);
|
||||
// const exitCode = await build(client);
|
||||
|
||||
expect(exitCode).toBe(1);
|
||||
for (const log of expectedLogs) {
|
||||
await expect(client.stderr).toOutput(log);
|
||||
}
|
||||
} finally {
|
||||
process.chdir(originalCwd);
|
||||
delete process.env.__VERCEL_BUILD_RUNNING;
|
||||
}
|
||||
},
|
||||
ms('3 minutes')
|
||||
);
|
||||
});
|
||||
// expect(exitCode).toBe(1);
|
||||
// for (const log of expectedLogs) {
|
||||
// await expect(client.stderr).toOutput(log);
|
||||
// }
|
||||
// } finally {
|
||||
// process.chdir(originalCwd);
|
||||
// delete process.env.__VERCEL_BUILD_RUNNING;
|
||||
// }
|
||||
// },
|
||||
// ms('3 minutes')
|
||||
// );
|
||||
// });
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vercel/client",
|
||||
"version": "12.3.10",
|
||||
"version": "12.3.8",
|
||||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
"homepage": "https://vercel.com",
|
||||
@@ -43,8 +43,8 @@
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@vercel/build-utils": "6.2.4",
|
||||
"@vercel/routing-utils": "2.1.9",
|
||||
"@vercel/build-utils": "6.2.2",
|
||||
"@vercel/routing-utils": "2.1.8",
|
||||
"@zeit/fetch": "5.2.0",
|
||||
"async-retry": "1.2.3",
|
||||
"async-sema": "3.0.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vercel/frameworks",
|
||||
"version": "1.3.1",
|
||||
"version": "1.3.0",
|
||||
"main": "./dist/frameworks.js",
|
||||
"types": "./dist/frameworks.d.ts",
|
||||
"files": [
|
||||
@@ -21,7 +21,7 @@
|
||||
"@types/js-yaml": "3.12.1",
|
||||
"@types/node": "14.18.33",
|
||||
"@types/node-fetch": "2.5.8",
|
||||
"@vercel/routing-utils": "2.1.9",
|
||||
"@vercel/routing-utils": "2.1.8",
|
||||
"ajv": "6.12.2",
|
||||
"typescript": "4.3.4"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vercel/fs-detectors",
|
||||
"version": "3.7.13",
|
||||
"version": "3.7.11",
|
||||
"description": "Vercel filesystem detectors",
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
@@ -20,8 +20,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@vercel/error-utils": "1.0.8",
|
||||
"@vercel/frameworks": "1.3.1",
|
||||
"@vercel/routing-utils": "2.1.9",
|
||||
"@vercel/frameworks": "1.3.0",
|
||||
"@vercel/routing-utils": "2.1.8",
|
||||
"glob": "8.0.3",
|
||||
"js-yaml": "4.1.0",
|
||||
"json5": "2.2.2",
|
||||
@@ -35,7 +35,7 @@
|
||||
"@types/minimatch": "3.0.5",
|
||||
"@types/node": "14.18.33",
|
||||
"@types/semver": "7.3.10",
|
||||
"@vercel/build-utils": "6.2.4",
|
||||
"@vercel/build-utils": "6.2.2",
|
||||
"typescript": "4.3.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vercel/gatsby-plugin-vercel-builder",
|
||||
"version": "1.1.6",
|
||||
"version": "1.1.4",
|
||||
"main": "dist/index.js",
|
||||
"files": [
|
||||
"dist",
|
||||
@@ -14,9 +14,9 @@
|
||||
"build:src": "tsc -p tsconfig.src.json"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vercel/build-utils": "6.2.4",
|
||||
"@vercel/node": "2.9.5",
|
||||
"@vercel/routing-utils": "2.1.9",
|
||||
"@vercel/build-utils": "6.2.2",
|
||||
"@vercel/node": "2.9.3",
|
||||
"@vercel/routing-utils": "2.1.8",
|
||||
"ajv": "8.12.0",
|
||||
"esbuild": "0.14.47",
|
||||
"etag": "1.8.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vercel/go",
|
||||
"version": "2.3.6",
|
||||
"version": "2.3.4",
|
||||
"license": "MIT",
|
||||
"main": "./dist/index",
|
||||
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/go",
|
||||
@@ -36,7 +36,7 @@
|
||||
"@types/node": "14.18.33",
|
||||
"@types/node-fetch": "^2.3.0",
|
||||
"@types/tar": "^4.0.0",
|
||||
"@vercel/build-utils": "6.2.4",
|
||||
"@vercel/build-utils": "6.2.2",
|
||||
"@vercel/ncc": "0.24.0",
|
||||
"async-retry": "1.3.1",
|
||||
"execa": "^1.0.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vercel/hydrogen",
|
||||
"version": "0.0.52",
|
||||
"version": "0.0.50",
|
||||
"license": "MIT",
|
||||
"main": "./dist/index.js",
|
||||
"homepage": "https://vercel.com/docs",
|
||||
@@ -21,7 +21,7 @@
|
||||
"devDependencies": {
|
||||
"@types/jest": "27.5.1",
|
||||
"@types/node": "14.18.33",
|
||||
"@vercel/build-utils": "6.2.4",
|
||||
"@vercel/build-utils": "6.2.2",
|
||||
"@vercel/static-config": "2.0.12",
|
||||
"execa": "3.2.0",
|
||||
"fs-extra": "11.1.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vercel/next",
|
||||
"version": "3.4.5",
|
||||
"version": "3.4.3",
|
||||
"license": "MIT",
|
||||
"main": "./dist/index",
|
||||
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
|
||||
@@ -45,9 +45,9 @@
|
||||
"@types/semver": "6.0.0",
|
||||
"@types/text-table": "0.2.1",
|
||||
"@types/webpack-sources": "3.2.0",
|
||||
"@vercel/build-utils": "6.2.4",
|
||||
"@vercel/build-utils": "6.2.2",
|
||||
"@vercel/nft": "0.22.5",
|
||||
"@vercel/routing-utils": "2.1.9",
|
||||
"@vercel/routing-utils": "2.1.8",
|
||||
"async-sema": "3.0.1",
|
||||
"buffer-crc32": "0.2.13",
|
||||
"bytes": "3.1.2",
|
||||
|
||||
@@ -2644,10 +2644,7 @@ async function getServerlessPages(params: {
|
||||
const [pages, appPaths, middlewareManifest] = await Promise.all([
|
||||
glob('**/!(_middleware).js', params.pagesDir),
|
||||
params.appPathRoutesManifest
|
||||
? Promise.all([
|
||||
glob('**/page.js', path.join(params.pagesDir, '../app')),
|
||||
glob('**/route.js', path.join(params.pagesDir, '../app')),
|
||||
]).then(items => Object.assign(...items))
|
||||
? glob('**/page.js', path.join(params.pagesDir, '../app'))
|
||||
: Promise.resolve({}),
|
||||
getMiddlewareManifest(params.entryPath, params.outputDirectory),
|
||||
]);
|
||||
|
||||
@@ -269,7 +269,12 @@ export async function getRoutesManifest(
|
||||
|
||||
if (shouldHaveManifest && !hasRoutesManifest) {
|
||||
throw new NowBuildError({
|
||||
message: `The file "${pathRoutesManifest}" couldn't be found. This is often caused by a misconfiguration in your project.`,
|
||||
message:
|
||||
`The file "${pathRoutesManifest}" couldn't be found. This is normally caused by a misconfiguration in your project.\n` +
|
||||
'Please check the following, and reach out to support if you cannot resolve the problem:\n' +
|
||||
' 1. If present, be sure your `build` script in "package.json" calls `next build`.' +
|
||||
' 2. Navigate to your project\'s settings in the Vercel dashboard, and verify that the "Build Command" is not overridden, or that it calls `next build`.' +
|
||||
' 3. Navigate to your project\'s settings in the Vercel dashboard, and verify that the "Output Directory" is not overridden. Note that `next export` does **not** require you change this setting, even if you customize the `next export` output directory.',
|
||||
link: 'https://err.sh/vercel/vercel/now-next-routes-manifest',
|
||||
code: 'NEXT_NO_ROUTES_MANIFEST',
|
||||
});
|
||||
@@ -2026,8 +2031,7 @@ export const onPrerenderRoute =
|
||||
const rscVaryHeader =
|
||||
routesManifest?.rsc?.varyHeader ||
|
||||
'__rsc__, __next_router_state_tree__, __next_router_prefetch__';
|
||||
const rscContentTypeHeader =
|
||||
routesManifest?.rsc?.contentTypeHeader || 'application/octet-stream';
|
||||
const rscContentTypeHeader = routesManifest?.rsc?.contentTypeHeader || 'application/octet-stream';
|
||||
|
||||
prerenders[outputPathPage] = new Prerender({
|
||||
expiration: initialRevalidate,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vercel/node",
|
||||
"version": "2.9.5",
|
||||
"version": "2.9.3",
|
||||
"license": "MIT",
|
||||
"main": "./dist/index",
|
||||
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/node-js",
|
||||
@@ -31,7 +31,7 @@
|
||||
"dependencies": {
|
||||
"@edge-runtime/vm": "2.0.0",
|
||||
"@types/node": "14.18.33",
|
||||
"@vercel/build-utils": "6.2.4",
|
||||
"@vercel/build-utils": "6.2.2",
|
||||
"@vercel/node-bridge": "3.1.11",
|
||||
"@vercel/static-config": "2.0.12",
|
||||
"edge-runtime": "2.0.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vercel/python",
|
||||
"version": "3.1.48",
|
||||
"version": "3.1.46",
|
||||
"main": "./dist/index.js",
|
||||
"license": "MIT",
|
||||
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/python",
|
||||
@@ -23,7 +23,7 @@
|
||||
"@types/execa": "^0.9.0",
|
||||
"@types/jest": "27.4.1",
|
||||
"@types/node": "14.18.33",
|
||||
"@vercel/build-utils": "6.2.4",
|
||||
"@vercel/build-utils": "6.2.2",
|
||||
"@vercel/ncc": "0.24.0",
|
||||
"execa": "^1.0.0",
|
||||
"typescript": "4.3.4"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vercel/redwood",
|
||||
"version": "1.1.4",
|
||||
"version": "1.1.2",
|
||||
"main": "./dist/index.js",
|
||||
"license": "MIT",
|
||||
"homepage": "https://vercel.com/docs",
|
||||
@@ -20,14 +20,14 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@vercel/nft": "0.22.5",
|
||||
"@vercel/routing-utils": "2.1.9",
|
||||
"@vercel/routing-utils": "2.1.8",
|
||||
"semver": "6.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/aws-lambda": "8.10.19",
|
||||
"@types/node": "14.18.33",
|
||||
"@types/semver": "6.0.0",
|
||||
"@vercel/build-utils": "6.2.4",
|
||||
"@vercel/build-utils": "6.2.2",
|
||||
"execa": "3.2.0",
|
||||
"fs-extra": "11.1.0",
|
||||
"typescript": "4.3.4"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vercel/remix-entry-server",
|
||||
"version": "0.1.0",
|
||||
"version": "0.0.1",
|
||||
"description": "Isomorphic `entry.server` implementation for Vercel's Serverless and Edge runtimes",
|
||||
"homepage": "https://vercel.com/docs",
|
||||
"repository": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vercel/remix",
|
||||
"version": "1.3.1",
|
||||
"version": "1.2.13",
|
||||
"license": "MIT",
|
||||
"main": "./dist/index.js",
|
||||
"homepage": "https://vercel.com/docs",
|
||||
@@ -29,7 +29,7 @@
|
||||
"devDependencies": {
|
||||
"@types/jest": "27.5.1",
|
||||
"@types/node": "14.18.33",
|
||||
"@vercel/build-utils": "6.2.4",
|
||||
"@vercel/build-utils": "6.2.2",
|
||||
"typescript": "4.9.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vercel/routing-utils",
|
||||
"version": "2.1.9",
|
||||
"version": "2.1.8",
|
||||
"description": "Vercel routing utilities",
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
|
||||
@@ -43,10 +43,6 @@ export type RouteWithSrc = {
|
||||
* Overrides a `middleware` definition.
|
||||
*/
|
||||
middlewarePath?: string;
|
||||
/**
|
||||
* The original middleware matchers.
|
||||
*/
|
||||
middlewareRawSrc?: string[];
|
||||
/**
|
||||
* A middleware index in the `middleware` key under the build result
|
||||
*/
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@vercel/ruby",
|
||||
"author": "Nathan Cahill <nathan@nathancahill.com>",
|
||||
"version": "1.3.64",
|
||||
"version": "1.3.62",
|
||||
"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": "6.2.4",
|
||||
"@vercel/build-utils": "6.2.2",
|
||||
"@vercel/ncc": "0.24.0",
|
||||
"execa": "2.0.4",
|
||||
"fs-extra": "^7.0.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vercel/static-build",
|
||||
"version": "1.3.8",
|
||||
"version": "1.3.6",
|
||||
"license": "MIT",
|
||||
"main": "./dist/index",
|
||||
"homepage": "https://vercel.com/docs/build-step",
|
||||
@@ -30,7 +30,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@vercel/gatsby-plugin-vercel-analytics": "1.0.7",
|
||||
"@vercel/gatsby-plugin-vercel-builder": "1.1.6"
|
||||
"@vercel/gatsby-plugin-vercel-builder": "1.1.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/aws-lambda": "8.10.64",
|
||||
@@ -42,11 +42,11 @@
|
||||
"@types/node-fetch": "2.5.4",
|
||||
"@types/promise-timeout": "1.3.0",
|
||||
"@types/semver": "7.3.13",
|
||||
"@vercel/build-utils": "6.2.4",
|
||||
"@vercel/frameworks": "1.3.1",
|
||||
"@vercel/fs-detectors": "3.7.13",
|
||||
"@vercel/build-utils": "6.2.2",
|
||||
"@vercel/frameworks": "1.3.0",
|
||||
"@vercel/fs-detectors": "3.7.11",
|
||||
"@vercel/ncc": "0.24.0",
|
||||
"@vercel/routing-utils": "2.1.9",
|
||||
"@vercel/routing-utils": "2.1.8",
|
||||
"@vercel/static-config": "2.0.12",
|
||||
"execa": "3.2.0",
|
||||
"fs-extra": "10.0.0",
|
||||
|
||||
85
pnpm-lock.yaml
generated
85
pnpm-lock.yaml
generated
@@ -90,7 +90,7 @@ importers:
|
||||
'@vercel/frameworks': 1.3.0
|
||||
devDependencies:
|
||||
'@types/jest': 27.4.1
|
||||
'@vercel/frameworks': 1.3.0
|
||||
'@vercel/frameworks': link:../packages/frameworks
|
||||
|
||||
packages/build-utils:
|
||||
specifiers:
|
||||
@@ -204,23 +204,23 @@ importers:
|
||||
'@types/which': 1.3.2
|
||||
'@types/write-json-file': 2.2.1
|
||||
'@types/yauzl-promise': 2.1.0
|
||||
'@vercel/build-utils': 6.2.4
|
||||
'@vercel/client': 12.3.10
|
||||
'@vercel/build-utils': 6.2.2
|
||||
'@vercel/client': 12.3.8
|
||||
'@vercel/error-utils': 1.0.8
|
||||
'@vercel/frameworks': 1.3.1
|
||||
'@vercel/fs-detectors': 3.7.13
|
||||
'@vercel/frameworks': 1.3.0
|
||||
'@vercel/fs-detectors': 3.7.11
|
||||
'@vercel/fun': 1.0.4
|
||||
'@vercel/go': 2.3.6
|
||||
'@vercel/hydrogen': 0.0.52
|
||||
'@vercel/go': 2.3.4
|
||||
'@vercel/hydrogen': 0.0.50
|
||||
'@vercel/ncc': 0.24.0
|
||||
'@vercel/next': 3.4.5
|
||||
'@vercel/node': 2.9.5
|
||||
'@vercel/python': 3.1.48
|
||||
'@vercel/redwood': 1.1.4
|
||||
'@vercel/remix': 1.3.1
|
||||
'@vercel/routing-utils': 2.1.9
|
||||
'@vercel/ruby': 1.3.64
|
||||
'@vercel/static-build': 1.3.8
|
||||
'@vercel/next': 3.4.3
|
||||
'@vercel/node': 2.9.3
|
||||
'@vercel/python': 3.1.46
|
||||
'@vercel/redwood': 1.1.2
|
||||
'@vercel/remix': 1.2.13
|
||||
'@vercel/routing-utils': 2.1.8
|
||||
'@vercel/ruby': 1.3.62
|
||||
'@vercel/static-build': 1.3.6
|
||||
'@zeit/source-map-support': 0.6.2
|
||||
ajv: 6.12.2
|
||||
alpha-sort: 2.0.1
|
||||
@@ -446,8 +446,8 @@ importers:
|
||||
'@types/node-fetch': 2.5.4
|
||||
'@types/recursive-readdir': 2.2.0
|
||||
'@types/tar-fs': 1.16.1
|
||||
'@vercel/build-utils': 6.2.4
|
||||
'@vercel/routing-utils': 2.1.9
|
||||
'@vercel/build-utils': 6.2.2
|
||||
'@vercel/routing-utils': 2.1.8
|
||||
'@zeit/fetch': 5.2.0
|
||||
async-retry: 1.2.3
|
||||
async-sema: 3.0.0
|
||||
@@ -527,7 +527,7 @@ importers:
|
||||
'@types/js-yaml': 3.12.1
|
||||
'@types/node': 14.18.33
|
||||
'@types/node-fetch': 2.5.8
|
||||
'@vercel/routing-utils': 2.1.9
|
||||
'@vercel/routing-utils': 2.1.8
|
||||
ajv: 6.12.2
|
||||
js-yaml: 3.13.1
|
||||
typescript: 4.3.4
|
||||
@@ -551,10 +551,10 @@ importers:
|
||||
'@types/minimatch': 3.0.5
|
||||
'@types/node': 14.18.33
|
||||
'@types/semver': 7.3.10
|
||||
'@vercel/build-utils': 6.2.4
|
||||
'@vercel/build-utils': 6.2.2
|
||||
'@vercel/error-utils': 1.0.8
|
||||
'@vercel/frameworks': 1.3.1
|
||||
'@vercel/routing-utils': 2.1.9
|
||||
'@vercel/frameworks': 1.3.0
|
||||
'@vercel/routing-utils': 2.1.8
|
||||
glob: 8.0.3
|
||||
js-yaml: 4.1.0
|
||||
json5: 2.2.2
|
||||
@@ -599,9 +599,9 @@ importers:
|
||||
'@types/fs-extra': 11.0.1
|
||||
'@types/node': 14.18.33
|
||||
'@types/react': 18.0.26
|
||||
'@vercel/build-utils': 6.2.4
|
||||
'@vercel/node': 2.9.5
|
||||
'@vercel/routing-utils': 2.1.9
|
||||
'@vercel/build-utils': 6.2.2
|
||||
'@vercel/node': 2.9.3
|
||||
'@vercel/routing-utils': 2.1.8
|
||||
ajv: 8.12.0
|
||||
esbuild: 0.14.47
|
||||
etag: 1.8.1
|
||||
@@ -634,7 +634,7 @@ importers:
|
||||
'@types/node': 14.18.33
|
||||
'@types/node-fetch': ^2.3.0
|
||||
'@types/tar': ^4.0.0
|
||||
'@vercel/build-utils': 6.2.4
|
||||
'@vercel/build-utils': 6.2.2
|
||||
'@vercel/ncc': 0.24.0
|
||||
async-retry: 1.3.1
|
||||
execa: ^1.0.0
|
||||
@@ -666,7 +666,7 @@ importers:
|
||||
specifiers:
|
||||
'@types/jest': 27.5.1
|
||||
'@types/node': 14.18.33
|
||||
'@vercel/build-utils': 6.2.4
|
||||
'@vercel/build-utils': 6.2.2
|
||||
'@vercel/static-config': 2.0.12
|
||||
execa: 3.2.0
|
||||
fs-extra: 11.1.0
|
||||
@@ -697,9 +697,9 @@ importers:
|
||||
'@types/semver': 6.0.0
|
||||
'@types/text-table': 0.2.1
|
||||
'@types/webpack-sources': 3.2.0
|
||||
'@vercel/build-utils': 6.2.4
|
||||
'@vercel/build-utils': 6.2.2
|
||||
'@vercel/nft': 0.22.5
|
||||
'@vercel/routing-utils': 2.1.9
|
||||
'@vercel/routing-utils': 2.1.8
|
||||
async-sema: 3.0.1
|
||||
buffer-crc32: 0.2.13
|
||||
bytes: 3.1.2
|
||||
@@ -776,7 +776,7 @@ importers:
|
||||
'@types/node': 14.18.33
|
||||
'@types/node-fetch': ^2.6.1
|
||||
'@types/test-listen': 1.1.0
|
||||
'@vercel/build-utils': 6.2.4
|
||||
'@vercel/build-utils': 6.2.2
|
||||
'@vercel/ncc': 0.24.0
|
||||
'@vercel/nft': 0.22.5
|
||||
'@vercel/node-bridge': 3.1.11
|
||||
@@ -860,7 +860,7 @@ importers:
|
||||
'@types/execa': ^0.9.0
|
||||
'@types/jest': 27.4.1
|
||||
'@types/node': 14.18.33
|
||||
'@vercel/build-utils': 6.2.4
|
||||
'@vercel/build-utils': 6.2.2
|
||||
'@vercel/ncc': 0.24.0
|
||||
execa: ^1.0.0
|
||||
typescript: 4.3.4
|
||||
@@ -878,9 +878,9 @@ importers:
|
||||
'@types/aws-lambda': 8.10.19
|
||||
'@types/node': 14.18.33
|
||||
'@types/semver': 6.0.0
|
||||
'@vercel/build-utils': 6.2.4
|
||||
'@vercel/build-utils': 6.2.2
|
||||
'@vercel/nft': 0.22.5
|
||||
'@vercel/routing-utils': 2.1.9
|
||||
'@vercel/routing-utils': 2.1.8
|
||||
execa: 3.2.0
|
||||
fs-extra: 11.1.0
|
||||
semver: 6.1.1
|
||||
@@ -903,7 +903,7 @@ importers:
|
||||
'@remix-run/dev': 1.12.0
|
||||
'@types/jest': 27.5.1
|
||||
'@types/node': 14.18.33
|
||||
'@vercel/build-utils': 6.2.4
|
||||
'@vercel/build-utils': 6.2.2
|
||||
'@vercel/nft': 0.22.5
|
||||
'@vercel/static-config': 2.0.12
|
||||
path-to-regexp: 6.2.1
|
||||
@@ -960,7 +960,7 @@ importers:
|
||||
specifiers:
|
||||
'@types/fs-extra': 8.0.0
|
||||
'@types/semver': 6.0.0
|
||||
'@vercel/build-utils': 6.2.4
|
||||
'@vercel/build-utils': 6.2.2
|
||||
'@vercel/ncc': 0.24.0
|
||||
execa: 2.0.4
|
||||
fs-extra: ^7.0.1
|
||||
@@ -987,13 +987,13 @@ importers:
|
||||
'@types/node-fetch': 2.5.4
|
||||
'@types/promise-timeout': 1.3.0
|
||||
'@types/semver': 7.3.13
|
||||
'@vercel/build-utils': 6.2.4
|
||||
'@vercel/frameworks': 1.3.1
|
||||
'@vercel/fs-detectors': 3.7.13
|
||||
'@vercel/build-utils': 6.2.2
|
||||
'@vercel/frameworks': 1.3.0
|
||||
'@vercel/fs-detectors': 3.7.11
|
||||
'@vercel/gatsby-plugin-vercel-analytics': 1.0.7
|
||||
'@vercel/gatsby-plugin-vercel-builder': 1.1.6
|
||||
'@vercel/gatsby-plugin-vercel-builder': 1.1.4
|
||||
'@vercel/ncc': 0.24.0
|
||||
'@vercel/routing-utils': 2.1.9
|
||||
'@vercel/routing-utils': 2.1.8
|
||||
'@vercel/static-config': 2.0.12
|
||||
execa: 3.2.0
|
||||
fs-extra: 10.0.0
|
||||
@@ -7148,13 +7148,6 @@ packages:
|
||||
resolution: {integrity: sha512-17kVyLq3ePTKOkveHxXuIJZtGYs+cSoev7BlP+Lf4916qfDhk/HBjvlYDe8egrea7LNPHKwSZJK/bzZC+Q6AwQ==}
|
||||
dev: false
|
||||
|
||||
/@vercel/frameworks/1.3.0:
|
||||
resolution: {integrity: sha512-guXALpQLhL0bCvIjUhHbYFyS8XusZQ6RtjqCTq0eJM6p8QLun4DI1TToqbIah/o7DY3s+RAyC2OUyOAY91qH4w==}
|
||||
dependencies:
|
||||
'@iarna/toml': 2.2.3
|
||||
js-yaml: 3.13.1
|
||||
dev: true
|
||||
|
||||
/@vercel/fun/1.0.4:
|
||||
resolution: {integrity: sha512-zLY2d1U9JJm3CorfEcuZ7307fo77/Z/mU12LDJpSGtdpjzxgpxMlU5NPq8whz8hIZhIMkBJv0DqZ5bgenktQnw==}
|
||||
engines: {node: '>= 10'}
|
||||
|
||||
4
utils/update-next.js
vendored
4
utils/update-next.js
vendored
@@ -58,8 +58,8 @@ module.exports = async ({ github, context }) => {
|
||||
pull_number: pr.data.number,
|
||||
reviewers: ['ijjk', 'styfle'],
|
||||
});
|
||||
|
||||
await github.rest.issues.addLabels({
|
||||
|
||||
github.rest.issues.addLabels({
|
||||
owner,
|
||||
repo,
|
||||
issue_number: pr.data.number,
|
||||
|
||||
2
utils/update-turbo.js
vendored
2
utils/update-turbo.js
vendored
@@ -54,7 +54,7 @@ module.exports = async ({ github, context }) => {
|
||||
body: `This auto-generated PR updates Turbo to version ${newVersion}`,
|
||||
});
|
||||
|
||||
await github.rest.issues.addLabels({
|
||||
github.rest.issues.addLabels({
|
||||
owner,
|
||||
repo,
|
||||
issue_number: pr.data.number,
|
||||
|
||||
Reference in New Issue
Block a user