@dedot/cli 0.0.1-alpha.28 → 0.0.1-alpha.29
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/cjs/commands/chaintypes.js +1 -1
- package/cjs/commands/index.d.ts +1 -1
- package/cjs/commands/index.js +1 -1
- package/cjs/dedot.js +2 -2
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +3 -3
- package/package.json +3 -3
- package/cjs/packageInfo.d.ts +0 -4
- package/cjs/packageInfo.js +0 -5
- package/packageInfo.js +0 -3
|
@@ -33,7 +33,7 @@ exports.chaintypes = {
|
|
|
33
33
|
const { wsUrl, output = '', chain = '' } = yargs;
|
|
34
34
|
console.log(`- Generating chaintypes via endpoint ${wsUrl}`);
|
|
35
35
|
const outDir = path.resolve(output, './codegen');
|
|
36
|
-
await (0, codegen_1.
|
|
36
|
+
await (0, codegen_1.generateTypesFromEndpoint)(chain, wsUrl, outDir);
|
|
37
37
|
console.log(`- DONE! Output: ${outDir}`);
|
|
38
38
|
},
|
|
39
39
|
builder: (yargs) => {
|
package/cjs/commands/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './chaintypes';
|
|
1
|
+
export * from './chaintypes.js';
|
package/cjs/commands/index.js
CHANGED
|
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./chaintypes"), exports);
|
|
17
|
+
__exportStar(require("./chaintypes.js"), exports);
|
package/cjs/dedot.js
CHANGED
|
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.dedot = void 0;
|
|
7
7
|
const yargs_1 = __importDefault(require("yargs"));
|
|
8
8
|
const helpers_1 = require("yargs/helpers");
|
|
9
|
-
const
|
|
9
|
+
const index_js_1 = require("./commands/index.js");
|
|
10
10
|
const dedot = () => {
|
|
11
11
|
(0, yargs_1.default)((0, helpers_1.hideBin)(process.argv))
|
|
12
12
|
.scriptName('dedot')
|
|
13
13
|
.showHelpOnFail(true)
|
|
14
|
-
.command(
|
|
14
|
+
.command(index_js_1.chaintypes)
|
|
15
15
|
.help('help', 'Show help instructions')
|
|
16
16
|
.alias('h', 'help')
|
|
17
17
|
.alias('v', 'version')
|
package/cjs/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { dedot } from './dedot';
|
|
1
|
+
import { dedot } from './dedot.js';
|
|
2
2
|
export { dedot };
|
package/cjs/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.dedot = void 0;
|
|
4
|
-
const
|
|
5
|
-
Object.defineProperty(exports, "dedot", { enumerable: true, get: function () { return
|
|
4
|
+
const dedot_js_1 = require("./dedot.js");
|
|
5
|
+
Object.defineProperty(exports, "dedot", { enumerable: true, get: function () { return dedot_js_1.dedot; } });
|
|
6
6
|
// We run this directly for development purpose via ts-node
|
|
7
7
|
// @ts-ignore
|
|
8
8
|
if (process[Symbol.for('ts-node.register.instance')]) {
|
|
9
|
-
(0,
|
|
9
|
+
(0, dedot_js_1.dedot)();
|
|
10
10
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/cli",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.29",
|
|
4
4
|
"author": "Thang X. Vu <thang@coongcrafts.io>",
|
|
5
5
|
"bin": {
|
|
6
6
|
"dedot": "./bin/dedot",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"start": "ts-node src/index.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@dedot/codegen": "0.0.1-alpha.
|
|
17
|
+
"@dedot/codegen": "0.0.1-alpha.29",
|
|
18
18
|
"yargs": "^17.7.2"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"directory": "dist"
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "e3c3104eeab7515dc9dd6803b136fd66b6602d6c"
|
|
29
29
|
}
|
package/cjs/packageInfo.d.ts
DELETED
package/cjs/packageInfo.js
DELETED
package/packageInfo.js
DELETED