0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages
Aleksander Heintz fcc36ac908
Make astro package play nice with node16 module resolution (#4182)
* Make astro package play nice with node16 module resolution

Projects using node16 module resolution in typescript uses the new
exports and imports configuration from typescript to find definition
files. This mirrors how nodejs resolves the files. If a package contains
an exports map in the package.json, typescript will ignore the "types"
field (not sure how it plays with typesVersions). This moves the typings
hirearchy of definition files into the same hierarchy that astro
produces output files in, so that typescript can discover them.

Fixes: #4172

* Add changeset

* Reorder export keys

* Update paths inside .d.ts files

Co-authored-by: Princesseuh <princssdev@gmail.com>
2022-08-25 14:57:11 -04:00
..
astro Make astro package play nice with node16 module resolution (#4182) 2022-08-25 14:57:11 -04:00
astro-prism [ci] release (#4249) 2022-08-11 16:50:59 -07:00
astro-rss Astro 1.0.0 (#4214) 2022-08-09 11:10:25 -05:00
create-astro Fix typo in stricter tsconfig (#4394) 2022-08-20 20:45:23 +08:00
integrations [ci] format 2022-08-25 18:53:12 +00:00
markdown [ci] release (#4224) 2022-08-09 17:31:06 -07:00
telemetry Astro 1.0.0 (#4214) 2022-08-09 11:10:25 -05:00
webapi docs: specify lang for a codeblock (#4314) 2022-08-15 15:34:45 +08:00