Skip to content

Commit

Permalink
update internal effect version to 3 (#54)
Browse files Browse the repository at this point in the history
mattiamanzati authored Jan 21, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 5411bf1 commit 19e5a77
Showing 19 changed files with 362 additions and 212 deletions.
6 changes: 6 additions & 0 deletions .changeset/cuddly-mangos-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@effect/language-service": minor
---

- Update internal version of effect from 2.x beta to 3.12.5
- Remove adapter from gen refactors
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@
},
"eslint.validate": ["markdown", "javascript", "typescript"],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"editor.quickSuggestions": {
"other": true,
@@ -38,7 +38,7 @@
"editor.tabCompletion": "off",
"editor.suggest.localityBonus": true,
"editor.suggestSelection": "recentlyUsed",
"editor.wordBasedSuggestions": true,
"editor.wordBasedSuggestions": "matchingDocuments",
"editor.parameterHints.enabled": true,
"files.insertFinalNewline": true
}
2 changes: 1 addition & 1 deletion examples/refactors/pipeableToDatafirst.ts
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ const test = pipe(
T.map((_) => _ * 2)
)

const noDataFirst = (value: string) => <R, E, A>(eff: T.Effect<R, E, A>) => pipe(eff, T.zipLeft(T.log(value)))
const noDataFirst = (value: string) => <A, E, R>(eff: T.Effect<A, E, R>) => pipe(eff, T.zipLeft(T.log(value)))

const test2 = pipe(
T.succeed("Hello"),
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -45,7 +45,6 @@
"@effect/docgen": "^0.3.6",
"@effect/eslint-plugin": "^0.1.2",
"@effect/language-service": "link:dist",
"@effect/platform-node": "^0.34.2",
"@rollup/pluginutils": "^5.0.2",
"@types/node": "^20.10.2",
"@typescript-eslint/eslint-plugin": "^6.13.1",
@@ -54,7 +53,9 @@
"@typescript-eslint/type-utils": "6.13.2",
"@typescript-eslint/utils": "^6.13.1",
"@vitest/coverage-v8": "^1.0.2",
"effect": "2.0.0-next.59",
"effect": "3.12.5",
"@effect/platform-node": "0.70.0",
"@effect/platform": "0.74.0",
"eslint": "^8.55.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-codegen": "^0.21.0",
Loading

0 comments on commit 19e5a77

Please sign in to comment.