@herb-tools/formatter 0.7.4 → 0.7.5
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/herb-format.js +68 -14
- package/dist/herb-format.js.map +1 -1
- package/dist/index.cjs +58 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +58 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +3 -3
- package/src/cli.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@herb-tools/formatter",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"description": "Auto-formatter for HTML+ERB templates with intelligent indentation, line wrapping, and ERB-aware pretty-printing.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://herb-tools.dev",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@herb-tools/core": "0.7.
|
|
39
|
-
"@herb-tools/printer": "0.7.
|
|
38
|
+
"@herb-tools/core": "0.7.5",
|
|
39
|
+
"@herb-tools/printer": "0.7.5"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"glob": "^11.0.3"
|
package/src/cli.ts
CHANGED
|
@@ -112,8 +112,8 @@ export class CLI {
|
|
|
112
112
|
process.exit(0)
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
console.
|
|
116
|
-
console.
|
|
115
|
+
console.error("⚠️ Experimental Preview: The formatter is in early development. Please report any unexpected behavior or bugs to https://github.com/marcoroth/herb/issues/new?template=formatting-issue.md")
|
|
116
|
+
console.error()
|
|
117
117
|
|
|
118
118
|
const formatOptions = resolveFormatOptions({
|
|
119
119
|
indentWidth,
|