@quiteer/scripts 0.0.9 → 0.0.10
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/index.mjs +3 -10
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -12,7 +12,7 @@ import enquirer from "enquirer";
|
|
|
12
12
|
import { versionBump } from "bumpp";
|
|
13
13
|
|
|
14
14
|
//#region package.json
|
|
15
|
-
var version = "0.0.
|
|
15
|
+
var version = "0.0.10";
|
|
16
16
|
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region src/locales/changelog.ts
|
|
@@ -250,15 +250,8 @@ async function getRepoWebUrl() {
|
|
|
250
250
|
async function prependFile(filePath, content) {
|
|
251
251
|
try {
|
|
252
252
|
await access(filePath);
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
content.trim(),
|
|
256
|
-
"",
|
|
257
|
-
prev.trim()
|
|
258
|
-
].join("\n"), "utf8");
|
|
259
|
-
} catch {
|
|
260
|
-
await writeFile(filePath, `${content.trim()}\n`, "utf8");
|
|
261
|
-
}
|
|
253
|
+
} catch {}
|
|
254
|
+
await writeFile(filePath, `${content.trim()}\n`, "utf8");
|
|
262
255
|
}
|
|
263
256
|
/**
|
|
264
257
|
* 为每个提交补充变更文件与统计信息
|