Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

update to effect package #330

Merged
merged 1 commit into from
Sep 29, 2023
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
5 changes: 5 additions & 0 deletions .changeset/green-cycles-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@effect/cli": minor
---

update to effect package
2 changes: 1 addition & 1 deletion docs/modules/Options.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ export declare const choiceWithValue: <C extends readonly [readonly [string, any

```ts
import * as Options from '@effect/cli/Options'
import * as Data from '@effect/data/Data'
import * as Data from 'effect/Data'

export type Animal = Dog | Cat

Expand Down
8 changes: 4 additions & 4 deletions examples/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import * as Command from "@effect/cli/Command"
import * as HelpDoc from "@effect/cli/HelpDoc"
import * as Span from "@effect/cli/HelpDoc/Span"
import * as Options from "@effect/cli/Options"
import * as Data from "@effect/data/Data"
import { pipe } from "@effect/data/Function"
import * as Option from "@effect/data/Option"
import * as Effect from "@effect/io/Effect"
import * as Data from "effect/Data"
import * as Effect from "effect/Effect"
import { pipe } from "effect/Function"
import * as Option from "effect/Option"

export interface Git extends Data.Case {
readonly version: boolean
Expand Down
20 changes: 9 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,9 @@
},
"packageManager": "[email protected]",
"peerDependencies": {
"@effect/data": "^0.18.6",
"@effect/io": "^0.41.0",
"@effect/printer": "^0.16.0",
"@effect/printer-ansi": "^0.16.0"
"@effect/printer-ansi": "^0.16.0",
"effect": "2.0.0-next.37"
},
"devDependencies": {
"@babel/cli": "^7.23.0",
Expand All @@ -70,21 +69,20 @@
"@changesets/cli": "^2.26.2",
"@effect/babel-plugin": "^0.2.0",
"@effect/build-utils": "^0.1.4",
"@effect/data": "^0.18.6",
"@effect/docgen": "^0.1.7",
"@effect/docgen": "^0.1.8",
"@effect/eslint-plugin": "^0.1.2",
"@effect/io": "^0.41.0",
"@effect/language-service": "^0.0.21",
"@effect/printer": "^0.16.0",
"@effect/printer-ansi": "^0.16.0",
"@effect/printer": "^0.17.0",
"@effect/printer-ansi": "^0.17.0",
"@types/chai": "^4.3.6",
"@types/node": "^20.7.0",
"@types/node": "^20.7.1",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@vitejs/plugin-react": "^4.1.0",
"@vitest/coverage-v8": "^0.34.5",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"concurrently": "^8.2.1",
"effect": "2.0.0-next.37",
"error-stack-parser": "^2.1.4",
"eslint": "^8.50.0",
"eslint-import-resolver-typescript": "^3.6.1",
Expand All @@ -93,9 +91,9 @@
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-sort-destructure-keys": "^1.5.0",
"fast-check": "^3.13.0",
"fast-check": "^3.13.1",
"madge": "^6.1.0",
"rimraf": "^5.0.4",
"rimraf": "^5.0.5",
"stackframe": "^1.3.4",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
Expand Down
Loading
Loading