Commit Graph

15 Commits

Author SHA1 Message Date
Fredrik Adelöw aeb53e18e5 chore: exclude stories from tsc type checking
Storybook CSF4 type inference generates massive .d.ts files for stories
(e.g. Card.stories.d.ts grew to 1.4MB by inlining all React HTML/ARIA
prop types). Excluding stories from tsc saves ~18s emit time, ~142MB
memory, and prevents unnecessary .d.ts bloat in dist-types.

No production code imports stories files, so this is safe.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
2026-03-18 13:52:53 +01:00
Paul Schultz 5aa0d907ac modify eslint and tsconfig files to be nonbreaking
Signed-off-by: Paul Schultz <pschultz@pobox.com>
2025-04-08 07:59:09 -05:00
Thomas Cardonne d2d23136c1 feat: add config.d.ts in tsconfig included files
Signed-off-by: Thomas Cardonne <thomas.cardonne@adevinta.com>
2024-07-30 23:48:42 +02:00
Patrik Oldsberg 08fa6a604a bump typescript to 4.5
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-18 10:11:27 +01:00
Fabian Chong 59fb93cd00 rename build to dist-types 2020-09-04 21:20:21 +08:00
Fabian Chong 2fb8eb8c49 replace tsc dist dir to build 2020-09-04 14:03:06 +08:00
Patrik Oldsberg af9d127644 tsconfig: set rootDir to ensure output structure of tsc 2020-08-13 14:31:37 +02:00
Patrik Oldsberg 7fac58f23d plugins/catalog-backend: typecheck migration files 2020-06-14 13:21:06 +02:00
Patrik Oldsberg 7da845e844 packages/cli: use own tsconfig 2020-06-01 16:09:11 +02:00
Patrik Oldsberg 1dd33e8e33 packages,plugins: remove extra tsconfig files 2020-05-17 23:30:16 +02:00
Patrik Oldsberg c0336122c0 tsconfig: switch to top-level type checking 2020-05-17 23:30:13 +02:00
Patrik Oldsberg 53fed5a17c backstage/cli: add common tsconfig 2020-04-07 18:05:21 +02:00
nikek d43414d687 put shared tsconfig in root config 2020-04-02 09:27:55 +02:00
Patrik Oldsberg 41d087e35a tsconfig: enable declaration maps for goto definition 2020-03-07 12:18:48 +01:00
Patrik Oldsberg 56226ae84d frontend: move to repo root 2020-03-05 16:28:14 +01:00