Skip to content

Improve how we ship TS#28

Merged
reconbot merged 1 commit intomasterfrom
reconbot/better-ts
Mar 7, 2019
Merged

Improve how we ship TS#28
reconbot merged 1 commit intomasterfrom
reconbot/better-ts

Conversation

@reconbot
Copy link
Copy Markdown
Contributor

@reconbot reconbot commented Mar 7, 2019

Advice from https://speakerdeck.com/southpolesteve/shipping-typescript-to-npm

  • Using simple mocks for stream interfaces instead of exporting nodejs streams
  • reference the lib esnext.asynciterable instead of importing it
  • use rollup and tslib to package esm and umd builds
  • bundle types too
  • don’t know how to stop dist/tsdoc-metadata.json from being made but we can ignore it

@reconbot reconbot force-pushed the reconbot/better-ts branch 2 times, most recently from a985a71 to 3e8152a Compare March 7, 2019 03:05
Advice from https://speakerdeck.com/southpolesteve/shipping-typescript-to-npm

- Using simple mocks for stream interfaces instead of exporting nodejs streams
- reference the lib esnext.asynciterable instead of importing it
- use rollup and tslib to package esm and umd builds
- bundle types too
- don’t know how to stop dist/tsdoc-metadata.json from being made but we can ignore it
@reconbot reconbot force-pushed the reconbot/better-ts branch from 3e8152a to 93b9b4c Compare March 7, 2019 03:20
@reconbot reconbot merged commit 9261a4a into master Mar 7, 2019
@reconbot reconbot deleted the reconbot/better-ts branch March 7, 2019 03:26
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.

1 participant