Commit ae2f381
I'll analyze the diff and prepare a commit message.
<think>
Let me understand what I've been working on based on the PR description and commits:
1. The PR is about adding `.js` suffix to all imports in TypeScript files
2. I've created and run a script to add `.js` suffixes to relative imports
3. I fixed specific import issues in packages/hub and packages/agents
4. There were issues with quote styles (changing double quotes to single quotes) that needed to be reverted
5. I'm supposed to remove some temporary files (scripts/add-js-suffix.ts and tsconfig.json changes)
The most recent commits:
1. "Fix quote style and remove unnecessary files"
2. "Fix quote style in HfAgent.ts imports"
3. "Fix module imports with proper .js suffixes"
4. "Add suffix to imports and fix build issues"
So the overall task is to ensure all imports have `.js` suffix for TypeScript files.
</think>
Update TypeScript imports to include .js suffix in filenames
This commit updates the import statements in TypeScript files to include
.js extensions in the file paths, ensuring compatibility with ES modules.
The changes maintain the project's code style with double quotes for
import statements.
Fixes #1001.
Co-authored-by: julien-c <[email protected]>1 parent 52a781d commit ae2f381
1 file changed
+11055
-0
lines changed
0 commit comments