Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,21 @@ bun run test
bun run test:coverage
```

### Dependency version policy

Generated user projects must use publishable dependency ranges for `@holo-js/*` packages, for example `^0.1.4`.
Do not scaffold `workspace:*` into user apps.

Committed apps under `apps/` are repo examples and test fixtures. They must use `workspace:*` for local
`@holo-js/*` packages so app validation runs against the current workspace code. They must also use `catalog:` for
dependencies that exist in the root workspace catalog.

CLI dependency sync must preserve the app's existing Holo dependency mode. If an app already uses `workspace:*` for
any `@holo-js/*` package, newly managed `@holo-js/*` packages must also use `workspace:*`; otherwise they must use the
current publishable Holo range.

This policy is enforced by `scripts/validate-dependency-version-policy.mjs`, which runs as part of `bun run test`.

For docs work:

```bash
Expand Down
54 changes: 27 additions & 27 deletions apps/blog-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,42 +17,42 @@
},
"dependencies": {
"@holo-js/adapter-next": "workspace:*",
"@holo-js/auth": "^0.1.4",
"@holo-js/auth-clerk": "^0.1.4",
"@holo-js/auth-social": "^0.1.4",
"@holo-js/auth-social-github": "^0.1.4",
"@holo-js/auth-social-google": "^0.1.4",
"@holo-js/auth-workos": "^0.1.4",
"@holo-js/authorization": "^0.1.4",
"@holo-js/broadcast": "^0.1.4",
"@holo-js/cache": "^0.1.4",
"@holo-js/cache-db": "^0.1.4",
"@holo-js/auth": "workspace:*",
"@holo-js/auth-clerk": "workspace:*",
"@holo-js/auth-social": "workspace:*",
"@holo-js/auth-social-github": "workspace:*",
"@holo-js/auth-social-google": "workspace:*",
"@holo-js/auth-workos": "workspace:*",
"@holo-js/authorization": "workspace:*",
"@holo-js/broadcast": "workspace:*",
"@holo-js/cache": "workspace:*",
"@holo-js/cache-db": "workspace:*",
"@holo-js/cli": "workspace:*",
"@holo-js/config": "workspace:*",
"@holo-js/core": "^0.1.4",
"@holo-js/core": "workspace:*",
"@holo-js/db": "workspace:*",
"@holo-js/db-sqlite": "^0.1.4",
"@holo-js/events": "^0.1.4",
"@holo-js/db-sqlite": "workspace:*",
"@holo-js/events": "workspace:*",
"@holo-js/flux": "workspace:*",
"@holo-js/flux-react": "workspace:*",
"@holo-js/forms": "workspace:*",
"@holo-js/mail": "^0.1.4",
"@holo-js/notifications": "^0.1.4",
"@holo-js/queue": "^0.1.4",
"@holo-js/queue-db": "^0.1.4",
"@holo-js/security": "^0.1.4",
"@holo-js/session": "^0.1.4",
"@holo-js/storage": "^0.1.4",
"@holo-js/mail": "workspace:*",
"@holo-js/notifications": "workspace:*",
"@holo-js/queue": "workspace:*",
"@holo-js/queue-db": "workspace:*",
"@holo-js/security": "workspace:*",
"@holo-js/session": "workspace:*",
"@holo-js/storage": "workspace:*",
"@holo-js/validation": "workspace:*",
"esbuild": "^0.25.0",
"esbuild": "catalog:",
"next": "catalog:",
"react": "^19.0.0",
"react-dom": "^19.0.0"
"react": "catalog:",
"react-dom": "catalog:"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"typescript": "^5.8.0"
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"typescript": "catalog:"
}
}
52 changes: 26 additions & 26 deletions apps/blog-nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,41 +18,41 @@
},
"dependencies": {
"@holo-js/adapter-nuxt": "workspace:*",
"@holo-js/auth": "^0.1.4",
"@holo-js/auth-clerk": "^0.1.4",
"@holo-js/auth-social": "^0.1.4",
"@holo-js/auth-social-github": "^0.1.4",
"@holo-js/auth-social-google": "^0.1.4",
"@holo-js/auth-workos": "^0.1.4",
"@holo-js/authorization": "^0.1.4",
"@holo-js/broadcast": "^0.1.4",
"@holo-js/cache": "^0.1.4",
"@holo-js/cache-db": "^0.1.4",
"@holo-js/auth": "workspace:*",
"@holo-js/auth-clerk": "workspace:*",
"@holo-js/auth-social": "workspace:*",
"@holo-js/auth-social-github": "workspace:*",
"@holo-js/auth-social-google": "workspace:*",
"@holo-js/auth-workos": "workspace:*",
"@holo-js/authorization": "workspace:*",
"@holo-js/broadcast": "workspace:*",
"@holo-js/cache": "workspace:*",
"@holo-js/cache-db": "workspace:*",
"@holo-js/cli": "workspace:*",
"@holo-js/config": "workspace:*",
"@holo-js/core": "^0.1.4",
"@holo-js/core": "workspace:*",
"@holo-js/db": "workspace:*",
"@holo-js/db-sqlite": "^0.1.4",
"@holo-js/events": "^0.1.4",
"@holo-js/db-sqlite": "workspace:*",
"@holo-js/events": "workspace:*",
"@holo-js/flux": "workspace:*",
"@holo-js/flux-vue": "workspace:*",
"@holo-js/forms": "workspace:*",
"@holo-js/mail": "^0.1.4",
"@holo-js/notifications": "^0.1.4",
"@holo-js/queue": "^0.1.4",
"@holo-js/queue-db": "^0.1.4",
"@holo-js/security": "^0.1.4",
"@holo-js/session": "^0.1.4",
"@holo-js/storage": "^0.1.4",
"@holo-js/mail": "workspace:*",
"@holo-js/notifications": "workspace:*",
"@holo-js/queue": "workspace:*",
"@holo-js/queue-db": "workspace:*",
"@holo-js/security": "workspace:*",
"@holo-js/session": "workspace:*",
"@holo-js/storage": "workspace:*",
"@holo-js/validation": "workspace:*",
"esbuild": "^0.25.0",
"esbuild": "catalog:",
"nuxt": "catalog:",
"vue": "^3.5.13",
"vue-router": "^5.0.4"
"vue": "catalog:",
"vue-router": "catalog:"
},
"devDependencies": {
"@types/node": "^22.0.0",
"typescript": "^5.8.0",
"vue-tsc": "^2.2.0"
"@types/node": "catalog:",
"typescript": "catalog:",
"vue-tsc": "catalog:"
}
}
46 changes: 23 additions & 23 deletions apps/blog-sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,42 +17,42 @@
},
"dependencies": {
"@holo-js/adapter-sveltekit": "workspace:*",
"@holo-js/auth": "^0.1.4",
"@holo-js/auth-clerk": "^0.1.4",
"@holo-js/auth-social": "^0.1.4",
"@holo-js/auth-social-github": "^0.1.4",
"@holo-js/auth-social-google": "^0.1.4",
"@holo-js/auth-workos": "^0.1.4",
"@holo-js/authorization": "^0.1.4",
"@holo-js/broadcast": "^0.1.4",
"@holo-js/cache": "^0.1.4",
"@holo-js/cache-db": "^0.1.4",
"@holo-js/auth": "workspace:*",
"@holo-js/auth-clerk": "workspace:*",
"@holo-js/auth-social": "workspace:*",
"@holo-js/auth-social-github": "workspace:*",
"@holo-js/auth-social-google": "workspace:*",
"@holo-js/auth-workos": "workspace:*",
"@holo-js/authorization": "workspace:*",
"@holo-js/broadcast": "workspace:*",
"@holo-js/cache": "workspace:*",
"@holo-js/cache-db": "workspace:*",
"@holo-js/cli": "workspace:*",
"@holo-js/config": "workspace:*",
"@holo-js/core": "^0.1.4",
"@holo-js/core": "workspace:*",
"@holo-js/db": "workspace:*",
"@holo-js/db-sqlite": "^0.1.4",
"@holo-js/events": "^0.1.4",
"@holo-js/db-sqlite": "workspace:*",
"@holo-js/events": "workspace:*",
"@holo-js/flux": "workspace:*",
"@holo-js/flux-svelte": "workspace:*",
"@holo-js/forms": "workspace:*",
"@holo-js/mail": "^0.1.4",
"@holo-js/notifications": "^0.1.4",
"@holo-js/queue": "^0.1.4",
"@holo-js/queue-db": "^0.1.4",
"@holo-js/security": "^0.1.4",
"@holo-js/session": "^0.1.4",
"@holo-js/storage": "^0.1.4",
"@holo-js/mail": "workspace:*",
"@holo-js/notifications": "workspace:*",
"@holo-js/queue": "workspace:*",
"@holo-js/queue-db": "workspace:*",
"@holo-js/security": "workspace:*",
"@holo-js/session": "workspace:*",
"@holo-js/storage": "workspace:*",
"@holo-js/validation": "workspace:*",
"@sveltejs/adapter-node": "catalog:",
"@sveltejs/kit": "catalog:",
"@sveltejs/vite-plugin-svelte": "catalog:",
"esbuild": "^0.25.0",
"esbuild": "catalog:",
"svelte": "catalog:",
"vite": "catalog:"
},
"devDependencies": {
"@types/node": "^22.0.0",
"typescript": "^5.8.0"
"@types/node": "catalog:",
"typescript": "catalog:"
}
}
Loading