@spaceflow/core 0.1.1 → 0.1.2
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/CHANGELOG.md +21 -0
- package/README.md +9 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.1](https://github.com/Lydanne/spaceflow/compare/@spaceflow/core@0.1.0...@spaceflow/core@0.1.1) (2026-02-15)
|
|
4
|
+
|
|
5
|
+
### 代码重构
|
|
6
|
+
|
|
7
|
+
* 优化插件发现机制,支持动态解析扩展目录 ([31d6ff9](https://github.com/Lydanne/spaceflow/commit/31d6ff9f306b28607994ad50b9e40d550f3a646b))
|
|
8
|
+
* 统一术语,将 skill 重命名为 extension ([cdf0736](https://github.com/Lydanne/spaceflow/commit/cdf073630708875cb814a555d407393c075fbff1))
|
|
9
|
+
* 调整项目目录结构,统一包管理规范 ([5f89adb](https://github.com/Lydanne/spaceflow/commit/5f89adbb17b40ebe8bdd045a85c4c337fa385c43))
|
|
10
|
+
|
|
11
|
+
### 文档更新
|
|
12
|
+
|
|
13
|
+
* 重写 README 并添加各插件文档 ([066b10a](https://github.com/Lydanne/spaceflow/commit/066b10acb869de30e3af0ece59ab5d81ec78d668))
|
|
14
|
+
|
|
15
|
+
### 其他修改
|
|
16
|
+
|
|
17
|
+
* 为所有包添加 npm 公开发布配置 ([b9d2dcc](https://github.com/Lydanne/spaceflow/commit/b9d2dccd8e7bd4a74f6f0db83ee68dfb892b2d51))
|
|
18
|
+
* 优化 GitHub Actions 工作流和 npm 发布配置 ([7ae7cc5](https://github.com/Lydanne/spaceflow/commit/7ae7cc51ff0c865527f2b835bfaf26227372fd36))
|
|
19
|
+
* 初始化仓库 ([08d011d](https://github.com/Lydanne/spaceflow/commit/08d011d63f1852ecd9ae47425e743f4eb55fceb3))
|
|
20
|
+
* 添加 release-it-gitea 依赖 ([9c5d5d6](https://github.com/Lydanne/spaceflow/commit/9c5d5d6a56de621a8bff9cb2b3c29c6e0843b98b))
|
|
21
|
+
* 添加文档部署工作流并更新配置 ([0cc52fd](https://github.com/Lydanne/spaceflow/commit/0cc52fdef24f4d8696d0601cd001f6d470291ecc))
|
|
22
|
+
* 移除 administration 权限并禁用分支锁定 ([cc51fa5](https://github.com/Lydanne/spaceflow/commit/cc51fa50d20159ee4fd273560364ee945213018c))
|
|
23
|
+
|
|
3
24
|
## [0.1.0](https://git.bjxgj.com/xgj/spaceflow/compare/v1.1.0...@spaceflow/core@0.1.0) (2026-02-15)
|
|
4
25
|
|
|
5
26
|
### 新特性
|
package/README.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
# @spaceflow/core
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@spaceflow/core)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
|
|
6
|
+
> Spaceflow 核心能力库,提供共享模块、扩展系统基础设施和平台适配层。
|
|
4
7
|
|
|
5
8
|
## 安装
|
|
6
9
|
|
|
@@ -10,7 +13,7 @@ pnpm add @spaceflow/core
|
|
|
10
13
|
|
|
11
14
|
## 共享模块
|
|
12
15
|
|
|
13
|
-
|
|
16
|
+
核心库导出以下共享模块,供扩展开发使用:
|
|
14
17
|
|
|
15
18
|
| 模块 | 导入路径 | 说明 |
|
|
16
19
|
| ----------------- | --------------------------------- | ----------------------------------------- |
|
|
@@ -28,7 +31,7 @@ pnpm add @spaceflow/core
|
|
|
28
31
|
| `package-manager` | `@spaceflow/core/package-manager` | 包管理器抽象 |
|
|
29
32
|
| `rspack-config` | `@spaceflow/core/rspack-config` | Rspack 构建配置 |
|
|
30
33
|
|
|
31
|
-
##
|
|
34
|
+
## 快速上手
|
|
32
35
|
|
|
33
36
|
```typescript
|
|
34
37
|
import {
|
|
@@ -53,7 +56,7 @@ import {
|
|
|
53
56
|
core/
|
|
54
57
|
├── src/
|
|
55
58
|
│ ├── config/ # 配置管理(Zod Schema)
|
|
56
|
-
│ ├── extension-system/ #
|
|
59
|
+
│ ├── extension-system/ # 扩展系统核心
|
|
57
60
|
│ ├── locales/ # 国际化资源(i18next)
|
|
58
61
|
│ ├── shared/ # 共享模块
|
|
59
62
|
│ │ ├── git-provider/ # Git 平台适配器
|
|
@@ -95,11 +98,11 @@ pnpm run format
|
|
|
95
98
|
|
|
96
99
|
- **NestJS** — 依赖注入框架
|
|
97
100
|
- **nest-commander** — CLI 命令框架
|
|
98
|
-
- **
|
|
101
|
+
- **Rspack** — 构建工具
|
|
99
102
|
- **i18next** — 国际化
|
|
100
103
|
- **Zod** — 配置校验
|
|
101
104
|
- **TypeScript** — 类型系统
|
|
102
105
|
|
|
103
106
|
## 许可证
|
|
104
107
|
|
|
105
|
-
[MIT](
|
|
108
|
+
[MIT](../../LICENSE)
|