Skip to content

Commit 07f9d3e

Browse files
authored
ci(node): Use correct node version (#2877)
* ci(node): Use correct node version * Remove overrides * update lock file * Change assert to with * Remove duplicated version
1 parent 73a2c9d commit 07f9d3e

26 files changed

+1179
-1003
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- uses: actions/setup-node@v4
2121
with:
2222
cache: 'pnpm'
23+
node-version-file: 'package.json'
2324

2425
- name: Install dependencies
2526
run: pnpm install --frozen-lockfile

.github/workflows/lint-code.yml

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
- uses: actions/setup-node@v4
1313
with:
1414
cache: 'pnpm'
15+
node-version-file: 'package.json'
1516

1617
- name: Install Dependencies
1718
run: pnpm install --frozen-lockfile

.github/workflows/linting-icons.yml

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
files: icons/*
4141

4242
- uses: actions/setup-node@v4
43+
with:
44+
node-version-file: 'package.json'
4345
- name: Install simple-git (safer and faster than installing all deps)
4446
run: npm install simple-git
4547

.github/workflows/lucide-angular.yml

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
- uses: actions/setup-node@v4
1717
with:
1818
cache: 'pnpm'
19+
node-version-file: 'package.json'
1920

2021
- name: Install dependencies
2122
run: pnpm install --frozen-lockfile
@@ -31,6 +32,7 @@ jobs:
3132
- uses: actions/setup-node@v4
3233
with:
3334
cache: 'pnpm'
35+
node-version-file: 'package.json'
3436

3537
- name: Install dependencies
3638
run: pnpm install --frozen-lockfile

.github/workflows/lucide-font.yml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
- uses: actions/setup-node@v4
1717
with:
1818
cache: 'pnpm'
19+
node-version-file: 'package.json'
1920

2021
- name: Install dependencies
2122
run: pnpm install --frozen-lockfile

.github/workflows/lucide-preact.yml

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- uses: actions/setup-node@v4
1919
with:
2020
cache: 'pnpm'
21+
node-version-file: 'package.json'
2122

2223
- name: Install dependencies
2324
run: pnpm install --frozen-lockfile

.github/workflows/lucide-react-native.yml

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- uses: actions/setup-node@v4
1919
with:
2020
cache: 'pnpm'
21+
node-version-file: 'package.json'
2122

2223
- name: Install dependencies
2324
run: pnpm install --frozen-lockfile
@@ -33,6 +34,7 @@ jobs:
3334
- uses: actions/setup-node@v4
3435
with:
3536
cache: 'pnpm'
37+
node-version-file: 'package.json'
3638

3739
- name: Install dependencies
3840
run: pnpm install --frozen-lockfile

.github/workflows/lucide-react.yml

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- uses: actions/setup-node@v4
2020
with:
2121
cache: 'pnpm'
22+
node-version-file: 'package.json'
2223

2324
- name: Install dependencies
2425
run: pnpm install --frozen-lockfile
@@ -34,6 +35,7 @@ jobs:
3435
- uses: actions/setup-node@v4
3536
with:
3637
cache: 'pnpm'
38+
node-version-file: 'package.json'
3739

3840
- name: Install dependencies
3941
run: pnpm install --frozen-lockfile

.github/workflows/lucide-shared.yml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- uses: actions/setup-node@v4
1616
with:
1717
cache: 'pnpm'
18+
node-version-file: 'package.json'
1819

1920
- name: Install dependencies
2021
run: pnpm install --frozen-lockfile

.github/workflows/lucide-solid.yml

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- uses: actions/setup-node@v4
1919
with:
2020
cache: 'pnpm'
21+
node-version-file: 'package.json'
2122

2223
- name: Install dependencies
2324
run: pnpm install --frozen-lockfile
@@ -33,6 +34,7 @@ jobs:
3334
- uses: actions/setup-node@v4
3435
with:
3536
cache: 'pnpm'
37+
node-version-file: 'package.json'
3638

3739
- name: Install dependencies
3840
run: pnpm install --frozen-lockfile

.github/workflows/lucide-static.yml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
- uses: actions/setup-node@v4
1717
with:
1818
cache: 'pnpm'
19+
node-version-file: 'package.json'
1920

2021
- name: Install dependencies
2122
run: pnpm install --frozen-lockfile

.github/workflows/lucide-svelte-5.yml

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- uses: actions/setup-node@v4
1919
with:
2020
cache: 'pnpm'
21+
node-version-file: 'package.json'
2122

2223
- name: Install dependencies
2324
run: pnpm install --frozen-lockfile
@@ -33,6 +34,7 @@ jobs:
3334
- uses: actions/setup-node@v4
3435
with:
3536
cache: 'pnpm'
37+
node-version-file: 'package.json'
3638

3739
- name: Install dependencies
3840
run: pnpm install --frozen-lockfile

.github/workflows/lucide-svelte.yml

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- uses: actions/setup-node@v4
1919
with:
2020
cache: 'pnpm'
21+
node-version-file: 'package.json'
2122

2223
- name: Install dependencies
2324
run: pnpm install --frozen-lockfile
@@ -33,6 +34,7 @@ jobs:
3334
- uses: actions/setup-node@v4
3435
with:
3536
cache: 'pnpm'
37+
node-version-file: 'package.json'
3638

3739
- name: Install dependencies
3840
run: pnpm install --frozen-lockfile

.github/workflows/lucide-vue-next.yml

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- uses: actions/setup-node@v4
1919
with:
2020
cache: 'pnpm'
21+
node-version-file: 'package.json'
2122

2223
- name: Install dependencies
2324
run: pnpm install --frozen-lockfile
@@ -33,6 +34,7 @@ jobs:
3334
- uses: actions/setup-node@v4
3435
with:
3536
cache: 'pnpm'
37+
node-version-file: 'package.json'
3638

3739
- name: Install dependencies
3840
run: pnpm install --frozen-lockfile

.github/workflows/lucide.yml

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
- uses: actions/setup-node@v4
1818
with:
1919
cache: 'pnpm'
20+
node-version-file: 'package.json'
2021

2122
- name: Install dependencies
2223
run: pnpm install --frozen-lockfile
@@ -32,6 +33,7 @@ jobs:
3233
- uses: actions/setup-node@v4
3334
with:
3435
cache: 'pnpm'
36+
node-version-file: 'package.json'
3537

3638
- name: Install dependencies
3739
run: pnpm install --frozen-lockfile

.github/workflows/release.yml

+3
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
- uses: actions/setup-node@v4
6161
with:
6262
cache: 'pnpm'
63+
node-version-file: 'package.json'
6364

6465
- name: Install dependencies
6566
run: pnpm install --frozen-lockfile
@@ -90,6 +91,7 @@ jobs:
9091
- uses: actions/setup-node@v4
9192
with:
9293
cache: 'pnpm'
94+
node-version-file: 'package.json'
9395

9496
- name: Install dependencies
9597
run: pnpm install --frozen-lockfile
@@ -119,6 +121,7 @@ jobs:
119121
- uses: actions/setup-node@v4
120122
with:
121123
cache: 'pnpm'
124+
node-version-file: 'package.json'
122125

123126
- name: Install dependencies
124127
run: pnpm install --frozen-lockfile

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@
5454
"eslint-config-prettier": "^8.10.0",
5555
"eslint-import-resolver-alias": "^1.1.2",
5656
"eslint-import-resolver-custom-alias": "^1.3.2",
57-
"eslint-import-resolver-typescript": "^3.6.3",
57+
"eslint-import-resolver-typescript": "^3.8.3",
5858
"eslint-plugin-import": "^2.31.0",
5959
"husky": "^8.0.3",
6060
"lint-staged": "^13.3.0",
6161
"minimist": "^1.2.8",
6262
"p-memoize": "^7.1.1",
6363
"prettier": "3.2.4",
64-
"semver": "^7.6.3",
64+
"semver": "^7.7.1",
6565
"simple-git": "^3.27.0",
6666
"svgo": "^3.3.2",
6767
"svgson": "^5.3.1",
@@ -70,7 +70,7 @@
7070
"engines": {
7171
"node": ">=23.0.0"
7272
},
73-
"packageManager": "pnpm@9.7.1+sha512.faf344af2d6ca65c4c5c8c2224ea77a81a5e8859cbc4e06b1511ddce2f0151512431dd19e6aff31f2c6a8f5f2aced9bd2273e1fed7dd4de1868984059d2c4247",
73+
"packageManager": "pnpm@10.6.1+sha512.40ee09af407fa9fbb5fbfb8e1cb40fbb74c0af0c3e10e9224d7b53c7658528615b2c92450e74cfad91e3a2dcafe3ce4050d80bda71d757756d2ce2b66213e9a3",
7474
"pnpm": {
7575
"packageExtensions": {
7676
"vue-template-compiler": {

packages/lucide-react-native/rollup.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import plugins from '@lucide/rollup-plugins';
22
import dts from 'rollup-plugin-dts';
3-
import pkg from './package.json' assert { type: 'json' };
3+
import pkg from './package.json' with { type: 'json' };
44

55
const packageName = 'LucideReact';
66
const outputFileName = 'lucide-react-native';

packages/lucide-react/rollup.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import plugins from '@lucide/rollup-plugins';
22
import preserveDirectives from 'rollup-plugin-preserve-directives';
3-
import pkg from './package.json' assert { type: 'json' };
3+
import pkg from './package.json' with { type: 'json' };
44
import dts from 'rollup-plugin-dts';
55
import getAliasesEntryNames from './scripts/getAliasesEntryNames.mjs';
66

packages/lucide-solid/rollup.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import esbuild from 'esbuild';
44
import plugins from '@lucide/rollup-plugins';
55
import ts from 'typescript';
66

7-
import pkg from './package.json' assert { type: 'json' };
7+
import pkg from './package.json' with { type: 'json' };
88

99
const packageName = 'LucideSolid';
1010
const outputFileName = 'lucide-solid';

packages/lucide-static/rollup.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import plugins from '@lucide/rollup-plugins';
22
import dts from 'rollup-plugin-dts';
3-
import pkg from './package.json' assert { type: 'json' };
3+
import pkg from './package.json' with { type: 'json' };
44

55
const outputFileName = pkg.name;
66
const outputDir = 'dist';

packages/lucide-vue-next/rollup.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import plugins, { replace } from '@lucide/rollup-plugins';
2-
import pkg from './package.json' assert { type: 'json' };
2+
import pkg from './package.json' with { type: 'json' };
33
import dts from 'rollup-plugin-dts';
44

55
const packageName = 'LucideVueNext';

packages/lucide-vue/rollup.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import plugins, { replace } from '@lucide/rollup-plugins';
2-
import pkg from './package.json' assert { type: 'json' };
2+
import pkg from './package.json' with { type: 'json' };
33

44
const packageName = 'LucideVue';
55
const outputFileName = 'lucide-vue';

0 commit comments

Comments
 (0)