uniweb 0.2.21 → 0.2.22

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.
Files changed (2) hide show
  1. package/package.json +5 -2
  2. package/src/versions.js +8 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uniweb",
3
- "version": "0.2.21",
3
+ "version": "0.2.22",
4
4
  "description": "Create structured Vite + React sites with content/code separation",
5
5
  "type": "module",
6
6
  "bin": {
@@ -36,6 +36,9 @@
36
36
  "js-yaml": "^4.1.0",
37
37
  "prompts": "^2.4.2",
38
38
  "tar": "^7.0.0",
39
- "@uniweb/build": "0.1.9"
39
+ "@uniweb/core": "0.1.6",
40
+ "@uniweb/build": "0.1.9",
41
+ "@uniweb/runtime": "0.2.3",
42
+ "@uniweb/kit": "0.1.4"
40
43
  }
41
44
  }
package/src/versions.js CHANGED
@@ -63,17 +63,15 @@ export function getResolvedVersions() {
63
63
  const pkg = getCliPackageJson()
64
64
  const deps = { ...pkg.dependencies, ...pkg.devDependencies }
65
65
 
66
+ // All @uniweb/* packages are now direct dependencies of the CLI.
67
+ // When publishing with pnpm, workspace:* gets resolved to actual versions.
68
+ // Fallbacks are only used during local development.
66
69
  resolvedVersions = {
67
- // Direct CLI dependencies - use fallbacks for workspace:* versions
68
- '@uniweb/build': resolveVersionSpec(deps['@uniweb/build'], '^0.1.4'),
69
- '@uniweb/templates': resolveVersionSpec(deps['@uniweb/templates'], '^0.1.6'),
70
-
71
- // These come from @uniweb/build's dependencies, use compatible versions
72
- '@uniweb/runtime': '^0.1.0',
73
- '@uniweb/core': '^0.1.0',
74
-
75
- // Foundation utility library (used by official templates)
76
- '@uniweb/kit': '^0.1.0',
70
+ '@uniweb/build': resolveVersionSpec(deps['@uniweb/build'], '^0.1.0'),
71
+ '@uniweb/core': resolveVersionSpec(deps['@uniweb/core'], '^0.1.0'),
72
+ '@uniweb/kit': resolveVersionSpec(deps['@uniweb/kit'], '^0.1.0'),
73
+ '@uniweb/runtime': resolveVersionSpec(deps['@uniweb/runtime'], '^0.1.0'),
74
+ '@uniweb/templates': resolveVersionSpec(deps['@uniweb/templates'], '^0.1.0'),
77
75
 
78
76
  // CLI itself (use current version)
79
77
  'uniweb': `^${pkg.version}`,