Skip to content

release: 1.7.3#112

Open
Tweentyy wants to merge 18 commits into
mainfrom
develop
Open

release: 1.7.3#112
Tweentyy wants to merge 18 commits into
mainfrom
develop

Conversation

@Tweentyy
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 11, 2026 19:09
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR prepares the 1.7.3 release by migrating the build toolchain to tsdown, tightening linting rules, and refactoring manager internals (including adding load-time logging).

Changes:

  • Switch build pipeline from tsc/tsc-alias to tsdown and update package exports for ESM distribution.
  • Refactor interaction managers to use clearer collection names and add “Loaded N …” log statements.
  • Update ESLint configuration (move to eslint-plugin-import-x) and adjust formatting/tooling configs.

Reviewed changes

Copilot reviewed 17 out of 19 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
tsdown.config.ts Adds tsdown bundler config including ESM output, DTS generation, and aliases.
tsconfig.json Removes build-output-focused options now that build is handled by tsdown.
src/utils/translation.ts Converts i18n import to type-only import.
src/structures/Interaction.ts Formatting changes to interface method signatures and conditional type.
src/managers/SelectMenuManager.ts Renames internal collection and adds “loaded” logging.
src/managers/ModalManager.ts Renames internal collection and adds “loaded” logging.
src/managers/EventManager.ts Renames internal collection, adds “loaded” logging, and formatting cleanup.
src/managers/ContextMenuManager.ts Renames internal collection and adds “loaded” logging.
src/managers/CommandManager.ts Renames internal collection and adds “loaded” logging.
src/managers/ButtonManager.ts Renames public collection field and adds “loaded” logging.
src/managers/BaseManager.ts Changes Collection import to type-only.
src/managers/AutoCompleteManager.ts Renames internal collection and adds “loaded” logging.
src/client/StelliaClient.ts Import formatting + multi-line generic signature formatting.
pnpm-workspace.yaml Adds pnpm workspace configuration to allow specific builds.
package.json Updates version to 1.7.3, switches build script to tsdown, adds ESM exports, updates engines/tooling deps.
eslint.config.ts Migrates to eslint-plugin-import-x and expands/updates lint rules and resolver settings.
.prettierrc Lowers printWidth from 150 to 140.
.github/workflows/publish-npm.yml Updates pnpm action setup from v5 to v6.
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 thread pnpm-workspace.yaml Outdated
Comment on lines +1 to +2
allowBuilds:
unrs-resolver: true
Comment thread package.json Outdated
"engines": {
"node": ">=24.0.0"
},
"engineStrict": true,
Comment thread package.json
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs"
export class ButtonManager extends BaseManager<ButtonStructure> {
public interactions: Collection<StructureCustomId, ButtonStructure> = new Collection();
public buttons: Collection<StructureCustomId, ButtonStructure> = new Collection();

Comment thread src/managers/EventManager.ts Outdated
Comment on lines 18 to 19
import { requiredFiles } from "@utils/index.js";
import { logger } from "@utils/logger.js";
Comment thread tsdown.config.ts Outdated
Comment on lines +9 to +14
"@client": "./src/client",
"@constants": "./src/constants",
"@managers": "./src/managers",
"@structures": "./src/structures",
"@typescript": "./src/typescript",
"@utils": "./src/utils"
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants