prettier-plugin-embed 0.4.12 → 0.4.14
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/README.md +19 -1
- package/dist/embedded/utils.d.ts +1 -2
- package/dist/index.js +611 -643
- package/dist/utils.d.ts +1 -0
- package/package.json +21 -18
package/dist/utils.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export declare function resolveEmbeddedOverrideOptions(embeddedOverridesString:
|
|
|
54
54
|
experimentalWasm?: boolean | undefined;
|
|
55
55
|
sqlKeywordCase?: "preserve" | "upper" | "lower" | undefined;
|
|
56
56
|
sqlParamTypes?: import("sql-parser-cst/lib/ParserOptions.js").ParamType[] | undefined;
|
|
57
|
+
sqlCanonicalSyntax?: boolean | undefined;
|
|
57
58
|
keywordCase?: import("sql-formatter").KeywordCase | undefined;
|
|
58
59
|
identifierCase?: import("sql-formatter").KeywordCase | undefined;
|
|
59
60
|
dataTypeCase?: import("sql-formatter").KeywordCase | undefined;
|
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.4.
|
|
5
|
+
"version": "0.4.14",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
8
8
|
"./dist"
|
|
@@ -60,12 +60,15 @@
|
|
|
60
60
|
"scripts": {
|
|
61
61
|
"update-hooks": "simple-git-hooks",
|
|
62
62
|
"changeset": "changeset",
|
|
63
|
-
"bump": "changeset version 2>/dev/null | grep . && npm i",
|
|
63
|
+
"bump": "changeset version 2>/dev/null | grep . && npm i; exit 0",
|
|
64
64
|
"dev": "vite",
|
|
65
65
|
"lint": "biome lint .",
|
|
66
66
|
"type-check": "tsc --noEmit --emitDeclarationOnly false",
|
|
67
|
-
"format": "
|
|
68
|
-
"
|
|
67
|
+
"format:prettier": "prettier . --write",
|
|
68
|
+
"format:biome": "biome format . --write",
|
|
69
|
+
"format": "conc \"npm:format:prettier\" \"npm:format:biome\"",
|
|
70
|
+
"check:biome": "biome check --apply .",
|
|
71
|
+
"check": "conc \"npm:format:prettier\" \"npm:check:biome\"",
|
|
69
72
|
"prebuild": "npm run check && npm run type-check",
|
|
70
73
|
"build": "vite build",
|
|
71
74
|
"add-glob-import-types": "tsx ./scripts/add-glob-import-types.ts",
|
|
@@ -82,31 +85,31 @@
|
|
|
82
85
|
"restore-readme": "tsx ./scripts/restore-readme",
|
|
83
86
|
"prepublishOnly": "npm run build && npm run process-readme",
|
|
84
87
|
"postpublish": "npm run restore-readme",
|
|
85
|
-
"ncu": "
|
|
88
|
+
"ncu": "ncu",
|
|
86
89
|
"postncu": "npm i",
|
|
87
90
|
"bump-biome": "npm i @biomejs/biome@latest --save-exact"
|
|
88
91
|
},
|
|
89
92
|
"devDependencies": {
|
|
90
93
|
"@biomejs/biome": "1.5.3",
|
|
91
94
|
"@changesets/cli": "^2.27.1",
|
|
92
|
-
"@commitlint/cli": "^18.6.
|
|
93
|
-
"@commitlint/config-conventional": "^18.6.
|
|
95
|
+
"@commitlint/cli": "^18.6.1",
|
|
96
|
+
"@commitlint/config-conventional": "^18.6.2",
|
|
94
97
|
"@prettier/plugin-php": "^0.22.1",
|
|
95
98
|
"@prettier/plugin-pug": "^3.0.0",
|
|
96
99
|
"@prettier/plugin-ruby": "^4.0.4",
|
|
97
100
|
"@prettier/plugin-xml": "^3.2.2",
|
|
98
101
|
"@stedi/prettier-plugin-jsonata": "^2.1.1",
|
|
99
|
-
"@types/node": "^20.11.
|
|
100
|
-
"@vitest/coverage-istanbul": "^1.
|
|
101
|
-
"@vitest/ui": "^1.
|
|
102
|
+
"@types/node": "^20.11.19",
|
|
103
|
+
"@vitest/coverage-istanbul": "^1.3.0",
|
|
104
|
+
"@vitest/ui": "^1.3.0",
|
|
102
105
|
"@xml-tools/parser": "^1.0.11",
|
|
103
106
|
"chevrotain": "7.1.1",
|
|
104
107
|
"concurrently": "^8.2.2",
|
|
105
108
|
"copy-files-from-to": "^3.9.1",
|
|
106
|
-
"esbuild": "^0.20.
|
|
109
|
+
"esbuild": "^0.20.1",
|
|
107
110
|
"fast-glob": "^3.3.2",
|
|
108
|
-
"lint-staged": "^15.2.
|
|
109
|
-
"npm-check-updates": "^16.14.
|
|
111
|
+
"lint-staged": "^15.2.2",
|
|
112
|
+
"npm-check-updates": "^16.14.15",
|
|
110
113
|
"prettier": "^3.2.4",
|
|
111
114
|
"prettier-plugin-glsl": "^0.1.3",
|
|
112
115
|
"prettier-plugin-ini": "^1.1.0",
|
|
@@ -118,13 +121,13 @@
|
|
|
118
121
|
"prettier-plugin-properties": "^0.3.0",
|
|
119
122
|
"prettier-plugin-sh": "^0.14.0",
|
|
120
123
|
"prettier-plugin-sql": "^0.18.0",
|
|
121
|
-
"prettier-plugin-sql-cst": "^0.
|
|
124
|
+
"prettier-plugin-sql-cst": "^0.11.1",
|
|
122
125
|
"prettier-plugin-toml": "^2.0.1",
|
|
123
126
|
"simple-git-hooks": "^2.9.0",
|
|
124
|
-
"tsx": "^4.7.
|
|
127
|
+
"tsx": "^4.7.1",
|
|
125
128
|
"typescript": "^5.3.3",
|
|
126
|
-
"vite": "^5.
|
|
127
|
-
"vitest": "^1.
|
|
129
|
+
"vite": "^5.1.3",
|
|
130
|
+
"vitest": "^1.3.0"
|
|
128
131
|
},
|
|
129
132
|
"dependencies": {
|
|
130
133
|
"@types/estree": "^1.0.5",
|
|
@@ -132,6 +135,6 @@
|
|
|
132
135
|
"micro-memoize": "^4.1.2",
|
|
133
136
|
"package-up": "^5.0.0",
|
|
134
137
|
"tiny-jsonc": "^1.0.1",
|
|
135
|
-
"type-fest": "^4.10.
|
|
138
|
+
"type-fest": "^4.10.2"
|
|
136
139
|
}
|
|
137
140
|
}
|