Skip to content

Commit ed40d7d

Browse files
committed
fixes
1 parent 1dcf410 commit ed40d7d

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
"build": "yarn clean && yarn build:lib && yarn build:cli && yarn build:server && yarn build:pg-server",
2020
"build:references": "tsc --build",
2121
"test": "jest",
22-
"test:lib": "cd packages/lib && npm test",
23-
"test:lib:unit": "cd packages/lib && npm run test:unit",
24-
"test:lib:integration": "cd packages/lib && npm run test:integration",
25-
"test:cli": "cd packages/cli && npm test",
26-
"test:server": "cd packages/server && npm test",
27-
"test:pg-server": "cd packages/postgres-server && npm test",
28-
"test:all": "npm run test:lib && npm run test:cli && npm run test:server && npm run test:pg-server",
22+
"test:lib": "cd packages/lib && yarn test",
23+
"test:lib:unit": "cd packages/lib && yarn test:unit",
24+
"test:lib:integration": "cd packages/lib && yarn test:integration",
25+
"test:cli": "cd packages/cli && yarn test",
26+
"test:server": "cd packages/server && yarn test",
27+
"test:pg-server": "cd packages/postgres-server && yarn test",
28+
"test:all": "yarn test:lib && yarn test:cli && yarn test:server && yarn test:pg-server",
2929
"typecheck": "cd packages/lib && npx tsc --noEmit && cd ../cli && npx tsc --noEmit && cd ../server && npx tsc --noEmit && cd ../postgres-server && npx tsc --noEmit",
3030
"lint": "eslint --ext .ts packages/*/src",
3131
"lint:fix": "eslint --ext .ts --fix packages/*/src",

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"scripts": {
1010
"clean": "rm -rf dist",
11-
"build": "npm run clean && tsc",
11+
"build": "yarn clean && tsc",
1212
"typecheck": "tsc --noEmit",
1313
"start": "ts-node src/cli.ts",
1414
"test": "jest"

packages/cli/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env node
22

33
import { MongoClient } from 'mongodb';
4-
import { QueryLeaf } from '../../lib/dist/index';
4+
import { QueryLeaf } from '@queryleaf/lib';
55
import yargs from 'yargs';
66
import { hideBin } from 'yargs/helpers';
77
import readline from 'readline';

packages/lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"types": "dist/index.d.ts",
77
"scripts": {
88
"clean": "rm -rf dist",
9-
"build": "npm run clean && tsc",
9+
"build": "yarn clean && tsc",
1010
"typecheck": "tsc --noEmit",
1111
"dev": "ts-node src/index.ts",
1212
"example": "ts-node src/examples/basic-usage.ts",

packages/postgres-server/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
},
99
"scripts": {
1010
"clean": "rm -rf dist",
11-
"build": "npm run clean && tsc",
11+
"build": "yarn clean && tsc",
1212
"typecheck": "tsc --noEmit",
1313
"start": "ts-node src/pg-server.ts",
14-
"test": "npm run test:unit && npm run test:integration",
14+
"test": "yarn test:unit && yarn test:integration",
1515
"test:unit": "jest tests/unit",
1616
"test:integration": "jest tests/integration --runInBand",
1717
"example:protocol": "DEBUG=queryleaf:* ts-node examples/protocol-example.ts"

packages/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"scripts": {
1010
"clean": "rm -rf dist",
11-
"build": "npm run clean && tsc",
11+
"build": "yarn clean && tsc",
1212
"typecheck": "tsc --noEmit",
1313
"start": "ts-node src/server.ts",
1414
"test": "jest"

packages/server/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import bodyParser from 'body-parser';
88
import { rateLimit } from 'express-rate-limit';
99
// Removed swagger-ui-express import
1010
import { MongoClient } from 'mongodb';
11-
import { QueryLeaf } from '../../lib/dist/index';
11+
import { QueryLeaf } from '@queryleaf/lib';
1212
import yargs from 'yargs';
1313
import { hideBin } from 'yargs/helpers';
1414

0 commit comments

Comments
 (0)