create-ponder 0.4.31 → 0.4.33
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/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@ import { default as prompts } from "prompts";
|
|
|
16
16
|
// package.json
|
|
17
17
|
var package_default = {
|
|
18
18
|
name: "create-ponder",
|
|
19
|
-
version: "0.4.
|
|
19
|
+
version: "0.4.33",
|
|
20
20
|
type: "module",
|
|
21
21
|
description: "A CLI tool to create Ponder apps",
|
|
22
22
|
license: "MIT",
|
|
@@ -357,7 +357,7 @@ var getPackageManager = ({
|
|
|
357
357
|
if (userAgent.includes("yarn"))
|
|
358
358
|
return "yarn";
|
|
359
359
|
}
|
|
360
|
-
throw Error(pico2.red("Undetectable package manager"));
|
|
360
|
+
throw new Error(pico2.red("Undetectable package manager"));
|
|
361
361
|
};
|
|
362
362
|
|
|
363
363
|
// src/helpers/mergeAbis.ts
|
|
@@ -989,7 +989,7 @@ async function run({
|
|
|
989
989
|
Number(_nodeVersion[2])
|
|
990
990
|
];
|
|
991
991
|
if (nodeVersion[0] < 18 || nodeVersion[0] === 18 && nodeVersion[1] < 14)
|
|
992
|
-
throw Error(
|
|
992
|
+
throw new Error(
|
|
993
993
|
pico5.red(
|
|
994
994
|
`Node version:${process.version} does not meet the >=18.14 requirement`
|
|
995
995
|
)
|