Conversation
- Update @geut/chast and @geut/git-url-parse package.json exports to point to .ts source files for local dev - Add publishConfig with dist/ overrides for npm publish - Add files array and .npmignore to exclude tsbuildinfo from tarballs - Add docs/issues tracking files and updated PRD - Verify: tests, type-check, lint, build, pack all pass
- Convert src/index.js to TypeScript with strict types - Upgrade unified v9 -> v11, mdast-util-to-markdown 0.6.5 -> 2.1.2 - Upgrade unist-builder 1.0.3 -> 4.0.0, unist-util-select -> 4.0.0 - Adapt this.Compiler -> this.compiler for unified v11 - Adapt join option to array for mdast-util-to-markdown v2 - Remove unused dependencies: remark-parse, remark-stringify, unist-util-remove-position - Convert tests from Jest to Vitest, keep __snapshots__ convention - Remove integration tests (remarkToChan dependent) - to be restored after remark-chan migration - Add tsconfig.json matching modernized package pattern
- Convert src/index.js to TypeScript with strict types - Upgrade unified v9 -> v11 (devDep for tests) - Upgrade remark-parse v9 -> v11, to-vfile v6 -> v8 - Remove jest, cross-env, dirname-filename-esm, jest-esm-transformer, standard - Convert tests from Jest to Vitest, regenerate snapshots - Add tsconfig.json matching modernized package pattern - Fix chast types: add date/unreleased to ReleaseProps, loosen createGroup name to string, properly type value params as NodeValue - Export cast properly to avoid unist-builder type mismatches
- Convert src/index.js, src/transformer.js to TypeScript with strict types - Convert src/templates/preface.js to TypeScript - Replace v9 preset array-of-tuples with createPipeline() helper using v11 API - Upgrade unified v9 -> v11, remark-parse v9 -> v11 - Upgrade semver v7.3.5 -> v7.7.4, to-vfile v6 -> v8 - Add vfile v6 as devDependency for types - Remove jest, jest-date-mock, cross-env, dirname-filename-esm, standard, vfile-reporter - Convert tests from Jest to Vitest with vi.useFakeTimers() for date mocking - Add tsconfig.json matching modernized package pattern - Fix chast types: add [key: string]: unknown to satisfy NodeLike interface - Fix chan-stringify vfile.fail() type and test mock
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.
Initial steps into a new direction. Chan has an offer value that can be quite helpful in the modern development context.
The initial step to add any AI logic/usefulness here is to upgrade deps and migrate to TS. This PR is about that.