@shi_zhen/code-helper 0.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/dist/index.js ADDED
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ getFoo: () => getFoo
24
+ });
25
+ module.exports = __toCommonJS(index_exports);
26
+
27
+ // src/foo.ts
28
+ function getFoo() {
29
+ return "foo";
30
+ }
31
+ // Annotate the CommonJS export names for ESM import in node:
32
+ 0 && (module.exports = {
33
+ getFoo
34
+ });
35
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts","../src/foo.ts"],"sourcesContent":["export * from './foo';\n","export function getFoo() {\n return 'foo';\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,SAAS;AACvB,SAAO;AACT;","names":[]}
package/dist/index.mjs ADDED
@@ -0,0 +1,8 @@
1
+ // src/foo.ts
2
+ function getFoo() {
3
+ return "foo";
4
+ }
5
+ export {
6
+ getFoo
7
+ };
8
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/foo.ts"],"sourcesContent":["export function getFoo() {\n return 'foo';\n}\n"],"mappings":";AAAO,SAAS,SAAS;AACvB,SAAO;AACT;","names":[]}
package/package.json ADDED
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "@shi_zhen/code-helper",
3
+ "version": "0.1.0",
4
+ "description": "Code Helper - A unified tool to manage your Claude Code",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/shirenchuang/code-helper.git"
8
+ },
9
+ "author": "shirenchuang",
10
+ "module": "dist/index.js",
11
+ "typings": "dist/index.d.ts",
12
+ "bin": {
13
+ "ch": "./bin/code-helper.js",
14
+ "code-helper": "./bin/code-helper.js"
15
+ },
16
+ "files": [
17
+ "bin",
18
+ "dist",
19
+ "LEGAL.md"
20
+ ],
21
+ "scripts": {
22
+ "build": "tsup",
23
+ "build:watch": "tsup --watch",
24
+ "dev": "tsup --watch",
25
+ "lint": "eslint src --ext .ts",
26
+ "test": "jest",
27
+ "prepublishOnly": "npm run build"
28
+ },
29
+ "dependencies": {
30
+ "@babel/runtime": "^7.18.0",
31
+ "boxen": "^5.1.2",
32
+ "chalk": "^4.1.2",
33
+ "execa": "^5.1.1",
34
+ "figlet": "^1.7.0",
35
+ "inquirer": "^8.2.6",
36
+ "ora": "^5.4.1"
37
+ },
38
+ "devDependencies": {
39
+ "@types/figlet": "^1.5.8",
40
+ "@types/inquirer": "^8.2.10",
41
+ "@types/node": "^20.0.0",
42
+ "@typescript-eslint/eslint-plugin": "^6.0.0",
43
+ "@typescript-eslint/parser": "^6.0.0",
44
+ "eslint": "^8.0.0",
45
+ "tsup": "^8.0.0",
46
+ "typescript": "^5.0.0"
47
+ },
48
+ "engines": {
49
+ "node": ">=20"
50
+ },
51
+ "keywords": [
52
+ "claude",
53
+ "claude-code",
54
+ "mcp",
55
+ "ai",
56
+ "cli",
57
+ "tools"
58
+ ],
59
+ "license": "MIT"
60
+ }