@lyjkfz/customer-cli 0.0.1
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/README.md +60 -0
- package/bin/index.js +6 -0
- package/dist/index.js +20414 -0
- package/dist/src/command/create.d.ts +9 -0
- package/dist/src/command/create.d.ts.map +1 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/utils/clone.d.ts +2 -0
- package/dist/src/utils/clone.d.ts.map +1 -0
- package/package.json +47 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface TemplateInfo {
|
|
2
|
+
name: string;
|
|
3
|
+
downloadUrl: string;
|
|
4
|
+
description: string;
|
|
5
|
+
branch: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const templateLists: Map<string, TemplateInfo>;
|
|
8
|
+
export declare function create(dirName?: string): Promise<void>;
|
|
9
|
+
//# sourceMappingURL=create.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/command/create.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,YAAY;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAmBlD,CAAA;AACF,wBAAsB,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,iBA0C5C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clone.d.ts","sourceRoot":"","sources":["../../../src/utils/clone.ts"],"names":[],"mappings":"AAyBA,eAAO,MAAM,KAAK,GAAU,KAAK,MAAM,EAAE,SAAS,MAAM,EAAE,SAAS,MAAM,EAAE,kBAa1E,CAAA"}
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@lyjkfz/customer-cli",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "一个基于rollup打包的cli工具",
|
|
5
|
+
"main": "index.ts",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "rollup -c rollup.config.js --bundleConfigAsCjs"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"cli",
|
|
11
|
+
"rollup",
|
|
12
|
+
"typescript",
|
|
13
|
+
"customer-cli"
|
|
14
|
+
],
|
|
15
|
+
"bin": {
|
|
16
|
+
"customer-cli": "bin/index.js"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"bin",
|
|
21
|
+
"README.md"
|
|
22
|
+
],
|
|
23
|
+
"author": "lyjkfz",
|
|
24
|
+
"license": "ISC",
|
|
25
|
+
"packageManager": "pnpm@10.19.0",
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
28
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
29
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
30
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
31
|
+
"rollup-plugin-node-externals": "^5.1.3",
|
|
32
|
+
"rollup-plugin-typescript2": "^0.36.0"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@inquirer/prompts": "^8.2.0",
|
|
36
|
+
"@types/fs-extra": "^11.0.4",
|
|
37
|
+
"@types/node": "^25.2.3",
|
|
38
|
+
"chalk": "^5.6.2",
|
|
39
|
+
"commander": "^14.0.3",
|
|
40
|
+
"fs-extra": "^11.3.3",
|
|
41
|
+
"log-symbols": "^7.0.1",
|
|
42
|
+
"ora": "^9.3.0",
|
|
43
|
+
"progress-estimator": "^0.3.1",
|
|
44
|
+
"rollup": "^4.57.1",
|
|
45
|
+
"simple-git": "^3.31.1"
|
|
46
|
+
}
|
|
47
|
+
}
|