mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-05 23:53:21 +00:00
[AC-1743] pt. 3 ⮕ Remove unused packages (#399)
* Remove package @angular/cli * Remove package duo_web_sdk * Remove package nodemon * Remove package prebuild-install * Remove package tapable * Remove tsconfig-paths * Remove ttypescript * Remove typemoq * Remove package jest-junit * Remove package ts-node * Specify dart sass in the webpack sass-loader config * Add google-auth-library to package.json * Add dotenv to package.json * Ignore packages that break depcheck's regex and use case Ignore @types/jest in depcheck * Remove redundant config line
This commit is contained in:
1
.depcheckrc
Normal file
1
.depcheckrc
Normal file
@@ -0,0 +1 @@
|
||||
ignores: ["*-loader", "webpack-cli", "@types/jest"]
|
||||
3237
package-lock.json
generated
3237
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
12
package.json
12
package.json
@@ -98,6 +98,7 @@
|
||||
"copy-webpack-plugin": "11.0.0",
|
||||
"cross-env": "7.0.3",
|
||||
"css-loader": "6.8.1",
|
||||
"dotenv": "9.0.2",
|
||||
"electron": "18.3.15",
|
||||
"electron-builder": "24.6.3",
|
||||
"electron-log": "4.4.8",
|
||||
@@ -117,29 +118,21 @@
|
||||
"html-webpack-plugin": "5.5.3",
|
||||
"husky": "8.0.3",
|
||||
"jest": "29.6.4",
|
||||
"jest-junit": "16.0.0",
|
||||
"jest-preset-angular": "13.1.1",
|
||||
"jsdom": "22.1.0",
|
||||
"lint-staged": "12.5.0",
|
||||
"mini-css-extract-plugin": "2.7.6",
|
||||
"node-forge": "1.3.1",
|
||||
"node-loader": "2.0.0",
|
||||
"nodemon": "2.0.22",
|
||||
"pkg": "5.8.1",
|
||||
"prebuild-install": "5.3.6",
|
||||
"prettier": "2.8.8",
|
||||
"rimraf": "3.0.2",
|
||||
"rxjs": "7.8.1",
|
||||
"sass": "1.66.1",
|
||||
"sass-loader": "12.6.0",
|
||||
"tapable": "1.1.3",
|
||||
"ts-jest": "29.1.1",
|
||||
"ts-loader": "9.4.4",
|
||||
"ts-node": "10.9.1",
|
||||
"tsconfig-paths": "3.14.2",
|
||||
"tsconfig-paths-webpack-plugin": "4.1.0",
|
||||
"ttypescript": "1.5.15",
|
||||
"typemoq": "2.1.0",
|
||||
"typescript": "4.9.5",
|
||||
"typescript-transform-paths": "2.2.4",
|
||||
"webpack": "5.88.2",
|
||||
@@ -151,7 +144,6 @@
|
||||
"dependencies": {
|
||||
"@angular/animations": "15.2.9",
|
||||
"@angular/cdk": "15.2.9",
|
||||
"@angular/cli": "15.2.9",
|
||||
"@angular/common": "15.2.9",
|
||||
"@angular/compiler": "15.2.9",
|
||||
"@angular/core": "15.2.9",
|
||||
@@ -168,9 +160,9 @@
|
||||
"chalk": "4.1.2",
|
||||
"commander": "7.2.0",
|
||||
"core-js": "3.32.1",
|
||||
"duo_web_sdk": "git+https://github.com/duosecurity/duo_web_sdk.git",
|
||||
"form-data": "4.0.0",
|
||||
"googleapis": "73.0.0",
|
||||
"google-auth-library": "7.14.1",
|
||||
"https-proxy-agent": "5.0.1",
|
||||
"inquirer": "8.2.6",
|
||||
"keytar": "7.9.0",
|
||||
|
||||
1
src/global.d.ts
vendored
1
src/global.d.ts
vendored
@@ -1,3 +1,2 @@
|
||||
declare function escape(s: string): string;
|
||||
declare function unescape(s: string): string;
|
||||
declare module "duo_web_sdk";
|
||||
|
||||
@@ -96,7 +96,12 @@ const renderer = {
|
||||
},
|
||||
},
|
||||
"css-loader",
|
||||
"sass-loader",
|
||||
{
|
||||
loader: "sass-loader",
|
||||
options: {
|
||||
implementation: require("sass"),
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
// Hide System.import warnings. ref: https://github.com/angular/angular/issues/21560
|
||||
|
||||
Reference in New Issue
Block a user