Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #62

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
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
Binary file added .DS_Store
Binary file not shown.
32 changes: 0 additions & 32 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 22.11.0
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

**Table of contents**

- [Installation:](#installation)
- [Via `npm`](#via-npm)
- [Via `yarn`](#via-yarn)
- [Via `npx` (on-demand)](#via-npx-on-demand)
- [Via `npm`](#via-npm)
- [Via `yarn`](#via-yarn)
- [Via `npx` (on-demand)](#via-npx-on-demand)
- [Why](#why)
- [Usage](#usage)
- [Supported JSDoc Tags](#supported-jsdoc-tags)
- [Supported JSDoc Tags](#supported-jsdoc-tags)
- [Example](#example)
- [Configuration](#configuration)
- [Documentation](#documentation)
Expand Down
12 changes: 6 additions & 6 deletions docs/modules/Core.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Added in v0.6.0
- [model](#model)
- [Capabilities (interface)](#capabilities-interface)
- [EnvironmentWithConfig (interface)](#environmentwithconfig-interface)
- [Program (interface)](#program-interface)
- [ProgramWithConfig (interface)](#programwithconfig-interface)
- [Program (type alias)](#program-type-alias)
- [ProgramWithConfig (type alias)](#programwithconfig-type-alias)

---

Expand Down Expand Up @@ -72,22 +72,22 @@ export interface EnvironmentWithConfig extends Capabilities {

Added in v0.6.0

## Program (interface)
## Program (type alias)

**Signature**

```ts
export interface Program<A> extends RTE.ReaderTaskEither<Capabilities, string, A> {}
export type Program<A> = RTE.ReaderTaskEither<Capabilities, string, A>
```

Added in v0.6.0

## ProgramWithConfig (interface)
## ProgramWithConfig (type alias)

**Signature**

```ts
export interface ProgramWithConfig<A> extends RTE.ReaderTaskEither<EnvironmentWithConfig, string, A> {}
export type ProgramWithConfig<A> = RTE.ReaderTaskEither<EnvironmentWithConfig, string, A>
```

Added in v0.6.0
2 changes: 1 addition & 1 deletion docs/modules/FileSystem.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export interface FileSystem {
/**
* Searches for files matching the specified glob pattern.
*/
readonly search: (pattern: string, exclude: ReadonlyArray<string>) => TE.TaskEither<string, ReadonlyArray<string>>
readonly search: (pattern: string, exclude: ReadonlyArray<string>) => TE.TaskEither<string, string[]>
}
```

Expand Down
6 changes: 3 additions & 3 deletions docs/modules/Module.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export declare const Class: (
signature: string,
methods: ReadonlyArray<Method>,
staticMethods: ReadonlyArray<Method>,
properties: ReadonlyArray<Property>
properties: ReadonlyArray<Property>,
) => Class
```

Expand All @@ -79,7 +79,7 @@ export declare const Documentable: (
since: O.Option<string>,
deprecated: boolean,
examples: ReadonlyArray<Example>,
category: O.Option<string>
category: O.Option<string>,
) => Documentable
```

Expand Down Expand Up @@ -138,7 +138,7 @@ export declare const Module: (
functions: ReadonlyArray<Function>,
typeAliases: ReadonlyArray<TypeAlias>,
constants: ReadonlyArray<Constant>,
exports: ReadonlyArray<Export>
exports: ReadonlyArray<Export>,
) => Module
```

Expand Down
8 changes: 4 additions & 4 deletions docs/modules/Parser.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Added in v0.6.0
<h2 class="text-delta">Table of contents</h2>

- [model](#model)
- [Parser (interface)](#parser-interface)
- [Parser (type alias)](#parser-type-alias)
- [ParserEnv (interface)](#parserenv-interface)
- [parsers](#parsers)
- [parseClasses](#parseclasses)
Expand All @@ -29,12 +29,12 @@ Added in v0.6.0

# model

## Parser (interface)
## Parser (type alias)

**Signature**

```ts
export interface Parser<A> extends RE.ReaderEither<ParserEnv, string, A> {}
export type Parser<A> = RE.ReaderEither<ParserEnv, string, A>
```

Added in v0.6.0
Expand Down Expand Up @@ -90,7 +90,7 @@ Added in v0.6.0

```ts
export declare const parseFiles: (
files: ReadonlyArray<File>
files: ReadonlyArray<File>,
) => RTE.ReaderTaskEither<EnvironmentWithConfig, string, ReadonlyArray<Module>>
```

Expand Down
28 changes: 28 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// @ts-check
import eslint from '@eslint/js'
import tseslint from 'typescript-eslint'

export default tseslint.config(
{ ignores: ['lib/*'] },
{
files: ['*.config.ts', 'src/**/*.ts', 'tests/**/*.ts'],
languageOptions: {
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname
}
},
extends: [
eslint.configs.recommended,
...tseslint.configs.strictTypeChecked,
...tseslint.configs.stylisticTypeChecked,
{
rules: {
'@typescript-eslint/array-type': 'off',
'@typescript-eslint/no-invalid-void-type': 'off',
'@typescript-eslint/restrict-template-expressions': ['error', { allowNumber: true }]
}
}
]
}
)
Loading