Skip to content

Commit e153454

Browse files
chore: update deps
1 parent e420754 commit e153454

File tree

14 files changed

+4939
-4479
lines changed

14 files changed

+4939
-4479
lines changed

.editorconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@ indent_style = tab
66
indent_size = 2
77
end_of_line = lf
88
insert_final_newline = true
9-
trim_trailing_whitespace = true
9+
trim_trailing_whitespace = true
10+
11+
[*.yml]
12+
indent_style = space

.eslintrc

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
release:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
1818

19-
- uses: actions/setup-node@v3
19+
- uses: actions/setup-node@v4
2020
with:
2121
node-version: lts/*
2222

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
registry=https://registry.npmmirror.com/

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ etc.
137137

138138
#### [PaperFormat](https://github.com/puppeteer/puppeteer/blob/main/docs/api/puppeteer.paperformat.md)
139139

140-
141140
#### [PDFMargin](https://github.com/puppeteer/puppeteer/blob/main/docs/api/puppeteer.pdfmargin.md)
142141

143142
## PDF File Name Convention
@@ -194,7 +193,6 @@ Rules for automatically generating PDF file names.
194193
| `debug` | `boolean` | `--debug` | Debug. | `false` |
195194
| `warn` | `boolean` | `--warn` | Enable warning logs. | `false` |
196195

197-
198196
## License
199197

200198
This library is under the [MIT License](https://github.com/condorheroblog/html-export-pdf-cli/blob/main/LICENSE).

eslint.config.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Eslint config file
3+
* Documentation: https://eslint.org/docs/user-guide/configuring/
4+
* Install the Eslint extension before using this feature.
5+
*/
6+
import antfu from "@antfu/eslint-config";
7+
8+
export default antfu({
9+
rules: {
10+
"style/quotes": ["error", "double"],
11+
"style/semi": ["error", "always"],
12+
"style/indent": ["error", "tab"],
13+
"jsonc/indent": ["error", "tab"],
14+
"style/no-tabs": "off",
15+
"style/jsx-indent-props": ["error", "tab"],
16+
},
17+
});

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "html-export-pdf-cli",
33
"type": "module",
44
"version": "1.1.5",
5-
"packageManager": "pnpm@8.8.0",
5+
"packageManager": "pnpm@9.6.0",
66
"description": "Render HTML to PDF(with outline) using Puppeteer.",
77
"author": "CondorHero",
88
"license": "MIT",
@@ -48,8 +48,8 @@
4848
"html-export-pdf-cli": "bin/html-export-pdf-cli.mjs"
4949
},
5050
"files": [
51-
"dist",
52-
"bin"
51+
"bin",
52+
"dist"
5353
],
5454
"engines": {
5555
"node": ">=18.12.0"
@@ -71,25 +71,25 @@
7171
],
7272
"dependencies": {
7373
"cli-progress": "^3.12.0",
74-
"commander": "^11.0.0",
75-
"fast-glob": "^3.3.1",
76-
"html-entities": "^2.4.0",
74+
"commander": "^12.1.0",
75+
"fast-glob": "^3.3.2",
76+
"html-entities": "^2.5.2",
7777
"pdf-lib": "1.17.1",
7878
"puppeteer": "^22.15.0"
7979
},
8080
"devDependencies": {
81-
"@antfu/eslint-config-ts": "^0.43.1",
82-
"@types/cli-progress": "^3.11.3",
83-
"@types/node": "^20.7.1",
84-
"bumpp": "^9.2.0",
81+
"@antfu/eslint-config": "^2.24.1",
82+
"@types/cli-progress": "^3.11.6",
83+
"@types/node": "^22.0.2",
84+
"bumpp": "^9.4.1",
8585
"colorette": "^2.0.20",
86-
"eslint": "^8.50.0",
87-
"jiti": "^1.20.0",
88-
"lint-staged": "^14.0.1",
89-
"simple-git-hooks": "^2.9.0",
90-
"tsup": "^7.2.0",
91-
"typescript": "^5.2.2",
92-
"vitest": "^0.34.5"
86+
"eslint": "^9.8.0",
87+
"jiti": "^1.21.6",
88+
"lint-staged": "^15.2.7",
89+
"simple-git-hooks": "^2.11.1",
90+
"tsup": "^8.2.3",
91+
"typescript": "^5.5.4",
92+
"vitest": "^2.0.5"
9393
},
9494
"simple-git-hooks": {
9595
"pre-commit": "npx lint-staged"

0 commit comments

Comments
 (0)