Skip to content

Commit

Permalink
chore(deps): upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
unadlib committed Nov 16, 2024
1 parent c25ca49 commit c8a0756
Show file tree
Hide file tree
Showing 6 changed files with 3,856 additions and 3,726 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12
registry-url: https://registry.npmjs.org/
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: yarn
- run: yarn build
- run: yarn test
Expand Down
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/unadlib/jsdoc-tests.git"
"url": "git+https://github.com/testkits/jsdoc-tests.git"
},
"keywords": [
"documentation-driven quality",
Expand All @@ -29,24 +29,24 @@
"author": "unadlib",
"license": "MIT",
"bugs": {
"url": "https://github.com/unadlib/jsdoc-tests/issues"
"url": "https://github.com/testkits/jsdoc-tests/issues"
},
"homepage": "https://github.com/unadlib/jsdoc-tests#readme",
"homepage": "https://github.com/testkits/jsdoc-tests#readme",
"devDependencies": {
"@types/jest": "^26.0.15",
"@types/node": "^14.14.9",
"@typescript-eslint/eslint-plugin": "^4.8.1",
"@typescript-eslint/parser": "^4.8.1",
"commitizen": "^4.2.2",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^26.6.3",
"microbundle": "^0.12.4",
"prettier": "^2.2.0",
"rimraf": "^3.0.2",
"ts-jest": "^26.4.4",
"typescript": "^4.1.2"
"@types/jest": "^29.5.14",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"commitizen": "^4.3.1",
"eslint": "^9.15.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"microbundle": "^0.15.1",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.5",
"typescript": "^5.6.3"
},
"config": {
"commitizen": {
Expand All @@ -57,7 +57,7 @@
"preset": "ts-jest"
},
"dependencies": {
"@babel/parser": "^7.12.7",
"markdown-it": "^12.0.2"
"@babel/parser": "^7.26.2",
"markdown-it": "^14.1.0"
}
}
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const jsdocTests = (
let index = 0;
// eslint-disable-next-line @typescript-eslint/no-var-requires
const markdown = require('markdown-it')({
highlight(text, lang) {
highlight(text: string, lang: string) {
if (languages.includes(lang)) {
const path = resolve(
dirname,
Expand Down
16 changes: 16 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"compilerOptions": {
"target": "esnext",
"isolatedModules": true,
"moduleResolution": "node16",
"module": "node16",
"noEmit": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"jsx": "react",
"lib": ["es2019", "ESNext.Promise", "dom"],
"strict": true,
"stripInternal": true
},
"exclude": ["examples", "templates"]
}
Loading

0 comments on commit c8a0756

Please sign in to comment.