mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: Enable tsec checks for critical packages. (#43108)
tsec is a static analyzer that discovers Trusted Types violations. Deploy tsec to make sure there will be no TT regression in several critical packages, including core, platform-browser, platform-server and their dependencies. Existing violations have been reviewed and exempted in packages/tsec-exemption.json. Future changes to the exemption list requires security review. PR Close #43108
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
/** For building //packages/animations/browser. */
|
||||
{
|
||||
"extends": "../../tsconfig-tsec-base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"outDir": ".tsec",
|
||||
"paths": {
|
||||
"@angular/core": ["../../core"],
|
||||
"@angular/animations": ["../"]
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
"*.ts",
|
||||
"src/**/*.ts"
|
||||
],
|
||||
"references": [
|
||||
{"path": "../../core/tsconfig-tsec.json"},
|
||||
{"path": "../tsconfig-tsec.json"}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
/** For building //packages/animations. */
|
||||
{
|
||||
"extends": "../tsconfig-tsec-base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"outDir": ".tsec",
|
||||
"paths": {
|
||||
"@angular/core": ["../core"]
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
"*.ts",
|
||||
"src/**/*.ts"
|
||||
],
|
||||
"references": [
|
||||
{"path": "../core/tsconfig-tsec.json"}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user