@offckb/cli 0.3.0-canary-0e33d0a.0 → 0.3.0-canary-9510e8b.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.
@@ -1,11 +1,23 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.loadBareTemplateOpts = void 0;
7
- const option_json_1 = __importDefault(require("./option.json"));
4
+ const templates = [
5
+ {
6
+ name: 'Remix-Vite Bare Templates',
7
+ value: 'remix-vite-template',
8
+ description: 'A full-stack template with Remix-vite and ckb-script-templates',
9
+ tag: ['remix', 'vite', 'tailwindcss', 'ckb-script-templates', 'typescript', 'rust'],
10
+ author: 'retric@cryptape.com',
11
+ },
12
+ {
13
+ name: 'Next.js Bare Templates',
14
+ value: 'next-js-template',
15
+ description: 'A full-stack template with Next.js framework and ckb-script-templates',
16
+ tag: ['next.js', 'tailwindcss', 'ckb-script-templates', 'typescript', 'rust'],
17
+ author: 'retric@cryptape.com',
18
+ },
19
+ ];
8
20
  function loadBareTemplateOpts() {
9
- return option_json_1.default;
21
+ return templates;
10
22
  }
11
23
  exports.loadBareTemplateOpts = loadBareTemplateOpts;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@offckb/cli",
3
- "version": "0.3.0-canary-0e33d0a.0",
3
+ "version": "0.3.0-canary-9510e8b.0",
4
4
  "description": "ckb development network for your first try",
5
5
  "author": "CKB EcoFund",
6
6
  "license": "MIT",
@@ -1,16 +0,0 @@
1
- [
2
- {
3
- "name": "Remix-Vite Bare Templates",
4
- "value": "remix-vite-template",
5
- "description": "A full-stack template with Remix-vite and ckb-script-templates",
6
- "tag": ["remix", "vite", "tailwindcss", "ckb-script-templates", "typescript", "rust"],
7
- "author": "retric@cryptape.com"
8
- },
9
- {
10
- "name": "Next.js Bare Templates",
11
- "value": "next-js-template",
12
- "description": "A full-stack template with Next.js framework and ckb-script-templates",
13
- "tag": ["next.js", "tailwindcss", "ckb-script-templates", "typescript", "rust"],
14
- "author": "retric@cryptape.com"
15
- }
16
- ]