We should find a way to improve TypeScript configuration management, some concerns to address:
Storybook as of #2131 is responsible for reproducing the exact same build as nimble-components and has its own tsconfig that could get out of sync
As we have adopted TS 5 we should remove deprecated rules and adopt rules that lead to better best practices (adopt isolatedModules, remove ignoreDeprecations, adopt verbatimModuleSyntax, adopt incremental builds, bump target and module passed es2020)
Properties of shared configuration:
Should be shared as a private package of shared configuration in the monorepo
Should likely have base shared configuration to use across all packages generically
Should likely have tsconfigs that extend the base config for specific contexts (component dev, angular)
Should NOT just try and make a single overloaded shared TypeScript configuration to share as much as possible
🧹 Tech Debt
We should find a way to improve TypeScript configuration management, some concerns to address:
Properties of shared configuration: