Refactor: Convert copy_files.cjs to ES module syntax

- Converted scripts/copy_files.cjs to use ES module syntax (renaming to copy_files.js).
- This change aligns with the project's preference for ES modules over CommonJS for better modernity and future-proofing.
- Updated eslint.config.js to remove the .cjs override.
- Adjusted scripts/build_package.sh to call the new .js file.
This commit is contained in:
Taylor Mullen
2025-05-16 16:22:33 -07:00
committed by N. Taylor Mullen
parent 3d74a7061e
commit 8b8fa6c1ae
3 changed files with 10 additions and 31 deletions

View File

@@ -27,7 +27,7 @@ fi
tsc --build
# copy .{md,json} files
node ../../scripts/copy_files.cjs
node ../../scripts/copy_files.js
# touch dist/.last_build
touch dist/.last_build