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: update repository to TypeScript 5.x #567

Merged
merged 20 commits into from
Apr 10, 2023
Merged

feat: update repository to TypeScript 5.x #567

merged 20 commits into from
Apr 10, 2023

Conversation

favna
Copy link
Member

@favna favna commented Mar 17, 2023

  • feat(ts-config): update for TypeScript v5.x
  • feat(ts-config): use Node16 as default module
  • fix(snowflake): ensure strings are never compared with bigints
  • fix(result): add missing type modifier
  • fix(discord.js-utilities): add missing type modifiers
  • chore(*): bump dev dependency to TypeScript 5.x

@sapphiredev
Copy link

sapphiredev bot commented Apr 6, 2023

Hey @favna, I've released this to NPM. You can install it for testing like so:

npm install @sapphire/async-queue@pr-567
npm install @sapphire/bitfield@pr-567
npm install @sapphire/cron@pr-567
npm install @sapphire/decorators@pr-567
npm install @sapphire/discord-utilities@pr-567
npm install @sapphire/discord.js-utilities@pr-567
npm install @sapphire/duration@pr-567
npm install @sapphire/eslint-config@pr-567
npm install @sapphire/eslint-plugin-result@pr-567
npm install @sapphire/event-iterator@pr-567
npm install @sapphire/fetch@pr-567
npm install @sapphire/lexure@pr-567
npm install @sapphire/node-utilities@pr-567
npm install @sapphire/phisherman@pr-567
npm install @sapphire/prettier-config@pr-567
npm install @sapphire/ratelimits@pr-567
npm install @sapphire/result@pr-567
npm install @sapphire/snowflake@pr-567
npm install @sapphire/stopwatch@pr-567
npm install @sapphire/time-utilities@pr-567
npm install @sapphire/timer-manager@pr-567
npm install @sapphire/timestamp@pr-567
npm install @sapphire/ts-config@pr-567
npm install @sapphire/utilities@pr-567

@favna favna force-pushed the feat/typescript-v5 branch 3 times, most recently from acf6aad to 298bd78 Compare April 7, 2023 11:42
favna added 20 commits April 10, 2023 15:57
BREAKING CHANGE: @sapphire/ts-config now relies on TypeScript v5.x.
DO NOT attempt to use this version with TypeScript v4.x or lower.
DO NOT attempt to use a previous major with TypeScript v5.x.
BREAKING CHANGE: The previous version had `"module": "CommonJS"` whereas this one has
`"module": "Node16"`. Refer to the TypeScript documentation for the differences
This was exposed by `verbatimModuleSyntax`
This was exposed by `verbatimModuleSyntax`
This was exposed by `verbatimModuleSyntax`
This was exposed by `verbatimModuleSyntax`
@favna favna merged commit 006b002 into main Apr 10, 2023
@favna favna deleted the feat/typescript-v5 branch April 10, 2023 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants