@dedot/cli 0.7.1 → 0.8.1-next.4880b708.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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +6 -6
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { dedot } from './dedot.js';
2
2
  export { dedot };
3
- // We run this directly for development purpose via ts-node
3
+ // We run this directly for development purpose via tsx
4
4
  // @ts-ignore
5
- if (process[Symbol.for('ts-node.register.instance')]) {
5
+ if (typeof process.env._ === 'string' && process.env._.includes('tsx')) {
6
6
  dedot();
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedot/cli",
3
- "version": "0.7.1",
3
+ "version": "0.8.1-next.4880b708.2+4880b70",
4
4
  "author": "Thang X. Vu <thang@coongcrafts.io>",
5
5
  "homepage": "https://github.com/dedotdev/dedot/tree/main/packages/cli",
6
6
  "repository": {
@@ -18,13 +18,13 @@
18
18
  "scripts": {
19
19
  "build": "tsc --project tsconfig.build.json && cp -R ./bin ./dist",
20
20
  "clean": "rm -rf ./dist && rm -rf ./tsconfig.tsbuildinfo ./tsconfig.build.tsbuildinfo",
21
- "start": "ts-node src/index.ts",
21
+ "start": "tsx src/index.ts",
22
22
  "test": "vitest --watch=false"
23
23
  },
24
24
  "dependencies": {
25
- "@dedot/api": "0.7.1",
26
- "@dedot/codecs": "0.7.1",
27
- "@dedot/codegen": "0.7.1",
25
+ "@dedot/api": "0.8.1-next.4880b708.2+4880b70",
26
+ "@dedot/codecs": "0.8.1-next.4880b708.2+4880b70",
27
+ "@dedot/codegen": "0.8.1-next.4880b708.2+4880b70",
28
28
  "@polkadot-api/wasm-executor": "^0.1.2",
29
29
  "@polkadot/types-support": "^15.5.2",
30
30
  "ora": "^8.2.0",
@@ -41,7 +41,7 @@
41
41
  "node": ">=18"
42
42
  },
43
43
  "license": "Apache-2.0",
44
- "gitHead": "5743229117be17b74d16c35a2862da4c36a24045",
44
+ "gitHead": "4880b708ff98e75c257bf82ec80b3d63b0fb1458",
45
45
  "module": "./index.js",
46
46
  "types": "./index.d.ts"
47
47
  }