Skip to content

Commit d9b817e

Browse files
authored
✨ infra: add unified packagejson and restore proper dependencies (#23)
* ✨ infra: add com.soobak.algo.search package and update import method to use Git path parameters * 🔧 infra: remove cross-package dependencies to fix UPM import issues * 🔧 infra: fix UniTask dependency format to use SemVer version * ✨ infra: add unified package.json and restore proper dependencies for UPM compatibility
1 parent ac782c7 commit d9b817e

2 files changed

Lines changed: 33 additions & 2 deletions

File tree

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@ Reusable Unity 6 algorithm pipeline. `com.soobak.algo.core` defines execution pr
1818
3. Consumers either pass an `ISortingAlgorithm` directly or call `ExecuteAsync("quick-sort", state, token)`.
1919
4. Each step broadcasts a cloned `SortingState` and a `SortOp` event so visualizers receive immutable snapshots.
2020

21-
## Usage
22-
1. Add Git UPM dependencies using path parameters.
21+
1. Add the complete package from Git URL:
22+
```
23+
https://github.com/soo-bak/soobak-algo-core.git
24+
```
25+
26+
2. Or add individual packages using path parameters:
2327
```json
2428
{
2529
"dependencies": {

package.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "com.soobak.algo",
3+
"displayName": "Soobak Algorithm Packages",
4+
"description": "Complete algorithm visualization package including core, sorting, and search modules.",
5+
"version": "0.1.0",
6+
"unity": "6000.0",
7+
"author": {
8+
"name": "Soobak",
9+
"email": "contact@soobakwalkway.com"
10+
},
11+
"keywords": [
12+
"algorithm",
13+
"sorting",
14+
"search",
15+
"visualization"
16+
],
17+
"dependencies": {
18+
"com.cysharp.unitask": "https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask#2.5.3"
19+
},
20+
"samples": [
21+
{
22+
"path": "Packages/com.soobak.algo.sorting/Samples~/SortingVisualizerDemo",
23+
"description": "Cube-based visualizer that runs SortingRunner against algorithms from the catalog.",
24+
"displayName": "Sorting Visualizer Demo"
25+
}
26+
]
27+
}

0 commit comments

Comments
 (0)