@bensandee/tooling 0.6.1 → 0.6.2
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/bin.mjs +5 -3
- package/package.json +1 -1
package/dist/bin.mjs
CHANGED
|
@@ -1911,7 +1911,9 @@ const initCommand = defineCommand({
|
|
|
1911
1911
|
});
|
|
1912
1912
|
async function runInit(config, options = {}) {
|
|
1913
1913
|
const detected = detectProject(config.targetDir);
|
|
1914
|
+
const s = p.spinner();
|
|
1914
1915
|
const { ctx, archivedFiles } = createContext(config, options.confirmOverwrite ?? (async (relativePath) => {
|
|
1916
|
+
s.stop("Paused");
|
|
1915
1917
|
const result = await p.select({
|
|
1916
1918
|
message: `${relativePath} already exists. What do you want to do?`,
|
|
1917
1919
|
options: [{
|
|
@@ -1922,11 +1924,11 @@ async function runInit(config, options = {}) {
|
|
|
1922
1924
|
label: "Skip"
|
|
1923
1925
|
}]
|
|
1924
1926
|
});
|
|
1927
|
+
s.start("Generating configuration files...");
|
|
1925
1928
|
if (p.isCancel(result)) return "skip";
|
|
1926
1929
|
return result;
|
|
1927
1930
|
}));
|
|
1928
1931
|
const results = [];
|
|
1929
|
-
const s = p.spinner();
|
|
1930
1932
|
s.start("Generating configuration files...");
|
|
1931
1933
|
results.push(await generatePackageJson(ctx));
|
|
1932
1934
|
results.push(await generatePnpmWorkspace(ctx));
|
|
@@ -2699,7 +2701,7 @@ function mergeGitHub(dryRun) {
|
|
|
2699
2701
|
const main = defineCommand({
|
|
2700
2702
|
meta: {
|
|
2701
2703
|
name: "tooling",
|
|
2702
|
-
version: "0.6.
|
|
2704
|
+
version: "0.6.2",
|
|
2703
2705
|
description: "Bootstrap and maintain standardized TypeScript project tooling"
|
|
2704
2706
|
},
|
|
2705
2707
|
subCommands: {
|
|
@@ -2711,7 +2713,7 @@ const main = defineCommand({
|
|
|
2711
2713
|
"release:merge": releaseMergeCommand
|
|
2712
2714
|
}
|
|
2713
2715
|
});
|
|
2714
|
-
console.log(`@bensandee/tooling v0.6.
|
|
2716
|
+
console.log(`@bensandee/tooling v0.6.2`);
|
|
2715
2717
|
runMain(main);
|
|
2716
2718
|
|
|
2717
2719
|
//#endregion
|