Skip to content

Commit e209c18

Browse files
committed
Merge remote-tracking branch 'origin/main' into fix/upgrade-glob
2 parents cf7b2d0 + 93e0ab6 commit e209c18

File tree

181 files changed

+22006
-23993
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

181 files changed

+22006
-23993
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ workflows:
4949
executors:
5050
node:
5151
docker:
52-
- image: cimg/node:18.20.7
52+
- image: cimg/node:18.20.8
5353
windows:
5454
machine:
5555
image: windows-server-2019-vs2019:stable

.eslintrc.cjs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const config = {
1313
ecmaVersion: 'latest',
1414
sourceType: 'module',
1515
},
16-
plugins: ['import', '@typescript-eslint'],
16+
plugins: ['import', '@typescript-eslint', 'ava', '@vitest'],
1717

1818
ignorePatterns: [
1919
// TODO: remove when they are migrated to typescript
@@ -60,6 +60,14 @@ const config = {
6060
},
6161
},
6262
],
63+
64+
// -----------------------------------------------------------
65+
// Test rules
66+
'ava/no-only-test': 'error',
67+
// 'ava/no-skip-test': 'error', // Uncomment once we remove all skipped tests
68+
// 'vitest/no-commented-out-tests': 'error', // Uncomment once we remove all commented out tests
69+
'@vitest/no-disabled-tests': 'error',
70+
'@vitest/no-focused-tests': 'error',
6371
},
6472
overrides: [
6573
{

.github/workflows/workflow.yml

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ jobs:
5050
os: [ubuntu-24.04, macos-14, windows-2022]
5151
node-version: ['22']
5252
# Must include the minimum deno version from the `DENO_VERSION_RANGE` constant in `node/bridge.ts`.
53-
deno-version: ['v1.39.0', 'v1.46.3']
53+
deno-version: ['v1.39.0', 'v2.2.4']
5454
include:
5555
- os: ubuntu-24.04
5656
# Earliest supported version
57-
node-version: '14.16.0'
58-
deno-version: 'v1.46.3'
57+
node-version: '18.14.0'
58+
deno-version: 'v2.2.4'
5959
fail-fast: false
6060
steps:
6161
# Sets an output parameter if this is a release PR
@@ -76,9 +76,6 @@ jobs:
7676
node-version: ${{ matrix.node-version }}
7777
cache: 'npm'
7878
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
79-
- name: Install npm@7
80-
run: npm install -g npm@7
81-
if: ${{ matrix.node-version == '14.16.0' && !steps.release-check.outputs.IS_RELEASE }}
8279
- name: Setup Deno
8380
uses: denoland/setup-deno@v1
8481
with:
@@ -115,23 +112,23 @@ jobs:
115112
# We test on the oldest supported Node.js version, but only with a
116113
# single combination (Ubuntu)
117114
- os: ubuntu-24.04
118-
node-version: '14.16.0'
115+
node-version: '18.14.0'
119116
install-command: npm ci
120117
machine: '0'
121118
- os: ubuntu-24.04
122-
node-version: '14.16.0'
119+
node-version: '18.14.0'
123120
install-command: npm ci
124121
machine: '1'
125122
- os: ubuntu-24.04
126-
node-version: '14.16.0'
123+
node-version: '18.14.0'
127124
install-command: npm ci
128125
machine: '2'
129126
- os: ubuntu-24.04
130-
node-version: '14.16.0'
127+
node-version: '18.14.0'
131128
install-command: npm ci
132129
machine: '3'
133130
- os: ubuntu-24.04
134-
node-version: '14.16.0'
131+
node-version: '18.14.0'
135132
install-command: npm ci
136133
machine: '4'
137134
fail-fast: false
@@ -149,27 +146,24 @@ jobs:
149146
with:
150147
fetch-depth: 0
151148
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
152-
- name: corepack update
153-
# corepack version distributed with Node.js has a problem with new package manager releases,
154-
# so forcing fixed version of corepack here
155-
run: npm i -g corepack --force
156-
- name: setup pnpm/yarn
157-
run: corepack enable
158-
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
159149
- name: Setup Deno
160150
uses: denoland/setup-deno@v1
161151
with:
162-
deno-version: v1.46.3
152+
deno-version: v2.2.4
163153
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
164154
- name: Node.js ${{ matrix.node-version }}
165155
uses: actions/setup-node@v4
166156
with:
167157
node-version: ${{ matrix.node-version }}
168158
cache: 'npm'
169159
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
170-
- name: Install npm@7
171-
run: npm install -g npm@7
172-
if: ${{ matrix.node-version == '14.16.0' && !steps.release-check.outputs.IS_RELEASE }}
160+
- name: corepack update
161+
# corepack version distributed with Node.js has a problem with new package manager releases,
162+
# so forcing fixed version of corepack here
163+
run: npm i -g corepack --force
164+
- name: setup pnpm/yarn
165+
run: corepack enable
166+
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
173167
- name: Set up Go
174168
uses: actions/setup-go@v5
175169
with:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ coverage
99
.cache
1010
.vscode
1111
.fleet
12+
.nx
1213

1314
lerna-debug.log
1415

.release-please-manifest.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
2-
"packages/build-info": "9.0.0",
3-
"packages/build": "30.0.1",
4-
"packages/edge-bundler": "12.3.2",
5-
"packages/cache-utils": "5.2.0",
6-
"packages/config": "21.0.1",
7-
"packages/framework-info": "9.9.1",
8-
"packages/functions-utils": "5.3.10",
9-
"packages/git-utils": "5.2.0",
10-
"packages/headers-parser": "8.0.0",
11-
"packages/js-client": "13.3.3",
12-
"packages/nock-udp": "4.0.0",
13-
"packages/redirect-parser": "14.5.0",
14-
"packages/run-utils": "5.2.0",
15-
"packages/opentelemetry-sdk-setup": "1.2.0",
16-
"packages/opentelemetry-utils": "1.3.0",
17-
"packages/zip-it-and-ship-it": "10.0.1"
2+
"packages/build-info": "10.0.4",
3+
"packages/build": "33.2.0",
4+
"packages/edge-bundler": "14.0.4",
5+
"packages/cache-utils": "6.0.2",
6+
"packages/config": "23.0.6",
7+
"packages/framework-info": "10.0.4",
8+
"packages/functions-utils": "6.0.6",
9+
"packages/git-utils": "6.0.1",
10+
"packages/headers-parser": "9.0.0",
11+
"packages/js-client": "14.0.1",
12+
"packages/nock-udp": "5.0.0",
13+
"packages/redirect-parser": "15.0.1",
14+
"packages/run-utils": "6.0.1",
15+
"packages/opentelemetry-sdk-setup": "2.0.1",
16+
"packages/opentelemetry-utils": "2.0.0",
17+
"packages/zip-it-and-ship-it": "12.1.0"
1818
}

lerna.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"useNx": true,
4-
"useWorkspaces": true,
53
"version": "independent"
64
}

nx.json

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,24 @@
11
{
22
"implicitDependencies": {
33
".c8rc.json": "*",
4-
"ava.base.js": ["@netlify/build", "@netlify/config", "netlify"],
4+
"ava.base.js": ["@netlify/build", "@netlify/config", "@netlify/api"],
55
"package.json": "*",
66
"package-lock.json": "*",
77
"nx.json": "*",
88
"tsconfig.base.json": "*"
99
},
10-
"tasksRunnerOptions": {
11-
"default": {
12-
"runner": "nx/tasks-runners/default",
13-
"options": {
14-
"cacheableOperations": ["build", "test", "test:ci"]
15-
}
16-
}
17-
},
1810
"targetDefaults": {
1911
"build": {
2012
"dependsOn": ["^build"],
21-
"outputs": ["{projectRoot}/lib"]
13+
"outputs": ["{projectRoot}/lib"],
14+
"cache": true
2215
},
2316
"test:ci": {
24-
"dependsOn": ["build"]
17+
"dependsOn": ["build"],
18+
"cache": true
19+
},
20+
"test": {
21+
"cache": true
2522
}
2623
}
2724
}

0 commit comments

Comments
 (0)