ai-front-base 0.1.7 → 0.1.9

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 CHANGED
@@ -6,13 +6,13 @@
6
6
 
7
7
  ### 开发前必读文档(按顺序)
8
8
 
9
- 1. **[前端规范](src/standards/README.md)** - 必读,了解命名、代码风格、Git规范
10
- 2. **[布局规则](src/layouts/README.md)** - 必读,确定业务系统遵守的布局规则
11
- 3. **[样式主题](src/styles/README.md)** - 必读,选择并配置主题
9
+ 1. **[前端规范](dist/standards/README.md)** - 必读,了解命名、代码风格、Git规范
10
+ 2. **[布局规则](dist/layouts/README.md)** - 必读,确定业务系统遵守的布局规则
11
+ 3. **[样式主题](dist/styles/README.md)** - 必读,选择并配置主题
12
12
 
13
13
  ### 按需阅读
14
14
 
15
- 4. **[组件库](src/components/README.md)** - 查看组件列表,按需查看各组件的types.ts了解用法
15
+ 4. **[组件库](dist/components/README.md)** - 查看组件列表,按需查看各组件的types.ts了解用法
16
16
 
17
17
  ### AI开发流程
18
18
 
package/package.json CHANGED
@@ -1,19 +1,23 @@
1
1
  {
2
2
  "name": "ai-front-base",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "企业级PC端AI组件库 - 基于Vue3和Element Plus",
5
5
  "license": "ISC",
6
6
  "type": "module",
7
- "main": "./index.mjs",
8
- "module": "./index.mjs",
7
+ "main": "./dist/index.mjs",
8
+ "module": "./dist/index.mjs",
9
9
  "exports": {
10
10
  ".": {
11
- "import": "./index.mjs"
11
+ "import": "./dist/index.mjs"
12
12
  },
13
- "./styles": "./styles/index.css"
13
+ "./styles": "./dist/styles/index.css"
14
14
  },
15
15
  "files": [
16
- "dist/*"
16
+ "dist/components",
17
+ "dist/styles",
18
+ "dist/index.mjs",
19
+ "dist/layouts",
20
+ "dist/standards"
17
21
  ],
18
22
  "scripts": {
19
23
  "build": "vite build && node scripts/post-build.mjs",
package/dist/README.md DELETED
@@ -1,63 +0,0 @@
1
- # AI Front Base
2
-
3
- 企业级PC端AI组件库
4
-
5
- ## 🤖 AI开发者必读
6
-
7
- ### 开发前必读文档(按顺序)
8
-
9
- 1. **[前端规范](src/standards/README.md)** - 必读,了解命名、代码风格、Git规范
10
- 2. **[布局规则](src/layouts/README.md)** - 必读,确定业务系统遵守的布局规则
11
- 3. **[样式主题](src/styles/README.md)** - 必读,选择并配置主题
12
-
13
- ### 按需阅读
14
-
15
- 4. **[组件库](src/components/README.md)** - 查看组件列表,按需查看各组件的types.ts了解用法
16
-
17
- ### AI开发流程
18
-
19
- **重要:在开发新页面前,AI必须主动完成以下确认步骤**
20
-
21
- 1. 阅读上述必读文档,了解项目规范
22
- 2. 根据用户需求,明确以下配置:
23
- - **布局规则**:政务系统 / 工会系统 / 其他
24
- - **主题方案**:默认主题 / 自定义主题
25
- 3. 向用户反馈确认信息,格式如下:
26
- ```
27
- 📋 开发配置确认
28
- - 布局规则:政务系统布局
29
- - 主题方案:默认主题
30
-
31
- 请确认以上配置是否正确?
32
- ```
33
- 4. 等待用户确认后,再开始页面开发
34
-
35
- ## 安装
36
-
37
- ```bash
38
- npm install ai-front-base
39
- ```
40
-
41
- ## 快速开始
42
-
43
- ```js
44
- // 1. 引入样式
45
- import 'ai-front-base/styles'
46
-
47
- // 2. 引入组件
48
- import { AiForm, AiTable } from 'ai-front-base'
49
- ```
50
-
51
- ## 技术栈
52
-
53
- - Vue 3 + Composition API
54
- - Element Plus
55
- - TypeScript
56
- - Vite
57
-
58
- ## 开发
59
-
60
- ```bash
61
- pnpm install
62
- pnpm build
63
- ```