Remove solution style ts config

pull/4337/head
Chocobozzz 2021-08-17 14:01:51 +02:00
parent 1378c0d343
commit 1d4591fd9c
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
7 changed files with 68 additions and 93 deletions

View File

@ -135,7 +135,7 @@
"outputPath": "dist", "outputPath": "dist",
"index": "src/index.html", "index": "src/index.html",
"main": "src/main.ts", "main": "src/main.ts",
"tsConfig": "tsconfig.app.json", "tsConfig": "tsconfig.json",
"polyfills": "src/polyfills.ts", "polyfills": "src/polyfills.ts",
"baseHref": "/", "baseHref": "/",
"deployUrl": "", "deployUrl": "",
@ -158,7 +158,7 @@
"markdown-it-emoji/light", "markdown-it-emoji/light",
"sanitize-html", "sanitize-html",
"debug", "debug",
"p2p-media-loader-hlsjs", "@peertube/p2p-media-loader-hlsjs",
"video.js", "video.js",
"sha.js/sha1", "sha.js/sha1",
"postcss", "postcss",
@ -298,7 +298,7 @@
"builder": "@angular-devkit/build-angular:tslint", "builder": "@angular-devkit/build-angular:tslint",
"options": { "options": {
"tsConfig": [ "tsConfig": [
"tsconfig.app.json" "tsconfig.json"
], ],
"exclude": [ "exclude": [
"**/node_modules/**" "**/node_modules/**"

View File

@ -1,5 +1,5 @@
{ {
"extends": "../tsconfig.base.json", "extends": "../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../out-tsc/app", "outDir": "../out-tsc/app",
"module": "commonjs", "module": "commonjs",

View File

@ -14,7 +14,7 @@
}, },
"scripts": { "scripts": {
"lint": "npm run lint-ts && npm run lint-scss", "lint": "npm run lint-ts && npm run lint-scss",
"lint-ts": "tslint --project ./tsconfig.app.json -c ./tslint.json 'src/app/**/*.ts' 'src/standalone/**/*.ts'", "lint-ts": "tslint --project ./tsconfig.json -c ./tslint.json 'src/app/**/*.ts' 'src/standalone/**/*.ts'",
"lint-scss": "stylelint 'src/**/*.scss'", "lint-scss": "stylelint 'src/**/*.scss'",
"webpack": "webpack", "webpack": "webpack",
"tslint": "tslint", "tslint": "tslint",

View File

@ -1,26 +0,0 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"outDir": "./out-tsc/app",
"baseUrl": "./",
"types": [],
"lib": [
"es2017",
"es2016",
"es2015",
"dom"
]
},
"files": [
"src/polyfills.ts"
],
"include": [
"src/main*.ts",
"src/**/*.d.ts",
"src/shims/*.ts"
],
"exclude": [
"../node_modules",
"../server"
]
}

View File

@ -1,49 +0,0 @@
{
"compileOnSave": false,
"compilerOptions": {
"downlevelIteration": true,
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"module": "esnext",
"experimentalDecorators": true,
"noImplicitAny": true,
"noImplicitThis": true,
"suppressImplicitAnyIndexErrors":true,
"alwaysStrict": true,
"importHelpers": true,
"strictBindCallApply": true,
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"dom"
],
"baseUrl": "./",
"paths": {
"hls.js": [ "node_modules/hls.js/dist/hls.light" ],
"video.js": [ "node_modules/video.js/core" ],
"@app/*": [ "src/app/*" ],
"@shared/models/*": [ "../shared/models/*" ],
"@shared/models": [ "../shared/models" ],
"@shared/core-utils": [ "../shared/core-utils" ],
"@shared/core-utils/*": [ "../shared/core-utils/*" ],
"@root-helpers/*": [ "src/root-helpers/*" ],
"fs": [ "src/shims/noop.ts" ],
"http": [ "src/shims/http.ts" ],
"https": [ "src/shims/https.ts" ],
"path": [ "src/shims/path.ts" ],
"stream": [ "src/shims/stream.ts" ],
"crypto": [ "src/shims/noop.ts" ]
}
},
"angularCompilerOptions": {
"strictInjectionParameters": true,
"fullTemplateTypeCheck": true,
"strictTemplates": true,
"enableI18nLegacyMessageIdFormat": false
}
}

View File

@ -1,14 +1,64 @@
/*
This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScripts language server to improve development experience.
It is not intended to be used to perform a compilation.
To learn more about this file see: https://angular.io/config/solution-tsconfig.
*/
{ {
"files": [], "compileOnSave": false,
"references": [ "compilerOptions": {
{ "downlevelIteration": true,
"path": "./tsconfig.app.json" "outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"module": "esnext",
"experimentalDecorators": true,
"noImplicitAny": true,
"noImplicitThis": true,
"suppressImplicitAnyIndexErrors":true,
"alwaysStrict": true,
"importHelpers": true,
"strictBindCallApply": true,
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"es2017",
"es2016",
"es2015",
"dom"
],
"baseUrl": "./",
"paths": {
"hls.js": [ "node_modules/hls.js/dist/hls.light" ],
"video.js": [ "node_modules/video.js/core" ],
"@app/*": [ "src/app/*" ],
"@shared/models/*": [ "../shared/models/*" ],
"@shared/models": [ "../shared/models" ],
"@shared/core-utils": [ "../shared/core-utils" ],
"@shared/core-utils/*": [ "../shared/core-utils/*" ],
"@root-helpers/*": [ "src/root-helpers/*" ],
"fs": [ "src/shims/noop.ts" ],
"http": [ "src/shims/http.ts" ],
"https": [ "src/shims/https.ts" ],
"path": [ "src/shims/path.ts" ],
"stream": [ "src/shims/stream.ts" ],
"crypto": [ "src/shims/noop.ts" ]
} }
] },
"files": [
"src/polyfills.ts"
],
"include": [
"src/main*.ts",
"src/**/*.d.ts",
"src/shims/*.ts"
],
"exclude": [
"../node_modules",
"../server"
],
"angularCompilerOptions": {
"strictInjectionParameters": true,
"fullTemplateTypeCheck": true,
"strictTemplates": true,
"enableI18nLegacyMessageIdFormat": false
}
} }

View File

@ -70,7 +70,7 @@ module.exports = function () {
{ {
loader: 'ts-loader', loader: 'ts-loader',
options: { options: {
configFile: 'tsconfig.base.json' configFile: 'tsconfig.json'
} }
} }
] ]