astro/examples/with-content/src
Ben Holmes c2180746b4
[Content collections] Move generated types to .astro directory (#5786)
* feat: change cacheDir to `.astro`

* feat: write reference in env.d.ts if none exists

* chore: update with-content types

* test: env.d.ts transform

* nit: setUp -> add

* refactor: content.d.ts -> types.d.ts

* chore: update confirmation log

* chore: changeset

* feat: inject env.d.ts if none exists

* feat: set up env.d.ts on `astro sync`

* chore: duplicate envTsPathRelative

* docs: update changeset

* fix: make srcDir if none exists

* fix: types.generated -> .astro in gitignore

* feat: add env.d.ts to test gitignore

* chore: remove env.d.ts from content-collections

* test: move sync tests to `astro sync`, add file write test

* refactor: simplify test gitignore to base

* fix: add / to `.astro` bc that scares me
2023-01-10 18:01:52 -05:00
..
components Content Collections (#5291) 2022-12-16 14:19:53 -05:00
content [Content collections] Move generated types to .astro directory (#5786) 2023-01-10 18:01:52 -05:00
layouts [ci] format 2022-12-16 19:22:01 +00:00
pages [ci] format 2022-12-16 19:22:01 +00:00
styles Content Collections (#5291) 2022-12-16 14:19:53 -05:00
consts.ts Content Collections (#5291) 2022-12-16 14:19:53 -05:00
env.d.ts [Content collections] Move generated types to .astro directory (#5786) 2023-01-10 18:01:52 -05:00