Skip to content

Generate source URLs for wrapper links automatically #221

@amcclain

Description

@amcclain

Realizing that our github URL routes would be better if we auto-created them based on the versions of hoist-react and toolbox instead of relying on us to update (and then forget to update) the sourceUrls config.

Goal is to put the right branch/tag in the URLs - i.e. for production toolbox I am just updating the config to be:

{
  "hoistReact": "https://github.com/exhi/hoist-react/blob/v24.2.0",
  "toolbox": "https://github.com/exhi/toolbox/blob/v1.15.0"
}

The stems of the URLs aren't gonna change - we just need to update that last bit. I think we can look at the versions of hoist and toolbox and either
a) use develop in the URLs if they are snapshots
b) use the version tag if they are versioned builds

Then we should be able to remove the config entirely and not worry about updating.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions