rokucommunity / rokucommunity/brighterscript

how to handle libpkg:/ with autoImportComponentScripts

Open
#1,020 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
208
Forks
68
Avg merge
8h 39m
Merged PRs (30d)
39

Description

We should give an option for which scheme the auto-imported component scripts use.

We have a few approaches here:

  • always use pkg:/
  • always use libpkg:/
  • use libpkg:/ if we have at least 1 instance of libpkg:/ anywhere in the project, or some variation of this.

Should probably give the user a few different options?

Contributor guide

No contributing guide indexed for this repository

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 locating the autoImportComponentScripts implementation and examining how it currently chooses between pkg:/ and libpkg:/. Review the listed scheme-selection approaches and existing project usage, then define and implement a clear configurable behavior with coverage for the selected options.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.