Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update dependencies #189

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
PGPASSWORD: postgres
PGHOST: localhost
PGDATABASE: postgres
- run: pnpm typecheck
- run: pnpm build
- run: pnpm lint
- run: pnpm run prettier
Expand Down
12 changes: 6 additions & 6 deletions demos/basic-migrations-raw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
"name": "@ts-safeql-demos/basic-migrations-raw",
"version": "0.0.0",
"scripts": {
"build": "tsc",
"typecheck": "tsc",
"watch": "tsc --watch",
"lint": "eslint src",
"lint!": "eslint src --fix"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.39.0",
"typescript": "^5.0.4"
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.52.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@ts-safeql-demos/shared": "workspace:*",
"@ts-safeql/eslint-plugin": "workspace:*",
"postgres": "^3.3.4"
"postgres": "^3.4.0"
}
}
16 changes: 8 additions & 8 deletions demos/basic-transform-type/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
"name": "@ts-safeql-demos/basic-transform-type",
"version": "0.0.0",
"scripts": {
"build": "tsc",
"typecheck": "tsc",
"watch": "tsc --watch",
"setup": "tsx src/setup.ts",
"lint": "eslint src",
"lint!": "eslint src --fix"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.39.0",
"tsx": "^3.12.6",
"typescript": "^5.0.4"
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.52.0",
"tsx": "^3.14.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@ts-safeql-demos/shared": "workspace:*",
"@ts-safeql/eslint-plugin": "workspace:*",
"@types/node": "^18.15.11",
"postgres": "^3.3.4"
"@types/node": "^20.8.7",
"postgres": "^3.4.0"
}
}
16 changes: 8 additions & 8 deletions demos/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
"name": "@ts-safeql-demos/basic",
"version": "0.0.0",
"scripts": {
"build": "tsc",
"typecheck": "tsc",
"watch": "tsc --watch",
"setup": "tsx src/setup.ts",
"lint": "eslint src",
"lint!": "eslint src --fix"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.39.0",
"tsx": "^3.12.6",
"typescript": "^5.0.4"
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.52.0",
"tsx": "^3.14.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@ts-safeql-demos/shared": "workspace:*",
"@ts-safeql/eslint-plugin": "workspace:*",
"@types/node": "^18.15.11",
"postgres": "^3.3.4"
"@types/node": "^20.8.7",
"postgres": "^3.4.0"
}
}
16 changes: 8 additions & 8 deletions demos/big-project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
"name": "@ts-safeql-demos/big-project",
"version": "0.0.0",
"scripts": {
"build": "tsc",
"typecheck": "tsc",
"watch": "tsc --watch",
"setup": "tsx src/setup.ts",
"test": "tsx src/test.ts",
"lint": "eslint src",
"lint!": "eslint src --fix"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.39.0",
"tsx": "^3.12.6",
"typescript": "^5.0.4"
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.52.0",
"tsx": "^3.14.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@ts-safeql/eslint-plugin": "workspace:*",
"@types/node": "^18.15.11",
"postgres": "^3.3.4"
"@types/node": "^20.8.7",
"postgres": "^3.4.0"
}
}
16 changes: 8 additions & 8 deletions demos/from-config-file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
"name": "@ts-safeql-demos/from-config-file",
"version": "0.0.0",
"scripts": {
"build": "tsc",
"typecheck": "tsc",
"watch": "tsc --watch",
"setup": "tsx src/setup.ts",
"lint": "eslint src",
"lint!": "eslint src --fix"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.39.0",
"tsx": "^3.12.6",
"typescript": "^5.0.4"
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.52.0",
"tsx": "^3.14.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@ts-safeql/eslint-plugin": "workspace:*",
"@types/node": "^18.15.11",
"postgres": "^3.3.4"
"@types/node": "^20.8.7",
"postgres": "^3.4.0"
}
}
12 changes: 6 additions & 6 deletions demos/multi-connections/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
"name": "@ts-safeql-demos/multi-connections",
"version": "0.0.0",
"scripts": {
"build": "tsc",
"typecheck": "tsc",
"watch": "tsc --watch",
"lint": "eslint src",
"lint!": "eslint src --fix"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.39.0",
"typescript": "^5.0.4"
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.52.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@ts-safeql-demos/shared": "workspace:*",
"@ts-safeql/eslint-plugin": "workspace:*",
"postgres": "^3.3.4"
"postgres": "^3.4.0"
}
}
16 changes: 8 additions & 8 deletions demos/postgresjs-custom-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
"name": "@ts-safeql-demos/postgresjs-custom-types",
"version": "0.0.0",
"scripts": {
"build": "tsc",
"typecheck": "tsc",
"watch": "tsc --watch",
"lint": "eslint src",
"lint!": "eslint src --fix"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.39.0",
"tsx": "^3.12.6",
"typescript": "^5.0.4"
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.52.0",
"tsx": "^3.14.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@js-joda/core": "^5.5.3",
"@js-joda/core": "^5.6.1",
"@ts-safeql-demos/shared": "workspace:*",
"@ts-safeql/eslint-plugin": "workspace:*",
"postgres": "^3.3.4"
"postgres": "^3.4.0"
}
}
16 changes: 8 additions & 8 deletions demos/postgresjs-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
"name": "@ts-safeql-demos/postgresjs-demo",
"version": "0.0.0",
"scripts": {
"build": "tsc",
"typecheck": "tsc",
"watch": "tsc --watch",
"setup": "tsx src/setup.ts",
"lint": "eslint src",
"lint!": "eslint src --fix"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.39.0",
"tsx": "^3.12.6",
"typescript": "^5.0.4"
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.52.0",
"tsx": "^3.14.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@ts-safeql-demos/shared": "workspace:*",
"@ts-safeql/eslint-plugin": "workspace:*",
"@types/node": "^18.15.11",
"postgres": "^3.3.4"
"@types/node": "^20.8.7",
"postgres": "^3.4.0"
}
}
20 changes: 10 additions & 10 deletions demos/prisma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ts-safeql-demos/prisma-demo",
"version": "0.0.0",
"scripts": {
"build": "tsc",
"typecheck": "tsc",
"watch": "tsc --watch",
"setup": "tsx src/setup.ts",
"test": "tsx src/prisma.test.ts",
Expand All @@ -12,17 +12,17 @@
},
"devDependencies": {
"@ts-safeql/eslint-plugin": "workspace:*",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"@types/node": "^20.8.7",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"conditional-type-checks": "1.0.6",
"eslint": "^8.39.0",
"tsx": "3.12.6",
"typescript": "^5.0.4"
"eslint": "^8.52.0",
"tsx": "3.14.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@prisma/client": "4.12.0",
"dotenv": "16.0.3",
"prisma": "4.12.0"
"@prisma/client": "5.4.2",
"dotenv": "16.3.1",
"prisma": "5.4.2"
}
}
4 changes: 2 additions & 2 deletions demos/prisma/src/prisma.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async function run() {
test(`SELECT id FROM "User" LIMIT 1`, async () => {
return assert.deepEqual(
await prisma.$queryRaw<{ id: number }[]>`SELECT id FROM "User" LIMIT 1`,
await prisma.user.findMany({ select: { id: true }, take: 1 })
await prisma.user.findMany({ select: { id: true }, take: 1 }),
);
});

Expand All @@ -21,7 +21,7 @@ async function run() {
await prisma.$queryRaw<
{ id: number; createdAt: Date; email: string; name: string | null }[]
>`SELECT * FROM "User"`,
await prisma.user.findMany()
await prisma.user.findMany(),
);
});
}
Expand Down
6 changes: 3 additions & 3 deletions demos/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "@ts-safeql-demos/shared",
"version": "0.0.0",
"devDependencies": {
"typescript": "^5.0.4"
"typescript": "^5.2.2"
},
"dependencies": {
"@types/node": "^18.15.11",
"postgres": "^3.3.4"
"@types/node": "^20.8.7",
"postgres": "^3.4.0"
}
}
20 changes: 10 additions & 10 deletions demos/typeorm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ts-safeql-demos/typeorm",
"version": "0.0.0",
"scripts": {
"build": "tsc",
"typecheck": "tsc",
"watch": "tsc --watch",
"setup": "tsx src/setup.ts",
"lint": "eslint src",
Expand All @@ -11,19 +11,19 @@
"typeorm": "typeorm-ts-node-commonjs"
},
"devDependencies": {
"@types/pg": "^8.6.6",
"@types/node": "^16.11.10",
"@ts-safeql/eslint-plugin": "workspace:*",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.39.0",
"tsx": "^3.12.6",
"typescript": "^5.0.4",
"ts-node": "10.7.0"
"@types/node": "^20.8.7",
"@types/pg": "^8.10.7",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.52.0",
"ts-node": "10.9.1",
"tsx": "^3.14.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@ts-safeql/sql-tag": "workspace:*",
"pg": "^8.4.0",
"pg": "^8.11.3",
"reflect-metadata": "^0.1.13",
"typeorm": "0.3.17"
}
Expand Down
2 changes: 1 addition & 1 deletion demos/typeorm/src/entity/Person.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Column, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn } from "typeorm";
import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";

@Entity("person")
export class Person {
Expand Down
1 change: 0 additions & 1 deletion demos/typeorm/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "../../tsconfig.node.json",
"compilerOptions": {
"outDir": "./lib",
"strictPropertyInitialization": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
Expand Down