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

Advanced brighterscript version picker #592

Open
TwitchBronBron opened this issue Sep 23, 2024 · 0 comments
Open

Advanced brighterscript version picker #592

TwitchBronBron opened this issue Sep 23, 2024 · 0 comments

Comments

@TwitchBronBron
Copy link
Member

TwitchBronBron commented Sep 23, 2024

Once #583 lands, we should enhance with a few additional features:

  1. pick a release line that will auto-update behind the scenes. Like this:
{
    "brightscript.bsdk": "insiders:lsp-rewrite",
    "brightscript.bsdk": "@latest",
    "brightscript.bsdk": "@next",
}

For any @ tag, we can fetch from the roku registry.

However, for the insiders builds, those may be coming from github actions, so we'll need to figure out how to best parse and present them based on the create-package tag.

  1. Add ability to read this value from the package.json. I prefer the pattern "fromPackageJson:package.json", but here are other options we considered:
  "brightscript.bsdk": "sync:package.json",
  "brightscript.bsdk": "use:package.json",
  "brightscript.bsdk": "ref:./package.json",
  "brightscript.bsdk": "ref:./roku-app/package.json",
  "brightscript.bsdk": "get-version-from-package-json:./roku-app/package.json",
  "brightscript.bsdk": "readDependency:./roku-app/package.json",
  "brightscript.bsdk": "getFromPackageJson:./roku-app/package.json",
  "brightscript.bsdk": "readPkgVersion:./roku-app/package.json",
  
  "brightscript.bsdk": "versionFromJson:./roku-app/package.json",
  
  "brightscript.bsdk": "fromPackageJson:./roku-app/package.json",
  "brightscript.bsdk": "fromPackageJson:package.json",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant