Skip to content
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
33 changes: 33 additions & 0 deletions .changeset/slimy-melons-admire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
"@effect/sql-sqlite-react-native": patch
"@effect/openapi-generator": patch
"@effect/platform-node-shared": patch
"@effect/ai-openai-compat": patch
"@effect/platform-browser": patch
"@effect/sql-sqlite-node": patch
"@effect/sql-sqlite-wasm": patch
"@effect/sql-clickhouse": patch
"@effect/sql-sqlite-bun": patch
"@effect/ai-openrouter": patch
"@effect/opentelemetry": patch
"@effect/platform-deno": patch
"@effect/platform-node": patch
"@effect/sql-sqlite-do": patch
"@effect/ai-anthropic": patch
"@effect/platform-bun": patch
"@effect/docgen": patch
"@effect/atom-react": patch
"@effect/atom-solid": patch
"@effect/sql-libsql": patch
"@effect/sql-mysql2": patch
"@effect/sql-pglite": patch
"@effect/ai-openai": patch
"@effect/sql-mssql": patch
"@effect/atom-vue": patch
"effect": patch
"@effect/sql-d1": patch
"@effect/sql-pg": patch
"@effect/vitest": patch
---

Removed explicit ./index entrypoints
2 changes: 1 addition & 1 deletion ai-docs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../tsconfig.base.json",
"include": ["src/**/*.ts", "src/**/*.tsx"],
"compilerOptions": {
Expand Down
31 changes: 15 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
"changeset-publish": "pnpm codemod && pnpm build && changeset publish"
},
"devDependencies": {
"@babel/cli": "^7.29.7",
"@babel/core": "^7.29.7",
"@babel/plugin-transform-export-namespace-from": "^7.29.7",
"@babel/plugin-transform-modules-commonjs": "^7.29.7",
"@babel/cli": "^8.0.4",
"@babel/core": "^8.0.1",
"@babel/plugin-transform-export-namespace-from": "^8.0.1",
"@babel/plugin-transform-modules-commonjs": "^8.0.1",
"@changesets/changelog-github": "^0.7.0",
"@changesets/cli": "^2.31.1",
"@effect/ai-docgen": "workspace:^",
Expand All @@ -51,11 +51,11 @@
"@rollup/plugin-replace": "^6.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@types/jscodeshift": "^17.3.0",
"@types/node": "^25.9.5",
"@vitest/browser": "4.1.10",
"@vitest/coverage-v8": "4.1.10",
"@vitest/expect": "4.1.10",
"@vitest/web-worker": "4.1.10",
"@types/node": "^26.1.2",
"@vitest/browser": "^4.1.10",
"@vitest/coverage-v8": "^4.1.10",
"@vitest/expect": "^4.1.10",
"@vitest/web-worker": "^4.1.10",
"ast-types": "^0.14.2",
"babel-plugin-annotate-pure-calls": "^0.5.0",
"dprint": "^0.55.2",
Expand All @@ -64,19 +64,18 @@
"jscodeshift": "^17.4.0",
"lalph": "^0.3.139",
"madge": "^8.0.0",
"oxlint": "1.42.0",
"playwright": "^1.61.1",
"rollup": "^4.62.2",
"oxlint": "^1.76.0",
"playwright": "^1.62.0",
"rollup": "^4.62.3",
"rollup-plugin-bundle-stats": "^4.22.2",
"rollup-plugin-esbuild": "^6.2.1",
"rollup-plugin-visualizer": "^7.0.1",
"terser": "^5.49.0",
"tstyche": "^7.2.2",
"typescript": "^7.0.2",
"vite": "^7.3.6",
"vite-tsconfig-paths": "^6.1.1",
"vitest": "4.1.10",
"vitest-websocket-mock": "^0.5.0",
"vite": "^8.1.5",
"vitest": "^4.1.10",
"vitest-websocket-mock": "^0.7.0",
"zod": "^4.4.3"
}
}
2 changes: 2 additions & 0 deletions packages/ai/anthropic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
".": "./src/index.ts",
"./*": "./src/*.ts",
"./internal/*": null,
"./index": null,
"./*/index": null
},
"files": [
Expand All @@ -46,6 +47,7 @@
".": "./dist/index.js",
"./*": "./dist/*.js",
"./internal/*": null,
"./index": null,
"./*/index": null
}
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ai/anthropic/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../../../tsconfig.base.json",
"include": ["src"],
"references": [
Expand Down
2 changes: 2 additions & 0 deletions packages/ai/openai-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
".": "./src/index.ts",
"./*": "./src/*.ts",
"./internal/*": null,
"./index": null,
"./*/index": null
},
"files": [
Expand All @@ -48,6 +49,7 @@
".": "./dist/index.js",
"./*": "./dist/*.js",
"./internal/*": null,
"./index": null,
"./*/index": null
}
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ai/openai-compat/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../../../tsconfig.base.json",
"include": ["src"],
"references": [
Expand Down
2 changes: 2 additions & 0 deletions packages/ai/openai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
".": "./src/index.ts",
"./*": "./src/*.ts",
"./internal/*": null,
"./index": null,
"./*/index": null
},
"files": [
Expand All @@ -46,6 +47,7 @@
".": "./dist/index.js",
"./*": "./dist/*.js",
"./internal/*": null,
"./index": null,
"./*/index": null
}
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ai/openai/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../../../tsconfig.base.json",
"include": ["src"],
"references": [
Expand Down
2 changes: 2 additions & 0 deletions packages/ai/openrouter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
".": "./src/index.ts",
"./*": "./src/*.ts",
"./internal/*": null,
"./index": null,
"./*/index": null
},
"files": [
Expand All @@ -46,6 +47,7 @@
".": "./dist/index.js",
"./*": "./dist/*.js",
"./internal/*": null,
"./index": null,
"./*/index": null
}
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ai/openrouter/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../../../tsconfig.base.json",
"include": ["src"],
"references": [
Expand Down
6 changes: 4 additions & 2 deletions packages/atom/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
".": "./src/index.ts",
"./*": "./src/*.ts",
"./internal/*": null,
"./index": null,
"./*/index": null
},
"files": [
Expand All @@ -46,6 +47,7 @@
".": "./dist/index.js",
"./*": "./dist/*.js",
"./internal/*": null,
"./index": null,
"./*/index": null
}
},
Expand All @@ -63,13 +65,13 @@
},
"devDependencies": {
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/jest-dom": "^7.0.0",
"@testing-library/react": "^16.3.2",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.2",
"@types/scheduler": "^0.26.0",
"effect": "workspace:^",
"jsdom": "^29.1.1",
"jsdom": "^30.0.0",
"react": "19.2.7",
"react-dom": "19.2.7",
"react-error-boundary": "^6.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/atom/react/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../../../tsconfig.base.json",
"include": ["src"],
"references": [
Expand Down
6 changes: 4 additions & 2 deletions packages/atom/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
".": "./src/index.ts",
"./*": "./src/*.ts",
"./internal/*": null,
"./index": null,
"./*/index": null
},
"files": [
Expand All @@ -46,6 +47,7 @@
".": "./dist/index.js",
"./*": "./dist/*.js",
"./internal/*": null,
"./index": null,
"./*/index": null
}
},
Expand All @@ -63,9 +65,9 @@
"devDependencies": {
"@solidjs/testing-library": "^0.8.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/jest-dom": "^7.0.0",
"effect": "workspace:^",
"jsdom": "^29.1.1",
"jsdom": "^30.0.0",
"solid-js": "^1.9.14"
}
}
2 changes: 1 addition & 1 deletion packages/atom/solid/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../../../tsconfig.base.json",
"include": ["src"],
"references": [
Expand Down
3 changes: 0 additions & 3 deletions packages/atom/solid/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ export default mergeConfig(shared, {
resolve: {
conditions: ["browser"]
},
esbuild: {
target: "es2022"
},
test: {
environment: "jsdom",
setupFiles: ["./vitest.setup.ts"]
Expand Down
2 changes: 2 additions & 0 deletions packages/atom/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
".": "./src/index.ts",
"./*": "./src/*.ts",
"./internal/*": null,
"./index": null,
"./*/index": null
},
"files": [
Expand All @@ -46,6 +47,7 @@
".": "./dist/index.js",
"./*": "./dist/*.js",
"./internal/*": null,
"./index": null,
"./*/index": null
}
},
Expand Down
2 changes: 1 addition & 1 deletion packages/atom/vue/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../../../tsconfig.base.json",
"include": ["src"],
"references": [
Expand Down
6 changes: 4 additions & 2 deletions packages/effect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@
"./unstable/workflow": "./src/unstable/workflow/index.ts",
"./unstable/workers": "./src/unstable/workers/index.ts",
"./*": "./src/*.ts",
"./internal/*": null,
"./unstable/cli/internal/*": null,
"./unstable/cluster/internal/*": null,
"./internal/*": null,
"./index": null,
Comment thread
fubhy marked this conversation as resolved.
"./*/index": null
},
"files": [
Expand Down Expand Up @@ -90,6 +91,7 @@
"./internal/*": null,
"./unstable/cli/internal/*": null,
"./unstable/cluster/internal/*": null,
"./index": null,
"./*/index": null
}
},
Expand All @@ -103,7 +105,7 @@
},
"devDependencies": {
"@types/ini": "^4.1.1",
"@types/node": "^26.1.1",
"@types/node": "^26.1.2",
"ajv": "^8.20.0",
"ast-types": "^0.14.2",
"immer": "^11.1.11",
Expand Down
2 changes: 1 addition & 1 deletion packages/effect/src/unstable/cluster/Sharding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ const make = Effect.gen(function*() {
const resumptionState = Option.getOrThrow(MutableHashMap.get(entityResumptionState, address))
let done = false

while (!done) {
while (!done) { // oxlint-disable-line no-unmodified-loop-condition
// if the shard is no longer assigned to this runner, we stop
if (!MutableHashSet.has(acquiredShards, address.shardId)) {
return
Expand Down
7 changes: 2 additions & 5 deletions packages/effect/test/Formatter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,13 @@ describe("Formatter", () => {
it("function", () => {
strictEqual(
format(() => {}),
`() => {
}`
`() => {}`
)
strictEqual(
format(() => {
return 1
}),
`() => {
return 1;
}`
`() => {\n\t\t\t\treturn 1;\n\t\t\t}`
)
})

Expand Down
2 changes: 1 addition & 1 deletion packages/effect/test/cluster/Entity.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { assert, describe, it } from "@effect/vitest"
import { type Cause, Effect, Queue, Schema, Stream } from "effect"
import { Entity, ShardingConfig } from "effect/unstable/cluster"
import { Rpc } from "effect/unstable/rpc/index"
import { Rpc } from "effect/unstable/rpc"
import { CallerId, ContextBleedEntity, ContextBleedLayer, TestEntity, TestEntityLayer, User } from "./TestEntity.ts"

const StreamEntity = Entity.make("StreamEntity", [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ describe("SchemaRepresentation.fromJson", () => {
const input = () => undefined
throws(
() => SchemaRepresentation.fromJson(input as never),
`Expected object, got () => void 0`
`Expected object, got () => undefined`
)
})

Expand Down
2 changes: 1 addition & 1 deletion packages/effect/test/unstable/cli/Primitive.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { assert, describe, it } from "@effect/vitest"
import { Effect, FileSystem, Layer, Path, PlatformError, Redacted, Stdio } from "effect"
import { TestConsole } from "effect/testing/index"
import { TestConsole } from "effect/testing"
import { Primitive } from "effect/unstable/cli"
import { ChildProcessSpawner } from "effect/unstable/process"
import * as MockTerminal from "./services/MockTerminal.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/effect/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../../tsconfig.base.json",
"include": ["src"],
"compilerOptions": {
Expand Down
Loading
Loading