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 <git@herrmehren.de>
This commit is contained in:
David Mehren 2021-09-06 18:02:42 +02:00
parent 0668081194
commit 50bed199d7
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
2 changed files with 2 additions and 19 deletions

View file

@ -89,7 +89,6 @@
"source-map-support": "^0.5.19", "source-map-support": "^0.5.19",
"supertest": "6.1.6", "supertest": "6.1.6",
"ts-jest": "27.0.5", "ts-jest": "27.0.5",
"ts-loader": "9.2.6",
"ts-node": "10.2.1", "ts-node": "10.2.1",
"tsconfig-paths": "3.11.0", "tsconfig-paths": "3.11.0",
"typescript": "4.4.3" "typescript": "4.4.3"

View file

@ -3807,7 +3807,7 @@ __metadata:
languageName: node languageName: node
linkType: hard 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 version: 5.8.2
resolution: "enhanced-resolve@npm:5.8.2" resolution: "enhanced-resolve@npm:5.8.2"
dependencies: dependencies:
@ -5091,7 +5091,6 @@ __metadata:
supertest: 6.1.6 supertest: 6.1.6
swagger-ui-express: 4.1.6 swagger-ui-express: 4.1.6
ts-jest: 27.0.5 ts-jest: 27.0.5
ts-loader: 9.2.6
ts-node: 10.2.1 ts-node: 10.2.1
tsconfig-paths: 3.11.0 tsconfig-paths: 3.11.0
typeorm: 0.2.37 typeorm: 0.2.37
@ -6754,7 +6753,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"micromatch@npm:^4.0.0, micromatch@npm:^4.0.4": "micromatch@npm:^4.0.4":
version: 4.0.4 version: 4.0.4
resolution: "micromatch@npm:4.0.4" resolution: "micromatch@npm:4.0.4"
dependencies: dependencies:
@ -9349,21 +9348,6 @@ __metadata:
languageName: node languageName: node
linkType: hard 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": "ts-node@npm:10.2.1":
version: 10.2.1 version: 10.2.1
resolution: "ts-node@npm:10.2.1" resolution: "ts-node@npm:10.2.1"