Skip to content

Commit

Permalink
Fix dual ESM/CJS export
Browse files Browse the repository at this point in the history
Fixes #156
  • Loading branch information
sonnyp committed Dec 12, 2024
1 parent d351ffa commit fa5a95c
Show file tree
Hide file tree
Showing 8 changed files with 1,009 additions and 6,357 deletions.
2 changes: 0 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
node_modules/
lib/
bundle.js
dist/
16 changes: 6 additions & 10 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,16 @@ jobs:
- 14.x
- 16.x
- 18.x
- 20.x
- 22.x
steps:
- uses: actions/checkout@v2

- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ matrix.node }}
cache: "npm"

- run: npm install
- run: npm test
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
node_modules/
.eslintcache
lib/
!lib/package.json
bundle.js
dist/
7 changes: 4 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
benchmarks/
test/

.eslintignore
.eslintrc.cjs
.github
.husky
.editorconfig
.gitignore
.npmignore
.travis.yml

CONTRIBUTING.md
3 changes: 0 additions & 3 deletions lib/package.json

This file was deleted.

Loading

0 comments on commit fa5a95c

Please sign in to comment.