Skip to content

allow to explicitly include typescript libraries - #632

Open
cornerman wants to merge 1 commit into
ScalablyTyped:masterfrom
cornerman:explicitly-include-libs
Open

allow to explicitly include typescript libraries#632
cornerman wants to merge 1 commit into
ScalablyTyped:masterfrom
cornerman:explicitly-include-libs

Conversation

@cornerman

@cornerman cornerman commented Jun 8, 2024

Copy link
Copy Markdown

If you only want to generate ScalablyTyped facades for a few js dependencies, you currently have to maintain an ignore list in the build.sbt file.

In order to make this more explicit and easier to maintain, this PR introduces a new option stExplicitInclude, which allows to explicitly select the libraries, you want to process. All others are automatically ignored.

Usage:

// is None per default
stExplicitInclude := Some(List("packageA", "packageB"))

fixes #601

If you only want to generate ScalablyTyped facades for a few js dependencies, you currently have to maintain an ignore list in the build.sbt file.

In order to make this more explicit and easier to maintain, this PR introduces a new option `stExplicitInclude`, which allows to explicitly select the libraries, you want to process. All others are automatically ignored.

Usage:
```
// is None per default
stExplicitInclude := Some(List("packageA", "packageB"))
```

fixes ScalablyTyped#601
@cornerman
cornerman force-pushed the explicitly-include-libs branch from 4744a3c to 6284bfa Compare June 8, 2024 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Explicitly include libraries (opposite of stIgnore)

1 participant