Skip to content

Commit 85e5761

Browse files
committed
chore: revert #1919, keep nub solely as vite-node replacement
@nubjs/nub stays as a devDependency but only runs scripts/*.ts, replacing vite-node (nub resolves tsconfig.json#paths natively, so the -c vitest.config.ts flag is no longer needed). Also bumps typescript-eslint to 8.65, tsdown to 0.22.12, eslint-plugin-jsdoc to 63.2, import-integrity-lint to 1.2 and postcss to 8.5.20 across the workspace.
1 parent 3c2a7fe commit 85e5761

41 files changed

Lines changed: 2153 additions & 1509 deletions

File tree

Some content is hidden

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

.github/workflows/check.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,21 @@ jobs:
2727
with:
2828
node-version: 26
2929
package-manager-cache: false
30-
- name: Setup nub
31-
# zizmor: ignore[adhoc-packages] installs the nub toolchain per upstream docs; no lockfile applies to a global tool
32-
run: npm install --global --ignore-scripts=false @nubjs/nub
30+
- name: Setup pnpm
31+
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
3332
- name: Install dependencies
34-
run: nub install --frozen-lockfile
33+
run: pnpm install --frozen-lockfile
3534
- name: Check formatting
36-
run: nub run format:check
35+
run: node --run format:check
3736
- name: Build packages
38-
run: nub run build
37+
run: node --run build
3938
- name: Lint
40-
run: nub run lint
39+
run: node --run lint
4140
- name: Verify rules
42-
run: nub run check:rules
41+
run: node --run check:rules
4342
- name: Lint MDX
44-
run: nub run lint:mdx
43+
run: node --run lint:mdx
4544
- name: Check website types
46-
run: nub run --filter "./apps/website" types:check
45+
run: pnpm -F "./apps/website" run types:check
4746
- name: Verify generated files are up to date
4847
run: git --no-pager diff --exit-code

.github/workflows/publish.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,26 @@ jobs:
2929
with:
3030
node-version: 26
3131
package-manager-cache: false
32-
- name: Setup nub
33-
# zizmor: ignore[adhoc-packages] installs the nub toolchain per upstream docs; no lockfile applies to a global tool
34-
run: npm install --global --ignore-scripts=false @nubjs/nub
32+
- name: Setup pnpm
33+
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
3534
- name: Install dependencies
36-
run: nub install --frozen-lockfile --ignore-scripts
35+
run: pnpm install --frozen-lockfile --ignore-scripts
3736
- name: Build packages
38-
run: nub run build
37+
run: node --run build
3938
- name: Publish
4039
run: |
4140
if git log -1 --pretty=%B | grep "^release: [0-9]\+\.[0-9]\+\.[0-9]\+$";
4241
then
43-
nub --filter "./packages/*" --filter "./plugins/*" publish --provenance --access public
42+
pnpm --filter "./packages/*" --filter "./plugins/*" publish --provenance --access public
4443
elif git log -1 --pretty=%B | grep "^release: [0-9]\+\.[0-9]\+\.[0-9]\+-rc\.[0-9]\+$";
4544
then
46-
nub --filter "./packages/*" --filter "./plugins/*" publish --provenance --access public --tag rc --no-git-checks
45+
pnpm --filter "./packages/*" --filter "./plugins/*" publish --provenance --access public --tag rc --no-git-checks
4746
elif git log -1 --pretty=%B | grep "^release: [0-9]\+\.[0-9]\+\.[0-9]\+-beta\.[0-9]\+$";
4847
then
49-
nub --filter "./packages/*" --filter "./plugins/*" publish --provenance --access public --tag beta --no-git-checks
48+
pnpm --filter "./packages/*" --filter "./plugins/*" publish --provenance --access public --tag beta --no-git-checks
5049
elif git log -1 --pretty=%B | grep "^release: [0-9]\+\.[0-9]\+\.[0-9]\+-next\.[0-9]\+$";
5150
then
52-
nub --filter "./packages/*" --filter "./plugins/*" publish --provenance --access public --tag next --no-git-checks
51+
pnpm --filter "./packages/*" --filter "./plugins/*" publish --provenance --access public --tag next --no-git-checks
5352
else
5453
echo "Not a release, skipping publish"
5554
fi

.github/workflows/release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,14 @@ jobs:
2424
node-version: 26
2525
package-manager-cache: false
2626

27-
- name: Setup nub
28-
# zizmor: ignore[adhoc-packages] installs the nub toolchain per upstream docs; no lockfile applies to a global tool
29-
run: npm install --global --ignore-scripts=false @nubjs/nub
27+
- name: Setup pnpm
28+
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
3029

3130
- name: Install dependencies
32-
run: nub install --frozen-lockfile --ignore-scripts
31+
run: pnpm install --frozen-lockfile --ignore-scripts
3332

3433
- name: Build
35-
run: nub run build
34+
run: node --run build
3635

3736
- name: Determine release info
3837
id: release
@@ -76,7 +75,7 @@ jobs:
7675
if: steps.release.outputs.is_release == 'true'
7776
run: |
7877
for dir in packages/*/ plugins/*/; do
79-
(cd "$dir" && nub pack)
78+
(cd "$dir" && pnpm pack)
8079
done
8180
8281
- name: Attest packages

.github/workflows/test.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,29 @@ jobs:
2727
with:
2828
node-version: 26
2929
package-manager-cache: false
30-
- name: Setup nub
31-
# zizmor: ignore[adhoc-packages] installs the nub toolchain per upstream docs; no lockfile applies to a global tool
32-
run: npm install --global --ignore-scripts=false @nubjs/nub
30+
- name: Setup pnpm
31+
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
3332
- name: Install dependencies
34-
run: nub install --frozen-lockfile
33+
run: pnpm install --frozen-lockfile
3534
- name: Build packages
36-
run: nub run build
35+
run: node --run build
3736
- name: Test on node@26
38-
run: nub run test
37+
run: node --run test
3938
- name: Setup node@24
4039
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
4140
with:
4241
node-version: 24
4342
package-manager-cache: false
43+
- name: Setup pnpm
44+
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
4445
- name: Test on node@24
45-
run: nub run test
46+
run: node --run test
4647
- name: Setup node@22
4748
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
4849
with:
4950
node-version: 22
5051
package-manager-cache: false
52+
- name: Setup pnpm
53+
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
5154
- name: Test on node@22
52-
run: nub run test
55+
run: node --run test

.pkgs/configs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@
3636
"@eslint/compat": "^2.1.0",
3737
"@stylistic/eslint-plugin": "^5.10.0",
3838
"eslint-plugin-de-morgan": "^2.1.3",
39-
"eslint-plugin-jsdoc": "^63.1.0",
39+
"eslint-plugin-jsdoc": "^63.2.0",
4040
"eslint-plugin-perfectionist": "^5.10.0",
4141
"eslint-plugin-regexp": "^3.1.1",
4242
"eslint-plugin-unicorn": "^69.0.0",
43-
"typescript-eslint": "^8.64.0"
43+
"typescript-eslint": "^8.65.0"
4444
},
4545
"devDependencies": {
4646
"eslint": "^10.7.0",
4747
"tinyglobby": "^0.2.17",
48-
"tsdown": "^0.22.9",
48+
"tsdown": "^0.22.12",
4949
"tsl": "^1.0.30",
5050
"tsl-dx": "^0.13.3",
5151
"typedoc": "^0.28.20",

.pkgs/eff/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
"build:docs": "typedoc",
3535
"lint:publish": "publint --pack npm",
3636
"lint:ts": "tsl",
37-
"publish": "nub run build && nub run lint:publish"
37+
"publish": "node --run build && node --run lint:publish"
3838
},
3939
"devDependencies": {
4040
"@local/configs": "workspace:*",
41-
"tsdown": "^0.22.9"
41+
"tsdown": "^0.22.12"
4242
},
4343
"engines": {
4444
"node": ">=22.0.0"

.pkgs/samples/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333
"build:docs": "typedoc",
3434
"lint:publish": "publint --pack npm",
3535
"lint:ts": "tsl",
36-
"publish": "nub run build:docs && nub run lint:publish"
36+
"publish": "node --run build:docs && node --run lint:publish"
3737
},
3838
"dependencies": {
3939
"@eslint-react/kit": "workspace:*",
40-
"@typescript-eslint/types": "^8.64.0",
41-
"@typescript-eslint/typescript-estree": "^8.64.0",
42-
"@typescript-eslint/utils": "^8.64.0",
40+
"@typescript-eslint/types": "^8.65.0",
41+
"@typescript-eslint/typescript-estree": "^8.65.0",
42+
"@typescript-eslint/utils": "^8.65.0",
4343
"ts-pattern": "^5.9.0"
4444
},
4545
"devDependencies": {
@@ -50,9 +50,9 @@
5050
"@types/react": "^19.2.17",
5151
"@types/react-dom": "^19.2.3",
5252
"eslint": "^10.7.0",
53-
"tsdown": "^0.22.9",
53+
"tsdown": "^0.22.12",
5454
"typescript": "6.0.3",
55-
"typescript-eslint": "^8.64.0"
55+
"typescript-eslint": "^8.65.0"
5656
},
5757
"engines": {
5858
"node": ">=22.0.0"

.pkgs/testkit/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,22 @@
3333
"build:docs": "typedoc",
3434
"lint:publish": "publint --pack npm",
3535
"lint:ts": "tsl",
36-
"publish": "nub run build:docs && nub run lint:publish"
36+
"publish": "node --run build:docs && node --run lint:publish"
3737
},
3838
"dependencies": {
39-
"@typescript-eslint/parser": "^8.64.0",
40-
"@typescript-eslint/rule-tester": "^8.64.0",
41-
"@typescript-eslint/types": "^8.64.0",
42-
"@typescript-eslint/typescript-estree": "^8.64.0",
43-
"@typescript-eslint/utils": "^8.64.0"
39+
"@typescript-eslint/parser": "^8.65.0",
40+
"@typescript-eslint/rule-tester": "^8.65.0",
41+
"@typescript-eslint/types": "^8.65.0",
42+
"@typescript-eslint/typescript-estree": "^8.65.0",
43+
"@typescript-eslint/utils": "^8.65.0"
4444
},
4545
"devDependencies": {
4646
"@local/configs": "workspace:*",
4747
"@tsconfig/node24": "^24.0.4",
4848
"@tsconfig/strictest": "^2.0.8",
4949
"eslint": "^10.7.0",
5050
"expect-type": "^1.4.0",
51-
"tsdown": "^0.22.9",
51+
"tsdown": "^0.22.12",
5252
"typescript": "6.0.3",
5353
"vitest": "^4.1.10"
5454
},

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Version](https://img.shields.io/npm/v/@eslint-react/core?style=flat&colorA=111111&colorB=000000)](https://npmx.dev/package/@eslint-react/core)
66
[![Downloads](https://img.shields.io/npm/dt/@eslint-react/core.svg?style=flat&colorA=222222&colorB=000000)](https://npmx.dev/package/@eslint-react/core)
77
[![License](https://img.shields.io/npm/l/@eslint-react/core?style=flat&colorA=333333&colorB=000000)](https://github.com/Rel1cx/eslint-react/blob/main/LICENSE)
8-
[![Build with](https://img.shields.io/badge/built_with-tsdown@0.22.9-000000?style=flat)](https://tsdown.dev)
8+
[![Build with](https://img.shields.io/badge/built_with-tsdown@0.22.12-000000?style=flat)](https://tsdown.dev)
99

1010
Composable ESLint rules for React and friends.
1111

apps/website/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
"@types/node": "^26.1.1",
3333
"@types/react": "^19.2.17",
3434
"@types/react-dom": "^19.2.3",
35-
"@typescript-eslint/types": "^8.64.0",
36-
"@typescript-eslint/utils": "^8.64.0",
35+
"@typescript-eslint/types": "^8.65.0",
36+
"@typescript-eslint/utils": "^8.65.0",
3737
"beautiful-mermaid": "^1.1.3",
3838
"bsky-react-post": "^0.1.7",
3939
"clsx": "^2.1.1",
@@ -48,12 +48,12 @@
4848
"fumadocs-twoslash": "^3.3.0",
4949
"fumadocs-typescript": "^5.3.0",
5050
"fumadocs-ui": "^16.11.5",
51-
"import-integrity-lint": "^1.1.4",
51+
"import-integrity-lint": "^1.2.0",
5252
"importx": "^0.5.2",
5353
"lucide-react": "^1.25.0",
5454
"next": "^16.2.10",
5555
"next-view-transitions": "^0.3.5",
56-
"postcss": "^8.5.19",
56+
"postcss": "^8.5.20",
5757
"react": "^19.2.7",
5858
"react-dom": "^19.2.7",
5959
"tailwind-merge": "^3.6.0",
@@ -63,6 +63,6 @@
6363
"tsl-dx": "^0.13.3",
6464
"twoslash": "^0.3.9",
6565
"typescript": "6.0.3",
66-
"typescript-eslint": "^8.64.0"
66+
"typescript-eslint": "^8.65.0"
6767
}
6868
}

0 commit comments

Comments
 (0)