Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore!: Upgrade to TypeScript 5.0.2 (#16291)
* chore!: Upgrade to TypeScript 5.0.2 * Use moduleResolution bundler * Remove Lit import helper that was supposed to go in V24, and now no longer works * fix test --------- Co-authored-by: czp13 <61667986+czp13@users.noreply.github.com>
- Loading branch information
Showing
9 changed files
with
69 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
flow-server/src/main/resources/com/vaadin/flow/server/frontend/tsconfig-v23.3.4.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// This TypeScript configuration file is generated by vaadin-maven-plugin. | ||
// This is needed for TypeScript compiler to compile your TypeScript code in the project. | ||
// It is recommended to commit this file to the VCS. | ||
// You might want to change the configurations to fit your preferences | ||
// For more information about the configurations, please refer to http://www.typescriptlang.org/docs/handbook/tsconfig-json.html | ||
{ | ||
"flow_version": "23.3.4", | ||
"compilerOptions": { | ||
"sourceMap": true, | ||
"jsx": "react-jsx", | ||
"inlineSources": true, | ||
"module": "esNext", | ||
"target": "es2020", | ||
"moduleResolution": "node", | ||
"strict": true, | ||
"skipLibCheck": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"noImplicitReturns": true, | ||
"noImplicitAny": true, | ||
"noImplicitThis": true, | ||
"noUnusedLocals": false, | ||
"noUnusedParameters": false, | ||
"experimentalDecorators": true, | ||
"useDefineForClassFields": false, | ||
"baseUrl": "frontend", | ||
"paths": { | ||
"@vaadin/flow-frontend": ["generated/jar-resources"], | ||
"@vaadin/flow-frontend/*": ["generated/jar-resources/*"], | ||
"Frontend/*": ["*"] | ||
} | ||
}, | ||
"include": [ | ||
"frontend/**/*", | ||
"types.d.ts" | ||
], | ||
"exclude": [ | ||
"frontend/generated/jar-resources/**" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
flow-tests/test-frontend/vite-production/frontend/lit-invalid-imports.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters