Convert last-modified to TypeScript - #14
Merged
Merged
Conversation
index.ts + types.ts + index.spec.ts + example.ts, tsconfig.build.json (rootDir/include root-relative for the flat plugin layout), dist packaging with prepack. Logic unchanged, types + syntax + .ts specifiers only. README stays JS-referencing for now (LASTMODIFIED output is non-idempotent; docs-gate carve-out already checks out this package's README in CI).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wave-A TypeScript conversion (engines pilot pattern): typed execFileSync git calls, missing-history return-content guard preserved, self-contained untracked-fixture test kept (create/remove verified across two runs), dist packaging + prepack, changeset minor.
CI-parity detail: the committed README's static references point at example.ts (the stale example.js pointer would have crashed the docs step before the carve-out checkout), while the LASTMODIFIED date line stays frozen — reviewer verified the full docs → carve-out → diff-gate chain end-to-end.
Logic byte-for-byte vs main (review-verified). Validation: typecheck + lint + prettier clean · workspace tests green ×2 · tarball gate incl. consumer-typecheck · node example.ts exit 0 · code-reviewed (APPROVE, zero findings)