Conversation
|
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Release 1.7.2 updates the project’s build/lint/tooling configuration, including a move to tsdown for builds and refreshed package metadata.
Changes:
- Switched build pipeline from
tsc/tsc-aliastotsdown(newtsdown.config.ts, updatedpackage.jsonscripts/exports). - Updated ESLint setup to use
eslint-plugin-import-xand expanded TypeScript-focused lint rules. - Minor TypeScript type-only import cleanups and formatting adjustments.
Reviewed changes
Copilot reviewed 9 out of 11 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| tsdown.config.ts | Adds tsdown build configuration (entry/format/dts/aliases). |
| tsconfig.json | Removes build-output settings now presumably owned by tsdown. |
| src/utils/translation.ts | Switches i18n import to type-only. |
| src/structures/Interaction.ts | Formatting changes to interface method signatures and a conditional type. |
| src/managers/EventManager.ts | Formatting changes to imports and a conditional block. |
| src/managers/BaseManager.ts | Switches Collection import to type-only. |
| src/client/StelliaClient.ts | Formatting changes to type imports and method signature. |
| package.json | Bumps version, switches build script to tsdown, revises exports/metadata, and updates deps/devDeps. |
| eslint.config.ts | Migrates from eslint-plugin-import to eslint-plugin-import-x and updates rules/settings. |
| .prettierrc | Reduces printWidth from 150 to 140. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+10
to
+14
| "@constants": "./src/constants", | ||
| "@managers": "./src/managers", | ||
| "@structures": "./src/structures", | ||
| "@typescript": "./src/typescript", | ||
| "@utils": "./src/utils" |
| "exports": { | ||
| ".": { | ||
| "types": "./dist/index.d.ts", | ||
| "import": "./dist/index.mjs" |
| "engines": { | ||
| "node": ">=20.19.0" | ||
| }, | ||
| "engineStrict": true, |
Comment on lines
+35
to
+51
| "import-x/order": [ | ||
| "error", | ||
| { | ||
| groups: ["builtin", "external", "internal", ["parent", "sibling", "index"], "object", "type"], | ||
| pathGroups: [ | ||
| { | ||
| pattern: "@/**", | ||
| group: "internal" | ||
| } | ||
| ], | ||
| pathGroupsExcludedImportTypes: ["builtin"], | ||
| alphabetize: { | ||
| order: "asc", | ||
| caseInsensitive: true | ||
| } | ||
| } | ||
| ], |
Comment on lines
+73
to
+81
| "sort-imports": [ | ||
| "error", | ||
| { | ||
| ignoreCase: true, | ||
| ignoreDeclarationSort: true, | ||
| ignoreMemberSort: false, | ||
| memberSyntaxSortOrder: ["none", "all", "multiple", "single"] | ||
| } | ||
| ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



No description provided.