jixo 0.10.0 → 0.10.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.
Files changed (2) hide show
  1. package/README.md +24 -9
  2. package/package.json +7 -5
package/README.md CHANGED
@@ -4,20 +4,35 @@ AI 工具集、助手
4
4
 
5
5
  查看 [@jixo/cli](https://www.npmjs.com/package/@jixo/cli) 来进行使用
6
6
 
7
- ## Dev
7
+ ## Build & Dev
8
8
 
9
9
  需要打开3个终端执行三个监听任务
10
10
 
11
- ```shell
12
- # 编译出 js 代码
13
- pnpm dev
11
+ 1. **Build**
14
12
 
15
- # 打包资源文件
16
- cd packages/cli && pnpm gen-prompts --watch
13
+ ```shell
14
+ # 打包资源文件
15
+ pnpm bundle:json
17
16
 
18
- # 代码和资源打包
19
- pnpm build2 --watch
20
- ```
17
+ # 编译出 js 代码
18
+ pnpm build
19
+
20
+ # 打包 nodejs 程序
21
+ pnpm bundle:js
22
+ ```
23
+
24
+ 1. **Dev**
25
+
26
+ ```shell
27
+ # 打包资源文件
28
+ pnpm bundle:json --watch
29
+
30
+ # 编译出 js 代码
31
+ pnpm build --watch
32
+
33
+ # 打包 nodejs 程序
34
+ pnpm bundle:js --watch
35
+ ```
21
36
 
22
37
  然后就可以执行命令了
23
38
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jixo",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "The AI-Driven Development Foundation for Automated Software Engineering",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "license": "MIT",
24
24
  "dependencies": {
25
- "@jixo/cli": "^0.10.0"
25
+ "@jixo/cli": "^0.10.1"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@gaubee/node": "^0.2.1",
@@ -40,10 +40,12 @@
40
40
  "typescript": "^5.8.3"
41
41
  },
42
42
  "scripts": {
43
+ "ci": "echo \"NO CI\"",
44
+ "test": "pnpm jixo --help",
43
45
  "pub": "pnpm publish --access public --no-git-checks -r",
44
- "dev": "tsc --build --watch",
45
- "build": "rolldown -c ./rolldown.config.mts",
46
- "build2": "esbuild ./index.ts --format=cjs --outfile=./bundle/index.cjs --platform=node",
46
+ "build": "tsc --build",
47
+ "bundle:json": "cd packages/cli && pnpm gen-prompts",
48
+ "bundle:js": "esbuild ./index.ts --format=cjs --outfile=./bundle/index.cjs --platform=node",
47
49
  "files-to-prompt": "node ./scripts/files-to-prompt.ts",
48
50
  "jixo": "node bundle/index.cjs"
49
51
  }