rokucommunity / rokucommunity/vscode-brightscript-language

Advanced brighterscript version picker

Open
#592 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
132
Forks
60
Avg merge
13h 53m
Merged PRs (30d)
20

Description

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 npm 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",

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the version-picker work from #583 and the existing handling of brightscript.bsdk values. Check how npm registry tags and GitHub Actions create-package artifacts could be identified, then define the package.json reference syntax. Done means release-line tags and package.json-derived versions are parsed and presented consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.