Skip to content

Commit

Permalink
[optimize] some Compatibility details
Browse files Browse the repository at this point in the history
[optimize] upgrade Upstream packages
  • Loading branch information
TechQuery committed Feb 9, 2024
1 parent d9ab7b6 commit 1401cba
Show file tree
Hide file tree
Showing 7 changed files with 230 additions and 195 deletions.
4 changes: 0 additions & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/usr/bin/env sh

. "$(dirname -- "$0")/_/husky.sh"

npm test && npm run build && git add dist/*
10 changes: 5 additions & 5 deletions dist/index.js

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "article-webpage-to-markdown-action",
"private": true,
"version": "1.0.1",
"version": "1.0.2",
"description": "Automatically generate Markdown files based on the webpages of articles. Currently supports freeCodeCamp's news site.",
"main": "dist/index.js",
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"test": "lint-staged && jest",
"build": "rimraf dist/ && ncc build ./src/index.ts -m -o dist --license licenses.txt"
},
Expand All @@ -23,27 +23,27 @@
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"@octokit/rest": "^20.0.2",
"fs-extra": "^11.1.1",
"linkedom": "^0.15.6",
"marked": "^9.1.2",
"fs-extra": "^11.2.0",
"linkedom": "^0.16.8",
"marked": "^12.0.0",
"turndown": "^7.1.2",
"turndown-plugin-gfm": "^1.0.2",
"yaml": "^2.3.3"
"yaml": "^2.3.4"
},
"devDependencies": {
"@types/fs-extra": "^11.0.2",
"@types/jest": "^29.5.5",
"@types/node": "^20.8.6",
"@types/turndown": "^5.0.2",
"@vercel/ncc": "^0.38.0",
"husky": "^8.0.3",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.17",
"@types/turndown": "^5.0.4",
"@vercel/ncc": "^0.38.1",
"husky": "^9.0.10",
"jest": "^29.7.0",
"lint-md-cli": "^0.1.2",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
"ts-jest": "^29.1.2",
"typescript": "~5.3.3"
},
"prettier": {
"singleQuote": true,
Expand Down
Loading

0 comments on commit 1401cba

Please sign in to comment.