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

Commit

Permalink
update dependencies (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart authored Sep 1, 2023
1 parent 4b7f614 commit f860a21
Show file tree
Hide file tree
Showing 16 changed files with 880 additions and 820 deletions.
6 changes: 6 additions & 0 deletions .changeset/few-rockets-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@effect/printer-ansi": minor
"@effect/printer": minor
---

update dependencies
34 changes: 34 additions & 0 deletions docs/printer/Doc.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ Added in v1.0.0
- [surround](#surround)
- [textSpaces](#textspaces)
- [words](#words)
- [utils](#utils)
- [Doc (namespace)](#doc-namespace)
- [Variance (interface)](#variance-interface)
- [TypeLambda (type alias)](#typelambda-type-alias)

---

Expand Down Expand Up @@ -2717,3 +2721,33 @@ assert.strictEqual(Render.prettyDefault(doc), '(lorem, ipsum, dolor)')
```

Added in v1.0.0

# utils

## Doc (namespace)

Added in v1.0.0

### Variance (interface)

**Signature**

```ts
export interface Variance<A> extends Equal {
readonly [DocTypeId]: {
readonly _A: () => A
}
}
```

Added in v1.0.0

### TypeLambda (type alias)

**Signature**

```ts
export type TypeLambda = DocTypeLambda
```

Added in v1.0.0
34 changes: 34 additions & 0 deletions docs/printer/DocStream.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ Added in v1.0.0
- [symbol](#symbol)
- [DocStreamTypeId](#docstreamtypeid)
- [DocStreamTypeId (type alias)](#docstreamtypeid-type-alias)
- [utils](#utils)
- [DocStream (namespace)](#docstream-namespace)
- [Variance (interface)](#variance-interface)
- [TypeLambda (type alias)](#typelambda-type-alias)

---

Expand Down Expand Up @@ -538,3 +542,33 @@ export type DocStreamTypeId = typeof DocStreamTypeId
```
Added in v1.0.0
# utils
## DocStream (namespace)
Added in v1.0.0
### Variance (interface)
**Signature**
```ts
export interface Variance<A> extends Equal {
readonly [DocStreamTypeId]: {
readonly _A: (_: never) => A
}
}
```

Added in v1.0.0

### TypeLambda (type alias)

**Signature**

```ts
export type TypeLambda = DocStreamTypeLambda
```
Added in v1.0.0
34 changes: 34 additions & 0 deletions docs/printer/DocTree.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ Added in v1.0.0
- [symbol](#symbol)
- [DocTreeTypeId](#doctreetypeid)
- [DocTreeTypeId (type alias)](#doctreetypeid-type-alias)
- [utils](#utils)
- [DocTree (namespace)](#doctree-namespace)
- [Variance (interface)](#variance-interface)
- [TypeLambda (type alias)](#typelambda-type-alias)

---

Expand Down Expand Up @@ -513,3 +517,33 @@ export type DocTreeTypeId = typeof DocTreeTypeId
```
Added in v1.0.0
# utils
## DocTree (namespace)
Added in v1.0.0
### Variance (interface)
**Signature**
```ts
export interface Variance<A> extends Equal {
readonly [DocTreeTypeId]: {
readonly _A: (_: never) => A
}
}
```

Added in v1.0.0

### TypeLambda (type alias)

**Signature**

```ts
export type TypeLambda = DocTreeTypeLambda
```
Added in v1.0.0
34 changes: 34 additions & 0 deletions docs/printer/Flatten.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ Added in v1.0.0
- [symbol](#symbol)
- [FlattenTypeId](#flattentypeid)
- [FlattenTypeId (type alias)](#flattentypeid-type-alias)
- [utils](#utils)
- [Flatten (namespace)](#flatten-namespace)
- [Variance (interface)](#variance-interface)
- [TypeLambda (type alias)](#typelambda-type-alias)

---

Expand Down Expand Up @@ -226,3 +230,33 @@ export type FlattenTypeId = typeof FlattenTypeId
```
Added in v1.0.0
# utils
## Flatten (namespace)
Added in v1.0.0
### Variance (interface)
**Signature**
```ts
export interface Variance<A> extends Equal {
readonly [FlattenTypeId]: {
readonly _A: (_: never) => A
}
}
```

Added in v1.0.0

### TypeLambda (type alias)

**Signature**

```ts
export type TypeLambda = FlattenTypeLambda
```
Added in v1.0.0
45 changes: 45 additions & 0 deletions docs/printer/Layout.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ Added in v1.0.0
- [wadlerLeijen](#wadlerleijen)
- [model](#model)
- [Layout (interface)](#layout-interface)
- [utils](#utils)
- [Layout (namespace)](#layout-namespace)
- [Options (interface)](#options-interface)
- [FittingPredicate (type alias)](#fittingpredicate-type-alias)

---

Expand Down Expand Up @@ -264,3 +268,44 @@ export interface Layout<A> {
```

Added in v1.0.0

# utils

## Layout (namespace)

Added in v1.0.0

### Options (interface)

Represents the options that will influence the layout algorithms.

**Signature**

```ts
export interface Options {
readonly pageWidth: PageWidth
}
```

Added in v1.0.0

### FittingPredicate (type alias)

Decides whether a `DocStream` fits the given constraints, namely:

- original indentation of the current column
- initial indentation of the alternative `DocStream` if it starts with
a line break (used by `layoutSmart`)
- width in which to fit the first line

**Signature**

```ts
export type FittingPredicate<A> = (
lineIndent: number,
currentColumn: number,
initialIndentY: Option<number>
) => Predicate<DocStream<A>>
```
Added in v1.0.0
19 changes: 19 additions & 0 deletions docs/printer/Optimize.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ Added in v1.0.0
- [Shallow (interface)](#shallow-interface)
- [optimization](#optimization)
- [optimize](#optimize)
- [utils](#utils)
- [Optimize (namespace)](#optimize-namespace)
- [Depth (type alias)](#depth-type-alias)

---

Expand Down Expand Up @@ -158,3 +161,19 @@ Optimize.optimize(Optimize.Deep)(inefficient)
```

Added in v1.0.0

# utils

## Optimize (namespace)

Added in v1.0.0

### Depth (type alias)

**Signature**

```ts
export type Depth = FusionDepth
```
Added in v1.0.0
21 changes: 21 additions & 0 deletions docs/printer/PageWidth.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ Added in v1.0.0
- [PageWidthTypeId (type alias)](#pagewidthtypeid-type-alias)
- [utilities](#utilities)
- [remainingWidth](#remainingwidth)
- [utils](#utils)
- [PageWidth (namespace)](#pagewidth-namespace)
- [Proto (interface)](#proto-interface)

---

Expand Down Expand Up @@ -201,3 +204,21 @@ export declare const remainingWidth: (
```
Added in v1.0.0
# utils
## PageWidth (namespace)
Added in v1.0.0
### Proto (interface)
**Signature**
```ts
export interface Proto extends Equal {
readonly [PageWidthTypeId]: PageWidthTypeId
}
```

Added in v1.0.0
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,39 +25,39 @@
"version": "changeset version && pnpm install --no-frozen-lockfile"
},
"devDependencies": {
"@babel/cli": "^7.22.9",
"@babel/core": "^7.22.9",
"@babel/plugin-transform-modules-commonjs": "^7.22.5",
"@babel/cli": "^7.22.10",
"@babel/core": "^7.22.11",
"@babel/plugin-transform-modules-commonjs": "^7.22.11",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@effect/babel-plugin": "^0.2.0",
"@effect/build-utils": "^0.1.3",
"@effect/docgen": "^0.1.2",
"@effect/build-utils": "^0.1.4",
"@effect/docgen": "^0.1.4",
"@effect/eslint-plugin": "^0.1.2",
"@effect/language-service": "0.0.19",
"@effect/language-service": "0.0.21",
"@types/chai": "^4.3.5",
"@types/node": "^20.4.6",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"@types/node": "^20.5.7",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"@vitejs/plugin-react": "^4.0.4",
"@vitest/coverage-v8": "^0.34.1",
"@vitest/expect": "^0.34.1",
"@vitest/coverage-v8": "^0.34.3",
"@vitest/expect": "^0.34.3",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"concurrently": "^8.2.0",
"eslint": "^8.46.0",
"eslint-import-resolver-typescript": "^3.5.5",
"concurrently": "^8.2.1",
"eslint": "^8.48.0",
"eslint-import-resolver-typescript": "^3.6.0",
"eslint-plugin-codegen": "0.17.0",
"eslint-plugin-deprecation": "^1.5.0",
"eslint-plugin-import": "^2.28.0",
"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.12.0",
"madge": "^6.1.0",
"rimraf": "^5.0.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"typescript": "^5.2.2",
"ultra-runner": "^3.10.5",
"vite": "^4.4.8",
"vitest": "0.34.1"
"vite": "^4.4.9",
"vitest": "0.34.3"
}
}
12 changes: 6 additions & 6 deletions packages/printer-ansi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@
"global": []
},
"devDependencies": {
"@effect/data": "^0.17.1",
"@effect/io": "^0.38.0",
"@effect/data": "^0.18.3",
"@effect/io": "^0.39.0",
"@effect/printer": "workspace:^",
"@effect/typeclass": "^0.3.0"
"@effect/typeclass": "^0.4.0"
},
"peerDependencies": {
"@effect/data": "^0.17.1",
"@effect/io": "^0.38.0",
"@effect/data": "^0.18.3",
"@effect/io": "^0.39.0",
"@effect/printer": "workspace:^",
"@effect/typeclass": "^0.3.0"
"@effect/typeclass": "^0.4.0"
}
}
Loading

0 comments on commit f860a21

Please sign in to comment.