mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-12 12:57:47 +00:00
Compare commits
77 Commits
@vercel/py
...
@vercel/no
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2de365f9cf | ||
|
|
fb6fe46158 | ||
|
|
bfebfc28e1 | ||
|
|
9e183b2e8d | ||
|
|
0490a7733b | ||
|
|
65a6e713c8 | ||
|
|
fda76691d1 | ||
|
|
007e48c1cd | ||
|
|
954536e681 | ||
|
|
c52220ab72 | ||
|
|
545f82603f | ||
|
|
032df14c79 | ||
|
|
604f3b8d83 | ||
|
|
c0380cac5a | ||
|
|
7082da8451 | ||
|
|
20a7b2f2d4 | ||
|
|
a5c3cbcd45 | ||
|
|
6dded87426 | ||
|
|
a63b9d960b | ||
|
|
3cefbb19fe | ||
|
|
f43894ef4e | ||
|
|
2081f10b22 | ||
|
|
b52df7a533 | ||
|
|
ec89436417 | ||
|
|
993a404311 | ||
|
|
3e7bcb2073 | ||
|
|
ed119d6a33 | ||
|
|
2aeddde7d5 | ||
|
|
a8eab6beb7 | ||
|
|
031c182896 | ||
|
|
38eb0bca04 | ||
|
|
732ac2072c | ||
|
|
64d9cef963 | ||
|
|
6b9e274bc7 | ||
|
|
a2da071755 | ||
|
|
14ece4111a | ||
|
|
e302631ded | ||
|
|
43a57a3a60 | ||
|
|
136077ab6f | ||
|
|
8634f9cd7e | ||
|
|
dc8523998c | ||
|
|
925c8ba18c | ||
|
|
19804b78a9 | ||
|
|
f774d5f7a2 | ||
|
|
9bf8a68685 | ||
|
|
294935a9c5 | ||
|
|
778c287964 | ||
|
|
7a9a519517 | ||
|
|
52b2892b80 | ||
|
|
ee4ba6ccbe | ||
|
|
07a09b7880 | ||
|
|
b62c40586a | ||
|
|
d07eb34e38 | ||
|
|
46d0503361 | ||
|
|
349df907a8 | ||
|
|
e5f5ba0ae8 | ||
|
|
b2ccbf4881 | ||
|
|
434c794713 | ||
|
|
d8f5052d9a | ||
|
|
10d14488db | ||
|
|
c29f2b2fbd | ||
|
|
46348201b4 | ||
|
|
509926545e | ||
|
|
70c8b32cf0 | ||
|
|
54514a44af | ||
|
|
0db8fadf74 | ||
|
|
6f01e5ab75 | ||
|
|
78d45f9e7e | ||
|
|
22e1a6a9ce | ||
|
|
8391734b5e | ||
|
|
6a7fa1526c | ||
|
|
64b15d2409 | ||
|
|
40f73e7978 | ||
|
|
4c9ca27195 | ||
|
|
a847ef43fd | ||
|
|
3b466232a9 | ||
|
|
efdeea9db2 |
@@ -26,12 +26,6 @@ packages/hydrogen/edge-entry.js
|
|||||||
packages/next/test/integration/middleware
|
packages/next/test/integration/middleware
|
||||||
packages/next/test/integration/middleware-eval
|
packages/next/test/integration/middleware-eval
|
||||||
|
|
||||||
# node-bridge
|
|
||||||
packages/node-bridge/bridge.js
|
|
||||||
packages/node-bridge/launcher.js
|
|
||||||
packages/node-bridge/helpers.js
|
|
||||||
packages/node-bridge/source-map-support.js
|
|
||||||
|
|
||||||
# middleware
|
# middleware
|
||||||
packages/middleware/src/entries.js
|
packages/middleware/src/entries.js
|
||||||
|
|
||||||
|
|||||||
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
@@ -4,7 +4,6 @@
|
|||||||
* @TooTallNate @EndangeredMassa @styfle @cb1kenobi @Ethan-Arrowood
|
* @TooTallNate @EndangeredMassa @styfle @cb1kenobi @Ethan-Arrowood
|
||||||
/.github/workflows @TooTallNate @EndangeredMassa @styfle @cb1kenobi @Ethan-Arrowood @ijjk
|
/.github/workflows @TooTallNate @EndangeredMassa @styfle @cb1kenobi @Ethan-Arrowood @ijjk
|
||||||
/packages/fs-detectors @TooTallNate @EndangeredMassa @styfle @cb1kenobi @Ethan-Arrowood @agadzik @chloetedder
|
/packages/fs-detectors @TooTallNate @EndangeredMassa @styfle @cb1kenobi @Ethan-Arrowood @agadzik @chloetedder
|
||||||
/packages/node-bridge @TooTallNate @EndangeredMassa @styfle @cb1kenobi @Ethan-Arrowood @ijjk
|
|
||||||
/packages/next @TooTallNate @EndangeredMassa @styfle @cb1kenobi @Ethan-Arrowood @ijjk
|
/packages/next @TooTallNate @EndangeredMassa @styfle @cb1kenobi @Ethan-Arrowood @ijjk
|
||||||
/packages/routing-utils @TooTallNate @EndangeredMassa @styfle @cb1kenobi @Ethan-Arrowood @ijjk
|
/packages/routing-utils @TooTallNate @EndangeredMassa @styfle @cb1kenobi @Ethan-Arrowood @ijjk
|
||||||
/packages/edge @vercel/edge-compute
|
/packages/edge @vercel/edge-compute
|
||||||
@@ -14,3 +13,4 @@
|
|||||||
/examples/hugo @styfle
|
/examples/hugo @styfle
|
||||||
/examples/jekyll @styfle
|
/examples/jekyll @styfle
|
||||||
/examples/zola @styfle
|
/examples/zola @styfle
|
||||||
|
/packages/node @TooTallNate @EndangeredMassa @styfle @cb1kenobi @Ethan-Arrowood @Kikobeats
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ on:
|
|||||||
- cron: '0 0 * * 0'
|
- cron: '0 0 * * 0'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
create-pull-request:
|
update-gatsby-fixtures:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -16,9 +16,12 @@ jobs:
|
|||||||
# 0 means fetch all commits so we can commit and push in the script below
|
# 0 means fetch all commits so we can commit and push in the script below
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 14
|
||||||
- name: Enable corepack
|
- name: Enable corepack
|
||||||
run: corepack enable pnpm
|
run: corepack enable pnpm
|
||||||
- name: Create Pull Request
|
- name: Update Gatsby Fixtures
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|||||||
13
.github/workflows/publish.yml
vendored
13
.github/workflows/publish.yml
vendored
@@ -46,8 +46,8 @@ jobs:
|
|||||||
node-version: 16
|
node-version: 16
|
||||||
- name: install npm@9
|
- name: install npm@9
|
||||||
run: npm i -g npm@9
|
run: npm i -g npm@9
|
||||||
- name: install pnpm@7.24.2
|
- name: install pnpm@8.3.1
|
||||||
run: npm i -g pnpm@7.24.2
|
run: npm i -g pnpm@8.3.1
|
||||||
- name: Install
|
- name: Install
|
||||||
if: ${{ steps.check-release.outputs.IS_RELEASE == 'true' }}
|
if: ${{ steps.check-release.outputs.IS_RELEASE == 'true' }}
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
@@ -61,6 +61,15 @@ jobs:
|
|||||||
if: ${{ steps.check-release.outputs.IS_RELEASE == 'true' }}
|
if: ${{ steps.check-release.outputs.IS_RELEASE == 'true' }}
|
||||||
run: pnpm publish-from-github
|
run: pnpm publish-from-github
|
||||||
env:
|
env:
|
||||||
|
NPM_CONFIG_PROVENANCE: 'true'
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN_ELEVATED }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN_ELEVATED }}
|
||||||
GA_TRACKING_ID: ${{ secrets.GA_TRACKING_ID }}
|
GA_TRACKING_ID: ${{ secrets.GA_TRACKING_ID }}
|
||||||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
||||||
|
- name: Trigger Update
|
||||||
|
if: ${{ steps.check-release.outputs.IS_RELEASE == 'true' }}
|
||||||
|
uses: actions/github-script@v6
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.GH_TOKEN_PULL_REQUESTS }}
|
||||||
|
script: |
|
||||||
|
const script = require('./utils/trigger-update-workflow.js')
|
||||||
|
await script({ github, context })
|
||||||
|
|||||||
44
.github/workflows/test-integration-cli.yml
vendored
44
.github/workflows/test-integration-cli.yml
vendored
@@ -1,44 +0,0 @@
|
|||||||
name: CLI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
tags:
|
|
||||||
- '!*'
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
env:
|
|
||||||
TURBO_REMOTE_ONLY: 'true'
|
|
||||||
TURBO_TEAM: 'vercel'
|
|
||||||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
|
||||||
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
name: CLI
|
|
||||||
timeout-minutes: 40
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os: [ubuntu-latest]
|
|
||||||
node: [16]
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
fetch-depth: 2
|
|
||||||
- uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: ${{ matrix.node }}
|
|
||||||
- name: install pnpm@7.24.2
|
|
||||||
run: npm i -g pnpm@7.24.2
|
|
||||||
- run: pnpm install
|
|
||||||
- run: pnpm run build
|
|
||||||
- run: pnpm test-cli
|
|
||||||
env:
|
|
||||||
VERCEL_TEST_TOKEN: ${{ secrets.VERCEL_TEST_TOKEN }}
|
|
||||||
VERCEL_TEST_REGISTRATION_URL: ${{ secrets.VERCEL_TEST_REGISTRATION_URL }}
|
|
||||||
4
.github/workflows/test-lint.yml
vendored
4
.github/workflows/test-lint.yml
vendored
@@ -28,8 +28,8 @@ jobs:
|
|||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
- name: install pnpm@7.24.2
|
- name: install pnpm@8.3.1
|
||||||
run: npm i -g pnpm@7.24.2
|
run: npm i -g pnpm@8.3.1
|
||||||
- run: pnpm install
|
- run: pnpm install
|
||||||
- run: pnpm run lint
|
- run: pnpm run lint
|
||||||
- run: pnpm run prettier-check
|
- run: pnpm run prettier-check
|
||||||
|
|||||||
16
.github/workflows/test.yml
vendored
16
.github/workflows/test.yml
vendored
@@ -32,8 +32,8 @@ jobs:
|
|||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
- name: install pnpm@7.24.2
|
- name: install pnpm@8.3.1
|
||||||
run: npm i -g pnpm@7.24.2
|
run: npm i -g pnpm@8.3.1
|
||||||
- run: pnpm install
|
- run: pnpm install
|
||||||
- id: set-tests
|
- id: set-tests
|
||||||
run: |
|
run: |
|
||||||
@@ -71,11 +71,15 @@ jobs:
|
|||||||
if: matrix.runner == 'macos-latest'
|
if: matrix.runner == 'macos-latest'
|
||||||
run: curl -L -O https://github.com/gohugoio/hugo/releases/download/v0.56.0/hugo_0.56.0_macOS-64bit.tar.gz && tar -xzf hugo_0.56.0_macOS-64bit.tar.gz && mv ./hugo packages/cli/test/dev/fixtures/08-hugo/
|
run: curl -L -O https://github.com/gohugoio/hugo/releases/download/v0.56.0/hugo_0.56.0_macOS-64bit.tar.gz && tar -xzf hugo_0.56.0_macOS-64bit.tar.gz && mv ./hugo packages/cli/test/dev/fixtures/08-hugo/
|
||||||
|
|
||||||
- name: install pnpm@7.24.2
|
- name: install pnpm@8.3.1
|
||||||
run: npm i -g pnpm@7.24.2
|
run: npm i -g pnpm@8.3.1
|
||||||
|
|
||||||
- run: pnpm install
|
- run: pnpm install
|
||||||
|
|
||||||
|
- name: fetch ssl certificate before build (linux, os x)
|
||||||
|
if: matrix.runner != 'windows-latest'
|
||||||
|
run: echo | openssl s_client -showcerts -servername 'api.vercel.com' -connect 76.76.21.21:443
|
||||||
|
|
||||||
- name: Build ${{matrix.packageName}} and all its dependencies
|
- name: Build ${{matrix.packageName}} and all its dependencies
|
||||||
run: node utils/gen.js && node_modules/.bin/turbo run build --cache-dir=".turbo" --scope=${{matrix.packageName}} --include-dependencies --no-deps
|
run: node utils/gen.js && node_modules/.bin/turbo run build --cache-dir=".turbo" --scope=${{matrix.packageName}} --include-dependencies --no-deps
|
||||||
env:
|
env:
|
||||||
@@ -89,6 +93,10 @@ jobs:
|
|||||||
VERCEL_TEST_REGISTRATION_URL: ${{ secrets.VERCEL_TEST_REGISTRATION_URL }}
|
VERCEL_TEST_REGISTRATION_URL: ${{ secrets.VERCEL_TEST_REGISTRATION_URL }}
|
||||||
FORCE_COLOR: '1'
|
FORCE_COLOR: '1'
|
||||||
|
|
||||||
|
- name: fetch ssl certificate after tests (linux, os x)
|
||||||
|
if: matrix.runner != 'windows-latest'
|
||||||
|
run: echo | openssl s_client -showcerts -servername 'api.vercel.com' -connect 76.76.21.21:443
|
||||||
|
|
||||||
conclusion:
|
conclusion:
|
||||||
needs:
|
needs:
|
||||||
- test
|
- test
|
||||||
|
|||||||
@@ -16,7 +16,6 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "16.18.11",
|
"@types/node": "16.18.11",
|
||||||
"@types/node-fetch": "2.5.4",
|
"@types/node-fetch": "2.5.4",
|
||||||
"@vercel/node": "*",
|
"@vercel/node": "*"
|
||||||
"typescript": "4.3.4"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,13 @@
|
|||||||
# Astro
|
# Astro
|
||||||
|
|
||||||
This directory is a brief example of an [Astro](https://astro.build/) site that can be deployed to Vercel with zero configuration.
|
This directory is a brief example of an [Astro](https://astro.build/) site that can be deployed to Vercel with zero configuration. This demo showcases:
|
||||||
|
|
||||||
|
- `/` - A static page (pre-rendered)
|
||||||
|
- `/ssr` - A page that uses server-side rendering (through Vercel Edge Functions)
|
||||||
|
- `/ssr-with-swr-caching` - Similar to the previous page, but also caches the response on the Vercel Edge Network using `cache-control` headers
|
||||||
|
- `/edge.json` - An Astro API Endpoint that returns JSON data using Vercel Edge Functions
|
||||||
|
|
||||||
|
Learn more about [Astro on Vercel](https://vercel.com/docs/frameworks/astro).
|
||||||
|
|
||||||
## Deploy Your Own
|
## Deploy Your Own
|
||||||
|
|
||||||
@@ -12,21 +19,7 @@ _Live Example: https://astro-template.vercel.app_
|
|||||||
|
|
||||||
## Project Structure
|
## Project Structure
|
||||||
|
|
||||||
Inside of your Astro project, you'll see the following folders and files:
|
Astro looks for `.astro`, `.md`, or `.js` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
|
||||||
|
|
||||||
```
|
|
||||||
/
|
|
||||||
├── public/
|
|
||||||
│ └── favicon.ico
|
|
||||||
├── src/
|
|
||||||
│ ├── components/
|
|
||||||
│ │ └── Layout.astro
|
|
||||||
│ └── pages/
|
|
||||||
│ └── index.astro
|
|
||||||
└── package.json
|
|
||||||
```
|
|
||||||
|
|
||||||
Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
|
|
||||||
|
|
||||||
There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components or layouts.
|
There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components or layouts.
|
||||||
|
|
||||||
@@ -42,5 +35,6 @@ All commands are run from the root of the project, from a terminal:
|
|||||||
| `pnpm run dev` | Starts local dev server at `localhost:3000` |
|
| `pnpm run dev` | Starts local dev server at `localhost:3000` |
|
||||||
| `pnpm run build` | Build your production site to `./dist/` |
|
| `pnpm run build` | Build your production site to `./dist/` |
|
||||||
| `pnpm run preview` | Preview your build locally, before deploying |
|
| `pnpm run preview` | Preview your build locally, before deploying |
|
||||||
|
| `pnpm run start` | Starts a production dev server at `localhost:3000` |
|
||||||
| `pnpm run astro ...` | Run CLI commands like `astro add`, `astro preview` |
|
| `pnpm run astro ...` | Run CLI commands like `astro add`, `astro preview` |
|
||||||
| `pnpm run astro --help` | Get help using the Astro CLI |
|
| `pnpm run astro --help` | Get help using the Astro CLI |
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
import { defineConfig } from 'astro/config';
|
import { defineConfig } from 'astro/config';
|
||||||
|
import vercel from '@astrojs/vercel/edge';
|
||||||
|
|
||||||
// https://astro.build/config
|
export default defineConfig({
|
||||||
export default defineConfig({});
|
output: 'server',
|
||||||
|
adapter: vercel(),
|
||||||
|
});
|
||||||
|
|||||||
@@ -7,8 +7,10 @@
|
|||||||
"preview": "astro preview",
|
"preview": "astro preview",
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"dependencies": {
|
||||||
"astro": "^2.0.6",
|
"@astrojs/vercel": "3.2.2",
|
||||||
"web-vitals": "^3.1.1"
|
"astro": "^2.2.1",
|
||||||
|
"react": "18.2.0",
|
||||||
|
"web-vitals": "^3.3.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
2953
examples/astro/pnpm-lock.yaml
generated
2953
examples/astro/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -32,7 +32,7 @@ export function sendToAnalytics(metric, options) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (options.debug) {
|
if (options.debug) {
|
||||||
console.log("[Analytics]", metric.name, JSON.stringify(body, null, 2));
|
console.log("[Web Vitals]", metric.name, JSON.stringify(body, null, 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
const blob = new Blob([new URLSearchParams(body).toString()], {
|
const blob = new Blob([new URLSearchParams(body).toString()], {
|
||||||
@@ -61,6 +61,6 @@ export function webVitals(options) {
|
|||||||
onCLS((metric) => sendToAnalytics(metric, options));
|
onCLS((metric) => sendToAnalytics(metric, options));
|
||||||
onFCP((metric) => sendToAnalytics(metric, options));
|
onFCP((metric) => sendToAnalytics(metric, options));
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error("[Analytics]", err);
|
console.error("[Web Vitals]", err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
9
examples/astro/src/pages/edge.json.js
Normal file
9
examples/astro/src/pages/edge.json.js
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
export async function get() {
|
||||||
|
return new Response(JSON.stringify({ time: new Date() }), {
|
||||||
|
status: 200,
|
||||||
|
headers: {
|
||||||
|
'Content-Type': 'application/json',
|
||||||
|
'Cache-Control': 's-maxage=10, stale-while-revalidate',
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}
|
||||||
@@ -1,6 +1,8 @@
|
|||||||
---
|
---
|
||||||
import Layout from '../layouts/Layout.astro';
|
import Layout from '../layouts/Layout.astro';
|
||||||
import Card from '../components/Card.astro';
|
import Card from '../components/Card.astro';
|
||||||
|
|
||||||
|
export const prerender = true;
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout title="Welcome to Astro.">
|
<Layout title="Welcome to Astro.">
|
||||||
|
|||||||
7
examples/astro/src/pages/ssr-with-swr-caching.astro
Normal file
7
examples/astro/src/pages/ssr-with-swr-caching.astro
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
Astro.response.headers.set('Cache-Control', 's-maxage=10, stale-while-revalidate');
|
||||||
|
|
||||||
|
const time = new Date().toLocaleTimeString();
|
||||||
|
---
|
||||||
|
|
||||||
|
<h1>{time}</h1>
|
||||||
5
examples/astro/src/pages/ssr.astro
Normal file
5
examples/astro/src/pages/ssr.astro
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
const time = new Date().toLocaleTimeString();
|
||||||
|
---
|
||||||
|
|
||||||
|
<h1>{time}</h1>
|
||||||
5
examples/nextjs/.gitignore
vendored
5
examples/nextjs/.gitignore
vendored
@@ -23,10 +23,13 @@
|
|||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
yarn-debug.log*
|
yarn-debug.log*
|
||||||
yarn-error.log*
|
yarn-error.log*
|
||||||
.pnpm-debug.log*
|
|
||||||
|
|
||||||
# local env files
|
# local env files
|
||||||
.env*.local
|
.env*.local
|
||||||
|
|
||||||
# vercel
|
# vercel
|
||||||
.vercel
|
.vercel
|
||||||
|
|
||||||
|
# typescript
|
||||||
|
*.tsbuildinfo
|
||||||
|
next-env.d.ts
|
||||||
|
|||||||
526
examples/nextjs/package-lock.json
generated
526
examples/nextjs/package-lock.json
generated
@@ -8,9 +8,9 @@
|
|||||||
"name": "nextjs",
|
"name": "nextjs",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"eslint": "8.35.0",
|
"eslint": "8.39.0",
|
||||||
"eslint-config-next": "13.2.4",
|
"eslint-config-next": "13.3.1",
|
||||||
"next": "13.2.4",
|
"next": "13.3.1",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-dom": "18.2.0"
|
"react-dom": "18.2.0"
|
||||||
}
|
}
|
||||||
@@ -26,14 +26,36 @@
|
|||||||
"node": ">=6.9.0"
|
"node": ">=6.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@eslint-community/eslint-utils": {
|
||||||
|
"version": "4.4.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
|
||||||
|
"integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==",
|
||||||
|
"dependencies": {
|
||||||
|
"eslint-visitor-keys": "^3.3.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@eslint-community/regexpp": {
|
||||||
|
"version": "4.5.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.0.tgz",
|
||||||
|
"integrity": "sha512-vITaYzIcNmjn5tF5uxcZ/ft7/RXGrMUIS9HalWckEOF6ESiwXKoMzAQf2UW0aVd6rnOeExTJVd5hmWXucBKGXQ==",
|
||||||
|
"engines": {
|
||||||
|
"node": "^12.0.0 || ^14.0.0 || >=16.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@eslint/eslintrc": {
|
"node_modules/@eslint/eslintrc": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.2.tgz",
|
||||||
"integrity": "sha512-fluIaaV+GyV24CCu/ggiHdV+j4RNh85yQnAYS/G2mZODZgGmmlrgCydjUcV3YvxCm9x8nMAfThsqTni4KiXT4A==",
|
"integrity": "sha512-3W4f5tDUra+pA+FzgugqL2pRimUTDJWKr7BINqOpkZrC0uYI0NIc0/JFgBROCU07HR6GieA5m3/rsPIhDmCXTQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ajv": "^6.12.4",
|
"ajv": "^6.12.4",
|
||||||
"debug": "^4.3.2",
|
"debug": "^4.3.2",
|
||||||
"espree": "^9.4.0",
|
"espree": "^9.5.1",
|
||||||
"globals": "^13.19.0",
|
"globals": "^13.19.0",
|
||||||
"ignore": "^5.2.0",
|
"ignore": "^5.2.0",
|
||||||
"import-fresh": "^3.2.1",
|
"import-fresh": "^3.2.1",
|
||||||
@@ -49,9 +71,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@eslint/js": {
|
"node_modules/@eslint/js": {
|
||||||
"version": "8.35.0",
|
"version": "8.39.0",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.35.0.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.39.0.tgz",
|
||||||
"integrity": "sha512-JXdzbRiWclLVoD8sNUjR443VVlYqiYmDVT6rGUEIEHU5YJW0gaVZwV2xgM7D4arkvASqD0IlLUVjHiFuxaftRw==",
|
"integrity": "sha512-kf9RB0Fg7NZfap83B3QOqOGg9QmD9yBudqQXzzOtn3i4y7ZUXe5ONeW34Gwi+TxhH4mvj72R1Zc300KUMa9Bng==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
||||||
}
|
}
|
||||||
@@ -87,52 +109,22 @@
|
|||||||
"integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA=="
|
"integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA=="
|
||||||
},
|
},
|
||||||
"node_modules/@next/env": {
|
"node_modules/@next/env": {
|
||||||
"version": "13.2.4",
|
"version": "13.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/@next/env/-/env-13.2.4.tgz",
|
"resolved": "https://registry.npmjs.org/@next/env/-/env-13.3.1.tgz",
|
||||||
"integrity": "sha512-+Mq3TtpkeeKFZanPturjcXt+KHfKYnLlX6jMLyCrmpq6OOs4i1GqBOAauSkii9QeKCMTYzGppar21JU57b/GEA=="
|
"integrity": "sha512-EDtCoedIZC7JlUQ3uaQpSc4aVmyhbLHmQVALg7pFfQgOTjgSnn7mKtA0DiCMkYvvsx6aFb5octGMtWrOtGXW9A=="
|
||||||
},
|
},
|
||||||
"node_modules/@next/eslint-plugin-next": {
|
"node_modules/@next/eslint-plugin-next": {
|
||||||
"version": "13.2.4",
|
"version": "13.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-13.2.4.tgz",
|
"resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-13.3.1.tgz",
|
||||||
"integrity": "sha512-ck1lI+7r1mMJpqLNa3LJ5pxCfOB1lfJncKmRJeJxcJqcngaFwylreLP7da6Rrjr6u2gVRTfmnkSkjc80IiQCwQ==",
|
"integrity": "sha512-Hpd74UrYGF+bq9bBSRDXRsRfaWkPpcwjhvachy3sr/R/5fY6feC0T0s047pUthyqcaeNsqKOY1nUGQQJNm4WyA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"glob": "7.1.7"
|
"glob": "7.1.7"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@next/swc-android-arm-eabi": {
|
|
||||||
"version": "13.2.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-13.2.4.tgz",
|
|
||||||
"integrity": "sha512-DWlalTSkLjDU11MY11jg17O1gGQzpRccM9Oes2yTqj2DpHndajrXHGxj9HGtJ+idq2k7ImUdJVWS2h2l/EDJOw==",
|
|
||||||
"cpu": [
|
|
||||||
"arm"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"android"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-android-arm64": {
|
|
||||||
"version": "13.2.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-13.2.4.tgz",
|
|
||||||
"integrity": "sha512-sRavmUImUCf332Gy+PjIfLkMhiRX1Ez4SI+3vFDRs1N5eXp+uNzjFUK/oLMMOzk6KFSkbiK/3Wt8+dHQR/flNg==",
|
|
||||||
"cpu": [
|
|
||||||
"arm64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"android"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-darwin-arm64": {
|
"node_modules/@next/swc-darwin-arm64": {
|
||||||
"version": "13.2.4",
|
"version": "13.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.2.4.tgz",
|
"resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.3.1.tgz",
|
||||||
"integrity": "sha512-S6vBl+OrInP47TM3LlYx65betocKUUlTZDDKzTiRDbsRESeyIkBtZ6Qi5uT2zQs4imqllJznVjFd1bXLx3Aa6A==",
|
"integrity": "sha512-UXPtriEc/pBP8luSLSCZBcbzPeVv+SSjs9cH/KygTbhmACye8/OOXRZO13Z2Wq1G0gLmEAIHQAOuF+vafPd2lw==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@@ -145,9 +137,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@next/swc-darwin-x64": {
|
"node_modules/@next/swc-darwin-x64": {
|
||||||
"version": "13.2.4",
|
"version": "13.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.2.4.tgz",
|
"resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.3.1.tgz",
|
||||||
"integrity": "sha512-a6LBuoYGcFOPGd4o8TPo7wmv5FnMr+Prz+vYHopEDuhDoMSHOnC+v+Ab4D7F0NMZkvQjEJQdJS3rqgFhlZmKlw==",
|
"integrity": "sha512-lT36yYxosCfLtplFzJWgo0hrPu6/do8+msgM7oQkPeohDNdhjtjFUgOOwdSnPublLR6Mo2Ym4P/wl5OANuD2bw==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -159,40 +151,10 @@
|
|||||||
"node": ">= 10"
|
"node": ">= 10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@next/swc-freebsd-x64": {
|
|
||||||
"version": "13.2.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-13.2.4.tgz",
|
|
||||||
"integrity": "sha512-kkbzKVZGPaXRBPisoAQkh3xh22r+TD+5HwoC5bOkALraJ0dsOQgSMAvzMXKsN3tMzJUPS0tjtRf1cTzrQ0I5vQ==",
|
|
||||||
"cpu": [
|
|
||||||
"x64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"freebsd"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-linux-arm-gnueabihf": {
|
|
||||||
"version": "13.2.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-13.2.4.tgz",
|
|
||||||
"integrity": "sha512-7qA1++UY0fjprqtjBZaOA6cas/7GekpjVsZn/0uHvquuITFCdKGFCsKNBx3S0Rpxmx6WYo0GcmhNRM9ru08BGg==",
|
|
||||||
"cpu": [
|
|
||||||
"arm"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"linux"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-linux-arm64-gnu": {
|
"node_modules/@next/swc-linux-arm64-gnu": {
|
||||||
"version": "13.2.4",
|
"version": "13.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.2.4.tgz",
|
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.3.1.tgz",
|
||||||
"integrity": "sha512-xzYZdAeq883MwXgcwc72hqo/F/dwUxCukpDOkx/j1HTq/J0wJthMGjinN9wH5bPR98Mfeh1MZJ91WWPnZOedOg==",
|
"integrity": "sha512-wRb76nLWJhonH8s3kxC/1tFguEkeOPayIwe9mkaz1G/yeS3OrjeyKMJsb4+Kdg0zbTo53bNCOl59NNtDM7yyyw==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@@ -205,9 +167,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@next/swc-linux-arm64-musl": {
|
"node_modules/@next/swc-linux-arm64-musl": {
|
||||||
"version": "13.2.4",
|
"version": "13.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.2.4.tgz",
|
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.3.1.tgz",
|
||||||
"integrity": "sha512-8rXr3WfmqSiYkb71qzuDP6I6R2T2tpkmf83elDN8z783N9nvTJf2E7eLx86wu2OJCi4T05nuxCsh4IOU3LQ5xw==",
|
"integrity": "sha512-qz3BzjJRZ16Iq/jrp+pjiYOc0jTjHlfmxQmZk9x/+5uhRP6/eWQSTAPVJ33BMo6oK5O5N4644OgTAbzXzorecg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@@ -220,9 +182,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@next/swc-linux-x64-gnu": {
|
"node_modules/@next/swc-linux-x64-gnu": {
|
||||||
"version": "13.2.4",
|
"version": "13.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.2.4.tgz",
|
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.3.1.tgz",
|
||||||
"integrity": "sha512-Ngxh51zGSlYJ4EfpKG4LI6WfquulNdtmHg1yuOYlaAr33KyPJp4HeN/tivBnAHcZkoNy0hh/SbwDyCnz5PFJQQ==",
|
"integrity": "sha512-6mgkLmwlyWlomQmpl21I3hxgqE5INoW4owTlcLpNsd1V4wP+J46BlI/5zV5KWWbzjfncIqzXoeGs5Eg+1GHODA==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -235,9 +197,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@next/swc-linux-x64-musl": {
|
"node_modules/@next/swc-linux-x64-musl": {
|
||||||
"version": "13.2.4",
|
"version": "13.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.2.4.tgz",
|
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.3.1.tgz",
|
||||||
"integrity": "sha512-gOvwIYoSxd+j14LOcvJr+ekd9fwYT1RyMAHOp7znA10+l40wkFiMONPLWiZuHxfRk+Dy7YdNdDh3ImumvL6VwA==",
|
"integrity": "sha512-uqm5sielhQmKJM+qayIhgZv1KlS5pqTdQ99b+Z7hMWryXS96qE0DftTmMZowBcUL6x7s2vSXyH5wPtO1ON7LBg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -250,9 +212,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@next/swc-win32-arm64-msvc": {
|
"node_modules/@next/swc-win32-arm64-msvc": {
|
||||||
"version": "13.2.4",
|
"version": "13.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.2.4.tgz",
|
"resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.3.1.tgz",
|
||||||
"integrity": "sha512-q3NJzcfClgBm4HvdcnoEncmztxrA5GXqKeiZ/hADvC56pwNALt3ngDC6t6qr1YW9V/EPDxCYeaX4zYxHciW4Dw==",
|
"integrity": "sha512-WomIiTj/v3LevltlibNQKmvrOymNRYL+a0dp5R73IwPWN5FvXWwSELN/kiNALig/+T3luc4qHNTyvMCp9L6U5Q==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@@ -265,9 +227,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@next/swc-win32-ia32-msvc": {
|
"node_modules/@next/swc-win32-ia32-msvc": {
|
||||||
"version": "13.2.4",
|
"version": "13.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.2.4.tgz",
|
"resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.3.1.tgz",
|
||||||
"integrity": "sha512-/eZ5ncmHUYtD2fc6EUmAIZlAJnVT2YmxDsKs1Ourx0ttTtvtma/WKlMV5NoUsyOez0f9ExLyOpeCoz5aj+MPXw==",
|
"integrity": "sha512-M+PoH+0+q658wRUbs285RIaSTYnGBSTdweH/0CdzDgA6Q4rBM0sQs4DHmO3BPP0ltCO/vViIoyG7ks66XmCA5g==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"ia32"
|
"ia32"
|
||||||
],
|
],
|
||||||
@@ -280,9 +242,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@next/swc-win32-x64-msvc": {
|
"node_modules/@next/swc-win32-x64-msvc": {
|
||||||
"version": "13.2.4",
|
"version": "13.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.2.4.tgz",
|
"resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.3.1.tgz",
|
||||||
"integrity": "sha512-0MffFmyv7tBLlji01qc0IaPP/LVExzvj7/R5x1Jph1bTAIj4Vu81yFQWHHQAP6r4ff9Ukj1mBK6MDNVXm7Tcvw==",
|
"integrity": "sha512-Sl1F4Vp5Z1rNXWZYqJwMuWRRol4bqOB6+/d7KqkgQ4AcafKPN1PZmpkCoxv4UFHtFNIB7EotnuIhtXu3zScicQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -351,9 +313,9 @@
|
|||||||
"integrity": "sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg=="
|
"integrity": "sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg=="
|
||||||
},
|
},
|
||||||
"node_modules/@swc/helpers": {
|
"node_modules/@swc/helpers": {
|
||||||
"version": "0.4.14",
|
"version": "0.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.14.tgz",
|
"resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.0.tgz",
|
||||||
"integrity": "sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==",
|
"integrity": "sha512-SjY/p4MmECVVEWspzSRpQEM3sjR17sP8PbGxELWrT+YZMBfiUyt1MRUNjMV23zohwlG2HYtCQOsCwsTHguXkyg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"tslib": "^2.4.0"
|
"tslib": "^2.4.0"
|
||||||
}
|
}
|
||||||
@@ -364,13 +326,13 @@
|
|||||||
"integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ=="
|
"integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ=="
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/parser": {
|
"node_modules/@typescript-eslint/parser": {
|
||||||
"version": "5.54.1",
|
"version": "5.59.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.54.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.0.tgz",
|
||||||
"integrity": "sha512-8zaIXJp/nG9Ff9vQNh7TI+C3nA6q6iIsGJ4B4L6MhZ7mHnTMR4YP5vp2xydmFXIy8rpyIVbNAG44871LMt6ujg==",
|
"integrity": "sha512-qK9TZ70eJtjojSUMrrEwA9ZDQ4N0e/AuoOIgXuNBorXYcBDk397D2r5MIe1B3cok/oCtdNC5j+lUUpVB+Dpb+w==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/scope-manager": "5.54.1",
|
"@typescript-eslint/scope-manager": "5.59.0",
|
||||||
"@typescript-eslint/types": "5.54.1",
|
"@typescript-eslint/types": "5.59.0",
|
||||||
"@typescript-eslint/typescript-estree": "5.54.1",
|
"@typescript-eslint/typescript-estree": "5.59.0",
|
||||||
"debug": "^4.3.4"
|
"debug": "^4.3.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -390,12 +352,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/scope-manager": {
|
"node_modules/@typescript-eslint/scope-manager": {
|
||||||
"version": "5.54.1",
|
"version": "5.59.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.54.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.0.tgz",
|
||||||
"integrity": "sha512-zWKuGliXxvuxyM71UA/EcPxaviw39dB2504LqAmFDjmkpO8qNLHcmzlh6pbHs1h/7YQ9bnsO8CCcYCSA8sykUg==",
|
"integrity": "sha512-tsoldKaMh7izN6BvkK6zRMINj4Z2d6gGhO2UsI8zGZY3XhLq1DndP3Ycjhi1JwdwPRwtLMW4EFPgpuKhbCGOvQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "5.54.1",
|
"@typescript-eslint/types": "5.59.0",
|
||||||
"@typescript-eslint/visitor-keys": "5.54.1"
|
"@typescript-eslint/visitor-keys": "5.59.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
||||||
@@ -406,9 +368,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/types": {
|
"node_modules/@typescript-eslint/types": {
|
||||||
"version": "5.54.1",
|
"version": "5.59.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.54.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.0.tgz",
|
||||||
"integrity": "sha512-G9+1vVazrfAfbtmCapJX8jRo2E4MDXxgm/IMOF4oGh3kq7XuK3JRkOg6y2Qu1VsTRmWETyTkWt1wxy7X7/yLkw==",
|
"integrity": "sha512-yR2h1NotF23xFFYKHZs17QJnB51J/s+ud4PYU4MqdZbzeNxpgUr05+dNeCN/bb6raslHvGdd6BFCkVhpPk/ZeA==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
||||||
},
|
},
|
||||||
@@ -418,12 +380,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/typescript-estree": {
|
"node_modules/@typescript-eslint/typescript-estree": {
|
||||||
"version": "5.54.1",
|
"version": "5.59.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.54.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.0.tgz",
|
||||||
"integrity": "sha512-bjK5t+S6ffHnVwA0qRPTZrxKSaFYocwFIkZx5k7pvWfsB1I57pO/0M0Skatzzw1sCkjJ83AfGTL0oFIFiDX3bg==",
|
"integrity": "sha512-sUNnktjmI8DyGzPdZ8dRwW741zopGxltGs/SAPgGL/AAgDpiLsCFLcMNSpbfXfmnNeHmK9h3wGmCkGRGAoUZAg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "5.54.1",
|
"@typescript-eslint/types": "5.59.0",
|
||||||
"@typescript-eslint/visitor-keys": "5.54.1",
|
"@typescript-eslint/visitor-keys": "5.59.0",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"globby": "^11.1.0",
|
"globby": "^11.1.0",
|
||||||
"is-glob": "^4.0.3",
|
"is-glob": "^4.0.3",
|
||||||
@@ -444,11 +406,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/visitor-keys": {
|
"node_modules/@typescript-eslint/visitor-keys": {
|
||||||
"version": "5.54.1",
|
"version": "5.59.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.54.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.0.tgz",
|
||||||
"integrity": "sha512-q8iSoHTgwCfgcRJ2l2x+xCbu8nBlRAlsQ33k24Adj8eoVBE0f8dUeI+bAa8F84Mv05UGbAx57g2zrRsYIooqQg==",
|
"integrity": "sha512-qZ3iXxQhanchCeaExlKPV3gDQFxMUmU35xfd5eCXB6+kUw1TUAbIy2n7QIrwz9s98DQLzNWyHp61fY0da4ZcbA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "5.54.1",
|
"@typescript-eslint/types": "5.59.0",
|
||||||
"eslint-visitor-keys": "^3.3.0"
|
"eslint-visitor-keys": "^3.3.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -528,6 +490,18 @@
|
|||||||
"deep-equal": "^2.0.5"
|
"deep-equal": "^2.0.5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/array-buffer-byte-length": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==",
|
||||||
|
"dependencies": {
|
||||||
|
"call-bind": "^1.0.2",
|
||||||
|
"is-array-buffer": "^3.0.1"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/array-includes": {
|
"node_modules/array-includes": {
|
||||||
"version": "3.1.6",
|
"version": "3.1.6",
|
||||||
"resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.6.tgz",
|
"resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.6.tgz",
|
||||||
@@ -617,9 +591,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/axe-core": {
|
"node_modules/axe-core": {
|
||||||
"version": "4.6.3",
|
"version": "4.7.0",
|
||||||
"resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.6.3.tgz",
|
"resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.7.0.tgz",
|
||||||
"integrity": "sha512-/BQzOX780JhsxDnPpH4ZiyrJAzcd8AfzFPkv+89veFSr1rcMjuq2JDCwypKaPeB6ljHp9KjXhPpjgCvQlWYuqg==",
|
"integrity": "sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=4"
|
"node": ">=4"
|
||||||
}
|
}
|
||||||
@@ -657,6 +631,17 @@
|
|||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/busboy": {
|
||||||
|
"version": "1.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz",
|
||||||
|
"integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==",
|
||||||
|
"dependencies": {
|
||||||
|
"streamsearch": "^1.1.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=10.16.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/call-bind": {
|
"node_modules/call-bind": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
|
||||||
@@ -678,9 +663,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/caniuse-lite": {
|
"node_modules/caniuse-lite": {
|
||||||
"version": "1.0.30001464",
|
"version": "1.0.30001481",
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001464.tgz",
|
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001481.tgz",
|
||||||
"integrity": "sha512-oww27MtUmusatpRpCGSOneQk2/l5czXANDSFvsc7VuOQ86s3ANhZetpwXNf1zY/zdfP63Xvjz325DAdAoES13g==",
|
"integrity": "sha512-KCqHwRnaa1InZBtqXzP98LPg0ajCVujMKjqKDhZEthIpAsJl/YEIa3YvXjGXPVqzZVguccuu7ga9KOE1J9rKPQ==",
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
@@ -689,6 +674,10 @@
|
|||||||
{
|
{
|
||||||
"type": "tidelift",
|
"type": "tidelift",
|
||||||
"url": "https://tidelift.com/funding/github/npm/caniuse-lite"
|
"url": "https://tidelift.com/funding/github/npm/caniuse-lite"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/ai"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -850,9 +839,9 @@
|
|||||||
"integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg=="
|
"integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg=="
|
||||||
},
|
},
|
||||||
"node_modules/enhanced-resolve": {
|
"node_modules/enhanced-resolve": {
|
||||||
"version": "5.12.0",
|
"version": "5.13.0",
|
||||||
"resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.12.0.tgz",
|
"resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.13.0.tgz",
|
||||||
"integrity": "sha512-QHTXI/sZQmko1cbDoNAa3mJ5qhWUUNAq3vR0/YiD379fWQrcfuoX1+HW2S0MTt7XmoPLapdaDKUtelUSPic7hQ==",
|
"integrity": "sha512-eyV8f0y1+bzyfh8xAwW/WTSZpLbjhqc4ne9eGSH4Zo2ejdyiNG9pU6mf9DG8a7+Auk6MFTlNOT4Y2y/9k8GKVg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"graceful-fs": "^4.2.4",
|
"graceful-fs": "^4.2.4",
|
||||||
"tapable": "^2.2.0"
|
"tapable": "^2.2.0"
|
||||||
@@ -862,17 +851,17 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/es-abstract": {
|
"node_modules/es-abstract": {
|
||||||
"version": "1.21.1",
|
"version": "1.21.2",
|
||||||
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.1.tgz",
|
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.2.tgz",
|
||||||
"integrity": "sha512-QudMsPOz86xYz/1dG1OuGBKOELjCh99IIWHLzy5znUB6j8xG2yMA7bfTV86VSqKF+Y/H08vQPR+9jyXpuC6hfg==",
|
"integrity": "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"array-buffer-byte-length": "^1.0.0",
|
||||||
"available-typed-arrays": "^1.0.5",
|
"available-typed-arrays": "^1.0.5",
|
||||||
"call-bind": "^1.0.2",
|
"call-bind": "^1.0.2",
|
||||||
"es-set-tostringtag": "^2.0.1",
|
"es-set-tostringtag": "^2.0.1",
|
||||||
"es-to-primitive": "^1.2.1",
|
"es-to-primitive": "^1.2.1",
|
||||||
"function-bind": "^1.1.1",
|
|
||||||
"function.prototype.name": "^1.1.5",
|
"function.prototype.name": "^1.1.5",
|
||||||
"get-intrinsic": "^1.1.3",
|
"get-intrinsic": "^1.2.0",
|
||||||
"get-symbol-description": "^1.0.0",
|
"get-symbol-description": "^1.0.0",
|
||||||
"globalthis": "^1.0.3",
|
"globalthis": "^1.0.3",
|
||||||
"gopd": "^1.0.1",
|
"gopd": "^1.0.1",
|
||||||
@@ -880,8 +869,8 @@
|
|||||||
"has-property-descriptors": "^1.0.0",
|
"has-property-descriptors": "^1.0.0",
|
||||||
"has-proto": "^1.0.1",
|
"has-proto": "^1.0.1",
|
||||||
"has-symbols": "^1.0.3",
|
"has-symbols": "^1.0.3",
|
||||||
"internal-slot": "^1.0.4",
|
"internal-slot": "^1.0.5",
|
||||||
"is-array-buffer": "^3.0.1",
|
"is-array-buffer": "^3.0.2",
|
||||||
"is-callable": "^1.2.7",
|
"is-callable": "^1.2.7",
|
||||||
"is-negative-zero": "^2.0.2",
|
"is-negative-zero": "^2.0.2",
|
||||||
"is-regex": "^1.1.4",
|
"is-regex": "^1.1.4",
|
||||||
@@ -889,11 +878,12 @@
|
|||||||
"is-string": "^1.0.7",
|
"is-string": "^1.0.7",
|
||||||
"is-typed-array": "^1.1.10",
|
"is-typed-array": "^1.1.10",
|
||||||
"is-weakref": "^1.0.2",
|
"is-weakref": "^1.0.2",
|
||||||
"object-inspect": "^1.12.2",
|
"object-inspect": "^1.12.3",
|
||||||
"object-keys": "^1.1.1",
|
"object-keys": "^1.1.1",
|
||||||
"object.assign": "^4.1.4",
|
"object.assign": "^4.1.4",
|
||||||
"regexp.prototype.flags": "^1.4.3",
|
"regexp.prototype.flags": "^1.4.3",
|
||||||
"safe-regex-test": "^1.0.0",
|
"safe-regex-test": "^1.0.0",
|
||||||
|
"string.prototype.trim": "^1.2.7",
|
||||||
"string.prototype.trimend": "^1.0.6",
|
"string.prototype.trimend": "^1.0.6",
|
||||||
"string.prototype.trimstart": "^1.0.6",
|
"string.prototype.trimstart": "^1.0.6",
|
||||||
"typed-array-length": "^1.0.4",
|
"typed-array-length": "^1.0.4",
|
||||||
@@ -975,12 +965,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint": {
|
"node_modules/eslint": {
|
||||||
"version": "8.35.0",
|
"version": "8.39.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.35.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.39.0.tgz",
|
||||||
"integrity": "sha512-BxAf1fVL7w+JLRQhWl2pzGeSiGqbWumV4WNvc9Rhp6tiCtm4oHnyPBSEtMGZwrQgudFQ+otqzWoPB7x+hxoWsw==",
|
"integrity": "sha512-mwiok6cy7KTW7rBpo05k6+p4YVZByLNjAZ/ACB9DRCu4YDRwjXI01tWHp6KAUWelsBetTxKK/2sHB0vdS8Z2Og==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint/eslintrc": "^2.0.0",
|
"@eslint-community/eslint-utils": "^4.2.0",
|
||||||
"@eslint/js": "8.35.0",
|
"@eslint-community/regexpp": "^4.4.0",
|
||||||
|
"@eslint/eslintrc": "^2.0.2",
|
||||||
|
"@eslint/js": "8.39.0",
|
||||||
"@humanwhocodes/config-array": "^0.11.8",
|
"@humanwhocodes/config-array": "^0.11.8",
|
||||||
"@humanwhocodes/module-importer": "^1.0.1",
|
"@humanwhocodes/module-importer": "^1.0.1",
|
||||||
"@nodelib/fs.walk": "^1.2.8",
|
"@nodelib/fs.walk": "^1.2.8",
|
||||||
@@ -990,10 +982,9 @@
|
|||||||
"debug": "^4.3.2",
|
"debug": "^4.3.2",
|
||||||
"doctrine": "^3.0.0",
|
"doctrine": "^3.0.0",
|
||||||
"escape-string-regexp": "^4.0.0",
|
"escape-string-regexp": "^4.0.0",
|
||||||
"eslint-scope": "^7.1.1",
|
"eslint-scope": "^7.2.0",
|
||||||
"eslint-utils": "^3.0.0",
|
"eslint-visitor-keys": "^3.4.0",
|
||||||
"eslint-visitor-keys": "^3.3.0",
|
"espree": "^9.5.1",
|
||||||
"espree": "^9.4.0",
|
|
||||||
"esquery": "^1.4.2",
|
"esquery": "^1.4.2",
|
||||||
"esutils": "^2.0.2",
|
"esutils": "^2.0.2",
|
||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
@@ -1015,7 +1006,6 @@
|
|||||||
"minimatch": "^3.1.2",
|
"minimatch": "^3.1.2",
|
||||||
"natural-compare": "^1.4.0",
|
"natural-compare": "^1.4.0",
|
||||||
"optionator": "^0.9.1",
|
"optionator": "^0.9.1",
|
||||||
"regexpp": "^3.2.0",
|
|
||||||
"strip-ansi": "^6.0.1",
|
"strip-ansi": "^6.0.1",
|
||||||
"strip-json-comments": "^3.1.0",
|
"strip-json-comments": "^3.1.0",
|
||||||
"text-table": "^0.2.0"
|
"text-table": "^0.2.0"
|
||||||
@@ -1031,11 +1021,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-config-next": {
|
"node_modules/eslint-config-next": {
|
||||||
"version": "13.2.4",
|
"version": "13.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-13.2.4.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-13.3.1.tgz",
|
||||||
"integrity": "sha512-lunIBhsoeqw6/Lfkd6zPt25w1bn0znLA/JCL+au1HoEpSb4/PpsOYsYtgV/q+YPsoKIOzFyU5xnb04iZnXjUvg==",
|
"integrity": "sha512-DieA5djybeE3Q0IqnDXihmhgRSp44x1ywWBBpVRA9pSx+m5Icj8hFclx7ffXlAvb9MMLN6cgj/hqJ4lka/QmvA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@next/eslint-plugin-next": "13.2.4",
|
"@next/eslint-plugin-next": "13.3.1",
|
||||||
"@rushstack/eslint-patch": "^1.1.3",
|
"@rushstack/eslint-patch": "^1.1.3",
|
||||||
"@typescript-eslint/parser": "^5.42.0",
|
"@typescript-eslint/parser": "^5.42.0",
|
||||||
"eslint-import-resolver-node": "^0.3.6",
|
"eslint-import-resolver-node": "^0.3.6",
|
||||||
@@ -1074,17 +1064,18 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-import-resolver-typescript": {
|
"node_modules/eslint-import-resolver-typescript": {
|
||||||
"version": "3.5.3",
|
"version": "3.5.5",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.5.3.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.5.5.tgz",
|
||||||
"integrity": "sha512-njRcKYBc3isE42LaTcJNVANR3R99H9bAxBDMNDr2W7yq5gYPxbU3MkdhsQukxZ/Xg9C2vcyLlDsbKfRDg0QvCQ==",
|
"integrity": "sha512-TdJqPHs2lW5J9Zpe17DZNQuDnox4xo2o+0tE7Pggain9Rbc19ik8kFtXdxZ250FVx2kF4vlt2RSf4qlUpG7bhw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"enhanced-resolve": "^5.10.0",
|
"enhanced-resolve": "^5.12.0",
|
||||||
"get-tsconfig": "^4.2.0",
|
"eslint-module-utils": "^2.7.4",
|
||||||
"globby": "^13.1.2",
|
"get-tsconfig": "^4.5.0",
|
||||||
"is-core-module": "^2.10.0",
|
"globby": "^13.1.3",
|
||||||
|
"is-core-module": "^2.11.0",
|
||||||
"is-glob": "^4.0.3",
|
"is-glob": "^4.0.3",
|
||||||
"synckit": "^0.8.4"
|
"synckit": "^0.8.5"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.18.0 || >=16.0.0"
|
"node": "^14.18.0 || >=16.0.0"
|
||||||
@@ -1098,9 +1089,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-import-resolver-typescript/node_modules/globby": {
|
"node_modules/eslint-import-resolver-typescript/node_modules/globby": {
|
||||||
"version": "13.1.3",
|
"version": "13.1.4",
|
||||||
"resolved": "https://registry.npmjs.org/globby/-/globby-13.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/globby/-/globby-13.1.4.tgz",
|
||||||
"integrity": "sha512-8krCNHXvlCgHDpegPzleMq07yMYTO2sXKASmZmquEYWEmCx6J5UTRbp5RwMJkTJGtcQ44YpiUYUiN0b9mzy8Bw==",
|
"integrity": "sha512-iui/IiiW+QrJ1X1hKH5qwlMQyv34wJAYwH1vrf8b9kBA4sNiif3gKsMHa+BrdnOpEudWjpotfa7LrTzB1ERS/g==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"dir-glob": "^3.0.1",
|
"dir-glob": "^3.0.1",
|
||||||
"fast-glob": "^3.2.11",
|
"fast-glob": "^3.2.11",
|
||||||
@@ -1127,9 +1118,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-module-utils": {
|
"node_modules/eslint-module-utils": {
|
||||||
"version": "2.7.4",
|
"version": "2.8.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.0.tgz",
|
||||||
"integrity": "sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==",
|
"integrity": "sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"debug": "^3.2.7"
|
"debug": "^3.2.7"
|
||||||
},
|
},
|
||||||
@@ -1317,58 +1308,39 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-scope": {
|
"node_modules/eslint-scope": {
|
||||||
"version": "7.1.1",
|
"version": "7.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz",
|
||||||
"integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==",
|
"integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"esrecurse": "^4.3.0",
|
"esrecurse": "^4.3.0",
|
||||||
"estraverse": "^5.2.0"
|
"estraverse": "^5.2.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/eslint-utils": {
|
|
||||||
"version": "3.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz",
|
|
||||||
"integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==",
|
|
||||||
"dependencies": {
|
|
||||||
"eslint-visitor-keys": "^2.0.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": "^10.0.0 || ^12.0.0 || >= 14.0.0"
|
|
||||||
},
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
"url": "https://github.com/sponsors/mysticatea"
|
"url": "https://opencollective.com/eslint"
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"eslint": ">=5"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/eslint-utils/node_modules/eslint-visitor-keys": {
|
|
||||||
"version": "2.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz",
|
|
||||||
"integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=10"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-visitor-keys": {
|
"node_modules/eslint-visitor-keys": {
|
||||||
"version": "3.3.0",
|
"version": "3.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.0.tgz",
|
||||||
"integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==",
|
"integrity": "sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://opencollective.com/eslint"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/espree": {
|
"node_modules/espree": {
|
||||||
"version": "9.4.1",
|
"version": "9.5.1",
|
||||||
"resolved": "https://registry.npmjs.org/espree/-/espree-9.4.1.tgz",
|
"resolved": "https://registry.npmjs.org/espree/-/espree-9.5.1.tgz",
|
||||||
"integrity": "sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==",
|
"integrity": "sha512-5yxtHSZXRSW5pvv3hAlXM5+/Oswi1AUFqBmbibKb5s6bp3rGIDkyXU6xCoyuuLhijr4SFwPrXRoZjz0AZDN9tg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"acorn": "^8.8.0",
|
"acorn": "^8.8.0",
|
||||||
"acorn-jsx": "^5.3.2",
|
"acorn-jsx": "^5.3.2",
|
||||||
"eslint-visitor-keys": "^3.3.0"
|
"eslint-visitor-keys": "^3.4.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
||||||
@@ -1590,9 +1562,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/get-tsconfig": {
|
"node_modules/get-tsconfig": {
|
||||||
"version": "4.4.0",
|
"version": "4.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.5.0.tgz",
|
||||||
"integrity": "sha512-0Gdjo/9+FzsYhXCEFueo2aY1z1tpXrxWZzP7k8ul9qt1U5o8rYJwTJYmaeHdrVosYIVYkOy2iwCJ9FdpocJhPQ==",
|
"integrity": "sha512-MjhiaIWCJ1sAU4pIQ5i5OfOuHHxVo1oYeNsWTON7jxYkod8pHocXeh+SSbmu5OZZZK73B6cbJ2XADzXehLyovQ==",
|
||||||
"funding": {
|
"funding": {
|
||||||
"url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"
|
"url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"
|
||||||
}
|
}
|
||||||
@@ -1696,9 +1668,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/graceful-fs": {
|
"node_modules/graceful-fs": {
|
||||||
"version": "4.2.10",
|
"version": "4.2.11",
|
||||||
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz",
|
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
|
||||||
"integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA=="
|
"integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="
|
||||||
},
|
},
|
||||||
"node_modules/grapheme-splitter": {
|
"node_modules/grapheme-splitter": {
|
||||||
"version": "1.0.4",
|
"version": "1.0.4",
|
||||||
@@ -1903,9 +1875,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/is-core-module": {
|
"node_modules/is-core-module": {
|
||||||
"version": "2.11.0",
|
"version": "2.12.0",
|
||||||
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz",
|
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.0.tgz",
|
||||||
"integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==",
|
"integrity": "sha512-RECHCBCd/viahWmwj6enj19sKbHfJrddi/6cBDsNTKbNq0f7VeaUkBo60BqzvPqo/W54ChS62Z5qyun7cfOMqQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"has": "^1.0.3"
|
"has": "^1.0.3"
|
||||||
},
|
},
|
||||||
@@ -2142,9 +2114,9 @@
|
|||||||
"integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="
|
"integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="
|
||||||
},
|
},
|
||||||
"node_modules/js-sdsl": {
|
"node_modules/js-sdsl": {
|
||||||
"version": "4.3.0",
|
"version": "4.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.4.0.tgz",
|
||||||
"integrity": "sha512-mifzlm2+5nZ+lEcLJMoBK0/IH/bDg8XnJfd/Wq6IP+xoCjLZsTOnV2QpxlVbX9bMnkl5PdEjNtBJ9Cj1NjifhQ==",
|
"integrity": "sha512-FfVSdx6pJ41Oa+CF7RDaFmTnCaFhua+SNYQX74riGOpl96x+2jQCqEfQ2bnXu/5DPCqlRuiqyvTJM0Qjz26IVg==",
|
||||||
"funding": {
|
"funding": {
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
"url": "https://opencollective.com/js-sdsl"
|
"url": "https://opencollective.com/js-sdsl"
|
||||||
@@ -2310,9 +2282,15 @@
|
|||||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
||||||
},
|
},
|
||||||
"node_modules/nanoid": {
|
"node_modules/nanoid": {
|
||||||
"version": "3.3.4",
|
"version": "3.3.6",
|
||||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz",
|
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz",
|
||||||
"integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==",
|
"integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==",
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/ai"
|
||||||
|
}
|
||||||
|
],
|
||||||
"bin": {
|
"bin": {
|
||||||
"nanoid": "bin/nanoid.cjs"
|
"nanoid": "bin/nanoid.cjs"
|
||||||
},
|
},
|
||||||
@@ -2326,12 +2304,13 @@
|
|||||||
"integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw=="
|
"integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw=="
|
||||||
},
|
},
|
||||||
"node_modules/next": {
|
"node_modules/next": {
|
||||||
"version": "13.2.4",
|
"version": "13.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/next/-/next-13.2.4.tgz",
|
"resolved": "https://registry.npmjs.org/next/-/next-13.3.1.tgz",
|
||||||
"integrity": "sha512-g1I30317cThkEpvzfXujf0O4wtaQHtDCLhlivwlTJ885Ld+eOgcz7r3TGQzeU+cSRoNHtD8tsJgzxVdYojFssw==",
|
"integrity": "sha512-eByWRxPzKHs2oQz1yE41LX35umhz86ZSZ+mYyXBqn2IBi2hyUqxBA88avywdr4uyH+hCJczegGsDGWbzQA5Rqw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@next/env": "13.2.4",
|
"@next/env": "13.3.1",
|
||||||
"@swc/helpers": "0.4.14",
|
"@swc/helpers": "0.5.0",
|
||||||
|
"busboy": "1.6.0",
|
||||||
"caniuse-lite": "^1.0.30001406",
|
"caniuse-lite": "^1.0.30001406",
|
||||||
"postcss": "8.4.14",
|
"postcss": "8.4.14",
|
||||||
"styled-jsx": "5.1.1"
|
"styled-jsx": "5.1.1"
|
||||||
@@ -2340,25 +2319,21 @@
|
|||||||
"next": "dist/bin/next"
|
"next": "dist/bin/next"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14.6.0"
|
"node": ">=14.18.0"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@next/swc-android-arm-eabi": "13.2.4",
|
"@next/swc-darwin-arm64": "13.3.1",
|
||||||
"@next/swc-android-arm64": "13.2.4",
|
"@next/swc-darwin-x64": "13.3.1",
|
||||||
"@next/swc-darwin-arm64": "13.2.4",
|
"@next/swc-linux-arm64-gnu": "13.3.1",
|
||||||
"@next/swc-darwin-x64": "13.2.4",
|
"@next/swc-linux-arm64-musl": "13.3.1",
|
||||||
"@next/swc-freebsd-x64": "13.2.4",
|
"@next/swc-linux-x64-gnu": "13.3.1",
|
||||||
"@next/swc-linux-arm-gnueabihf": "13.2.4",
|
"@next/swc-linux-x64-musl": "13.3.1",
|
||||||
"@next/swc-linux-arm64-gnu": "13.2.4",
|
"@next/swc-win32-arm64-msvc": "13.3.1",
|
||||||
"@next/swc-linux-arm64-musl": "13.2.4",
|
"@next/swc-win32-ia32-msvc": "13.3.1",
|
||||||
"@next/swc-linux-x64-gnu": "13.2.4",
|
"@next/swc-win32-x64-msvc": "13.3.1"
|
||||||
"@next/swc-linux-x64-musl": "13.2.4",
|
|
||||||
"@next/swc-win32-arm64-msvc": "13.2.4",
|
|
||||||
"@next/swc-win32-ia32-msvc": "13.2.4",
|
|
||||||
"@next/swc-win32-x64-msvc": "13.2.4"
|
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@opentelemetry/api": "^1.4.0",
|
"@opentelemetry/api": "^1.1.0",
|
||||||
"fibers": ">= 3.1.0",
|
"fibers": ">= 3.1.0",
|
||||||
"node-sass": "^6.0.0 || ^7.0.0",
|
"node-sass": "^6.0.0 || ^7.0.0",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
@@ -2727,13 +2702,13 @@
|
|||||||
"integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg=="
|
"integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg=="
|
||||||
},
|
},
|
||||||
"node_modules/regexp.prototype.flags": {
|
"node_modules/regexp.prototype.flags": {
|
||||||
"version": "1.4.3",
|
"version": "1.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz",
|
"resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz",
|
||||||
"integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==",
|
"integrity": "sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"call-bind": "^1.0.2",
|
"call-bind": "^1.0.2",
|
||||||
"define-properties": "^1.1.3",
|
"define-properties": "^1.2.0",
|
||||||
"functions-have-names": "^1.2.2"
|
"functions-have-names": "^1.2.3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 0.4"
|
"node": ">= 0.4"
|
||||||
@@ -2742,23 +2717,12 @@
|
|||||||
"url": "https://github.com/sponsors/ljharb"
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/regexpp": {
|
|
||||||
"version": "3.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz",
|
|
||||||
"integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=8"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/sponsors/mysticatea"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/resolve": {
|
"node_modules/resolve": {
|
||||||
"version": "1.22.1",
|
"version": "1.22.2",
|
||||||
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz",
|
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz",
|
||||||
"integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==",
|
"integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"is-core-module": "^2.9.0",
|
"is-core-module": "^2.11.0",
|
||||||
"path-parse": "^1.0.7",
|
"path-parse": "^1.0.7",
|
||||||
"supports-preserve-symlinks-flag": "^1.0.0"
|
"supports-preserve-symlinks-flag": "^1.0.0"
|
||||||
},
|
},
|
||||||
@@ -2844,9 +2808,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/semver": {
|
"node_modules/semver": {
|
||||||
"version": "7.3.8",
|
"version": "7.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz",
|
"resolved": "https://registry.npmjs.org/semver/-/semver-7.5.0.tgz",
|
||||||
"integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==",
|
"integrity": "sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lru-cache": "^6.0.0"
|
"lru-cache": "^6.0.0"
|
||||||
},
|
},
|
||||||
@@ -2916,6 +2880,14 @@
|
|||||||
"node": ">= 0.4"
|
"node": ">= 0.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/streamsearch": {
|
||||||
|
"version": "1.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz",
|
||||||
|
"integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=10.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/string.prototype.matchall": {
|
"node_modules/string.prototype.matchall": {
|
||||||
"version": "4.0.8",
|
"version": "4.0.8",
|
||||||
"resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.8.tgz",
|
"resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.8.tgz",
|
||||||
@@ -2934,6 +2906,22 @@
|
|||||||
"url": "https://github.com/sponsors/ljharb"
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/string.prototype.trim": {
|
||||||
|
"version": "1.2.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz",
|
||||||
|
"integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==",
|
||||||
|
"dependencies": {
|
||||||
|
"call-bind": "^1.0.2",
|
||||||
|
"define-properties": "^1.1.4",
|
||||||
|
"es-abstract": "^1.20.4"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 0.4"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/string.prototype.trimend": {
|
"node_modules/string.prototype.trimend": {
|
||||||
"version": "1.0.6",
|
"version": "1.0.6",
|
||||||
"resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz",
|
"resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz",
|
||||||
@@ -3153,16 +3141,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/typescript": {
|
"node_modules/typescript": {
|
||||||
"version": "4.9.5",
|
"version": "5.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz",
|
||||||
"integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==",
|
"integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==",
|
||||||
"peer": true,
|
"peer": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"tsc": "bin/tsc",
|
"tsc": "bin/tsc",
|
||||||
"tsserver": "bin/tsserver"
|
"tsserver": "bin/tsserver"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=4.2.0"
|
"node": ">=12.20"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/unbox-primitive": {
|
"node_modules/unbox-primitive": {
|
||||||
|
|||||||
@@ -9,9 +9,9 @@
|
|||||||
"lint": "next lint"
|
"lint": "next lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"eslint": "8.35.0",
|
"eslint": "8.39.0",
|
||||||
"eslint-config-next": "13.2.4",
|
"eslint-config-next": "13.3.1",
|
||||||
"next": "13.2.4",
|
"next": "13.3.1",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-dom": "18.2.0"
|
"react-dom": "18.2.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ export default function Home() {
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
</Head>
|
</Head>
|
||||||
<main className={styles.main}>
|
<main className={`${styles.main} ${inter.className}`}>
|
||||||
<div className={styles.description}>
|
<div className={styles.description}>
|
||||||
<p>
|
<p>
|
||||||
Get started by editing
|
Get started by editing
|
||||||
@@ -48,15 +48,6 @@ export default function Home() {
|
|||||||
height={37}
|
height={37}
|
||||||
priority
|
priority
|
||||||
/>
|
/>
|
||||||
<div className={styles.thirteen}>
|
|
||||||
<Image
|
|
||||||
src="/thirteen.svg"
|
|
||||||
alt="13"
|
|
||||||
width={40}
|
|
||||||
height={31}
|
|
||||||
priority
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className={styles.grid}>
|
<div className={styles.grid}>
|
||||||
@@ -66,10 +57,10 @@ export default function Home() {
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
<h2 className={inter.className}>
|
<h2>
|
||||||
Docs <span>-></span>
|
Docs <span>-></span>
|
||||||
</h2>
|
</h2>
|
||||||
<p className={inter.className}>
|
<p>
|
||||||
Find in-depth information about Next.js features and API.
|
Find in-depth information about Next.js features and API.
|
||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
@@ -80,10 +71,10 @@ export default function Home() {
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
<h2 className={inter.className}>
|
<h2>
|
||||||
Learn <span>-></span>
|
Learn <span>-></span>
|
||||||
</h2>
|
</h2>
|
||||||
<p className={inter.className}>
|
<p>
|
||||||
Learn about Next.js in an interactive course with quizzes!
|
Learn about Next.js in an interactive course with quizzes!
|
||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
@@ -94,10 +85,10 @@ export default function Home() {
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
<h2 className={inter.className}>
|
<h2>
|
||||||
Templates <span>-></span>
|
Templates <span>-></span>
|
||||||
</h2>
|
</h2>
|
||||||
<p className={inter.className}>
|
<p>
|
||||||
Discover and deploy boilerplate example Next.js projects.
|
Discover and deploy boilerplate example Next.js projects.
|
||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
@@ -108,10 +99,10 @@ export default function Home() {
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
<h2 className={inter.className}>
|
<h2>
|
||||||
Deploy <span>-></span>
|
Deploy <span>-></span>
|
||||||
</h2>
|
</h2>
|
||||||
<p className={inter.className}>
|
<p>
|
||||||
Instantly deploy your Next.js site to a shareable URL
|
Instantly deploy your Next.js site to a shareable URL
|
||||||
with Vercel.
|
with Vercel.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="31" fill="none"><g opacity=".9"><path fill="url(#a)" d="M13 .4v29.3H7V6.3h-.2L0 10.5V5L7.2.4H13Z"/><path fill="url(#b)" d="M28.8 30.1c-2.2 0-4-.3-5.7-1-1.7-.8-3-1.8-4-3.1a7.7 7.7 0 0 1-1.4-4.6h6.2c0 .8.3 1.4.7 2 .4.5 1 .9 1.7 1.2.7.3 1.6.4 2.5.4 1 0 1.7-.2 2.5-.5.7-.3 1.3-.8 1.7-1.4.4-.6.6-1.2.6-2s-.2-1.5-.7-2.1c-.4-.6-1-1-1.8-1.4-.8-.4-1.8-.5-2.9-.5h-2.7v-4.6h2.7a6 6 0 0 0 2.5-.5 4 4 0 0 0 1.7-1.3c.4-.6.6-1.3.6-2a3.5 3.5 0 0 0-2-3.3 5.6 5.6 0 0 0-4.5 0 4 4 0 0 0-1.7 1.2c-.4.6-.6 1.2-.6 2h-6c0-1.7.6-3.2 1.5-4.5 1-1.3 2.2-2.3 3.8-3C25 .4 26.8 0 28.8 0s3.8.4 5.3 1.1c1.5.7 2.7 1.7 3.6 3a7.2 7.2 0 0 1 1.2 4.2c0 1.6-.5 3-1.5 4a7 7 0 0 1-4 2.2v.2c2.2.3 3.8 1 5 2.2a6.4 6.4 0 0 1 1.6 4.6c0 1.7-.5 3.1-1.4 4.4a9.7 9.7 0 0 1-4 3.1c-1.7.8-3.7 1.1-5.8 1.1Z"/></g><defs><linearGradient id="a" x1="20" x2="20" y1="0" y2="30.1" gradientUnits="userSpaceOnUse"><stop/><stop offset="1" stop-color="#3D3D3D"/></linearGradient><linearGradient id="b" x1="20" x2="20" y1="0" y2="30.1" gradientUnits="userSpaceOnUse"><stop/><stop offset="1" stop-color="#3D3D3D"/></linearGradient></defs></svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.1 KiB |
@@ -104,53 +104,9 @@
|
|||||||
transform: translateZ(0);
|
transform: translateZ(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo,
|
.logo {
|
||||||
.thirteen {
|
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.thirteen {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
width: 75px;
|
|
||||||
height: 75px;
|
|
||||||
padding: 25px 10px;
|
|
||||||
margin-left: 16px;
|
|
||||||
transform: translateZ(0);
|
|
||||||
border-radius: var(--border-radius);
|
|
||||||
overflow: hidden;
|
|
||||||
box-shadow: 0px 2px 8px -1px #0000001a;
|
|
||||||
}
|
|
||||||
|
|
||||||
.thirteen::before,
|
|
||||||
.thirteen::after {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Conic Gradient Animation */
|
|
||||||
.thirteen::before {
|
|
||||||
animation: 6s rotate linear infinite;
|
|
||||||
width: 200%;
|
|
||||||
height: 200%;
|
|
||||||
background: var(--tile-border);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Inner Square */
|
|
||||||
.thirteen::after {
|
|
||||||
inset: 0;
|
|
||||||
padding: 1px;
|
|
||||||
border-radius: var(--border-radius);
|
|
||||||
background: linear-gradient(
|
|
||||||
to bottom right,
|
|
||||||
rgba(var(--tile-start-rgb), 1),
|
|
||||||
rgba(var(--tile-end-rgb), 1)
|
|
||||||
);
|
|
||||||
background-clip: content-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Enable hover only on non-touch devices */
|
/* Enable hover only on non-touch devices */
|
||||||
@media (hover: hover) and (pointer: fine) {
|
@media (hover: hover) and (pointer: fine) {
|
||||||
.card:hover {
|
.card:hover {
|
||||||
@@ -164,10 +120,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-reduced-motion) {
|
@media (prefers-reduced-motion) {
|
||||||
.thirteen::before {
|
|
||||||
animation: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card:hover span {
|
.card:hover span {
|
||||||
transform: none;
|
transform: none;
|
||||||
}
|
}
|
||||||
@@ -262,8 +214,7 @@
|
|||||||
filter: invert(1);
|
filter: invert(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo,
|
.logo {
|
||||||
.thirteen img {
|
|
||||||
filter: invert(1) drop-shadow(0 0 0.3rem #ffffff70);
|
filter: invert(1) drop-shadow(0 0 0.3rem #ffffff70);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
import { RemixServer } from "@remix-run/react";
|
|
||||||
import { handleRequest } from "@vercel/remix";
|
|
||||||
import type { EntryContext } from "@vercel/remix";
|
|
||||||
|
|
||||||
export default function (
|
|
||||||
request: Request,
|
|
||||||
responseStatusCode: number,
|
|
||||||
responseHeaders: Headers,
|
|
||||||
remixContext: EntryContext
|
|
||||||
) {
|
|
||||||
const remixServer = <RemixServer context={remixContext} url={request.url} />;
|
|
||||||
return handleRequest(
|
|
||||||
request,
|
|
||||||
responseStatusCode,
|
|
||||||
responseHeaders,
|
|
||||||
remixServer
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -6,16 +6,17 @@
|
|||||||
"dev": "remix dev"
|
"dev": "remix dev"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@remix-run/react": "^1.14.3",
|
"@remix-run/node": "^1.15.0",
|
||||||
"@remix-run/serve": "^1.14.3",
|
"@remix-run/react": "^1.15.0",
|
||||||
|
"@remix-run/serve": "^1.15.0",
|
||||||
"@vercel/analytics": "^0.1.11",
|
"@vercel/analytics": "^0.1.11",
|
||||||
"@vercel/remix": "1.14.3-patch.1",
|
"@vercel/remix": "^1.15.0",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0"
|
"react-dom": "^18.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@remix-run/dev": "^1.14.3",
|
"@remix-run/dev": "^1.15.0",
|
||||||
"@remix-run/eslint-config": "^1.14.3",
|
"@remix-run/eslint-config": "^1.15.0",
|
||||||
"@types/react": "^18.0.25",
|
"@types/react": "^18.0.25",
|
||||||
"@types/react-dom": "^18.0.11",
|
"@types/react-dom": "^18.0.11",
|
||||||
"eslint": "^8.28.0",
|
"eslint": "^8.28.0",
|
||||||
|
|||||||
438
examples/remix/pnpm-lock.yaml
generated
438
examples/remix/pnpm-lock.yaml
generated
@@ -4,28 +4,30 @@ importers:
|
|||||||
|
|
||||||
.:
|
.:
|
||||||
specifiers:
|
specifiers:
|
||||||
'@remix-run/dev': ^1.14.3
|
'@remix-run/dev': ^1.15.0
|
||||||
'@remix-run/eslint-config': ^1.14.3
|
'@remix-run/eslint-config': ^1.15.0
|
||||||
'@remix-run/react': ^1.14.3
|
'@remix-run/node': ^1.15.0
|
||||||
'@remix-run/serve': ^1.14.3
|
'@remix-run/react': ^1.15.0
|
||||||
|
'@remix-run/serve': ^1.15.0
|
||||||
'@types/react': ^18.0.25
|
'@types/react': ^18.0.25
|
||||||
'@types/react-dom': ^18.0.11
|
'@types/react-dom': ^18.0.11
|
||||||
'@vercel/analytics': ^0.1.11
|
'@vercel/analytics': ^0.1.11
|
||||||
'@vercel/remix': 1.14.3-patch.1
|
'@vercel/remix': ^1.15.0
|
||||||
eslint: ^8.28.0
|
eslint: ^8.28.0
|
||||||
react: ^18.2.0
|
react: ^18.2.0
|
||||||
react-dom: ^18.2.0
|
react-dom: ^18.2.0
|
||||||
typescript: ^4.9.3
|
typescript: ^4.9.3
|
||||||
dependencies:
|
dependencies:
|
||||||
'@remix-run/react': 1.14.3_biqbaboplfbrettd7655fr4n2y
|
'@remix-run/node': 1.15.0
|
||||||
'@remix-run/serve': 1.14.3
|
'@remix-run/react': 1.15.0_biqbaboplfbrettd7655fr4n2y
|
||||||
|
'@remix-run/serve': 1.15.0
|
||||||
'@vercel/analytics': 0.1.11_react@18.2.0
|
'@vercel/analytics': 0.1.11_react@18.2.0
|
||||||
'@vercel/remix': 1.14.3-patch.1_biqbaboplfbrettd7655fr4n2y
|
'@vercel/remix': 1.15.0_biqbaboplfbrettd7655fr4n2y
|
||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
react-dom: 18.2.0_react@18.2.0
|
react-dom: 18.2.0_react@18.2.0
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@remix-run/dev': 1.14.3_@remix-run+serve@1.14.3
|
'@remix-run/dev': 1.15.0_@remix-run+serve@1.15.0
|
||||||
'@remix-run/eslint-config': 1.14.3_km5ddj7uwb23cqeymeyvzjsfb4
|
'@remix-run/eslint-config': 1.15.0_km5ddj7uwb23cqeymeyvzjsfb4
|
||||||
'@types/react': 18.0.28
|
'@types/react': 18.0.28
|
||||||
'@types/react-dom': 18.0.11
|
'@types/react-dom': 18.0.11
|
||||||
eslint: 8.34.0
|
eslint: 8.34.0
|
||||||
@@ -1331,6 +1333,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/android-arm/0.17.6:
|
||||||
|
resolution: {integrity: sha512-bSC9YVUjADDy1gae8RrioINU6e1lCkg3VGVwm0QQ2E1CWcC4gnMce9+B6RpxuSsrsXsk1yojn7sp1fnG8erE2g==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [arm]
|
||||||
|
os: [android]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/android-arm64/0.16.3:
|
/@esbuild/android-arm64/0.16.3:
|
||||||
resolution: {integrity: sha512-RolFVeinkeraDvN/OoRf1F/lP0KUfGNb5jxy/vkIMeRRChkrX/HTYN6TYZosRJs3a1+8wqpxAo5PI5hFmxyPRg==}
|
resolution: {integrity: sha512-RolFVeinkeraDvN/OoRf1F/lP0KUfGNb5jxy/vkIMeRRChkrX/HTYN6TYZosRJs3a1+8wqpxAo5PI5hFmxyPRg==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1340,6 +1351,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/android-arm64/0.17.6:
|
||||||
|
resolution: {integrity: sha512-YnYSCceN/dUzUr5kdtUzB+wZprCafuD89Hs0Aqv9QSdwhYQybhXTaSTcrl6X/aWThn1a/j0eEpUBGOE7269REg==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [arm64]
|
||||||
|
os: [android]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/android-x64/0.16.3:
|
/@esbuild/android-x64/0.16.3:
|
||||||
resolution: {integrity: sha512-SFpTUcIT1bIJuCCBMCQWq1bL2gPTjWoLZdjmIhjdcQHaUfV41OQfho6Ici5uvvkMmZRXIUGpM3GxysP/EU7ifQ==}
|
resolution: {integrity: sha512-SFpTUcIT1bIJuCCBMCQWq1bL2gPTjWoLZdjmIhjdcQHaUfV41OQfho6Ici5uvvkMmZRXIUGpM3GxysP/EU7ifQ==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1349,6 +1369,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/android-x64/0.17.6:
|
||||||
|
resolution: {integrity: sha512-MVcYcgSO7pfu/x34uX9u2QIZHmXAB7dEiLQC5bBl5Ryqtpj9lT2sg3gNDEsrPEmimSJW2FXIaxqSQ501YLDsZQ==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [x64]
|
||||||
|
os: [android]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/darwin-arm64/0.16.3:
|
/@esbuild/darwin-arm64/0.16.3:
|
||||||
resolution: {integrity: sha512-DO8WykMyB+N9mIDfI/Hug70Dk1KipavlGAecxS3jDUwAbTpDXj0Lcwzw9svkhxfpCagDmpaTMgxWK8/C/XcXvw==}
|
resolution: {integrity: sha512-DO8WykMyB+N9mIDfI/Hug70Dk1KipavlGAecxS3jDUwAbTpDXj0Lcwzw9svkhxfpCagDmpaTMgxWK8/C/XcXvw==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1358,6 +1387,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/darwin-arm64/0.17.6:
|
||||||
|
resolution: {integrity: sha512-bsDRvlbKMQMt6Wl08nHtFz++yoZHsyTOxnjfB2Q95gato+Yi4WnRl13oC2/PJJA9yLCoRv9gqT/EYX0/zDsyMA==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [arm64]
|
||||||
|
os: [darwin]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/darwin-x64/0.16.3:
|
/@esbuild/darwin-x64/0.16.3:
|
||||||
resolution: {integrity: sha512-uEqZQ2omc6BvWqdCiyZ5+XmxuHEi1SPzpVxXCSSV2+Sh7sbXbpeNhHIeFrIpRjAs0lI1FmA1iIOxFozKBhKgRQ==}
|
resolution: {integrity: sha512-uEqZQ2omc6BvWqdCiyZ5+XmxuHEi1SPzpVxXCSSV2+Sh7sbXbpeNhHIeFrIpRjAs0lI1FmA1iIOxFozKBhKgRQ==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1367,6 +1405,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/darwin-x64/0.17.6:
|
||||||
|
resolution: {integrity: sha512-xh2A5oPrYRfMFz74QXIQTQo8uA+hYzGWJFoeTE8EvoZGHb+idyV4ATaukaUvnnxJiauhs/fPx3vYhU4wiGfosg==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [x64]
|
||||||
|
os: [darwin]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/freebsd-arm64/0.16.3:
|
/@esbuild/freebsd-arm64/0.16.3:
|
||||||
resolution: {integrity: sha512-nJansp3sSXakNkOD5i5mIz2Is/HjzIhFs49b1tjrPrpCmwgBmH9SSzhC/Z1UqlkivqMYkhfPwMw1dGFUuwmXhw==}
|
resolution: {integrity: sha512-nJansp3sSXakNkOD5i5mIz2Is/HjzIhFs49b1tjrPrpCmwgBmH9SSzhC/Z1UqlkivqMYkhfPwMw1dGFUuwmXhw==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1376,6 +1423,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/freebsd-arm64/0.17.6:
|
||||||
|
resolution: {integrity: sha512-EnUwjRc1inT4ccZh4pB3v1cIhohE2S4YXlt1OvI7sw/+pD+dIE4smwekZlEPIwY6PhU6oDWwITrQQm5S2/iZgg==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [arm64]
|
||||||
|
os: [freebsd]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/freebsd-x64/0.16.3:
|
/@esbuild/freebsd-x64/0.16.3:
|
||||||
resolution: {integrity: sha512-TfoDzLw+QHfc4a8aKtGSQ96Wa+6eimljjkq9HKR0rHlU83vw8aldMOUSJTUDxbcUdcgnJzPaX8/vGWm7vyV7ug==}
|
resolution: {integrity: sha512-TfoDzLw+QHfc4a8aKtGSQ96Wa+6eimljjkq9HKR0rHlU83vw8aldMOUSJTUDxbcUdcgnJzPaX8/vGWm7vyV7ug==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1385,6 +1441,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/freebsd-x64/0.17.6:
|
||||||
|
resolution: {integrity: sha512-Uh3HLWGzH6FwpviUcLMKPCbZUAFzv67Wj5MTwK6jn89b576SR2IbEp+tqUHTr8DIl0iDmBAf51MVaP7pw6PY5Q==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [x64]
|
||||||
|
os: [freebsd]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/linux-arm/0.16.3:
|
/@esbuild/linux-arm/0.16.3:
|
||||||
resolution: {integrity: sha512-VwswmSYwVAAq6LysV59Fyqk3UIjbhuc6wb3vEcJ7HEJUtFuLK9uXWuFoH1lulEbE4+5GjtHi3MHX+w1gNHdOWQ==}
|
resolution: {integrity: sha512-VwswmSYwVAAq6LysV59Fyqk3UIjbhuc6wb3vEcJ7HEJUtFuLK9uXWuFoH1lulEbE4+5GjtHi3MHX+w1gNHdOWQ==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1394,6 +1459,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/linux-arm/0.17.6:
|
||||||
|
resolution: {integrity: sha512-7YdGiurNt7lqO0Bf/U9/arrPWPqdPqcV6JCZda4LZgEn+PTQ5SMEI4MGR52Bfn3+d6bNEGcWFzlIxiQdS48YUw==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [arm]
|
||||||
|
os: [linux]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/linux-arm64/0.16.3:
|
/@esbuild/linux-arm64/0.16.3:
|
||||||
resolution: {integrity: sha512-7I3RlsnxEFCHVZNBLb2w7unamgZ5sVwO0/ikE2GaYvYuUQs9Qte/w7TqWcXHtCwxvZx/2+F97ndiUQAWs47ZfQ==}
|
resolution: {integrity: sha512-7I3RlsnxEFCHVZNBLb2w7unamgZ5sVwO0/ikE2GaYvYuUQs9Qte/w7TqWcXHtCwxvZx/2+F97ndiUQAWs47ZfQ==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1403,6 +1477,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/linux-arm64/0.17.6:
|
||||||
|
resolution: {integrity: sha512-bUR58IFOMJX523aDVozswnlp5yry7+0cRLCXDsxnUeQYJik1DukMY+apBsLOZJblpH+K7ox7YrKrHmJoWqVR9w==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [arm64]
|
||||||
|
os: [linux]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/linux-ia32/0.16.3:
|
/@esbuild/linux-ia32/0.16.3:
|
||||||
resolution: {integrity: sha512-X8FDDxM9cqda2rJE+iblQhIMYY49LfvW4kaEjoFbTTQ4Go8G96Smj2w3BRTwA8IHGoi9dPOPGAX63dhuv19UqA==}
|
resolution: {integrity: sha512-X8FDDxM9cqda2rJE+iblQhIMYY49LfvW4kaEjoFbTTQ4Go8G96Smj2w3BRTwA8IHGoi9dPOPGAX63dhuv19UqA==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1412,6 +1495,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/linux-ia32/0.17.6:
|
||||||
|
resolution: {integrity: sha512-ujp8uoQCM9FRcbDfkqECoARsLnLfCUhKARTP56TFPog8ie9JG83D5GVKjQ6yVrEVdMie1djH86fm98eY3quQkQ==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [ia32]
|
||||||
|
os: [linux]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/linux-loong64/0.16.3:
|
/@esbuild/linux-loong64/0.16.3:
|
||||||
resolution: {integrity: sha512-hIbeejCOyO0X9ujfIIOKjBjNAs9XD/YdJ9JXAy1lHA+8UXuOqbFe4ErMCqMr8dhlMGBuvcQYGF7+kO7waj2KHw==}
|
resolution: {integrity: sha512-hIbeejCOyO0X9ujfIIOKjBjNAs9XD/YdJ9JXAy1lHA+8UXuOqbFe4ErMCqMr8dhlMGBuvcQYGF7+kO7waj2KHw==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1421,6 +1513,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/linux-loong64/0.17.6:
|
||||||
|
resolution: {integrity: sha512-y2NX1+X/Nt+izj9bLoiaYB9YXT/LoaQFYvCkVD77G/4F+/yuVXYCWz4SE9yr5CBMbOxOfBcy/xFL4LlOeNlzYQ==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [loong64]
|
||||||
|
os: [linux]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/linux-mips64el/0.16.3:
|
/@esbuild/linux-mips64el/0.16.3:
|
||||||
resolution: {integrity: sha512-znFRzICT/V8VZQMt6rjb21MtAVJv/3dmKRMlohlShrbVXdBuOdDrGb+C2cZGQAR8RFyRe7HS6klmHq103WpmVw==}
|
resolution: {integrity: sha512-znFRzICT/V8VZQMt6rjb21MtAVJv/3dmKRMlohlShrbVXdBuOdDrGb+C2cZGQAR8RFyRe7HS6klmHq103WpmVw==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1430,6 +1531,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/linux-mips64el/0.17.6:
|
||||||
|
resolution: {integrity: sha512-09AXKB1HDOzXD+j3FdXCiL/MWmZP0Ex9eR8DLMBVcHorrWJxWmY8Nms2Nm41iRM64WVx7bA/JVHMv081iP2kUA==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [mips64el]
|
||||||
|
os: [linux]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/linux-ppc64/0.16.3:
|
/@esbuild/linux-ppc64/0.16.3:
|
||||||
resolution: {integrity: sha512-EV7LuEybxhXrVTDpbqWF2yehYRNz5e5p+u3oQUS2+ZFpknyi1NXxr8URk4ykR8Efm7iu04//4sBg249yNOwy5Q==}
|
resolution: {integrity: sha512-EV7LuEybxhXrVTDpbqWF2yehYRNz5e5p+u3oQUS2+ZFpknyi1NXxr8URk4ykR8Efm7iu04//4sBg249yNOwy5Q==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1439,6 +1549,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/linux-ppc64/0.17.6:
|
||||||
|
resolution: {integrity: sha512-AmLhMzkM8JuqTIOhxnX4ubh0XWJIznEynRnZAVdA2mMKE6FAfwT2TWKTwdqMG+qEaeyDPtfNoZRpJbD4ZBv0Tg==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [ppc64]
|
||||||
|
os: [linux]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/linux-riscv64/0.16.3:
|
/@esbuild/linux-riscv64/0.16.3:
|
||||||
resolution: {integrity: sha512-uDxqFOcLzFIJ+r/pkTTSE9lsCEaV/Y6rMlQjUI9BkzASEChYL/aSQjZjchtEmdnVxDKETnUAmsaZ4pqK1eE5BQ==}
|
resolution: {integrity: sha512-uDxqFOcLzFIJ+r/pkTTSE9lsCEaV/Y6rMlQjUI9BkzASEChYL/aSQjZjchtEmdnVxDKETnUAmsaZ4pqK1eE5BQ==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1448,6 +1567,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/linux-riscv64/0.17.6:
|
||||||
|
resolution: {integrity: sha512-Y4Ri62PfavhLQhFbqucysHOmRamlTVK10zPWlqjNbj2XMea+BOs4w6ASKwQwAiqf9ZqcY9Ab7NOU4wIgpxwoSQ==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [riscv64]
|
||||||
|
os: [linux]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/linux-s390x/0.16.3:
|
/@esbuild/linux-s390x/0.16.3:
|
||||||
resolution: {integrity: sha512-NbeREhzSxYwFhnCAQOQZmajsPYtX71Ufej3IQ8W2Gxskfz9DK58ENEju4SbpIj48VenktRASC52N5Fhyf/aliQ==}
|
resolution: {integrity: sha512-NbeREhzSxYwFhnCAQOQZmajsPYtX71Ufej3IQ8W2Gxskfz9DK58ENEju4SbpIj48VenktRASC52N5Fhyf/aliQ==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1457,6 +1585,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/linux-s390x/0.17.6:
|
||||||
|
resolution: {integrity: sha512-SPUiz4fDbnNEm3JSdUW8pBJ/vkop3M1YwZAVwvdwlFLoJwKEZ9L98l3tzeyMzq27CyepDQ3Qgoba44StgbiN5Q==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [s390x]
|
||||||
|
os: [linux]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/linux-x64/0.16.3:
|
/@esbuild/linux-x64/0.16.3:
|
||||||
resolution: {integrity: sha512-SDiG0nCixYO9JgpehoKgScwic7vXXndfasjnD5DLbp1xltANzqZ425l7LSdHynt19UWOcDjG9wJJzSElsPvk0w==}
|
resolution: {integrity: sha512-SDiG0nCixYO9JgpehoKgScwic7vXXndfasjnD5DLbp1xltANzqZ425l7LSdHynt19UWOcDjG9wJJzSElsPvk0w==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1466,6 +1603,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/linux-x64/0.17.6:
|
||||||
|
resolution: {integrity: sha512-a3yHLmOodHrzuNgdpB7peFGPx1iJ2x6m+uDvhP2CKdr2CwOaqEFMeSqYAHU7hG+RjCq8r2NFujcd/YsEsFgTGw==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [x64]
|
||||||
|
os: [linux]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/netbsd-x64/0.16.3:
|
/@esbuild/netbsd-x64/0.16.3:
|
||||||
resolution: {integrity: sha512-AzbsJqiHEq1I/tUvOfAzCY15h4/7Ivp3ff/o1GpP16n48JMNAtbW0qui2WCgoIZArEHD0SUQ95gvR0oSO7ZbdA==}
|
resolution: {integrity: sha512-AzbsJqiHEq1I/tUvOfAzCY15h4/7Ivp3ff/o1GpP16n48JMNAtbW0qui2WCgoIZArEHD0SUQ95gvR0oSO7ZbdA==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1475,6 +1621,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/netbsd-x64/0.17.6:
|
||||||
|
resolution: {integrity: sha512-EanJqcU/4uZIBreTrnbnre2DXgXSa+Gjap7ifRfllpmyAU7YMvaXmljdArptTHmjrkkKm9BK6GH5D5Yo+p6y5A==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [x64]
|
||||||
|
os: [netbsd]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/openbsd-x64/0.16.3:
|
/@esbuild/openbsd-x64/0.16.3:
|
||||||
resolution: {integrity: sha512-gSABi8qHl8k3Cbi/4toAzHiykuBuWLZs43JomTcXkjMZVkp0gj3gg9mO+9HJW/8GB5H89RX/V0QP4JGL7YEEVg==}
|
resolution: {integrity: sha512-gSABi8qHl8k3Cbi/4toAzHiykuBuWLZs43JomTcXkjMZVkp0gj3gg9mO+9HJW/8GB5H89RX/V0QP4JGL7YEEVg==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1484,6 +1639,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/openbsd-x64/0.17.6:
|
||||||
|
resolution: {integrity: sha512-xaxeSunhQRsTNGFanoOkkLtnmMn5QbA0qBhNet/XLVsc+OVkpIWPHcr3zTW2gxVU5YOHFbIHR9ODuaUdNza2Vw==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [x64]
|
||||||
|
os: [openbsd]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/sunos-x64/0.16.3:
|
/@esbuild/sunos-x64/0.16.3:
|
||||||
resolution: {integrity: sha512-SF9Kch5Ete4reovvRO6yNjMxrvlfT0F0Flm+NPoUw5Z4Q3r1d23LFTgaLwm3Cp0iGbrU/MoUI+ZqwCv5XJijCw==}
|
resolution: {integrity: sha512-SF9Kch5Ete4reovvRO6yNjMxrvlfT0F0Flm+NPoUw5Z4Q3r1d23LFTgaLwm3Cp0iGbrU/MoUI+ZqwCv5XJijCw==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1493,6 +1657,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/sunos-x64/0.17.6:
|
||||||
|
resolution: {integrity: sha512-gnMnMPg5pfMkZvhHee21KbKdc6W3GR8/JuE0Da1kjwpK6oiFU3nqfHuVPgUX2rsOx9N2SadSQTIYV1CIjYG+xw==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [x64]
|
||||||
|
os: [sunos]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/win32-arm64/0.16.3:
|
/@esbuild/win32-arm64/0.16.3:
|
||||||
resolution: {integrity: sha512-u5aBonZIyGopAZyOnoPAA6fGsDeHByZ9CnEzyML9NqntK6D/xl5jteZUKm/p6nD09+v3pTM6TuUIqSPcChk5gg==}
|
resolution: {integrity: sha512-u5aBonZIyGopAZyOnoPAA6fGsDeHByZ9CnEzyML9NqntK6D/xl5jteZUKm/p6nD09+v3pTM6TuUIqSPcChk5gg==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1502,6 +1675,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/win32-arm64/0.17.6:
|
||||||
|
resolution: {integrity: sha512-G95n7vP1UnGJPsVdKXllAJPtqjMvFYbN20e8RK8LVLhlTiSOH1sd7+Gt7rm70xiG+I5tM58nYgwWrLs6I1jHqg==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [arm64]
|
||||||
|
os: [win32]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/win32-ia32/0.16.3:
|
/@esbuild/win32-ia32/0.16.3:
|
||||||
resolution: {integrity: sha512-GlgVq1WpvOEhNioh74TKelwla9KDuAaLZrdxuuUgsP2vayxeLgVc+rbpIv0IYF4+tlIzq2vRhofV+KGLD+37EQ==}
|
resolution: {integrity: sha512-GlgVq1WpvOEhNioh74TKelwla9KDuAaLZrdxuuUgsP2vayxeLgVc+rbpIv0IYF4+tlIzq2vRhofV+KGLD+37EQ==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1511,6 +1693,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/win32-ia32/0.17.6:
|
||||||
|
resolution: {integrity: sha512-96yEFzLhq5bv9jJo5JhTs1gI+1cKQ83cUpyxHuGqXVwQtY5Eq54ZEsKs8veKtiKwlrNimtckHEkj4mRh4pPjsg==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [ia32]
|
||||||
|
os: [win32]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@esbuild/win32-x64/0.16.3:
|
/@esbuild/win32-x64/0.16.3:
|
||||||
resolution: {integrity: sha512-5/JuTd8OWW8UzEtyf19fbrtMJENza+C9JoPIkvItgTBQ1FO2ZLvjbPO6Xs54vk0s5JB5QsfieUEshRQfu7ZHow==}
|
resolution: {integrity: sha512-5/JuTd8OWW8UzEtyf19fbrtMJENza+C9JoPIkvItgTBQ1FO2ZLvjbPO6Xs54vk0s5JB5QsfieUEshRQfu7ZHow==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1520,6 +1711,15 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@esbuild/win32-x64/0.17.6:
|
||||||
|
resolution: {integrity: sha512-n6d8MOyUrNp6G4VSpRcgjs5xj4A91svJSaiwLIDWVWEsZtpN5FA9NlBbZHDmAJc2e8e6SF4tkBD3HAvPF+7igA==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
cpu: [x64]
|
||||||
|
os: [win32]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
/@eslint/eslintrc/1.4.1:
|
/@eslint/eslintrc/1.4.1:
|
||||||
resolution: {integrity: sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==}
|
resolution: {integrity: sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
@@ -1661,12 +1861,12 @@ packages:
|
|||||||
tslib: 2.5.0
|
tslib: 2.5.0
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@remix-run/dev/1.14.3_@remix-run+serve@1.14.3:
|
/@remix-run/dev/1.15.0_@remix-run+serve@1.15.0:
|
||||||
resolution: {integrity: sha512-46mmwiA/k9YDkg0UrP90UB3azVVWRXw16NLHRSbZiaaYe8XgUkddEtBnH/nBp/IrVCtzUL3LObplUe5sFk5Z9Q==}
|
resolution: {integrity: sha512-BsE1GN6WM9PhN+agZi4TqUIuYzoHYZrufEdXLg3ZEYxWXqvtRKUNfhsYSDlEhrW+D5fyVQhJrs61wQ83sEXHLQ==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@remix-run/serve': ^1.14.3
|
'@remix-run/serve': ^1.15.0
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
'@remix-run/serve':
|
'@remix-run/serve':
|
||||||
optional: true
|
optional: true
|
||||||
@@ -1682,9 +1882,9 @@ packages:
|
|||||||
'@babel/types': 7.20.7
|
'@babel/types': 7.20.7
|
||||||
'@esbuild-plugins/node-modules-polyfill': 0.1.4_esbuild@0.16.3
|
'@esbuild-plugins/node-modules-polyfill': 0.1.4_esbuild@0.16.3
|
||||||
'@npmcli/package-json': 2.0.0
|
'@npmcli/package-json': 2.0.0
|
||||||
'@remix-run/serve': 1.14.3
|
'@remix-run/serve': 1.15.0
|
||||||
'@remix-run/server-runtime': 1.14.3
|
'@remix-run/server-runtime': 1.15.0
|
||||||
'@vanilla-extract/integration': 6.1.0
|
'@vanilla-extract/integration': 6.2.1
|
||||||
arg: 5.0.2
|
arg: 5.0.2
|
||||||
cacache: 15.3.0
|
cacache: 15.3.0
|
||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
@@ -1697,6 +1897,7 @@ packages:
|
|||||||
fast-glob: 3.2.11
|
fast-glob: 3.2.11
|
||||||
fs-extra: 10.1.0
|
fs-extra: 10.1.0
|
||||||
get-port: 5.1.1
|
get-port: 5.1.1
|
||||||
|
glob-to-regexp: 0.4.1
|
||||||
gunzip-maybe: 1.4.2
|
gunzip-maybe: 1.4.2
|
||||||
inquirer: 8.2.5
|
inquirer: 8.2.5
|
||||||
jsesc: 3.0.2
|
jsesc: 3.0.2
|
||||||
@@ -1725,21 +1926,27 @@ packages:
|
|||||||
ws: 7.5.9
|
ws: 7.5.9
|
||||||
xdm: 2.1.0
|
xdm: 2.1.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
|
- '@types/node'
|
||||||
- bluebird
|
- bluebird
|
||||||
- bufferutil
|
- bufferutil
|
||||||
- encoding
|
- encoding
|
||||||
|
- less
|
||||||
|
- sass
|
||||||
|
- stylus
|
||||||
|
- sugarss
|
||||||
- supports-color
|
- supports-color
|
||||||
|
- terser
|
||||||
- ts-node
|
- ts-node
|
||||||
- utf-8-validate
|
- utf-8-validate
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@remix-run/eslint-config/1.14.3_km5ddj7uwb23cqeymeyvzjsfb4:
|
/@remix-run/eslint-config/1.15.0_km5ddj7uwb23cqeymeyvzjsfb4:
|
||||||
resolution: {integrity: sha512-Yy4PYSvAehj31LmkDA+lS5yCPL1lR9O04gMIo0xwHT2o59pF4QU54lEAvJJH+9MI0byZUI/v9DoGz1oGIb44IA==}
|
resolution: {integrity: sha512-nwCPK/4anLMDWJnBsrWL9Wfcy2eRDlKjGWZeYeozDpJnH9iG1vA5aow0OmcpblwgvAwcgSC8Gdb7P5uK4Xy5/Q==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
eslint: ^8.0.0
|
eslint: ^8.0.0
|
||||||
react: ^17.0.0 || ^18.0.0
|
react: ^17.0.0 || ^18.0.0
|
||||||
typescript: ^4.0.0
|
typescript: ^4.0.0 || ^5.0.0
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
typescript:
|
typescript:
|
||||||
optional: true
|
optional: true
|
||||||
@@ -1769,20 +1976,20 @@ packages:
|
|||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@remix-run/express/1.14.3_express@4.18.2:
|
/@remix-run/express/1.15.0_express@4.18.2:
|
||||||
resolution: {integrity: sha512-v3TT+zBFSnOiVTHNiLp5A783UVYyZYbePxmPhvoe9JwHCmzVDA9mfyxYgDl/8NPDtYS+dAPU7mQ+aE1M5MXc7g==}
|
resolution: {integrity: sha512-mvDZB03W6NqbtyVpeiJfmGQY1L7CX+KEfSIV/kNgyK+gAMAWhsioC/Vjlo4IFY3NvOD0rh9mxuC+/IPT6Al3uw==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
express: ^4.17.1
|
express: ^4.17.1
|
||||||
dependencies:
|
dependencies:
|
||||||
'@remix-run/node': 1.14.3
|
'@remix-run/node': 1.15.0
|
||||||
express: 4.18.2
|
express: 4.18.2
|
||||||
|
|
||||||
/@remix-run/node/1.14.3:
|
/@remix-run/node/1.15.0:
|
||||||
resolution: {integrity: sha512-Mq0wUtgJtGwMQEBr/8p9XpdPBm7N+lby5CEbW6IKV59UC9N3VMGY3snfrsphBCq3sNZfbhIpaDdu2W+8EoqfnQ==}
|
resolution: {integrity: sha512-CS0p8T6A2KvMoAW5zzLA/BtNNCsv34A5RJoouJvXK9/o6MriAQ/YSugg6ldS5mec49neSep+CGeL1RS6tL+3NQ==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@remix-run/server-runtime': 1.14.3
|
'@remix-run/server-runtime': 1.15.0
|
||||||
'@remix-run/web-fetch': 4.3.2
|
'@remix-run/web-fetch': 4.3.2
|
||||||
'@remix-run/web-file': 3.0.2
|
'@remix-run/web-file': 3.0.2
|
||||||
'@remix-run/web-stream': 1.0.3
|
'@remix-run/web-stream': 1.0.3
|
||||||
@@ -1792,41 +1999,41 @@ packages:
|
|||||||
source-map-support: 0.5.21
|
source-map-support: 0.5.21
|
||||||
stream-slice: 0.1.2
|
stream-slice: 0.1.2
|
||||||
|
|
||||||
/@remix-run/react/1.14.3_biqbaboplfbrettd7655fr4n2y:
|
/@remix-run/react/1.15.0_biqbaboplfbrettd7655fr4n2y:
|
||||||
resolution: {integrity: sha512-dvwIx+9ZdE/9LHe8Rjos9gEOdQFLvC0dojCnKlsUIwfGhyjKE4wOHfqS9mZcmKFCvOFDakcZDallLNGaj0mEYg==}
|
resolution: {integrity: sha512-S0RuIeHvQTqryCZ3KVl8EsIWCqL6/ky1/kmDpN2n5Pdjew2BLC6DX7OdrY1ZQjbzOMHAROsZlyaSSVXCItunag==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: '>=16.8'
|
react: '>=16.8'
|
||||||
react-dom: '>=16.8'
|
react-dom: '>=16.8'
|
||||||
dependencies:
|
dependencies:
|
||||||
'@remix-run/router': 1.3.3
|
'@remix-run/router': 1.5.0
|
||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
react-dom: 18.2.0_react@18.2.0
|
react-dom: 18.2.0_react@18.2.0
|
||||||
react-router-dom: 6.8.2_biqbaboplfbrettd7655fr4n2y
|
react-router-dom: 6.10.0_biqbaboplfbrettd7655fr4n2y
|
||||||
use-sync-external-store: 1.2.0_react@18.2.0
|
use-sync-external-store: 1.2.0_react@18.2.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@remix-run/router/1.3.3:
|
/@remix-run/router/1.5.0:
|
||||||
resolution: {integrity: sha512-YRHie1yQEj0kqqCTCJEfHqYSSNlZQ696QJG+MMiW4mxSl9I0ojz/eRhJS4fs88Z5i6D1SmoF9d3K99/QOhI8/w==}
|
resolution: {integrity: sha512-bkUDCp8o1MvFO+qxkODcbhSqRa6P2GXgrGZVpt0dCXNW2HCSCqYI0ZoAqEOSAjRWmmlKcYgFvN4B4S+zo/f8kg==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
|
|
||||||
/@remix-run/serve/1.14.3:
|
/@remix-run/serve/1.15.0:
|
||||||
resolution: {integrity: sha512-5So5+PtAaYZq3hc45snkCKIOh51Z45WvhHpRgB0ZsOuhUf6p9UAY9LQk7GRNvkcqL9LChE3LQ9O4gPqnUiZgpA==}
|
resolution: {integrity: sha512-j06vKhxtLSR3JpkcoBMPb1EeM6QrbbuTdDh4m0eY/D4QgUzba4ws6r3OzEGc5FMe5xSULO0YVd2QWlyqBlMIWQ==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@remix-run/express': 1.14.3_express@4.18.2
|
'@remix-run/express': 1.15.0_express@4.18.2
|
||||||
compression: 1.7.4
|
compression: 1.7.4
|
||||||
express: 4.18.2
|
express: 4.18.2
|
||||||
morgan: 1.10.0
|
morgan: 1.10.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
/@remix-run/server-runtime/1.14.3:
|
/@remix-run/server-runtime/1.15.0:
|
||||||
resolution: {integrity: sha512-qh8sxfLj/XW1u6rluN7yIgbvMCoKrVacYGUiPM7g0VHk8h8MlZGAIUfsWM45Poxo3X0uLhNuqqxMaPWldKawIQ==}
|
resolution: {integrity: sha512-DL9xjHfYYrEcOq5VbhYtrjJUWo/nFQAT7Y+Np/oC55HokyU6cb2jGhl52nx96aAxKwaFCse5N90GeodFsRzX7w==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@remix-run/router': 1.3.3
|
'@remix-run/router': 1.5.0
|
||||||
'@types/cookie': 0.4.1
|
'@types/cookie': 0.4.1
|
||||||
'@types/react': 18.0.28
|
'@types/react': 18.0.28
|
||||||
'@web3-storage/multipart-parser': 1.0.0
|
'@web3-storage/multipart-parser': 1.0.0
|
||||||
@@ -2170,16 +2377,16 @@ packages:
|
|||||||
eslint-visitor-keys: 3.3.0
|
eslint-visitor-keys: 3.3.0
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@vanilla-extract/babel-plugin-debug-ids/1.0.1:
|
/@vanilla-extract/babel-plugin-debug-ids/1.0.2:
|
||||||
resolution: {integrity: sha512-ynyKqsJiMzM1/yiIJ6QdqpWKlK4IMJJWREpPtaemZrE1xG1B4E/Nfa6YazuDWjDkCJC1tRIpEGnVs+pMIjUxyw==}
|
resolution: {integrity: sha512-LjnbQWGeMwaydmovx8jWUR8BxLtLiPyq0xz5C8G5OvFhsuJxvavLdrBHNNizvr1dq7/3qZGlPv0znsvU4P44YA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/core': 7.20.12
|
'@babel/core': 7.20.12
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@vanilla-extract/css/1.9.5:
|
/@vanilla-extract/css/1.11.0:
|
||||||
resolution: {integrity: sha512-aVSv6q24zelKRtWx/l9yshU3gD1uCDMZ2ZGcIiYnAcPfyLryrG/1X5DxtyiPKcyI/hZWoteHofsN//2q9MvzOA==}
|
resolution: {integrity: sha512-uohj+8cGWbnrVzTfrjlJeXqdGjH3d3TcscdQxKe3h5bb5QQXTpPSq+c+SeWADIGiZybzcW0CBvZV8jsy1ywY9w==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@emotion/hash': 0.9.0
|
'@emotion/hash': 0.9.0
|
||||||
'@vanilla-extract/private': 1.0.3
|
'@vanilla-extract/private': 1.0.3
|
||||||
@@ -2194,22 +2401,30 @@ packages:
|
|||||||
outdent: 0.8.0
|
outdent: 0.8.0
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@vanilla-extract/integration/6.1.0:
|
/@vanilla-extract/integration/6.2.1:
|
||||||
resolution: {integrity: sha512-7gDkOibk/DraG35ZpiAYqWd33wLA6YRnieC5vw7ItoFEzCv9bUaS9c+ZyktyWW3nRnL+e7Pc6FS6l7MKgEsX1w==}
|
resolution: {integrity: sha512-+xYJz07G7TFAMZGrOqArOsURG+xcYvqctujEkANjw2McCBvGEK505RxQqOuNiA9Mi9hgGdNp2JedSa94f3eoLg==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/core': 7.20.12
|
'@babel/core': 7.20.12
|
||||||
'@babel/plugin-syntax-typescript': 7.20.0_@babel+core@7.20.12
|
'@babel/plugin-syntax-typescript': 7.20.0_@babel+core@7.20.12
|
||||||
'@vanilla-extract/babel-plugin-debug-ids': 1.0.1
|
'@vanilla-extract/babel-plugin-debug-ids': 1.0.2
|
||||||
'@vanilla-extract/css': 1.9.5
|
'@vanilla-extract/css': 1.11.0
|
||||||
esbuild: 0.16.3
|
esbuild: 0.17.6
|
||||||
eval: 0.1.6
|
eval: 0.1.6
|
||||||
find-up: 5.0.0
|
find-up: 5.0.0
|
||||||
javascript-stringify: 2.1.0
|
javascript-stringify: 2.1.0
|
||||||
lodash: 4.17.21
|
lodash: 4.17.21
|
||||||
mlly: 1.1.0
|
mlly: 1.1.0
|
||||||
outdent: 0.8.0
|
outdent: 0.8.0
|
||||||
|
vite: 4.2.1
|
||||||
|
vite-node: 0.28.5
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
|
- '@types/node'
|
||||||
|
- less
|
||||||
|
- sass
|
||||||
|
- stylus
|
||||||
|
- sugarss
|
||||||
- supports-color
|
- supports-color
|
||||||
|
- terser
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@vanilla-extract/private/1.0.3:
|
/@vanilla-extract/private/1.0.3:
|
||||||
@@ -2224,16 +2439,16 @@ packages:
|
|||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@vercel/remix/1.14.3-patch.1_biqbaboplfbrettd7655fr4n2y:
|
/@vercel/remix/1.15.0_biqbaboplfbrettd7655fr4n2y:
|
||||||
resolution: {integrity: sha512-TBI/FS77HYZqjbgeABi7Rbg7RVQ1YLHcXm4/zroV4zl0nVbcXM2jVR3SXm0EuQKze+NZ0p3VBUz4I/xocTvq0w==}
|
resolution: {integrity: sha512-IS4K9u6M8oCc9VKxnS308+B0l+PHWxmBS6/o0aI2yBRQiG+yxxXn/UfPPvNDNJsfGsdcTmW/VR9dbN5EskY32g==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: '*'
|
react: '*'
|
||||||
react-dom: '*'
|
react-dom: '*'
|
||||||
dependencies:
|
dependencies:
|
||||||
'@remix-run/node': 1.14.3
|
'@remix-run/node': 1.15.0
|
||||||
'@remix-run/server-runtime': 1.14.3
|
'@remix-run/server-runtime': 1.15.0
|
||||||
isbot: 3.6.6
|
isbot: 3.6.7
|
||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
react-dom: 18.2.0_react@18.2.0
|
react-dom: 18.2.0_react@18.2.0
|
||||||
dev: false
|
dev: false
|
||||||
@@ -2594,6 +2809,11 @@ packages:
|
|||||||
resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==}
|
resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==}
|
||||||
engines: {node: '>= 0.8'}
|
engines: {node: '>= 0.8'}
|
||||||
|
|
||||||
|
/cac/6.7.14:
|
||||||
|
resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==}
|
||||||
|
engines: {node: '>=8'}
|
||||||
|
dev: true
|
||||||
|
|
||||||
/cacache/15.3.0:
|
/cacache/15.3.0:
|
||||||
resolution: {integrity: sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==}
|
resolution: {integrity: sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==}
|
||||||
engines: {node: '>= 10'}
|
engines: {node: '>= 10'}
|
||||||
@@ -3203,6 +3423,36 @@ packages:
|
|||||||
'@esbuild/win32-x64': 0.16.3
|
'@esbuild/win32-x64': 0.16.3
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/esbuild/0.17.6:
|
||||||
|
resolution: {integrity: sha512-TKFRp9TxrJDdRWfSsSERKEovm6v30iHnrjlcGhLBOtReE28Yp1VSBRfO3GTaOFMoxsNerx4TjrhzSuma9ha83Q==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
hasBin: true
|
||||||
|
requiresBuild: true
|
||||||
|
optionalDependencies:
|
||||||
|
'@esbuild/android-arm': 0.17.6
|
||||||
|
'@esbuild/android-arm64': 0.17.6
|
||||||
|
'@esbuild/android-x64': 0.17.6
|
||||||
|
'@esbuild/darwin-arm64': 0.17.6
|
||||||
|
'@esbuild/darwin-x64': 0.17.6
|
||||||
|
'@esbuild/freebsd-arm64': 0.17.6
|
||||||
|
'@esbuild/freebsd-x64': 0.17.6
|
||||||
|
'@esbuild/linux-arm': 0.17.6
|
||||||
|
'@esbuild/linux-arm64': 0.17.6
|
||||||
|
'@esbuild/linux-ia32': 0.17.6
|
||||||
|
'@esbuild/linux-loong64': 0.17.6
|
||||||
|
'@esbuild/linux-mips64el': 0.17.6
|
||||||
|
'@esbuild/linux-ppc64': 0.17.6
|
||||||
|
'@esbuild/linux-riscv64': 0.17.6
|
||||||
|
'@esbuild/linux-s390x': 0.17.6
|
||||||
|
'@esbuild/linux-x64': 0.17.6
|
||||||
|
'@esbuild/netbsd-x64': 0.17.6
|
||||||
|
'@esbuild/openbsd-x64': 0.17.6
|
||||||
|
'@esbuild/sunos-x64': 0.17.6
|
||||||
|
'@esbuild/win32-arm64': 0.17.6
|
||||||
|
'@esbuild/win32-ia32': 0.17.6
|
||||||
|
'@esbuild/win32-x64': 0.17.6
|
||||||
|
dev: true
|
||||||
|
|
||||||
/escalade/3.1.1:
|
/escalade/3.1.1:
|
||||||
resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==}
|
resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==}
|
||||||
engines: {node: '>=6'}
|
engines: {node: '>=6'}
|
||||||
@@ -4016,6 +4266,10 @@ packages:
|
|||||||
is-glob: 4.0.3
|
is-glob: 4.0.3
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/glob-to-regexp/0.4.1:
|
||||||
|
resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==}
|
||||||
|
dev: true
|
||||||
|
|
||||||
/glob/7.2.3:
|
/glob/7.2.3:
|
||||||
resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
|
resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -4605,8 +4859,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==}
|
resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/isbot/3.6.6:
|
/isbot/3.6.7:
|
||||||
resolution: {integrity: sha512-98aGl1Spbx1led422YFrusDJ4ZutSNOymb2avZ2V4BCCjF3MqAF2k+J2zoaLYahubaFkb+3UyvbVDVlk/Ngrew==}
|
resolution: {integrity: sha512-SXNUQaNZlj/+9jdrGnAp6WW0YoHe3MIwwc6oRIYuhhERBUt7/L6I7JkMiA2sX9fcvS7gZ2C7GWgmDZfOOU4I5g==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
@@ -6029,26 +6283,26 @@ packages:
|
|||||||
engines: {node: '>=0.10.0'}
|
engines: {node: '>=0.10.0'}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/react-router-dom/6.8.2_biqbaboplfbrettd7655fr4n2y:
|
/react-router-dom/6.10.0_biqbaboplfbrettd7655fr4n2y:
|
||||||
resolution: {integrity: sha512-N/oAF1Shd7g4tWy+75IIufCGsHBqT74tnzHQhbiUTYILYF0Blk65cg+HPZqwC+6SqEyx033nKqU7by38v3lBZg==}
|
resolution: {integrity: sha512-E5dfxRPuXKJqzwSe/qGcqdwa18QiWC6f3H3cWXM24qj4N0/beCIf/CWTipop2xm7mR0RCS99NnaqPNjHtrAzCg==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: '>=16.8'
|
react: '>=16.8'
|
||||||
react-dom: '>=16.8'
|
react-dom: '>=16.8'
|
||||||
dependencies:
|
dependencies:
|
||||||
'@remix-run/router': 1.3.3
|
'@remix-run/router': 1.5.0
|
||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
react-dom: 18.2.0_react@18.2.0
|
react-dom: 18.2.0_react@18.2.0
|
||||||
react-router: 6.8.2_react@18.2.0
|
react-router: 6.10.0_react@18.2.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/react-router/6.8.2_react@18.2.0:
|
/react-router/6.10.0_react@18.2.0:
|
||||||
resolution: {integrity: sha512-lF7S0UmXI5Pd8bmHvMdPKI4u4S5McxmHnzJhrYi9ZQ6wE+DA8JN5BzVC5EEBuduWWDaiJ8u6YhVOCmThBli+rw==}
|
resolution: {integrity: sha512-Nrg0BWpQqrC3ZFFkyewrflCud9dio9ME3ojHCF/WLsprJVzkq3q3UeEhMCAW1dobjeGbWgjNn/PVF6m46ANxXQ==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: '>=16.8'
|
react: '>=16.8'
|
||||||
dependencies:
|
dependencies:
|
||||||
'@remix-run/router': 1.3.3
|
'@remix-run/router': 1.5.0
|
||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
@@ -6280,6 +6534,14 @@ packages:
|
|||||||
estree-walker: 0.6.1
|
estree-walker: 0.6.1
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/rollup/3.20.2:
|
||||||
|
resolution: {integrity: sha512-3zwkBQl7Ai7MFYQE0y1MeQ15+9jsi7XxfrqwTb/9EK8D9C9+//EBR4M+CuA1KODRaNbFez/lWxA5vhEGZp4MUg==}
|
||||||
|
engines: {node: '>=14.18.0', npm: '>=8.0.0'}
|
||||||
|
hasBin: true
|
||||||
|
optionalDependencies:
|
||||||
|
fsevents: 2.3.2
|
||||||
|
dev: true
|
||||||
|
|
||||||
/run-async/2.4.1:
|
/run-async/2.4.1:
|
||||||
resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==}
|
resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==}
|
||||||
engines: {node: '>=0.12.0'}
|
engines: {node: '>=0.12.0'}
|
||||||
@@ -7006,6 +7268,62 @@ packages:
|
|||||||
vfile-message: 3.1.4
|
vfile-message: 3.1.4
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/vite-node/0.28.5:
|
||||||
|
resolution: {integrity: sha512-LmXb9saMGlrMZbXTvOveJKwMTBTNUH66c8rJnQ0ZPNX+myPEol64+szRzXtV5ORb0Hb/91yq+/D3oERoyAt6LA==}
|
||||||
|
engines: {node: '>=v14.16.0'}
|
||||||
|
hasBin: true
|
||||||
|
dependencies:
|
||||||
|
cac: 6.7.14
|
||||||
|
debug: 4.3.4
|
||||||
|
mlly: 1.1.0
|
||||||
|
pathe: 1.1.0
|
||||||
|
picocolors: 1.0.0
|
||||||
|
source-map: 0.6.1
|
||||||
|
source-map-support: 0.5.21
|
||||||
|
vite: 4.2.1
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- '@types/node'
|
||||||
|
- less
|
||||||
|
- sass
|
||||||
|
- stylus
|
||||||
|
- sugarss
|
||||||
|
- supports-color
|
||||||
|
- terser
|
||||||
|
dev: true
|
||||||
|
|
||||||
|
/vite/4.2.1:
|
||||||
|
resolution: {integrity: sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==}
|
||||||
|
engines: {node: ^14.18.0 || >=16.0.0}
|
||||||
|
hasBin: true
|
||||||
|
peerDependencies:
|
||||||
|
'@types/node': '>= 14'
|
||||||
|
less: '*'
|
||||||
|
sass: '*'
|
||||||
|
stylus: '*'
|
||||||
|
sugarss: '*'
|
||||||
|
terser: ^5.4.0
|
||||||
|
peerDependenciesMeta:
|
||||||
|
'@types/node':
|
||||||
|
optional: true
|
||||||
|
less:
|
||||||
|
optional: true
|
||||||
|
sass:
|
||||||
|
optional: true
|
||||||
|
stylus:
|
||||||
|
optional: true
|
||||||
|
sugarss:
|
||||||
|
optional: true
|
||||||
|
terser:
|
||||||
|
optional: true
|
||||||
|
dependencies:
|
||||||
|
esbuild: 0.17.6
|
||||||
|
postcss: 8.4.21
|
||||||
|
resolve: 1.22.1
|
||||||
|
rollup: 3.20.2
|
||||||
|
optionalDependencies:
|
||||||
|
fsevents: 2.3.2
|
||||||
|
dev: true
|
||||||
|
|
||||||
/vm2/3.9.14:
|
/vm2/3.9.14:
|
||||||
resolution: {integrity: sha512-HgvPHYHeQy8+QhzlFryvSteA4uQLBCOub02mgqdR+0bN/akRZ48TGB1v0aCv7ksyc0HXx16AZtMHKS38alc6TA==}
|
resolution: {integrity: sha512-HgvPHYHeQy8+QhzlFryvSteA4uQLBCOub02mgqdR+0bN/akRZ48TGB1v0aCv7ksyc0HXx16AZtMHKS38alc6TA==}
|
||||||
engines: {node: '>=6.0'}
|
engines: {node: '>=6.0'}
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ function sendToAnalytics(metric, options) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (options.debug) {
|
if (options.debug) {
|
||||||
console.log('[Analytics]', metric.name, JSON.stringify(body, null, 2));
|
console.log('[Web Vitals]', metric.name, JSON.stringify(body, null, 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
const blob = new Blob([new URLSearchParams(body).toString()], {
|
const blob = new Blob([new URLSearchParams(body).toString()], {
|
||||||
@@ -61,6 +61,6 @@ export function webVitals(options) {
|
|||||||
getCLS((metric) => sendToAnalytics(metric, options));
|
getCLS((metric) => sendToAnalytics(metric, options));
|
||||||
getFCP((metric) => sendToAnalytics(metric, options));
|
getFCP((metric) => sendToAnalytics(metric, options));
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error('[Analytics]', err);
|
console.error('[Web Vitals]', err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"name": "@vercel-internals/utils",
|
"name": "@vercel-internals/constants",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"files": [
|
|
||||||
"dist"
|
|
||||||
],
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc -p tsconfig.json"
|
"build": "tsc -p tsconfig.json"
|
||||||
},
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@vercel/build-utils": "6.3.2",
|
||||||
|
"@vercel/routing-utils": "2.1.10"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vercel-internals/tsconfig": "*",
|
"@vercel-internals/tsconfig": "*",
|
||||||
"@vercel/style-guide": "4.0.2",
|
"@vercel/style-guide": "4.0.2",
|
||||||
5
internals/constants/src/index.ts
Normal file
5
internals/constants/src/index.ts
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
export const PROJECT_ENV_TARGET = [
|
||||||
|
'production',
|
||||||
|
'preview',
|
||||||
|
'development',
|
||||||
|
] as const;
|
||||||
7
internals/constants/tsconfig.json
Normal file
7
internals/constants/tsconfig.json
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"extends": "@vercel-internals/tsconfig",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./dist"
|
||||||
|
},
|
||||||
|
"include": ["src/**/*.ts"]
|
||||||
|
}
|
||||||
28
internals/get-package-json/package.json
Normal file
28
internals/get-package-json/package.json
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"private": true,
|
||||||
|
"name": "@vercel-internals/get-package-json",
|
||||||
|
"types": "dist/index.d.ts",
|
||||||
|
"main": "dist/index.js",
|
||||||
|
"files": [
|
||||||
|
"dist/*"
|
||||||
|
],
|
||||||
|
"scripts": {
|
||||||
|
"build": "tsc",
|
||||||
|
"test": "jest --env node --verbose --runInBand --bail",
|
||||||
|
"test-unit": "pnpm test tests/unit"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/jest": "29.5.0",
|
||||||
|
"@types/node": "14.14.31",
|
||||||
|
"@vercel-internals/tsconfig": "*",
|
||||||
|
"@vercel/style-guide": "4.0.2",
|
||||||
|
"jest": "29.5.0",
|
||||||
|
"ts-jest": "29.1.0",
|
||||||
|
"typescript": "4.9.4"
|
||||||
|
},
|
||||||
|
"jest": {
|
||||||
|
"verbose": true,
|
||||||
|
"preset": "ts-jest",
|
||||||
|
"testEnvironment": "node"
|
||||||
|
}
|
||||||
|
}
|
||||||
58
internals/get-package-json/src/index.ts
Normal file
58
internals/get-package-json/src/index.ts
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
import fs from 'fs';
|
||||||
|
import path from 'path';
|
||||||
|
|
||||||
|
const cache = new Map();
|
||||||
|
|
||||||
|
function getPackageJSONPath(dir: string) {
|
||||||
|
return path.join(dir, 'package.json');
|
||||||
|
}
|
||||||
|
|
||||||
|
function captureCallerCallSite() {
|
||||||
|
const _prepareStackTrace = Error.prepareStackTrace;
|
||||||
|
|
||||||
|
let callSite;
|
||||||
|
try {
|
||||||
|
Error.prepareStackTrace = (_, stack) => stack;
|
||||||
|
|
||||||
|
// The `stack` reference above is of type `Array<NodeJS.CallSite>`
|
||||||
|
const callSites = new Error().stack as unknown as Array<NodeJS.CallSite>;
|
||||||
|
|
||||||
|
// TypeScript rule noUncheckedIndexedAccess makes `callSites[2]` potentially
|
||||||
|
// undefined; however, we can safely assert it is not undefined as the
|
||||||
|
// callstack will always have at least 3 entries, the first being this
|
||||||
|
// function, the second being `getPackageJSON`, and the third wherever its
|
||||||
|
// being called from.
|
||||||
|
callSite = callSites[2]!;
|
||||||
|
} finally {
|
||||||
|
Error.prepareStackTrace = _prepareStackTrace;
|
||||||
|
}
|
||||||
|
|
||||||
|
return callSite;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function getPackageJSON() {
|
||||||
|
const callSite = captureCallerCallSite();
|
||||||
|
// Get the file name of where this function was called. It is guaranteed that
|
||||||
|
// the only way for `getFileName` to return `undefined` is if this function is
|
||||||
|
// called using `eval` thus it is safe to assert `filePath` is defined at this
|
||||||
|
// point.
|
||||||
|
const filePath = (callSite.getFileName() ||
|
||||||
|
callSite.getEvalOrigin()) as string;
|
||||||
|
|
||||||
|
let rootDir = path.dirname(filePath);
|
||||||
|
|
||||||
|
let packageJSONPath = getPackageJSONPath(rootDir);
|
||||||
|
while (!fs.existsSync(packageJSONPath)) {
|
||||||
|
rootDir = path.join(rootDir, '..');
|
||||||
|
packageJSONPath = getPackageJSONPath(rootDir);
|
||||||
|
}
|
||||||
|
|
||||||
|
let packageJSON = cache.get(packageJSONPath);
|
||||||
|
|
||||||
|
if (!packageJSON) {
|
||||||
|
packageJSON = JSON.parse(fs.readFileSync(packageJSONPath, 'utf-8'));
|
||||||
|
cache.set(packageJSONPath, packageJSON);
|
||||||
|
}
|
||||||
|
|
||||||
|
return packageJSON;
|
||||||
|
}
|
||||||
7
internals/get-package-json/tests/tsconfig.json
Normal file
7
internals/get-package-json/tests/tsconfig.json
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"extends": "../tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"noEmit": true
|
||||||
|
},
|
||||||
|
"include": ["./**/*.ts"]
|
||||||
|
}
|
||||||
20
internals/get-package-json/tests/unit/cache.test.ts
Normal file
20
internals/get-package-json/tests/unit/cache.test.ts
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
import { getPackageJSON } from '../../src/index';
|
||||||
|
import fs from 'fs';
|
||||||
|
import path from 'path';
|
||||||
|
|
||||||
|
test('getPackageJSON caches read operations', () => {
|
||||||
|
const expected = JSON.parse(
|
||||||
|
fs.readFileSync(path.join(__dirname, '../../package.json'), 'utf-8')
|
||||||
|
);
|
||||||
|
expect(expected.name).toBe('@vercel-internals/get-package-json');
|
||||||
|
|
||||||
|
const readFileSyncSpy = jest.spyOn(fs, 'readFileSync');
|
||||||
|
|
||||||
|
const actual = getPackageJSON();
|
||||||
|
expect(actual).toStrictEqual(expected);
|
||||||
|
expect(readFileSyncSpy).toBeCalledTimes(1);
|
||||||
|
|
||||||
|
const cacheHit = getPackageJSON();
|
||||||
|
expect(cacheHit).toStrictEqual(expected);
|
||||||
|
expect(readFileSyncSpy).toBeCalledTimes(1);
|
||||||
|
});
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
import { getPackageJSON } from '../../../../../src/index';
|
||||||
|
import fs from 'fs';
|
||||||
|
import path from 'path';
|
||||||
|
|
||||||
|
test('getPackageJSON should return the package.json', () => {
|
||||||
|
const expected = JSON.parse(
|
||||||
|
fs.readFileSync(path.join(__dirname, '../../package.json'), 'utf-8')
|
||||||
|
);
|
||||||
|
expect(expected.name).toBe('deeply-nested');
|
||||||
|
const actual = getPackageJSON();
|
||||||
|
expect(actual).toStrictEqual(expected);
|
||||||
|
});
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"name": "deeply-nested",
|
||||||
|
"private": true
|
||||||
|
}
|
||||||
12
internals/get-package-json/tests/unit/getPackageJSON.test.ts
Normal file
12
internals/get-package-json/tests/unit/getPackageJSON.test.ts
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
import { getPackageJSON } from '../../src/index';
|
||||||
|
import fs from 'fs';
|
||||||
|
import path from 'path';
|
||||||
|
|
||||||
|
test('getPackageJSON should return the package.json', () => {
|
||||||
|
const expected = JSON.parse(
|
||||||
|
fs.readFileSync(path.join(__dirname, '../../package.json'), 'utf-8')
|
||||||
|
);
|
||||||
|
expect(expected.name).toBe('@vercel-internals/get-package-json');
|
||||||
|
const actual = getPackageJSON();
|
||||||
|
expect(actual).toStrictEqual(expected);
|
||||||
|
});
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
import { getPackageJSON } from '../../../src/index';
|
||||||
|
import fs from 'fs';
|
||||||
|
import path from 'path';
|
||||||
|
|
||||||
|
test('getPackageJSON should return the package.json', () => {
|
||||||
|
const expected = JSON.parse(
|
||||||
|
fs.readFileSync(path.join(__dirname, 'package.json'), 'utf-8')
|
||||||
|
);
|
||||||
|
expect(expected.name).toBe('nested');
|
||||||
|
const actual = getPackageJSON();
|
||||||
|
expect(actual).toStrictEqual(expected);
|
||||||
|
});
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"name": "nested",
|
||||||
|
"private": true
|
||||||
|
}
|
||||||
@@ -4,6 +4,7 @@
|
|||||||
"declaration": true,
|
"declaration": true,
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
|
"target": "ES2020",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"lib": ["ES2020"],
|
"lib": ["ES2020"],
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
import type { BuilderFunctions } from '@vercel/build-utils';
|
import type { BuilderFunctions } from '@vercel/build-utils';
|
||||||
import type { Readable, Writable } from 'stream';
|
import type { Readable, Writable } from 'stream';
|
||||||
import type { Route } from '@vercel/routing-utils';
|
import type { Route } from '@vercel/routing-utils';
|
||||||
|
import { PROJECT_ENV_TARGET } from '@vercel-internals/constants';
|
||||||
|
|
||||||
|
export type ProjectEnvTarget = typeof PROJECT_ENV_TARGET[number];
|
||||||
|
export type ProjectEnvType = 'plain' | 'secret' | 'encrypted' | 'system';
|
||||||
|
|
||||||
export type ProjectSettings = import('@vercel/build-utils').ProjectSettings;
|
export type ProjectSettings = import('@vercel/build-utils').ProjectSettings;
|
||||||
|
|
||||||
@@ -300,20 +304,6 @@ export interface Secret {
|
|||||||
createdAt: number;
|
createdAt: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO (Ethan-Arrowood) - Replace enums
|
|
||||||
export enum ProjectEnvTarget {
|
|
||||||
Production = 'production',
|
|
||||||
Preview = 'preview',
|
|
||||||
Development = 'development',
|
|
||||||
}
|
|
||||||
|
|
||||||
export enum ProjectEnvType {
|
|
||||||
Plaintext = 'plain',
|
|
||||||
Secret = 'secret',
|
|
||||||
Encrypted = 'encrypted',
|
|
||||||
System = 'system',
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProjectEnvVariable {
|
export interface ProjectEnvVariable {
|
||||||
id: string;
|
id: string;
|
||||||
key: string;
|
key: string;
|
||||||
@@ -428,7 +418,7 @@ export interface GitMetadata {
|
|||||||
commitRef?: string | undefined;
|
commitRef?: string | undefined;
|
||||||
commitSha?: string | undefined;
|
commitSha?: string | undefined;
|
||||||
dirty?: boolean | undefined;
|
dirty?: boolean | undefined;
|
||||||
remoteUrl: string;
|
remoteUrl?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1,15 +1,11 @@
|
|||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"name": "@vercel-internals/types",
|
"name": "@vercel-internals/types",
|
||||||
"types": "dist/index.d.ts",
|
"types": "index.d.ts",
|
||||||
"main": "dist/index.js",
|
"main": "index.d.ts",
|
||||||
"files": [
|
|
||||||
"dist"
|
|
||||||
],
|
|
||||||
"scripts": {
|
|
||||||
"build": "tsc -p tsconfig.json"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@types/node": "14.14.31",
|
||||||
|
"@vercel-internals/constants": "*",
|
||||||
"@vercel/build-utils": "6.3.2",
|
"@vercel/build-utils": "6.3.2",
|
||||||
"@vercel/routing-utils": "2.1.10"
|
"@vercel/routing-utils": "2.1.10"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"extends": "@vercel-internals/tsconfig",
|
"extends": "@vercel-internals/tsconfig",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./dist"
|
"noEmit": true
|
||||||
},
|
},
|
||||||
"include": ["index.ts"]
|
"include": ["index.d.ts"]
|
||||||
}
|
}
|
||||||
|
|||||||
20
package.json
20
package.json
@@ -3,7 +3,7 @@
|
|||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"packageManager": "pnpm@7.24.2",
|
"packageManager": "pnpm@8.3.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lerna": "5.6.2"
|
"lerna": "5.6.2"
|
||||||
},
|
},
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
"execa": "3.2.0",
|
"execa": "3.2.0",
|
||||||
"fs-extra": "11.1.0",
|
"fs-extra": "11.1.0",
|
||||||
"husky": "7.0.4",
|
"husky": "7.0.4",
|
||||||
"jest": "28.0.2",
|
"jest": "29.5.0",
|
||||||
"json5": "2.1.1",
|
"json5": "2.1.1",
|
||||||
"lint-staged": "9.2.5",
|
"lint-staged": "9.2.5",
|
||||||
"node-fetch": "2.6.7",
|
"node-fetch": "2.6.7",
|
||||||
@@ -31,25 +31,25 @@
|
|||||||
"prettier": "2.6.2",
|
"prettier": "2.6.2",
|
||||||
"source-map-support": "0.5.12",
|
"source-map-support": "0.5.12",
|
||||||
"ts-eager": "2.0.2",
|
"ts-eager": "2.0.2",
|
||||||
"ts-jest": "28.0.5",
|
"ts-jest": "29.1.0",
|
||||||
"turbo": "1.8.3"
|
"typescript": "4.9.5",
|
||||||
|
"turbo": "1.9.3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lerna": "lerna",
|
"lerna": "lerna",
|
||||||
"version": "pnpm install && git add pnpm-lock.yaml",
|
"version": "pnpm install && git add pnpm-lock.yaml",
|
||||||
"bootstrap": "lerna bootstrap",
|
"bootstrap": "lerna bootstrap",
|
||||||
"publish-stable": "echo 'Run `pnpm changelog` for instructions'",
|
"publish-stable": "echo 'Run `pnpm changelog` for instructions'",
|
||||||
"publish-canary": "git checkout main && git pull && lerna version prerelease --preid canary --message \"Publish Canary\" --exact",
|
|
||||||
"publish-from-github": "./utils/publish.sh",
|
"publish-from-github": "./utils/publish.sh",
|
||||||
"changelog": "node utils/changelog.js",
|
"changelog": "node utils/changelog.js",
|
||||||
"build": "node utils/gen.js && turbo run build",
|
"build": "node utils/gen.js && turbo --no-update-notifier run build",
|
||||||
"vercel-build": "pnpm build && pnpm run pack && cd api && node -r ts-eager/register ./_lib/script/build.ts",
|
"vercel-build": "pnpm build && pnpm run pack && cd api && node -r ts-eager/register ./_lib/script/build.ts",
|
||||||
"pre-commit": "lint-staged",
|
"pre-commit": "lint-staged",
|
||||||
"test": "jest --rootDir=\"test\" --testPathPattern=\"\\.test.js\"",
|
"test": "jest --rootDir=\"test\" --testPathPattern=\"\\.test.js\"",
|
||||||
"test-unit": "pnpm test && node utils/gen.js && turbo run test-unit",
|
"test-unit": "pnpm test && node utils/gen.js && turbo --no-update-notifier run test-unit",
|
||||||
"test-cli": "node utils/gen.js && turbo run test-cli",
|
"test-cli": "node utils/gen.js && turbo --no-update-notifier run test-cli",
|
||||||
"test-e2e": "node utils/gen.js && turbo run test-e2e",
|
"test-e2e": "node utils/gen.js && turbo --no-update-notifier run test-e2e",
|
||||||
"test-dev": "node utils/gen.js && turbo run test-dev",
|
"test-dev": "node utils/gen.js && turbo --no-update-notifier run test-dev",
|
||||||
"lint": "eslint . --cache --ext .ts,.js",
|
"lint": "eslint . --cache --ext .ts,.js",
|
||||||
"prettier-check": "prettier --check .",
|
"prettier-check": "prettier --check .",
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@vercel/build-utils",
|
"name": "@vercel/build-utils",
|
||||||
"version": "6.5.0",
|
"version": "6.7.2",
|
||||||
"license": "MIT",
|
"license": "Apache-2.0",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"types": "./dist/index.d.js",
|
"types": "./dist/index.d.js",
|
||||||
"homepage": "https://github.com/vercel/vercel/blob/main/DEVELOPING_A_RUNTIME.md",
|
"homepage": "https://github.com/vercel/vercel/blob/main/DEVELOPING_A_RUNTIME.md",
|
||||||
@@ -32,6 +32,7 @@
|
|||||||
"@types/node-fetch": "^2.1.6",
|
"@types/node-fetch": "^2.1.6",
|
||||||
"@types/semver": "6.0.0",
|
"@types/semver": "6.0.0",
|
||||||
"@types/yazl": "2.4.2",
|
"@types/yazl": "2.4.2",
|
||||||
|
"@vercel/error-utils": "1.0.10",
|
||||||
"@vercel/ncc": "0.24.0",
|
"@vercel/ncc": "0.24.0",
|
||||||
"aggregate-error": "3.0.1",
|
"aggregate-error": "3.0.1",
|
||||||
"async-retry": "1.2.3",
|
"async-retry": "1.2.3",
|
||||||
@@ -44,11 +45,11 @@
|
|||||||
"ignore": "4.0.6",
|
"ignore": "4.0.6",
|
||||||
"into-stream": "5.0.0",
|
"into-stream": "5.0.0",
|
||||||
"js-yaml": "3.13.1",
|
"js-yaml": "3.13.1",
|
||||||
"minimatch": "3.0.4",
|
"minimatch": "3.1.2",
|
||||||
"multistream": "2.1.1",
|
"multistream": "2.1.1",
|
||||||
"node-fetch": "2.6.7",
|
"node-fetch": "2.6.7",
|
||||||
"semver": "6.1.1",
|
"semver": "6.1.1",
|
||||||
"typescript": "4.3.4",
|
"typescript": "4.9.5",
|
||||||
"yazl": "2.5.1"
|
"yazl": "2.5.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,14 +1,18 @@
|
|||||||
import yaml from 'js-yaml';
|
import yaml from 'js-yaml';
|
||||||
import toml from '@iarna/toml';
|
import toml from '@iarna/toml';
|
||||||
import { readFile } from 'fs-extra';
|
import { readFile } from 'fs-extra';
|
||||||
|
import { isErrnoException } from '@vercel/error-utils';
|
||||||
|
|
||||||
async function readFileOrNull(file: string) {
|
async function readFileOrNull(file: string) {
|
||||||
try {
|
try {
|
||||||
const data = await readFile(file);
|
const data = await readFile(file);
|
||||||
return data;
|
return data;
|
||||||
} catch (err) {
|
} catch (error: unknown) {
|
||||||
if (err.code !== 'ENOENT') {
|
if (!isErrnoException(error)) {
|
||||||
throw err;
|
throw error;
|
||||||
|
}
|
||||||
|
if (error.code !== 'ENOENT') {
|
||||||
|
throw error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -487,6 +487,7 @@ export function getEnvForPackageManager({
|
|||||||
const oldPath = env.PATH + '';
|
const oldPath = env.PATH + '';
|
||||||
const npm7 = '/node16/bin-npm7';
|
const npm7 = '/node16/bin-npm7';
|
||||||
const pnpm7 = '/pnpm7/node_modules/.bin';
|
const pnpm7 = '/pnpm7/node_modules/.bin';
|
||||||
|
const pnpm8 = '/pnpm8/node_modules/.bin';
|
||||||
const corepackEnabled = env.ENABLE_EXPERIMENTAL_COREPACK === '1';
|
const corepackEnabled = env.ENABLE_EXPERIMENTAL_COREPACK === '1';
|
||||||
if (cliType === 'npm') {
|
if (cliType === 'npm') {
|
||||||
if (
|
if (
|
||||||
@@ -509,7 +510,20 @@ export function getEnvForPackageManager({
|
|||||||
) {
|
) {
|
||||||
// Ensure that pnpm 7 is at the beginning of the `$PATH`
|
// Ensure that pnpm 7 is at the beginning of the `$PATH`
|
||||||
newEnv.PATH = `${pnpm7}${path.delimiter}${oldPath}`;
|
newEnv.PATH = `${pnpm7}${path.delimiter}${oldPath}`;
|
||||||
console.log('Detected `pnpm-lock.yaml` generated by pnpm 7...');
|
console.log(
|
||||||
|
`Detected \`pnpm-lock.yaml\` version ${lockfileVersion} generated by pnpm 7...`
|
||||||
|
);
|
||||||
|
} else if (
|
||||||
|
typeof lockfileVersion === 'number' &&
|
||||||
|
lockfileVersion >= 6 &&
|
||||||
|
!oldPath.includes(pnpm8) &&
|
||||||
|
!corepackEnabled
|
||||||
|
) {
|
||||||
|
// Ensure that pnpm 8 is at the beginning of the `$PATH`
|
||||||
|
newEnv.PATH = `${pnpm8}${path.delimiter}${oldPath}`;
|
||||||
|
console.log(
|
||||||
|
`Detected \`pnpm-lock.yaml\` version ${lockfileVersion} generated by pnpm 8...`
|
||||||
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Yarn v2 PnP mode may be activated, so force "node-modules" linker style
|
// Yarn v2 PnP mode may be activated, so force "node-modules" linker style
|
||||||
|
|||||||
@@ -14,10 +14,11 @@ export function getPrefixedEnvVars({
|
|||||||
envs: Envs;
|
envs: Envs;
|
||||||
}): Envs {
|
}): Envs {
|
||||||
const vercelSystemEnvPrefix = 'VERCEL_';
|
const vercelSystemEnvPrefix = 'VERCEL_';
|
||||||
|
const allowed = ['VERCEL_URL', 'VERCEL_ENV', 'VERCEL_REGION'];
|
||||||
const newEnvs: Envs = {};
|
const newEnvs: Envs = {};
|
||||||
if (envPrefix && envs.VERCEL_URL) {
|
if (envPrefix && envs.VERCEL_URL) {
|
||||||
Object.keys(envs)
|
Object.keys(envs)
|
||||||
.filter(key => key.startsWith(vercelSystemEnvPrefix))
|
.filter(key => allowed.includes(key) || key.startsWith('VERCEL_GIT_'))
|
||||||
.forEach(key => {
|
.forEach(key => {
|
||||||
const newKey = `${envPrefix}${key}`;
|
const newKey = `${envPrefix}${key}`;
|
||||||
if (!(newKey in envs)) {
|
if (!(newKey in envs)) {
|
||||||
|
|||||||
@@ -23,6 +23,10 @@ export interface LambdaOptionsBase {
|
|||||||
regions?: string[];
|
regions?: string[];
|
||||||
supportsMultiPayloads?: boolean;
|
supportsMultiPayloads?: boolean;
|
||||||
supportsWrapper?: boolean;
|
supportsWrapper?: boolean;
|
||||||
|
supportsResponseStreaming?: boolean;
|
||||||
|
/**
|
||||||
|
* @deprecated Use the `supportsResponseStreaming` property instead.
|
||||||
|
*/
|
||||||
experimentalResponseStreaming?: boolean;
|
experimentalResponseStreaming?: boolean;
|
||||||
operationType?: string;
|
operationType?: string;
|
||||||
framework?: FunctionFramework;
|
framework?: FunctionFramework;
|
||||||
@@ -69,7 +73,7 @@ export class Lambda {
|
|||||||
zipBuffer?: Buffer;
|
zipBuffer?: Buffer;
|
||||||
supportsMultiPayloads?: boolean;
|
supportsMultiPayloads?: boolean;
|
||||||
supportsWrapper?: boolean;
|
supportsWrapper?: boolean;
|
||||||
experimentalResponseStreaming?: boolean;
|
supportsResponseStreaming?: boolean;
|
||||||
framework?: FunctionFramework;
|
framework?: FunctionFramework;
|
||||||
|
|
||||||
constructor(opts: LambdaOptions) {
|
constructor(opts: LambdaOptions) {
|
||||||
@@ -83,6 +87,7 @@ export class Lambda {
|
|||||||
regions,
|
regions,
|
||||||
supportsMultiPayloads,
|
supportsMultiPayloads,
|
||||||
supportsWrapper,
|
supportsWrapper,
|
||||||
|
supportsResponseStreaming,
|
||||||
experimentalResponseStreaming,
|
experimentalResponseStreaming,
|
||||||
operationType,
|
operationType,
|
||||||
framework,
|
framework,
|
||||||
@@ -162,7 +167,8 @@ export class Lambda {
|
|||||||
this.zipBuffer = 'zipBuffer' in opts ? opts.zipBuffer : undefined;
|
this.zipBuffer = 'zipBuffer' in opts ? opts.zipBuffer : undefined;
|
||||||
this.supportsMultiPayloads = supportsMultiPayloads;
|
this.supportsMultiPayloads = supportsMultiPayloads;
|
||||||
this.supportsWrapper = supportsWrapper;
|
this.supportsWrapper = supportsWrapper;
|
||||||
this.experimentalResponseStreaming = experimentalResponseStreaming;
|
this.supportsResponseStreaming =
|
||||||
|
supportsResponseStreaming ?? experimentalResponseStreaming;
|
||||||
this.framework = framework;
|
this.framework = framework;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -181,6 +187,16 @@ export class Lambda {
|
|||||||
}
|
}
|
||||||
return zipBuffer;
|
return zipBuffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Use the `supportsResponseStreaming` property instead.
|
||||||
|
*/
|
||||||
|
get experimentalResponseStreaming(): boolean | undefined {
|
||||||
|
return this.supportsResponseStreaming;
|
||||||
|
}
|
||||||
|
set experimentalResponseStreaming(v: boolean | undefined) {
|
||||||
|
this.supportsResponseStreaming = v;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const sema = new Sema(10);
|
const sema = new Sema(10);
|
||||||
|
|||||||
@@ -4,8 +4,7 @@
|
|||||||
"probes": [
|
"probes": [
|
||||||
{
|
{
|
||||||
"path": "/",
|
"path": "/",
|
||||||
"mustContain": "pnpm version: 6",
|
"mustContain": "pnpm version: 7"
|
||||||
"logMustContain": "pnpm run build"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
9
packages/build-utils/test/fixtures/27-pnpm-v7/package.json
vendored
Normal file
9
packages/build-utils/test/fixtures/27-pnpm-v7/package.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"private": true,
|
||||||
|
"scripts": {
|
||||||
|
"build": "mkdir -p public && (printf \"pnpm version: \" && pnpm -v) > public/index.txt"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"once": "^1.4.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
21
packages/build-utils/test/fixtures/27-pnpm-v7/pnpm-lock.yaml
generated
vendored
Normal file
21
packages/build-utils/test/fixtures/27-pnpm-v7/pnpm-lock.yaml
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
lockfileVersion: 5.4
|
||||||
|
|
||||||
|
importers:
|
||||||
|
|
||||||
|
.:
|
||||||
|
specifiers:
|
||||||
|
once: ^1.4.0
|
||||||
|
dependencies:
|
||||||
|
once: 1.4.0
|
||||||
|
|
||||||
|
packages:
|
||||||
|
|
||||||
|
/once/1.4.0:
|
||||||
|
resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
|
||||||
|
dependencies:
|
||||||
|
wrappy: 1.0.2
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/wrappy/1.0.2:
|
||||||
|
resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
|
||||||
|
dev: false
|
||||||
1
packages/build-utils/test/fixtures/27-pnpm-v7/pnpm-workspace.yaml
vendored
Normal file
1
packages/build-utils/test/fixtures/27-pnpm-v7/pnpm-workspace.yaml
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
# Empty so this is treated as its own pnpm workspace
|
||||||
8
packages/build-utils/test/fixtures/27-pnpm-v7/probes.json
vendored
Normal file
8
packages/build-utils/test/fixtures/27-pnpm-v7/probes.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"probes": [
|
||||||
|
{
|
||||||
|
"path": "/",
|
||||||
|
"mustContain": "pnpm version: 7"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
9
packages/build-utils/test/fixtures/28-pnpm-v8/package.json
vendored
Normal file
9
packages/build-utils/test/fixtures/28-pnpm-v8/package.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"private": true,
|
||||||
|
"scripts": {
|
||||||
|
"build": "mkdir -p public && (printf \"pnpm version: \" && pnpm -v) > public/index.txt"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"once": "^1.4.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
21
packages/build-utils/test/fixtures/28-pnpm-v8/pnpm-lock.yaml
generated
vendored
Normal file
21
packages/build-utils/test/fixtures/28-pnpm-v8/pnpm-lock.yaml
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
lockfileVersion: '6.0'
|
||||||
|
|
||||||
|
importers:
|
||||||
|
|
||||||
|
.:
|
||||||
|
dependencies:
|
||||||
|
once:
|
||||||
|
specifier: ^1.4.0
|
||||||
|
version: 1.4.0
|
||||||
|
|
||||||
|
packages:
|
||||||
|
|
||||||
|
/once@1.4.0:
|
||||||
|
resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
|
||||||
|
dependencies:
|
||||||
|
wrappy: 1.0.2
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/wrappy@1.0.2:
|
||||||
|
resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
|
||||||
|
dev: false
|
||||||
1
packages/build-utils/test/fixtures/28-pnpm-v8/pnpm-workspace.yaml
vendored
Normal file
1
packages/build-utils/test/fixtures/28-pnpm-v8/pnpm-workspace.yaml
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
# Empty so this is treated as its own pnpm workspace
|
||||||
8
packages/build-utils/test/fixtures/28-pnpm-v8/probes.json
vendored
Normal file
8
packages/build-utils/test/fixtures/28-pnpm-v8/probes.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"probes": [
|
||||||
|
{
|
||||||
|
"path": "/",
|
||||||
|
"mustContain": "pnpm version: 8"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -30,8 +30,8 @@ describe('Test `getPlatformEnv()`', () => {
|
|||||||
process.env.NOW_FOO = 'bar';
|
process.env.NOW_FOO = 'bar';
|
||||||
process.env.VERCEL_FOO = 'baz';
|
process.env.VERCEL_FOO = 'baz';
|
||||||
getPlatformEnv('FOO');
|
getPlatformEnv('FOO');
|
||||||
} catch (_err) {
|
} catch (_err: unknown) {
|
||||||
err = _err;
|
err = _err as Error;
|
||||||
} finally {
|
} finally {
|
||||||
delete process.env.NOW_FOO;
|
delete process.env.NOW_FOO;
|
||||||
delete process.env.VERCEL_FOO;
|
delete process.env.VERCEL_FOO;
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ describe('Test `getPrefixedEnvVars()`', () => {
|
|||||||
VERCEL: '1',
|
VERCEL: '1',
|
||||||
VERCEL_URL: 'example.vercel.sh',
|
VERCEL_URL: 'example.vercel.sh',
|
||||||
USER_ENV_VAR_NOT_VERCEL: 'example.com',
|
USER_ENV_VAR_NOT_VERCEL: 'example.com',
|
||||||
|
VERCEL_ARTIFACTS_TOKEN: 'abc123',
|
||||||
FOO: 'bar',
|
FOO: 'bar',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -28,6 +29,7 @@ describe('Test `getPrefixedEnvVars()`', () => {
|
|||||||
envPrefix: 'GATSBY_',
|
envPrefix: 'GATSBY_',
|
||||||
envs: {
|
envs: {
|
||||||
USER_ENV_VAR_NOT_VERCEL: 'example.com',
|
USER_ENV_VAR_NOT_VERCEL: 'example.com',
|
||||||
|
VERCEL_ARTIFACTS_TOKEN: 'abc123',
|
||||||
FOO: 'bar',
|
FOO: 'bar',
|
||||||
VERCEL_URL: 'example.vercel.sh',
|
VERCEL_URL: 'example.vercel.sh',
|
||||||
VERCEL_ENV: 'production',
|
VERCEL_ENV: 'production',
|
||||||
@@ -51,6 +53,7 @@ describe('Test `getPrefixedEnvVars()`', () => {
|
|||||||
USER_ENV_VAR_NOT_VERCEL: 'example.com',
|
USER_ENV_VAR_NOT_VERCEL: 'example.com',
|
||||||
FOO: 'bar',
|
FOO: 'bar',
|
||||||
BLARG_VERCEL_THING: 'fake',
|
BLARG_VERCEL_THING: 'fake',
|
||||||
|
VERCEL_ARTIFACTS_TOKEN: 'abc123',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
want: {},
|
want: {},
|
||||||
|
|||||||
4
packages/build-utils/test/unit.test.ts
vendored
4
packages/build-utils/test/unit.test.ts
vendored
@@ -480,7 +480,7 @@ it('should detect package.json in nested backend', async () => {
|
|||||||
const result = await scanParentDirs(fixture);
|
const result = await scanParentDirs(fixture);
|
||||||
expect(result.cliType).toEqual('pnpm');
|
expect(result.cliType).toEqual('pnpm');
|
||||||
// There is no lockfile but this test will pick up vercel/vercel/pnpm-lock.yaml
|
// There is no lockfile but this test will pick up vercel/vercel/pnpm-lock.yaml
|
||||||
expect(result.lockfileVersion).toEqual(5.4);
|
expect(result.lockfileVersion).toEqual(6);
|
||||||
expect(result.packageJsonPath).toEqual(path.join(fixture, 'package.json'));
|
expect(result.packageJsonPath).toEqual(path.join(fixture, 'package.json'));
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -492,7 +492,7 @@ it('should detect package.json in nested frontend', async () => {
|
|||||||
const result = await scanParentDirs(fixture);
|
const result = await scanParentDirs(fixture);
|
||||||
expect(result.cliType).toEqual('pnpm');
|
expect(result.cliType).toEqual('pnpm');
|
||||||
// There is no lockfile but this test will pick up vercel/vercel/pnpm-lock.yaml
|
// There is no lockfile but this test will pick up vercel/vercel/pnpm-lock.yaml
|
||||||
expect(result.lockfileVersion).toEqual(5.4);
|
expect(result.lockfileVersion).toEqual(6);
|
||||||
expect(result.packageJsonPath).toEqual(path.join(fixture, 'package.json'));
|
expect(result.packageJsonPath).toEqual(path.join(fixture, 'package.json'));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
17
packages/cli/jest.config.js
Normal file
17
packages/cli/jest.config.js
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
/** @type {import('@ts-jest/dist/types').InitialOptionsTsJest} */
|
||||||
|
module.exports = {
|
||||||
|
preset: 'ts-jest',
|
||||||
|
transform: {
|
||||||
|
'^.+\\.[tj]s$': [
|
||||||
|
'ts-jest',
|
||||||
|
{
|
||||||
|
diagnostics: true,
|
||||||
|
isolatedModules: true,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
setupFilesAfterEnv: ['@alex_neo/jest-expect-message'],
|
||||||
|
verbose: false,
|
||||||
|
testEnvironment: 'node',
|
||||||
|
testMatch: ['<rootDir>/test/**/*.test.ts'],
|
||||||
|
};
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "vercel",
|
"name": "vercel",
|
||||||
"version": "28.18.0",
|
"version": "29.0.0",
|
||||||
"preferGlobal": true,
|
"preferGlobal": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"description": "The command-line interface for Vercel",
|
"description": "The command-line interface for Vercel",
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
"preinstall": "node ./scripts/preinstall.js",
|
"preinstall": "node ./scripts/preinstall.js",
|
||||||
"test": "jest --env node --verbose --bail",
|
"test": "jest --env node --verbose --bail",
|
||||||
"test-unit": "pnpm test test/unit/",
|
"test-unit": "pnpm test test/unit/",
|
||||||
"test-cli": "rimraf test/fixtures/integration && pnpm test test/integration.test.ts",
|
"test-e2e": "rimraf test/fixtures/integration && pnpm test test/integration-1.test.ts test/integration-2.test.ts test/integration-3.test.ts",
|
||||||
"test-dev": "pnpm test test/dev/",
|
"test-dev": "pnpm test test/dev/",
|
||||||
"coverage": "codecov",
|
"coverage": "codecov",
|
||||||
"build": "ts-node ./scripts/build.ts",
|
"build": "ts-node ./scripts/build.ts",
|
||||||
@@ -32,16 +32,16 @@
|
|||||||
"node": ">= 14"
|
"node": ">= 14"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vercel/build-utils": "6.5.0",
|
"@vercel/build-utils": "6.7.2",
|
||||||
"@vercel/go": "2.4.1",
|
"@vercel/go": "2.5.1",
|
||||||
"@vercel/hydrogen": "0.0.59",
|
"@vercel/hydrogen": "0.0.64",
|
||||||
"@vercel/next": "3.7.0",
|
"@vercel/next": "3.7.6",
|
||||||
"@vercel/node": "2.9.14",
|
"@vercel/node": "2.13.0",
|
||||||
"@vercel/python": "3.1.55",
|
"@vercel/python": "3.1.60",
|
||||||
"@vercel/redwood": "1.1.11",
|
"@vercel/redwood": "1.1.15",
|
||||||
"@vercel/remix-builder": "1.8.0",
|
"@vercel/remix-builder": "1.8.6",
|
||||||
"@vercel/ruby": "1.3.72",
|
"@vercel/ruby": "1.3.76",
|
||||||
"@vercel/static-build": "1.3.18"
|
"@vercel/static-build": "1.3.26"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@alex_neo/jest-expect-message": "1.0.5",
|
"@alex_neo/jest-expect-message": "1.0.5",
|
||||||
@@ -84,14 +84,16 @@
|
|||||||
"@types/which": "1.3.2",
|
"@types/which": "1.3.2",
|
||||||
"@types/write-json-file": "2.2.1",
|
"@types/write-json-file": "2.2.1",
|
||||||
"@types/yauzl-promise": "2.1.0",
|
"@types/yauzl-promise": "2.1.0",
|
||||||
|
"@vercel-internals/constants": "*",
|
||||||
|
"@vercel-internals/get-package-json": "*",
|
||||||
"@vercel-internals/types": "*",
|
"@vercel-internals/types": "*",
|
||||||
"@vercel/client": "12.4.6",
|
"@vercel/client": "12.4.12",
|
||||||
"@vercel/error-utils": "1.0.8",
|
"@vercel/error-utils": "1.0.10",
|
||||||
"@vercel/frameworks": "1.3.3",
|
"@vercel/frameworks": "1.3.5",
|
||||||
"@vercel/fs-detectors": "3.8.6",
|
"@vercel/fs-detectors": "3.8.12",
|
||||||
"@vercel/fun": "1.0.4",
|
"@vercel/fun": "1.0.4",
|
||||||
"@vercel/ncc": "0.24.0",
|
"@vercel/ncc": "0.24.0",
|
||||||
"@vercel/routing-utils": "2.1.11",
|
"@vercel/routing-utils": "2.2.1",
|
||||||
"@zeit/source-map-support": "0.6.2",
|
"@zeit/source-map-support": "0.6.2",
|
||||||
"ajv": "6.12.2",
|
"ajv": "6.12.2",
|
||||||
"alpha-sort": "2.0.1",
|
"alpha-sort": "2.0.1",
|
||||||
@@ -135,7 +137,7 @@
|
|||||||
"line-async-iterator": "3.0.0",
|
"line-async-iterator": "3.0.0",
|
||||||
"load-json-file": "3.0.0",
|
"load-json-file": "3.0.0",
|
||||||
"mime-types": "2.1.24",
|
"mime-types": "2.1.24",
|
||||||
"minimatch": "3.0.4",
|
"minimatch": "3.1.2",
|
||||||
"mri": "1.1.5",
|
"mri": "1.1.5",
|
||||||
"ms": "2.1.2",
|
"ms": "2.1.2",
|
||||||
"node-fetch": "2.6.7",
|
"node-fetch": "2.6.7",
|
||||||
@@ -161,28 +163,10 @@
|
|||||||
"tmp-promise": "1.0.3",
|
"tmp-promise": "1.0.3",
|
||||||
"tree-kill": "1.2.2",
|
"tree-kill": "1.2.2",
|
||||||
"ts-node": "10.9.1",
|
"ts-node": "10.9.1",
|
||||||
"typescript": "4.9.4",
|
|
||||||
"universal-analytics": "0.4.20",
|
"universal-analytics": "0.4.20",
|
||||||
"utility-types": "2.1.0",
|
"utility-types": "2.1.0",
|
||||||
"write-json-file": "2.2.0",
|
"write-json-file": "2.2.0",
|
||||||
"xdg-app-paths": "5.1.0",
|
"xdg-app-paths": "5.1.0",
|
||||||
"yauzl-promise": "2.1.3"
|
"yauzl-promise": "2.1.3"
|
||||||
},
|
|
||||||
"jest": {
|
|
||||||
"preset": "ts-jest",
|
|
||||||
"globals": {
|
|
||||||
"ts-jest": {
|
|
||||||
"diagnostics": false,
|
|
||||||
"isolatedModules": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"setupFilesAfterEnv": [
|
|
||||||
"@alex_neo/jest-expect-message"
|
|
||||||
],
|
|
||||||
"verbose": false,
|
|
||||||
"testEnvironment": "node",
|
|
||||||
"testMatch": [
|
|
||||||
"<rootDir>/test/**/*.test.ts"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import stamp from '../../util/output/stamp';
|
|||||||
import strlen from '../../util/strlen';
|
import strlen from '../../util/strlen';
|
||||||
import getCommandFlags from '../../util/get-command-flags';
|
import getCommandFlags from '../../util/get-command-flags';
|
||||||
import { getCommandName } from '../../util/pkg-name';
|
import { getCommandName } from '../../util/pkg-name';
|
||||||
import { Alias } from '@vercel-internals/types';
|
import type { Alias } from '@vercel-internals/types';
|
||||||
|
|
||||||
export default async function ls(
|
export default async function ls(
|
||||||
client: Client,
|
client: Client,
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import strlen from '../../util/strlen';
|
|||||||
import confirm from '../../util/input/confirm';
|
import confirm from '../../util/input/confirm';
|
||||||
import findAliasByAliasOrId from '../../util/alias/find-alias-by-alias-or-id';
|
import findAliasByAliasOrId from '../../util/alias/find-alias-by-alias-or-id';
|
||||||
|
|
||||||
import { Alias } from '@vercel-internals/types';
|
import type { Alias } from '@vercel-internals/types';
|
||||||
import { isValidName } from '../../util/is-valid-name';
|
import { isValidName } from '../../util/is-valid-name';
|
||||||
import { getCommandName } from '../../util/pkg-name';
|
import { getCommandName } from '../../util/pkg-name';
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import chalk from 'chalk';
|
import chalk from 'chalk';
|
||||||
import { SetDifference } from 'utility-types';
|
import { SetDifference } from 'utility-types';
|
||||||
import { AliasRecord } from '../../util/alias/create-alias';
|
import { AliasRecord } from '../../util/alias/create-alias';
|
||||||
import { Domain } from '@vercel-internals/types';
|
import type { Domain } from '@vercel-internals/types';
|
||||||
import { Output } from '../../util/output';
|
import { Output } from '../../util/output';
|
||||||
import * as ERRORS from '../../util/errors-ts';
|
import * as ERRORS from '../../util/errors-ts';
|
||||||
import assignAlias from '../../util/alias/assign-alias';
|
import assignAlias from '../../util/alias/assign-alias';
|
||||||
|
|||||||
@@ -157,6 +157,7 @@ export default async function main(client: Client): Promise<number> {
|
|||||||
'--output': String,
|
'--output': String,
|
||||||
'--prod': Boolean,
|
'--prod': Boolean,
|
||||||
'--yes': Boolean,
|
'--yes': Boolean,
|
||||||
|
'-y': '--yes',
|
||||||
});
|
});
|
||||||
|
|
||||||
if (argv['--help']) {
|
if (argv['--help']) {
|
||||||
@@ -251,7 +252,7 @@ export default async function main(client: Client): Promise<number> {
|
|||||||
output.debug(`Loaded environment variables from "${envPath}"`);
|
output.debug(`Loaded environment variables from "${envPath}"`);
|
||||||
}
|
}
|
||||||
|
|
||||||
// For Vercel Analytics support
|
// For Vercel Speed Insights support
|
||||||
if (project.settings.analyticsId) {
|
if (project.settings.analyticsId) {
|
||||||
envToUnset.add('VERCEL_ANALYTICS_ID');
|
envToUnset.add('VERCEL_ANALYTICS_ID');
|
||||||
process.env.VERCEL_ANALYTICS_ID = project.settings.analyticsId;
|
process.env.VERCEL_ANALYTICS_ID = project.settings.analyticsId;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import stamp from '../../util/output/stamp';
|
|||||||
import createCertFromFile from '../../util/certs/create-cert-from-file';
|
import createCertFromFile from '../../util/certs/create-cert-from-file';
|
||||||
import createCertForCns from '../../util/certs/create-cert-for-cns';
|
import createCertForCns from '../../util/certs/create-cert-for-cns';
|
||||||
import { getCommandName } from '../../util/pkg-name';
|
import { getCommandName } from '../../util/pkg-name';
|
||||||
import { Cert } from '@vercel-internals/types';
|
import type { Cert } from '@vercel-internals/types';
|
||||||
|
|
||||||
interface Options {
|
interface Options {
|
||||||
'--overwrite'?: boolean;
|
'--overwrite'?: boolean;
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import {
|
|||||||
import stamp from '../../util/output/stamp';
|
import stamp from '../../util/output/stamp';
|
||||||
import getCerts from '../../util/certs/get-certs';
|
import getCerts from '../../util/certs/get-certs';
|
||||||
import strlen from '../../util/strlen';
|
import strlen from '../../util/strlen';
|
||||||
import { Cert } from '@vercel-internals/types';
|
import type { Cert } from '@vercel-internals/types';
|
||||||
import getCommandFlags from '../../util/get-command-flags';
|
import getCommandFlags from '../../util/get-command-flags';
|
||||||
import { getCommandName } from '../../util/pkg-name';
|
import { getCommandName } from '../../util/pkg-name';
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import chalk from 'chalk';
|
|||||||
import ms from 'ms';
|
import ms from 'ms';
|
||||||
import plural from 'pluralize';
|
import plural from 'pluralize';
|
||||||
import table from 'text-table';
|
import table from 'text-table';
|
||||||
import { Cert } from '@vercel-internals/types';
|
import type { Cert } from '@vercel-internals/types';
|
||||||
import * as ERRORS from '../../util/errors-ts';
|
import * as ERRORS from '../../util/errors-ts';
|
||||||
import { Output } from '../../util/output';
|
import { Output } from '../../util/output';
|
||||||
import deleteCertById from '../../util/certs/delete-cert-by-id';
|
import deleteCertById from '../../util/certs/delete-cert-by-id';
|
||||||
|
|||||||
@@ -71,6 +71,7 @@ export const help = () => `
|
|||||||
-m, --meta Add metadata for the deployment (e.g.: ${chalk.dim(
|
-m, --meta Add metadata for the deployment (e.g.: ${chalk.dim(
|
||||||
'`-m KEY=value`'
|
'`-m KEY=value`'
|
||||||
)}). Can appear many times.
|
)}). Can appear many times.
|
||||||
|
--no-wait Don't wait for the deployment to finish
|
||||||
-S, --scope Set a custom scope
|
-S, --scope Set a custom scope
|
||||||
--regions Set default regions to enable the deployment on
|
--regions Set default regions to enable the deployment on
|
||||||
--prod Create a production deployment
|
--prod Create a production deployment
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ import { handleError } from '../../util/error';
|
|||||||
import Client from '../../util/client';
|
import Client from '../../util/client';
|
||||||
import { getPrettyError } from '@vercel/build-utils';
|
import { getPrettyError } from '@vercel/build-utils';
|
||||||
import toHumanPath from '../../util/humanize-path';
|
import toHumanPath from '../../util/humanize-path';
|
||||||
import Now from '../../util';
|
import Now, { CreateOptions } from '../../util';
|
||||||
import stamp from '../../util/output/stamp';
|
import stamp from '../../util/output/stamp';
|
||||||
import createDeploy from '../../util/deploy/create-deploy';
|
import createDeploy from '../../util/deploy/create-deploy';
|
||||||
import getDeployment from '../../util/get-deployment';
|
import getDeployment from '../../util/get-deployment';
|
||||||
@@ -70,6 +70,8 @@ import { isValidArchive } from '../../util/deploy/validate-archive-format';
|
|||||||
import { parseEnv } from '../../util/parse-env';
|
import { parseEnv } from '../../util/parse-env';
|
||||||
import { errorToString, isErrnoException, isError } from '@vercel/error-utils';
|
import { errorToString, isErrnoException, isError } from '@vercel/error-utils';
|
||||||
import { pickOverrides } from '../../util/projects/project-settings';
|
import { pickOverrides } from '../../util/projects/project-settings';
|
||||||
|
import { isDeploying } from '../../util/deploy/is-deploying';
|
||||||
|
import type { Deployment } from '@vercel-internals/types';
|
||||||
|
|
||||||
export default async (client: Client): Promise<number> => {
|
export default async (client: Client): Promise<number> => {
|
||||||
const { output } = client;
|
const { output } = client;
|
||||||
@@ -90,6 +92,7 @@ export default async (client: Client): Promise<number> => {
|
|||||||
'--prebuilt': Boolean,
|
'--prebuilt': Boolean,
|
||||||
'--prod': Boolean,
|
'--prod': Boolean,
|
||||||
'--archive': String,
|
'--archive': String,
|
||||||
|
'--no-wait': Boolean,
|
||||||
'--yes': Boolean,
|
'--yes': Boolean,
|
||||||
'-f': '--force',
|
'-f': '--force',
|
||||||
'-p': '--public',
|
'-p': '--public',
|
||||||
@@ -505,12 +508,20 @@ export default async (client: Client): Promise<number> => {
|
|||||||
});
|
});
|
||||||
let deployStamp = stamp();
|
let deployStamp = stamp();
|
||||||
let deployment = null;
|
let deployment = null;
|
||||||
|
const noWait = !!argv['--no-wait'];
|
||||||
|
|
||||||
const localConfigurationOverrides = pickOverrides(localConfig);
|
const localConfigurationOverrides = pickOverrides(localConfig);
|
||||||
|
|
||||||
|
const name = project ? project.name : newProjectName;
|
||||||
|
if (!name) {
|
||||||
|
throw new Error(
|
||||||
|
'`name` not found on project or provided by existing project'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const createArgs: any = {
|
const createArgs: CreateOptions = {
|
||||||
name: project ? project.name : newProjectName,
|
name,
|
||||||
env: deploymentEnv,
|
env: deploymentEnv,
|
||||||
build: { env: deploymentBuildEnv },
|
build: { env: deploymentBuildEnv },
|
||||||
forceNew: argv['--force'],
|
forceNew: argv['--force'],
|
||||||
@@ -518,8 +529,7 @@ export default async (client: Client): Promise<number> => {
|
|||||||
prebuilt: argv['--prebuilt'],
|
prebuilt: argv['--prebuilt'],
|
||||||
rootDirectory,
|
rootDirectory,
|
||||||
quiet,
|
quiet,
|
||||||
wantsPublic: argv['--public'] || localConfig.public,
|
wantsPublic: Boolean(argv['--public'] || localConfig.public),
|
||||||
type: null,
|
|
||||||
nowConfig: {
|
nowConfig: {
|
||||||
...localConfig,
|
...localConfig,
|
||||||
// `images` is allowed in "vercel.json" and processed
|
// `images` is allowed in "vercel.json" and processed
|
||||||
@@ -532,6 +542,7 @@ export default async (client: Client): Promise<number> => {
|
|||||||
deployStamp,
|
deployStamp,
|
||||||
target,
|
target,
|
||||||
skipAutoDetectionConfirmation: autoConfirm,
|
skipAutoDetectionConfirmation: autoConfirm,
|
||||||
|
noWait,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!localConfig.builds || localConfig.builds.length === 0) {
|
if (!localConfig.builds || localConfig.builds.length === 0) {
|
||||||
@@ -627,8 +638,10 @@ export default async (client: Client): Promise<number> => {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// get the deployment just to double check that it actually deployed
|
if (!noWait) {
|
||||||
await getDeployment(client, contextName, deployment.id);
|
// get the deployment just to double check that it actually deployed
|
||||||
|
await getDeployment(client, contextName, deployment.id);
|
||||||
|
}
|
||||||
|
|
||||||
if (deployment === null) {
|
if (deployment === null) {
|
||||||
error('Uploading failed. Please try again.');
|
error('Uploading failed. Please try again.');
|
||||||
@@ -715,7 +728,7 @@ export default async (client: Client): Promise<number> => {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return printDeploymentStatus(output, client, deployment, deployStamp);
|
return printDeploymentStatus(output, client, deployment, deployStamp, noWait);
|
||||||
};
|
};
|
||||||
|
|
||||||
function handleCreateDeployError(
|
function handleCreateDeployError(
|
||||||
@@ -835,7 +848,7 @@ const printDeploymentStatus = async (
|
|||||||
url: deploymentUrl,
|
url: deploymentUrl,
|
||||||
aliasWarning,
|
aliasWarning,
|
||||||
}: {
|
}: {
|
||||||
readyState: string;
|
readyState: Deployment['readyState'];
|
||||||
alias: string[];
|
alias: string[];
|
||||||
aliasError: Error;
|
aliasError: Error;
|
||||||
target: string;
|
target: string;
|
||||||
@@ -848,12 +861,26 @@ const printDeploymentStatus = async (
|
|||||||
action?: string;
|
action?: string;
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
deployStamp: () => string
|
deployStamp: () => string,
|
||||||
|
noWait: boolean
|
||||||
) => {
|
) => {
|
||||||
indications = indications || [];
|
indications = indications || [];
|
||||||
const isProdDeployment = target === 'production';
|
const isProdDeployment = target === 'production';
|
||||||
|
|
||||||
if (readyState !== 'READY') {
|
let isStillBuilding = false;
|
||||||
|
if (noWait) {
|
||||||
|
if (isDeploying(readyState)) {
|
||||||
|
isStillBuilding = true;
|
||||||
|
output.print(
|
||||||
|
prependEmoji(
|
||||||
|
'Note: Deployment is still processing...',
|
||||||
|
emoji('notice')
|
||||||
|
) + '\n'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!isStillBuilding && readyState !== 'READY') {
|
||||||
output.error(
|
output.error(
|
||||||
`Your deployment failed. Please retry later. More: https://err.sh/vercel/deployment-error`
|
`Your deployment failed. Please retry later. More: https://err.sh/vercel/deployment-error`
|
||||||
);
|
);
|
||||||
@@ -869,7 +896,8 @@ const printDeploymentStatus = async (
|
|||||||
} else {
|
} else {
|
||||||
// print preview/production url
|
// print preview/production url
|
||||||
let previewUrl: string;
|
let previewUrl: string;
|
||||||
if (Array.isArray(aliasList) && aliasList.length > 0) {
|
// if `noWait` is true, then use the deployment url, not an alias
|
||||||
|
if (!noWait && Array.isArray(aliasList) && aliasList.length > 0) {
|
||||||
const previewUrlInfo = await getPreferredPreviewURL(client, aliasList);
|
const previewUrlInfo = await getPreferredPreviewURL(client, aliasList);
|
||||||
if (previewUrlInfo) {
|
if (previewUrlInfo) {
|
||||||
previewUrl = previewUrlInfo.previewUrl;
|
previewUrl = previewUrlInfo.previewUrl;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import DevServer from '../../util/dev/server';
|
|||||||
import { parseListen } from '../../util/dev/parse-listen';
|
import { parseListen } from '../../util/dev/parse-listen';
|
||||||
import Client from '../../util/client';
|
import Client from '../../util/client';
|
||||||
import { getLinkedProject } from '../../util/projects/link';
|
import { getLinkedProject } from '../../util/projects/link';
|
||||||
import { ProjectSettings } from '@vercel-internals/types';
|
import type { ProjectSettings } from '@vercel-internals/types';
|
||||||
import setupAndLink from '../../util/link/setup-and-link';
|
import setupAndLink from '../../util/link/setup-and-link';
|
||||||
import { getCommandName } from '../../util/pkg-name';
|
import { getCommandName } from '../../util/pkg-name';
|
||||||
import param from '../../util/output/param';
|
import param from '../../util/output/param';
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import chalk from 'chalk';
|
import chalk from 'chalk';
|
||||||
import ms from 'ms';
|
import ms from 'ms';
|
||||||
import { DomainNotFound } from '../../util/errors-ts';
|
import { DomainNotFound } from '../../util/errors-ts';
|
||||||
import { DNSRecord } from '@vercel-internals/types';
|
import type { DNSRecord } from '@vercel-internals/types';
|
||||||
import Client from '../../util/client';
|
import Client from '../../util/client';
|
||||||
import formatTable from '../../util/format-table';
|
import formatTable from '../../util/format-table';
|
||||||
import getDNSRecords, {
|
import getDNSRecords, {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import chalk from 'chalk';
|
import chalk from 'chalk';
|
||||||
import ms from 'ms';
|
import ms from 'ms';
|
||||||
import table from 'text-table';
|
import table from 'text-table';
|
||||||
import { DNSRecord } from '@vercel-internals/types';
|
import type { DNSRecord } from '@vercel-internals/types';
|
||||||
import { Output } from '../../util/output';
|
import { Output } from '../../util/output';
|
||||||
import Client from '../../util/client';
|
import Client from '../../util/client';
|
||||||
import deleteDNSRecordById from '../../util/dns/delete-dns-record-by-id';
|
import deleteDNSRecordById from '../../util/dns/delete-dns-record-by-id';
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import getScope from '../../util/get-scope';
|
|||||||
import stamp from '../../util/output/stamp';
|
import stamp from '../../util/output/stamp';
|
||||||
import formatTable from '../../util/format-table';
|
import formatTable from '../../util/format-table';
|
||||||
import { formatDateWithoutTime } from '../../util/format-date';
|
import { formatDateWithoutTime } from '../../util/format-date';
|
||||||
import { Domain } from '@vercel-internals/types';
|
import type { Domain } from '@vercel-internals/types';
|
||||||
import getCommandFlags from '../../util/get-command-flags';
|
import getCommandFlags from '../../util/get-command-flags';
|
||||||
import {
|
import {
|
||||||
PaginationOptions,
|
PaginationOptions,
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import chalk from 'chalk';
|
|||||||
import plural from 'pluralize';
|
import plural from 'pluralize';
|
||||||
|
|
||||||
import { DomainNotFound, DomainPermissionDenied } from '../../util/errors-ts';
|
import { DomainNotFound, DomainPermissionDenied } from '../../util/errors-ts';
|
||||||
import { Domain } from '@vercel-internals/types';
|
import type { Domain } from '@vercel-internals/types';
|
||||||
import { Output } from '../../util/output';
|
import { Output } from '../../util/output';
|
||||||
import Client from '../../util/client';
|
import Client from '../../util/client';
|
||||||
import deleteCertById from '../../util/certs/delete-cert-by-id';
|
import deleteCertById from '../../util/certs/delete-cert-by-id';
|
||||||
|
|||||||
14
packages/cli/src/commands/env/add.ts
vendored
14
packages/cli/src/commands/env/add.ts
vendored
@@ -1,9 +1,5 @@
|
|||||||
import chalk from 'chalk';
|
import chalk from 'chalk';
|
||||||
import {
|
import type { Project, ProjectEnvTarget } from '@vercel-internals/types';
|
||||||
ProjectEnvTarget,
|
|
||||||
Project,
|
|
||||||
ProjectEnvType,
|
|
||||||
} from '@vercel-internals/types';
|
|
||||||
import { Output } from '../../util/output';
|
import { Output } from '../../util/output';
|
||||||
import Client from '../../util/client';
|
import Client from '../../util/client';
|
||||||
import stamp from '../../util/output/stamp';
|
import stamp from '../../util/output/stamp';
|
||||||
@@ -12,7 +8,7 @@ import getEnvRecords from '../../util/env/get-env-records';
|
|||||||
import {
|
import {
|
||||||
isValidEnvTarget,
|
isValidEnvTarget,
|
||||||
getEnvTargetPlaceholder,
|
getEnvTargetPlaceholder,
|
||||||
getEnvTargetChoices,
|
envTargetChoices,
|
||||||
} from '../../util/env/env-target';
|
} from '../../util/env/env-target';
|
||||||
import readStandardInput from '../../util/input/read-standard-input';
|
import readStandardInput from '../../util/input/read-standard-input';
|
||||||
import param from '../../util/output/param';
|
import param from '../../util/output/param';
|
||||||
@@ -92,7 +88,7 @@ export default async function add(
|
|||||||
const existing = new Set(
|
const existing = new Set(
|
||||||
envs.filter(r => r.key === envName).map(r => r.target)
|
envs.filter(r => r.key === envName).map(r => r.target)
|
||||||
);
|
);
|
||||||
const choices = getEnvTargetChoices().filter(c => !existing.has(c.value));
|
const choices = envTargetChoices.filter(c => !existing.has(c.value));
|
||||||
|
|
||||||
if (choices.length === 0) {
|
if (choices.length === 0) {
|
||||||
output.error(
|
output.error(
|
||||||
@@ -138,7 +134,7 @@ export default async function add(
|
|||||||
!stdInput &&
|
!stdInput &&
|
||||||
!envGitBranch &&
|
!envGitBranch &&
|
||||||
envTargets.length === 1 &&
|
envTargets.length === 1 &&
|
||||||
envTargets[0] === ProjectEnvTarget.Preview
|
envTargets[0] === 'preview'
|
||||||
) {
|
) {
|
||||||
const { inputValue } = await client.prompt({
|
const { inputValue } = await client.prompt({
|
||||||
type: 'input',
|
type: 'input',
|
||||||
@@ -155,7 +151,7 @@ export default async function add(
|
|||||||
output,
|
output,
|
||||||
client,
|
client,
|
||||||
project.id,
|
project.id,
|
||||||
ProjectEnvType.Encrypted,
|
'encrypted',
|
||||||
envName,
|
envName,
|
||||||
envValue,
|
envValue,
|
||||||
envTargets,
|
envTargets,
|
||||||
|
|||||||
10
packages/cli/src/commands/env/ls.ts
vendored
10
packages/cli/src/commands/env/ls.ts
vendored
@@ -1,11 +1,7 @@
|
|||||||
import chalk from 'chalk';
|
import chalk from 'chalk';
|
||||||
import ms from 'ms';
|
import ms from 'ms';
|
||||||
import { Output } from '../../util/output';
|
import { Output } from '../../util/output';
|
||||||
import {
|
import type { Project, ProjectEnvVariable } from '@vercel-internals/types';
|
||||||
Project,
|
|
||||||
ProjectEnvVariable,
|
|
||||||
ProjectEnvType,
|
|
||||||
} from '@vercel-internals/types';
|
|
||||||
import Client from '../../util/client';
|
import Client from '../../util/client';
|
||||||
import formatTable from '../../util/format-table';
|
import formatTable from '../../util/format-table';
|
||||||
import getEnvRecords from '../../util/env/get-env-records';
|
import getEnvRecords from '../../util/env/get-env-records';
|
||||||
@@ -99,13 +95,13 @@ function getTable(records: ProjectEnvVariable[]) {
|
|||||||
|
|
||||||
function getRow(env: ProjectEnvVariable) {
|
function getRow(env: ProjectEnvVariable) {
|
||||||
let value: string;
|
let value: string;
|
||||||
if (env.type === ProjectEnvType.Plaintext) {
|
if (env.type === 'plain') {
|
||||||
// replace space characters (line-break, etc.) with simple spaces
|
// replace space characters (line-break, etc.) with simple spaces
|
||||||
// to make sure the displayed value is a single line
|
// to make sure the displayed value is a single line
|
||||||
const singleLineValue = env.value.replace(/\s/g, ' ');
|
const singleLineValue = env.value.replace(/\s/g, ' ');
|
||||||
|
|
||||||
value = chalk.gray(ellipsis(singleLineValue, 19));
|
value = chalk.gray(ellipsis(singleLineValue, 19));
|
||||||
} else if (env.type === ProjectEnvType.System) {
|
} else if (env.type === 'system') {
|
||||||
value = chalk.gray.italic(env.value);
|
value = chalk.gray.italic(env.value);
|
||||||
} else {
|
} else {
|
||||||
value = chalk.gray.italic('Encrypted');
|
value = chalk.gray.italic('Encrypted');
|
||||||
|
|||||||
4
packages/cli/src/commands/env/pull.ts
vendored
4
packages/cli/src/commands/env/pull.ts
vendored
@@ -2,7 +2,7 @@ import chalk from 'chalk';
|
|||||||
import { outputFile } from 'fs-extra';
|
import { outputFile } from 'fs-extra';
|
||||||
import { closeSync, openSync, readSync } from 'fs';
|
import { closeSync, openSync, readSync } from 'fs';
|
||||||
import { resolve } from 'path';
|
import { resolve } from 'path';
|
||||||
import { Project, ProjectEnvTarget } from '@vercel-internals/types';
|
import type { Project, ProjectEnvTarget } from '@vercel-internals/types';
|
||||||
import Client from '../../util/client';
|
import Client from '../../util/client';
|
||||||
import { emoji, prependEmoji } from '../../util/emoji';
|
import { emoji, prependEmoji } from '../../util/emoji';
|
||||||
import confirm from '../../util/input/confirm';
|
import confirm from '../../util/input/confirm';
|
||||||
@@ -101,7 +101,7 @@ export default async function pull(
|
|||||||
|
|
||||||
const records = (
|
const records = (
|
||||||
await pullEnvRecords(output, client, project.id, source, {
|
await pullEnvRecords(output, client, project.id, source, {
|
||||||
target: environment || ProjectEnvTarget.Development,
|
target: environment || 'development',
|
||||||
gitBranch,
|
gitBranch,
|
||||||
})
|
})
|
||||||
).env;
|
).env;
|
||||||
|
|||||||
2
packages/cli/src/commands/env/rm.ts
vendored
2
packages/cli/src/commands/env/rm.ts
vendored
@@ -1,5 +1,5 @@
|
|||||||
import chalk from 'chalk';
|
import chalk from 'chalk';
|
||||||
import { Project } from '@vercel-internals/types';
|
import type { Project } from '@vercel-internals/types';
|
||||||
import { Output } from '../../util/output';
|
import { Output } from '../../util/output';
|
||||||
import confirm from '../../util/input/confirm';
|
import confirm from '../../util/input/confirm';
|
||||||
import removeEnvRecord from '../../util/env/remove-env-record';
|
import removeEnvRecord from '../../util/env/remove-env-record';
|
||||||
|
|||||||
@@ -178,6 +178,7 @@ export default async function connect(
|
|||||||
gitOrg,
|
gitOrg,
|
||||||
repo,
|
repo,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (typeof checkAndConnect === 'number') {
|
if (typeof checkAndConnect === 'number') {
|
||||||
return checkAndConnect;
|
return checkAndConnect;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,10 +10,14 @@ import getScope from '../util/get-scope';
|
|||||||
import { getPkgName, getCommandName } from '../util/pkg-name';
|
import { getPkgName, getCommandName } from '../util/pkg-name';
|
||||||
import Client from '../util/client';
|
import Client from '../util/client';
|
||||||
import getDeployment from '../util/get-deployment';
|
import getDeployment from '../util/get-deployment';
|
||||||
import { Build, Deployment } from '@vercel-internals/types';
|
import type { Build, Deployment } from '@vercel-internals/types';
|
||||||
import title from 'title';
|
import title from 'title';
|
||||||
import { isErrnoException } from '@vercel/error-utils';
|
import { isErrnoException } from '@vercel/error-utils';
|
||||||
import { URL } from 'url';
|
import { URL } from 'url';
|
||||||
|
import readStandardInput from '../util/input/read-standard-input';
|
||||||
|
import sleep from '../util/sleep';
|
||||||
|
import ms from 'ms';
|
||||||
|
import { isDeploying } from '../util/deploy/is-deploying';
|
||||||
|
|
||||||
const help = () => {
|
const help = () => {
|
||||||
console.log(`
|
console.log(`
|
||||||
@@ -34,6 +38,10 @@ const help = () => {
|
|||||||
-d, --debug Debug mode [off]
|
-d, --debug Debug mode [off]
|
||||||
--no-color No color mode [off]
|
--no-color No color mode [off]
|
||||||
-S, --scope Set a custom scope
|
-S, --scope Set a custom scope
|
||||||
|
--timeout=${chalk.bold.underline(
|
||||||
|
'TIME'
|
||||||
|
)} Time to wait for deployment completion [3m]
|
||||||
|
--wait Blocks until deployment completes
|
||||||
|
|
||||||
${chalk.dim('Examples:')}
|
${chalk.dim('Examples:')}
|
||||||
|
|
||||||
@@ -44,6 +52,16 @@ const help = () => {
|
|||||||
${chalk.gray('-')} Get information about the deployment an alias points to
|
${chalk.gray('-')} Get information about the deployment an alias points to
|
||||||
|
|
||||||
${chalk.cyan(`$ ${getPkgName()} inspect my-deployment.vercel.app`)}
|
${chalk.cyan(`$ ${getPkgName()} inspect my-deployment.vercel.app`)}
|
||||||
|
|
||||||
|
${chalk.gray('-')} Get information about a deployment by piping in the URL
|
||||||
|
|
||||||
|
${chalk.cyan(`$ echo my-deployment.vercel.app | ${getPkgName()} inspect`)}
|
||||||
|
|
||||||
|
${chalk.gray('-')} Wait up to 90 seconds for deployment to complete
|
||||||
|
|
||||||
|
${chalk.cyan(
|
||||||
|
`$ ${getPkgName()} inspect my-deployment.vercel.app --wait --timeout 90s`
|
||||||
|
)}
|
||||||
`);
|
`);
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -51,7 +69,10 @@ export default async function main(client: Client) {
|
|||||||
let argv;
|
let argv;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
argv = getArgs(client.argv.slice(2));
|
argv = getArgs(client.argv.slice(2), {
|
||||||
|
'--timeout': String,
|
||||||
|
'--wait': Boolean,
|
||||||
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
handleError(err);
|
handleError(err);
|
||||||
return 1;
|
return 1;
|
||||||
@@ -67,12 +88,28 @@ export default async function main(client: Client) {
|
|||||||
// extract the first parameter
|
// extract the first parameter
|
||||||
let [, deploymentIdOrHost] = argv._;
|
let [, deploymentIdOrHost] = argv._;
|
||||||
|
|
||||||
if (argv._.length !== 2) {
|
if (!deploymentIdOrHost) {
|
||||||
|
// if the URL is not passed in, check stdin
|
||||||
|
// allows cool stuff like `echo my-deployment.vercel.app | vc inspect --wait`
|
||||||
|
const stdInput = await readStandardInput(client.stdin);
|
||||||
|
if (stdInput) {
|
||||||
|
deploymentIdOrHost = stdInput;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!deploymentIdOrHost) {
|
||||||
error(`${getCommandName('inspect <url>')} expects exactly one argument`);
|
error(`${getCommandName('inspect <url>')} expects exactly one argument`);
|
||||||
help();
|
help();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// validate the timeout
|
||||||
|
const timeout = ms(argv['--timeout'] ?? '3m');
|
||||||
|
if (timeout === undefined) {
|
||||||
|
error(`Invalid timeout "${argv['--timeout']}"`);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
let contextName: string | null = null;
|
let contextName: string | null = null;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -98,12 +135,22 @@ export default async function main(client: Client) {
|
|||||||
`Fetching deployment "${deploymentIdOrHost}" in ${chalk.bold(contextName)}`
|
`Fetching deployment "${deploymentIdOrHost}" in ${chalk.bold(contextName)}`
|
||||||
);
|
);
|
||||||
|
|
||||||
|
const until = Date.now() + timeout;
|
||||||
|
const wait = argv['--wait'];
|
||||||
|
|
||||||
// resolve the deployment, since we might have been given an alias
|
// resolve the deployment, since we might have been given an alias
|
||||||
const deployment = await getDeployment(
|
let deployment = await getDeployment(client, contextName, deploymentIdOrHost);
|
||||||
client,
|
|
||||||
contextName,
|
while (Date.now() < until) {
|
||||||
deploymentIdOrHost
|
if (!wait || !isDeploying(deployment.readyState)) {
|
||||||
);
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
await sleep(250);
|
||||||
|
|
||||||
|
// check the deployment state again
|
||||||
|
deployment = await getDeployment(client, contextName, deploymentIdOrHost);
|
||||||
|
}
|
||||||
|
|
||||||
const {
|
const {
|
||||||
id,
|
id,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import chalk from 'chalk';
|
import chalk from 'chalk';
|
||||||
import ms from 'ms';
|
import ms from 'ms';
|
||||||
import table from 'text-table';
|
import table from 'text-table';
|
||||||
import { Project } from '@vercel-internals/types';
|
import type { Project } from '@vercel-internals/types';
|
||||||
import Client from '../../util/client';
|
import Client from '../../util/client';
|
||||||
import getCommandFlags from '../../util/get-command-flags';
|
import getCommandFlags from '../../util/get-command-flags';
|
||||||
import { getCommandName } from '../../util/pkg-name';
|
import { getCommandName } from '../../util/pkg-name';
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ const main = async client => {
|
|||||||
|
|
||||||
if (argv.help || !subcommand) {
|
if (argv.help || !subcommand) {
|
||||||
help();
|
help();
|
||||||
await exit(0);
|
await exit(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
|||||||
@@ -50,12 +50,10 @@ import getUpdateCommand from './util/get-update-command';
|
|||||||
import { metrics, shouldCollectMetrics } from './util/metrics';
|
import { metrics, shouldCollectMetrics } from './util/metrics';
|
||||||
import { getCommandName, getTitleName } from './util/pkg-name';
|
import { getCommandName, getTitleName } from './util/pkg-name';
|
||||||
import doLoginPrompt from './util/login/prompt';
|
import doLoginPrompt from './util/login/prompt';
|
||||||
import { AuthConfig, GlobalConfig } from '@vercel-internals/types';
|
import type { AuthConfig, GlobalConfig } from '@vercel-internals/types';
|
||||||
import { VercelConfig } from '@vercel/client';
|
import { VercelConfig } from '@vercel/client';
|
||||||
import box from './util/output/box';
|
import box from './util/output/box';
|
||||||
|
|
||||||
const isCanary = pkg.version.includes('canary');
|
|
||||||
|
|
||||||
const VERCEL_DIR = getGlobalPathConfig();
|
const VERCEL_DIR = getGlobalPathConfig();
|
||||||
const VERCEL_CONFIG_PATH = configFiles.getConfigFilePath();
|
const VERCEL_CONFIG_PATH = configFiles.getConfigFilePath();
|
||||||
const VERCEL_AUTH_CONFIG_PATH = configFiles.getAuthConfigFilePath();
|
const VERCEL_AUTH_CONFIG_PATH = configFiles.getAuthConfigFilePath();
|
||||||
@@ -70,7 +68,7 @@ sourceMap.install();
|
|||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn: SENTRY_DSN,
|
dsn: SENTRY_DSN,
|
||||||
release: `vercel-cli@${pkg.version}`,
|
release: `vercel-cli@${pkg.version}`,
|
||||||
environment: isCanary ? 'canary' : 'stable',
|
environment: 'stable',
|
||||||
});
|
});
|
||||||
|
|
||||||
let client: Client;
|
let client: Client;
|
||||||
@@ -165,13 +163,7 @@ const main = async () => {
|
|||||||
)}`
|
)}`
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
output.print(
|
output.print(`${chalk.grey(`${getTitleName()} CLI ${pkg.version}`)}\n`);
|
||||||
`${chalk.grey(
|
|
||||||
`${getTitleName()} CLI ${pkg.version}${
|
|
||||||
isCanary ? ' — https://vercel.com/feedback' : ''
|
|
||||||
}`
|
|
||||||
)}\n`
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Handle `--version` directly
|
// Handle `--version` directly
|
||||||
@@ -707,7 +699,6 @@ main()
|
|||||||
// Check if an update is available. If so, `latest` will contain a string
|
// Check if an update is available. If so, `latest` will contain a string
|
||||||
// of the latest version, otherwise `undefined`.
|
// of the latest version, otherwise `undefined`.
|
||||||
const latest = getLatestVersion({
|
const latest = getLatestVersion({
|
||||||
distTag: isCanary ? 'canary' : 'latest',
|
|
||||||
output,
|
output,
|
||||||
pkg,
|
pkg,
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { Output } from '../output';
|
import { Output } from '../output';
|
||||||
import { Alias } from '@vercel-internals/types';
|
import type { Alias } from '@vercel-internals/types';
|
||||||
|
|
||||||
import Client from '../client';
|
import Client from '../client';
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import path from 'path';
|
|||||||
import chalk from 'chalk';
|
import chalk from 'chalk';
|
||||||
import Client from '../client';
|
import Client from '../client';
|
||||||
import { Output } from '../output';
|
import { Output } from '../output';
|
||||||
import { User } from '@vercel-internals/types';
|
import type { User } from '@vercel-internals/types';
|
||||||
import { VercelConfig } from '../dev/types';
|
import { VercelConfig } from '../dev/types';
|
||||||
import getDeploymentsByAppName from '../deploy/get-deployments-by-appname';
|
import getDeploymentsByAppName from '../deploy/get-deployments-by-appname';
|
||||||
import getDeployment from '../get-deployment';
|
import getDeployment from '../get-deployment';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import Client from '../client';
|
import Client from '../client';
|
||||||
import getAliases from './get-aliases';
|
import getAliases from './get-aliases';
|
||||||
import { Alias } from '@vercel-internals/types';
|
import type { Alias } from '@vercel-internals/types';
|
||||||
|
|
||||||
export default async function getDomainAliases(client: Client, domain: string) {
|
export default async function getDomainAliases(client: Client, domain: string) {
|
||||||
const { aliases } = await getAliases(client);
|
const { aliases } = await getAliases(client);
|
||||||
|
|||||||
@@ -27,8 +27,6 @@ const ARG_COMMON = {
|
|||||||
|
|
||||||
'--api': String,
|
'--api': String,
|
||||||
|
|
||||||
'--target': String,
|
|
||||||
|
|
||||||
'--cwd': String,
|
'--cwd': String,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { Build } from '@vercel-internals/types';
|
import type { Build } from '@vercel-internals/types';
|
||||||
|
|
||||||
export const isReady = ({ readyState }: Pick<Build, 'readyState'>) =>
|
export const isReady = ({ readyState }: Pick<Build, 'readyState'>) =>
|
||||||
readyState === 'READY';
|
readyState === 'READY';
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ import { CantParseJSONFile } from '../errors-ts';
|
|||||||
import { isErrnoException, isError } from '@vercel/error-utils';
|
import { isErrnoException, isError } from '@vercel/error-utils';
|
||||||
import cmd from '../output/cmd';
|
import cmd from '../output/cmd';
|
||||||
import code from '../output/code';
|
import code from '../output/code';
|
||||||
|
import type { Writable } from 'stream';
|
||||||
|
|
||||||
export interface BuilderWithPkg {
|
export interface BuilderWithPkg {
|
||||||
path: string;
|
path: string;
|
||||||
@@ -103,8 +104,14 @@ export async function resolveBuilders(
|
|||||||
// at the top-level of `node_modules` since CLI is installing those directly.
|
// at the top-level of `node_modules` since CLI is installing those directly.
|
||||||
pkgPath = join(buildersDir, 'node_modules', name, 'package.json');
|
pkgPath = join(buildersDir, 'node_modules', name, 'package.json');
|
||||||
builderPkg = await readJSON(pkgPath);
|
builderPkg = await readJSON(pkgPath);
|
||||||
} catch (err: any) {
|
} catch (error: unknown) {
|
||||||
if (err?.code !== 'ENOENT') throw err;
|
if (!isErrnoException(error)) {
|
||||||
|
throw error;
|
||||||
|
}
|
||||||
|
if (error.code !== 'ENOENT') {
|
||||||
|
throw error;
|
||||||
|
}
|
||||||
|
|
||||||
// If `pkgPath` wasn't found in `.vercel/builders` then try as a CLI local
|
// If `pkgPath` wasn't found in `.vercel/builders` then try as a CLI local
|
||||||
// dependency. `require.resolve()` will throw if the Builder is not a CLI
|
// dependency. `require.resolve()` will throw if the Builder is not a CLI
|
||||||
// dep, in which case we'll install it into `.vercel/builders`.
|
// dep, in which case we'll install it into `.vercel/builders`.
|
||||||
@@ -227,10 +234,7 @@ async function installBuilders(
|
|||||||
} catch (err: unknown) {
|
} catch (err: unknown) {
|
||||||
if (isError(err)) {
|
if (isError(err)) {
|
||||||
const execaMessage = err.message;
|
const execaMessage = err.message;
|
||||||
let message =
|
let message = getErrorMessage(err, execaMessage);
|
||||||
err && 'stderr' in err && typeof err.stderr === 'string'
|
|
||||||
? err.stderr
|
|
||||||
: execaMessage;
|
|
||||||
if (execaMessage.startsWith('Command failed with ENOENT')) {
|
if (execaMessage.startsWith('Command failed with ENOENT')) {
|
||||||
// `npm` is not installed
|
// `npm` is not installed
|
||||||
message = `Please install ${cmd('npm')} before continuing`;
|
message = `Please install ${cmd('npm')} before continuing`;
|
||||||
@@ -284,3 +288,19 @@ async function installBuilders(
|
|||||||
|
|
||||||
return { resolvedSpecs };
|
return { resolvedSpecs };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type BonusError = Error & {
|
||||||
|
stderr?: string | Writable;
|
||||||
|
};
|
||||||
|
|
||||||
|
function getErrorMessage(err: BonusError, execaMessage: string) {
|
||||||
|
if (!err || !('stderr' in err)) {
|
||||||
|
return execaMessage;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (typeof err.stderr === 'string') {
|
||||||
|
return err.stderr;
|
||||||
|
}
|
||||||
|
|
||||||
|
return execaMessage;
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { readFileSync } from 'fs';
|
import { readFileSync } from 'fs';
|
||||||
import { resolve } from 'path';
|
import { resolve } from 'path';
|
||||||
import Client from '../client';
|
import Client from '../client';
|
||||||
import { Cert } from '@vercel-internals/types';
|
import type { Cert } from '@vercel-internals/types';
|
||||||
import { isErrnoException } from '@vercel/error-utils';
|
import { isErrnoException } from '@vercel/error-utils';
|
||||||
import { isAPIError } from '../errors-ts';
|
import { isAPIError } from '../errors-ts';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import chalk from 'chalk';
|
import chalk from 'chalk';
|
||||||
|
|
||||||
import { Cert } from '@vercel-internals/types';
|
import type { Cert } from '@vercel-internals/types';
|
||||||
import * as ERRORS from '../errors-ts';
|
import * as ERRORS from '../errors-ts';
|
||||||
import Client from '../client';
|
import Client from '../client';
|
||||||
import mapCertError from './map-cert-error';
|
import mapCertError from './map-cert-error';
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { Cert } from '@vercel-internals/types';
|
import type { Cert } from '@vercel-internals/types';
|
||||||
import Client from '../client';
|
import Client from '../client';
|
||||||
import * as ERRORS from '../errors-ts';
|
import * as ERRORS from '../errors-ts';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { stringify } from 'querystring';
|
import { stringify } from 'querystring';
|
||||||
import { Cert } from '@vercel-internals/types';
|
import type { Cert } from '@vercel-internals/types';
|
||||||
import Client from '../client';
|
import Client from '../client';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { stringify } from 'querystring';
|
import { stringify } from 'querystring';
|
||||||
import { Cert } from '@vercel-internals/types';
|
import type { Cert } from '@vercel-internals/types';
|
||||||
import * as ERRORS from '../errors-ts';
|
import * as ERRORS from '../errors-ts';
|
||||||
import Client from '../client';
|
import Client from '../client';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import retry from 'async-retry';
|
import retry from 'async-retry';
|
||||||
import { Cert } from '@vercel-internals/types';
|
import type { Cert } from '@vercel-internals/types';
|
||||||
import Client from '../client';
|
import Client from '../client';
|
||||||
import { isAPIError } from '../errors-ts';
|
import { isAPIError } from '../errors-ts';
|
||||||
import { isError } from '@vercel/error-utils';
|
import { isError } from '@vercel/error-utils';
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user