-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!(app-vite): auto generate base tsconfig and types #17549
base: dev
Are you sure you want to change the base?
feat!(app-vite): auto generate base tsconfig and types #17549
Commits on Sep 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b1bdb8b - Browse repository at this point
Copy the full SHA b1bdb8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec59fe4 - Browse repository at this point
Copy the full SHA ec59fe4View commit details -
feat(app-vite): add Capacitor dependencies to tsconfig paths
the Vite aliases were already there, thanks to this, TypeScript won't complain about using Capacitor deps inside src/ anymore
Configuration menu - View commit details
-
Copy full SHA for 359a8f2 - Browse repository at this point
Copy the full SHA 359a8f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 576eb1e - Browse repository at this point
Copy the full SHA 576eb1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d4495b - Browse repository at this point
Copy the full SHA 8d4495bView commit details
Commits on Sep 18, 2024
-
feat(app-vite): generate nested path aliases for capacitor deps too
e.g. `@capacitor/dep/deep/import`
Configuration menu - View commit details
-
Copy full SHA for e642886 - Browse repository at this point
Copy the full SHA e642886View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ee130e - Browse repository at this point
Copy the full SHA 0ee130eView commit details -
feat(app-vite): create a better tsconfig, drop presets
enforce TS >=5.4 to use module: 'preserve' forceConsistentCasingInFileNames defaults to true since TS 5.0 verbatimModuleSyntax will require user to update their codes jsx: preserve is no longer needed for Vue Language Tools strict: true and some of the other strict options will be added through a flag
Configuration menu - View commit details
-
Copy full SHA for 396e61b - Browse repository at this point
Copy the full SHA 396e61bView commit details -
feat(app-vite): add an option to generate tsconfig with strict rules
compared to previous regular preset: noUnusedLocals is turned off as it produces extra noise when using ESLint, where the behavior is better as it's configurable compared to previous stricter config: noPropertyAccessFromIndexSignature is removed as it doesn't even allow process.env.DEV unless it's augmented explicitly, which we don't do at the moment. It enforces process.env['DEV'] instead, which is annoying and confusing to use. We can't augment the env variables as Node types enforce string, but our own types are actual boolean values. noImplicitReturns reduces the DX and is not that beneficial in app code compared to its use in library code. It still has it's uses, but it doesn't belong the usual strictness.
Configuration menu - View commit details
-
Copy full SHA for 2f70638 - Browse repository at this point
Copy the full SHA 2f70638View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a68835 - Browse repository at this point
Copy the full SHA 0a68835View commit details -
fix(app-vite): correctly handle non-existent aliases
they were throwing errors, now we skip them for an even slimmer result
Configuration menu - View commit details
-
Copy full SHA for cb8cd7d - Browse repository at this point
Copy the full SHA cb8cd7dView commit details
Commits on Sep 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b56b7f4 - Browse repository at this point
Copy the full SHA b56b7f4View commit details -
fix(app-vite): suppress the esbuild tsconfig.json warning
when .quasar/tsconfig.json is missing prior to generation
Configuration menu - View commit details
-
Copy full SHA for 7d803e4 - Browse repository at this point
Copy the full SHA 7d803e4View commit details -
feat(app-vite): split types generation, handle it on diff
now it will re-generate the types if build.typescript or build.alias gets updated
Configuration menu - View commit details
-
Copy full SHA for 6a3c5bb - Browse repository at this point
Copy the full SHA 6a3c5bbView commit details
Commits on Sep 23, 2024
-
feat(app-vite): add prepare command
to generate tsconfig and types
Configuration menu - View commit details
-
Copy full SHA for 61d443a - Browse repository at this point
Copy the full SHA 61d443aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11e0a91 - Browse repository at this point
Copy the full SHA 11e0a91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85d88c1 - Browse repository at this point
Copy the full SHA 85d88c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8567cb9 - Browse repository at this point
Copy the full SHA 8567cb9View commit details -
feat(create-quasar): remove unused store-flag.d.ts
as feature flags are handled into .quasar now
Configuration menu - View commit details
-
Copy full SHA for 12c32a0 - Browse repository at this point
Copy the full SHA 12c32a0View commit details
Commits on Sep 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 68687c6 - Browse repository at this point
Copy the full SHA 68687c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88f734d - Browse repository at this point
Copy the full SHA 88f734dView commit details
Commits on Sep 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c15ee24 - Browse repository at this point
Copy the full SHA c15ee24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b80140 - Browse repository at this point
Copy the full SHA 3b80140View commit details -
Configuration menu - View commit details
-
Copy full SHA for 174a78e - Browse repository at this point
Copy the full SHA 174a78eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c919dd9 - Browse repository at this point
Copy the full SHA c919dd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 963efe7 - Browse repository at this point
Copy the full SHA 963efe7View commit details
Commits on Nov 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4185c31 - Browse repository at this point
Copy the full SHA 4185c31View commit details