Skip to content

Conversation

@cho45
Copy link
Owner

@cho45 cho45 commented Jun 21, 2025

No description provided.

@cho45 cho45 requested a review from Copilot June 21, 2025 00:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modernizes the project by migrating from CommonJS to ES Modules and updating the testing framework while also adding TypeScript type tests and a new CI workflow.

  • Replaces require() with import statements and adopts node:test for testing.
  • Adds TypeScript type tests and a CI workflow while removing the Travis CI configuration.

Reviewed Changes

Copilot reviewed 6 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
test/test.js Migrates tests to ES Modules and node:test, and refactors test helpers.
test/micro-strptime.test-d.ts Introduces TypeScript type checks for the library.
package.json Updates scripts and module/type definitions; adds devDependencies.
lib/micro-strptime.js Converts to ES Modules and refactors error handling with template literals.
.travis.yml Removes obsolete Travis CI configuration.
.github/workflows/ci.yml Adds a new GitHub Actions workflow for CI, including type checks.

@cho45 cho45 merged commit 760f5a5 into master Jun 21, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants