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

Commit

Permalink
update effect & preconstruct (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart authored Oct 10, 2023
1 parent 95e34d3 commit c04b9c8
Show file tree
Hide file tree
Showing 69 changed files with 1,360 additions and 762 deletions.
7 changes: 0 additions & 7 deletions .babel.cjs.json

This file was deleted.

3 changes: 0 additions & 3 deletions .babel.mjs.json

This file was deleted.

6 changes: 6 additions & 0 deletions .changeset/fast-hounds-flow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@effect/printer-ansi": minor
"@effect/printer": minor
---

update effect
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: pnpm
- run: pnpm install
- run: pnpm run tc
- run: pnpm run build
- run: pnpm run circular
- run: pnpm run test
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: pnpm
- run: pnpm install
- run: pnpm run tc
- run: pnpm run build
- run: pnpm run circular
- run: pnpm run test --coverage
Expand Down
7 changes: 7 additions & 0 deletions .madgerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"detectiveOptions": {
"ts": {
"skipTypeImports": true
}
}
}
28 changes: 26 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@
"[typescriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"eslint.validate": ["markdown", "javascript", "typescript"],
"eslint.validate": [
"markdown",
"javascript",
"typescript"
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
Expand All @@ -40,5 +44,25 @@
"files.watcherExclude": {
"**/target": true
},
"files.insertFinalNewline": true
"files.insertFinalNewline": true,
"files.exclude": {
"packages/printer-ansi/dist": true,
"packages/printer-ansi/internal": true,
"packages/printer-ansi/AnsiDoc": true,
"packages/printer-ansi/AnsiRender": true,
"packages/printer-ansi/AnsiStyle": true,
"packages/printer-ansi/Color": true,
"packages/printer-ansi/RenderLayer": true,
"packages/printer-ansi/SGR": true,
"packages/printer/dist": true,
"packages/printer/internal": true,
"packages/printer/Doc": true,
"packages/printer/DocStream": true,
"packages/printer/DocTree": true,
"packages/printer/Flatten": true,
"packages/printer/Layout": true,
"packages/printer/Optimize": true,
"packages/printer/PageWidth": true,
"packages/printer/Render": true
}
}
4 changes: 4 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"plugins": [["annotate-pure-calls"]],
"presets": ["@babel/preset-typescript"]
}
2 changes: 1 addition & 1 deletion docs/printer-ansi/AnsiDoc.ts.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: AnsiDoc.ts
nav_order: 1
parent: "@effect/printer-printer-ansi"
parent: "@effect/printer-ansi"
---

## AnsiDoc overview
Expand Down
10 changes: 5 additions & 5 deletions docs/printer-ansi/AnsiRender.ts.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: AnsiRender.ts
nav_order: 2
parent: "@effect/printer-printer-ansi"
parent: "@effect/printer-ansi"
---

## AnsiRender overview
Expand Down Expand Up @@ -31,7 +31,7 @@ Added in v1.0.0
**Signature**

```ts
export declare const compact: (self: AnsiDoc) => string
export declare const compact: (self: Doc<AnsiStyle>) => string
```
Added in v1.0.0
Expand All @@ -54,7 +54,7 @@ Added in v1.0.0
**Signature**
```ts
export declare const prettyDefault: (self: AnsiDoc) => string
export declare const prettyDefault: (self: Doc<AnsiStyle>) => string
```
Added in v1.0.0
Expand All @@ -64,7 +64,7 @@ Added in v1.0.0
**Signature**
```ts
export declare const prettyUnbounded: (self: AnsiDoc) => string
export declare const prettyUnbounded: (self: Doc<AnsiStyle>) => string
```
Added in v1.0.0
Expand Down Expand Up @@ -97,7 +97,7 @@ Added in v1.0.0
**Signature**
```ts
export declare const smartDefault: (self: AnsiDoc) => string
export declare const smartDefault: (self: Doc<AnsiStyle>) => string
```
Added in v1.0.0
Expand Down
2 changes: 1 addition & 1 deletion docs/printer-ansi/AnsiStyle.ts.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: AnsiStyle.ts
nav_order: 3
parent: "@effect/printer-printer-ansi"
parent: "@effect/printer-ansi"
---

## AnsiStyle overview
Expand Down
2 changes: 1 addition & 1 deletion docs/printer-ansi/Color.ts.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Color.ts
nav_order: 4
parent: "@effect/printer-printer-ansi"
parent: "@effect/printer-ansi"
---

## Color overview
Expand Down
2 changes: 1 addition & 1 deletion docs/printer-ansi/RenderLayer.ts.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: RenderLayer.ts
nav_order: 6
parent: "@effect/printer-printer-ansi"
parent: "@effect/printer-ansi"
---

## RenderLayer overview
Expand Down
2 changes: 1 addition & 1 deletion docs/printer-ansi/SGR.ts.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: SGR.ts
nav_order: 7
parent: "@effect/printer-printer-ansi"
parent: "@effect/printer-ansi"
---

## SGR overview
Expand Down
2 changes: 1 addition & 1 deletion docs/printer-ansi/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "@effect/printer-printer-ansi"
title: "@effect/printer-ansi"
has_children: true
permalink: /docs/printer-ansi
nav_order: 3
Expand Down
26 changes: 13 additions & 13 deletions docs/printer-ansi/index.ts.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: index.ts
nav_order: 5
parent: "@effect/printer-printer-ansi"
parent: "@effect/printer-ansi"
---

## index overview
Expand All @@ -26,72 +26,72 @@ Added in v1.0.0

## From "@effect/printer-ansi/AnsiDoc"

Re-exports all named exports from the "@effect/printer-ansi/AnsiDoc" module.
Re-exports all named exports from the "@effect/printer-ansi/AnsiDoc" module as `AnsiDoc`.

**Signature**

```ts
export * from '@effect/printer-ansi/AnsiDoc'
export * as AnsiDoc from '@effect/printer-ansi/AnsiDoc'
```

Added in v1.0.0

## From "@effect/printer-ansi/AnsiRender"

Re-exports all named exports from the "@effect/printer-ansi/AnsiRender" module.
Re-exports all named exports from the "@effect/printer-ansi/AnsiRender" module as `AnsiRender`.

**Signature**

```ts
export * from '@effect/printer-ansi/AnsiRender'
export * as AnsiRender from '@effect/printer-ansi/AnsiRender'
```

Added in v1.0.0

## From "@effect/printer-ansi/AnsiStyle"

Re-exports all named exports from the "@effect/printer-ansi/AnsiStyle" module.
Re-exports all named exports from the "@effect/printer-ansi/AnsiStyle" module as `AnsiStyle`.

**Signature**

```ts
export * from '@effect/printer-ansi/AnsiStyle'
export * as AnsiStyle from '@effect/printer-ansi/AnsiStyle'
```

Added in v1.0.0

## From "@effect/printer-ansi/Color"

Re-exports all named exports from the "@effect/printer-ansi/Color" module.
Re-exports all named exports from the "@effect/printer-ansi/Color" module as `Color`.

**Signature**

```ts
export * from '@effect/printer-ansi/Color'
export * as Color from '@effect/printer-ansi/Color'
```

Added in v1.0.0

## From "@effect/printer-ansi/RenderLayer"

Re-exports all named exports from the "@effect/printer-ansi/RenderLayer" module.
Re-exports all named exports from the "@effect/printer-ansi/RenderLayer" module as `RenderLayer`.

**Signature**

```ts
export * from '@effect/printer-ansi/RenderLayer'
export * as RenderLayer from '@effect/printer-ansi/RenderLayer'
```

Added in v1.0.0

## From "@effect/printer-ansi/SGR"

Re-exports all named exports from the "@effect/printer-ansi/SGR" module.
Re-exports all named exports from the "@effect/printer-ansi/SGR" module as `SGR`.

**Signature**

```ts
export * from '@effect/printer-ansi/SGR'
export * as SGR from '@effect/printer-ansi/SGR'
```

Added in v1.0.0
Loading

0 comments on commit c04b9c8

Please sign in to comment.