Conversation
d2b5bfd to
ba51cc2
Compare
- Replace Yarn 4.0.2 with pnpm 10.29.3 as the package manager - Add pnpm-workspace.yaml and .npmrc configuration - Update all scripts to use pnpm commands - Rename getYarnWorkspaces() to getWorkspaces() in scripts/helpers.ts - Update CI workflow to use pnpm/action-setup@v4 with Node 22 - Add @jitl/tsconfig as root devDependency for proper resolution - Add variant packages as devDependencies for test resolution - Fix TypeScript 5.9 compatibility in memory.ts (Int32Array<ArrayBuffer>) - Upgrade typedoc to 0.28.17 for TypeScript 5.9 support - Upgrade typedoc-plugin-markdown to 4.10.0 - Regenerate documentation with new typedoc version Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
ba51cc2 to
3828fdc
Compare
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Equivalent to yarn's YARN_ENABLE_SCRIPTS=0 - prevents prepare scripts from running during install, which would fail on a fresh checkout. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
pnpm pack generates tarball names like jitl-quickjs-ffi-types-0.32.0.tgz (without @ prefix, with version) instead of @jitl-quickjs-ffi-types.tgz Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The library now requires TypeScript 5.9+ due to stricter typed array generics (Int32Array<ArrayBuffer>). Update all TypeScript-using examples. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
react-scripts@5 only supports TypeScript 3.x/4.x, but our library now requires TypeScript 5.9+ for typed array generics. Use --legacy-peer-deps to work around the peer dependency conflict. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add typedoc-plugin-remark, remark-toc, and remark-insert-headings - Configure remark plugins to generate "Contents" section for Class, Interface, Enum, TypeAlias, and Function pages - This restores the in-page TOC that lists methods/properties that was removed in typedoc-plugin-markdown 4.3.0 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Replace remark-insert-headings + remark-toc with a custom plugin that inserts the table of contents directly after the class description, without a separate "Contents" heading. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Use remark-insert-headings + remark-toc instead of custom plugin. Remove mdast-util-toc dependency and custom remark-toc-headless.mjs. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
Summary
pnpm/action-setup@v4with Node 22 and built-in pnpm cachingmemory.tsChanges
Package Manager Migration
.yarn/,yarn.lock,.yarnrc.ymlpnpm-workspace.yaml,.npmrc,pnpm-lock.yamlpackageManagerfield topnpm@10.29.3yarntopnpm runCode Changes
getYarnWorkspaces()togetWorkspaces()inscripts/helpers.tsnpm run(avoids corepack issues in subprocesses)Int32Arraytype annotation for TypeScript 5.9 compatibilityDependency Upgrades
typedoc: 0.25.4 → 0.28.17 (supports TypeScript 5.9)typedoc-plugin-markdown: 4.0.0-next.38 → 4.10.0typedoc-plugin-inline-sources: 1.0.1 → 1.3.0Test plan
pnpm installsucceedspnpm run buildsucceeds (including docs)pnpm run test:fastpasses (69/69 tests)🤖 Generated with Claude Code