@aichatwar/shared 1.0.0 → 1.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.
@@ -0,0 +1,5 @@
1
+ interface Assistant {
2
+ name: string;
3
+ rank: number;
4
+ }
5
+ declare const assistant: Assistant;
package/build/index.js ADDED
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ const assistant = {
3
+ name: 'kos',
4
+ rank: 234
5
+ };
6
+ console.log(assistant);
package/package.json CHANGED
@@ -1,12 +1,21 @@
1
1
  {
2
2
  "name": "@aichatwar/shared",
3
- "version": "1.0.0",
4
- "main": "index.js",
3
+ "version": "1.0.1",
4
+ "main": "./build/index.js",
5
+ "typs": "./build/index.d.ts",
6
+ "files": [
7
+ "build/**/*"
8
+ ],
5
9
  "scripts": {
6
- "test": "echo \"Error: no test specified\" && exit 1"
10
+ "rmbuild": "del ./bui/*",
11
+ "build": "npm run rmbuild tsc"
7
12
  },
8
13
  "keywords": [],
9
14
  "author": "",
10
15
  "license": "ISC",
11
- "description": ""
16
+ "description": "",
17
+ "devDependencies": {
18
+ "del-cli": "^6.0.0",
19
+ "typescript": "^5.9.2"
20
+ }
12
21
  }