Skip to content

Commit 223b793

Browse files
authored
fix(deps): move @textlint/ast-node-types to dependencies (#19)
1 parent fd21147 commit 223b793

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
},
2727
"dependencies": {
2828
"structured-source": "^3.0.2",
29-
"unist-util-visit": "^2.0.3"
29+
"unist-util-visit": "^2.0.3",
30+
"@textlint/ast-node-types": "^12.1.0"
3031
},
3132
"devDependencies": {
3233
"@textlint/types": "^12.1.0",
@@ -43,15 +44,11 @@
4344
"typescript": "^4.5.4"
4445
},
4546
"peerDependencies": {
46-
"@textlint/types": "^12.1.0",
47-
"@textlint/ast-node-types": "^12.1.0"
47+
"@textlint/types": "^12.1.0"
4848
},
4949
"peerDependenciesMeta": {
5050
"@textlint/types": {
5151
"optional": true
52-
},
53-
"@textlint/ast-node-types": {
54-
"optional": true
5552
}
5653
}
5754
}

src/SourceLocation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// LICENSE : MIT
22
"use strict";
33
import SourceCode from "structured-source";
4-
import { TextlintRuleErrorPadding } from "@textlint/types";
4+
import type { TextlintRuleErrorPadding } from "@textlint/types";
55
import { AnyTxtNode } from "@textlint/ast-node-types";
66

77
export class SourceLocation {

src/textlint-rule-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { TextlintRuleContext } from "@textlint/types"
1+
import type { TextlintRuleContext } from "@textlint/types"
22
import { ASTNodeTypes, TxtNode } from "@textlint/ast-node-types"
33

44
/**

0 commit comments

Comments
 (0)