Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Sep 5, 2024
1 parent b770bda commit ddf0530
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 21 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
name: main
on:
- pull_request
- push
jobs:
main:
name: ${{matrix.node}}
Expand All @@ -17,5 +13,9 @@ jobs:
strategy:
matrix:
node:
- lts/gallium
- lts/hydrogen
- node
name: main
on:
- pull_request
- push
19 changes: 5 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,18 @@
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@types/node": "^20.0.0",
"c8": "^8.0.0",
"@types/node": "^22.0.0",
"c8": "^10.0.0",
"is-hidden": "^2.0.0",
"mdast-util-from-markdown": "^2.0.0",
"mdast-util-to-markdown": "^2.0.0",
"prettier": "^3.0.0",
"remark-cli": "^12.0.0",
"remark-gfm": "^4.0.0",
"remark-preset-wooorm": "^9.0.0",
"remark-preset-wooorm": "^10.0.0",
"type-coverage": "^2.0.0",
"typescript": "^5.0.0",
"xo": "^0.56.0"
"xo": "^0.59.0"
},
"scripts": {
"prepack": "npm run build && npm run format",
Expand All @@ -72,16 +72,7 @@
},
"remarkConfig": {
"plugins": [
"remark-preset-wooorm",
[
"remark-preset-wooorm/node_modules/remark-gfm/index.js",
false
],
[
"remark-lint-list-item-indent",
"space"
],
"remark-gfm"
"remark-preset-wooorm"
]
},
"typeCoverage": {
Expand Down
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ test('zone', async function (t) {
} catch {}

/** @type {{default: (tree: Root) => undefined}} */
const mod = await import(new URL(folder + '/index.js', root).href)
const check = mod.default
const example = await import(new URL(folder + '/index.js', root).href)
const check = example.default
const tree = fromMarkdown(
await fs.readFile(new URL(folder + '/input.md', root))
)
Expand Down

0 comments on commit ddf0530

Please sign in to comment.