prettier-plugin-embed 0.4.15 → 0.5.0

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/options.d.ts CHANGED
@@ -62,9 +62,7 @@ export declare const options: {
62
62
  readonly type: "string";
63
63
  readonly array: true;
64
64
  readonly default: [{
65
- readonly value: []; /**
66
- * @deprecated Please use `embedded<Language>Comments` or `embedded<Language>Tags` to configure each embedded language, and you won't need this option anymore.
67
- */
65
+ readonly value: [];
68
66
  }];
69
67
  readonly description: "Tag or comment identifiers that prevent their subsequent template literals from being identified as embedded languages and thus from being formatted.";
70
68
  readonly deprecated: "Please use `embeddedNoopComments` or `embeddedNoopTags`.";
@@ -453,9 +451,7 @@ export declare const options: {
453
451
  readonly value: ["nginx"];
454
452
  }];
455
453
  readonly description: "Tag or comment identifiers that make their subsequent template literals be identified as embedded NGINX language. This option requires the `prettier-plugin-nginx` plugin.";
456
- readonly deprecated: "Please use `embeddedNginxComments` or `embeddedNginxTags`."; /**
457
- * @deprecated Please use `embedded<Language>Comments` or `embedded<Language>Tags` to configure each embedded language, and you won't need this option anymore.
458
- */
454
+ readonly deprecated: "Please use `embeddedNginxComments` or `embeddedNginxTags`.";
459
455
  };
460
456
  readonly embeddedNginxComments: {
461
457
  readonly category: "Embed";
@@ -700,9 +696,7 @@ export declare const options: {
700
696
  }];
701
697
  readonly description: "Tag or comment identifiers that make their subsequent template literals be identified as embedded Shell language. This option requires the `prettier-plugin-sh` plugin.";
702
698
  readonly deprecated: "Please use `embeddedShComments` or `embeddedShTags`.";
703
- }; /**
704
- * @deprecated Please use `embedded<Language>Comments` or `embedded<Language>Tags` to configure each embedded language, and you won't need this option anymore.
705
- */
699
+ };
706
700
  readonly embeddedShComments: {
707
701
  readonly category: "Embed";
708
702
  readonly type: "string";
package/dist/parsers.d.ts CHANGED
@@ -1,22 +1,22 @@
1
1
  export declare const parsers: {
2
- embeddedXml: import("prettier").Parser<any>;
3
- meriyah: import("prettier").Parser<any>;
4
- typescript: import("prettier").Parser<any>;
5
- flow: import("prettier").Parser<any>;
6
- acorn: import("prettier").Parser<any>;
7
- espree: import("prettier").Parser<any>;
8
- babel: import("prettier").Parser<any>;
9
- "babel-flow": import("prettier").Parser<any>;
10
- "babel-ts": import("prettier").Parser<any>;
11
- __js_expression: import("prettier").Parser<any>;
12
- __ts_expression: import("prettier").Parser<any>;
13
- __vue_expression: import("prettier").Parser<any>;
14
- __vue_ts_expression: import("prettier").Parser<any>;
15
- __vue_event_binding: import("prettier").Parser<any>;
16
- __vue_ts_event_binding: import("prettier").Parser<any>;
17
- __babel_estree: import("prettier").Parser<any>;
18
- json: import("prettier").Parser<any>;
19
- json5: import("prettier").Parser<any>;
20
- jsonc: import("prettier").Parser<any>;
21
- "json-stringify": import("prettier").Parser<any>;
2
+ embeddedXml: import("prettier").Parser;
3
+ meriyah: import("prettier").Parser;
4
+ typescript: import("prettier").Parser;
5
+ flow: import("prettier").Parser;
6
+ acorn: import("prettier").Parser;
7
+ espree: import("prettier").Parser;
8
+ babel: import("prettier").Parser;
9
+ "babel-flow": import("prettier").Parser;
10
+ "babel-ts": import("prettier").Parser;
11
+ __js_expression: import("prettier").Parser;
12
+ __ts_expression: import("prettier").Parser;
13
+ __vue_expression: import("prettier").Parser;
14
+ __vue_ts_expression: import("prettier").Parser;
15
+ __vue_event_binding: import("prettier").Parser;
16
+ __vue_ts_event_binding: import("prettier").Parser;
17
+ __babel_estree: import("prettier").Parser;
18
+ json: import("prettier").Parser;
19
+ json5: import("prettier").Parser;
20
+ jsonc: import("prettier").Parser;
21
+ "json-stringify": import("prettier").Parser;
22
22
  };
package/dist/utils.d.ts CHANGED
@@ -6,20 +6,21 @@ export declare function resolveEmbeddedOverrideOptions(embeddedOverridesString:
6
6
  kind: "comment" | "tag";
7
7
  filepath?: string;
8
8
  }): Promise<{
9
- embeddedCssParser?: "css" | "less" | "scss" | undefined;
10
- embeddedEsParser?: "babel" | "babel-flow" | "acorn" | "espree" | "flow" | "meriyah" | undefined;
11
- embeddedHtmlParser?: "html" | "vue" | "angular" | "lwc" | undefined;
12
- embeddedJsonParser?: "json" | "json5" | "jsonc" | "json-stringify" | undefined;
13
- embeddedMarkdownParser?: "markdown" | "mdx" | "remark" | undefined;
14
- embeddedTsParser?: "typescript" | "babel-ts" | undefined;
15
- embeddedRubyParser?: "ruby" | "rbs" | "haml" | undefined;
16
- embeddedSqlPlugin?: "prettier-plugin-sql" | "prettier-plugin-sql-cst" | undefined;
17
- embeddedSqlParser?: "bigquery" | "mariadb" | "mysql" | "postgresql" | "sqlite" | undefined;
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
18
  semi?: boolean | undefined;
19
19
  singleQuote?: boolean | undefined;
20
20
  jsxSingleQuote?: boolean | undefined;
21
21
  trailingComma?: "none" | "es5" | "all" | undefined;
22
22
  bracketSpacing?: boolean | undefined;
23
+ objectWrap?: "preserve" | "collapse" | undefined;
23
24
  bracketSameLine?: boolean | undefined;
24
25
  rangeStart?: number | undefined;
25
26
  rangeEnd?: number | undefined;
@@ -32,6 +33,7 @@ export declare function resolveEmbeddedOverrideOptions(embeddedOverridesString:
32
33
  quoteProps?: "preserve" | "as-needed" | "consistent" | undefined;
33
34
  vueIndentScriptAndStyle?: boolean | undefined;
34
35
  singleAttributePerLine?: boolean | undefined;
36
+ experimentalOperatorPosition?: "start" | "end" | undefined;
35
37
  experimentalTernaries?: boolean | undefined;
36
38
  jsxBracketSameLine?: boolean | undefined;
37
39
  alignDirectives?: boolean | undefined;
@@ -55,6 +57,7 @@ export declare function resolveEmbeddedOverrideOptions(embeddedOverridesString:
55
57
  sqlKeywordCase?: "preserve" | "upper" | "lower" | undefined;
56
58
  sqlParamTypes?: import("sql-parser-cst/lib/ParserOptions.js").ParamType[] | undefined;
57
59
  sqlCanonicalSyntax?: boolean | undefined;
60
+ sqlAcceptUnsupportedGrammar?: boolean | undefined;
58
61
  keywordCase?: import("sql-formatter").KeywordCase | undefined;
59
62
  identifierCase?: import("sql-formatter").KeywordCase | undefined;
60
63
  dataTypeCase?: import("sql-formatter").KeywordCase | undefined;
@@ -68,10 +71,10 @@ export declare function resolveEmbeddedOverrideOptions(embeddedOverridesString:
68
71
  params?: ((import("sql-formatter").ParamItems | string[]) & string) | undefined;
69
72
  paramTypes?: (import("sql-formatter").ParamTypes & string) | undefined;
70
73
  dialect?: string | undefined;
71
- language?: "bigquery" | "db2" | "db2i" | "hive" | "mariadb" | "mysql" | "n1ql" | "plsql" | "postgresql" | "redshift" | "singlestoredb" | "snowflake" | "spark" | "sql" | "sqlite" | "transactsql" | "trino" | "tsql" | undefined;
74
+ language?: import("sql-formatter").SqlLanguage | undefined;
72
75
  database?: string | undefined;
73
76
  type?: string | undefined;
74
- formatter?: "node-sql-parser" | "sql-cst" | "sql-formatter" | undefined;
77
+ formatter?: ("node-sql-parser" | "sql-cst" | "sql-formatter") | undefined;
75
78
  alignEntries?: boolean | undefined;
76
79
  alignComments?: boolean | undefined;
77
80
  arrayAutoExpand?: boolean | undefined;
@@ -85,21 +88,21 @@ export declare function resolveEmbeddedOverrideOptions(embeddedOverridesString:
85
88
  allowedBlankLines?: number | undefined;
86
89
  iniSpaceAroundEquals?: boolean | undefined;
87
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;
88
- actionParser?: "typescript" | "babel" | "babel-flow" | "acorn" | "espree" | "flow" | "meriyah" | "babel-ts" | undefined;
91
+ actionParser?: (import("./embedded/es/options.js").EsParser | import("./embedded/ts/options.js").TsParser) | undefined;
89
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;
90
93
  trailingCommaPHP?: boolean | undefined;
91
94
  braceStyle?: "psr-2" | "per-cs" | "1tbs" | undefined;
92
95
  escapeNonLatin1?: boolean | undefined;
93
- keySeparator?: ":" | " " | "=" | ": " | "= " | " : " | " = " | undefined;
96
+ keySeparator?: " " | ":" | "=" | ": " | "= " | " : " | " = " | undefined;
94
97
  pugPrintWidth?: number | undefined;
95
98
  pugSingleQuote?: boolean | undefined;
96
99
  pugTabWidth?: number | undefined;
97
100
  pugUseTabs?: boolean | undefined;
98
101
  pugBracketSpacing?: boolean | undefined;
99
- pugArrowParens?: "always" | "avoid" | undefined;
102
+ pugArrowParens?: "avoid" | "always" | undefined;
100
103
  pugSemi?: boolean | undefined;
101
104
  pugBracketSameLine?: boolean | undefined;
102
- pugAttributeSeparator?: "none" | "always" | "as-needed" | undefined;
105
+ pugAttributeSeparator?: "always" | "as-needed" | "none" | undefined;
103
106
  pugCommentPreserveSpaces?: "keep-all" | "keep-leading" | "trim-all" | undefined;
104
107
  pugSortAttributes?: "asc" | "desc" | "as-is" | undefined;
105
108
  pugSortAttributesBeginning?: string[] | undefined;
@@ -107,19 +110,19 @@ export declare function resolveEmbeddedOverrideOptions(embeddedOverridesString:
107
110
  pugWrapAttributesThreshold?: number | undefined;
108
111
  pugWrapAttributesPattern?: string | undefined;
109
112
  pugClassLocation?: "before-attributes" | "after-attributes" | undefined;
110
- pugClassNotation?: "literal" | "as-is" | "attribute" | undefined;
113
+ pugClassNotation?: "literal" | "attribute" | "as-is" | undefined;
111
114
  pugIdNotation?: "literal" | "as-is" | undefined;
112
- pugEmptyAttributes?: "none" | "all" | "as-is" | undefined;
113
- pugEmptyAttributesForceQuotes?: "none" | "all" | "as-is" | undefined;
115
+ pugEmptyAttributes?: "as-is" | "none" | "all" | undefined;
116
+ pugEmptyAttributesForceQuotes?: "as-is" | "none" | "all" | undefined;
114
117
  pugSingleFileComponentIndentation?: boolean | undefined;
115
- pugFramework?: "vue" | "angular" | "auto" | "svelte" | undefined;
118
+ pugFramework?: "auto" | "vue" | "svelte" | "angular" | undefined;
116
119
  pugExplicitDiv?: boolean | undefined;
117
120
  pugPreserveAttributeBrackets?: boolean | undefined;
118
121
  rubyPlugins?: import("./embedded/utils.js").AutocompleteStringList<"plugin/single_quotes" | "plugin/trailing_comma" | "plugin/disable_auto_ternary"> | undefined;
119
122
  rubySingleQuote?: boolean | undefined;
120
123
  rubyExecutablePath?: string | undefined;
121
124
  xmlSelfClosingSpace?: boolean | undefined;
122
- xmlWhitespaceSensitivity?: "preserve" | "strict" | "ignore" | undefined;
125
+ xmlWhitespaceSensitivity?: "strict" | "preserve" | "ignore" | undefined;
123
126
  xmlSortAttributesByKey?: boolean | undefined;
124
127
  xmlQuoteAttributes?: "preserve" | "single" | "double" | undefined;
125
128
  } | undefined>;
package/package.json CHANGED
@@ -2,9 +2,11 @@
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.4.15",
5
+ "version": "0.5.0",
6
6
  "type": "module",
7
- "files": ["./dist"],
7
+ "files": [
8
+ "./dist"
9
+ ],
8
10
  "main": "./dist/index.js",
9
11
  "module": "./dist/index.js",
10
12
  "exports": {
@@ -51,87 +53,77 @@
51
53
  "name": "Ze-Zheng Wu"
52
54
  },
53
55
  "license": "MIT",
54
- "config": {},
55
56
  "publishConfig": {
56
57
  "access": "public"
57
58
  },
59
+ "devDependencies": {
60
+ "@biomejs/biome": "1.9.4",
61
+ "@changesets/cli": "^2.28.1",
62
+ "@commitlint/cli": "^19.7.1",
63
+ "@commitlint/config-conventional": "^19.7.1",
64
+ "@prettier/plugin-php": "^0.22.4",
65
+ "@prettier/plugin-pug": "^3.2.1",
66
+ "@prettier/plugin-ruby": "^4.0.4",
67
+ "@prettier/plugin-xml": "^3.4.1",
68
+ "@stedi/prettier-plugin-jsonata": "^2.1.3",
69
+ "@types/node": "^22.13.5",
70
+ "@vitest/coverage-istanbul": "^3.0.6",
71
+ "@vitest/ui": "^3.0.6",
72
+ "@xml-tools/parser": "^1.0.11",
73
+ "chevrotain": "7.1.1",
74
+ "concurrently": "^9.1.2",
75
+ "copy-files-from-to": "^3.12.1",
76
+ "esbuild": "^0.25.0",
77
+ "lint-staged": "^15.4.3",
78
+ "npm-check-updates": "^17.1.14",
79
+ "prettier": "^3.5.2",
80
+ "prettier-plugin-glsl": "^0.2.0",
81
+ "prettier-plugin-ini": "^1.3.0",
82
+ "prettier-plugin-java": "^2.6.7",
83
+ "prettier-plugin-latex": "^2.0.1",
84
+ "prettier-plugin-nginx": "^1.0.3",
85
+ "prettier-plugin-pegjs": "^2.0.2",
86
+ "prettier-plugin-prisma": "^5.0.0",
87
+ "prettier-plugin-properties": "^0.3.0",
88
+ "prettier-plugin-sh": "^0.15.0",
89
+ "prettier-plugin-sql": "^0.18.1",
90
+ "prettier-plugin-sql-cst": "^0.12.2",
91
+ "prettier-plugin-toml": "^2.0.2",
92
+ "simple-git-hooks": "^2.11.1",
93
+ "tinyglobby": "^0.2.12",
94
+ "tsx": "^4.19.3",
95
+ "typescript": "^5.7.3",
96
+ "vite": "^6.1.1",
97
+ "vitest": "^3.0.6"
98
+ },
99
+ "dependencies": {
100
+ "@types/estree": "^1.0.6",
101
+ "dedent": "^1.5.3",
102
+ "micro-memoize": "^4.1.3",
103
+ "package-up": "^5.0.0",
104
+ "tiny-jsonc": "^1.0.2",
105
+ "type-fest": "^4.35.0"
106
+ },
58
107
  "scripts": {
59
- "install:ci": "npm ci && ./scripts/prepare.sh",
60
108
  "update-hooks": "simple-git-hooks",
61
- "changeset": "changeset",
62
- "bump": "changeset version 2>/dev/null | grep . && npm i; exit 0",
63
- "dev": "vite",
64
109
  "lint": "biome lint .",
65
110
  "type-check": "tsc --noEmit --emitDeclarationOnly false",
66
111
  "format:prettier": "prettier . --write",
67
112
  "format:biome": "biome format . --write",
68
- "format": "conc \"npm:format:prettier\" \"npm:format:biome\"",
69
- "check:biome": "biome check --apply .",
70
- "check": "conc \"npm:format:prettier\" \"npm:check:biome\"",
71
- "prebuild": "npm run check && npm run type-check",
113
+ "format": "conc \"pnpm:format:prettier\" \"pnpm:format:biome\"",
114
+ "check:biome": "biome check . --write",
115
+ "check": "conc \"pnpm:format:prettier\" \"pnpm:check:biome\"",
116
+ "prebuild": "pnpm -s check && pnpm -s type-check",
72
117
  "build": "vite build",
73
118
  "add-glob-import-types": "tsx ./scripts/add-glob-import-types.ts",
74
119
  "nocheck-chevrotain-types": "tsx ./scripts/nocheck-chevrotain-types.ts",
75
120
  "copy": "copy-files-from-to",
76
- "postbuild": "tsc --project ./tsconfig.production.json && conc \"npm:add-glob-import-types\" \"npm:nocheck-chevrotain-types\" \"npm:copy\"",
121
+ "postbuild": "tsc --project ./tsconfig.production.json && conc \"pnpm:add-glob-import-types\" \"pnpm:nocheck-chevrotain-types\" \"pnpm:copy\"",
77
122
  "test": "vitest",
78
123
  "test:ui": "vitest --ui",
79
- "preview": "vite preview",
80
124
  "process-readme": "tsx ./scripts/process-readme",
81
125
  "restore-readme": "tsx ./scripts/restore-readme",
82
- "prepublishOnly": "npm run build && npm run process-readme",
83
- "postpublish": "npm run restore-readme",
84
- "ncu": "ncu",
85
- "postncu": "npm i",
86
- "bump-biome:latest": "npm i -DE @biomejs/biome@latest",
87
- "bump-biome:nightly": "npm i -DE @biomejs/biome@nightly"
88
- },
89
- "devDependencies": {
90
- "@biomejs/biome": "1.5.3-nightly.69f9031",
91
- "@changesets/cli": "^2.27.1",
92
- "@commitlint/cli": "^18.6.1",
93
- "@commitlint/config-conventional": "^18.6.2",
94
- "@prettier/plugin-php": "^0.22.1",
95
- "@prettier/plugin-pug": "^3.0.0",
96
- "@prettier/plugin-ruby": "^4.0.4",
97
- "@prettier/plugin-xml": "^3.2.2",
98
- "@stedi/prettier-plugin-jsonata": "^2.1.1",
99
- "@types/node": "^20.11.20",
100
- "@vitest/coverage-istanbul": "^1.3.1",
101
- "@vitest/ui": "^1.3.1",
102
- "@xml-tools/parser": "^1.0.11",
103
- "chevrotain": "7.1.1",
104
- "concurrently": "^8.2.2",
105
- "copy-files-from-to": "^3.9.1",
106
- "esbuild": "^0.20.1",
107
- "fast-glob": "^3.3.2",
108
- "lint-staged": "^15.2.2",
109
- "npm-check-updates": "^16.14.15",
110
- "prettier": "^3.2.4",
111
- "prettier-plugin-glsl": "^0.1.3",
112
- "prettier-plugin-ini": "^1.1.0",
113
- "prettier-plugin-java": "^2.5.0",
114
- "prettier-plugin-latex": "^2.0.1",
115
- "prettier-plugin-nginx": "^1.0.3",
116
- "prettier-plugin-pegjs": "^2.0.2",
117
- "prettier-plugin-prisma": "^5.0.0",
118
- "prettier-plugin-properties": "^0.3.0",
119
- "prettier-plugin-sh": "^0.14.0",
120
- "prettier-plugin-sql": "^0.18.0",
121
- "prettier-plugin-sql-cst": "^0.11.1",
122
- "prettier-plugin-toml": "^2.0.1",
123
- "simple-git-hooks": "^2.9.0",
124
- "tsx": "^4.7.1",
125
- "typescript": "^5.3.3",
126
- "vite": "^5.1.4",
127
- "vitest": "^1.3.1"
128
- },
129
- "dependencies": {
130
- "@types/estree": "^1.0.5",
131
- "dedent": "^1.5.1",
132
- "micro-memoize": "^4.1.2",
133
- "package-up": "^5.0.0",
134
- "tiny-jsonc": "^1.0.1",
135
- "type-fest": "^4.10.3"
126
+ "bump-biome:latest": "pnpm add -DE @biomejs/biome@latest",
127
+ "bump-biome:nightly": "pnpm add -DE @biomejs/biome@nightly"
136
128
  }
137
- }
129
+ }