@loviusc/sa-spec 0.2.1 → 0.2.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/README.en.md +155 -0
- package/README.ja.md +143 -0
- package/README.ko.md +143 -0
- package/README.zh-CN.md +143 -0
- package/README.zh-TW.md +767 -0
- package/package.json +13 -3
- package/readme.md +44 -1
- package/templates/readme.md +44 -1
package/package.json
CHANGED
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loviusc/sa-spec",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Personal system analysis documentation workspace CLI",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
7
7
|
"registry": "https://registry.npmjs.org/"
|
|
8
8
|
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/lovius215/ai_spec.git"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://github.com/lovius215/ai_spec#readme",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/lovius215/ai_spec/issues"
|
|
16
|
+
},
|
|
9
17
|
"bin": {
|
|
10
18
|
"sa-spec": "bin/sa-spec.js"
|
|
11
19
|
},
|
|
@@ -13,7 +21,8 @@
|
|
|
13
21
|
"bin/",
|
|
14
22
|
"src/",
|
|
15
23
|
"templates/",
|
|
16
|
-
"readme.md"
|
|
24
|
+
"readme.md",
|
|
25
|
+
"README*.md"
|
|
17
26
|
],
|
|
18
27
|
"scripts": {
|
|
19
28
|
"check": "node --check src/cli.js && node --check bin/sa-spec.js"
|
|
@@ -22,7 +31,8 @@
|
|
|
22
31
|
"system-analysis",
|
|
23
32
|
"requirements",
|
|
24
33
|
"srs",
|
|
25
|
-
"documentation"
|
|
34
|
+
"documentation",
|
|
35
|
+
"i18n"
|
|
26
36
|
],
|
|
27
37
|
"license": "MIT"
|
|
28
38
|
}
|
package/readme.md
CHANGED
|
@@ -1,4 +1,41 @@
|
|
|
1
|
-
# 個人系統分析 AI 工作台
|
|
1
|
+
# 個人系統分析 AI 工作台 / System Analysis AI Workspace
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@loviusc/sa-spec)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
|
|
6
|
+
> A lightweight system analysis documentation workspace CLI that turns ideas into verifiable, auditable, and conflict-checked specifications for AI-driven development.
|
|
7
|
+
> 輕量級系統分析文件工作台,用固定流程把需求想法整理成可確認、可歸檔、可檢查的規格文件。
|
|
8
|
+
|
|
9
|
+
<p align="center">
|
|
10
|
+
<b>🌐 Languages:</b>
|
|
11
|
+
<a href="./README.en.md"><b>English</b></a> |
|
|
12
|
+
<a href="./README.zh-TW.md"><b>繁體中文</b></a> |
|
|
13
|
+
<a href="./README.zh-CN.md"><b>简体中文</b></a> |
|
|
14
|
+
<a href="./README.ja.md"><b>日本語</b></a> |
|
|
15
|
+
<a href="./README.ko.md"><b>한국어</b></a>
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
### Quick Start (English)
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# Global installation via npm
|
|
24
|
+
npm install -g @loviusc/sa-spec
|
|
25
|
+
|
|
26
|
+
# Initialize project with English specification rules
|
|
27
|
+
sa-spec init --full --lang en
|
|
28
|
+
|
|
29
|
+
# Create a feature draft branch
|
|
30
|
+
sa-spec new --name cart-checkout --branch
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**Core AI Workflow in VS Code:**
|
|
34
|
+
`spec:init (sci)` $\to$ `spec:propose (scp)` $\to$ `spec:analyze (sca)` $\to$ `spec:commit (scc)`
|
|
35
|
+
|
|
36
|
+
👉 **Read full English documentation: [README.en.md](./README.en.md)**
|
|
37
|
+
|
|
38
|
+
---
|
|
2
39
|
|
|
3
40
|
`sa-spec` 是一個輕量的系統分析文件工作台,用固定流程把需求想法整理成可確認、可歸檔、可檢查的文件。
|
|
4
41
|
|
|
@@ -681,6 +718,12 @@ git push origin master
|
|
|
681
718
|
|
|
682
719
|
## 更新紀錄
|
|
683
720
|
|
|
721
|
+
### v0.2.2
|
|
722
|
+
- **npm 首頁與專案文件全多語系化(Multi-Language Documentation on npm)**:
|
|
723
|
+
- **5 國獨立完整說明文件**:新增 `README.en.md`(英文)、`README.zh-CN.md`(簡中)、`README.ja.md`(日文)、`README.ko.md`(韓文)與 `README.zh-TW.md`(繁中)。
|
|
724
|
+
- **npm 國際化首頁最佳化**:在主 `readme.md` 頂部加入醒目的 5 語系導覽切換列與英文 Quick Start 區塊,全球開發者造訪 npm 頁面時能秒懂工具用途與使用方式。
|
|
725
|
+
- **npm 發布配置補全**:在 `package.json` 補充 `repository`、`homepage` 與 `bugs` 欄位,確保 npm 頁面上的多語系相對連結能自動正確導向 GitHub。
|
|
726
|
+
|
|
684
727
|
### v0.2.1
|
|
685
728
|
- **5 國語言與國際化支援(i18n)**:
|
|
686
729
|
- **支援語系**:繁體中文 (`zh-TW`,台灣常用語)、英文 (`en`)、簡體中文 (`zh-CN`)、日文 (`ja`)、韓文 (`ko`)。
|
package/templates/readme.md
CHANGED
|
@@ -1,4 +1,41 @@
|
|
|
1
|
-
# 個人系統分析 AI 工作台
|
|
1
|
+
# 個人系統分析 AI 工作台 / System Analysis AI Workspace
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@loviusc/sa-spec)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
|
|
6
|
+
> A lightweight system analysis documentation workspace CLI that turns ideas into verifiable, auditable, and conflict-checked specifications for AI-driven development.
|
|
7
|
+
> 輕量級系統分析文件工作台,用固定流程把需求想法整理成可確認、可歸檔、可檢查的規格文件。
|
|
8
|
+
|
|
9
|
+
<p align="center">
|
|
10
|
+
<b>🌐 Languages:</b>
|
|
11
|
+
<a href="./README.en.md"><b>English</b></a> |
|
|
12
|
+
<a href="./README.zh-TW.md"><b>繁體中文</b></a> |
|
|
13
|
+
<a href="./README.zh-CN.md"><b>简体中文</b></a> |
|
|
14
|
+
<a href="./README.ja.md"><b>日本語</b></a> |
|
|
15
|
+
<a href="./README.ko.md"><b>한국어</b></a>
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
### Quick Start (English)
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# Global installation via npm
|
|
24
|
+
npm install -g @loviusc/sa-spec
|
|
25
|
+
|
|
26
|
+
# Initialize project with English specification rules
|
|
27
|
+
sa-spec init --full --lang en
|
|
28
|
+
|
|
29
|
+
# Create a feature draft branch
|
|
30
|
+
sa-spec new --name cart-checkout --branch
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**Core AI Workflow in VS Code:**
|
|
34
|
+
`spec:init (sci)` $\to$ `spec:propose (scp)` $\to$ `spec:analyze (sca)` $\to$ `spec:commit (scc)`
|
|
35
|
+
|
|
36
|
+
👉 **Read full English documentation: [README.en.md](./README.en.md)**
|
|
37
|
+
|
|
38
|
+
---
|
|
2
39
|
|
|
3
40
|
`sa-spec` 是一個輕量的系統分析文件工作台,用固定流程把需求想法整理成可確認、可歸檔、可檢查的文件。
|
|
4
41
|
|
|
@@ -681,6 +718,12 @@ git push origin master
|
|
|
681
718
|
|
|
682
719
|
## 更新紀錄
|
|
683
720
|
|
|
721
|
+
### v0.2.2
|
|
722
|
+
- **npm 首頁與專案文件全多語系化(Multi-Language Documentation on npm)**:
|
|
723
|
+
- **5 國獨立完整說明文件**:新增 `README.en.md`(英文)、`README.zh-CN.md`(簡中)、`README.ja.md`(日文)、`README.ko.md`(韓文)與 `README.zh-TW.md`(繁中)。
|
|
724
|
+
- **npm 國際化首頁最佳化**:在主 `readme.md` 頂部加入醒目的 5 語系導覽切換列與英文 Quick Start 區塊,全球開發者造訪 npm 頁面時能秒懂工具用途與使用方式。
|
|
725
|
+
- **npm 發布配置補全**:在 `package.json` 補充 `repository`、`homepage` 與 `bugs` 欄位,確保 npm 頁面上的多語系相對連結能自動正確導向 GitHub。
|
|
726
|
+
|
|
684
727
|
### v0.2.1
|
|
685
728
|
- **5 國語言與國際化支援(i18n)**:
|
|
686
729
|
- **支援語系**:繁體中文 (`zh-TW`,台灣常用語)、英文 (`en`)、簡體中文 (`zh-CN`)、日文 (`ja`)、韓文 (`ko`)。
|