From a40e1495144a7b916c9950fd5629cb2024fd3f40 Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Mon, 28 Apr 2025 19:34:26 -0400 Subject: [PATCH 1/2] chore: test --- README.md | 9 ++++----- package.json | 1 - 2 files changed, 4 insertions(+), 6 deletions(-) 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" } }, From 3a2dd08ef94221bf9a8bd826842b9c9f4f47a78d Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Mon, 28 Apr 2025 19:34:50 -0400 Subject: [PATCH 2/2] chore: husky --- .husky/pre-commit | 3 --- 1 file changed, 3 deletions(-) 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