Skip to content

Commit

Permalink
feat: usage of ESM modules imports (instead of CommonJS)
Browse files Browse the repository at this point in the history
Fixes #10

BREAKING CHANGE: This package is now pure ESM

BREAKING CHANGE: minimum supported Node.js >= 22.0.0
  • Loading branch information
theoludwig committed Dec 28, 2024
1 parent b4a04d2 commit aa24db4
Show file tree
Hide file tree
Showing 13 changed files with 1,439 additions and 1,260 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
lint:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4.1.7"
- uses: "actions/checkout@v4.2.2"

- name: "Setup Node.js"
uses: "actions/setup-node@v4.0.3"
uses: "actions/setup-node@v4.1.0"
with:
node-version: "lts/*"
cache: "npm"
Expand All @@ -30,6 +30,6 @@ jobs:
commitlint:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4.1.7"
- uses: "actions/checkout@v4.2.2"

- uses: "wagoid/commitlint-github-action@v6.1.2"
- uses: "wagoid/commitlint-github-action@v6.2.0"
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
pull-requests: "write"
id-token: "write"
steps:
- uses: "actions/checkout@v4.1.7"
- uses: "actions/checkout@v4.2.2"
with:
fetch-depth: 0
persist-credentials: false

- name: "Setup Node.js"
uses: "actions/setup-node@v4.0.3"
uses: "actions/setup-node@v4.1.0"
with:
node-version: "lts/*"
cache: "npm"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
test:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4.1.7"
- uses: "actions/checkout@v4.2.2"

- name: "Setup Node.js"
uses: "actions/setup-node@v4.0.3"
uses: "actions/setup-node@v4.1.0"
with:
node-version: "lts/*"
cache: "npm"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Contributions are welcome to improve the rule, and to alleviate these limitation

## Prerequisites

[Node.js](https://nodejs.org/) >= 16.0.0
[Node.js](https://nodejs.org/) >= 22.0.0

## Installation

Expand Down
File renamed without changes.
Loading

0 comments on commit aa24db4

Please sign in to comment.