Cleanup tsconfig (#954)

* Cleanup tsconfig

* Removed dummy module
This commit is contained in:
Oscar Hinton 2021-05-05 09:46:14 +02:00 committed by GitHub
parent b1635debcc
commit 4a61f0ac04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 38 deletions

6
package-lock.json generated
View File

@ -573,6 +573,12 @@
"integrity": "sha512-/+CRPXpBDpo2RK9C68N3b2cOvO0Cf5B9aPijHsoDQTHivnGSObdOF2BRQOYjojWTDy6nQvMjmqRXIxH55VjxxA==", "integrity": "sha512-/+CRPXpBDpo2RK9C68N3b2cOvO0Cf5B9aPijHsoDQTHivnGSObdOF2BRQOYjojWTDy6nQvMjmqRXIxH55VjxxA==",
"dev": true "dev": true
}, },
"@types/duo_web_sdk": {
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/@types/duo_web_sdk/-/duo_web_sdk-2.7.0.tgz",
"integrity": "sha512-E8cRtor4+hYNVYZ/hk+0WoZtiGOWvxhX3UsJtNtVlDIk2d8dnbYX6wdhqBTwixPpw7ea3I8IS3BAK81GRXyLUQ==",
"dev": true
},
"@types/glob": { "@types/glob": {
"version": "7.1.3", "version": "7.1.3",
"resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz",

View File

@ -34,6 +34,7 @@
"devDependencies": { "devDependencies": {
"@angular/compiler-cli": "^11.2.11", "@angular/compiler-cli": "^11.2.11",
"@ngtools/webpack": "^11.2.10", "@ngtools/webpack": "^11.2.10",
"@types/duo_web_sdk": "^2.7.0",
"@types/jquery": "^3.5.5", "@types/jquery": "^3.5.5",
"@types/lunr": "^2.3.3", "@types/lunr": "^2.3.3",
"@types/node": "^10.17.57", "@types/node": "^10.17.57",

View File

@ -1,5 +1,5 @@
import * as jq from 'jquery'; import * as jq from 'jquery';
import Swal from 'sweetalert2/dist/sweetalert2.js'; import Swal from 'sweetalert2';
import { import {
BodyOutputType, BodyOutputType,

View File

@ -1,12 +0,0 @@
import { NgModule } from '@angular/core';
import { ModalComponent } from 'jslib/angular/components/modal.component';
@NgModule({
imports: [],
declarations: [
ModalComponent,
],
})
export class DummyModule {
}

View File

@ -10,7 +10,7 @@ import { I18nService } from 'jslib/abstractions/i18n.service';
import { ImportOption, ImportService } from 'jslib/abstractions/import.service'; import { ImportOption, ImportService } from 'jslib/abstractions/import.service';
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service'; import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
import Swal, { SweetAlertIcon } from 'sweetalert2/dist/sweetalert2.js'; import Swal, { SweetAlertIcon } from 'sweetalert2';
@Component({ @Component({
selector: 'app-import', selector: 'app-import',

View File

@ -1,4 +1,4 @@
import Swal, { SweetAlertIcon } from 'sweetalert2/dist/sweetalert2.js'; import Swal, { SweetAlertIcon } from 'sweetalert2';
import { DeviceType } from 'jslib/enums/deviceType'; import { DeviceType } from 'jslib/enums/deviceType';

View File

@ -11,9 +11,7 @@
"es6", "es6",
"dom" "dom"
], ],
"allowJs": true,
"sourceMap": true, "sourceMap": true,
"types": ["sweetalert2"],
"baseUrl": ".", "baseUrl": ".",
"paths": { "paths": {
"tldjs": [ "tldjs": [
@ -21,32 +19,13 @@
], ],
"jslib/*": [ "jslib/*": [
"jslib/src/*" "jslib/src/*"
],
"@angular/*": [
"node_modules/@angular/*"
],
"node": [
"node_modules/@types/node"
],
"duo_web_sdk": [
"node_modules/duo_web_sdk"
] ]
} }
}, },
"angularCompilerOptions": { "angularCompilerOptions": {
"preserveWhitespaces": true "preserveWhitespaces": true
}, },
"exclude": [ "include": [
"node_modules", "src"
"dist",
"build",
"jslib/node_modules",
"jslib/dist",
"jslib/spec",
"jslib/src/electron",
"jslib/src/cli",
"jslib/src/services/nodeApi.service.ts",
"jslib/src/services/lowdbStorage.service.ts",
"jslib/src/misc/nodeUtils.ts"
] ]
} }