fix: replace workspace:^ deps with real versions + merge cli global store path

- All packages bumped to 0.1.3 via changesets (fixed group)
- Replace workspace:^ with ^0.1.x in json-cas-fs, json-cas-workflow, cli-json-cas
- Merge PR #8: cli default store path → ~/.uncaged/json-cas/

Co-authored-by: 星月 🌙 (SORA Team)
小橘 🍊(NEKO Team)
This commit is contained in:
2026-05-18 10:47:12 +00:00
10 changed files with 47 additions and 13 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
"changelog": "@changesets/changelog-github",
"changelog": ["@changesets/changelog-github", { "repo": "uncaged/json-cas" }],
"commit": false,
"fixed": [["@uncaged/*"]],
"linked": [],
+11
View File
@@ -0,0 +1,11 @@
# @uncaged/cli-json-cas
## 0.1.3
### Patch Changes
- fix: replace workspace:^ with actual version numbers in published dependencies
- Updated dependencies []:
- @uncaged/json-cas@0.1.3
- @uncaged/json-cas-fs@0.1.3
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@uncaged/cli-json-cas",
"version": "0.1.1",
"version": "0.1.3",
"type": "module",
"bin": {
"json-cas": "./src/index.ts"
@@ -9,7 +9,7 @@
"test": "bun test"
},
"dependencies": {
"@uncaged/json-cas": "workspace:^",
"@uncaged/json-cas-fs": "workspace:^"
"@uncaged/json-cas": "^0.1.3",
"@uncaged/json-cas-fs": "^0.1.3"
}
}
+6 -4
View File
@@ -1,7 +1,8 @@
#!/usr/bin/env bun
import { mkdirSync, readFileSync } from "node:fs";
import { resolve } from "node:path";
import { join, resolve } from "node:path";
import { homedir } from "node:os";
import type { Hash, JSONSchema, Store } from "@uncaged/json-cas";
import {
bootstrap,
@@ -51,7 +52,8 @@ function parseArgs(argv: string[]): { flags: Flags; positional: string[] } {
const { flags, positional } = parseArgs(process.argv.slice(2));
const storePath = typeof flags.store === "string" ? flags.store : ".cas";
const defaultStorePath = join(homedir(), ".uncaged", "json-cas");
const storePath = typeof flags.store === "string" ? flags.store : defaultStorePath;
const compact = flags.json === true;
// ---- Helpers ----
@@ -259,7 +261,7 @@ function printUsage(): void {
Usage: json-cas [--store <path>] [--json] <command> [args]
Commands:
init Create .cas/ and write bootstrap seed
init Create store dir and write bootstrap seed
bootstrap Write meta-schema seed, print hash
schema put <file.json> Register schema, print type hash
schema get <type-hash> Print schema JSON
@@ -276,7 +278,7 @@ Commands:
cat <hash> [--payload] Output node (--payload for payload only)
Flags:
--store <path> Store directory (default: .cas)
--store <path> Store directory (default: ~/.uncaged/json-cas)
--json Compact JSON output`);
}
+8
View File
@@ -0,0 +1,8 @@
# @uncaged/json-cas-fs
## 0.1.3
### Patch Changes
- Updated dependencies []:
- @uncaged/json-cas@0.1.3
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@uncaged/json-cas-fs",
"version": "0.1.2",
"version": "0.1.3",
"type": "module",
"main": "./src/index.ts",
"exports": {
@@ -10,7 +10,7 @@
"test": "bun test"
},
"dependencies": {
"@uncaged/json-cas": "^0.1.1",
"@uncaged/json-cas": "^0.1.3",
"cborg": "^4.2.3"
}
}
+10
View File
@@ -0,0 +1,10 @@
# @uncaged/json-cas-workflow
## 0.1.3
### Patch Changes
- fix: replace workspace:^ with actual version numbers in published dependencies
- Updated dependencies []:
- @uncaged/json-cas@0.1.3
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@uncaged/json-cas-workflow",
"version": "0.1.1",
"version": "0.1.3",
"type": "module",
"main": "./src/index.ts",
"exports": {
@@ -10,6 +10,6 @@
"test": "bun test"
},
"dependencies": {
"@uncaged/json-cas": "workspace:^"
"@uncaged/json-cas": "^0.1.3"
}
}
+3
View File
@@ -0,0 +1,3 @@
# @uncaged/json-cas
## 0.1.3
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@uncaged/json-cas",
"version": "0.1.1",
"version": "0.1.3",
"type": "module",
"main": "./src/index.ts",
"exports": {