arcadible 1.0.15 → 1.0.17

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/bin/arc-init.js CHANGED
@@ -84,6 +84,9 @@ const start = function (argv) {
84
84
  } else if (!quiet) {
85
85
  sw.stop(true);
86
86
  log.hs(phrase.initialized());
87
+ if (argv.patch) {
88
+ log.p(phrase.initializedNoStarter());
89
+ }
87
90
  print(project, { nl: true, toml: true });
88
91
  }
89
92
  // degit sometimes hangs, so exit once stdout is written.
package/package.json CHANGED
@@ -65,5 +65,5 @@
65
65
  "scripts": {
66
66
  "test": "node --test \"test/**/*.test.js\""
67
67
  },
68
- "version": "1.0.15"
68
+ "version": "1.0.17"
69
69
  }
package/src/phrase.js CHANGED
@@ -320,6 +320,17 @@ const initialized = function () {
320
320
 
321
321
  // [function]
322
322
 
323
+ // arc init's reason, when the folder exists: it gets only arcadible.toml,
324
+ // whatever -y or -t asked for.
325
+ const initializedNoStarter = function () {
326
+ return [
327
+ "No starter added: the folder exists.",
328
+ `To start from one, run \`${TOOL} init <name>\`.`,
329
+ ];
330
+ };
331
+
332
+ // [function]
333
+
323
334
  // the heading of arc validate's list of issues, warnings, or references:
324
335
  // `2 issues:`
325
336
  const listed = function (count, noun) {
@@ -1182,6 +1193,7 @@ module.exports = {
1182
1193
  imageWidthMax,
1183
1194
  imageWidthMin,
1184
1195
  initialized,
1196
+ initializedNoStarter,
1185
1197
  issuesAfterBuild,
1186
1198
  issuesFound,
1187
1199
  listed,