diff --git a/.husky/pre-commit b/.husky/pre-commit index 4231cfc..99fc856 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -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 diff --git a/README.md b/README.md index c53535d..d092b90 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index 1323901..48feb8c 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,6 @@ }, "./native": { "import": "./esm/wrapper.js", - "require": "./index.js", "types": "./index.d.ts" } },