Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Oct 12, 2022
1 parent 34d4364 commit c969afd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
strategy:
matrix:
node:
- lts/erbium
- lts/fermium
- node
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ import type {Options} from './lib/index.js'
declare const rehypeReact: Plugin<[Options], Root, ReactElement<unknown>>
export default rehypeReact

export {Options} from './lib/index.js'
export type {Options} from './lib/index.js'
6 changes: 3 additions & 3 deletions lib/complex-types.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import type {ComponentType} from 'react'
import type {Element} from 'hast'

interface WithNode {
type WithNode = {
node: Element
}

export interface ComponentsWithNodeOptions {
export type ComponentsWithNodeOptions = {
/**
* Expose hast elements as a `node` field in components
*/
Expand All @@ -21,7 +21,7 @@ export interface ComponentsWithNodeOptions {
}>
}

export interface ComponentsWithoutNodeOptions {
export type ComponentsWithoutNodeOptions = {
/**
* Expose hast elements as a `node` field in components.
*/
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@
"react": "^18.0.0",
"react-dom": "^18.0.0",
"remark": "^14.0.0",
"remark-cli": "^10.0.0",
"remark-cli": "^11.0.0",
"remark-preset-wooorm": "^9.0.0",
"rimraf": "^3.0.0",
"tape": "^5.0.0",
"type-coverage": "^2.0.0",
"typescript": "^4.0.0",
"unist-builder": "^3.0.0",
"xo": "^0.48.0"
"xo": "^0.52.0"
},
"scripts": {
"build": "rimraf \"lib/*.d.ts\" \"test.d.ts\" && tsc && type-coverage",
Expand All @@ -91,7 +91,7 @@
"prettier": true,
"": "`xo` is wrong about file extensions",
"rules": {
"node/file-extension-in-import": "off"
"n/file-extension-in-import": "off"
}
},
"remarkConfig": {
Expand Down

0 comments on commit c969afd

Please sign in to comment.