Migrate to tsgo native compiler and restructure reference repos#15
Migrate to tsgo native compiler and restructure reference repos#15
Conversation
Replace tsc with tsgo (@typescript/native-preview) across all packages, bump TS target to ES2022, and consolidate contracts/ + whitepaper/ reference repos under a unified reference/ directory with auto-update clone script. - Replace ccc-dev/tsc.mjs (Node.js) with ccc-dev/tsgo-filter.sh (bash) - Update all package build scripts from tsc to tsgo - Add @typescript/native-preview devDependency - Bump tsconfig target/lib from ES2020 to ES2022 - Remove deprecated importsNotUsedAsValues option - Move reference repos to reference/ with clone.sh auto-updater - Update all planning docs to reflect new reference/ paths
Summary of ChangesHello @phroi, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly upgrades the project's development infrastructure by transitioning to a faster TypeScript compiler and centralizing external reference repositories. These changes aim to accelerate build times, simplify the management of external codebases, and provide a more efficient and feature-rich development environment, ultimately improving developer productivity and code consistency. Highlights
Changelog
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces several significant improvements, including migrating the TypeScript toolchain to tsgo for faster builds, restructuring the reference repositories for better organization and maintenance, and enhancing the development environment. The changes are well-executed, and the new scripts for managing reference repositories are a great addition. I have one suggestion to improve the robustness of the devcontainer setup.
Install vscode-focus-timer extension from phroi/vscode-focus-timer, add --no-install-recommends to clipboard apt install, and ignore .focus-timer data directory.
1ee26d7 to
6ae07d4
Compare
|
LGTM Phroi %104 |
Why
Migrate the TypeScript toolchain from
tsctotsgo(@typescript/native-preview) for faster builds, consolidate scattered reference repos under a unifiedreference/directory with auto-updating, and add the focus timer VS Code extension to the devcontainer.Changes
ccc-dev/tsc.mjs(Node.js) withccc-dev/tsgo-filter.sh(bash), update all 10 package build scripts fromtsctotsgo, add@typescript/native-previewdevDepimportsNotUsedAsValuescontracts/+whitepaper/underreference/withclone.shthat auto-detects stale clones