Skip to content

Commit 6bc461c

Browse files
authored
fix: remove warnings from package install (#230)
1 parent 68fda3c commit 6bc461c

File tree

4 files changed

+864
-2025
lines changed

4 files changed

+864
-2025
lines changed

jest.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { pathsToModuleNameMapper } from 'ts-jest/utils';
1+
import { pathsToModuleNameMapper } from 'ts-jest';
22
import { compilerOptions } from './tsconfig.json';
33

44
module.exports = {
@@ -8,5 +8,7 @@ module.exports = {
88
roots: ['<rootDir>'],
99
coveragePathIgnorePatterns: ['src/gen/'],
1010
modulePaths: [compilerOptions.baseUrl],
11-
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths,/*, { prefix: '<rootDir>/' } */),
11+
moduleNameMapper: pathsToModuleNameMapper(
12+
compilerOptions.paths /*, { prefix: '<rootDir>/' } */
13+
),
1214
};

package.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,6 @@
3434
"dependencies": {
3535
"@grpc/grpc-js": "1.10.0",
3636
"@nitric/grpc-error-status": "^0.0.2",
37-
"@opentelemetry/api": "^1.4.1",
38-
"@opentelemetry/exporter-trace-otlp-http": "^0.48.0",
39-
"@opentelemetry/instrumentation": "^0.48.0",
40-
"@opentelemetry/instrumentation-grpc": "^0.48.0",
41-
"@opentelemetry/instrumentation-http": "^0.48.0",
42-
"@opentelemetry/resources": "^1.21.0",
43-
"@opentelemetry/sdk-trace-node": "^1.21.0",
44-
"@opentelemetry/semantic-conventions": "^1.21.0",
4537
"google-protobuf": "3.14.0",
4638
"portfinder": "^1.0.32",
4739
"tslib": "^2.1.0"
@@ -57,7 +49,7 @@
5749
},
5850
"devDependencies": {
5951
"@types/google-protobuf": "^3.15.6",
60-
"@types/jest": "^26.0.15",
52+
"@types/jest": "^29.5.12",
6153
"@types/node": "^20.11.17",
6254
"@typescript-eslint/eslint-plugin": "^4.22.0",
6355
"@typescript-eslint/parser": "^4.22.0",
@@ -67,13 +59,13 @@
6759
"glob-run": "^0.1.7",
6860
"grpc-tools": "^1.11.3",
6961
"husky": "^6.0.0",
70-
"jest": "^26.6.1",
62+
"jest": "^29.0.10",
7163
"license-check-and-add": "^4.0.2",
7264
"licensee": "^8.2.0",
7365
"lint-staged": "^10.5.4",
7466
"prettier": "^2.2.1",
7567
"standard-version": "^9.0.0",
76-
"ts-jest": "^26.4.3",
68+
"ts-jest": "^29.1.5",
7769
"ts-node": "^10.9.1",
7870
"ts-protoc-gen": "^0.15.0",
7971
"tsconfig-paths": "^4.2.0",

src/traceProvider.ts

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)