create-yeow 0.2.35 → 0.2.36

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-yeow",
3
- "version": "0.2.35",
3
+ "version": "0.2.36",
4
4
  "description": "Scaffold a Yeow plugin project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -217,8 +217,8 @@ async function printFormattedError(err) {
217
217
  const prefix = i === orig.line - 1 ? c.R + ' →' : ' ';
218
218
  out += ` ${prefix} ${c.D}${String(i + 1).padStart(4)}|${c.r} ${lines[i]}\n`;
219
219
  if (i === orig.line - 1 && orig.column > 0) {
220
- const indent = String(i + 1).padStart(4) + '| ';
221
220
  const col = Math.max(0, orig.column);
221
+ const indent = ' '.repeat(String(i + 1).padStart(4).length) + '| ';
222
222
  const caret = ' '.repeat(col) + c.R + '^' + c.r;
223
223
  out += ` ${c.R} →${c.r} ${indent}${caret}\n`;
224
224
  }
@@ -7,7 +7,7 @@
7
7
  "dev": "node .yeow/dev-server.js"
8
8
  },
9
9
  "dependencies": {
10
- "yeow-api": "^0.2.18"
10
+ "yeow-api": "^0.2.22"
11
11
  },
12
12
  "devDependencies": {
13
13
  "esbuild": "^0.25.0",