prettier-plugin-embed 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/embedded/index.d.ts +2 -2
- package/dist/embedded/register.d.ts +13 -13
- package/dist/embedded/sql/options.d.ts +1 -1
- package/dist/embedded/utils.d.ts +11 -4
- package/dist/embedded/xml/parser.d.ts +3 -2
- package/dist/index.d.ts +5 -6
- package/dist/index.js +2082 -1359
- package/dist/options.d.ts +1 -1
- package/dist/parsers.d.ts +7 -7
- package/dist/types.d.ts +1 -1
- package/dist/utils.d.ts +2 -121
- package/package.json +35 -34
package/dist/options.d.ts
CHANGED
|
@@ -759,7 +759,7 @@ export declare const options: {
|
|
|
759
759
|
default: "sqlite";
|
|
760
760
|
description: string;
|
|
761
761
|
choices: {
|
|
762
|
-
value: "
|
|
762
|
+
value: "sqlite" | "bigquery" | "mysql" | "mariadb" | "postgresql";
|
|
763
763
|
description: string;
|
|
764
764
|
}[];
|
|
765
765
|
};
|
package/dist/parsers.d.ts
CHANGED
|
@@ -5,18 +5,18 @@ export declare const parsers: {
|
|
|
5
5
|
flow: import("prettier").Parser;
|
|
6
6
|
acorn: import("prettier").Parser;
|
|
7
7
|
espree: import("prettier").Parser;
|
|
8
|
-
|
|
9
|
-
"babel-flow": import("prettier").Parser;
|
|
10
|
-
"babel-ts": import("prettier").Parser;
|
|
8
|
+
__babel_estree: import("prettier").Parser;
|
|
11
9
|
__js_expression: import("prettier").Parser;
|
|
12
10
|
__ts_expression: import("prettier").Parser;
|
|
13
|
-
__vue_expression: import("prettier").Parser;
|
|
14
|
-
__vue_ts_expression: import("prettier").Parser;
|
|
15
11
|
__vue_event_binding: import("prettier").Parser;
|
|
12
|
+
__vue_expression: import("prettier").Parser;
|
|
16
13
|
__vue_ts_event_binding: import("prettier").Parser;
|
|
17
|
-
|
|
14
|
+
__vue_ts_expression: import("prettier").Parser;
|
|
15
|
+
babel: import("prettier").Parser;
|
|
16
|
+
"babel-flow": import("prettier").Parser;
|
|
17
|
+
"babel-ts": import("prettier").Parser;
|
|
18
18
|
json: import("prettier").Parser;
|
|
19
|
+
"json-stringify": import("prettier").Parser;
|
|
19
20
|
json5: import("prettier").Parser;
|
|
20
21
|
jsonc: import("prettier").Parser;
|
|
21
|
-
"json-stringify": import("prettier").Parser;
|
|
22
22
|
};
|
package/dist/types.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { TemplateLiteral } from "estree";
|
|
|
2
2
|
import type { AstPath, Doc, Options } from "prettier";
|
|
3
3
|
import type { printer } from "prettier/doc";
|
|
4
4
|
import type { OmitIndexSignature } from "type-fest";
|
|
5
|
-
import type { AutocompleteStringList, EmbeddedDefaultComment, EmbeddedDefaultTag, EmbeddedLanguage,
|
|
5
|
+
import type { AutocompleteStringList, EmbeddedDefaultComment, EmbeddedDefaultTag, EmbeddedLanguage, makeCommentsOptionName, makeIdentifiersOptionName, makeTagsOptionName, PluginEmbedOptions } from "./embedded/index.js";
|
|
6
6
|
import type { PluginEmbedLanguageAgnosticOptions } from "./options.js";
|
|
7
7
|
export type InternalPrintFun = (selector?: string | number | (string | number)[] | AstPath<TemplateLiteral>) => Doc;
|
|
8
8
|
export interface EmbedderPayload {
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,131 +1,12 @@
|
|
|
1
1
|
import type { Expression, Node, TemplateLiteral } from "estree";
|
|
2
2
|
import { type AstPath, type Options, type Printer } from "prettier";
|
|
3
3
|
import { type EmbeddedComment, type EmbeddedLanguage, type EmbeddedTag } from "./embedded/index.js";
|
|
4
|
+
import type { EmbeddedOverride } from "./types.js";
|
|
4
5
|
export declare function resolveEmbeddedOverrideOptions(embeddedOverridesString: string | undefined, { commentOrTag, kind, filepath, }: {
|
|
5
6
|
commentOrTag: EmbeddedComment | EmbeddedTag;
|
|
6
7
|
kind: "comment" | "tag";
|
|
7
8
|
filepath?: string;
|
|
8
|
-
}): Promise<
|
|
9
|
-
embeddedCssParser?: ("css" | "less" | "scss") | undefined;
|
|
10
|
-
embeddedEsParser?: import("./embedded/es/options.js").EsParser | undefined;
|
|
11
|
-
embeddedHtmlParser?: ("html" | "vue" | "angular" | "lwc") | undefined;
|
|
12
|
-
embeddedJsonParser?: ("json" | "json5" | "jsonc" | "json-stringify") | undefined;
|
|
13
|
-
embeddedMarkdownParser?: ("markdown" | "mdx" | "remark") | undefined;
|
|
14
|
-
embeddedTsParser?: import("./embedded/ts/options.js").TsParser | undefined;
|
|
15
|
-
embeddedRubyParser?: import("./embedded/ruby/options.js").RubyParser | undefined;
|
|
16
|
-
embeddedSqlPlugin?: ("prettier-plugin-sql" | "prettier-plugin-sql-cst") | undefined;
|
|
17
|
-
embeddedSqlParser?: ("bigquery" | "mariadb" | "mysql" | "postgresql" | "sqlite") | undefined;
|
|
18
|
-
semi?: boolean | undefined;
|
|
19
|
-
singleQuote?: boolean | undefined;
|
|
20
|
-
jsxSingleQuote?: boolean | undefined;
|
|
21
|
-
trailingComma?: "none" | "es5" | "all" | undefined;
|
|
22
|
-
bracketSpacing?: boolean | undefined;
|
|
23
|
-
objectWrap?: "preserve" | "collapse" | undefined;
|
|
24
|
-
bracketSameLine?: boolean | undefined;
|
|
25
|
-
rangeStart?: number | undefined;
|
|
26
|
-
rangeEnd?: number | undefined;
|
|
27
|
-
requirePragma?: boolean | undefined;
|
|
28
|
-
insertPragma?: boolean | undefined;
|
|
29
|
-
proseWrap?: "preserve" | "always" | "never" | undefined;
|
|
30
|
-
arrowParens?: "always" | "avoid" | undefined;
|
|
31
|
-
plugins?: (string | import("prettier").Plugin<any>)[] | undefined;
|
|
32
|
-
htmlWhitespaceSensitivity?: "css" | "strict" | "ignore" | undefined;
|
|
33
|
-
quoteProps?: "preserve" | "as-needed" | "consistent" | undefined;
|
|
34
|
-
vueIndentScriptAndStyle?: boolean | undefined;
|
|
35
|
-
singleAttributePerLine?: boolean | undefined;
|
|
36
|
-
experimentalOperatorPosition?: "start" | "end" | undefined;
|
|
37
|
-
experimentalTernaries?: boolean | undefined;
|
|
38
|
-
jsxBracketSameLine?: boolean | undefined;
|
|
39
|
-
alignDirectives?: boolean | undefined;
|
|
40
|
-
alignUniversally?: boolean | undefined;
|
|
41
|
-
wrapParameters?: boolean | undefined;
|
|
42
|
-
continuationIndent?: number | undefined;
|
|
43
|
-
locStart?: ((node: any) => number) | undefined;
|
|
44
|
-
locEnd?: ((node: any) => number) | undefined;
|
|
45
|
-
originalText?: string | undefined;
|
|
46
|
-
keepComments?: boolean | undefined;
|
|
47
|
-
stopAt?: string | undefined;
|
|
48
|
-
variant?: import("sh-syntax").LangVariant | undefined;
|
|
49
|
-
indent?: number | undefined;
|
|
50
|
-
binaryNextLine?: boolean | undefined;
|
|
51
|
-
switchCaseIndent?: boolean | undefined;
|
|
52
|
-
spaceRedirects?: boolean | undefined;
|
|
53
|
-
keepPadding?: boolean | undefined;
|
|
54
|
-
minify?: boolean | undefined;
|
|
55
|
-
functionNextLine?: boolean | undefined;
|
|
56
|
-
experimentalWasm?: boolean | undefined;
|
|
57
|
-
sqlKeywordCase?: "preserve" | "upper" | "lower" | undefined;
|
|
58
|
-
sqlParamTypes?: import("sql-parser-cst/lib/ParserOptions.js").ParamType[] | undefined;
|
|
59
|
-
sqlCanonicalSyntax?: boolean | undefined;
|
|
60
|
-
sqlAcceptUnsupportedGrammar?: boolean | undefined;
|
|
61
|
-
keywordCase?: import("sql-formatter").KeywordCase | undefined;
|
|
62
|
-
identifierCase?: import("sql-formatter").KeywordCase | undefined;
|
|
63
|
-
dataTypeCase?: import("sql-formatter").KeywordCase | undefined;
|
|
64
|
-
functionCase?: import("sql-formatter").KeywordCase | undefined;
|
|
65
|
-
indentStyle?: import("sql-formatter").IndentStyle | undefined;
|
|
66
|
-
logicalOperatorNewline?: import("sql-formatter").LogicalOperatorNewline | undefined;
|
|
67
|
-
expressionWidth?: number | undefined;
|
|
68
|
-
linesBetweenQueries?: number | undefined;
|
|
69
|
-
denseOperators?: boolean | undefined;
|
|
70
|
-
newlineBeforeSemicolon?: boolean | undefined;
|
|
71
|
-
params?: ((import("sql-formatter").ParamItems | string[]) & string) | undefined;
|
|
72
|
-
paramTypes?: (import("sql-formatter").ParamTypes & string) | undefined;
|
|
73
|
-
dialect?: string | undefined;
|
|
74
|
-
language?: import("sql-formatter").SqlLanguage | undefined;
|
|
75
|
-
database?: string | undefined;
|
|
76
|
-
type?: string | undefined;
|
|
77
|
-
formatter?: ("node-sql-parser" | "sql-cst" | "sql-formatter") | undefined;
|
|
78
|
-
alignEntries?: boolean | undefined;
|
|
79
|
-
alignComments?: boolean | undefined;
|
|
80
|
-
arrayAutoExpand?: boolean | undefined;
|
|
81
|
-
arrayAutoCollapse?: boolean | undefined;
|
|
82
|
-
compactArrays?: boolean | undefined;
|
|
83
|
-
compactInlineTables?: boolean | undefined;
|
|
84
|
-
compactEntries?: boolean | undefined;
|
|
85
|
-
indentTables?: boolean | undefined;
|
|
86
|
-
indentEntries?: boolean | undefined;
|
|
87
|
-
reorderKeys?: boolean | undefined;
|
|
88
|
-
allowedBlankLines?: number | undefined;
|
|
89
|
-
iniSpaceAroundEquals?: boolean | undefined;
|
|
90
|
-
entrypoint?: "arrayInitializer" | "variableInitializerList" | "block" | "blockStatements" | "blockStatement" | "localVariableDeclarationStatement" | "localVariableDeclaration" | "localVariableType" | "statement" | "statementWithoutTrailingSubstatement" | "emptyStatement" | "labeledStatement" | "expressionStatement" | "statementExpression" | "ifStatement" | "assertStatement" | "switchStatement" | "switchBlock" | "switchBlockStatementGroup" | "switchLabel" | "switchRule" | "caseConstant" | "whileStatement" | "doStatement" | "forStatement" | "basicForStatement" | "forInit" | "forUpdate" | "statementExpressionList" | "enhancedForStatement" | "breakStatement" | "continueStatement" | "returnStatement" | "throwStatement" | "synchronizedStatement" | "tryStatement" | "catches" | "catchClause" | "catchFormalParameter" | "catchType" | "finally" | "tryWithResourcesStatement" | "resourceSpecification" | "resourceList" | "resource" | "yieldStatement" | "variableAccess" | "classDeclaration" | "normalClassDeclaration" | "classModifier" | "typeParameters" | "typeParameterList" | "superclass" | "superinterfaces" | "interfaceTypeList" | "classPermits" | "classBody" | "classBodyDeclaration" | "classMemberDeclaration" | "fieldDeclaration" | "fieldModifier" | "variableDeclaratorList" | "variableDeclarator" | "variableDeclaratorId" | "variableInitializer" | "unannType" | "unannPrimitiveTypeWithOptionalDimsSuffix" | "unannPrimitiveType" | "unannReferenceType" | "unannClassOrInterfaceType" | "unannClassType" | "unannInterfaceType" | "unannTypeVariable" | "methodDeclaration" | "methodModifier" | "methodHeader" | "result" | "methodDeclarator" | "receiverParameter" | "formalParameterList" | "formalParameter" | "variableParaRegularParameter" | "variableArityParameter" | "variableModifier" | "throws" | "exceptionTypeList" | "exceptionType" | "methodBody" | "instanceInitializer" | "staticInitializer" | "constructorDeclaration" | "constructorModifier" | "constructorDeclarator" | "simpleTypeName" | "constructorBody" | "explicitConstructorInvocation" | "unqualifiedExplicitConstructorInvocation" | "qualifiedExplicitConstructorInvocation" | "enumDeclaration" | "enumBody" | "enumConstantList" | "enumConstant" | "enumConstantModifier" | "enumBodyDeclarations" | "recordDeclaration" | "recordHeader" | "recordComponentList" | "recordComponent" | "variableArityRecordComponent" | "recordComponentModifier" | "recordBody" | "recordBodyDeclaration" | "compactConstructorDeclaration" | "isDims" | "expression" | "lambdaExpression" | "lambdaParameters" | "lambdaParametersWithBraces" | "lambdaParameterList" | "inferredLambdaParameterList" | "explicitLambdaParameterList" | "lambdaParameter" | "regularLambdaParameter" | "lambdaParameterType" | "lambdaBody" | "ternaryExpression" | "binaryExpression" | "unaryExpression" | "unaryExpressionNotPlusMinus" | "primary" | "primaryPrefix" | "primarySuffix" | "fqnOrRefType" | "fqnOrRefTypePartRest" | "fqnOrRefTypePartCommon" | "fqnOrRefTypePartFirst" | "parenthesisExpression" | "castExpression" | "primitiveCastExpression" | "referenceTypeCastExpression" | "newExpression" | "unqualifiedClassInstanceCreationExpression" | "classOrInterfaceTypeToInstantiate" | "typeArgumentsOrDiamond" | "diamond" | "methodInvocationSuffix" | "argumentList" | "arrayCreationExpression" | "arrayCreationDefaultInitSuffix" | "arrayCreationExplicitInitSuffix" | "dimExprs" | "dimExpr" | "classLiteralSuffix" | "arrayAccessSuffix" | "methodReferenceSuffix" | "pattern" | "typePattern" | "recordPattern" | "componentPatternList" | "componentPattern" | "unnamedPattern" | "guard" | "isRefTypeInMethodRef" | "interfaceDeclaration" | "normalInterfaceDeclaration" | "interfaceModifier" | "extendsInterfaces" | "interfacePermits" | "interfaceBody" | "interfaceMemberDeclaration" | "constantDeclaration" | "constantModifier" | "interfaceMethodDeclaration" | "interfaceMethodModifier" | "annotationTypeDeclaration" | "annotationTypeBody" | "annotationTypeMemberDeclaration" | "annotationTypeElementDeclaration" | "annotationTypeElementModifier" | "defaultValue" | "annotation" | "elementValuePairList" | "elementValuePair" | "elementValue" | "elementValueArrayInitializer" | "elementValueList" | "literal" | "integerLiteral" | "floatingPointLiteral" | "booleanLiteral" | "moduleName" | "packageName" | "typeName" | "expressionName" | "methodName" | "packageOrTypeName" | "ambiguousName" | "compilationUnit" | "ordinaryCompilationUnit" | "modularCompilationUnit" | "packageDeclaration" | "packageModifier" | "importDeclaration" | "typeDeclaration" | "moduleDeclaration" | "moduleDirective" | "requiresModuleDirective" | "exportsModuleDirective" | "opensModuleDirective" | "usesModuleDirective" | "providesModuleDirective" | "requiresModifier" | "primitiveType" | "numericType" | "integralType" | "floatingPointType" | "referenceType" | "classOrInterfaceType" | "classType" | "interfaceType" | "typeVariable" | "dims" | "typeParameter" | "typeParameterModifier" | "typeBound" | "additionalBound" | "typeArguments" | "typeArgumentList" | "typeArgument" | "wildcard" | "wildcardBounds" | undefined;
|
|
91
|
-
actionParser?: (import("./embedded/es/options.js").EsParser | import("./embedded/ts/options.js").TsParser) | undefined;
|
|
92
|
-
phpVersion?: "5.0" | "5.1" | "5.2" | "5.3" | "5.4" | "5.5" | "5.6" | "7.0" | "7.1" | "7.2" | "7.3" | "7.4" | "8.0" | "8.1" | "8.2" | undefined;
|
|
93
|
-
trailingCommaPHP?: boolean | undefined;
|
|
94
|
-
braceStyle?: "psr-2" | "per-cs" | "1tbs" | undefined;
|
|
95
|
-
escapeNonLatin1?: boolean | undefined;
|
|
96
|
-
keySeparator?: " " | ":" | "=" | ": " | "= " | " : " | " = " | undefined;
|
|
97
|
-
pugPrintWidth?: number | undefined;
|
|
98
|
-
pugSingleQuote?: boolean | undefined;
|
|
99
|
-
pugTabWidth?: number | undefined;
|
|
100
|
-
pugUseTabs?: boolean | undefined;
|
|
101
|
-
pugBracketSpacing?: boolean | undefined;
|
|
102
|
-
pugArrowParens?: "avoid" | "always" | undefined;
|
|
103
|
-
pugSemi?: boolean | undefined;
|
|
104
|
-
pugBracketSameLine?: boolean | undefined;
|
|
105
|
-
pugAttributeSeparator?: "always" | "as-needed" | "none" | undefined;
|
|
106
|
-
pugCommentPreserveSpaces?: "keep-all" | "keep-leading" | "trim-all" | undefined;
|
|
107
|
-
pugSortAttributes?: "asc" | "desc" | "as-is" | undefined;
|
|
108
|
-
pugSortAttributesBeginning?: string[] | undefined;
|
|
109
|
-
pugSortAttributesEnd?: string[] | undefined;
|
|
110
|
-
pugWrapAttributesThreshold?: number | undefined;
|
|
111
|
-
pugWrapAttributesPattern?: string | undefined;
|
|
112
|
-
pugClassLocation?: "before-attributes" | "after-attributes" | undefined;
|
|
113
|
-
pugClassNotation?: "literal" | "attribute" | "as-is" | undefined;
|
|
114
|
-
pugIdNotation?: "literal" | "as-is" | undefined;
|
|
115
|
-
pugEmptyAttributes?: "as-is" | "none" | "all" | undefined;
|
|
116
|
-
pugEmptyAttributesForceQuotes?: "as-is" | "none" | "all" | undefined;
|
|
117
|
-
pugSingleFileComponentIndentation?: boolean | undefined;
|
|
118
|
-
pugFramework?: "auto" | "vue" | "svelte" | "angular" | undefined;
|
|
119
|
-
pugExplicitDiv?: boolean | undefined;
|
|
120
|
-
pugPreserveAttributeBrackets?: boolean | undefined;
|
|
121
|
-
rubyPlugins?: import("./embedded/utils.js").AutocompleteStringList<"plugin/single_quotes" | "plugin/trailing_comma" | "plugin/disable_auto_ternary"> | undefined;
|
|
122
|
-
rubySingleQuote?: boolean | undefined;
|
|
123
|
-
rubyExecutablePath?: string | undefined;
|
|
124
|
-
xmlSelfClosingSpace?: boolean | undefined;
|
|
125
|
-
xmlWhitespaceSensitivity?: "strict" | "preserve" | "ignore" | undefined;
|
|
126
|
-
xmlSortAttributesByKey?: boolean | undefined;
|
|
127
|
-
xmlQuoteAttributes?: "preserve" | "single" | "double" | undefined;
|
|
128
|
-
} | undefined>;
|
|
9
|
+
}): Promise<EmbeddedOverride["options"] | undefined>;
|
|
129
10
|
export declare const compareTagExpressionToTagString: (tagExpression: Expression, tagString: string, parse: (text: string) => Node | Promise<Node>) => boolean;
|
|
130
11
|
export declare function parseCommentFromTemplateLiteralAstPath({ node, parent, }: AstPath<Node> & {
|
|
131
12
|
node: TemplateLiteral;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "prettier-plugin-embed",
|
|
3
3
|
"description": "A configurable Prettier plugin to format embedded languages in JS/TS files.",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.5.
|
|
5
|
+
"version": "0.5.1",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
8
8
|
"./dist"
|
|
@@ -57,52 +57,52 @@
|
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@biomejs/biome": "
|
|
61
|
-
"@changesets/cli": "^2.
|
|
62
|
-
"@commitlint/cli": "^
|
|
63
|
-
"@commitlint/config-conventional": "^
|
|
64
|
-
"@prettier/plugin-php": "^0.
|
|
65
|
-
"@prettier/plugin-pug": "^3.2
|
|
60
|
+
"@biomejs/biome": "2.3.10",
|
|
61
|
+
"@changesets/cli": "^2.29.8",
|
|
62
|
+
"@commitlint/cli": "^20.2.0",
|
|
63
|
+
"@commitlint/config-conventional": "^20.2.0",
|
|
64
|
+
"@prettier/plugin-php": "^0.24.0",
|
|
65
|
+
"@prettier/plugin-pug": "^3.4.2",
|
|
66
66
|
"@prettier/plugin-ruby": "^4.0.4",
|
|
67
|
-
"@prettier/plugin-xml": "^3.4.
|
|
68
|
-
"@stedi/prettier-plugin-jsonata": "^2.1.
|
|
69
|
-
"@types/node": "^
|
|
70
|
-
"@vitest/coverage-istanbul": "^
|
|
71
|
-
"@vitest/ui": "^
|
|
67
|
+
"@prettier/plugin-xml": "^3.4.2",
|
|
68
|
+
"@stedi/prettier-plugin-jsonata": "^2.1.8",
|
|
69
|
+
"@types/node": "^25.0.3",
|
|
70
|
+
"@vitest/coverage-istanbul": "^4.0.16",
|
|
71
|
+
"@vitest/ui": "^4.0.16",
|
|
72
72
|
"@xml-tools/parser": "^1.0.11",
|
|
73
73
|
"chevrotain": "7.1.1",
|
|
74
|
-
"concurrently": "^9.1
|
|
75
|
-
"copy-files-from-to": "^3.
|
|
76
|
-
"esbuild": "^0.
|
|
77
|
-
"lint-staged": "^
|
|
78
|
-
"npm-check-updates": "^
|
|
79
|
-
"prettier": "^3.
|
|
80
|
-
"prettier-plugin-glsl": "^0.2.
|
|
74
|
+
"concurrently": "^9.2.1",
|
|
75
|
+
"copy-files-from-to": "^3.13.0",
|
|
76
|
+
"esbuild": "^0.27.1",
|
|
77
|
+
"lint-staged": "^16.2.7",
|
|
78
|
+
"npm-check-updates": "^19.2.0",
|
|
79
|
+
"prettier": "^3.7.4",
|
|
80
|
+
"prettier-plugin-glsl": "^0.2.2",
|
|
81
81
|
"prettier-plugin-ini": "^1.3.0",
|
|
82
|
-
"prettier-plugin-java": "^2.
|
|
82
|
+
"prettier-plugin-java": "^2.7.7",
|
|
83
83
|
"prettier-plugin-latex": "^2.0.1",
|
|
84
84
|
"prettier-plugin-nginx": "^1.0.3",
|
|
85
85
|
"prettier-plugin-pegjs": "^2.0.2",
|
|
86
86
|
"prettier-plugin-prisma": "^5.0.0",
|
|
87
87
|
"prettier-plugin-properties": "^0.3.0",
|
|
88
|
-
"prettier-plugin-sh": "^0.
|
|
89
|
-
"prettier-plugin-sql": "^0.
|
|
90
|
-
"prettier-plugin-sql-cst": "^0.
|
|
91
|
-
"prettier-plugin-toml": "^2.0.
|
|
92
|
-
"simple-git-hooks": "^2.
|
|
93
|
-
"tinyglobby": "^0.2.
|
|
94
|
-
"tsx": "^4.
|
|
95
|
-
"typescript": "^5.
|
|
96
|
-
"vite": "^
|
|
97
|
-
"vitest": "^
|
|
88
|
+
"prettier-plugin-sh": "^0.18.0",
|
|
89
|
+
"prettier-plugin-sql": "^0.19.2",
|
|
90
|
+
"prettier-plugin-sql-cst": "^0.17.2",
|
|
91
|
+
"prettier-plugin-toml": "^2.0.6",
|
|
92
|
+
"simple-git-hooks": "^2.13.1",
|
|
93
|
+
"tinyglobby": "^0.2.15",
|
|
94
|
+
"tsx": "^4.21.0",
|
|
95
|
+
"typescript": "^5.9.3",
|
|
96
|
+
"vite": "^7.3.0",
|
|
97
|
+
"vitest": "^4.0.16"
|
|
98
98
|
},
|
|
99
99
|
"dependencies": {
|
|
100
|
-
"@types/estree": "^1.0.
|
|
101
|
-
"dedent": "^1.
|
|
102
|
-
"micro-memoize": "^
|
|
100
|
+
"@types/estree": "^1.0.8",
|
|
101
|
+
"dedent": "^1.7.1",
|
|
102
|
+
"micro-memoize": "^5.1.1",
|
|
103
103
|
"package-up": "^5.0.0",
|
|
104
104
|
"tiny-jsonc": "^1.0.2",
|
|
105
|
-
"type-fest": "^
|
|
105
|
+
"type-fest": "^5.3.1"
|
|
106
106
|
},
|
|
107
107
|
"scripts": {
|
|
108
108
|
"update-hooks": "simple-git-hooks",
|
|
@@ -119,6 +119,7 @@
|
|
|
119
119
|
"nocheck-chevrotain-types": "tsx ./scripts/nocheck-chevrotain-types.ts",
|
|
120
120
|
"copy": "copy-files-from-to",
|
|
121
121
|
"postbuild": "tsc --project ./tsconfig.production.json && conc \"pnpm:add-glob-import-types\" \"pnpm:nocheck-chevrotain-types\" \"pnpm:copy\"",
|
|
122
|
+
"test:ci": "vitest --run",
|
|
122
123
|
"test": "vitest",
|
|
123
124
|
"test:ui": "vitest --ui",
|
|
124
125
|
"process-readme": "tsx ./scripts/process-readme",
|