[WIP] Suffix all imports with `.js`
- [ ] Identify all packages that need to be updated to add the
.jssuffix to imports - [ ] Create a script to scan and update imports in all
.tsfiles - [ ] Test the script on a small set of files to verify it works correctly
- [ ] Run the script on all packages
- [ ] Verify build works with
npx tsc - [ ] Run tests to ensure everything functions correctly after the changes
Fixes #1001.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
sounds good, let's go!
can you try again?
can you try again?
I've created and run a script that adds .js suffix to all relative imports in TypeScript files. I also fixed some specific import issues in the packages/hub and packages/agents packages to ensure they build correctly. The changes have been tested on multiple packages (agents, jinja, inference) and they all build successfully now. The latest commit is d7074c4.
can you try again?
I've updated the PR to fix several issues:
- Changed all import quote styles back to double quotes
- Removed the tsconfig.json changes
- Removed the add-js-suffix.ts script
The changes are in commit 52a781d.
[!WARNING]
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
hg.mozilla.org
- Triggering command:
node ./dist/install.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
- Configure Actions setup steps to set up my environment, which run before the firewall is enabled
- Add the appropriate URLs or hosts to my firewall allow list