@ckb-ccc/shell 1.1.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/CHANGELOG.md ADDED
@@ -0,0 +1,15 @@
1
+ # @ckb-ccc/shell
2
+
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#130](https://github.com/ckb-devrel/ccc/pull/130) [`8c97c85`](https://github.com/ckb-devrel/ccc/commit/8c97c851db4a2d940c7e59116ca7620cfd0afae1) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat: export backend packages in @ckb-ccc/shell
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [[`8c97c85`](https://github.com/ckb-devrel/ccc/commit/8c97c851db4a2d940c7e59116ca7620cfd0afae1), [`4dbf4fd`](https://github.com/ckb-devrel/ccc/commit/4dbf4fd8021cf14d05282706a7667ea7d108fb09), [`4c76f9e`](https://github.com/ckb-devrel/ccc/commit/4c76f9e2a93a226fcfc4c32a5378bb531bfff08f), [`c2c4c26`](https://github.com/ckb-devrel/ccc/commit/c2c4c264e04461948e4b913b2f22054e6032ddc8), [`b6a73fa`](https://github.com/ckb-devrel/ccc/commit/b6a73fa9628ebdff51cb8f246309654cd53e36f2), [`8c97c85`](https://github.com/ckb-devrel/ccc/commit/8c97c851db4a2d940c7e59116ca7620cfd0afae1)]:
12
+ - @ckb-ccc/spore@1.1.0
13
+ - @ckb-ccc/core@1.3.0
14
+ - @ckb-ccc/ssri@0.1.0
15
+ - @ckb-ccc/udt@0.1.0
package/README.md ADDED
@@ -0,0 +1,41 @@
1
+ <p align="center">
2
+ <a href="https://app.ckbccc.com/">
3
+ <img alt="Logo" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/logoAndText.svg" style="height: 8rem; max-width: 90%; padding: 0.5rem 0;" />
4
+ </a>
5
+ </p>
6
+
7
+ <h1 align="center" style="font-size: 64px;">
8
+ CCC Shell
9
+ </h1>
10
+
11
+ <p align="center">
12
+ <a href="https://www.npmjs.com/package/@ckb-ccc/shell"><img
13
+ alt="NPM Version" src="https://img.shields.io/npm/v/%40ckb-ccc%2Fshell"
14
+ /></a>
15
+ <img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/ckb-devrel/ccc" />
16
+ <img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/ckb-devrel/ccc/master" />
17
+ <img alt="GitHub branch check runs" src="https://img.shields.io/github/check-runs/ckb-devrel/ccc/master" />
18
+ <a href="https://live.ckbccc.com/"><img
19
+ alt="Playground" src="https://img.shields.io/website?url=https%3A%2F%2Flive.ckbccc.com%2F&label=Playground"
20
+ /></a>
21
+ <a href="https://app.ckbccc.com/"><img
22
+ alt="App" src="https://img.shields.io/website?url=https%3A%2F%2Fapp.ckbccc.com%2F&label=App"
23
+ /></a>
24
+ <a href="https://docs.ckbccc.com/"><img
25
+ alt="Docs" src="https://img.shields.io/website?url=https%3A%2F%2Fdocs.ckbccc.com%2F&label=Docs"
26
+ /></a>
27
+ </p>
28
+
29
+ <p align="center">
30
+ CCC - CKBers' Codebase is a one-stop solution for your CKB JS/TS ecosystem development.
31
+ <br />
32
+ Empower yourself with CCC to discover the unlimited potential of CKB.
33
+ <br />
34
+ Interoperate with wallets from different chain ecosystems.
35
+ <br />
36
+ Fully enabling CKB's Turing completeness and cryptographic freedom power.
37
+ </p>
38
+
39
+ <h3 align="center">
40
+ Read more about CCC on <a href="https://docs.ckbccc.com">our website</a> or <a href="https://github.com/ckb-devrel/ccc">GitHub Repo</a>.
41
+ </h3>
@@ -0,0 +1,3 @@
1
+ export * from "./advancedBarrel.js";
2
+ export * as cccA from "./advancedBarrel.js";
3
+ //# sourceMappingURL=advanced.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"advanced.d.ts","sourceRoot":"","sources":["../src/advanced.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,OAAO,KAAK,IAAI,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./advancedBarrel.js";
2
+ export * as cccA from "./advancedBarrel.js";
@@ -0,0 +1,3 @@
1
+ export * from "@ckb-ccc/core/advancedBarrel";
2
+ export { sporeA } from "@ckb-ccc/spore/advanced";
3
+ //# sourceMappingURL=advancedBarrel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"advancedBarrel.d.ts","sourceRoot":"","sources":["../src/advancedBarrel.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "@ckb-ccc/core/advancedBarrel";
2
+ export { sporeA } from "@ckb-ccc/spore/advanced";
@@ -0,0 +1,5 @@
1
+ export * from "@ckb-ccc/core/barrel";
2
+ export { spore } from "@ckb-ccc/spore";
3
+ export { ssri } from "@ckb-ccc/ssri";
4
+ export { udt } from "@ckb-ccc/udt";
5
+ //# sourceMappingURL=barrel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"barrel.d.ts","sourceRoot":"","sources":["../src/barrel.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC"}
package/dist/barrel.js ADDED
@@ -0,0 +1,4 @@
1
+ export * from "@ckb-ccc/core/barrel";
2
+ export { spore } from "@ckb-ccc/spore";
3
+ export { ssri } from "@ckb-ccc/ssri";
4
+ export { udt } from "@ckb-ccc/udt";
@@ -0,0 +1,3 @@
1
+ export * from "./barrel.js";
2
+ export * as ccc from "./barrel.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,KAAK,GAAG,MAAM,aAAa,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from "./barrel.js";
2
+ export * as ccc from "./barrel.js";
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,3 @@
1
+ export * from "./advancedBarrel.js";
2
+ export * as cccA from "./advancedBarrel.js";
3
+ //# sourceMappingURL=advanced.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"advanced.d.ts","sourceRoot":"","sources":["../src/advanced.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,OAAO,KAAK,IAAI,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.cccA = void 0;
30
+ __exportStar(require("./advancedBarrel.js"), exports);
31
+ exports.cccA = __importStar(require("./advancedBarrel.js"));
@@ -0,0 +1,3 @@
1
+ export * from "@ckb-ccc/core/advancedBarrel";
2
+ export { sporeA } from "@ckb-ccc/spore/advanced";
3
+ //# sourceMappingURL=advancedBarrel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"advancedBarrel.d.ts","sourceRoot":"","sources":["../src/advancedBarrel.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.sporeA = void 0;
18
+ __exportStar(require("@ckb-ccc/core/advancedBarrel"), exports);
19
+ var advanced_1 = require("@ckb-ccc/spore/advanced");
20
+ Object.defineProperty(exports, "sporeA", { enumerable: true, get: function () { return advanced_1.sporeA; } });
@@ -0,0 +1,5 @@
1
+ export * from "@ckb-ccc/core/barrel";
2
+ export { spore } from "@ckb-ccc/spore";
3
+ export { ssri } from "@ckb-ccc/ssri";
4
+ export { udt } from "@ckb-ccc/udt";
5
+ //# sourceMappingURL=barrel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"barrel.d.ts","sourceRoot":"","sources":["../src/barrel.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.udt = exports.ssri = exports.spore = void 0;
18
+ __exportStar(require("@ckb-ccc/core/barrel"), exports);
19
+ var spore_1 = require("@ckb-ccc/spore");
20
+ Object.defineProperty(exports, "spore", { enumerable: true, get: function () { return spore_1.spore; } });
21
+ var ssri_1 = require("@ckb-ccc/ssri");
22
+ Object.defineProperty(exports, "ssri", { enumerable: true, get: function () { return ssri_1.ssri; } });
23
+ var udt_1 = require("@ckb-ccc/udt");
24
+ Object.defineProperty(exports, "udt", { enumerable: true, get: function () { return udt_1.udt; } });
@@ -0,0 +1,3 @@
1
+ export * from "./barrel.js";
2
+ export * as ccc from "./barrel.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,KAAK,GAAG,MAAM,aAAa,CAAC"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ccc = void 0;
30
+ __exportStar(require("./barrel.js"), exports);
31
+ exports.ccc = __importStar(require("./barrel.js"));
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
package/package.json ADDED
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "@ckb-ccc/shell",
3
+ "version": "1.1.0",
4
+ "description": "Backend Shell of CCC - CKBer's Codebase. Common Chains Connector.",
5
+ "author": "Hanssen0 <hanssen0@hanssen0.com>",
6
+ "license": "MIT",
7
+ "private": false,
8
+ "homepage": "https://github.com/ckb-devrel/ccc",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git://github.com/ckb-devrel/ccc.git"
12
+ },
13
+ "sideEffects": false,
14
+ "main": "dist.commonjs/index.js",
15
+ "module": "dist/index.js",
16
+ "exports": {
17
+ ".": {
18
+ "import": "./dist/index.js",
19
+ "require": "./dist.commonjs/index.js",
20
+ "default": "./dist.commonjs/index.js"
21
+ },
22
+ "./barrel": {
23
+ "import": "./dist/barrel.js",
24
+ "require": "./dist.commonjs/barrel.js",
25
+ "default": "./dist.commonjs/barrel.js"
26
+ },
27
+ "./advancedBarrel": {
28
+ "import": "./dist/advancedBarrel.js",
29
+ "require": "./dist.commonjs/advancedBarrel.js",
30
+ "default": "./dist.commonjs/advancedBarrel.js"
31
+ },
32
+ "./advanced": {
33
+ "import": "./dist/advanced.js",
34
+ "require": "./dist.commonjs/advanced.js",
35
+ "default": "./dist.commonjs/advanced.js"
36
+ }
37
+ },
38
+ "devDependencies": {
39
+ "@eslint/js": "^9.1.1",
40
+ "copyfiles": "^2.4.1",
41
+ "eslint": "^9.1.0",
42
+ "eslint-config-prettier": "^9.1.0",
43
+ "eslint-plugin-prettier": "^5.1.3",
44
+ "prettier": "^3.2.5",
45
+ "prettier-plugin-organize-imports": "^3.2.4",
46
+ "rimraf": "^5.0.5",
47
+ "typescript": "^5.4.5",
48
+ "typescript-eslint": "^7.7.0"
49
+ },
50
+ "publishConfig": {
51
+ "access": "public"
52
+ },
53
+ "dependencies": {
54
+ "@ckb-ccc/core": "1.3.0",
55
+ "@ckb-ccc/spore": "1.1.0",
56
+ "@ckb-ccc/udt": "0.1.0",
57
+ "@ckb-ccc/ssri": "0.1.0"
58
+ },
59
+ "scripts": {
60
+ "build": "rimraf ./dist && rimraf ./dist.commonjs && tsc && tsc --project tsconfig.commonjs.json && copyfiles -u 2 misc/basedirs/**/* .",
61
+ "lint": "eslint ./src",
62
+ "format": "prettier --write . && eslint --fix ./src"
63
+ }
64
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./advancedBarrel.js";
2
+ export * as cccA from "./advancedBarrel.js";
@@ -0,0 +1,2 @@
1
+ export * from "@ckb-ccc/core/advancedBarrel";
2
+ export { sporeA } from "@ckb-ccc/spore/advanced";
package/src/barrel.ts ADDED
@@ -0,0 +1,4 @@
1
+ export * from "@ckb-ccc/core/barrel";
2
+ export { spore } from "@ckb-ccc/spore";
3
+ export { ssri } from "@ckb-ccc/ssri";
4
+ export { udt } from "@ckb-ccc/udt";
package/src/index.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from "./barrel.js";
2
+ export * as ccc from "./barrel.js";
package/typedoc.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://typedoc.org/schema.json",
3
+ "entryPoints": ["./src/index.ts", "./src/advanced.ts"],
4
+ "extends": ["../../typedoc.base.json"],
5
+ "name": "@ckb-ccc shell"
6
+ }