Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support usage __outside__ of a monorepo #7

Open
hamlim opened this issue Dec 27, 2024 · 0 comments
Open

Support usage __outside__ of a monorepo #7

hamlim opened this issue Dec 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@hamlim
Copy link
Owner

hamlim commented Dec 27, 2024

If I have a plain-old repo (e.g. single package.json, no workspaces), then the tool should ideally still work as-is.

However it doesn't seem to be the case currently, if I run it in an example repo with DEBUG=one-version I get the following logs:

❯ DEBUG=one-version bun run one-version:check
$ one-version check
[one-version] Initial config {
  "$schema": "https://one-version.vercel.app/schema.json",
  "packageManager": "bun",
  "versionStrategy": "pin"
}
[one-version] Workspaces []
[one-version] Workspaces Dependencies []
[one-version] Duplicate dependencies []
[one-version] Unpinned dependencies {}
My preciousss
 ✨ One Version Rule Success - found no version conflicts!
@hamlim hamlim added the enhancement New feature or request label Dec 27, 2024
@hamlim hamlim changed the title Support usage _outside_ of a monorepo Support usage __outside__ of a monorepo Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant