Skip to content

Commit de2d5e0

Browse files
chore: Fix build (#3)
1 parent fa68311 commit de2d5e0

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npx nx run cel-typescript:format:check
52
npx nx run cel-typescript:check
63
npx nx run cel-typescript:lint

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,11 @@ This project consists of three main components:
129129

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

136-
[dual-package]:
137-
https://nodejs.org/api/packages.html#dual-commonjses-module-packages
134+
> [!NOTE]
135+
>
136+
> Only ESM is supported by this package.
138137
139138
### Native Module Structure
140139

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
},
3333
"./native": {
3434
"import": "./esm/wrapper.js",
35-
"require": "./index.js",
3635
"types": "./index.d.ts"
3736
}
3837
},

0 commit comments

Comments
 (0)