From e0fe4af98699a1415a5b119a37ac20593cbd57ce Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 25 Apr 2024 12:49:13 +0200 Subject: [PATCH] Version Packages (#35) Co-authored-by: github-actions[bot] --- .changeset/slimy-years-exist.md | 19 ------------------- CHANGELOG.md | 21 +++++++++++++++++++++ package.json | 2 +- 3 files changed, 22 insertions(+), 20 deletions(-) delete mode 100644 .changeset/slimy-years-exist.md diff --git a/.changeset/slimy-years-exist.md b/.changeset/slimy-years-exist.md deleted file mode 100644 index 1e42993..0000000 --- a/.changeset/slimy-years-exist.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -"@effect/codemod": patch ---- - -Add effect-3.0.4 mod to remove gen adapter - -NOTE: some edge cases are uncovered like: - -```ts -yield* $([Effect.succeed(0), Effect.succeed(1)] as const, Effect.allWith()) -``` - -that needs to be convered to: - -```ts -yield* pipe([Effect.succeed(0), Effect.succeed(1)] as const, Effect.allWith()) -``` - -Unfortunately not having type information in the mod tool renders impossible to decide if the `pipe` function is present or not. diff --git a/CHANGELOG.md b/CHANGELOG.md index 95bffb6..e5d5309 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,26 @@ # @effect/codemod +## 0.0.14 + +### Patch Changes + +- [#34](https://github.com/Effect-TS/codemod/pull/34) [`bfc890c`](https://github.com/Effect-TS/codemod/commit/bfc890c7b45837c566dc8de482fe1b0806c290e0) Thanks [@mikearnaldi](https://github.com/mikearnaldi)! - Add effect-3.0.4 mod to remove gen adapter + + NOTE: some edge cases are uncovered like: + + ```ts + yield * $([Effect.succeed(0), Effect.succeed(1)] as const, Effect.allWith()); + ``` + + that needs to be convered to: + + ```ts + yield * + pipe([Effect.succeed(0), Effect.succeed(1)] as const, Effect.allWith()); + ``` + + Unfortunately not having type information in the mod tool renders impossible to decide if the `pipe` function is present or not. + ## 0.0.13 ### Patch Changes diff --git a/package.json b/package.json index 1e8e1cb..40ad359 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@effect/codemod", - "version": "0.0.13", + "version": "0.0.14", "publishConfig": { "access": "public", "directory": "dist"