Skip to content

Commit 4a48dcc

Browse files
authored
fix(deps): update to textlint@15 and webpack (#109)
* fix(deps): update to textlint@15 and webpack * fix(script-compiler): add "mainFields" resolution * Update .github/workflows/test.yml * Update .github/workflows/codeql-analysis.yml+7 * update textlint * remove 24 * Update packages/webextension/package.json+1
1 parent 30a1f45 commit 4a48dcc

File tree

11 files changed

+1409
-523
lines changed

11 files changed

+1409
-523
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v2
31+
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
3232

3333
# Initializes the CodeQL tools for scanning.
3434
- name: Initialize CodeQL
35-
uses: github/codeql-action/init@v1
35+
uses: github/codeql-action/init@231aa2c8a89117b126725a0e11897209b7118144 # v1.1.39
3636
with:
3737
languages: ${{ matrix.language }}
3838
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -43,7 +43,7 @@ jobs:
4343
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
4444
# If this step fails, then you should remove it and run the build manually (see below)
4545
- name: Autobuild
46-
uses: github/codeql-action/autobuild@v1
46+
uses: github/codeql-action/autobuild@231aa2c8a89117b126725a0e11897209b7118144 # v1.1.39
4747

4848
# ℹ️ Command-line programs to run using the OS shell.
4949
# 📚 https://git.io/JvXDl
@@ -57,4 +57,4 @@ jobs:
5757
# make release
5858

5959
- name: Perform CodeQL Analysis
60-
uses: github/codeql-action/analyze@v1
60+
uses: github/codeql-action/analyze@231aa2c8a89117b126725a0e11897209b7118144 # v1.1.39

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
matrix:
13-
node-version: [ 18, 20, 22 ]
13+
node-version: [ 20, 22 ]
1414
os: [ ubuntu-latest, windows-latest ]
1515
steps:
1616
- name: checkout
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1818
- name: setup Node.js ${{ matrix.node-version }}
19-
uses: actions/setup-node@v4
19+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2020
with:
2121
cache: "yarn"
2222
node-version: ${{ matrix.node-version }}

packages/@textlint/config-inliner/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"author": "azu",
1818
"sideEffects": false,
1919
"main": "lib/config-inliner.js",
20-
"module": "module/config-inliner.js",
2120
"types": "lib/config-inliner.d.ts",
2221
"directories": {
2322
"lib": "lib",
@@ -44,7 +43,7 @@
4443
"trailingComma": "none"
4544
},
4645
"dependencies": {
47-
"@textlint/config-loader": "^14.0.4",
46+
"@textlint/config-loader": "^15.0.1",
4847
"untildify": "^4.0.0"
4948
},
5049
"devDependencies": {

packages/@textlint/config-partial-parser/package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"author": "azu",
1919
"sideEffects": false,
2020
"main": "lib/index.js",
21-
"module": "module/index.js",
2221
"types": "lib/index.d.ts",
2322
"directories": {
2423
"lib": "lib",
@@ -44,10 +43,10 @@
4443
"trailingComma": "none"
4544
},
4645
"dependencies": {
47-
"@textlint/config-loader": "^14.0.4",
48-
"@textlint/kernel": "^14.0.4",
49-
"@textlint/types": "^14.0.4",
50-
"@textlint/utils": "^14.0.4"
46+
"@textlint/config-loader": "^15.0.1",
47+
"@textlint/kernel": "^15.0.1",
48+
"@textlint/types": "^15.0.1",
49+
"@textlint/utils": "^15.0.1"
5150
},
5251
"devDependencies": {
5352
"@types/mocha": "^10.0.1",

packages/@textlint/runtime-helper/package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"author": "azu",
1515
"sideEffects": false,
1616
"main": "lib/index.js",
17-
"module": "module/index.js",
1817
"types": "lib/index.d.ts",
1918
"directories": {
2019
"lib": "lib",
@@ -40,11 +39,11 @@
4039
},
4140
"dependencies": {
4241
"@kvs/env": "^1.1.0",
43-
"@textlint/config-loader": "^14.0.4",
44-
"@textlint/kernel": "^14.0.4",
45-
"@textlint/module-interop": "^14.0.4",
46-
"@textlint/types": "^14.0.4",
47-
"@textlint/utils": "^14.0.4"
42+
"@textlint/config-loader": "^15.0.1",
43+
"@textlint/kernel": "^15.0.1",
44+
"@textlint/module-interop": "^15.0.1",
45+
"@textlint/types": "^15.0.1",
46+
"@textlint/utils": "^15.0.1"
4847
},
4948
"devDependencies": {
5049
"@types/mocha": "^10.0.1",

packages/@textlint/script-compiler/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@
5454
"dependencies": {
5555
"@babel/core": "^7.12.10",
5656
"@textlint/config-inliner": "^0.17.1",
57-
"@textlint/config-loader": "^14.0.4",
57+
"@textlint/config-loader": "^15.0.1",
5858
"@textlint/config-partial-parser": "^0.17.1",
59-
"@textlint/kernel": "^14.0.4",
59+
"@textlint/kernel": "^15.0.1",
6060
"@textlint/runtime-helper": "^0.17.1",
6161
"@textlint/script-parser": "^0.17.1",
62-
"@textlint/textlint-plugin-markdown": "^14.0.4",
63-
"@textlint/textlint-plugin-text": "^14.0.4",
64-
"@textlint/types": "^14.0.4",
62+
"@textlint/textlint-plugin-markdown": "^15.0.1",
63+
"@textlint/textlint-plugin-text": "^15.0.1",
64+
"@textlint/types": "^15.0.1",
6565
"babel-loader": "^8.2.2",
6666
"babel-plugin-static-fs": "^3.0.0",
6767
"meow": "^9.0.0",

packages/@textlint/script-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"author": "azu",
1818
"sideEffects": false,
1919
"main": "lib/script-parser.js",
20-
"module": "module/script-parser.js",
20+
2121
"types": "lib/script-parser.d.ts",
2222
"directories": {
2323
"lib": "lib",

packages/@textlint/website-generator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"author": "azu",
1818
"sideEffects": false,
1919
"main": "lib/index.js",
20-
"module": "module/index.js",
20+
2121
"types": "lib/index.d.ts",
2222
"directories": {
2323
"lib": "lib",

packages/textchecker-element/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@
6161
"mocha": "^10.8.2",
6262
"prettier": "^2.3.0",
6363
"rimraf": "^3.0.2",
64-
"textlint-rule-preset-ja-technical-writing": "^8.0.0",
64+
"textlint-rule-preset-ja-technical-writing": "^12.0.2",
6565
"ts-node": "^10.9.1",
6666
"ts-node-test-register": "^10.0.0",
6767
"typescript": "^4.9.5",
6868
"vite": "^4.4.4"
6969
},
7070
"dependencies": {
71-
"@textlint/source-code-fixer": "^14.0.4",
71+
"@textlint/source-code-fixer": "^15.0.1",
7272
"eventmit": "^1.1.0",
7373
"lit-html": "^1.3.0",
7474
"p-debounce": "^2.1.0",

packages/webextension/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@types/react": "^17.0.0",
1717
"@types/react-dom": "^17.0.0",
1818
"@webextension-toolbox/webextension-toolbox": "^7.1.1",
19-
"copy-webpack-plugin": "^12.0.2",
19+
"copy-webpack-plugin": "^13.0.0",
2020
"css-loader": "^6.11.0",
2121
"path-browserify": "^1.0.1",
2222
"style-loader": "^1.2.1",
@@ -32,9 +32,9 @@
3232
"@kvs/env": "^1.1.0",
3333
"@react-stately/data": "^3.1.2",
3434
"@spectrum-icons/workflow": "^3.2.0",
35-
"@textlint/config-loader": "^14.0.4",
35+
"@textlint/config-loader": "^15.0.1",
3636
"@textlint/script-parser": "^0.17.1",
37-
"@textlint/types": "^14.0.4",
37+
"@textlint/types": "^15.0.1",
3838
"codemirror": "^5.59.2",
3939
"comlink": "^4.3.0",
4040
"comlink-extension": "^1.0.8",

0 commit comments

Comments
 (0)