@cartesi/cli 0.14.0
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/LICENSE +202 -0
- package/README.md +19 -0
- package/bin/dev.cmd +3 -0
- package/bin/dev.js +25 -0
- package/bin/run.cmd +3 -0
- package/bin/run.js +8 -0
- package/dist/baseCommand.d.ts +26 -0
- package/dist/baseCommand.d.ts.map +1 -0
- package/dist/baseCommand.js +80 -0
- package/dist/commands/address-book.d.ts +9 -0
- package/dist/commands/address-book.d.ts.map +1 -0
- package/dist/commands/address-book.js +21 -0
- package/dist/commands/build.d.ts +24 -0
- package/dist/commands/build.d.ts.map +1 -0
- package/dist/commands/build.js +219 -0
- package/dist/commands/clean.d.ts +8 -0
- package/dist/commands/clean.d.ts.map +1 -0
- package/dist/commands/clean.js +11 -0
- package/dist/commands/create.d.ts +16 -0
- package/dist/commands/create.d.ts.map +1 -0
- package/dist/commands/create.js +66 -0
- package/dist/commands/deploy/build.d.ts +12 -0
- package/dist/commands/deploy/build.d.ts.map +1 -0
- package/dist/commands/deploy/build.js +61 -0
- package/dist/commands/deploy/index.d.ts +13 -0
- package/dist/commands/deploy/index.d.ts.map +1 -0
- package/dist/commands/deploy/index.js +78 -0
- package/dist/commands/doctor.d.ts +13 -0
- package/dist/commands/doctor.d.ts.map +1 -0
- package/dist/commands/doctor.js +106 -0
- package/dist/commands/hash.d.ts +10 -0
- package/dist/commands/hash.d.ts.map +1 -0
- package/dist/commands/hash.js +22 -0
- package/dist/commands/run.d.ts +15 -0
- package/dist/commands/run.d.ts.map +1 -0
- package/dist/commands/run.js +137 -0
- package/dist/commands/send/dapp-address.d.ts +9 -0
- package/dist/commands/send/dapp-address.d.ts.map +1 -0
- package/dist/commands/send/dapp-address.js +20 -0
- package/dist/commands/send/erc20.d.ts +14 -0
- package/dist/commands/send/erc20.d.ts.map +1 -0
- package/dist/commands/send/erc20.js +70 -0
- package/dist/commands/send/erc721.d.ts +14 -0
- package/dist/commands/send/erc721.d.ts.map +1 -0
- package/dist/commands/send/erc721.js +73 -0
- package/dist/commands/send/ether.d.ts +13 -0
- package/dist/commands/send/ether.d.ts.map +1 -0
- package/dist/commands/send/ether.js +32 -0
- package/dist/commands/send/generic.d.ts +15 -0
- package/dist/commands/send/generic.d.ts.map +1 -0
- package/dist/commands/send/generic.js +119 -0
- package/dist/commands/send/index.d.ts +28 -0
- package/dist/commands/send/index.d.ts.map +1 -0
- package/dist/commands/send/index.js +102 -0
- package/dist/commands/shell.d.ts +14 -0
- package/dist/commands/shell.d.ts.map +1 -0
- package/dist/commands/shell.js +65 -0
- package/dist/contracts.d.ts +4863 -0
- package/dist/contracts.d.ts.map +1 -0
- package/dist/contracts.js +2074 -0
- package/dist/flags.d.ts +17 -0
- package/dist/flags.d.ts.map +1 -0
- package/dist/flags.js +28 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -0
- package/dist/node/DockerfileDeploy.txt +4 -0
- package/dist/node/default.env +28 -0
- package/dist/node/docker-compose-anvil.yaml +49 -0
- package/dist/node/docker-compose-database.yaml +15 -0
- package/dist/node/docker-compose-envfile.yaml +4 -0
- package/dist/node/docker-compose-explorer.yaml +84 -0
- package/dist/node/docker-compose-host.yaml +30 -0
- package/dist/node/docker-compose-prompt.yaml +17 -0
- package/dist/node/docker-compose-proxy.yaml +48 -0
- package/dist/node/docker-compose-snapshot-volume.yaml +8 -0
- package/dist/node/docker-compose-validator.yaml +59 -0
- package/dist/prompts.d.ts +62 -0
- package/dist/prompts.d.ts.map +1 -0
- package/dist/prompts.js +159 -0
- package/dist/types/docker.d.ts +22 -0
- package/dist/types/docker.d.ts.map +1 -0
- package/dist/types/docker.js +1 -0
- package/dist/wallet.d.ts +24 -0
- package/dist/wallet.d.ts.map +1 -0
- package/dist/wallet.js +204 -0
- package/oclif.manifest.json +887 -0
- package/package.json +100 -0
package/package.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cartesi/cli",
|
|
3
|
+
"version": "0.14.0",
|
|
4
|
+
"description": "Cartesi CLI",
|
|
5
|
+
"author": "Danilo Tuler <tuler@pobox.com>",
|
|
6
|
+
"bin": {
|
|
7
|
+
"cartesi": "./bin/run.js"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"homepage": "https://github.com/cartesi/cli",
|
|
11
|
+
"license": "Apache-2.0",
|
|
12
|
+
"exports": "./dist/index.js",
|
|
13
|
+
"repository": "cartesi/cli",
|
|
14
|
+
"files": [
|
|
15
|
+
"/bin",
|
|
16
|
+
"/dist",
|
|
17
|
+
"/npm-shrinkwrap.json",
|
|
18
|
+
"/oclif.manifest.json"
|
|
19
|
+
],
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@inquirer/confirm": "^3.1.6",
|
|
22
|
+
"@inquirer/core": "^8.1.0",
|
|
23
|
+
"@inquirer/input": "^2.1.6",
|
|
24
|
+
"@inquirer/select": "^2.3.2",
|
|
25
|
+
"@inquirer/type": "^1.3.1",
|
|
26
|
+
"@oclif/core": "^3.26.5",
|
|
27
|
+
"@oclif/plugin-help": "^6.0.21",
|
|
28
|
+
"@oclif/plugin-plugins": "^5.0.17",
|
|
29
|
+
"bytes": "^3.1",
|
|
30
|
+
"chalk": "^5.3.0",
|
|
31
|
+
"execa": "^8.0",
|
|
32
|
+
"fs-extra": "^11",
|
|
33
|
+
"giget": "^1.2.3",
|
|
34
|
+
"lookpath": "^1.2.2",
|
|
35
|
+
"open": "^10.1.0",
|
|
36
|
+
"ora": "^8.0.1",
|
|
37
|
+
"progress-stream": "^2.0",
|
|
38
|
+
"semver": "^7.5",
|
|
39
|
+
"tmp": "^0.2.3",
|
|
40
|
+
"viem": "^2.9.29"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@sunodo/wagmi-plugin-hardhat-deploy": "^0.3.0",
|
|
44
|
+
"@types/bytes": "^3.1",
|
|
45
|
+
"@types/fs-extra": "^11",
|
|
46
|
+
"@types/inquirer": "^9",
|
|
47
|
+
"@types/node": "^20.12.7",
|
|
48
|
+
"@types/node-fetch": "^2.6",
|
|
49
|
+
"@types/progress-stream": "^2.0",
|
|
50
|
+
"@types/prompts": "^2.4",
|
|
51
|
+
"@types/semver": "^7.5.8",
|
|
52
|
+
"@types/tmp": "^0.2",
|
|
53
|
+
"@wagmi/cli": "^2.1.4",
|
|
54
|
+
"copyfiles": "^2",
|
|
55
|
+
"eslint": "^8.57.0",
|
|
56
|
+
"eslint-config-oclif": "^5.1.3",
|
|
57
|
+
"eslint-config-oclif-typescript": "^3.1.7",
|
|
58
|
+
"npm-run-all": "^4",
|
|
59
|
+
"oclif": "^4.9.3",
|
|
60
|
+
"rimraf": "^5",
|
|
61
|
+
"ts-node": "^10",
|
|
62
|
+
"tslib": "^2",
|
|
63
|
+
"typescript": "^5.4.5",
|
|
64
|
+
"vitest": "^1.5.3",
|
|
65
|
+
"@cartesi/devnet": "1.6.0",
|
|
66
|
+
"tsconfig": "0.0.0",
|
|
67
|
+
"@cartesi/eslint-config": "0.0.0"
|
|
68
|
+
},
|
|
69
|
+
"oclif": {
|
|
70
|
+
"bin": "cartesi",
|
|
71
|
+
"dirname": "cartesi",
|
|
72
|
+
"commands": "./dist/commands",
|
|
73
|
+
"plugins": [
|
|
74
|
+
"@oclif/plugin-help"
|
|
75
|
+
],
|
|
76
|
+
"topicSeparator": " ",
|
|
77
|
+
"macos": {
|
|
78
|
+
"identifier": "io.cartesi.cli"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"engines": {
|
|
82
|
+
"node": ">=18.0.0"
|
|
83
|
+
},
|
|
84
|
+
"bugs": "https://github.com/cartesi/cli/issues",
|
|
85
|
+
"keywords": [
|
|
86
|
+
"oclif"
|
|
87
|
+
],
|
|
88
|
+
"types": "dist/index.d.ts",
|
|
89
|
+
"scripts": {
|
|
90
|
+
"build": "run-s clean codegen compile copy-files",
|
|
91
|
+
"clean": "rimraf dist",
|
|
92
|
+
"codegen": "run-p codegen:wagmi",
|
|
93
|
+
"codegen:wagmi": "wagmi generate",
|
|
94
|
+
"compile": "tsc -b",
|
|
95
|
+
"copy-files": "copyfiles -u 1 \"src/**/*.yaml\" \"src/**/*.env\" \"src/**/*.txt\" dist",
|
|
96
|
+
"lint": "eslint \"src/**/*.ts*\"",
|
|
97
|
+
"posttest": "pnpm lint",
|
|
98
|
+
"test": "vitest"
|
|
99
|
+
}
|
|
100
|
+
}
|