Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ jobs:
- name: Node.js
uses: actions/setup-node@v6
with:
node-version: lts/*
node-version: '24'
cache: 'npm'
# Use npm@10 on Node 22+ due to https://github.com/npm/cli/issues/8489
- name: Setup npm version
run: npm install -g npm@10
- name: Install dependencies
run: npm ci
- name: Check formatting
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,9 @@ jobs:
- name: Node.js
uses: actions/setup-node@v6
with:
node-version: lts/*
node-version: '24'
cache: 'npm'

# Use npm@10 on Node 22+ due to https://github.com/npm/cli/issues/8489
- name: Setup npm version
run: npm install -g npm@10

- name: Setup Deno
uses: denoland/setup-deno@v1
with:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/nuxt-module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
node-version: ['*']
node-version: ['24']
include:
- os: ubuntu-latest
node-version: '20.19.0'
Expand All @@ -29,10 +29,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
# Use npm@10 on Node 22+ due to https://github.com/npm/cli/issues/8489
- name: Setup npm version
run: npm install -g npm@10
if: "${{ matrix.node-version == '*' }}"
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/publint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,8 @@ jobs:
- name: Node.js
uses: actions/setup-node@v6
with:
node-version: lts/*
node-version: '24'
cache: 'npm'
# Use npm@10 on Node 22+ due to https://github.com/npm/cli/issues/8489
- name: Setup npm version
run: npm install -g npm@10
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,11 @@ jobs:
run: git checkout ${{ github.event.inputs.tag }}
- uses: actions/setup-node@v6
with:
node-version: '*'
node-version: '24'
cache: 'npm'
check-latest: true
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.releases_created || github.event_name == 'workflow_dispatch' }}
# Use npm@10 on Node 22+ due to https://github.com/npm/cli/issues/8489
- name: Setup npm version
run: npm install -g npm@10
if: ${{ steps.release.outputs.releases_created || github.event_name == 'workflow_dispatch' }}
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ jobs:
with:
node-version: ${{ matrix.node-install-version }}
cache: 'npm'
# Use npm@10 on Node 22+ due to https://github.com/npm/cli/issues/8489
- name: Setup npm version
run: npm install -g npm@10
if: "${{ matrix.node-version == '24' }}"
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
Expand Down
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,16 @@
"husky": "^9.0.0",
"prettier": "^3.0.0",
"typescript-eslint": "^8.33.0"
},
"packageManager": "npm@11.17.0+sha512.3eeaf18997b11070d313849268b23766b9db0068997dec9471073170fe43fa17f2b4d0337bf0f52330ee2274e7f5754b21b01052742e48f5c9c74d8b1e32ef43",
"allowScripts": {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm 11.x does not yet disable postinstall scripts, but it does allow allowing/disallowing scripts. This at least prevents a wall of warnings on npm i.

"esbuild@0.27.7": true,
"esbuild@0.28.0": true,
"esbuild@0.25.12": true,
"fsevents@2.3.3": true,
"fsevents@2.3.2": true,
"@parcel/watcher@2.5.6": true,
"sharp@0.34.5": true,
"unrs-resolver@1.12.2": true
}
}
5 changes: 0 additions & 5 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: ['local>netlify/renovate-config'],
// See https://docs.renovatebot.com/configuration-options/#constraints
constraints: {
// Use npm@10 (instead of default v11 on Node.js 22+) due to https://github.com/npm/cli/issues/8489
npm: '^10.0.0',
},
}
Loading