chore: bump all packages to 0.4.0, fix exports for publish
- All @uncaged/* packages → 0.4.0 - Internal deps: workspace:* → workspace:^ (resolves to ^0.4.0 on publish) - Fix exports: add 'bun' condition for local dev (src), 'import' for consumers (dist) - Remove stale 'main: src/index.ts' from 6 packages - Fix publish.sh topo sort to match workspace:^ prefix 星月 <xingyue@shazhou.work>
This commit is contained in:
+1
-1
@@ -86,7 +86,7 @@ for name, dirname in name_to_dir.items():
|
||||
local_deps = set()
|
||||
for section in ('dependencies', 'devDependencies', 'peerDependencies'):
|
||||
for dep, ver in data.get(section, {}).items():
|
||||
if dep.startswith('@uncaged/') and dep in name_to_dir and ver == 'workspace:*':
|
||||
if dep.startswith('@uncaged/') and dep in name_to_dir and ver.startswith('workspace:'):
|
||||
local_deps.add(dep)
|
||||
deps_graph[name] = local_deps
|
||||
|
||||
|
||||
Reference in New Issue
Block a user