Skip to content

Commit

Permalink
fix(deps): move @textlint/ast-node-types to dependencies (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
azu authored Nov 4, 2022
1 parent fd21147 commit 223b793
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
},
"dependencies": {
"structured-source": "^3.0.2",
"unist-util-visit": "^2.0.3"
"unist-util-visit": "^2.0.3",
"@textlint/ast-node-types": "^12.1.0"
},
"devDependencies": {
"@textlint/types": "^12.1.0",
Expand All @@ -43,15 +44,11 @@
"typescript": "^4.5.4"
},
"peerDependencies": {
"@textlint/types": "^12.1.0",
"@textlint/ast-node-types": "^12.1.0"
"@textlint/types": "^12.1.0"
},
"peerDependenciesMeta": {
"@textlint/types": {
"optional": true
},
"@textlint/ast-node-types": {
"optional": true
}
}
}
2 changes: 1 addition & 1 deletion src/SourceLocation.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// LICENSE : MIT
"use strict";
import SourceCode from "structured-source";
import { TextlintRuleErrorPadding } from "@textlint/types";
import type { TextlintRuleErrorPadding } from "@textlint/types";
import { AnyTxtNode } from "@textlint/ast-node-types";

export class SourceLocation {
Expand Down
2 changes: 1 addition & 1 deletion src/textlint-rule-helper.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TextlintRuleContext } from "@textlint/types"
import type { TextlintRuleContext } from "@textlint/types"
import { ASTNodeTypes, TxtNode } from "@textlint/ast-node-types"

/**
Expand Down

0 comments on commit 223b793

Please sign in to comment.