refactor: run natively on node type stripping, modernize tooling#222
Conversation
Replaces enums with erasable const modules (inlined by esbuild via minifySyntax), adds explicit .ts import extensions, and drops mocha/c8/mocha-snap/tsx in favor of node:test with built-in coverage. Updates all dependencies to latest, including eslint 10 flat config and TypeScript 6.
🦋 Changeset detectedLatest commit: 174ec6e The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #222 +/- ##
==========================================
+ Coverage 99.33% 99.97% +0.64%
==========================================
Files 28 34 +6
Lines 4209 4204 -5
Branches 773 776 +3
==========================================
+ Hits 4181 4203 +22
+ Misses 14 1 -13
+ Partials 14 0 -14 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (57)
WalkthroughThis PR modernizes the htmljs-parser package by replacing TypeScript enums with erasable const modules for Node.js type-stripping compatibility, migrating from Mocha to Node's built-in test runner, and overhauling the build system. All module imports are standardized to use explicit ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install failed due to a network error. Comment |
No description provided.