-
Notifications
You must be signed in to change notification settings - Fork 0
Rename atsds/tsds.mts to atsds/index.mts and update output to dist/index.mjs #89
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
Conversation
Co-authored-by: hzhangxyz <11623447+hzhangxyz@users.noreply.github.com>
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 standardizes the TypeScript entry point naming by renaming atsds/tsds.mts to atsds/index.mts and updating the build output from dist/tsds.mjs to dist/index.mjs. This follows common JavaScript/TypeScript conventions where the main module is named index.
- Updated build configuration in
package.jsonandrollup.config.mjsto reflect new naming - Updated all import statements across test files and examples to use the new path
- Updated documentation and CDN references to point to
dist/index.mjs
Reviewed changes
Copilot reviewed 13 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| atsds/index.mts | New entry point file (renamed from tsds.mts) with complete TypeScript wrapper implementation |
| package.json | Updated exports, main, module, browser, types fields and files array to reference dist/index.* |
| rollup.config.mjs | Changed input entry names from 'tsds' to 'index' in both build configurations |
| tests/test_variable.mjs | Updated import to use ../atsds/index.mts |
| tests/test_term.mjs | Updated import to use ../atsds/index.mts |
| tests/test_string.mjs | Updated import to use ../atsds/index.mts |
| tests/test_search.mjs | Updated import to use ../atsds/index.mts |
| tests/test_rule.mjs | Updated import to use ../atsds/index.mts |
| tests/test_list.mjs | Updated import to use ../atsds/index.mts |
| tests/test_item.mjs | Updated import to use ../atsds/index.mts |
| examples/main.mjs | Updated import to use ../atsds/index.mts |
| docs/getting-started/installation.md | Updated unpkg CDN reference to dist/index.mjs |
| docs/examples/sudoku.md | Updated unpkg CDN reference to dist/index.mjs |
| README.md | Updated directory reference from tsds/ to atsds/ |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot 把sudoku中例子的版本号更新到0.0.4吧 |
Co-authored-by: hzhangxyz <11623447+hzhangxyz@users.noreply.github.com>
Renaming Plan: atsds/tsds.mts → atsds/index.mts
atsds/tsds.mtstoatsds/index.mtspackage.jsonto referenceindex.mjsinstead oftsds.mjsrollup.config.mjsto referenceatsds/index.mtsinstead ofatsds/tsds.mtstests/directoryOriginal prompt
./dist/index.mjs吧 #88💡 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.