Code Monkey home page Code Monkey logo

Comments (15)

webpro avatar webpro commented on May 24, 2024 1

Thanks! v0.13.3

from knip.

webpro avatar webpro commented on May 24, 2024

Clear. Somehow the dependency I'm using doesn't like the CODEOWNERS file or syntax. Can take a closer look tomorrow.

from knip.

elijaholmos avatar elijaholmos commented on May 24, 2024

Sounds good. Thank you for the quick response

from knip.

webpro avatar webpro commented on May 24, 2024

The /**/*.js should be **/*.js, and then things are looking fine from my side:

❯ npx knip --reporter json --include files,duplicates
[{"file":"api/index.js","owners":["@elijaholmos"],"files":true,"duplicates":[]},{"file":"api/controllers/GatewayController.js","owners":["@elijaholmos"],"files":true,"duplicates":[]},{"file":"api/controllers/index.js","owners":["@elijaholmos"],"files":true,"duplicates":[]},{"file":"api/routes/gateway.js","owners":["@elijaholmos"],"files":true,"duplicates":[]},{"file":"api/routes/index.js","owners":["@elijaholmos"],"files":true,"duplicates":[]},{"file":"api/routes/refresh-token.js","owners":["@elijaholmos"],"files":true,"duplicates":[]},{"file":"api/routes/token-validate.js","owners":["@elijaholmos"],"files":true,"duplicates":[]},{"file":"commands/admin/distributetos.js","owners":["@elijaholmos"],"files":true,"duplicates":[]},{"file":"commands/development/test.js","owners":["@elijaholmos"],"files":true,"duplicates":[]},{"file":"commands/general/ping.js","owners":["@elijaholmos"],"files":true,"duplicates":[]},{"file":"commands/halo/setup.js","owners":["@elijaholmos"],"files":true,"duplicates":[]},{"file":"events/cron/updateClassStageAndUserStatus.js","owners":["@elijaholmos"],"files":true,"duplicates":[]},{"file":"events/firebase/userCreate.js","owners":["@elijaholmos"],"files":true,"duplicates":[]},{"file":"events/discord/interactionCreate/contextMenu.js","owners":["@elijaholmos"],"files":true,"duplicates":[]},{"file":"events/discord/interactionCreate/slashCommand.js","owners":["@elijaholmos"],"files":true,"duplicates":[]}]

pnpx gave errors so I switched to npx.

Knip should prevent globs starting with / from actually pointing to the root directory, though.

from knip.

webpro avatar webpro commented on May 24, 2024

Maybe it's a Windows incompatibility with the other package, such as here: https://github.com/snyk/github-codeowners/blob/main/src/lib/ownership/OwnershipEngine.ts#L44

Could you try to make your CODEOWNERS file to have \n EOLs?

from knip.

elijaholmos avatar elijaholmos commented on May 24, 2024

Okay, so after a good amount of debugging, I've arrived at this point:

npx knip --reporter json --include files,duplicates

and

pnpm knip --reporter json --include files,duplicates

both produce the same output of: []
image

Steps taken to arrive at this point:

  • update knip.json to set the following: "projectFiles": ["**/*.js"]
  • switch EOL sequence in CODEOWNERS from CRLF to LF
  • install knip as dev dependency
  • install typescript as dev dependency (this was only required to get npx to work)

So, I do not have any errors 🙌 but I also do not have the full output that you referenced in this comment. What are your thoughts?

from knip.

webpro avatar webpro commented on May 24, 2024

Alright, getting there :) Does it work as expected if you use the default reporter? What does this debug output give?

npx knip --debug

You can additionally add --debug-level 2 to list alle result.

from knip.

elijaholmos avatar elijaholmos commented on May 24, 2024

Here you go :) Looks like it marks all dependencies as unused, which is what happened when I first used the tool yesterday (before adding the --include files,duplicates flag)

C:\coding-work\halo-discord\halo-discord-bot>npx knip --debug
[knip] Unresolved configuration:
{
  cwd: 'C:\\coding-work\\halo-discord\\halo-discord-bot',
  workingDir: 'C:\\coding-work\\halo-discord\\halo-discord-bot',
  configFilePath: undefined,
  tsConfigFilePath: undefined,
  include: [],
  exclude: [],
  ignore: [],
  gitignore: true,
  isIncludeEntryFiles: false,
  isDev: false,
  isShowProgress: false,
  jsDoc: [],
  debug: { isEnabled: true, level: 1 }
}
[knip] Resolved configuration:
{ dev: true, entryFiles: [ 'index.js' ], projectFiles: [ '**/*.js' ] }
[knip] Globbed entry paths (1)
[knip] Included entry source files (1)
[knip] Included production source files (343)
[knip] Globbed project paths (0)
[knip] Included project source files (0)
[knip] Used production files (0)
[knip] Unreferenced production files (0)
[knip] Used entry files (0)
[knip] Used non-entry files (0)
--- UNUSED FILES (0)
Not found
--- UNUSED DEPENDENCIES (14)
bidirectional-map
chalk
discord.js
dotenv
firebase-admin
klaw
knip
lodash-es
moment
node-schedule
serialize-error
set-interval-async
superagent
typescript
--- UNUSED DEV DEPENDENCIES (1)
express
--- UNLISTED DEPENDENCIES (0)
Not found
--- UNUSED EXPORTS (0)
Not found
--- UNUSED TYPES (0)
Not found
--- UNUSED EXPORTS IN NAMESPACE (0)
Not found
--- UNUSED TYPES IN NAMESPACE (0)
Not found
--- DUPLICATE EXPORTS (0)
Not found
Long `npx knip --debug --debug-level 2` output

C:\coding-work\halo-discord\halo-discord-bot>npx knip --debug --debug-level 2
[knip] Unresolved configuration:
{
  cwd: 'C:\\coding-work\\halo-discord\\halo-discord-bot',
  workingDir: 'C:\\coding-work\\halo-discord\\halo-discord-bot',
  configFilePath: undefined,
  tsConfigFilePath: undefined,
  include: [],
  exclude: [],
  ignore: [],
  gitignore: true,
  isIncludeEntryFiles: false,
  isDev: false,
  isShowProgress: false,
  jsDoc: [],
  debug: { isEnabled: true, level: 2 }
}
[knip] Resolved configuration:
{ dev: true, entryFiles: [ 'index.js' ], projectFiles: [ '**/*.js' ] }
[knip] Globbed entry paths (1):
[ 'C:/coding-work/halo-discord/halo-discord-bot/index.js' ]
[knip] Included entry source files (1):
[ 'C:/coding-work/halo-discord/halo-discord-bot/index.js' ]
[knip] Included production source files (343):
[
  'C:/coding-work/halo-discord/halo-discord-bot/bot.js',
  'C:/coding-work/halo-discord/halo-discord-bot/caches.js',
  'C:/coding-work/halo-discord/halo-discord-bot/config.js',
  'C:/coding-work/halo-discord/halo-discord-bot/firebase.js',
  'C:/coding-work/halo-discord/halo-discord-bot/index.js',
  'C:/coding-work/halo-discord/halo-discord-bot/stores.js',
  'C:/coding-work/halo-discord/halo-discord-bot/classes/Command.js',
  'C:/coding-work/halo-discord/halo-discord-bot/classes/CookieManager.js',
  'C:/coding-work/halo-discord/halo-discord-bot/classes/FirebaseStore.js',
  'C:/coding-work/halo-discord/halo-discord-bot/classes/HaloWatcher.js',
  'C:/coding-work/halo-discord/halo-discord-bot/classes/index.js',
  'C:/coding-work/halo-discord/halo-discord-bot/classes/LocalCache.js',
  'C:/coding-work/halo-discord/halo-discord-bot/classes/Logger.js',
  'C:/coding-work/halo-discord/halo-discord-bot/classes/components/ConfirmInteraction.js',
  'C:/coding-work/halo-discord/halo-discord-bot/classes/components/EmbedBase.js',
  'C:/coding-work/halo-discord/halo-discord-bot/classes/events/CronEvent.js',
  'C:/coding-work/halo-discord/halo-discord-bot/classes/events/DiscordEvent.js',
  'C:/coding-work/halo-discord/halo-discord-bot/classes/events/FirebaseEvent.js',
  'C:/coding-work/halo-discord/halo-discord-bot/classes/services/401Service.js',
  'C:/coding-work/halo-discord/halo-discord-bot/classes/services/AnnouncementService.js',
  'C:/coding-work/halo-discord/halo-discord-bot/classes/services/FirebaseService.js',
  'C:/coding-work/halo-discord/halo-discord-bot/classes/services/GradeService.js',
  'C:/coding-work/halo-discord/halo-discord-bot/classes/services/HaloService.js',
  'C:/coding-work/halo-discord/halo-discord-bot/classes/services/InboxMessageService.js',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/globals.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/v9.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/globals.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/v10.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/form-data/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/serialize-error/error-constructors.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/serialize-error/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@firebase/app-types/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@firebase/database-types/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node-fetch/externals.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node-fetch/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/ws/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/chalk/source/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/gateway/common.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/gateway/v9.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/common.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/common.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rpc/common.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rpc/v9.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/utils/internals.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/utils/v9.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/gateway/common.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/gateway/v10.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/common.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/common.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rpc/common.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rpc/v10.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/utils/internals.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/utils/v10.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord.js/typings/enums.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord.js/typings/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord.js/typings/rawDataTypes.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/dotenv/lib/main.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/moment/ts3.1-typings/moment.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/set-interval-async/dist/clear-interval-async.d.cts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/set-interval-async/dist/set-interval-async-handler.d.cts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/set-interval-async/dist/set-interval-async-strategy.d.cts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/set-interval-async/dist/set-interval-async-timer.d.cts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/set-interval-async/fixed/index.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/async-return-type.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/asyncify.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/basic.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/camel-case.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/camel-cased-properties-deep.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/camel-cased-properties.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/conditional-except.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/conditional-keys.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/conditional-pick.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/delimiter-case.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/delimiter-cased-properties.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/entries.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/entry.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/exact.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/except.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/fixed-length-array.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/get.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/has-optional-keys.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/has-required-keys.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/includes.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/internal.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/invariant-of.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/iterable-element.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/join.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/jsonify.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/kebab-case.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/kebab-cased-properties.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/last-array-element.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/literal-to-primitive.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/literal-union.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/merge-exclusive.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/merge.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/multidimensional-array.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/multidimensional-readonly-array.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/mutable.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/numeric.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/observable-like.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/opaque.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/optional-keys-of.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/package-json.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/partial-deep.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/partial-on-undefined-deep.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/pascal-case.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/pascal-cased-properties.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/primitive.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/promisable.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/promise-value.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/readonly-deep.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/readonly-tuple.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/remove-index-signature.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/replace.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/require-all-or-none.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/require-at-least-one.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/require-exactly-one.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/required-keys-of.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/schema.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/screaming-snake-case.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/set-non-nullable.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/set-optional.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/set-required.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/set-return-type.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/simplify.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/snake-case.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/snake-cased-properties-deep.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/snake-cased-properties.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/split.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/spread.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/string-key-of.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/stringified.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/trim.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/tsconfig-json.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/typed-array.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/union-to-intersection.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/value-of.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/type-fest/source/writable.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@discordjs/builders/dist/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@discordjs/collection/dist/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@firebase/logger/dist/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@firebase/util/dist/util-public.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@sapphire/shapeshift/dist/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/assert.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/async_hooks.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/buffer.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/child_process.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/cluster.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/console.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/constants.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/crypto.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/dgram.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/dns.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/dom-events.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/domain.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/events.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/fs.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/globals.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/globals.global.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/http.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/http2.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/https.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/inspector.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/module.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/net.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/os.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/path.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/perf_hooks.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/process.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/punycode.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/querystring.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/readline.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/repl.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/stream.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/string_decoder.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/test.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/timers.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/tls.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/trace_events.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/tty.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/url.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/util.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/v8.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/vm.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/wasi.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/worker_threads.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/zlib.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/application.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/auditLog.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/channel.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/emoji.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/gateway.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/guild.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/guildScheduledEvent.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/interactions.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/invite.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/oauth2.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/permissions.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/stageInstance.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/sticker.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/teams.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/template.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/user.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/voice.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/webhook.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v9/auditLog.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v9/channel.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v9/emoji.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v9/gateway.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v9/guild.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v9/guildScheduledEvent.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v9/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v9/interactions.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v9/invite.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v9/oauth2.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v9/stageInstance.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v9/sticker.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v9/template.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v9/user.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v9/voice.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v9/webhook.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/application.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/auditLog.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/channel.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/emoji.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/gateway.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/guild.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/guildScheduledEvent.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/interactions.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/invite.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/oauth2.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/permissions.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/stageInstance.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/sticker.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/teams.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/template.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/user.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/voice.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/webhook.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v10/auditLog.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v10/channel.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v10/emoji.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v10/gateway.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v10/guild.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v10/guildScheduledEvent.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v10/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v10/interactions.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v10/invite.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v10/oauth2.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v10/stageInstance.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v10/sticker.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v10/template.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v10/user.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v10/voice.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/rest/v10/webhook.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/app/core.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/app/credential-factory.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/app/credential.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/app/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/app/lifecycle.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/auth/action-code-settings-builder.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/auth/auth-config.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/auth/auth.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/auth/base-auth.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/auth/identifier.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/auth/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/auth/project-config-manager.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/auth/project-config.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/auth/tenant-manager.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/auth/tenant.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/auth/token-verifier.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/auth/user-import-builder.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/auth/user-record.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/database/database.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/firebase-admin/lib/database/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/set-interval-async/dist/fixed/set-interval-async.d.cts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@firebase/logger/dist/src/logger.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/assert/strict.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/dns/promises.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/fs/promises.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/readline/promises.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/stream/consumers.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/stream/promises.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/stream/web.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/@[email protected]/node_modules/@types/node/ts4.8/timers/promises.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/chalk/source/vendor/ansi-styles/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/chalk/source/vendor/supports-color/index.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/applicationCommands.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/autocomplete.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/base.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/messageComponents.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/modalSubmit.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/ping.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/responses.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/base.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/ping.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/responses.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/chatInput.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/contextMenu.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/internals.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/permissions.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/base.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/boolean.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/integer.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/mentionable.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/number.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/role.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/shared.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/string.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/user.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts',
  'C:/coding-work/halo-discord/halo-discord-bot/node_modules/.pnpm/[email protected]/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.d.ts'
]
[knip] Globbed project paths (0):
[]
[knip] Included project source files (0):
[]
[knip] Used production files (0):
[]
[knip] Unreferenced production files (0):
[]
[knip] Used entry files (0):
[]
[knip] Used non-entry files (0):
[]
[knip] Issues:
{
  files: Set(0) {},
  dependencies: Set(14) {
    'bidirectional-map',
    'chalk',
    'discord.js',
    'dotenv',
    'firebase-admin',
    'klaw',
    'knip',
    'lodash-es',
    'moment',
    'node-schedule',
    'serialize-error',
    'set-interval-async',
    'superagent',
    'typescript'
  },
  devDependencies: Set(1) { 'express' },
  unlisted: {},
  exports: {},
  types: {},
  nsExports: {},
  nsTypes: {},
  duplicates: {}
}
--- UNUSED FILES (0)
Not found
--- UNUSED DEPENDENCIES (14)
bidirectional-map
chalk
discord.js
dotenv
firebase-admin
klaw
knip
lodash-es
moment
node-schedule
serialize-error
set-interval-async
superagent
typescript
--- UNUSED DEV DEPENDENCIES (1)
express
--- UNLISTED DEPENDENCIES (0)
Not found
--- UNUSED EXPORTS (0)
Not found
--- UNUSED TYPES (0)
Not found
--- UNUSED EXPORTS IN NAMESPACE (0)
Not found
--- UNUSED TYPES IN NAMESPACE (0)
Not found
--- DUPLICATE EXPORTS (0)
Not found

from knip.

webpro avatar webpro commented on May 24, 2024

Thanks for the output, that was very useful. It led me to find that some path handling (OS specific) was mixed with globbing (always using / in paths). I've also added Windows to the test matrix in the GitHub Action to prevent regressions later on. There is one test failing for Windows, it has to do with .gitignore. But overall I think Knip is ready to be used on Windows now.

By the way, I've also decided to always add **/node_modules to the ignore list.

So I'd be happy to hear whether v0.10.0 works better :)

from knip.

elijaholmos avatar elijaholmos commented on May 24, 2024

v10 is looking much better! Here's my output for npx knip (with the same configuration mentioned above):

--- UNUSED FILES (15)
C:/coding-work/halo-discord/halo-discord-bot/api/controllers/GatewayController.js
C:/coding-work/halo-discord/halo-discord-bot/api/controllers/index.js
C:/coding-work/halo-discord/halo-discord-bot/api/index.js
C:/coding-work/halo-discord/halo-discord-bot/api/routes/gateway.js
C:/coding-work/halo-discord/halo-discord-bot/api/routes/index.js
C:/coding-work/halo-discord/halo-discord-bot/api/routes/refresh-token.js
C:/coding-work/halo-discord/halo-discord-bot/api/routes/token-validate.js
C:/coding-work/halo-discord/halo-discord-bot/commands/admin/distributetos.js
C:/coding-work/halo-discord/halo-discord-bot/commands/development/test.js
C:/coding-work/halo-discord/halo-discord-bot/commands/general/ping.js
C:/coding-work/halo-discord/halo-discord-bot/commands/halo/setup.js
C:/coding-work/halo-discord/halo-discord-bot/events/cron/updateClassStageAndUserStatus.js
C:/coding-work/halo-discord/halo-discord-bot/events/discord/interactionCreate/contextMenu.js
C:/coding-work/halo-discord/halo-discord-bot/events/discord/interactionCreate/slashCommand.js
C:/coding-work/halo-discord/halo-discord-bot/events/firebase/userCreate.js
--- UNUSED DEPENDENCIES (1)
typescript
--- UNUSED DEV DEPENDENCIES (2)
express
knip
--- UNLISTED DEPENDENCIES (0)
Not found
--- UNUSED EXPORTS (0)
Not found
--- UNUSED TYPES (0)
Not found
--- UNUSED EXPORTS IN NAMESPACE (3)
getUserSettings               classes\services\FirebaseService.js
getActiveUsersInClassAsync    classes\services\FirebaseService.js
getActiveDiscordUsersInClass  classes\services\FirebaseService.js
--- UNUSED TYPES IN NAMESPACE (0)
Not found
--- DUPLICATE EXPORTS (0)
Not found

However, when I run npx knip --reporter json, I get the following output:

[{"file":"api\\index.js","owners":["@elijaholmos"],"files":true,"unlisted":[],"exports":[],"types":[],"duplicates":[]},{"file":"api\\controllers\\GatewayController.js","owners":["@elijaholmos"],"files":true,"unlisted":[],"exports":[],"types":[],"duplicates":[]},{"file":"api\\controllers\\index.js","owners":["@elijaholmos"],"files":true,"unlisted":[],"exports":[],"types":[],"duplicates":[]},{"file":"api\\routes\\gateway.js","owners":["@elijaholmos"],"files":true,"unlisted":[],"exports":[],"types":[],"duplicates":[]},{"file":"api\\routes\\index.js","owners":["@elijaholmos"],"files":true,"unlisted":[],"exports":[],"types":[],"duplicates":[]},{"file":"api\\routes\\refresh-token.js","owners":["@elijaholmos"],"files":true,"unlisted":[],"exports":[],"types":[],"duplicates":[]},{"file":"api\\routes\\token-validate.js","owners":["@elijaholmos"],"files":true,"unlisted":[],"exports":[],"types":[],"duplicates":[]},{"file":"commands\\admin\\distributetos.js","owners":["@elijaholmos"],"files":true,"unlisted":[],"exports":[],"types":[],"duplicates":[]},{"file":"commands\\development\\test.js","owners":["@elijaholmos"],"files":true,"unlisted":[],"exports":[],"types":[],"duplicates":[]},{"file":"commands\\general\\ping.js","owners":["@elijaholmos"],"files":true,"unlisted":[],"exports":[],"types":[],"duplicates":[]},{"file":"commands\\halo\\setup.js","owners":["@elijaholmos"],"files":true,"unlisted":[],"exports":[],"types":[],"duplicates":[]},{"file":"events\\cron\\updateClassStageAndUserStatus.js","owners":["@elijaholmos"],"files":true,"unlisted":[],"exports":[],"types":[],"duplicates":[]},{"file":"events\\firebase\\userCreate.js","owners":["@elijaholmos"],"files":true,"unlisted":[],"exports":[],"types":[],"duplicates":[]},{"file":"events\\discord\\interactionCreate\\contextMenu.js","owners":["@elijaholmos"],"files":true,"unlisted":[],"exports":[],"types":[],"duplicates":[]},{"file":"events\\discord\\interactionCreate\\slashCommand.js","owners":["@elijaholmos"],"files":true,"unlisted":[],"exports":[],"types":[],"duplicates":[]},{"file":"classes\\services\\FirebaseService.js","owners":["@elijaholmos"],"files":false,"unlisted":[],"exports":["getActiveDiscordUsersInClass","getActiveUsersInClassAsync","getUserSettings"],"types":[],"duplicates":[]}]

It looks like the JSON report is missing the unused dependencies and unused dev dependencies that were included in the npx knip report. Will I need to add specific flags to get those sections to appear in the JSON reporter?

from knip.

webpro avatar webpro commented on May 24, 2024

Yeah this is as implemented. The JSON report is grouped by file, but now that I write this Knip could just assign these issues to the package.json file. Still early days, thanks for bearing with me and helping push this project forward!

from knip.

elijaholmos avatar elijaholmos commented on May 24, 2024

absolutely! thank you for hearing my feedback and working with me

from knip.

webpro avatar webpro commented on May 24, 2024

The (dev) dependencies are now in the json report as well (v0.11.0). Going to close this issue as the original issue is handled.

from knip.

elijaholmos avatar elijaholmos commented on May 24, 2024

sounds good, thank you. I'll open new issues for any other problems

from knip.

elijaholmos avatar elijaholmos commented on May 24, 2024

following up: https://github.com/snyk/github-codeowners now supports CRLF in CODEOWNERS files as of 1.1.0

from knip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.