Build command should emit typings
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
No typings files are emitted as an effect of running the build script. When installing Imprest inside of another typescript project there is subsequently no typing information available.
**Describe the solution you'd like**
The typescript CLI has a flag called `--emitDeclarationOnly`. This should be run as part of the build script to generate typings artefacts alongside the transpiled files inside of the `lib` directory.
**Describe alternatives you've considered**
Something more integrated with the babel command would have been nice but this does not exist.
Contributor guide
Research direction
Inspect the build script and its existing TypeScript or Babel commands, then check how output is placed in the lib directory. Run the build to confirm the current artifacts, add declaration-only output as requested, and verify that typings files appear alongside the transpiled files in lib.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100