@tnotesjs/core 0.1.7 → 0.1.10
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 +3 -3
- package/dist/{chunk-H2NACWVJ.js → chunk-IGIIUJDF.js} +73 -479
- package/dist/{chunk-UIXF3LPU.js → chunk-NASIL5FY.js} +0 -28
- package/dist/cli/index.js +6 -220
- package/dist/index.js +1 -1
- package/dist/vitepress/config/index.js +10 -108
- package/package.json +4 -3
- package/types/shims.d.ts +10 -0
- package/vitepress/config/index.ts +6 -0
package/README.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
#
|
|
1
|
+
# tnotesjs/core
|
|
2
2
|
|
|
3
3
|
TNotes 知识库系统的核心共享脚本,通过 Git Submodule 被所有 [TNotes.xxx](https://github.com/orgs/tnotesjs/repositories) 知识库引用。
|
|
4
4
|
|
|
5
5
|
## 简介
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
tnotesjs/core 包含了 TNotes 知识库系统的 CLI 命令、VitePress 主题/插件、服务层、工具函数等核心代码。各 TNotes.xxx 仓库不再各自拷贝脚本,而是统一以 Git Submodule 的形式引用本仓库,挂载到 `.vitepress/tnotes/` 路径下。
|
|
8
8
|
|
|
9
9
|
## 目录结构
|
|
10
10
|
|
|
11
11
|
```
|
|
12
|
-
|
|
12
|
+
tnotesjs/core/
|
|
13
13
|
├── commands/ # CLI 命令(dev、build、push、update 等)
|
|
14
14
|
├── config/ # 配置管理(ConfigManager、默认配置、模板)
|
|
15
15
|
├── core/ # 核心模块(GitManager、NoteManager、ReadmeGenerator 等)
|