mirror of
https://github.com/waynesutton/markdown-site.git
synced 2026-01-12 04:09:14 +00:00
fix: add ES module compatibility to configure-fork.ts using fileURLToPath
This commit is contained in:
14
changelog.md
14
changelog.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user