Skip to content

Commit

Permalink
Merge pull request #64 from bioinformatics-ua/bug/commonjs
Browse files Browse the repository at this point in the history
Ensure that the exported content is in CommonJS
  • Loading branch information
Enet4 authored Oct 6, 2023
2 parents e091473 + 959dd5b commit 181cf79
Show file tree
Hide file tree
Showing 14 changed files with 1,216 additions and 1,266 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"vars": "local",
"varsIgnorePattern": "^_.*"
}],
"@typescript-eslint/no-explicit-any": 0
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/ban-ts-comment": 1
}
}
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ name: Node.js CI

on:
push:
branches: [ master, release/5.x ]
branches: [ "master", "release/5.x" ]
pull_request:
branches: [ master, release/5.x ]
branches: [ "master", "release/5.x" ]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .mocharc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extension": ["ts"],
"spec": ["test/*.test.ts"],
"spec": ["test/*.test.ts", "test/*.test.cjs"],
"require": "ts-node/register"
}
331 changes: 129 additions & 202 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"npm": ">=7"
},
"main": "./lib/index",
"type": "commonjs",
"types": "./lib/index.d.ts",
"browserify": {
"transforms": [
Expand Down Expand Up @@ -87,7 +88,8 @@
],
"exclude": [
"gulpfile.js",
"test/*"
"test/*",
"lib/*"
]
}
}
Loading

0 comments on commit 181cf79

Please sign in to comment.