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

dts infinite loop #840

Open
souporserious opened this issue Feb 17, 2023 · 11 comments
Open

dts infinite loop #840

souporserious opened this issue Feb 17, 2023 · 11 comments
Labels
bug Something isn't working

Comments

@souporserious
Copy link

souporserious commented Feb 17, 2023

I think #836 may have introduced an infinite loop when compiling type declarations in watch mode. I get this in 6.6.3 when running my project with the watch and dts flags:

image

If I rollback to 6.6.2 it works as expected and only runs once.

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@egoist egoist added the bug Something isn't working label Feb 18, 2023
@favna
Copy link

favna commented Feb 18, 2023

Also adding to this conversation that I experience this in a different way. Updating to 6.6.3 my build stdout is:

Details
CLI Building entry: src/index.ts, src/arguments/CoreBoolean.ts, src/arguments/CoreChannel.ts, src/arguments/CoreDMChannel.ts, src/arguments/CoreDate.ts, src/arguments/CoreEmoji.ts, src/arguments/CoreEnum.ts, src/arguments/CoreFloat.ts, src/arguments/CoreGuildCategoryChannel.ts, src/arguments/CoreGuildChannel.ts, src/arguments/CoreGuildNewsChannel.ts, src/arguments/CoreGuildNewsThreadChannel.ts, src/arguments/CoreGuildPrivateThreadChannel.ts, src/arguments/CoreGuildPublicThreadChannel.ts, src/arguments/CoreGuildStageVoiceChannel.ts, src/arguments/CoreGuildTextChannel.ts, src/arguments/CoreGuildThreadChannel.ts, src/arguments/CoreGuildVoiceChannel.ts, src/arguments/CoreHyperlink.ts, src/arguments/CoreInteger.ts, src/arguments/CoreMember.ts, src/arguments/CoreMessage.ts, src/arguments/CoreNumber.ts, src/arguments/CorePartialDMChannel.ts, src/arguments/CoreRole.ts, src/arguments/CoreString.ts, src/arguments/CoreUser.ts, src/lib/SapphireClient.ts, src/listeners/CoreInteractionCreate.ts, src/listeners/CoreReady.ts, src/preconditions/ClientPermissions.ts, src/preconditions/Cooldown.ts, src/preconditions/DMOnly.ts, src/preconditions/Enabled.ts, src/preconditions/GuildNewsOnly.ts, src/preconditions/GuildNewsThreadOnly.ts, src/preconditions/GuildOnly.ts, src/preconditions/GuildPrivateThreadOnly.ts, src/preconditions/GuildPublicThreadOnly.ts, src/preconditions/GuildTextOnly.ts, src/preconditions/GuildThreadOnly.ts, src/preconditions/GuildVoiceOnly.ts, src/preconditions/NSFW.ts, src/preconditions/UserPermissions.ts, src/lib/errors/ArgumentError.ts, src/lib/errors/Identifiers.ts, src/lib/errors/PreconditionError.ts, src/lib/errors/UserError.ts, src/lib/parsers/Args.ts, src/lib/plugins/Plugin.ts, src/lib/plugins/PluginManager.ts, src/lib/plugins/symbols.ts, src/lib/resolvers/boolean.ts, src/lib/resolvers/channel.ts, src/lib/resolvers/date.ts, src/lib/resolvers/dmChannel.ts, src/lib/resolvers/emoji.ts, src/lib/resolvers/enum.ts, src/lib/resolvers/float.ts, src/lib/resolvers/guildCategoryChannel.ts, src/lib/resolvers/guildChannel.ts, src/lib/resolvers/guildNewsChannel.ts, src/lib/resolvers/guildNewsThreadChannel.ts, src/lib/resolvers/guildPrivateThreadChannel.ts, src/lib/resolvers/guildPublicThreadChannel.ts, src/lib/resolvers/guildStageVoiceChannel.ts, src/lib/resolvers/guildTextChannel.ts, src/lib/resolvers/guildThreadChannel.ts, src/lib/resolvers/guildVoiceChannel.ts, src/lib/resolvers/hyperlink.ts, src/lib/resolvers/index.ts, src/lib/resolvers/integer.ts, src/lib/resolvers/member.ts, src/lib/resolvers/message.ts, src/lib/resolvers/number.ts, src/lib/resolvers/partialDMChannel.ts, src/lib/resolvers/role.ts, src/lib/resolvers/string.ts, src/lib/resolvers/user.ts, src/lib/structures/Argument.ts, src/lib/structures/ArgumentStore.ts, src/lib/structures/Command.ts, src/lib/structures/CommandStore.ts, src/lib/structures/InteractionHandler.ts, src/lib/structures/InteractionHandlerStore.ts, src/lib/structures/Listener.ts, src/lib/structures/ListenerStore.ts, src/lib/structures/Precondition.ts, src/lib/structures/PreconditionStore.ts, src/lib/types/Enums.ts, src/lib/types/Events.ts, src/listeners/application-commands/CorePossibleAutocompleteInteraction.ts, src/optional-listeners/error-listeners/CoreChatInputCommandError.ts, src/optional-listeners/error-listeners/CoreCommandApplicationCommandRegistryError.ts, src/optional-listeners/error-listeners/CoreCommandAutocompleteInteractionError.ts, src/optional-listeners/error-listeners/CoreContextMenuCommandError.ts, src/optional-listeners/error-listeners/CoreInteractionHandlerError.ts, src/optional-listeners/error-listeners/CoreInteractionHandlerParseError.ts, src/optional-listeners/error-listeners/CoreListenerError.ts, src/optional-listeners/error-listeners/CoreMessageCommandError.ts, src/optional-listeners/message-command-listeners/CoreMessageCommandAccepted.ts, src/optional-listeners/message-command-listeners/CoreMessageCommandTyping.ts, src/optional-listeners/message-command-listeners/CoreMessageCreate.ts, src/optional-listeners/message-command-listeners/CorePreMessageCommandRun.ts, src/optional-listeners/message-command-listeners/CorePreMessageParser.ts, src/optional-listeners/message-command-listeners/CorePrefixedMessage.ts, src/lib/utils/application-commands/ApplicationCommandRegistries.ts, src/lib/utils/application-commands/ApplicationCommandRegistry.ts, src/lib/utils/application-commands/computeDifferences.ts, src/lib/utils/application-commands/emitRegistryError.ts, src/lib/utils/application-commands/getNeededParameters.ts, src/lib/utils/application-commands/normalizeInputs.ts, src/lib/utils/application-commands/registriesLog.ts, src/lib/utils/logger/ILogger.ts, src/lib/utils/logger/Logger.ts, src/lib/utils/resolvers/resolveGuildChannelPredicate.ts, src/lib/utils/preconditions/IPreconditionContainer.ts, src/lib/utils/preconditions/PreconditionContainerArray.ts, src/lib/utils/preconditions/PreconditionContainerSingle.ts, src/listeners/application-commands/chat-input/CoreChatInputCommandAccepted.ts, src/listeners/application-commands/chat-input/CorePossibleChatInputCommand.ts, src/listeners/application-commands/chat-input/CorePreChatInputCommandRun.ts, src/listeners/application-commands/context-menu/CoreContextMenuCommandAccepted.ts, src/listeners/application-commands/context-menu/CorePossibleContextMenuCommand.ts, src/listeners/application-commands/context-menu/CorePreContextMenuCommandRun.ts, src/lib/utils/strategies/FlagUnorderedStrategy.ts, src/lib/utils/preconditions/conditions/IPreconditionCondition.ts, src/lib/utils/preconditions/conditions/PreconditionConditionAnd.ts, src/lib/utils/preconditions/conditions/PreconditionConditionOr.ts, src/lib/utils/preconditions/containers/ClientPermissionsPrecondition.ts, src/lib/utils/preconditions/containers/UserPermissionsPrecondition.ts
CLI Using tsconfig: src/tsconfig.json
CLI tsup v6.6.3
CLI Using tsup config: /Users/favna/workspace/sapphire/framework/tsup.config.ts
CLI Target: es2020
CLI Cleaning output folder
CJS Build start
Generated an empty chunk: "IPreconditionContainer".
Generated an empty chunk: "IPreconditionCondition".
DTS Build start
CJS dist/lib/errors/UserError.js                                                              698.00 B
CJS dist/lib/types/Enums.js                                                                   1.86 KB
CJS dist/lib/errors/Identifiers.js                                                            4.41 KB
CJS dist/lib/utils/logger/ILogger.js                                                          567.00 B
CJS dist/lib/utils/preconditions/conditions/IPreconditionCondition.js                         97.00 B
CJS dist/index.js                                                                             13.73 KB
CJS dist/arguments/CoreChannel.js                                                             847.00 B
CJS dist/arguments/CoreBoolean.js                                                             882.00 B
CJS dist/arguments/CoreDMChannel.js                                                           862.00 B
CJS dist/arguments/CoreEmoji.js                                                               817.00 B
CJS dist/arguments/CoreDate.js                                                                1.30 KB
CJS dist/arguments/CoreFloat.js                                                               1.29 KB
CJS dist/arguments/CoreEnum.js                                                                915.00 B
CJS dist/arguments/CoreGuildCategoryChannel.js                                                1.27 KB
CJS dist/arguments/CoreGuildChannel.js                                                        1.22 KB
CJS dist/arguments/CoreGuildNewsThreadChannel.js                                              1.29 KB
CJS dist/arguments/CoreGuildPrivateThreadChannel.js                                           1.30 KB
CJS dist/arguments/CoreGuildPublicThreadChannel.js                                            1.29 KB
CJS dist/lib/utils/preconditions/IPreconditionContainer.js                                    97.00 B
CJS dist/arguments/CoreGuildStageVoiceChannel.js                                              1.29 KB
CJS dist/arguments/CoreGuildThreadChannel.js                                                  1.25 KB
CJS dist/arguments/CoreGuildVoiceChannel.js                                                   1.25 KB
CJS dist/arguments/CoreHyperlink.js                                                           862.00 B
CJS dist/arguments/CoreGuildTextChannel.js                                                    1.25 KB
CJS dist/arguments/CoreMessage.js                                                             1.03 KB
CJS dist/arguments/CoreGuildNewsChannel.js                                                    1.25 KB
CJS dist/arguments/CoreRole.js                                                                1.16 KB
CJS dist/arguments/CorePartialDMChannel.js                                                    912.00 B
CJS dist/arguments/CoreUser.js                                                                835.00 B
CJS dist/arguments/CoreString.js                                                              1.20 KB
CJS dist/listeners/CoreInteractionCreate.js                                                   1.29 KB
CJS dist/lib/SapphireClient.js                                                                4.66 KB
CJS dist/preconditions/DMOnly.js                                                              1.15 KB
CJS dist/preconditions/Enabled.js                                                             1.19 KB
CJS dist/preconditions/GuildNewsOnly.js                                                       1.68 KB
CJS dist/preconditions/Cooldown.js                                                            3.02 KB
CJS dist/preconditions/GuildNewsThreadOnly.js                                                 1.62 KB
CJS dist/preconditions/GuildPrivateThreadOnly.js                                              1.63 KB
CJS dist/preconditions/GuildOnly.js                                                           1.15 KB
CJS dist/preconditions/GuildTextOnly.js                                                       1.70 KB
CJS dist/preconditions/GuildThreadOnly.js                                                     1.40 KB
CJS dist/preconditions/NSFW.js                                                                1.37 KB
CJS dist/preconditions/GuildPublicThreadOnly.js                                               1.62 KB
CJS dist/lib/errors/ArgumentError.js                                                          722.00 B
CJS dist/preconditions/UserPermissions.js                                                     3.00 KB
CJS dist/lib/parsers/Args.js                                                                  8.70 KB
CJS dist/lib/plugins/Plugin.js                                                                312.00 B
CJS dist/preconditions/GuildVoiceOnly.js                                                      1.56 KB
CJS dist/lib/errors/PreconditionError.js                                                      722.00 B
CJS dist/lib/resolvers/boolean.js                                                             889.00 B
CJS dist/lib/plugins/PluginManager.js                                                         2.12 KB
CJS dist/lib/resolvers/date.js                                                                948.00 B
CJS dist/lib/resolvers/dmChannel.js                                                           897.00 B
CJS dist/arguments/CoreMember.js                                                              1.18 KB
CJS dist/lib/resolvers/channel.js                                                             941.00 B
CJS dist/lib/resolvers/enum.js                                                                919.00 B
CJS dist/arguments/CoreNumber.js                                                              1.30 KB
CJS dist/lib/resolvers/float.js                                                               930.00 B
CJS dist/lib/resolvers/guildChannel.js                                                        1.25 KB
CJS dist/lib/resolvers/emoji.js                                                               980.00 B
CJS dist/lib/resolvers/guildCategoryChannel.js                                                838.00 B
CJS dist/lib/resolvers/guildNewsChannel.js                                                    806.00 B
CJS dist/lib/resolvers/guildTextChannel.js                                                    806.00 B
CJS dist/lib/resolvers/guildNewsThreadChannel.js                                              854.00 B
CJS dist/lib/resolvers/guildStageVoiceChannel.js                                              849.00 B
CJS dist/lib/resolvers/hyperlink.js                                                           625.00 B
CJS dist/listeners/CoreReady.js                                                               1.08 KB
CJS dist/lib/resolvers/guildVoiceChannel.js                                                   814.00 B
CJS dist/lib/resolvers/index.js                                                               6.90 KB
CJS dist/lib/resolvers/guildThreadChannel.js                                                  822.00 B
CJS dist/lib/resolvers/member.js                                                              1.31 KB
CJS dist/lib/resolvers/integer.js                                                             953.00 B
CJS dist/lib/resolvers/partialDMChannel.js                                                    901.00 B
CJS dist/lib/resolvers/message.js                                                             3.52 KB
CJS dist/lib/resolvers/role.js                                                                1.17 KB
CJS dist/lib/resolvers/guildPrivateThreadChannel.js                                           878.00 B
CJS dist/lib/resolvers/user.js                                                                885.00 B
CJS dist/lib/resolvers/string.js                                                              813.00 B
CJS dist/lib/structures/ArgumentStore.js                                                      519.00 B
CJS dist/lib/structures/CommandStore.js                                                       2.90 KB
CJS dist/lib/structures/Command.js                                                            15.76 KB
CJS dist/lib/structures/InteractionHandler.js                                                 3.35 KB
CJS dist/lib/structures/Listener.js                                                           2.04 KB
CJS dist/lib/structures/ListenerStore.js                                                      514.00 B
CJS dist/lib/structures/Precondition.js                                                       1.29 KB
CJS dist/listeners/application-commands/CorePossibleAutocompleteInteraction.js                1.50 KB
CJS dist/lib/types/Events.js                                                                  15.06 KB
CJS dist/optional-listeners/error-listeners/CoreChatInputCommandError.js                      763.00 B
CJS dist/optional-listeners/error-listeners/CoreCommandApplicationCommandRegistryError.js     853.00 B
CJS dist/optional-listeners/error-listeners/CoreContextMenuCommandError.js                    764.00 B
CJS dist/optional-listeners/error-listeners/CoreCommandAutocompleteInteractionError.js        840.00 B
CJS dist/optional-listeners/error-listeners/CoreInteractionHandlerError.js                    836.00 B
CJS dist/optional-listeners/error-listeners/CoreInteractionHandlerParseError.js               848.00 B
CJS dist/optional-listeners/message-command-listeners/CoreMessageCommandAccepted.js           1.62 KB
CJS dist/optional-listeners/message-command-listeners/CoreMessageCommandTyping.js             1.03 KB
CJS dist/optional-listeners/message-command-listeners/CoreMessageCreate.js                    726.00 B
CJS dist/optional-listeners/message-command-listeners/CorePreMessageParser.js                 3.31 KB
CJS dist/lib/utils/application-commands/ApplicationCommandRegistries.js                       6.54 KB
CJS dist/optional-listeners/error-listeners/CoreListenerError.js                              777.00 B
CJS dist/optional-listeners/message-command-listeners/CorePrefixedMessage.js                  1.87 KB
CJS dist/lib/utils/application-commands/computeDifferences.js                                 21.25 KB
CJS dist/lib/utils/application-commands/getNeededParameters.js                                1.81 KB
CJS dist/lib/utils/application-commands/emitRegistryError.js                                  903.00 B
CJS dist/lib/utils/application-commands/normalizeInputs.js                                    4.32 KB
CJS dist/lib/utils/application-commands/registriesLog.js                                      1.22 KB
CJS dist/lib/utils/resolvers/resolveGuildChannelPredicate.js                                  748.00 B
CJS dist/lib/utils/logger/Logger.js                                                           1.39 KB
CJS dist/lib/structures/Argument.js                                                           835.00 B
CJS dist/preconditions/ClientPermissions.js                                                   4.79 KB
CJS dist/listeners/application-commands/chat-input/CoreChatInputCommandAccepted.js            1.56 KB
CJS dist/optional-listeners/message-command-listeners/CorePreMessageCommandRun.js             1.20 KB
CJS dist/lib/utils/preconditions/PreconditionContainerArray.js                                5.24 KB
CJS dist/listeners/application-commands/chat-input/CorePossibleChatInputCommand.js            1.47 KB
CJS dist/listeners/application-commands/chat-input/CorePreChatInputCommandRun.js              1.25 KB
CJS dist/lib/utils/application-commands/ApplicationCommandRegistry.js                         15.48 KB
CJS dist/listeners/application-commands/context-menu/CoreContextMenuCommandAccepted.js        1.57 KB
CJS dist/listeners/application-commands/context-menu/CorePossibleContextMenuCommand.js        1.49 KB
CJS dist/lib/utils/strategies/FlagUnorderedStrategy.js                                        1.56 KB
CJS dist/lib/utils/preconditions/conditions/PreconditionConditionOr.js                        2.29 KB
CJS dist/lib/utils/preconditions/conditions/PreconditionConditionAnd.js                       1.84 KB
CJS dist/lib/utils/preconditions/containers/UserPermissionsPrecondition.js                    755.00 B
CJS dist/lib/utils/preconditions/containers/ClientPermissionsPrecondition.js                  769.00 B
CJS dist/lib/utils/preconditions/PreconditionContainerSingle.js                               3.71 KB
CJS dist/lib/plugins/symbols.js                                                               701.00 B
CJS dist/optional-listeners/error-listeners/CoreMessageCommandError.js                        756.00 B
CJS dist/lib/resolvers/guildPublicThreadChannel.js                                            870.00 B
CJS dist/arguments/CoreInteger.js                                                             1.31 KB
CJS dist/lib/resolvers/number.js                                                              939.00 B
CJS dist/listeners/application-commands/context-menu/CorePreContextMenuCommandRun.js          1.27 KB
CJS dist/lib/structures/PreconditionStore.js                                                  3.08 KB
CJS dist/lib/structures/InteractionHandlerStore.js                                            2.53 KB
CJS dist/lib/utils/preconditions/conditions/IPreconditionCondition.js.map                     51.00 B
CJS dist/lib/errors/UserError.js.map                                                          1.64 KB
CJS dist/lib/utils/logger/ILogger.js.map                                                      2.47 KB
CJS dist/lib/errors/Identifiers.js.map                                                        4.90 KB
CJS dist/index.js.map                                                                         6.19 KB
CJS dist/arguments/CoreDMChannel.js.map                                                       1.18 KB
CJS dist/arguments/CoreFloat.js.map                                                           1.83 KB
CJS dist/arguments/CoreEnum.js.map                                                            1.32 KB
CJS dist/arguments/CoreGuildCategoryChannel.js.map                                            1.80 KB
CJS dist/lib/types/Enums.js.map                                                               2.66 KB
CJS dist/arguments/CoreBoolean.js.map                                                         1.24 KB
CJS dist/arguments/CoreGuildChannel.js.map                                                    1.79 KB
CJS dist/arguments/CoreGuildPublicThreadChannel.js.map                                        1.81 KB
CJS dist/arguments/CoreGuildPrivateThreadChannel.js.map                                       1.81 KB
CJS dist/arguments/CoreGuildNewsThreadChannel.js.map                                          1.80 KB
CJS dist/arguments/CoreHyperlink.js.map                                                       1.17 KB
CJS dist/arguments/CoreMessage.js.map                                                         1.61 KB
CJS dist/arguments/CoreGuildNewsChannel.js.map                                                1.77 KB
CJS dist/arguments/CoreRole.js.map                                                            1.68 KB
CJS dist/arguments/CoreDate.js.map                                                            1.89 KB
CJS dist/arguments/CorePartialDMChannel.js.map                                                1.27 KB
CJS dist/arguments/CoreString.js.map                                                          1.73 KB
CJS dist/arguments/CoreUser.js.map                                                            1.14 KB
CJS dist/listeners/CoreInteractionCreate.js.map                                               1.80 KB
CJS dist/arguments/CoreGuildThreadChannel.js.map                                              1.77 KB
CJS dist/lib/SapphireClient.js.map                                                            15.50 KB
CJS dist/arguments/CoreEmoji.js.map                                                           1.10 KB
CJS dist/preconditions/GuildNewsOnly.js.map                                                   2.46 KB
CJS dist/arguments/CoreGuildVoiceChannel.js.map                                               1.77 KB
CJS dist/preconditions/GuildNewsThreadOnly.js.map                                             2.30 KB
CJS dist/preconditions/GuildPrivateThreadOnly.js.map                                          2.30 KB
CJS dist/preconditions/GuildTextOnly.js.map                                                   2.49 KB
CJS dist/preconditions/GuildOnly.js.map                                                       1.67 KB
CJS dist/arguments/CoreGuildTextChannel.js.map                                                1.76 KB
CJS dist/preconditions/GuildThreadOnly.js.map                                                 2.09 KB
CJS dist/arguments/CoreGuildStageVoiceChannel.js.map                                          1.80 KB
CJS dist/preconditions/Cooldown.js.map                                                        5.63 KB
CJS dist/preconditions/UserPermissions.js.map                                                 4.68 KB
CJS dist/lib/utils/preconditions/IPreconditionContainer.js.map                                51.00 B
CJS dist/lib/errors/PreconditionError.js.map                                                  1.50 KB
CJS dist/preconditions/Enabled.js.map                                                         2.06 KB
CJS dist/lib/plugins/PluginManager.js.map                                                     4.71 KB
CJS dist/arguments/CoreChannel.js.map                                                         1.19 KB
CJS dist/lib/plugins/Plugin.js.map                                                            1.06 KB
CJS dist/lib/resolvers/boolean.js.map                                                         1.27 KB
CJS dist/preconditions/GuildVoiceOnly.js.map                                                  2.21 KB
CJS dist/lib/resolvers/date.js.map                                                            1.29 KB
CJS dist/lib/resolvers/channel.js.map                                                         1.25 KB
CJS dist/lib/resolvers/float.js.map                                                           1.24 KB
CJS dist/lib/resolvers/guildChannel.js.map                                                    1.86 KB
CJS dist/arguments/CoreNumber.js.map                                                          1.84 KB
CJS dist/preconditions/GuildPublicThreadOnly.js.map                                           2.29 KB
CJS dist/lib/resolvers/guildCategoryChannel.js.map                                            926.00 B
CJS dist/lib/resolvers/guildStageVoiceChannel.js.map                                          922.00 B
CJS dist/lib/resolvers/guildTextChannel.js.map                                                892.00 B
CJS dist/lib/resolvers/guildNewsChannel.js.map                                                892.00 B
CJS dist/listeners/CoreReady.js.map                                                           1.29 KB
CJS dist/preconditions/DMOnly.js.map                                                          1.67 KB
CJS dist/lib/resolvers/guildNewsThreadChannel.js.map                                          987.00 B
CJS dist/lib/resolvers/enum.js.map                                                            1.23 KB
CJS dist/lib/resolvers/index.js.map                                                           1.23 KB
CJS dist/lib/resolvers/guildThreadChannel.js.map                                              910.00 B
CJS dist/lib/resolvers/emoji.js.map                                                           1.34 KB
CJS dist/lib/resolvers/message.js.map                                                         6.19 KB
CJS dist/lib/resolvers/guildPrivateThreadChannel.js.map                                       1005.00 B
CJS dist/lib/resolvers/user.js.map                                                            1.13 KB
CJS dist/lib/resolvers/integer.js.map                                                         1.26 KB
CJS dist/lib/resolvers/string.js.map                                                          1.01 KB
CJS dist/lib/structures/CommandStore.js.map                                                   4.88 KB
CJS dist/lib/resolvers/member.js.map                                                          1.92 KB
CJS dist/lib/structures/ArgumentStore.js.map                                                  487.00 B
CJS dist/lib/errors/ArgumentError.js.map                                                      1.69 KB
CJS dist/lib/resolvers/guildVoiceChannel.js.map                                               902.00 B
CJS dist/lib/structures/Command.js.map                                                        35.88 KB
CJS dist/lib/resolvers/partialDMChannel.js.map                                                1.13 KB
CJS dist/lib/structures/Precondition.js.map                                                   6.88 KB
CJS dist/optional-listeners/error-listeners/CoreChatInputCommandError.js.map                  1.01 KB
CJS dist/lib/structures/ListenerStore.js.map                                                  475.00 B
CJS dist/lib/types/Events.js.map                                                              29.46 KB
CJS dist/listeners/application-commands/CorePossibleAutocompleteInteraction.js.map            2.46 KB
CJS dist/lib/resolvers/hyperlink.js.map                                                       706.00 B
CJS dist/optional-listeners/error-listeners/CoreCommandApplicationCommandRegistryError.js.map 1.13 KB
CJS dist/optional-listeners/error-listeners/CoreInteractionHandlerParseError.js.map           1.16 KB
CJS dist/optional-listeners/error-listeners/CoreCommandAutocompleteInteractionError.js.map    1.12 KB
CJS dist/optional-listeners/error-listeners/CoreContextMenuCommandError.js.map                1.01 KB
CJS dist/optional-listeners/error-listeners/CoreInteractionHandlerError.js.map                1.09 KB
CJS dist/optional-listeners/message-command-listeners/CoreMessageCommandTyping.js.map         1.55 KB
CJS dist/lib/utils/application-commands/ApplicationCommandRegistries.js.map                   10.54 KB
CJS dist/optional-listeners/message-command-listeners/CorePreMessageParser.js.map             5.64 KB
CJS dist/lib/resolvers/role.js.map                                                            1.63 KB
CJS dist/optional-listeners/error-listeners/CoreListenerError.js.map                          1.02 KB
CJS dist/optional-listeners/message-command-listeners/CorePrefixedMessage.js.map              3.44 KB
CJS dist/lib/structures/Listener.js.map                                                       6.25 KB
CJS dist/optional-listeners/message-command-listeners/CoreMessageCreate.js.map                1009.00 B
CJS dist/lib/resolvers/dmChannel.js.map                                                       1.18 KB
CJS dist/lib/utils/application-commands/emitRegistryError.js.map                              1.24 KB
CJS dist/lib/utils/application-commands/normalizeInputs.js.map                                7.73 KB
CJS dist/lib/utils/application-commands/registriesLog.js.map                                  1.21 KB
CJS dist/lib/utils/application-commands/computeDifferences.js.map                             37.00 KB
CJS dist/lib/utils/application-commands/getNeededParameters.js.map                            2.49 KB
CJS dist/preconditions/ClientPermissions.js.map                                               7.64 KB
CJS dist/lib/structures/Argument.js.map                                                       5.41 KB
CJS dist/listeners/application-commands/chat-input/CoreChatInputCommandAccepted.js.map        2.28 KB
CJS dist/optional-listeners/message-command-listeners/CorePreMessageCommandRun.js.map         1.80 KB
CJS dist/listeners/application-commands/chat-input/CorePossibleChatInputCommand.js.map        2.28 KB
CJS dist/listeners/application-commands/chat-input/CorePreChatInputCommandRun.js.map          1.88 KB
CJS dist/lib/utils/application-commands/ApplicationCommandRegistry.js.map                     27.70 KB
CJS dist/listeners/application-commands/context-menu/CoreContextMenuCommandAccepted.js.map    2.30 KB
CJS dist/listeners/application-commands/context-menu/CorePossibleContextMenuCommand.js.map    2.30 KB
CJS dist/lib/utils/strategies/FlagUnorderedStrategy.js.map                                    3.62 KB
CJS dist/lib/utils/preconditions/PreconditionContainerArray.js.map                            11.63 KB
CJS dist/lib/parsers/Args.js.map                                                              34.50 KB
CJS dist/lib/utils/preconditions/containers/UserPermissionsPrecondition.js.map                1.50 KB
CJS dist/lib/utils/preconditions/containers/ClientPermissionsPrecondition.js.map              1.51 KB
CJS dist/lib/utils/resolvers/resolveGuildChannelPredicate.js.map                              1.16 KB
CJS dist/lib/utils/preconditions/PreconditionContainerSingle.js.map                           7.53 KB
CJS dist/lib/utils/preconditions/conditions/PreconditionConditionAnd.js.map                   3.68 KB
CJS dist/lib/plugins/symbols.js.map                                                           753.00 B
CJS dist/lib/utils/preconditions/conditions/PreconditionConditionOr.js.map                    4.15 KB
CJS dist/optional-listeners/error-listeners/CoreMessageCommandError.js.map                    1017.00 B
CJS dist/arguments/CoreMember.js.map                                                          1.72 KB
CJS dist/lib/resolvers/guildPublicThreadChannel.js.map                                        999.00 B
CJS dist/arguments/CoreInteger.js.map                                                         1.85 KB
CJS dist/preconditions/NSFW.js.map                                                            2.34 KB
CJS dist/lib/structures/InteractionHandler.js.map                                             5.35 KB
CJS dist/lib/utils/logger/Logger.js.map                                                       2.55 KB
CJS dist/optional-listeners/message-command-listeners/CoreMessageCommandAccepted.js.map       2.40 KB
CJS dist/lib/resolvers/number.js.map                                                          1.24 KB
CJS dist/listeners/application-commands/context-menu/CorePreContextMenuCommandRun.js.map      1.89 KB
CJS dist/lib/structures/PreconditionStore.js.map                                              5.40 KB
CJS dist/lib/structures/InteractionHandlerStore.js.map                                        4.61 KB
CJS ⚡️ Build success in 603ms
src/listeners/CoreInteractionCreate.ts(12,19): error TS2339: Property 'client' does not exist on type 'Container'.
src/listeners/CoreInteractionCreate.ts(14,19): error TS2339: Property 'client' does not exist on type 'Container'.
src/listeners/CoreInteractionCreate.ts(16,19): error TS2339: Property 'client' does not exist on type 'Container'.
src/listeners/CoreInteractionCreate.ts(18,10): error TS2532: Object is possibly 'undefined'.
src/listeners/CoreInteractionCreate.ts(20,19): error TS2339: Property 'logger' does not exist on type 'Container'.

Error: error occured in dts build
    at Worker.<anonymous> (/Users/favna/workspace/sapphire/framework/node_modules/tsup/dist/index.js:2281:26)
    at Worker.emit (node:events:512:28)
    at MessagePort.<anonymous> (node:internal/worker:237:53)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:756:20)
    at exports.emitMessage (node:internal/per_context/messageport:23:28)
DTS Build error
RollupError: Failed to compile. Check the logs above.
    at error (/Users/favna/workspace/sapphire/framework/node_modules/rollup/dist/shared/rollup.js:261:30)
    at Object.error (/Users/favna/workspace/sapphire/framework/node_modules/rollup/dist/shared/rollup.js:24458:20)
    at Object.error (/Users/favna/workspace/sapphire/framework/node_modules/rollup/dist/shared/rollup.js:23699:42)
    at generateDtsFromTs (/Users/favna/workspace/sapphire/framework/node_modules/tsup/dist/rollup.js:7484:22)
    at /Users/favna/workspace/sapphire/framework/node_modules/tsup/dist/rollup.js:7491:59
    at _nullishCoalesce (/Users/favna/workspace/sapphire/framework/node_modules/tsup/dist/rollup.js:1:198)
    at Object.transform (/Users/favna/workspace/sapphire/framework/node_modules/tsup/dist/rollup.js:7491:18)
    at /Users/favna/workspace/sapphire/framework/node_modules/rollup/dist/shared/rollup.js:24657:40
src/listeners/CoreReady.ts(11,18): error TS2339: Property 'client' does not exist on type 'Container'.
src/listeners/CoreReady.ts(11,47): error TS2339: Property 'client' does not exist on type 'Container'.
src/listeners/CoreReady.ts(13,18): error TS2339: Property 'logger' does not exist on type 'Container'.
src/listeners/CoreReady.ts(19,18): error TS2339: Property 'logger' does not exist on type 'Container'.

src/optional-listeners/error-listeners/CoreChatInputCommandError.ts(11,18): error TS2339: Property 'logger' does not exist on type 'Container'.

src/optional-listeners/error-listeners/CoreInteractionHandlerParseError.ts(11,18): error TS2339: Property 'logger' does not exist on type 'Container'.

src/optional-listeners/error-listeners/CoreCommandApplicationCommandRegistryError.ts(12,18): error TS2339: Property 'logger' does not exist on type 'Container'.

src/optional-listeners/error-listeners/CoreCommandAutocompleteInteractionError.ts(11,18): error TS2339: Property 'logger' does not exist on type 'Container'.

src/optional-listeners/error-listeners/CoreInteractionHandlerError.ts(11,18): error TS2339: Property 'logger' does not exist on type 'Container'.

src/optional-listeners/error-listeners/CoreContextMenuCommandError.ts(11,18): error TS2339: Property 'logger' does not exist on type 'Container'.

src/optional-listeners/error-listeners/CoreListenerError.ts(11,18): error TS2339: Property 'logger' does not exist on type 'Container'.

src/optional-listeners/error-listeners/CoreMessageCommandError.ts(11,18): error TS2339: Property 'logger' does not exist on type 'Container'.

src/listeners/application-commands/CorePossibleAutocompleteInteraction.ts(17,19): error TS18048: 'commandStore' is possibly 'undefined'.
src/listeners/application-commands/CorePossibleAutocompleteInteraction.ts(17,62): error TS18048: 'commandStore' is possibly 'undefined'.
src/listeners/application-commands/CorePossibleAutocompleteInteraction.ts(22,20): error TS2339: Property 'client' does not exist on type 'Container'.
src/listeners/application-commands/CorePossibleAutocompleteInteraction.ts(28,20): error TS2339: Property 'client' does not exist on type 'Container'.
src/listeners/application-commands/CorePossibleAutocompleteInteraction.ts(38,9): error TS2532: Object is possibly 'undefined'.

src/optional-listeners/message-command-listeners/CoreMessageCommandTyping.ts(10,33): error TS2339: Property 'client' does not exist on type 'Container'.

src/optional-listeners/message-command-listeners/CorePreMessageParser.ts(20,11): error TS2339: Property 'client' does not exist on type 'Container'.
src/optional-listeners/message-command-listeners/CorePreMessageParser.ts(56,22): error TS2339: Property 'client' does not exist on type 'Container'.
src/optional-listeners/message-command-listeners/CorePreMessageParser.ts(63,58): error TS2339: Property 'client' does not exist on type 'Container'.
src/optional-listeners/message-command-listeners/CorePreMessageParser.ts(64,59): error TS2339: Property 'client' does not exist on type 'Container'.
src/optional-listeners/message-command-listeners/CorePreMessageParser.ts(82,54): error TS2339: Property 'client' does not exist on type 'Container'.

src/optional-listeners/message-command-listeners/CorePreMessageCommandRun.ts(13,30): error TS2532: Object is possibly 'undefined'.

src/optional-listeners/message-command-listeners/CoreMessageCreate.ts(15,18): error TS2339: Property 'client' does not exist on type 'Container'.

src/optional-listeners/message-command-listeners/CorePrefixedMessage.ts(12,11): error TS2339: Property 'client' does not exist on type 'Container'.
src/optional-listeners/message-command-listeners/CorePrefixedMessage.ts(27,19): error TS2532: Object is possibly 'undefined'.

src/listeners/application-commands/chat-input/CoreChatInputCommandAccepted.ts(15,19): error TS2339: Property 'client' does not exist on type 'Container'.
src/listeners/application-commands/chat-input/CoreChatInputCommandAccepted.ts(21,19): error TS2339: Property 'client' does not exist on type 'Container'.
src/listeners/application-commands/chat-input/CoreChatInputCommandAccepted.ts(26,47): error TS2339: Property 'client' does not exist on type 'Container'.
src/listeners/application-commands/chat-input/CoreChatInputCommandAccepted.ts(28,18): error TS2339: Property 'client' does not exist on type 'Container'.

src/listeners/application-commands/context-menu/CoreContextMenuCommandAccepted.ts(15,19): error TS2339: Property 'client' does not exist on type 'Container'.
src/listeners/application-commands/context-menu/CoreContextMenuCommandAccepted.ts(21,19): error TS2339: Property 'client' does not exist on type 'Container'.
src/listeners/application-commands/context-menu/CoreContextMenuCommandAccepted.ts(26,47): error TS2339: Property 'client' does not exist on type 'Container'.
src/listeners/application-commands/context-menu/CoreContextMenuCommandAccepted.ts(28,18): error TS2339: Property 'client' does not exist on type 'Container'.

src/listeners/application-commands/chat-input/CorePreChatInputCommandRun.ts(13,30): error TS2532: Object is possibly 'undefined'.
src/listeners/application-commands/chat-input/CorePreChatInputCommandRun.ts(15,19): error TS2339: Property 'client' does not exist on type 'Container'.
src/listeners/application-commands/chat-input/CorePreChatInputCommandRun.ts(22,19): error TS2339: Property 'client' does not exist on type 'Container'.
src/listeners/application-commands/chat-input/CorePreChatInputCommandRun.ts(26,18): error TS2339: Property 'client' does not exist on type 'Container'.

src/listeners/application-commands/chat-input/CorePossibleChatInputCommand.ts(12,11): error TS2339: Property 'client' does not exist on type 'Container'.
src/listeners/application-commands/chat-input/CorePossibleChatInputCommand.ts(15,19): error TS18048: 'commandStore' is possibly 'undefined'.
src/listeners/application-commands/chat-input/CorePossibleChatInputCommand.ts(15,62): error TS18048: 'commandStore' is possibly 'undefined'.

src/listeners/application-commands/context-menu/CorePreContextMenuCommandRun.ts(13,30): error TS2532: Object is possibly 'undefined'.
src/listeners/application-commands/context-menu/CorePreContextMenuCommandRun.ts(15,19): error TS2339: Property 'client' does not exist on type 'Container'.
src/listeners/application-commands/context-menu/CorePreContextMenuCommandRun.ts(22,19): error TS2339: Property 'client' does not exist on type 'Container'.
src/listeners/application-commands/context-menu/CorePreContextMenuCommandRun.ts(26,18): error TS2339: Property 'client' does not exist on type 'Container'.

src/listeners/application-commands/context-menu/CorePossibleContextMenuCommand.ts(12,11): error TS2339: Property 'client' does not exist on type 'Container'.
src/listeners/application-commands/context-menu/CorePossibleContextMenuCommand.ts(15,19): error TS18048: 'commandStore' is possibly 'undefined'.
src/listeners/application-commands/context-menu/CorePossibleContextMenuCommand.ts(15,62): error TS18048: 'commandStore' is possibly 'undefined'.


Whereas on 6.6.2 it is:

Details
CLI Building entry: src/index.ts, src/arguments/CoreBoolean.ts, src/arguments/CoreChannel.ts, src/arguments/CoreDMChannel.ts, src/arguments/CoreDate.ts, src/arguments/CoreEmoji.ts, src/arguments/CoreEnum.ts, src/arguments/CoreFloat.ts, src/arguments/CoreGuildCategoryChannel.ts, src/arguments/CoreGuildChannel.ts, src/arguments/CoreGuildNewsChannel.ts, src/arguments/CoreGuildNewsThreadChannel.ts, src/arguments/CoreGuildPrivateThreadChannel.ts, src/arguments/CoreGuildPublicThreadChannel.ts, src/arguments/CoreGuildStageVoiceChannel.ts, src/arguments/CoreGuildTextChannel.ts, src/arguments/CoreGuildThreadChannel.ts, src/arguments/CoreGuildVoiceChannel.ts, src/arguments/CoreHyperlink.ts, src/arguments/CoreInteger.ts, src/arguments/CoreMember.ts, src/arguments/CoreMessage.ts, src/arguments/CoreNumber.ts, src/arguments/CorePartialDMChannel.ts, src/arguments/CoreRole.ts, src/arguments/CoreString.ts, src/arguments/CoreUser.ts, src/lib/SapphireClient.ts, src/listeners/CoreInteractionCreate.ts, src/listeners/CoreReady.ts, src/preconditions/ClientPermissions.ts, src/preconditions/Cooldown.ts, src/preconditions/DMOnly.ts, src/preconditions/Enabled.ts, src/preconditions/GuildNewsOnly.ts, src/preconditions/GuildNewsThreadOnly.ts, src/preconditions/GuildOnly.ts, src/preconditions/GuildPrivateThreadOnly.ts, src/preconditions/GuildPublicThreadOnly.ts, src/preconditions/GuildTextOnly.ts, src/preconditions/GuildThreadOnly.ts, src/preconditions/GuildVoiceOnly.ts, src/preconditions/NSFW.ts, src/preconditions/UserPermissions.ts, src/lib/errors/ArgumentError.ts, src/lib/errors/Identifiers.ts, src/lib/errors/PreconditionError.ts, src/lib/errors/UserError.ts, src/lib/parsers/Args.ts, src/lib/plugins/Plugin.ts, src/lib/plugins/PluginManager.ts, src/lib/plugins/symbols.ts, src/lib/resolvers/boolean.ts, src/lib/resolvers/channel.ts, src/lib/resolvers/date.ts, src/lib/resolvers/dmChannel.ts, src/lib/resolvers/emoji.ts, src/lib/resolvers/enum.ts, src/lib/resolvers/float.ts, src/lib/resolvers/guildCategoryChannel.ts, src/lib/resolvers/guildChannel.ts, src/lib/resolvers/guildNewsChannel.ts, src/lib/resolvers/guildNewsThreadChannel.ts, src/lib/resolvers/guildPrivateThreadChannel.ts, src/lib/resolvers/guildPublicThreadChannel.ts, src/lib/resolvers/guildStageVoiceChannel.ts, src/lib/resolvers/guildTextChannel.ts, src/lib/resolvers/guildThreadChannel.ts, src/lib/resolvers/guildVoiceChannel.ts, src/lib/resolvers/hyperlink.ts, src/lib/resolvers/index.ts, src/lib/resolvers/integer.ts, src/lib/resolvers/member.ts, src/lib/resolvers/message.ts, src/lib/resolvers/number.ts, src/lib/resolvers/partialDMChannel.ts, src/lib/resolvers/role.ts, src/lib/resolvers/string.ts, src/lib/resolvers/user.ts, src/lib/structures/Argument.ts, src/lib/structures/ArgumentStore.ts, src/lib/structures/Command.ts, src/lib/structures/CommandStore.ts, src/lib/structures/InteractionHandler.ts, src/lib/structures/InteractionHandlerStore.ts, src/lib/structures/Listener.ts, src/lib/structures/ListenerStore.ts, src/lib/structures/Precondition.ts, src/lib/structures/PreconditionStore.ts, src/lib/types/Enums.ts, src/lib/types/Events.ts, src/optional-listeners/error-listeners/CoreChatInputCommandError.ts, src/optional-listeners/error-listeners/CoreCommandApplicationCommandRegistryError.ts, src/optional-listeners/error-listeners/CoreCommandAutocompleteInteractionError.ts, src/optional-listeners/error-listeners/CoreContextMenuCommandError.ts, src/optional-listeners/error-listeners/CoreInteractionHandlerError.ts, src/optional-listeners/error-listeners/CoreInteractionHandlerParseError.ts, src/optional-listeners/error-listeners/CoreListenerError.ts, src/optional-listeners/error-listeners/CoreMessageCommandError.ts, src/optional-listeners/message-command-listeners/CoreMessageCommandAccepted.ts, src/optional-listeners/message-command-listeners/CoreMessageCommandTyping.ts, src/optional-listeners/message-command-listeners/CoreMessageCreate.ts, src/optional-listeners/message-command-listeners/CorePreMessageCommandRun.ts, src/optional-listeners/message-command-listeners/CorePreMessageParser.ts, src/optional-listeners/message-command-listeners/CorePrefixedMessage.ts, src/listeners/application-commands/CorePossibleAutocompleteInteraction.ts, src/lib/utils/application-commands/ApplicationCommandRegistries.ts, src/lib/utils/application-commands/ApplicationCommandRegistry.ts, src/lib/utils/application-commands/computeDifferences.ts, src/lib/utils/application-commands/emitRegistryError.ts, src/lib/utils/application-commands/getNeededParameters.ts, src/lib/utils/application-commands/normalizeInputs.ts, src/lib/utils/application-commands/registriesLog.ts, src/lib/utils/logger/ILogger.ts, src/lib/utils/logger/Logger.ts, src/lib/utils/resolvers/resolveGuildChannelPredicate.ts, src/lib/utils/preconditions/IPreconditionContainer.ts, src/lib/utils/preconditions/PreconditionContainerArray.ts, src/lib/utils/preconditions/PreconditionContainerSingle.ts, src/lib/utils/strategies/FlagUnorderedStrategy.ts, src/listeners/application-commands/chat-input/CoreChatInputCommandAccepted.ts, src/listeners/application-commands/chat-input/CorePossibleChatInputCommand.ts, src/listeners/application-commands/chat-input/CorePreChatInputCommandRun.ts, src/listeners/application-commands/context-menu/CoreContextMenuCommandAccepted.ts, src/listeners/application-commands/context-menu/CorePossibleContextMenuCommand.ts, src/listeners/application-commands/context-menu/CorePreContextMenuCommandRun.ts, src/lib/utils/preconditions/conditions/IPreconditionCondition.ts, src/lib/utils/preconditions/conditions/PreconditionConditionAnd.ts, src/lib/utils/preconditions/conditions/PreconditionConditionOr.ts, src/lib/utils/preconditions/containers/ClientPermissionsPrecondition.ts, src/lib/utils/preconditions/containers/UserPermissionsPrecondition.ts
CLI Using tsconfig: src/tsconfig.json
CLI tsup v6.6.2
CLI Using tsup config: /Users/favna/workspace/sapphire/framework/tsup.config.ts
CLI Target: es2020
CLI Cleaning output folder
CJS Build start
Generated an empty chunk: "IPreconditionContainer".
Generated an empty chunk: "IPreconditionCondition".
DTS Build start
CJS dist/lib/errors/Identifiers.js                                                            4.41 KB
CJS dist/lib/utils/preconditions/IPreconditionContainer.js                                    97.00 B
CJS dist/lib/types/Enums.js                                                                   1.86 KB
CJS dist/index.js                                                                             13.73 KB
CJS dist/arguments/CoreBoolean.js                                                             882.00 B
CJS dist/lib/utils/preconditions/conditions/IPreconditionCondition.js                         97.00 B
CJS dist/arguments/CoreDMChannel.js                                                           862.00 B
CJS dist/arguments/CoreChannel.js                                                             847.00 B
CJS dist/arguments/CoreEmoji.js                                                               817.00 B
CJS dist/arguments/CoreFloat.js                                                               1.29 KB
CJS dist/arguments/CoreEnum.js                                                                915.00 B
CJS dist/arguments/CoreDate.js                                                                1.30 KB
CJS dist/arguments/CoreGuildNewsChannel.js                                                    1.25 KB
CJS dist/arguments/CoreGuildCategoryChannel.js                                                1.27 KB
CJS dist/arguments/CoreGuildPrivateThreadChannel.js                                           1.30 KB
CJS dist/arguments/CoreGuildPublicThreadChannel.js                                            1.29 KB
CJS dist/arguments/CoreGuildStageVoiceChannel.js                                              1.29 KB
CJS dist/arguments/CoreGuildThreadChannel.js                                                  1.25 KB
CJS dist/arguments/CoreGuildTextChannel.js                                                    1.25 KB
CJS dist/arguments/CoreInteger.js                                                             1.31 KB
CJS dist/arguments/CoreMessage.js                                                             1.03 KB
CJS dist/arguments/CoreHyperlink.js                                                           862.00 B
CJS dist/arguments/CoreGuildVoiceChannel.js                                                   1.25 KB
CJS dist/arguments/CoreMember.js                                                              1.18 KB
CJS dist/arguments/CoreString.js                                                              1.20 KB
CJS dist/arguments/CorePartialDMChannel.js                                                    912.00 B
CJS dist/arguments/CoreGuildChannel.js                                                        1.22 KB
CJS dist/arguments/CoreRole.js                                                                1.16 KB
CJS dist/lib/SapphireClient.js                                                                4.66 KB
CJS dist/listeners/CoreInteractionCreate.js                                                   1.29 KB
CJS dist/listeners/CoreReady.js                                                               1.08 KB
CJS dist/arguments/CoreUser.js                                                                835.00 B
CJS dist/preconditions/DMOnly.js                                                              1.15 KB
CJS dist/arguments/CoreNumber.js                                                              1.30 KB
CJS dist/preconditions/ClientPermissions.js                                                   4.79 KB
CJS dist/preconditions/GuildOnly.js                                                           1.15 KB
CJS dist/preconditions/Enabled.js                                                             1.19 KB
CJS dist/preconditions/GuildNewsOnly.js                                                       1.68 KB
CJS dist/arguments/CoreGuildNewsThreadChannel.js                                              1.29 KB
CJS dist/preconditions/Cooldown.js                                                            3.02 KB
CJS dist/preconditions/GuildVoiceOnly.js                                                      1.56 KB
CJS dist/preconditions/GuildPublicThreadOnly.js                                               1.62 KB
CJS dist/preconditions/GuildPrivateThreadOnly.js                                              1.63 KB
CJS dist/preconditions/GuildThreadOnly.js                                                     1.40 KB
CJS dist/lib/utils/logger/ILogger.js                                                          567.00 B
CJS dist/preconditions/GuildNewsThreadOnly.js                                                 1.62 KB
CJS dist/lib/errors/ArgumentError.js                                                          722.00 B
CJS dist/lib/plugins/PluginManager.js                                                         2.12 KB
CJS dist/lib/parsers/Args.js                                                                  8.70 KB
CJS dist/preconditions/GuildTextOnly.js                                                       1.70 KB
CJS dist/lib/resolvers/boolean.js                                                             889.00 B
CJS dist/preconditions/NSFW.js                                                                1.37 KB
CJS dist/lib/resolvers/dmChannel.js                                                           897.00 B
CJS dist/lib/resolvers/date.js                                                                948.00 B
CJS dist/lib/plugins/Plugin.js                                                                312.00 B
CJS dist/lib/resolvers/guildCategoryChannel.js                                                838.00 B
CJS dist/lib/resolvers/float.js                                                               930.00 B
CJS dist/lib/resolvers/emoji.js                                                               980.00 B
CJS dist/lib/plugins/symbols.js                                                               701.00 B
CJS dist/lib/errors/PreconditionError.js                                                      722.00 B
CJS dist/lib/resolvers/channel.js                                                             941.00 B
CJS dist/lib/resolvers/enum.js                                                                919.00 B
CJS dist/lib/resolvers/guildPrivateThreadChannel.js                                           878.00 B
CJS dist/lib/resolvers/guildPublicThreadChannel.js                                            870.00 B
CJS dist/lib/resolvers/guildTextChannel.js                                                    806.00 B
CJS dist/lib/resolvers/guildNewsThreadChannel.js                                              854.00 B
CJS dist/lib/resolvers/guildThreadChannel.js                                                  822.00 B
CJS dist/lib/resolvers/guildVoiceChannel.js                                                   814.00 B
CJS dist/lib/resolvers/integer.js                                                             953.00 B
CJS dist/lib/resolvers/guildNewsChannel.js                                                    806.00 B
CJS dist/lib/resolvers/hyperlink.js                                                           625.00 B
CJS dist/lib/resolvers/guildStageVoiceChannel.js                                              849.00 B
CJS dist/lib/resolvers/index.js                                                               6.90 KB
CJS dist/lib/resolvers/message.js                                                             3.52 KB
CJS dist/lib/resolvers/user.js                                                                885.00 B
CJS dist/lib/resolvers/string.js                                                              813.00 B
CJS dist/lib/resolvers/partialDMChannel.js                                                    901.00 B
CJS dist/lib/resolvers/role.js                                                                1.17 KB
CJS dist/lib/structures/ArgumentStore.js                                                      519.00 B
CJS dist/lib/structures/Argument.js                                                           835.00 B
CJS dist/lib/resolvers/number.js                                                              939.00 B
CJS dist/lib/resolvers/member.js                                                              1.31 KB
CJS dist/lib/errors/UserError.js                                                              698.00 B
CJS dist/lib/structures/CommandStore.js                                                       2.90 KB
CJS dist/lib/structures/InteractionHandler.js                                                 3.35 KB
CJS dist/lib/structures/ListenerStore.js                                                      514.00 B
CJS dist/lib/structures/Command.js                                                            15.76 KB
CJS dist/lib/structures/InteractionHandlerStore.js                                            2.53 KB
CJS dist/lib/structures/Listener.js                                                           2.04 KB
CJS dist/optional-listeners/error-listeners/CoreCommandApplicationCommandRegistryError.js     853.00 B
CJS dist/lib/structures/PreconditionStore.js                                                  3.08 KB
CJS dist/lib/types/Events.js                                                                  15.06 KB
CJS dist/optional-listeners/error-listeners/CoreInteractionHandlerParseError.js               848.00 B
CJS dist/optional-listeners/error-listeners/CoreInteractionHandlerError.js                    836.00 B
CJS dist/optional-listeners/error-listeners/CoreListenerError.js                              777.00 B
CJS dist/lib/resolvers/guildChannel.js                                                        1.25 KB
CJS dist/optional-listeners/error-listeners/CoreContextMenuCommandError.js                    764.00 B
CJS dist/optional-listeners/error-listeners/CoreMessageCommandError.js                        756.00 B
CJS dist/optional-listeners/message-command-listeners/CoreMessageCreate.js                    726.00 B
CJS dist/optional-listeners/message-command-listeners/CoreMessageCommandTyping.js             1.03 KB
CJS dist/optional-listeners/message-command-listeners/CorePreMessageParser.js                 3.31 KB
CJS dist/optional-listeners/message-command-listeners/CoreMessageCommandAccepted.js           1.62 KB
CJS dist/optional-listeners/message-command-listeners/CorePrefixedMessage.js                  1.87 KB
CJS dist/optional-listeners/message-command-listeners/CorePreMessageCommandRun.js             1.20 KB
CJS dist/optional-listeners/error-listeners/CoreChatInputCommandError.js                      763.00 B
CJS dist/lib/utils/application-commands/ApplicationCommandRegistry.js                         15.48 KB
CJS dist/lib/utils/application-commands/getNeededParameters.js                                1.81 KB
CJS dist/lib/utils/application-commands/ApplicationCommandRegistries.js                       6.54 KB
CJS dist/lib/utils/application-commands/emitRegistryError.js                                  903.00 B
CJS dist/lib/utils/application-commands/computeDifferences.js                                 21.25 KB
CJS dist/listeners/application-commands/CorePossibleAutocompleteInteraction.js                1.50 KB
CJS dist/lib/utils/resolvers/resolveGuildChannelPredicate.js                                  748.00 B
CJS dist/lib/utils/application-commands/normalizeInputs.js                                    4.32 KB
CJS dist/lib/utils/application-commands/registriesLog.js                                      1.22 KB
CJS dist/lib/utils/strategies/FlagUnorderedStrategy.js                                        1.56 KB
CJS dist/lib/utils/logger/Logger.js                                                           1.39 KB
CJS dist/listeners/application-commands/context-menu/CoreContextMenuCommandAccepted.js        1.57 KB
CJS dist/listeners/application-commands/chat-input/CoreChatInputCommandAccepted.js            1.56 KB
CJS dist/lib/utils/preconditions/PreconditionContainerSingle.js                               3.71 KB
CJS dist/listeners/application-commands/chat-input/CorePreChatInputCommandRun.js              1.25 KB
CJS dist/listeners/application-commands/context-menu/CorePossibleContextMenuCommand.js        1.49 KB
CJS dist/listeners/application-commands/chat-input/CorePossibleChatInputCommand.js            1.47 KB
CJS dist/lib/utils/preconditions/PreconditionContainerArray.js                                5.24 KB
CJS dist/lib/utils/preconditions/containers/UserPermissionsPrecondition.js                    755.00 B
CJS dist/lib/utils/preconditions/containers/ClientPermissionsPrecondition.js                  769.00 B
CJS dist/lib/utils/preconditions/conditions/PreconditionConditionAnd.js                       1.84 KB
CJS dist/lib/utils/preconditions/conditions/PreconditionConditionOr.js                        2.29 KB
CJS dist/lib/structures/Precondition.js                                                       1.29 KB
CJS dist/listeners/application-commands/context-menu/CorePreContextMenuCommandRun.js          1.27 KB
CJS dist/optional-listeners/error-listeners/CoreCommandAutocompleteInteractionError.js        840.00 B
CJS dist/preconditions/UserPermissions.js                                                     3.00 KB
CJS dist/lib/types/Enums.js.map                                                               2.66 KB
CJS dist/index.js.map                                                                         6.19 KB
CJS dist/arguments/CoreEmoji.js.map                                                           1.10 KB
CJS dist/lib/errors/Identifiers.js.map                                                        4.90 KB
CJS dist/arguments/CoreBoolean.js.map                                                         1.24 KB
CJS dist/arguments/CoreFloat.js.map                                                           1.83 KB
CJS dist/arguments/CoreGuildCategoryChannel.js.map                                            1.80 KB
CJS dist/arguments/CoreEnum.js.map                                                            1.32 KB
CJS dist/arguments/CoreGuildPrivateThreadChannel.js.map                                       1.81 KB
CJS dist/arguments/CoreGuildNewsChannel.js.map                                                1.77 KB
CJS dist/arguments/CoreGuildStageVoiceChannel.js.map                                          1.80 KB
CJS dist/arguments/CoreGuildThreadChannel.js.map                                              1.77 KB
CJS dist/arguments/CoreGuildPublicThreadChannel.js.map                                        1.81 KB
CJS dist/arguments/CoreChannel.js.map                                                         1.19 KB
CJS dist/arguments/CoreInteger.js.map                                                         1.85 KB
CJS dist/arguments/CoreGuildTextChannel.js.map                                                1.76 KB
CJS dist/arguments/CoreDMChannel.js.map                                                       1.18 KB
CJS dist/arguments/CoreHyperlink.js.map                                                       1.17 KB
CJS dist/arguments/CoreMember.js.map                                                          1.72 KB
CJS dist/arguments/CoreString.js.map                                                          1.73 KB
CJS dist/arguments/CoreMessage.js.map                                                         1.61 KB
CJS dist/arguments/CoreRole.js.map                                                            1.68 KB
CJS dist/lib/SapphireClient.js.map                                                            15.50 KB
CJS dist/listeners/CoreInteractionCreate.js.map                                               1.80 KB
CJS dist/listeners/CoreReady.js.map                                                           1.29 KB
CJS dist/arguments/CoreGuildVoiceChannel.js.map                                               1.77 KB
CJS dist/arguments/CorePartialDMChannel.js.map                                                1.27 KB
CJS dist/arguments/CoreUser.js.map                                                            1.14 KB
CJS dist/arguments/CoreNumber.js.map                                                          1.84 KB
CJS dist/preconditions/ClientPermissions.js.map                                               7.64 KB
CJS dist/preconditions/GuildNewsOnly.js.map                                                   2.46 KB
CJS dist/preconditions/Enabled.js.map                                                         2.06 KB
CJS dist/preconditions/GuildPublicThreadOnly.js.map                                           2.29 KB
CJS dist/preconditions/Cooldown.js.map                                                        5.63 KB
CJS dist/preconditions/GuildPrivateThreadOnly.js.map                                          2.30 KB
CJS dist/arguments/CoreGuildNewsThreadChannel.js.map                                          1.80 KB
CJS dist/preconditions/GuildThreadOnly.js.map                                                 2.09 KB
CJS dist/lib/utils/logger/ILogger.js.map                                                      2.47 KB
CJS dist/preconditions/GuildNewsThreadOnly.js.map                                             2.30 KB
CJS dist/lib/errors/ArgumentError.js.map                                                      1.69 KB
CJS dist/lib/parsers/Args.js.map                                                              34.50 KB
CJS dist/lib/plugins/PluginManager.js.map                                                     4.71 KB
CJS dist/preconditions/GuildTextOnly.js.map                                                   2.49 KB
CJS dist/lib/resolvers/boolean.js.map                                                         1.27 KB
CJS dist/preconditions/GuildVoiceOnly.js.map                                                  2.21 KB
CJS dist/preconditions/NSFW.js.map                                                            2.34 KB
CJS dist/lib/resolvers/dmChannel.js.map                                                       1.18 KB
CJS dist/preconditions/GuildOnly.js.map                                                       1.67 KB
CJS dist/lib/plugins/Plugin.js.map                                                            1.06 KB
CJS dist/lib/resolvers/guildCategoryChannel.js.map                                            926.00 B
CJS dist/lib/resolvers/float.js.map                                                           1.24 KB
CJS dist/lib/resolvers/date.js.map                                                            1.29 KB
CJS dist/lib/resolvers/emoji.js.map                                                           1.34 KB
CJS dist/lib/plugins/symbols.js.map                                                           753.00 B
CJS dist/lib/resolvers/channel.js.map                                                         1.25 KB
CJS dist/lib/resolvers/guildPrivateThreadChannel.js.map                                       1005.00 B
CJS dist/lib/resolvers/enum.js.map                                                            1.23 KB
CJS dist/lib/resolvers/guildPublicThreadChannel.js.map                                        999.00 B
CJS dist/lib/resolvers/guildNewsThreadChannel.js.map                                          987.00 B
CJS dist/lib/resolvers/guildThreadChannel.js.map                                              910.00 B
CJS dist/lib/resolvers/integer.js.map                                                         1.26 KB
CJS dist/lib/resolvers/guildVoiceChannel.js.map                                               902.00 B
CJS dist/lib/resolvers/hyperlink.js.map                                                       706.00 B
CJS dist/lib/resolvers/guildNewsChannel.js.map                                                892.00 B
CJS dist/lib/resolvers/guildStageVoiceChannel.js.map                                          922.00 B
CJS dist/lib/resolvers/message.js.map                                                         6.19 KB
CJS dist/lib/resolvers/index.js.map                                                           1.23 KB
CJS dist/preconditions/DMOnly.js.map                                                          1.67 KB
CJS dist/lib/structures/ArgumentStore.js.map                                                  487.00 B
CJS dist/lib/resolvers/role.js.map                                                            1.63 KB
CJS dist/lib/resolvers/user.js.map                                                            1.13 KB
CJS dist/lib/resolvers/partialDMChannel.js.map                                                1.13 KB
CJS dist/arguments/CoreGuildChannel.js.map                                                    1.79 KB
CJS dist/lib/resolvers/number.js.map                                                          1.24 KB
CJS dist/lib/structures/Argument.js.map                                                       5.41 KB
CJS dist/lib/resolvers/guildTextChannel.js.map                                                892.00 B
CJS dist/lib/errors/PreconditionError.js.map                                                  1.50 KB
CJS dist/lib/resolvers/member.js.map                                                          1.92 KB
CJS dist/lib/structures/CommandStore.js.map                                                   4.88 KB
CJS dist/lib/structures/ListenerStore.js.map                                                  475.00 B
CJS dist/lib/structures/InteractionHandler.js.map                                             5.35 KB
CJS dist/lib/errors/UserError.js.map                                                          1.64 KB
CJS dist/lib/structures/Command.js.map                                                        35.88 KB
CJS dist/lib/structures/InteractionHandlerStore.js.map                                        4.61 KB
CJS dist/lib/structures/PreconditionStore.js.map                                              5.40 KB
CJS dist/lib/structures/Listener.js.map                                                       6.25 KB
CJS dist/lib/utils/preconditions/IPreconditionContainer.js.map                                51.00 B
CJS dist/optional-listeners/error-listeners/CoreCommandApplicationCommandRegistryError.js.map 1.13 KB
CJS dist/optional-listeners/error-listeners/CoreListenerError.js.map                          1.02 KB
CJS dist/optional-listeners/error-listeners/CoreInteractionHandlerError.js.map                1.09 KB
CJS dist/optional-listeners/error-listeners/CoreInteractionHandlerParseError.js.map           1.16 KB
CJS dist/arguments/CoreDate.js.map                                                            1.89 KB
CJS dist/lib/types/Events.js.map                                                              29.46 KB
CJS dist/optional-listeners/message-command-listeners/CorePreMessageCommandRun.js.map         1.80 KB
CJS dist/lib/resolvers/guildChannel.js.map                                                    1.86 KB
CJS dist/optional-listeners/message-command-listeners/CoreMessageCommandTyping.js.map         1.55 KB
CJS dist/optional-listeners/message-command-listeners/CoreMessageCommandAccepted.js.map       2.40 KB
CJS dist/optional-listeners/error-listeners/CoreChatInputCommandError.js.map                  1.01 KB
CJS dist/optional-listeners/message-command-listeners/CorePrefixedMessage.js.map              3.44 KB
CJS dist/lib/utils/application-commands/ApplicationCommandRegistries.js.map                   10.54 KB
CJS dist/lib/utils/application-commands/getNeededParameters.js.map                            2.49 KB
CJS dist/lib/utils/application-commands/emitRegistryError.js.map                              1.24 KB
CJS dist/listeners/application-commands/CorePossibleAutocompleteInteraction.js.map            2.46 KB
CJS dist/lib/utils/resolvers/resolveGuildChannelPredicate.js.map                              1.16 KB
CJS dist/lib/utils/application-commands/computeDifferences.js.map                             37.00 KB
CJS dist/lib/utils/application-commands/normalizeInputs.js.map                                7.73 KB
CJS dist/lib/utils/strategies/FlagUnorderedStrategy.js.map                                    3.62 KB
CJS dist/lib/utils/preconditions/conditions/IPreconditionCondition.js.map                     51.00 B
CJS dist/optional-listeners/message-command-listeners/CoreMessageCreate.js.map                1009.00 B
CJS dist/lib/utils/application-commands/ApplicationCommandRegistry.js.map                     27.70 KB
CJS dist/listeners/application-commands/chat-input/CoreChatInputCommandAccepted.js.map        2.28 KB
CJS dist/optional-listeners/error-listeners/CoreMessageCommandError.js.map                    1017.00 B
CJS dist/listeners/application-commands/context-menu/CoreContextMenuCommandAccepted.js.map    2.30 KB
CJS dist/listeners/application-commands/context-menu/CorePossibleContextMenuCommand.js.map    2.30 KB
CJS dist/lib/utils/application-commands/registriesLog.js.map                                  1.21 KB
CJS dist/listeners/application-commands/chat-input/CorePossibleChatInputCommand.js.map        2.28 KB
CJS dist/lib/utils/preconditions/PreconditionContainerSingle.js.map                           7.53 KB
CJS dist/optional-listeners/error-listeners/CoreContextMenuCommandError.js.map                1.01 KB
CJS dist/lib/utils/preconditions/PreconditionContainerArray.js.map                            11.63 KB
CJS dist/lib/resolvers/string.js.map                                                          1.01 KB
CJS dist/lib/utils/preconditions/conditions/PreconditionConditionAnd.js.map                   3.68 KB
CJS dist/lib/utils/preconditions/containers/ClientPermissionsPrecondition.js.map              1.51 KB
CJS dist/listeners/application-commands/chat-input/CorePreChatInputCommandRun.js.map          1.88 KB
CJS dist/listeners/application-commands/context-menu/CorePreContextMenuCommandRun.js.map      1.89 KB
CJS dist/lib/utils/logger/Logger.js.map                                                       2.55 KB
CJS dist/lib/utils/preconditions/containers/UserPermissionsPrecondition.js.map                1.50 KB
CJS dist/lib/structures/Precondition.js.map                                                   6.88 KB
CJS dist/optional-listeners/error-listeners/CoreCommandAutocompleteInteractionError.js.map    1.12 KB
CJS dist/lib/utils/preconditions/conditions/PreconditionConditionOr.js.map                    4.15 KB
CJS dist/preconditions/UserPermissions.js.map                                                 4.68 KB
CJS dist/optional-listeners/message-command-listeners/CorePreMessageParser.js.map             5.64 KB
CJS ⚡️ Build success in 604ms
DTS ⚡️ Build success in 5684ms
DTS dist/index.d.ts                                                                         9.36 KB
DTS dist/arguments/CoreBoolean.d.ts                                                         1.01 KB
DTS dist/arguments/CoreChannel.d.ts                                                         989.00 B
DTS dist/arguments/CoreDMChannel.d.ts                                                       980.00 B
DTS dist/arguments/CoreDate.d.ts                                                            982.00 B
DTS dist/arguments/CoreEmoji.d.ts                                                           986.00 B
DTS dist/arguments/CoreEnum.d.ts                                                            1.02 KB
DTS dist/arguments/CoreFloat.d.ts                                                           986.00 B
DTS dist/arguments/CoreGuildCategoryChannel.d.ts                                            998.00 B
DTS dist/arguments/CoreGuildChannel.d.ts                                                    1019.00 B
DTS dist/arguments/CoreGuildNewsChannel.d.ts                                                986.00 B
DTS dist/arguments/CoreGuildNewsThreadChannel.d.ts                                          992.00 B
DTS dist/arguments/CoreGuildPrivateThreadChannel.d.ts                                       992.00 B
DTS dist/arguments/CoreGuildPublicThreadChannel.d.ts                                        992.00 B
DTS dist/arguments/CoreGuildStageVoiceChannel.d.ts                                          989.00 B
DTS dist/arguments/CoreGuildTextChannel.d.ts                                                986.00 B
DTS dist/arguments/CoreGuildThreadChannel.d.ts                                              992.00 B
DTS dist/arguments/CoreGuildVoiceChannel.d.ts                                               989.00 B
DTS dist/arguments/CoreHyperlink.d.ts                                                       962.00 B
DTS dist/arguments/CoreInteger.d.ts                                                         986.00 B
DTS dist/arguments/CoreMember.d.ts                                                          991.00 B
DTS dist/arguments/CoreMessage.d.ts                                                         1.08 KB
DTS dist/arguments/CoreNumber.d.ts                                                          986.00 B
DTS dist/arguments/CorePartialDMChannel.d.ts                                                1.01 KB
DTS dist/arguments/CoreRole.d.ts                                                            970.00 B
DTS dist/arguments/CoreString.d.ts                                                          986.00 B
DTS dist/arguments/CoreUser.d.ts                                                            970.00 B
DTS dist/listeners/CoreInteractionCreate.d.ts                                               969.00 B
DTS dist/listeners/CoreReady.d.ts                                                           271.00 B
DTS dist/preconditions/ClientPermissions.d.ts                                               1.63 KB
DTS dist/preconditions/DMOnly.d.ts                                                          1.13 KB
DTS dist/preconditions/Enabled.d.ts                                                         1.35 KB
DTS dist/preconditions/GuildNewsOnly.d.ts                                                   1.18 KB
DTS dist/preconditions/GuildNewsThreadOnly.d.ts                                             1.14 KB
DTS dist/preconditions/GuildOnly.d.ts                                                       1.13 KB
DTS dist/preconditions/GuildPrivateThreadOnly.d.ts                                          1.14 KB
DTS dist/preconditions/GuildPublicThreadOnly.d.ts                                           1.14 KB
DTS dist/preconditions/GuildTextOnly.d.ts                                                   1.18 KB
DTS dist/preconditions/GuildThreadOnly.d.ts                                                 1.14 KB
DTS dist/preconditions/GuildVoiceOnly.d.ts                                                  1.14 KB
DTS dist/preconditions/NSFW.d.ts                                                            1.14 KB
DTS dist/preconditions/UserPermissions.d.ts                                                 1.45 KB
DTS dist/lib/errors/Identifiers.d.ts                                                        3.38 KB
DTS dist/lib/errors/UserError.d.ts                                                          1.13 KB
DTS dist/lib/plugins/symbols.d.ts                                                           331.00 B
DTS dist/lib/resolvers/emoji.d.ts                                                           321.00 B
DTS dist/lib/resolvers/message.d.ts                                                         1.02 KB
DTS dist/lib/types/Enums.d.ts                                                               2.01 KB
DTS dist/lib/utils/logger/ILogger.d.ts                                                      2.17 KB
DTS dist/lib/utils/logger/Logger.d.ts                                                       698.00 B
DTS dist/lib/utils/preconditions/conditions/PreconditionConditionAnd.d.ts                   1009.00 B
DTS dist/lib/utils/preconditions/conditions/PreconditionConditionOr.d.ts                    1007.00 B
DTS dist/lib/utils/preconditions/containers/ClientPermissionsPrecondition.d.ts              1.72 KB
DTS dist/lib/utils/preconditions/containers/UserPermissionsPrecondition.d.ts                1.71 KB
DTS dist/lib/resolvers/boolean.d.ts                                                         310.00 B
DTS dist/lib/resolvers/channel.d.ts                                                         409.00 B
DTS dist/lib/resolvers/date.d.ts                                                            346.00 B
DTS dist/lib/resolvers/dmChannel.d.ts                                                       395.00 B
DTS dist/lib/resolvers/enum.d.ts                                                            325.00 B
DTS dist/lib/resolvers/float.d.ts                                                           355.00 B
DTS dist/lib/resolvers/guildCategoryChannel.d.ts                                            385.00 B
DTS dist/lib/resolvers/guildChannel.d.ts                                                    384.00 B
DTS dist/lib/resolvers/guildNewsChannel.d.ts                                                365.00 B
DTS dist/lib/resolvers/guildNewsThreadChannel.d.ts                                          433.00 B
DTS dist/lib/resolvers/guildPrivateThreadChannel.d.ts                                       442.00 B
DTS dist/lib/resolvers/guildPublicThreadChannel.d.ts                                        439.00 B
DTS dist/lib/resolvers/guildStageVoiceChannel.d.ts                                          385.00 B
DTS dist/lib/resolvers/guildTextChannel.d.ts                                                365.00 B
DTS dist/lib/resolvers/guildThreadChannel.d.ts                                              375.00 B
DTS dist/lib/resolvers/guildVoiceChannel.d.ts                                               370.00 B
DTS dist/lib/resolvers/hyperlink.d.ts                                                       265.00 B
DTS dist/lib/resolvers/integer.d.ts                                                         365.00 B
DTS dist/lib/resolvers/member.d.ts                                                          304.00 B
DTS dist/lib/resolvers/number.d.ts                                                          360.00 B
DTS dist/lib/resolvers/partialDMChannel.d.ts                                                392.00 B
DTS dist/lib/resolvers/role.d.ts                                                            284.00 B
DTS dist/lib/resolvers/string.d.ts                                                          325.00 B
DTS dist/lib/resolvers/user.d.ts                                                            263.00 B
DTS dist/lib/utils/strategies/FlagUnorderedStrategy.d.ts                                    1.57 KB
DTS dist/optional-listeners/error-listeners/CoreChatInputCommandError.d.ts                  1.01 KB
DTS dist/optional-listeners/error-listeners/CoreCommandApplicationCommandRegistryError.d.ts 1012.00 B
DTS dist/optional-listeners/error-listeners/CoreCommandAutocompleteInteractionError.d.ts    1.03 KB
DTS dist/optional-listeners/error-listeners/CoreContextMenuCommandError.d.ts                1.02 KB
DTS dist/optional-listeners/error-listeners/CoreInteractionHandlerError.d.ts                1.01 KB
DTS dist/optional-listeners/error-listeners/CoreInteractionHandlerParseError.d.ts           1.02 KB
DTS dist/optional-listeners/error-listeners/CoreListenerError.d.ts                          1014.00 B
DTS dist/optional-listeners/error-listeners/CoreMessageCommandError.d.ts                    1.01 KB
DTS dist/optional-listeners/message-command-listeners/CoreMessageCommandAccepted.d.ts       1.02 KB
DTS dist/optional-listeners/message-command-listeners/CoreMessageCommandTyping.d.ts         1.08 KB
DTS dist/optional-listeners/message-command-listeners/CoreMessageCreate.d.ts                980.00 B
DTS dist/optional-listeners/message-command-listeners/CorePreMessageCommandRun.d.ts         1.01 KB
DTS dist/optional-listeners/message-command-listeners/CorePreMessageParser.d.ts             1.09 KB
DTS dist/optional-listeners/message-command-listeners/CorePrefixedMessage.d.ts              1.01 KB
DTS dist/listeners/application-commands/CorePossibleAutocompleteInteraction.d.ts            1.02 KB
DTS dist/lib/utils/application-commands/computeDifferences.d.ts                             1.35 KB
DTS dist/lib/utils/application-commands/emitRegistryError.d.ts                              986.00 B
DTS dist/lib/utils/application-commands/getNeededParameters.d.ts                            626.00 B
DTS dist/lib/utils/application-commands/normalizeInputs.d.ts                                1.26 KB
DTS dist/lib/utils/application-commands/registriesLog.d.ts                                  412.00 B
DTS dist/lib/utils/resolvers/resolveGuildChannelPredicate.d.ts                              614.00 B
DTS dist/listeners/application-commands/chat-input/CoreChatInputCommandAccepted.d.ts        1.05 KB
DTS dist/listeners/application-commands/chat-input/CorePossibleChatInputCommand.d.ts        1.04 KB
DTS dist/listeners/application-commands/chat-input/CorePreChatInputCommandRun.d.ts          1.04 KB
DTS dist/listeners/application-commands/context-menu/CoreContextMenuCommandAccepted.d.ts    1.06 KB
DTS dist/listeners/application-commands/context-menu/CorePossibleContextMenuCommand.d.ts    1.05 KB
DTS dist/listeners/application-commands/context-menu/CorePreContextMenuCommandRun.d.ts      1.05 KB
DTS dist/lib/structures/ArgumentStore.d.ts                                                  716.00 B
DTS dist/lib/structures/Argument.d.ts                                                       848.00 B
DTS dist/lib/errors/ArgumentError.d.ts                                                      700.00 B
DTS dist/lib/parsers/Args.d.ts                                                              838.00 B
DTS dist/lib/utils/application-commands/ApplicationCommandRegistry.d.ts                     812.00 B
DTS dist/preconditions/Cooldown.d.ts                                                        772.00 B
DTS dist/lib/errors/PreconditionError.d.ts                                                  704.00 B
DTS dist/lib/structures/PreconditionStore.d.ts                                              721.00 B
DTS dist/lib/structures/Precondition.d.ts                                                   930.00 B
DTS dist/lib/utils/preconditions/IPreconditionContainer.d.ts                                848.00 B
DTS dist/lib/utils/preconditions/conditions/IPreconditionCondition.d.ts                     768.00 B
DTS dist/lib/utils/preconditions/PreconditionContainerSingle.d.ts                           871.00 B
DTS dist/lib/utils/preconditions/PreconditionContainerArray.d.ts                            913.00 B
DTS dist/lib/structures/Command.d.ts                                                        1.10 KB
DTS dist/lib/structures/CommandStore.d.ts                                                   716.00 B
DTS dist/lib/utils/application-commands/ApplicationCommandRegistries.d.ts                   955.00 B
DTS dist/lib/plugins/PluginManager.d.ts                                                     837.00 B
DTS dist/lib/SapphireClient.d.ts                                                            823.00 B
DTS dist/lib/plugins/Plugin.d.ts                                                            700.00 B
DTS dist/lib/types/Events.d.ts                                                              2.06 KB
DTS dist/lib/resolvers/index.d.ts                                                           1.56 KB
DTS dist/lib/structures/InteractionHandler.d.ts                                             317.00 B
DTS dist/lib/structures/InteractionHandlerStore.d.ts                                        227.00 B
DTS dist/lib/structures/Listener.d.ts                                                       176.00 B
DTS dist/lib/structures/ListenerStore.d.ts                                                  140.00 B
DTS dist/Events-1ca8c037.d.ts                                                               114.34 KB
DTS dist/index-508e110a.d.ts                                                                4.91 KB
DTS dist/InteractionHandlerStore-76121bdb.d.ts                                              4.20 KB
DTS dist/ListenerStore-f3b04eef.d.ts                                                        2.80 KB

In both cases the tsup.config.ts is:

Details
import { esbuildPluginFilePathExtensions } from 'esbuild-plugin-file-path-extensions';
import { esbuildPluginVersionInjector } from 'esbuild-plugin-version-injector';
import { defineConfig } from 'tsup';

export default defineConfig({
	clean: true,
	dts: true,
	entry: ['src/**/*.ts'],
	format: ['cjs'],
	minify: false,
	skipNodeModulesBundle: true,
	sourcemap: true,
	target: 'es2020',
	tsconfig: 'src/tsconfig.json',
	keepNames: true,
	esbuildPlugins: [esbuildPluginVersionInjector(), esbuildPluginFilePathExtensions()],
	treeshake: true,
	bundle: true,
	splitting: false
});

So while I'm not getting the same infinite loop as OP, it does fail to resolve types. Whereas before it did consider other files for types, it no longer does now. Notably, each of them can be fixed by adding an import of lib/SapphireClient but that would incur runtime changes and completely break the project through that.

The repo for this is: https://github.com/sapphiredev/framework, latest commit on main uses 6.6.2 (non caret versioning)

@justinechang39
Copy link

justinechang39 commented Feb 23, 2023

I am experiencing an infinite loop as well. Downgrading to 6.6.2 fixed the issue.

@ohana54
Copy link

ohana54 commented Feb 23, 2023

Also getting a dts related error in 6.6.3:

src/index.ts(1,15): error TS6307: File '<omitted>' is not listed within the file list of project ''. Projects must list all files or use an 'include' pattern.

Running tsc works fine.

@pyronaur
Copy link

Same problem, reverting to 6.6.2 did the trick.

@favna
Copy link

favna commented Sep 3, 2023

This issue still persists on v7.2.0 preventing us from upgrading for all the new features. When can you look into this @egoist ?

@denis-ilchishin
Copy link

denis-ilchishin commented Sep 21, 2023

I've managed to make it work:

tsup.config.ts

export default defineConfig({
  entry: ['index.ts'],
  outDir: 'dist',
  splitting: false,
  sourcemap: true,
  minify: false,
  format: ['cjs', 'esm'],
})

Then I have my package.json scripts setup this way

  "scripts": {
    "watch": "tsup --watch --onSuccess \"tsup --dts-only \"",
    "build": "tsup --clean --dts"
  },

@davidestrati
Copy link

davidestrati commented Oct 2, 2023

This PR from @crutchcorn should resolve this issue. @egoist could you have a look at it when you have time?

It bumps the version of rollup-dts-plugin that was previously affected by this issue

Thanks! 🙏🏻

diegohaz added a commit to djMax/ariakit that referenced this issue Oct 13, 2023
@crutchcorn
Copy link

This issue will be solved with a new release, now that #1018 has been merged

@hoangtrung99
Copy link

It seems the problem was resolved when I updated to the latest version currently version 8.0.1, previously I had this problem with version 7.x then I had to downgrade to version 6.6.2

@jangryga
Copy link

jangryga commented Feb 8, 2024

Just encountered the issue in 8.0.1, downgrading to 6.6.2 helped.

@sohamnandi77
Copy link

@crutchcorn Facing this issue in "^8.0.2" as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.