Skip to content

Commit 323af06

Browse files
committed
chore(repo): update all the things
1 parent 813ddb3 commit 323af06

19 files changed

+1792
-2711
lines changed

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ output.js
55
*-wps-hmr.*
66
*.hot-update.js
77
test/**/output
8-
.eslintrc.js
8+
.eslintrc.cjs

.github/workflows/node-windows.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,14 @@ on:
1515

1616
jobs:
1717
build:
18-
runs-on: windows-2022
18+
runs-on: windows-latest
1919

2020
# Ensure only one run per PR/branch is active; cancel superseded runs on new pushes
2121
concurrency:
2222
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref || github.ref_name }}
2323
cancel-in-progress: true
2424

25-
strategy:
26-
matrix:
27-
node: ['20.19.0']
28-
29-
name: Node v${{ matrix.node }}
25+
name: Validate (Windows)
3026
steps:
3127
- name: Configure git line-breaks
3228
run: git config --global core.autocrlf false
@@ -37,12 +33,13 @@ jobs:
3733
fetch-depth: 0
3834

3935
- name: Checkout Master
36+
if: ${{ github.ref_name != 'master' }}
4037
run: git branch -f master origin/master
4138

4239
- name: Setup Node
4340
uses: actions/setup-node@v4
4441
with:
45-
node-version: ${{ matrix.node }}
42+
node-version: 20.19.0
4643

4744
- name: install pnpm
4845
run: npm install pnpm -g

.github/workflows/validate.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,24 @@ jobs:
2222
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref || github.ref_name }}
2323
cancel-in-progress: true
2424

25-
strategy:
26-
matrix:
27-
node: ['20.19.0']
28-
29-
name: Node v${{ matrix.node }}
25+
name: Validate
3026

3127
steps:
3228
- name: Checkout Commit
3329
uses: actions/checkout@v4
3430
with:
35-
fetch-depth: 0
31+
fetch-depth: 20
32+
33+
- name: Checkout Master
34+
if: ${{ github.ref_name != 'master' }}
35+
run: |
36+
git fetch origin
37+
git branch -f master origin/master
3638
3739
- name: Setup Node
3840
uses: actions/setup-node@v4
3941
with:
40-
node-version: ${{ matrix.node }}
41-
42-
- name: Checkout Master
43-
run: git branch -f master origin/master
42+
node-version: 20.19.0
4443

4544
- name: Install pnpm
4645
run: npm install pnpm -g

commitlint.config.cjs

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"author": "Dane Thurber <[email protected]>",
88
"homepage": "https://github.com/shellscape/webpack-manifest-plugin",
99
"bugs": "https://github.com/shellscape/webpack-manifest-plugin/issues",
10-
"type": "module",
1110
"main": "dist/index.js",
11+
"type": "module",
1212
"exports": {
1313
".": {
1414
"types": "./dist/index.d.ts",
@@ -31,47 +31,45 @@
3131
"prepare": "husky install",
3232
"prepublishOnly": "pnpm lint && pnpm build",
3333
"security": "pnpm audit --audit-level=high --prod",
34-
"test": "vitest"
34+
"test": "vitest run"
3535
},
3636
"files": [
3737
"dist",
38-
"README.md",
39-
"LICENSE"
38+
"LICENSE",
39+
"README.md"
4040
],
4141
"peerDependencies": {
4242
"webpack": "^5.75.0"
4343
},
4444
"dependencies": {
4545
"tapable": "^2.0.0",
46-
"webpack-sources": "^2.2.0"
46+
"webpack-sources": "^3.3.3"
4747
},
4848
"devDependencies": {
49-
"@commitlint/cli": "^13.1.0",
50-
"@commitlint/config-conventional": "^13.1.0",
51-
"@svgr/webpack": "^5.4.0",
52-
"@types/node": "^20.11.30",
49+
"@svgr/webpack": "^8.1.0",
50+
"@types/node": "^24.9.2",
5351
"@types/webpack": "^5.28.0",
54-
"@types/webpack-sources": "^2.1.1",
55-
"@wordpress/dependency-extraction-webpack-plugin": "^3.1.0",
56-
"copy-webpack-plugin": "^6.2.1",
57-
"del": "^6.0.0",
58-
"eslint": "8.57.0",
52+
"@types/webpack-sources": "^3.2.3",
53+
"@wordpress/dependency-extraction-webpack-plugin": "^6.34.0",
54+
"copy-webpack-plugin": "^13.0.1",
55+
"del": "^8.0.1",
56+
"eslint": "^8.57.0",
5957
"eslint-config-shellscape": "^6.0.0",
6058
"eslint-import-resolver-typescript": "^4.4.4",
6159
"file-loader": "^6.2.0",
62-
"husky": "8.0.2",
63-
"lint-staged": "11.1.1",
64-
"memory-fs": "^0.4.1",
60+
"husky": "9.1.7",
61+
"lint-staged": "16.2.6",
62+
"memory-fs": "^0.5.0",
6563
"pre-commit": "^1.2.2",
66-
"prettier": "^2.1.2",
67-
"prettier-plugin-package": "^1.2.0",
68-
"react": "^16.3.2",
69-
"style-loader": "^0.23.0",
64+
"prettier": "^3.6.2",
65+
"prettier-plugin-package": "^2.0.0",
66+
"react": "^19.2.0",
67+
"style-loader": "^4.0.0",
7068
"tslib": "^2.3.0",
7169
"typescript": "^5.6.3",
72-
"vitest": "^1.6.0",
70+
"vitest": "^4.0.5",
7371
"webpack": "^5.75.0",
74-
"webpack-merge": "^5.8.0"
72+
"webpack-merge": "^6.0.1"
7573
},
7674
"husky": {
7775
"hooks": {
@@ -86,5 +84,6 @@
8684
"maintainers": [
8785
"Andrew Powell <[email protected]>"
8886
],
87+
"packageManager": "[email protected]",
8988
"pre-commit": "lint-staged"
9089
}

0 commit comments

Comments
 (0)