-
Notifications
You must be signed in to change notification settings - Fork 1
Aiinfo diffcache #104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aiinfo diffcache #104
Conversation
…tructure.ai into aiinfo-diffcache
…tructure.ai into aiinfo-diffcache
There was a problem hiding this 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 updates the aiinfo package version and replaces the deprecated vite-node loader with a custom ES module loader for handling TypeScript files in CI/CD workflows.
- Updates aiinfo package version from 1.2.2 to 1.2.4
- Introduces a custom ES module loader to replace deprecated vite-node loader
- Adds
--no-git-checksflag to all pnpm publish commands in the release workflow
Reviewed Changes
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| scripts/loader.mjs | Adds custom ES module loader for TypeScript file transformation |
| packages/aiinfo/package.json | Bumps package version from 1.2.2 to 1.2.4 |
| .github/workflows/release-package.yml | Updates loader configuration and adds git check bypass flags |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| # NOW enable vite-node loader so any .ts/.mts imports work everywhere below | ||
| export NODE_OPTIONS="--loader=${{ github.workspace }}/scripts/loader.mjs" | ||
| # NOW enable vite-node loader using the new register() API | ||
| export NODE_OPTIONS="--import='data:text/javascript,import { register } from \"node:module\"; import { pathToFileURL } from \"node:url\"; register(\"${{ github.workspace }}/scripts/loader.mjs\", pathToFileURL(\"./\"));'" |
Copilot
AI
Oct 14, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The inline JavaScript code in NODE_OPTIONS is complex and hard to read. Consider creating a separate bootstrap script file that handles the loader registration, which would improve readability and maintainability.
No description provided.