@akanjs/devkit 3.0.0-alpha.68 → 3.0.0-alpha.69
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/executors.ts +3 -1
- package/package.json +3 -3
- package/tsconfig.json +1 -1
package/executors.ts
CHANGED
|
@@ -432,7 +432,9 @@ export class Executor {
|
|
|
432
432
|
const writePath = this.getPath(filePath);
|
|
433
433
|
const dir = path.dirname(writePath);
|
|
434
434
|
if (!(await FileSys.dirExists(dir))) await mkdir(dir, { recursive: true });
|
|
435
|
-
|
|
435
|
+
//? Biome formats every tracked .json and always ends a file with a newline, so a JSON write without one
|
|
436
|
+
//? loses a byte to `akan lint` and takes it back on the next `akan sync` — a permanent one-line git diff.
|
|
437
|
+
let contentStr = typeof content === "string" ? content : `${JSON.stringify(content, null, 2)}\n`;
|
|
436
438
|
|
|
437
439
|
if (await FileSys.fileExists(writePath)) {
|
|
438
440
|
const currentContent = await FileSys.readText(writePath);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akanjs/devkit",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.69",
|
|
4
4
|
"sourceType": "module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@langchain/openai": "^1.4.6",
|
|
46
46
|
"@tailwindcss/node": "^4.3.0",
|
|
47
47
|
"@trapezedev/project": "^7.1.4",
|
|
48
|
-
"akanjs": "3.0.0-alpha.
|
|
48
|
+
"akanjs": "3.0.0-alpha.69",
|
|
49
49
|
"chalk": "^5.6.2",
|
|
50
50
|
"commander": "^14.0.3",
|
|
51
51
|
"dayjs": "^1.11.20",
|
|
@@ -76,4 +76,4 @@
|
|
|
76
76
|
"bun": {
|
|
77
77
|
"platform": "bun"
|
|
78
78
|
}
|
|
79
|
-
}
|
|
79
|
+
}
|
package/tsconfig.json
CHANGED