Skip to content

Commit

Permalink
feat: upgrade schema
Browse files Browse the repository at this point in the history
  • Loading branch information
zwj-cheer committed Oct 7, 2023
1 parent 3a5eda5 commit c999487
Show file tree
Hide file tree
Showing 5 changed files with 531 additions and 520 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: npm install

- name: Install PeerDeps
run: npm i fastify @effect/schema @effect/data
run: npm i fastify effect

- name: Run tests
run: npm test
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
```js
import Fastify from "fastify";
import { serializerCompiler, validatorCompiler, EffectSchemaTypeProvider } from "fastify-type-provider-effect-schema";
import { pipe } from "@effect/data/Function";
import { pipe } from "effect";
import * as S from "@effect/schema/Schema";

const app = Fastify()
Expand Down Expand Up @@ -44,7 +44,7 @@ app.listen({ port: 4949 });
import fastify from 'fastify';
import fastifySwagger from '@fastify/swagger';
import fastifySwaggerUI from '@fastify/swagger-ui';
import { pipe } from "@effect/data/Function";
import { pipe } from "effect";
import * as S from "@effect/schema/Schema";

import {
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
},
"homepage": "https://github.com/daotl/fastify-type-provider-effect-schema",
"resolutions": {
"@effect/data": "^0.12.2",
"@effect/schema": "^0.17.2"
"effect": "2.0.0-next.47",
"@effect/schema": "^0.42.0"
},
"devDependencies": {
"@daotl/rome-config": "0.0.1-alpha.4",
"@effect/data": "^0.12.2",
"@effect/schema": "^0.17.2",
"effect": "2.0.0-next.47",
"@effect/schema": "^0.42.0",
"@types/jest": "^29.5.1",
"@types/node": "^18.16.0",
"fastify": "^4.15.0",
Expand Down

0 comments on commit c999487

Please sign in to comment.