@adbayb/stack 3.2.0-next-5604c38 → 3.2.0-next-b267302
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 +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -442,7 +442,7 @@ const PRESERVE_FILES = ["node_modules"];
|
|
|
442
442
|
|
|
443
443
|
//#endregion
|
|
444
444
|
//#region package.json
|
|
445
|
-
var version = "3.2.0-next-
|
|
445
|
+
var version = "3.2.0-next-b267302";
|
|
446
446
|
|
|
447
447
|
//#endregion
|
|
448
448
|
//#region src/commands/create.ts
|
|
@@ -490,7 +490,7 @@ const createCreateCommand = (program) => {
|
|
|
490
490
|
if (!repoOwner || !repoName) throw createError("git", "The owner and repository name can not be extracted. Please make sure to follow either `/^git@.*:(?<repoOwner>.*)/(?<repoName>.*).git$/` or `/^https?://.*/(?<repoOwner>.*)/(?<repoName>.*).git$/` pattern.");
|
|
491
491
|
const nodeVersion = await request.get("https://resolve-node.vercel.app/lts", "text");
|
|
492
492
|
const { version: pnpmVersion } = await request.get("https://registry.npmjs.org/pnpm/latest", "json");
|
|
493
|
-
if (!pnpmVersion) throw createError("fetch", "The pnpm version cannot be resolved");
|
|
493
|
+
if (!pnpmVersion) throw createError("fetch", "The pnpm version cannot be resolved remotely.");
|
|
494
494
|
const projectName = slugify(inputName);
|
|
495
495
|
return {
|
|
496
496
|
licenseYear: (/* @__PURE__ */ new Date()).getFullYear().toString(),
|