create-mn-app 0.3.0 → 0.3.3
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/README.md +3 -3
- package/dist/cli.js +2 -2
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -48,13 +48,13 @@ npx create-mn-app my-app
|
|
|
48
48
|
|
|
49
49
|
### Counter DApp
|
|
50
50
|
|
|
51
|
-
Real-world example
|
|
51
|
+
Real-world example with increment/decrement state and zkProofs.
|
|
52
52
|
|
|
53
53
|
```bash
|
|
54
54
|
npx create-mn-app my-app --template counter
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
Cloned from [
|
|
57
|
+
Cloned from [Midnight Network's example-counter](https://github.com/midnightntwrk/example-counter). Requires Node.js 22+, Docker, and Compact compiler.
|
|
58
58
|
|
|
59
59
|
After creation:
|
|
60
60
|
|
|
@@ -135,7 +135,7 @@ Testnet faucet typically takes 2-5 minutes. The deploy script will auto-detect w
|
|
|
135
135
|
## Links
|
|
136
136
|
|
|
137
137
|
- [Midnight Docs](https://docs.midnight.network)
|
|
138
|
-
- [Discord Community](https://discord.
|
|
138
|
+
- [Discord Community](https://discord.com/invite/midnightnetwork)
|
|
139
139
|
- [GitHub](https://github.com/Olanetsoft/create-mn-app)
|
|
140
140
|
|
|
141
141
|
## License
|
package/dist/cli.js
CHANGED
|
@@ -54,7 +54,7 @@ error_handler_1.ErrorHandler.checkNodeVersion(22);
|
|
|
54
54
|
program
|
|
55
55
|
.name("create-mn-app")
|
|
56
56
|
.description("Create a new Midnight Network application")
|
|
57
|
-
.version("0.3.
|
|
57
|
+
.version("0.3.3")
|
|
58
58
|
.argument("[project-directory]", "Directory name for your project")
|
|
59
59
|
.option("-t, --template <name>", "Template to use (hello-world, counter, bboard, dex, midnight-kitties)")
|
|
60
60
|
.option("--use-npm", "Use npm explicitly")
|
|
@@ -65,7 +65,7 @@ program
|
|
|
65
65
|
.option("--skip-git", "Skip git repository initialization")
|
|
66
66
|
.option("--verbose", "Show detailed output")
|
|
67
67
|
.action(async (projectDirectory, options) => {
|
|
68
|
-
console.log(chalk_1.default.bold.cyan("\ncreate-mn-app") + chalk_1.default.gray(" v0.3.
|
|
68
|
+
console.log(chalk_1.default.bold.cyan("\ncreate-mn-app") + chalk_1.default.gray(" v0.3.3\n"));
|
|
69
69
|
try {
|
|
70
70
|
await (0, create_app_1.createApp)(projectDirectory, options);
|
|
71
71
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-mn-app",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Create Midnight Network applications with zero configuration",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -28,7 +28,10 @@
|
|
|
28
28
|
"cli",
|
|
29
29
|
"create-app"
|
|
30
30
|
],
|
|
31
|
-
"author": "
|
|
31
|
+
"author": "Idris Olubisi",
|
|
32
|
+
"contributors": [
|
|
33
|
+
"Midnight Network"
|
|
34
|
+
],
|
|
32
35
|
"license": "MIT",
|
|
33
36
|
"dependencies": {
|
|
34
37
|
"chalk": "^4.1.2",
|