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 #660

Merged
merged 6 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@
"@babel/plugin-transform-export-namespace-from": "^7.24.7",
"@babel/plugin-transform-modules-commonjs": "^7.24.8",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.3",
"@changesets/cli": "^2.27.7",
"@effect/build-utils": "^0.7.7",
"@effect/docgen": "^0.4.3",
"@effect/dtslint": "^0.1.0",
"@effect/eslint-plugin": "^0.2.0",
"@effect/language-service": "^0.1.0",
"@effect/vitest": "^0.8.0",
"@types/node": "^22.0.0",
"@effect/vitest": "^0.8.5",
"@types/node": "^22.3.0",
"@types/swagger-ui-dist": "^3.30.5",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@typescript-eslint/eslint-plugin": "^8.1.0",
"@typescript-eslint/parser": "^8.1.0",
"@vitest/coverage-v8": "^2.0.5",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"eslint": "^8.57.0",
Expand All @@ -46,21 +46,21 @@
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-sort-destructure-keys": "^2.0.0",
"glob": "^11.0.0",
"madge": "^7.0.0",
"madge": "^8.0.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"tsx": "^4.16.3",
"tsx": "^4.17.0",
"typescript": "^5.5.4",
"vitest": "^2.0.5"
},
"pnpm": {
"patchedDependencies": {
"@changesets/[email protected]": "patches/@[email protected]"
},
"updateConfig": {
"ignoreDependencies": [
"eslint"
]
},
"patchedDependencies": {
"@changesets/[email protected]": "patches/@[email protected]"
}
}
}
1 change: 1 addition & 0 deletions packages/effect-http-node/examples/new-api.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-empty-object-type */
import { Schema } from "@effect/schema"
import { pipe } from "effect"
import { Api, ApiGroup, ApiResponse, Security } from "effect-http"
Expand Down
4 changes: 2 additions & 2 deletions packages/effect-http-node/examples/unexpected-error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export const api = Api.make({ title: "Example API" }).pipe(
)
)

class MyError extends Data.TaggedError("MyError")<{}> {}
class MyError extends Data.TaggedError("MyError")<{ message: string }> {}

export const app = RouterBuilder.make(api).pipe(
RouterBuilder.handle(
"root",
() => Effect.fail(new MyError())
() => Effect.fail(new MyError({ message: "Unexpected error" }))
),
RouterBuilder.build
)
Expand Down
18 changes: 9 additions & 9 deletions packages/effect-http-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@
"swagger-ui-dist": "^5.17.14"
},
"peerDependencies": {
"@effect/platform": "^0.61.0",
"@effect/platform-node": "^0.56.0",
"@effect/schema": "^0.70.0",
"@effect/platform": "^0.62.0",
"@effect/platform-node": "^0.57.0",
"@effect/schema": "^0.71.0",
"effect": "^3.6.0",
"effect-http": "workspace:^"
},
"devDependencies": {
"@effect/platform": "^0.61.1",
"@effect/platform-bun": "^0.41.1",
"@effect/platform-node": "^0.56.1",
"@effect/schema": "^0.70.0",
"@types/node": "^22.0.0",
"effect": "^3.6.0",
"@effect/platform": "^0.62.0",
"@effect/platform-bun": "^0.42.0",
"@effect/platform-node": "^0.57.0",
"@effect/schema": "^0.71.0",
"@types/node": "^22.3.0",
"effect": "^3.6.4",
"effect-http": "workspace:^"
}
}
1 change: 1 addition & 0 deletions packages/effect-http-node/test/examples.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-empty-object-type */
import * as Schema from "@effect/schema/Schema"
import { Api, ApiResponse, ApiSchema, Representation } from "effect-http"

Expand Down
10 changes: 5 additions & 5 deletions packages/effect-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
"coverage": "vitest --coverage"
},
"peerDependencies": {
"@effect/platform": "^0.61.0",
"@effect/schema": "^0.70.0",
"@effect/platform": "^0.62.0",
"@effect/schema": "^0.71.0",
"effect": "^3.6.0"
},
"devDependencies": {
"@apidevtools/swagger-parser": "^10.1.0",
"@effect/platform": "^0.61.1",
"@effect/schema": "^0.70.0",
"effect": "^3.6.0"
"@effect/platform": "^0.62.0",
"@effect/schema": "^0.71.0",
"effect": "^3.6.4"
}
}
1 change: 1 addition & 0 deletions packages/effect-http/src/ApiRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export type TypeId = typeof TypeId
* @category models
* @since 1.0.0
*/
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
export interface ApiRequest<B, P, Q, H, R> extends ApiRequest.Variance<B, P, Q, H, R> {}

/**
Expand Down
4 changes: 2 additions & 2 deletions packages/effect-http/src/ClientError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export type ClientError<S extends number = number> =
* @since 1.0.0
*/
export interface ClientErrorClientSide extends Cause.YieldableError {
readonly [ClientSideErrorTypeId]: {}
readonly [ClientSideErrorTypeId]: object
readonly _tag: "ClientError"
readonly message: string
readonly error: unknown
Expand All @@ -57,7 +57,7 @@ export interface ClientErrorClientSide extends Cause.YieldableError {
* @since 1.0.0
*/
export interface ClientErrorServerSide<S extends number = number> extends Cause.YieldableError {
readonly [ServerSideErrorTypeId]: {}
readonly [ServerSideErrorTypeId]: object
readonly _tag: "ClientError"
readonly message: string
readonly error: unknown
Expand Down
2 changes: 1 addition & 1 deletion packages/effect-http/src/HttpError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export declare namespace HttpError {
* @since 1.0.0
*/
export interface Variance {
readonly [TypeId]: {}
readonly [TypeId]: object
}

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/effect-http/src/OpenApiTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ export interface OpenAPISchemaObjectType {
* @category models
* @since 1.0.0
*/
export type OpenAPISchemaAnyType = {}
export type OpenAPISchemaAnyType = object

/**
* @category models
Expand Down
2 changes: 1 addition & 1 deletion packages/effect-http/src/internal/clientResponseParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const representationFromResponse = (
response: HttpClientResponse.HttpClientResponse
): Representation.Representation => {
if (representations.length === 0) {
representations[0]
return representations[0]
}

const contentType = response.headers["content-type"]
Expand Down
2 changes: 1 addition & 1 deletion packages/effect-http/src/internal/serverResponseEncoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const representationFromRequest = (
request: HttpServerRequest.HttpServerRequest
): Representation.Representation => {
if (representations.length === 0) {
representations[0]
return representations[0]
}

const accept = request.headers["accept"]
Expand Down
1 change: 1 addition & 0 deletions packages/effect-http/test/examples.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-empty-object-type */
import * as Schema from "@effect/schema/Schema"
import { pipe } from "effect"
import { Api, ApiResponse, ApiSchema, QuerySchema, Representation, Security } from "effect-http"
Expand Down
8 changes: 4 additions & 4 deletions [email protected][email protected]
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/dist/changesets-assemble-release-plan.cjs.js b/dist/changesets-assemble-release-plan.cjs.js
index ee5c0f67fabadeb112e9f238d8b144a4d125830f..42afcbce044a2949d6242af0a6c5abffcd2a51ad 100644
index 60427457c887f2d72168fecec83d79088c68e3a4..007c3509417baed7ef15a1c6dafecbd57c704fd8 100644
--- a/dist/changesets-assemble-release-plan.cjs.js
+++ b/dist/changesets-assemble-release-plan.cjs.js
@@ -90,16 +90,6 @@ function determineDependents({
@@ -180,16 +180,6 @@ function determineDependents({
} of dependencyVersionRanges) {
if (nextRelease.type === "none") {
continue;
Expand All @@ -20,10 +20,10 @@ index ee5c0f67fabadeb112e9f238d8b144a4d125830f..42afcbce044a2949d6242af0a6c5abff
switch (depType) {
case "dependencies":
diff --git a/dist/changesets-assemble-release-plan.esm.js b/dist/changesets-assemble-release-plan.esm.js
index bf5202626a164a7780650d333983c3479b078689..27eea4d1d31c0e7ce8d56363c5a3437bbeb819a0 100644
index f6583cf3f639e1fe4df764a015689dea74127236..c6c843f7912c01dc74bba4c98bcf656d2d37914b 100644
--- a/dist/changesets-assemble-release-plan.esm.js
+++ b/dist/changesets-assemble-release-plan.esm.js
@@ -79,16 +79,6 @@ function determineDependents({
@@ -169,16 +169,6 @@ function determineDependents({
} of dependencyVersionRanges) {
if (nextRelease.type === "none") {
continue;
Expand Down
Loading