fix: add ES module compatibility to configure-fork.ts using fileURLToPath

This commit is contained in:
Wayne Sutton
2025-12-31 12:36:55 -08:00
parent db960ec163
commit 86d97e80eb
9 changed files with 280 additions and 4 deletions

View File

@@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [2.2.1] - 2025-12-31
### Fixed
- ES module compatibility for configure-fork.ts
- Fixed `__dirname is not defined` error when running `npm run configure`
- Added `fileURLToPath` import from `url` module
- Created ES module equivalent of `__dirname` using `import.meta.url`
- Script now works correctly with `"type": "module"` in package.json
### Technical
- Updated: `scripts/configure-fork.ts` - Added ES module compatible __dirname using fileURLToPath
## [2.2.0] - 2025-12-30
### Added