Commit a941eea
Stop checking in generated .d.ts; keep only public API snapshots
Summary:
Makes the per-package TypeScript definition files (`packages/*/types/*.d.ts`) build artefacts instead of checked-in source, now that `microsoft/api-extractor` gives us snapshots of public APIs.
Note - `.d.ts` files are still emitted for every module at build time and published to npm.
The main benefit of this is to reduce developer friction - previously, any change to a module's API would require rebuilding TS definitions. Now, a manual step is only required when changing the *public* API, which is both much less common and should always be done intentionally.
Changelog: Internal
Reviewed By: huntie
Differential Revision: D1127507461 parent 96e4c55 commit a941eea
227 files changed
Lines changed: 21 additions & 9015 deletions
File tree
- packages
- buck-worker-tool/types
- metro-babel-transformer/types
- metro-cache-key/types
- metro-cache/types
- stores
- metro-config/types
- defaults
- metro-core/types
- errors
- metro-file-map/types
- cache
- crawlers
- node
- watchman
- lib
- plugins
- dependencies
- haste
- mocks
- watchers
- metro-minify-terser/types
- metro-resolver/types
- errors
- utils
- metro-runtime/types/modules
- metro-source-map/types
- Consumer
- metro-symbolicate/types
- metro-transform-plugins/types
- utils
- metro-transform-worker/types
- utils
- metro/types
- Bundler
- DeltaBundler
- Serializers
- helpers
- IncrementalBundler
- ModuleGraph/worker
- Server
- cli
- commands
- lib
- node-haste
- DependencyGraph
- lib
- ob1/types
- scripts
- __tests__
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
Lines changed: 0 additions & 25 deletions
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments