@naseej/blox 1.3.0 → 1.3.1
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/run.js +3 -3
- package/package.json +1 -1
package/dist/run.js
CHANGED
|
@@ -31,7 +31,7 @@ var option = (flags, description) => {
|
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
// package.json
|
|
34
|
-
var version = "1.3.
|
|
34
|
+
var version = "1.3.1";
|
|
35
35
|
|
|
36
36
|
// src/commands/add/index.ts
|
|
37
37
|
var import_fs_extra8 = __toESM(require("fs-extra"));
|
|
@@ -980,7 +980,7 @@ var init2 = command("init").description("Init new app").alias("i").option("-n, -
|
|
|
980
980
|
const def = getTemplateDef(name);
|
|
981
981
|
await deletePattern(name, def.ignore);
|
|
982
982
|
await replacePlaceholders(name, { app: { name } });
|
|
983
|
-
updateCheckpoint(name, { commit: commit2 }, name);
|
|
983
|
+
updateCheckpoint(def.name, { commit: commit2 }, name);
|
|
984
984
|
await git.init(name);
|
|
985
985
|
task.stop(`App initialized in ${name}`);
|
|
986
986
|
await runTask("Run init script", async () => runInitScript(name || ""));
|
|
@@ -1179,7 +1179,7 @@ async function printChangeLog(startCheckpoints, endCheckpoints) {
|
|
|
1179
1179
|
if (fromCommit === toCommit) continue;
|
|
1180
1180
|
const changes = await git.getChangesLog(fromCommit, toCommit);
|
|
1181
1181
|
if (changes.trim() !== "") {
|
|
1182
|
-
allChanges.push(`${fmt.bold(fmt.
|
|
1182
|
+
allChanges.push(`${fmt.bold(fmt.bgYellowBright(name))}:
|
|
1183
1183
|
|
|
1184
1184
|
${changes}`);
|
|
1185
1185
|
}
|