Skip to content

Commit

Permalink
fix(test): up deps, still tsc build
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Oct 17, 2024
1 parent c301c94 commit 36d0b48
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 23 deletions.
21 changes: 11 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@
"dependencies": {
"@restorecommerce/chassis-srv": "^1.6.2",
"@restorecommerce/grpc-client": "^2.2.4",
"@restorecommerce/kafka-client": "^1.2.10",
"@restorecommerce/rc-grpc-clients": "^5.1.32",
"@restorecommerce/kafka-client": "^1.2.14",
"@restorecommerce/rc-grpc-clients": "^5.1.36",
"@restorecommerce/service-config": "^1.0.15",
"lodash": "^4.17.21",
"nice-grpc": "^2.1.9",
"redis": "^4.6.14"
},
"overrides": {
Expand Down Expand Up @@ -54,7 +53,7 @@
"test": "npm run lint && nyc npm run mocha",
"pretest": "npm run build",
"tsctests": "tsc -d -p tsconfig.test.json",
"lint": "eslint 'src/**/*.ts' ",
"lint": "eslint 'src/**/*.ts' --fix",
"mocha": "cross-env NODE_ENV=test; mocha --full-trace --exit --trace-warnings;",
"test-debug": "npm run lint && npm run mocha-debug",
"mocha-debug": "cross-env NODE_ENV=test; mocha --full-trace --inspect-brk",
Expand Down
4 changes: 1 addition & 3 deletions src/core/GraphResourcesServiceBase.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import * as _ from 'lodash';
import { GraphDatabaseProvider, TraversalResponse as DBTraversalResponse } from '@restorecommerce/chassis-srv';
import { createLogger } from '@restorecommerce/logger';
import { Logger } from 'winston';
import { Stream } from 'stream';
import { Logger, createLogger } from '@restorecommerce/logger';
import {
DeepPartial, ServerStreamingMethodResult,
GraphServiceImplementation,
Expand Down
2 changes: 1 addition & 1 deletion src/core/ResourcesAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { DatabaseProvider, GraphDatabaseProvider } from '@restorecommerce/chassi
import { DeepPartial } from '@restorecommerce/rc-grpc-clients/dist/generated-server/io/restorecommerce/attribute';
import { Search } from '@restorecommerce/rc-grpc-clients/dist/generated-server/io/restorecommerce/resource_base';
import { Subject } from '@restorecommerce/rc-grpc-clients/dist/generated-server/io/restorecommerce/auth';
import { fieldHandler } from './utils.js';
import { fieldHandler } from './utils';

let redisClient: any;

Expand Down
2 changes: 1 addition & 1 deletion src/core/ServiceBase.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as _ from 'lodash';
import { toObject } from '../index.js';
import { toObject } from '../index';
import { ResourcesAPIBase } from './ResourcesAPI';
import { Topic } from '@restorecommerce/kafka-client';
import { Logger } from '@restorecommerce/logger';
Expand Down
8 changes: 4 additions & 4 deletions src/core/WorkerBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ import {
Topic,
registerProtoMeta
} from '@restorecommerce/kafka-client';
import { Arango } from '@restorecommerce/chassis-srv/lib/database/provider/arango/base.js';
import { Arango } from '@restorecommerce/chassis-srv/lib/database/provider/arango/base';
import { createLogger } from '@restorecommerce/logger';
import { BindConfig } from '@restorecommerce/chassis-srv/lib/microservice/transport/provider/grpc/index.js';
import { BindConfig } from '@restorecommerce/chassis-srv/lib/microservice/transport/provider/grpc/index';
import {
ProtoMetadata,
protoMetadata as CommandInterfaceMeta,
CommandInterfaceServiceDefinition,
} from '@restorecommerce/rc-grpc-clients/dist/generated-server/io/restorecommerce/commandinterface.js';
import { HealthDefinition } from '@restorecommerce/rc-grpc-clients/dist/generated-server/grpc/health/v1/health.js';
} from '@restorecommerce/rc-grpc-clients/dist/generated-server/io/restorecommerce/commandinterface';
import { HealthDefinition } from '@restorecommerce/rc-grpc-clients/dist/generated-server/grpc/health/v1/health';
import { ServerReflectionService } from 'nice-grpc-server-reflection';
import { ServiceBase } from './ServiceBase';
import { createServiceConfig } from '@restorecommerce/service-config';
Expand Down

0 comments on commit 36d0b48

Please sign in to comment.