kutuo-d1-max-wanwei 1.0.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/README.md ADDED
@@ -0,0 +1,21 @@
1
+ # kutuo-d1-max-wanwei
2
+
3
+ 万维适配酷拓D1Max机器人
4
+
5
+ ## 安装
6
+
7
+ ```bash
8
+ npm install kutuo-d1-max-wanwei
9
+ ```
10
+
11
+ ## 使用
12
+
13
+ ## 开发
14
+
15
+ ```bash
16
+ npm run dev # 监听模式构建
17
+ npm run build # 构建到 dist/
18
+ npm run typecheck # 类型检查
19
+ ```
20
+
21
+ 发布:`npm publish`(发布前会自动执行 `prepublishOnly` 构建)。
package/dist/index.cjs ADDED
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ // src/greet.ts
4
+ function greet(name) {
5
+ return `Hello, ${name}!`;
6
+ }
7
+
8
+ exports.greet = greet;
9
+ //# sourceMappingURL=index.cjs.map
10
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/greet.ts"],"names":[],"mappings":";;;AAAO,SAAS,MAAM,IAAA,EAAsB;AAC1C,EAAA,OAAO,UAAU,IAAI,CAAA,CAAA,CAAA;AACvB","file":"index.cjs","sourcesContent":["export function greet(name: string): string {\n return `Hello, ${name}!`\n}\n"]}
@@ -0,0 +1,3 @@
1
+ declare function greet(name: string): string;
2
+
3
+ export { greet };
@@ -0,0 +1,3 @@
1
+ declare function greet(name: string): string;
2
+
3
+ export { greet };
package/dist/index.js ADDED
@@ -0,0 +1,8 @@
1
+ // src/greet.ts
2
+ function greet(name) {
3
+ return `Hello, ${name}!`;
4
+ }
5
+
6
+ export { greet };
7
+ //# sourceMappingURL=index.js.map
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/greet.ts"],"names":[],"mappings":";AAAO,SAAS,MAAM,IAAA,EAAsB;AAC1C,EAAA,OAAO,UAAU,IAAI,CAAA,CAAA,CAAA;AACvB","file":"index.js","sourcesContent":["export function greet(name: string): string {\n return `Hello, ${name}!`\n}\n"]}
package/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "kutuo-d1-max-wanwei",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": {
12
+ "types": "./dist/index.d.ts",
13
+ "default": "./dist/index.js"
14
+ },
15
+ "require": {
16
+ "types": "./dist/index.d.cts",
17
+ "default": "./dist/index.cjs"
18
+ }
19
+ },
20
+ "./package.json": "./package.json"
21
+ },
22
+ "files": [
23
+ "dist"
24
+ ],
25
+ "sideEffects": false,
26
+ "scripts": {
27
+ "build": "tsup",
28
+ "dev": "tsup --watch",
29
+ "typecheck": "tsc --noEmit",
30
+ "prepublishOnly": "npm run build"
31
+ },
32
+ "keywords": [],
33
+ "author": "",
34
+ "license": "ISC",
35
+ "devDependencies": {
36
+ "tsup": "^8.5.1",
37
+ "typescript": "^5.9.3"
38
+ }
39
+ }