@anaemia/cli 0.1.5 → 0.1.7
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.js +3 -3
- package/package.json +1 -1
- package/src/index.ts +3 -3
package/dist/index.js
CHANGED
|
@@ -265,14 +265,14 @@ cli
|
|
|
265
265
|
packageManager = "yarn";
|
|
266
266
|
try {
|
|
267
267
|
if (packageManager === "pnpm") {
|
|
268
|
-
execSync(`pnpm dlx
|
|
268
|
+
execSync(`pnpm dlx degit colourlabs/anaemia/templates/base-app "${targetPath}"`, { stdio: "ignore" });
|
|
269
269
|
}
|
|
270
270
|
else {
|
|
271
271
|
execSync(`npx degit colourlabs/anaemia/templates/base-app "${targetPath}"`, { stdio: "ignore" });
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
|
-
catch {
|
|
275
|
-
logger.error("
|
|
274
|
+
catch (err) {
|
|
275
|
+
logger.error("could not source template workspace assets locally or from network registry nodes. " + err);
|
|
276
276
|
process.exit(1);
|
|
277
277
|
}
|
|
278
278
|
}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -316,12 +316,12 @@ cli
|
|
|
316
316
|
|
|
317
317
|
try {
|
|
318
318
|
if (packageManager === "pnpm") {
|
|
319
|
-
execSync(`pnpm dlx
|
|
319
|
+
execSync(`pnpm dlx degit colourlabs/anaemia/templates/base-app "${targetPath}"`, { stdio: "ignore" });
|
|
320
320
|
} else {
|
|
321
321
|
execSync(`npx degit colourlabs/anaemia/templates/base-app "${targetPath}"`, { stdio: "ignore" });
|
|
322
322
|
}
|
|
323
|
-
} catch {
|
|
324
|
-
logger.error("
|
|
323
|
+
} catch (err) {
|
|
324
|
+
logger.error("could not source template workspace assets locally or from network registry nodes. " + err);
|
|
325
325
|
process.exit(1);
|
|
326
326
|
}
|
|
327
327
|
}
|