create-fhevm-playground-pro 1.0.0 → 1.0.2

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.
@@ -3,11 +3,15 @@
3
3
  "version": "0.1.0",
4
4
  "description": "Base template for fhEVM example projects",
5
5
  "scripts": {
6
- "test": "echo \"Run Hardhat tests\" && exit 0",
6
+ "test": "hardhat test",
7
7
  "compile": "hardhat compile"
8
8
  },
9
9
  "devDependencies": {
10
10
  "hardhat": "^2.19.4",
11
+ "@nomicfoundation/hardhat-toolbox": "^4.0.0",
12
+ "@nomicfoundation/hardhat-chai-matchers": "^2.0.0",
13
+ "chai": "^4.3.10",
14
+ "ethers": "^6.10.0",
11
15
  "typescript": "^5.5.0",
12
16
  "ts-node": "^10.9.1"
13
17
  }
@@ -131,8 +131,7 @@ program
131
131
  console.log(chalk_1.default.white(' npm install'));
132
132
  console.log(chalk_1.default.white(' npm test (use MOCK=true for mocked mode)'));
133
133
  console.log(chalk_1.default.white('\n To run with a real fhEVM node, see the project README or run the provided Docker script.'));
134
- console.log(chalk_1.default.white('\nRun `npx create-fhevm-playground-pro guided` again to create another example.'));
135
- console.log(chalk_1.default.white('\nProject site: https://example.com/fhevm-playground-pro (placeholder)\n'));
134
+ console.log(chalk_1.default.white('\nRun `npx create-fhevm-playground-pro guided` again to create another example.\n'));
136
135
  }
137
136
  catch (err) {
138
137
  console.error(chalk_1.default.red.bold(`\n❌ Creation failed: ${err?.message || String(err)}`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fhevm-playground-pro",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Premium scaffolding CLI for fhEVM Playground Pro – Zama bounty",
5
5
  "main": "dist/create-example.js",
6
6
  "bin": {
@@ -12,22 +12,35 @@
12
12
  ],
13
13
  "scripts": {
14
14
  "build": "tsc",
15
- "prepublishOnly": "npm run build"
15
+ "prepublishOnly": "npm run build",
16
+ "test": "hardhat test"
16
17
  },
17
- "keywords": ["fhEVM","FHE","scaffold","cli","zama"],
18
+ "keywords": [
19
+ "fhEVM",
20
+ "FHE",
21
+ "scaffold",
22
+ "cli",
23
+ "zama"
24
+ ],
18
25
  "author": "",
19
26
  "license": "MIT",
20
27
  "dependencies": {
21
- "commander": "^11.0.0",
22
28
  "chalk": "^5.3.0",
23
- "inquirer": "^9.2.7",
24
- "fs-extra": "^11.1.1"
29
+ "commander": "^11.0.0",
30
+ "fs-extra": "^11.1.1",
31
+ "inquirer": "^9.2.7"
25
32
  },
26
33
  "devDependencies": {
27
- "typescript": "^5.5.0",
28
- "@types/node": "^20.5.0",
34
+ "@nomicfoundation/hardhat-chai-matchers": "^2.1.0",
35
+ "@nomicfoundation/hardhat-toolbox": "^6.1.0",
36
+ "@types/fs-extra": "^11.0.1",
29
37
  "@types/inquirer": "^9.0.6",
30
- "@types/fs-extra": "^11.0.1"
38
+ "@types/node": "^20.19.27",
39
+ "chai": "^4.5.0",
40
+ "ethers": "^6.16.0",
41
+ "hardhat": "^3.1.0",
42
+ "ts-node": "^10.9.2",
43
+ "typescript": "^5.9.3"
31
44
  },
32
45
  "publishConfig": {
33
46
  "access": "public"