From 50bed199d70fe7ae42cfe03483938fc61938ad89 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Mon, 6 Sep 2021 18:02:42 +0200 Subject: [PATCH] Remove ts-loader Nest uses Webpack only for monorepo projects. As we have a standalone Nest application, we can remove the webpack-only dependency to ts-loader. See https://docs.nestjs.com/cli/overview#project-structure Signed-off-by: David Mehren --- package.json | 1 - yarn.lock | 20 ++------------------ 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/package.json b/package.json index 2ed325732..1928c3d43 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,6 @@ "source-map-support": "^0.5.19", "supertest": "6.1.6", "ts-jest": "27.0.5", - "ts-loader": "9.2.6", "ts-node": "10.2.1", "tsconfig-paths": "3.11.0", "typescript": "4.4.3" diff --git a/yarn.lock b/yarn.lock index a052d07cd..14018e5e3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3807,7 +3807,7 @@ __metadata: languageName: node linkType: hard -"enhanced-resolve@npm:^5.0.0, enhanced-resolve@npm:^5.7.0, enhanced-resolve@npm:^5.8.0": +"enhanced-resolve@npm:^5.7.0, enhanced-resolve@npm:^5.8.0": version: 5.8.2 resolution: "enhanced-resolve@npm:5.8.2" dependencies: @@ -5091,7 +5091,6 @@ __metadata: supertest: 6.1.6 swagger-ui-express: 4.1.6 ts-jest: 27.0.5 - ts-loader: 9.2.6 ts-node: 10.2.1 tsconfig-paths: 3.11.0 typeorm: 0.2.37 @@ -6754,7 +6753,7 @@ __metadata: languageName: node linkType: hard -"micromatch@npm:^4.0.0, micromatch@npm:^4.0.4": +"micromatch@npm:^4.0.4": version: 4.0.4 resolution: "micromatch@npm:4.0.4" dependencies: @@ -9349,21 +9348,6 @@ __metadata: languageName: node linkType: hard -"ts-loader@npm:9.2.6": - version: 9.2.6 - resolution: "ts-loader@npm:9.2.6" - dependencies: - chalk: ^4.1.0 - enhanced-resolve: ^5.0.0 - micromatch: ^4.0.0 - semver: ^7.3.4 - peerDependencies: - typescript: "*" - webpack: ^5.0.0 - checksum: 309d8fb6348c0c3a7166d42c1238c585ede00f816155b24217dbca489406a72409395d7954bc5801ddb9ca71c71e7e0b2375dbc342337e0ab1a461944598a7fe - languageName: node - linkType: hard - "ts-node@npm:10.2.1": version: 10.2.1 resolution: "ts-node@npm:10.2.1"