Skip to content

Commit 78a8987

Browse files
committed
chore: upgrade all the things and require node 22
1 parent f5a699d commit 78a8987

10 files changed

Lines changed: 3263 additions & 10278 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: CI
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
48

59
concurrency:
610
group: ${{ github.workflow }}-${{ github.ref }}
@@ -12,7 +16,7 @@ jobs:
1216
runs-on: ${{ matrix.os }}
1317
strategy:
1418
matrix:
15-
nodejs: [18, 20]
19+
nodejs: [22, 24]
1620
os: [ubuntu-latest, macOS-latest]
1721
fail-fast: false
1822
steps:

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm-lock.yaml

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import eslintConfig from 'tomer/eslint'
1+
import eslintConfig from '@tomer/eslint-config'
22

33
export default [
44
{ ignores: [`test/fixtures`] },

package.json

Lines changed: 30 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
"bugs": {
2020
"url": "https://github.com/TomerAberbach/rollup-plugin-tree-shakeable/issues"
2121
},
22+
"funding": {
23+
"url": "https://github.com/sponsors/TomerAberbach"
24+
},
2225
"license": "Apache-2.0 AND MIT",
2326
"files": [
2427
"dist",
@@ -29,39 +32,41 @@
2932
"type": "module",
3033
"sideEffects": false,
3134
"engines": {
32-
"node": ">= 18"
35+
"node": ">= 22"
3336
},
3437
"exports": {
35-
"types": "./dist/index.d.ts",
36-
"import": "./dist/index.js"
38+
".": {
39+
"types": "./dist/index.d.ts",
40+
"default": "./dist/index.js"
41+
},
42+
"./package.json": "./package.json"
3743
},
38-
"types": "./dist/index.d.ts",
39-
"module": "./dist/index.js",
4044
"scripts": {
41-
"prepare": "tomer install",
42-
"format": "tomer format",
43-
"lint": "tomer lint",
44-
"typecheck": "tomer typecheck",
45-
"test": "tomer test",
46-
"build": "tomer build",
47-
"clean": "tomer clean dist",
48-
"prepublishOnly": "tomer build"
45+
"format": "prettier --cache --write .",
46+
"lint": "eslint --cache --cache-location node_modules/.cache/eslint/ --fix .",
47+
"typecheck": "tsc --noEmit",
48+
"test": "vitest",
49+
"coverage": "vitest --coverage",
50+
"bench": "vitest bench",
51+
"build": "tsdown"
4952
},
50-
"prettier": "tomer/prettier",
53+
"prettier": "@tomer/prettier-config",
5154
"dependencies": {
52-
"@types/node": "^22.7.7",
55+
"@types/node": "^24.3.0",
5356
"estree-walker": "^3.0.3",
54-
"magic-string": "^0.30.12"
57+
"magic-string": "^0.30.18"
5558
},
5659
"devDependencies": {
57-
"@types/estree": "^1.0.6",
58-
"@vitest/coverage-v8": "^2.1.3",
59-
"esbuild": "^0.24.0",
60-
"eslint": "^8.57.1",
61-
"prettier": "^3.3.3",
62-
"rollup": "^4.24.0",
63-
"tomer": "^4.4.0",
64-
"typescript": "^5.6.3",
65-
"vitest": "^2.1.3"
60+
"@tomer/eslint-config": "^4.1.1",
61+
"@tomer/prettier-config": "^4.0.0",
62+
"@types/estree": "^1.0.8",
63+
"@vitest/coverage-v8": "^3.2.4",
64+
"esbuild": "^0.25.9",
65+
"eslint": "^9.34.0",
66+
"prettier": "^3.6.2",
67+
"rollup": "^4.50.0",
68+
"tsdown": "^0.14.2",
69+
"typescript": "^5.9.2",
70+
"vitest": "^3.2.4"
6671
}
6772
}

0 commit comments

Comments
 (0)