Skip to content
Merged
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
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx nx run cel-typescript:format:check
npx nx run cel-typescript:check
npx nx run cel-typescript:lint
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,11 @@ This project consists of three main components:

3. **TypeScript Wrapper**: A TypeScript API that provides a clean interface to
the native module, handling type conversions and providing a more idiomatic
JavaScript experience. The [dual-package] setup ensures seamless
compatibility with both ESM and CommonJS consumers, allowing the library to
be used in modern and legacy Node.js environments alike.
JavaScript experience.

[dual-package]:
https://nodejs.org/api/packages.html#dual-commonjses-module-packages
> [!NOTE]
>
> Only ESM is supported by this package.

### Native Module Structure

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
},
"./native": {
"import": "./esm/wrapper.js",
"require": "./index.js",
"types": "./index.d.ts"
}
},
Expand Down
Loading