create-ponder 0.1.4 → 0.1.6
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 +10 -5
- package/package.json +2 -3
- package/templates/empty/package.json +1 -4
- package/templates/etherscan/package.json +1 -4
- package/templates/feature-factory/package.json +1 -4
- package/templates/feature-filter/package.json +1 -4
- package/templates/feature-multichain/package.json +1 -4
- package/templates/feature-proxy/package.json +1 -4
- package/templates/feature-read-contract/package.json +1 -4
- package/templates/project-friendtech/package.json +1 -4
- package/templates/project-uniswap-v3-flash/package.json +1 -4
- package/templates/reference-erc20/package.json +1 -4
- package/templates/reference-erc721/package.json +1 -4
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.1.
|
|
19
|
+
version: "0.1.6",
|
|
20
20
|
type: "module",
|
|
21
21
|
description: "A CLI tool to create Ponder apps",
|
|
22
22
|
license: "MIT",
|
|
@@ -57,11 +57,10 @@ var package_default = {
|
|
|
57
57
|
abitype: "^0.10.2",
|
|
58
58
|
dotenv: "^16.3.1",
|
|
59
59
|
tsup: "^8.0.1",
|
|
60
|
-
typescript: "^5.3.2",
|
|
61
60
|
vitest: "^1.0.2"
|
|
62
61
|
},
|
|
63
62
|
engines: {
|
|
64
|
-
node: ">=18"
|
|
63
|
+
node: ">=18.14"
|
|
65
64
|
}
|
|
66
65
|
};
|
|
67
66
|
|
|
@@ -776,10 +775,16 @@ async function run({
|
|
|
776
775
|
"-t, --template [name]",
|
|
777
776
|
`A template to bootstrap with. Available: ${templates.map(({ id }) => id).join(", ")}`
|
|
778
777
|
).option("--etherscan-contract-link [link]", "Etherscan contract link").option("--etherscan-api-key [key]", "Etherscan API key").option("--npm", "Use npm as your package manager").option("--pnpm", "Use pnpm as your package manager").option("--yarn", "Use yarn as your package manager").option("--skip-git", "Skips initializing the project as a git repository").help();
|
|
779
|
-
|
|
778
|
+
const _nodeVersion = process.version.split(".");
|
|
779
|
+
const nodeVersion = [
|
|
780
|
+
Number(_nodeVersion[0].slice(1)),
|
|
781
|
+
Number(_nodeVersion[1]),
|
|
782
|
+
Number(_nodeVersion[2])
|
|
783
|
+
];
|
|
784
|
+
if (nodeVersion[0] < 18 || nodeVersion[0] === 18 && nodeVersion[1] < 14)
|
|
780
785
|
throw Error(
|
|
781
786
|
pico4.red(
|
|
782
|
-
`Node version:${process.version} does not meet the >=18 requirement`
|
|
787
|
+
`Node version:${process.version} does not meet the >=18.14 requirement`
|
|
783
788
|
)
|
|
784
789
|
);
|
|
785
790
|
const { args, options } = cli.parse(process.argv);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-ponder",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A CLI tool to create Ponder apps",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,11 +36,10 @@
|
|
|
36
36
|
"abitype": "^0.10.2",
|
|
37
37
|
"dotenv": "^16.3.1",
|
|
38
38
|
"tsup": "^8.0.1",
|
|
39
|
-
"typescript": "^5.3.2",
|
|
40
39
|
"vitest": "^1.0.2"
|
|
41
40
|
},
|
|
42
41
|
"engines": {
|
|
43
|
-
"node": ">=18"
|
|
42
|
+
"node": ">=18.14"
|
|
44
43
|
},
|
|
45
44
|
"scripts": {
|
|
46
45
|
"build": "tsup",
|