Skip to content

Commit 1401cba

Browse files
committed
[optimize] some Compatibility details
[optimize] upgrade Upstream packages
1 parent d9ab7b6 commit 1401cba

File tree

7 files changed

+230
-195
lines changed

7 files changed

+230
-195
lines changed

.husky/pre-commit

-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
#!/usr/bin/env sh
2-
3-
. "$(dirname -- "$0")/_/husky.sh"
4-
51
npm test && npm run build && git add dist/*

dist/index.js

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "article-webpage-to-markdown-action",
33
"private": true,
4-
"version": "1.0.1",
4+
"version": "1.0.2",
55
"description": "Automatically generate Markdown files based on the webpages of articles. Currently supports freeCodeCamp's news site.",
66
"main": "dist/index.js",
77
"scripts": {
8-
"prepare": "husky install",
8+
"prepare": "husky",
99
"test": "lint-staged && jest",
1010
"build": "rimraf dist/ && ncc build ./src/index.ts -m -o dist --license licenses.txt"
1111
},
@@ -23,27 +23,27 @@
2323
"@actions/core": "^1.10.1",
2424
"@actions/github": "^6.0.0",
2525
"@octokit/rest": "^20.0.2",
26-
"fs-extra": "^11.1.1",
27-
"linkedom": "^0.15.6",
28-
"marked": "^9.1.2",
26+
"fs-extra": "^11.2.0",
27+
"linkedom": "^0.16.8",
28+
"marked": "^12.0.0",
2929
"turndown": "^7.1.2",
3030
"turndown-plugin-gfm": "^1.0.2",
31-
"yaml": "^2.3.3"
31+
"yaml": "^2.3.4"
3232
},
3333
"devDependencies": {
34-
"@types/fs-extra": "^11.0.2",
35-
"@types/jest": "^29.5.5",
36-
"@types/node": "^20.8.6",
37-
"@types/turndown": "^5.0.2",
38-
"@vercel/ncc": "^0.38.0",
39-
"husky": "^8.0.3",
34+
"@types/fs-extra": "^11.0.4",
35+
"@types/jest": "^29.5.12",
36+
"@types/node": "^20.11.17",
37+
"@types/turndown": "^5.0.4",
38+
"@vercel/ncc": "^0.38.1",
39+
"husky": "^9.0.10",
4040
"jest": "^29.7.0",
4141
"lint-md-cli": "^0.1.2",
42-
"lint-staged": "^14.0.1",
43-
"prettier": "^3.0.3",
42+
"lint-staged": "^15.2.2",
43+
"prettier": "^3.2.5",
4444
"rimraf": "^5.0.5",
45-
"ts-jest": "^29.1.1",
46-
"typescript": "^5.2.2"
45+
"ts-jest": "^29.1.2",
46+
"typescript": "~5.3.3"
4747
},
4848
"prettier": {
4949
"singleQuote": true,

0 commit comments

Comments
 (0)