Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit 960f384

Browse files
committed
chore: update effect
1 parent eff377a commit 960f384

File tree

6 files changed

+265
-261
lines changed

6 files changed

+265
-261
lines changed

.changeset/chilly-pets-talk.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"effect-pg": minor
3+
---
4+
5+
Update effect.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import { Schema } from "@effect/schema"
3131
import { Effect, pipe } from "effect"
3232
import { PgLayer, PgQuery } from "effect-pg"
3333

34-
const User = Schema.struct({ name: Schema.string })
34+
const User = Schema.Struct({ name: Schema.String })
3535

3636
const createUsersTable = PgQuery.all(
3737
"CREATE TABLE IF NOT EXISTS users (name TEXT NOT NULL)"

examples/example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Schema } from "@effect/schema"
22
import { Effect, pipe } from "effect"
33
import { PgLayer, PgQuery } from "effect-pg"
44

5-
const User = Schema.struct({ name: Schema.string })
5+
const User = Schema.Struct({ name: Schema.String })
66

77
const createUsersTable = PgQuery.all(
88
"CREATE TABLE IF NOT EXISTS users (name TEXT NOT NULL)"

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,28 +45,28 @@
4545
"@effect/docgen": "^0.4.1",
4646
"@effect/eslint-plugin": "^0.1.2",
4747
"@effect/language-service": "^0.1.0",
48-
"@effect/platform": "^0.48.27",
49-
"@effect/platform-node": "^0.45.29",
50-
"@effect/schema": "^0.64.20",
51-
"@typescript-eslint/eslint-plugin": "^7.6.0",
52-
"@typescript-eslint/parser": "^7.6.0",
53-
"@vitest/coverage-v8": "^1.4.0",
48+
"@effect/platform": "^0.48.29",
49+
"@effect/platform-node": "^0.45.31",
50+
"@effect/schema": "^0.65.0",
51+
"@typescript-eslint/eslint-plugin": "^7.7.0",
52+
"@typescript-eslint/parser": "^7.7.0",
53+
"@vitest/coverage-v8": "^1.5.0",
5454
"babel-plugin-annotate-pure-calls": "^0.4.0",
55-
"effect": "2.4.18",
56-
"effect-dotenv": "^0.17.18",
55+
"effect": "2.4.19",
56+
"effect-dotenv": "^0.17.20",
5757
"eslint": "^8.57.0",
5858
"eslint-import-resolver-typescript": "^3.6.1",
5959
"eslint-plugin-codegen": "0.28.0",
6060
"eslint-plugin-deprecation": "^2.0.0",
6161
"eslint-plugin-import": "^2.29.1",
62-
"eslint-plugin-simple-import-sort": "^12.0.0",
62+
"eslint-plugin-simple-import-sort": "^12.1.0",
6363
"eslint-plugin-sort-destructure-keys": "^1.5.0",
6464
"madge": "^7.0.0",
6565
"prettier": "^3.2.5",
6666
"rimraf": "^5.0.5",
6767
"tsx": "^4.7.2",
68-
"typescript": "^5.4.4",
69-
"vitest": "^1.4.0"
68+
"typescript": "^5.4.5",
69+
"vitest": "^1.5.0"
7070
},
7171
"dependencies": {
7272
"@types/pg": "^8.11.5",
@@ -75,7 +75,7 @@
7575
"pg-cursor": "^2.10.5"
7676
},
7777
"peerDependencies": {
78-
"@effect/schema": "^0.64.20",
79-
"effect": "^2.4.18"
78+
"@effect/schema": "^0.65.0",
79+
"effect": "^2.4.19"
8080
}
8181
}

0 commit comments

Comments
 (0)