Skip to content
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

feat(package): @vencord/discord-types #2446

Open
wants to merge 211 commits into
base: dev
Choose a base branch
from

Conversation

ryan-0324
Copy link
Contributor

@ryan-0324 ryan-0324 commented May 12, 2024

Resolves #2431

  • Added package @vencord/discord-types
  • Migrated from discord-types to @vencord/discord-types
    However, discord-types is still needed for WebpackInstance
  • Added FormattedMessage, useStateFromStoresArray, and useStateFromStoresObject to @webpack/common
  • Changed the names of some exports from @webpack/common/utils to the names that Discord uses for them
  • TSConfig changes:
    • Enabled noUncheckedIndexedAccess and noImplicitAny
    • Disabled skipLibCheck since it disables type checking for all .d.ts files, not just the ones in node_modules
    • Changed moduleResolution from Node to Bundler
  • Updated eslint to 9.x.x and stylelint to 16.x.x
  • Enabled type-aware linting and some rules from typescript-eslint
  • Updated some dev dependencies and corrected/updated the version specifiers for @types/lodash, @types/node, @types/react, @types/react-dom, highlight.js, and moment
  • Updated esbuild to 0.23.0 and made the build scripts compatible
  • Enabled type checking for JS files in scripts
  • Added missing license to packages/vencord-types
  • Miscellaneous refactoring

ryan-0324 added 17 commits May 12, 2024 05:07
ryan-0324 added 2 commits May 30, 2024 23:47
ryan-0324 and others added 4 commits May 31, 2024 23:24
ryan-0324 and others added 4 commits September 18, 2024 11:54
…ord-types
…ord-types
@Nuckyz Nuckyz force-pushed the dev branch 5 times, most recently from bece919 to 22a5b18 Compare September 21, 2024 19:55
…ord-types
…ord-types
…ord-types
…ord-types
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.

None yet

5 participants