chore: commit types

To ensure that changes to code/types doesn't result in unwanted changes in type generation, or that bumps to dts-buddy don't cause unwanted regressions, we're checking in the generated types. Types should be committed as-is (don't format it with prettier!). CI is enhanced to check that git sees no changed files after generating the types, which would mean types have changed.
pull/9862/head
Simon Holthausen 3 years ago
parent b1795a88ad
commit bc65c7fe6d

@ -49,4 +49,4 @@ jobs:
with: with:
node-version: 16 node-version: 16
cache: pnpm cache: pnpm
- run: 'pnpm i && pnpm check && pnpm lint' - run: pnpm i && pnpm check && pnpm lint && pnpm build && [ "`git status --porcelain=v1`" == "" ] # ensures that commited types are up-to-date

@ -6,13 +6,13 @@
/test/runtime/shards /test/runtime/shards
_actual*.* _actual*.*
_output _output
/types /types/compiler
action.d.ts /action.d.ts
animate.d.ts /animate.d.ts
compiler.d.ts /compiler.d.ts
easing.d.ts /easing.d.ts
index.d.ts /index.d.ts
motion.d.ts /motion.d.ts
store.d.ts /store.d.ts
transition.d.ts /transition.d.ts

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save