Skip to content
Open
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
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.

11 changes: 0 additions & 11 deletions .devcontainer.json

This file was deleted.

37 changes: 18 additions & 19 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
/* eslint-disable no-undef */
module.exports = {
ignorePatterns: ["build", "dist", "*.mjs", "docs", "*.md"],
ignorePatterns: ["dist", "build", "*.md"],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 2018,
sourceType: "module",
sourceType: "module"
},
settings: {
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"],
"@typescript-eslint/parser": [".ts", ".tsx"]
},
"import/resolver": {
typescript: {
alwaysTryTypes: true,
},
},
alwaysTryTypes: true
}
}
},
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@repo-tooling/dprint/recommended",
"plugin:@effect/recommended"
],
plugins: [
"deprecation",
"import",
"sort-destructure-keys",
"simple-import-sort",
"codegen",
"codegen"
],
rules: {
"codegen/codegen": "error",
Expand All @@ -45,13 +45,12 @@ module.exports = {
"import/no-duplicates": "error",
"import/no-unresolved": "off",
"import/order": "off",
"linebreak-style": ["error", "unix"],
"simple-import-sort/imports": "off",
"sort-destructure-keys/sort-destructure-keys": "error",
"deprecation/deprecation": "off",
"@typescript-eslint/array-type": [
"warn",
{ default: "generic", readonly: "generic" },
{ default: "generic", readonly: "generic" }
],
"@typescript-eslint/member-delimiter-style": 0,
"@typescript-eslint/no-non-null-assertion": "off",
Expand All @@ -63,8 +62,8 @@ module.exports = {
"error",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
},
varsIgnorePattern: "^_"
}
],
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/camelcase": "off",
Expand All @@ -74,7 +73,7 @@ module.exports = {
"@typescript-eslint/no-array-constructor": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-namespace": "off",
"@repo-tooling/dprint/dprint": [
"@effect/dprint": [
"error",
{
config: {
Expand All @@ -84,9 +83,9 @@ module.exports = {
quoteStyle: "alwaysDouble",
trailingCommas: "never",
operatorPosition: "maintain",
"arrowFunction.useParentheses": "force",
},
},
],
},
};
"arrowFunction.useParentheses": "force"
}
}
]
}
}
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ jobs:
- run: pnpm run circular
- run: pnpm run test --coverage
- run: pnpm run lint
- run: pnpm run docs
- run: pnpm run docgen
9 changes: 0 additions & 9 deletions .gitpod.yml

This file was deleted.

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
}
}
}
29 changes: 0 additions & 29 deletions .pre-commit-config.yaml

This file was deleted.

27 changes: 1 addition & 26 deletions docgen.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,3 @@
{
"exclude": ["src/internal_effect_untraced/**/*.ts"],
"theme": "mikearnaldi/just-the-docs",
"parseCompilerOptions": {
"strict": true,
"noEmit": true,
"target": "ES2021",
"lib": ["ES2021"],
"paths": {
"@effect/parser": ["./src/index.ts"],
"@effect/parser/test/*": ["./test/*"],
"@effect/parser/examples/*": ["./examples/*"],
"@effect/parser/*": ["./src/*"]
}
},
"examplesCompilerOptions": {
"strict": true,
"noEmit": true,
"target": "ES2021",
"lib": ["ES2021"],
"paths": {
"@effect/parser": ["../../src/index.ts"],
"@effect/parser/test/*": ["../../test/*"],
"@effect/parser/examples/*": ["../../examples/*"],
"@effect/parser/*": ["../../src/*"]
}
}
"exclude": ["src/internal/**/*.ts"]
}
13 changes: 6 additions & 7 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
remote_theme: mikearnaldi/just-the-docs

# Enable or disable the site search
search_enabled: true

# Aux links for the upper right navigation
aux_links:
Docs:
- //effect-ts.github.io/io
API Reference:
- //effect-ts.github.io/io/docs/modules
GitHub:
- //github.com/effect-ts/io
'@effect/parser on GitHub':
- 'https://github.com/Effect-TS/parser'
7 changes: 1 addition & 6 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
---
title: Introduction
permalink: /
title: Home
nav_order: 1
has_children: false
has_toc: false
---

## Work In Progress
11 changes: 0 additions & 11 deletions docs/modules/BitSet.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Added in v1.0.0
- [constructors](#constructors)
- [allChars](#allchars)
- [fromIterable](#fromiterable)
- [make](#make)
- [models](#models)
- [BitSet (interface)](#bitset-interface)

Expand Down Expand Up @@ -43,16 +42,6 @@ export declare const fromIterable: (bits: Iterable<number>) => BitSet

Added in v1.0.0

## make

**Signature**

```ts
export declare const make: (...bits: ReadonlyArray<number>) => BitSet
```

Added in v1.0.0

# models

## BitSet (interface)
Expand Down
27 changes: 24 additions & 3 deletions docs/modules/Target/Chunk.ts.md → docs/modules/ChunkTarget.ts.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: Target/Chunk.ts
nav_order: 8
title: ChunkTarget.ts
nav_order: 2
parent: Modules
---

## Chunk overview
## ChunkTarget overview

Added in v1.0.0

Expand All @@ -16,6 +16,9 @@ Added in v1.0.0
- [make](#make)
- [models](#models)
- [ChunkTarget (interface)](#chunktarget-interface)
- [utils](#utils)
- [ChunkTarget (namespace)](#chunktarget-namespace)
- [Capture (interface)](#capture-interface)

---

Expand All @@ -42,3 +45,21 @@ export interface ChunkTarget<Output> extends Target<ChunkTarget.Capture<Output>,
```

Added in v1.0.0

# utils

## ChunkTarget (namespace)

Added in v1.0.0

### Capture (interface)

**Signature**

```ts
export interface Capture<Output> {
readonly subBuilder: Array<Output>
}
```

Added in v1.0.0
Loading