@acala-network/chopsticks 0.5.2 → 0.5.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.
Files changed (2) hide show
  1. package/lib/cli.js +6 -0
  2. package/package.json +5 -7
package/lib/cli.js CHANGED
@@ -182,6 +182,12 @@ const defaultOptions = {
182
182
  await (0, _1.connectVertical)(relaychain, parachain);
183
183
  }
184
184
  }
185
+ })
186
+ .command({
187
+ command: '*',
188
+ handler() {
189
+ yargs_1.default.showHelp();
190
+ },
185
191
  })
186
192
  .strict()
187
193
  .help()
package/package.json CHANGED
@@ -1,15 +1,14 @@
1
1
  {
2
2
  "name": "@acala-network/chopsticks",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "author": "Bryan Chen <xlchen1291@gmail.com>",
7
7
  "license": "Apache-2.0",
8
8
  "bin": "./chopsticks.js",
9
9
  "scripts": {
10
- "build": "rm -rf lib && tsc -p ./tsconfig.json",
11
- "test": "vitest run",
12
- "test:watch": "vitest",
10
+ "clean": "rm -rf lib tsconfig.tsbuildinfo",
11
+ "build": "yarn clean && tsc -p ./tsconfig.json",
13
12
  "script:start": "cd ../..; ts-node --transpile-only packages/chopsticks/src/cli.ts",
14
13
  "script:run": "LOG_LEVEL=trace ts-node-dev --transpile-only --inspect --notify=false src/cli.ts -- dev --config=../../configs/dev.yml",
15
14
  "dev:karura": "ts-node-dev --transpile-only --inspect --notify=false src/cli.ts -- dev --config=../../configs/karura.yml",
@@ -18,7 +17,7 @@
18
17
  "dev:moonbeam": "ts-node-dev --transpile-only --inspect --notify=false src/cli.ts -- dev --config=../../configs/moonbeam.yml"
19
18
  },
20
19
  "dependencies": {
21
- "@acala-network/chopsticks-executor": "0.5.2",
20
+ "@acala-network/chopsticks-executor": "0.5.3",
22
21
  "@polkadot/api": "^9.14.2",
23
22
  "@polkadot/rpc-provider": "^9.14.2",
24
23
  "@polkadot/types": "^9.14.2",
@@ -48,8 +47,7 @@
48
47
  "@types/yargs": "^17.0.22",
49
48
  "ts-node": "^10.9.1",
50
49
  "ts-node-dev": "^2.0.0",
51
- "typescript": "^4.9.5",
52
- "vitest": "^0.29.2"
50
+ "typescript": "^4.9.5"
53
51
  },
54
52
  "files": [
55
53
  "lib",