knip 5.85.0 → 5.86.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CacheConsultant.d.ts +2 -2
- package/dist/CacheConsultant.js +3 -3
- package/dist/CatalogCounselor.d.ts +3 -3
- package/dist/CatalogCounselor.js +5 -5
- package/dist/ConfigurationChief.d.ts +155 -143
- package/dist/ConfigurationChief.js +15 -16
- package/dist/ConsoleStreamer.d.ts +1 -1
- package/dist/DependencyDeputy.d.ts +6 -6
- package/dist/DependencyDeputy.js +10 -10
- package/dist/IssueCollector.d.ts +7 -7
- package/dist/IssueCollector.js +3 -3
- package/dist/IssueFixer.d.ts +3 -3
- package/dist/IssueFixer.js +17 -6
- package/dist/JsonCatalogPeeker.js +1 -1
- package/dist/PrincipalFactory.d.ts +3 -3
- package/dist/PrincipalFactory.js +3 -3
- package/dist/ProjectPrincipal.d.ts +9 -9
- package/dist/ProjectPrincipal.js +15 -9
- package/dist/WorkspaceWorker.d.ts +9 -9
- package/dist/WorkspaceWorker.js +17 -17
- package/dist/YamlCatalogPeeker.js +1 -1
- package/dist/binaries/bash-parser.d.ts +2 -2
- package/dist/binaries/bash-parser.js +82 -48
- package/dist/binaries/fallback.d.ts +1 -1
- package/dist/binaries/fallback.js +4 -6
- package/dist/binaries/index.d.ts +1 -1
- package/dist/binaries/index.js +3 -3
- package/dist/binaries/package-manager/bun.d.ts +1 -1
- package/dist/binaries/package-manager/bun.js +4 -6
- package/dist/binaries/package-manager/bunx.d.ts +2 -2
- package/dist/binaries/package-manager/bunx.js +4 -4
- package/dist/binaries/package-manager/index.d.ts +7 -7
- package/dist/binaries/package-manager/index.js +7 -7
- package/dist/binaries/package-manager/npm.d.ts +1 -1
- package/dist/binaries/package-manager/npx.d.ts +1 -1
- package/dist/binaries/package-manager/npx.js +4 -4
- package/dist/binaries/package-manager/pnpm.d.ts +1 -1
- package/dist/binaries/package-manager/pnpm.js +3 -3
- package/dist/binaries/package-manager/pnpx.d.ts +2 -2
- package/dist/binaries/package-manager/pnpx.js +2 -2
- package/dist/binaries/package-manager/yarn.d.ts +1 -1
- package/dist/binaries/package-manager/yarn.js +4 -4
- package/dist/binaries/plugins.d.ts +1 -1
- package/dist/binaries/plugins.js +6 -6
- package/dist/cli.js +11 -11
- package/dist/compilers/compilers.d.ts +1 -1
- package/dist/compilers/index.d.ts +23 -3
- package/dist/compilers/index.js +2 -2
- package/dist/compilers/mdx.d.ts +1 -1
- package/dist/compilers/mdx.js +9 -2
- package/dist/compilers/scss.d.ts +1 -1
- package/dist/compilers/scss.js +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/graph/analyze.d.ts +8 -8
- package/dist/graph/analyze.js +6 -6
- package/dist/graph/build.d.ts +9 -9
- package/dist/graph/build.js +16 -16
- package/dist/graph-explorer/cache.d.ts +3 -3
- package/dist/graph-explorer/explorer.d.ts +7 -7
- package/dist/graph-explorer/explorer.js +9 -9
- package/dist/graph-explorer/operations/build-exports-tree.d.ts +2 -2
- package/dist/graph-explorer/operations/build-exports-tree.js +2 -2
- package/dist/graph-explorer/operations/find-cycles.d.ts +2 -2
- package/dist/graph-explorer/operations/get-contention.d.ts +2 -2
- package/dist/graph-explorer/operations/get-contention.js +3 -3
- package/dist/graph-explorer/operations/get-dependency-usage.d.ts +1 -1
- package/dist/graph-explorer/operations/get-dependency-usage.js +1 -1
- package/dist/graph-explorer/operations/get-usage.d.ts +2 -2
- package/dist/graph-explorer/operations/get-usage.js +5 -5
- package/dist/graph-explorer/operations/has-strictly-ns-references.d.ts +1 -1
- package/dist/graph-explorer/operations/has-strictly-ns-references.js +1 -1
- package/dist/graph-explorer/operations/is-referenced.d.ts +1 -1
- package/dist/graph-explorer/operations/is-referenced.js +2 -2
- package/dist/graph-explorer/operations/resolve-definition.d.ts +2 -2
- package/dist/graph-explorer/operations/resolve-definition.js +3 -3
- package/dist/graph-explorer/utils.d.ts +1 -1
- package/dist/graph-explorer/utils.js +2 -2
- package/dist/graph-explorer/visitors.d.ts +1 -1
- package/dist/graph-explorer/visitors.js +1 -1
- package/dist/graph-explorer/walk-down.d.ts +1 -1
- package/dist/graph-explorer/walk-down.js +2 -2
- package/dist/graph-explorer/walk-up.d.ts +2 -2
- package/dist/graph-explorer/walk-up.js +2 -2
- package/dist/index.d.ts +5 -5
- package/dist/index.js +3 -3
- package/dist/manifest/helpers.d.ts +1 -1
- package/dist/manifest/helpers.js +2 -2
- package/dist/manifest/index.d.ts +1 -1
- package/dist/manifest/index.js +3 -3
- package/dist/plugins/_template/index.d.ts +1 -1
- package/dist/plugins/_template/index.js +2 -2
- package/dist/plugins/angular/index.d.ts +1 -1
- package/dist/plugins/angular/index.js +4 -4
- package/dist/plugins/astro/compiler-mdx.js +1 -1
- package/dist/plugins/astro/compiler.js +1 -1
- package/dist/plugins/astro/index.d.ts +1 -1
- package/dist/plugins/astro/index.js +9 -6
- package/dist/plugins/astro/resolveFromAST.d.ts +1 -0
- package/dist/plugins/astro/resolveFromAST.js +18 -1
- package/dist/plugins/astro-db/index.d.ts +1 -1
- package/dist/plugins/astro-db/index.js +1 -1
- package/dist/plugins/astro-og-canvas/index.d.ts +1 -1
- package/dist/plugins/astro-og-canvas/index.js +2 -2
- package/dist/plugins/ava/index.d.ts +1 -1
- package/dist/plugins/ava/index.js +2 -2
- package/dist/plugins/babel/helpers.js +1 -1
- package/dist/plugins/babel/index.d.ts +3 -3
- package/dist/plugins/babel/index.js +4 -4
- package/dist/plugins/babel/types.d.ts +1 -1
- package/dist/plugins/biome/index.d.ts +1 -1
- package/dist/plugins/biome/index.js +4 -4
- package/dist/plugins/bumpp/index.d.ts +1 -1
- package/dist/plugins/bumpp/index.js +2 -2
- package/dist/plugins/bun/index.d.ts +1 -1
- package/dist/plugins/bun/index.js +8 -2
- package/dist/plugins/c8/index.d.ts +1 -1
- package/dist/plugins/c8/index.js +1 -1
- package/dist/plugins/capacitor/index.d.ts +1 -1
- package/dist/plugins/capacitor/index.js +3 -3
- package/dist/plugins/changelogen/index.d.ts +1 -1
- package/dist/plugins/changelogen/index.js +2 -2
- package/dist/plugins/changelogithub/index.d.ts +1 -1
- package/dist/plugins/changelogithub/index.js +2 -2
- package/dist/plugins/changesets/index.d.ts +1 -1
- package/dist/plugins/changesets/index.js +2 -2
- package/dist/plugins/commitizen/index.d.ts +1 -1
- package/dist/plugins/commitizen/index.js +2 -2
- package/dist/plugins/commitlint/index.d.ts +1 -1
- package/dist/plugins/commitlint/index.js +3 -3
- package/dist/plugins/convex/index.d.ts +1 -1
- package/dist/plugins/convex/index.js +1 -1
- package/dist/plugins/create-typescript-app/index.d.ts +1 -1
- package/dist/plugins/create-typescript-app/index.js +1 -1
- package/dist/plugins/cspell/index.d.ts +1 -1
- package/dist/plugins/cspell/index.js +2 -2
- package/dist/plugins/cucumber/index.d.ts +1 -1
- package/dist/plugins/cucumber/index.js +2 -2
- package/dist/plugins/cypress/helpers.d.ts +2 -2
- package/dist/plugins/cypress/helpers.js +2 -2
- package/dist/plugins/cypress/index.d.ts +1 -1
- package/dist/plugins/cypress/index.js +3 -3
- package/dist/plugins/danger/index.d.ts +1 -1
- package/dist/plugins/danger/index.js +1 -1
- package/dist/plugins/dependency-cruiser/index.d.ts +1 -1
- package/dist/plugins/dependency-cruiser/index.js +1 -1
- package/dist/plugins/docusaurus/helpers.d.ts +3 -3
- package/dist/plugins/docusaurus/helpers.js +2 -2
- package/dist/plugins/docusaurus/index.d.ts +1 -1
- package/dist/plugins/docusaurus/index.js +3 -3
- package/dist/plugins/docusaurus/types.d.ts +1 -1
- package/dist/plugins/dotenv/index.d.ts +1 -1
- package/dist/plugins/dotenv/index.js +1 -1
- package/dist/plugins/drizzle/index.d.ts +1 -1
- package/dist/plugins/drizzle/index.js +2 -2
- package/dist/plugins/eleventy/index.d.ts +1 -1
- package/dist/plugins/eleventy/index.js +6 -6
- package/dist/plugins/eleventy/types.d.ts +1 -1
- package/dist/plugins/eslint/helpers.d.ts +3 -3
- package/dist/plugins/eslint/helpers.js +5 -5
- package/dist/plugins/eslint/index.d.ts +1 -1
- package/dist/plugins/eslint/index.js +3 -3
- package/dist/plugins/execa/index.d.ts +1 -1
- package/dist/plugins/execa/index.js +2 -2
- package/dist/plugins/execa/visitors/execa.d.ts +1 -1
- package/dist/plugins/execa/visitors/execa.js +3 -3
- package/dist/plugins/expo/helpers.d.ts +2 -2
- package/dist/plugins/expo/helpers.js +3 -3
- package/dist/plugins/expo/index.d.ts +1 -1
- package/dist/plugins/expo/index.js +4 -4
- package/dist/plugins/expressive-code/index.d.ts +1 -1
- package/dist/plugins/expressive-code/index.js +1 -1
- package/dist/plugins/gatsby/index.d.ts +1 -1
- package/dist/plugins/gatsby/index.js +2 -2
- package/dist/plugins/github-action/index.d.ts +1 -1
- package/dist/plugins/github-action/index.js +4 -4
- package/dist/plugins/github-actions/index.d.ts +1 -1
- package/dist/plugins/github-actions/index.js +4 -4
- package/dist/plugins/glob/index.d.ts +1 -1
- package/dist/plugins/graphql-codegen/index.d.ts +1 -1
- package/dist/plugins/graphql-codegen/index.js +5 -5
- package/dist/plugins/hardhat/index.d.ts +1 -1
- package/dist/plugins/hardhat/index.js +2 -2
- package/dist/plugins/husky/index.d.ts +1 -1
- package/dist/plugins/husky/index.js +3 -3
- package/dist/plugins/i18next-parser/index.d.ts +1 -1
- package/dist/plugins/i18next-parser/index.js +1 -1
- package/dist/plugins/index.d.ts +138 -136
- package/dist/plugins/index.js +140 -136
- package/dist/plugins/jest/helpers.d.ts +2 -2
- package/dist/plugins/jest/helpers.js +2 -2
- package/dist/plugins/jest/index.d.ts +1 -1
- package/dist/plugins/jest/index.js +4 -4
- package/dist/plugins/karma/helpers.d.ts +2 -2
- package/dist/plugins/karma/helpers.js +2 -2
- package/dist/plugins/karma/index.d.ts +1 -1
- package/dist/plugins/karma/index.js +4 -4
- package/dist/plugins/knex/index.d.ts +1 -1
- package/dist/plugins/knex/index.js +3 -3
- package/dist/plugins/ladle/index.d.ts +1 -1
- package/dist/plugins/ladle/index.js +4 -4
- package/dist/plugins/lefthook/index.d.ts +1 -1
- package/dist/plugins/lefthook/index.js +5 -5
- package/dist/plugins/lint-staged/index.d.ts +1 -1
- package/dist/plugins/lint-staged/index.js +2 -2
- package/dist/plugins/linthtml/index.d.ts +1 -1
- package/dist/plugins/linthtml/index.js +3 -3
- package/dist/plugins/lockfile-lint/index.d.ts +1 -1
- package/dist/plugins/lockfile-lint/index.js +2 -2
- package/dist/plugins/lost-pixel/index.d.ts +1 -1
- package/dist/plugins/lost-pixel/index.js +1 -1
- package/dist/plugins/markdownlint/index.d.ts +1 -1
- package/dist/plugins/markdownlint/index.js +3 -3
- package/dist/plugins/mdx/index.d.ts +1 -1
- package/dist/plugins/mdx/index.js +2 -2
- package/dist/plugins/mdxlint/index.d.ts +1 -1
- package/dist/plugins/mdxlint/index.js +3 -3
- package/dist/plugins/metro/index.d.ts +1 -1
- package/dist/plugins/metro/index.js +4 -4
- package/dist/plugins/mocha/index.d.ts +1 -1
- package/dist/plugins/mocha/index.js +2 -2
- package/dist/plugins/moonrepo/index.d.ts +1 -1
- package/dist/plugins/moonrepo/index.js +1 -1
- package/dist/plugins/msw/index.d.ts +1 -1
- package/dist/plugins/msw/index.js +3 -3
- package/dist/plugins/nano-staged/index.d.ts +1 -1
- package/dist/plugins/nano-staged/index.js +1 -1
- package/dist/plugins/nest/index.d.ts +1 -1
- package/dist/plugins/nest/index.js +2 -2
- package/dist/plugins/netlify/helpers.d.ts +1 -1
- package/dist/plugins/netlify/index.d.ts +1 -1
- package/dist/plugins/netlify/index.js +4 -4
- package/dist/plugins/next/index.d.ts +1 -1
- package/dist/plugins/next/index.js +4 -4
- package/dist/plugins/next/resolveFromAST.js +1 -1
- package/dist/plugins/next-intl/index.d.ts +1 -1
- package/dist/plugins/next-intl/index.js +1 -1
- package/dist/plugins/next-mdx/index.d.ts +1 -1
- package/dist/plugins/next-mdx/index.js +3 -3
- package/dist/plugins/next-mdx/resolveFromAST.js +1 -1
- package/dist/plugins/nitro/index.d.ts +1 -1
- package/dist/plugins/nitro/index.js +3 -3
- package/dist/plugins/node/index.d.ts +1 -1
- package/dist/plugins/node/index.js +1 -1
- package/dist/plugins/node-modules-inspector/index.d.ts +1 -1
- package/dist/plugins/node-modules-inspector/index.js +2 -2
- package/dist/plugins/nodemon/index.d.ts +1 -1
- package/dist/plugins/npm-package-json-lint/index.d.ts +1 -1
- package/dist/plugins/npm-package-json-lint/index.js +3 -3
- package/dist/plugins/nuxt/helpers.d.ts +15 -0
- package/dist/plugins/nuxt/helpers.js +133 -0
- package/dist/plugins/nuxt/index.d.ts +1 -4
- package/dist/plugins/nuxt/index.js +177 -35
- package/dist/plugins/nuxt/types.d.ts +50 -0
- package/dist/plugins/nx/index.d.ts +1 -1
- package/dist/plugins/nx/index.js +3 -3
- package/dist/plugins/nyc/index.d.ts +1 -1
- package/dist/plugins/nyc/index.js +2 -2
- package/dist/plugins/oclif/index.d.ts +1 -1
- package/dist/plugins/oclif/index.js +2 -2
- package/dist/plugins/openapi-ts/index.d.ts +3 -0
- package/dist/plugins/openapi-ts/index.js +22 -0
- package/dist/plugins/openapi-ts/types.d.ts +8 -0
- package/dist/plugins/openapi-ts/types.js +1 -0
- package/dist/plugins/oxlint/index.d.ts +1 -1
- package/dist/plugins/oxlint/index.js +1 -1
- package/dist/plugins/parcel/index.d.ts +1 -1
- package/dist/plugins/parcel/index.js +2 -2
- package/dist/plugins/payload/index.d.ts +1 -1
- package/dist/plugins/payload/index.js +2 -2
- package/dist/plugins/playwright/index.d.ts +2 -2
- package/dist/plugins/playwright/index.js +5 -5
- package/dist/plugins/playwright-ct/index.d.ts +1 -1
- package/dist/plugins/playwright-ct/index.js +3 -3
- package/dist/plugins/playwright-test/index.d.ts +1 -1
- package/dist/plugins/playwright-test/index.js +1 -1
- package/dist/plugins/plop/index.d.ts +1 -1
- package/dist/plugins/plop/index.js +1 -1
- package/dist/plugins/pm2/index.d.ts +1 -1
- package/dist/plugins/pm2/index.js +3 -3
- package/dist/plugins/pnpm/index.d.ts +1 -1
- package/dist/plugins/pnpm/index.js +1 -1
- package/dist/plugins/postcss/index.d.ts +1 -1
- package/dist/plugins/postcss/index.js +3 -3
- package/dist/plugins/preconstruct/index.d.ts +1 -1
- package/dist/plugins/preconstruct/index.js +3 -3
- package/dist/plugins/prettier/index.d.ts +1 -1
- package/dist/plugins/prettier/index.js +2 -2
- package/dist/plugins/prisma/index.d.ts +1 -1
- package/dist/plugins/prisma/index.js +5 -5
- package/dist/plugins/qwik/index.d.ts +3 -0
- package/dist/plugins/qwik/index.js +47 -0
- package/dist/plugins/qwik/resolveFromAST.d.ts +3 -0
- package/dist/plugins/qwik/resolveFromAST.js +37 -0
- package/dist/plugins/react-cosmos/index.d.ts +1 -1
- package/dist/plugins/react-cosmos/index.js +3 -3
- package/dist/plugins/react-native/index.d.ts +1 -1
- package/dist/plugins/react-native/index.js +2 -2
- package/dist/plugins/react-router/index.d.ts +1 -1
- package/dist/plugins/react-router/index.js +5 -5
- package/dist/plugins/relay/index.d.ts +1 -1
- package/dist/plugins/relay/index.js +3 -3
- package/dist/plugins/release-it/index.d.ts +1 -1
- package/dist/plugins/release-it/index.js +2 -2
- package/dist/plugins/remark/index.d.ts +1 -1
- package/dist/plugins/remark/index.js +3 -3
- package/dist/plugins/remix/index.d.ts +1 -1
- package/dist/plugins/remix/index.js +1 -1
- package/dist/plugins/rollup/index.d.ts +1 -1
- package/dist/plugins/rollup/index.js +1 -1
- package/dist/plugins/rsbuild/index.d.ts +1 -1
- package/dist/plugins/rsbuild/index.js +2 -2
- package/dist/plugins/rslib/index.d.ts +1 -1
- package/dist/plugins/rslib/index.js +1 -1
- package/dist/plugins/rspack/index.d.ts +1 -1
- package/dist/plugins/rspack/index.js +2 -2
- package/dist/plugins/rstest/index.d.ts +1 -1
- package/dist/plugins/rstest/index.js +2 -2
- package/dist/plugins/semantic-release/index.d.ts +1 -1
- package/dist/plugins/semantic-release/index.js +3 -3
- package/dist/plugins/sentry/index.d.ts +1 -1
- package/dist/plugins/sentry/index.js +1 -1
- package/dist/plugins/simple-git-hooks/index.d.ts +1 -1
- package/dist/plugins/simple-git-hooks/index.js +2 -2
- package/dist/plugins/size-limit/index.d.ts +1 -1
- package/dist/plugins/size-limit/index.js +3 -3
- package/dist/plugins/sst/index.d.ts +1 -1
- package/dist/plugins/sst/index.js +2 -2
- package/dist/plugins/sst/resolveFromAST.d.ts +1 -1
- package/dist/plugins/sst/resolveFromAST.js +4 -4
- package/dist/plugins/starlight/index.d.ts +1 -1
- package/dist/plugins/starlight/index.js +4 -4
- package/dist/plugins/starlight/resolveFromAST.js +1 -1
- package/dist/plugins/storybook/index.d.ts +1 -1
- package/dist/plugins/storybook/index.js +3 -3
- package/dist/plugins/stryker/index.d.ts +1 -1
- package/dist/plugins/stryker/index.js +2 -2
- package/dist/plugins/stylelint/index.d.ts +1 -1
- package/dist/plugins/stylelint/index.js +3 -3
- package/dist/plugins/svelte/compiler.d.ts +1 -1
- package/dist/plugins/svelte/compiler.js +1 -1
- package/dist/plugins/svelte/index.d.ts +1 -1
- package/dist/plugins/svelte/index.js +3 -3
- package/dist/plugins/sveltekit/index.d.ts +1 -1
- package/dist/plugins/sveltekit/index.js +3 -3
- package/dist/plugins/svgo/index.d.ts +1 -1
- package/dist/plugins/svgo/index.js +1 -1
- package/dist/plugins/svgr/index.d.ts +1 -1
- package/dist/plugins/svgr/index.js +2 -2
- package/dist/plugins/swc/index.d.ts +1 -1
- package/dist/plugins/swc/index.js +5 -3
- package/dist/plugins/swc/types.d.ts +1 -0
- package/dist/plugins/syncpack/index.d.ts +1 -1
- package/dist/plugins/syncpack/index.js +2 -2
- package/dist/plugins/tailwind/index.d.ts +1 -1
- package/dist/plugins/tailwind/index.js +2 -2
- package/dist/plugins/tanstack-router/index.d.ts +1 -1
- package/dist/plugins/tanstack-router/index.js +3 -3
- package/dist/plugins/taskfile/index.d.ts +1 -1
- package/dist/plugins/taskfile/index.js +3 -3
- package/dist/plugins/travis/index.d.ts +1 -1
- package/dist/plugins/travis/index.js +1 -1
- package/dist/plugins/ts-node/index.d.ts +1 -1
- package/dist/plugins/tsdown/index.d.ts +1 -1
- package/dist/plugins/tsdown/index.js +4 -4
- package/dist/plugins/tsup/index.d.ts +1 -1
- package/dist/plugins/tsup/index.js +2 -2
- package/dist/plugins/tsx/index.d.ts +1 -1
- package/dist/plugins/tsx/index.js +2 -2
- package/dist/plugins/typedoc/index.d.ts +1 -1
- package/dist/plugins/typedoc/index.js +2 -2
- package/dist/plugins/typescript/index.d.ts +1 -1
- package/dist/plugins/typescript/index.js +10 -4
- package/dist/plugins/unbuild/index.d.ts +1 -1
- package/dist/plugins/unbuild/index.js +2 -2
- package/dist/plugins/unocss/index.d.ts +1 -1
- package/dist/plugins/unocss/index.js +2 -2
- package/dist/plugins/vercel-og/index.d.ts +1 -1
- package/dist/plugins/vercel-og/index.js +1 -1
- package/dist/plugins/vike/index.d.ts +1 -1
- package/dist/plugins/vike/index.js +1 -1
- package/dist/plugins/vite/helpers.d.ts +1 -1
- package/dist/plugins/vite/helpers.js +4 -4
- package/dist/plugins/vite/index.d.ts +1 -1
- package/dist/plugins/vite/index.js +5 -5
- package/dist/plugins/vite/visitors/importMetaGlob.d.ts +1 -1
- package/dist/plugins/vite/visitors/importMetaGlob.js +4 -4
- package/dist/plugins/vitepress/index.d.ts +1 -1
- package/dist/plugins/vitepress/index.js +1 -1
- package/dist/plugins/vitest/helpers.d.ts +1 -1
- package/dist/plugins/vitest/index.d.ts +2 -2
- package/dist/plugins/vitest/index.js +15 -7
- package/dist/plugins/vitest/types.d.ts +1 -0
- package/dist/plugins/vue/compiler.d.ts +1 -1
- package/dist/plugins/vue/compiler.js +1 -1
- package/dist/plugins/vue/index.d.ts +1 -1
- package/dist/plugins/vue/index.js +4 -4
- package/dist/plugins/webdriver-io/index.d.ts +1 -1
- package/dist/plugins/webdriver-io/index.js +2 -2
- package/dist/plugins/webpack/index.d.ts +2 -2
- package/dist/plugins/webpack/index.js +5 -5
- package/dist/plugins/webpack/visitors/requireContext.d.ts +1 -1
- package/dist/plugins/webpack/visitors/requireContext.js +4 -4
- package/dist/plugins/wireit/index.d.ts +1 -1
- package/dist/plugins/wireit/index.js +1 -1
- package/dist/plugins/wrangler/index.d.ts +1 -1
- package/dist/plugins/wrangler/index.js +3 -3
- package/dist/plugins/xo/index.d.ts +1 -1
- package/dist/plugins/xo/index.js +2 -2
- package/dist/plugins/xo/types.d.ts +1 -1
- package/dist/plugins/yarn/index.d.ts +1 -1
- package/dist/plugins/yarn/index.js +5 -4
- package/dist/plugins/yorkie/index.d.ts +1 -1
- package/dist/plugins/yorkie/index.js +2 -2
- package/dist/plugins/zx/index.d.ts +1 -1
- package/dist/plugins/zx/index.js +2 -2
- package/dist/plugins/zx/visitors/zx.d.ts +1 -1
- package/dist/plugins/zx/visitors/zx.js +2 -2
- package/dist/plugins.d.ts +3 -3
- package/dist/plugins.js +2 -2
- package/dist/reporters/codeclimate.d.ts +1 -1
- package/dist/reporters/codeclimate.js +2 -2
- package/dist/reporters/codeowners.d.ts +1 -1
- package/dist/reporters/codeowners.js +3 -3
- package/dist/reporters/compact.d.ts +1 -1
- package/dist/reporters/compact.js +2 -2
- package/dist/reporters/disclosure.d.ts +1 -1
- package/dist/reporters/disclosure.js +1 -1
- package/dist/reporters/github-actions.d.ts +1 -1
- package/dist/reporters/github-actions.js +4 -4
- package/dist/reporters/index.d.ts +8 -8
- package/dist/reporters/index.js +8 -8
- package/dist/reporters/json.d.ts +1 -1
- package/dist/reporters/json.js +4 -4
- package/dist/reporters/markdown.d.ts +1 -1
- package/dist/reporters/markdown.js +2 -2
- package/dist/reporters/symbols.d.ts +1 -1
- package/dist/reporters/symbols.js +2 -2
- package/dist/reporters/trace.d.ts +4 -4
- package/dist/reporters/trace.js +4 -4
- package/dist/reporters/util/configuration-hints.d.ts +2 -2
- package/dist/reporters/util/configuration-hints.js +4 -4
- package/dist/reporters/util/util.d.ts +3 -3
- package/dist/reporters/util/util.js +3 -3
- package/dist/reporters/watch.d.ts +3 -3
- package/dist/reporters/watch.js +3 -3
- package/dist/run.d.ts +12 -12
- package/dist/run.js +12 -12
- package/dist/schema/configuration.d.ts +30 -0
- package/dist/schema/configuration.js +2 -2
- package/dist/schema/plugins.d.ts +10 -0
- package/dist/schema/plugins.js +2 -0
- package/dist/session/build-maps.d.ts +3 -3
- package/dist/session/build-maps.js +3 -3
- package/dist/session/file-descriptor.d.ts +2 -2
- package/dist/session/file-descriptor.js +3 -3
- package/dist/session/index.d.ts +12 -12
- package/dist/session/index.js +7 -7
- package/dist/session/package-json-descriptor.d.ts +2 -2
- package/dist/session/package-json-descriptor.js +1 -1
- package/dist/session/session.d.ts +7 -7
- package/dist/session/session.js +3 -3
- package/dist/session/types.d.ts +2 -2
- package/dist/types/PluginNames.d.ts +2 -2
- package/dist/types/PluginNames.js +2 -0
- package/dist/types/args.d.ts +1 -1
- package/dist/types/config.d.ts +11 -11
- package/dist/types/exports.d.ts +1 -1
- package/dist/types/issues.d.ts +2 -2
- package/dist/types/module-graph.d.ts +2 -2
- package/dist/types/package-json.d.ts +1 -1
- package/dist/types/project.d.ts +2 -2
- package/dist/types.d.ts +2 -2
- package/dist/typescript/SourceFileManager.d.ts +1 -1
- package/dist/typescript/SourceFileManager.js +4 -4
- package/dist/typescript/ast-helpers.d.ts +3 -3
- package/dist/typescript/ast-helpers.js +2 -2
- package/dist/typescript/create-hosts.d.ts +3 -3
- package/dist/typescript/create-hosts.js +2 -2
- package/dist/typescript/get-imports-and-exports.d.ts +3 -3
- package/dist/typescript/get-imports-and-exports.js +24 -15
- package/dist/typescript/has-refs-in-file.d.ts +1 -1
- package/dist/typescript/has-refs-in-file.js +2 -2
- package/dist/typescript/pragmas/custom.d.ts +2 -2
- package/dist/typescript/pragmas/custom.js +4 -4
- package/dist/typescript/pragmas/index.d.ts +2 -2
- package/dist/typescript/pragmas/index.js +2 -2
- package/dist/typescript/pragmas/typescript.d.ts +2 -2
- package/dist/typescript/pragmas/typescript.js +1 -1
- package/dist/typescript/resolve-module-names.d.ts +1 -1
- package/dist/typescript/resolve-module-names.js +6 -6
- package/dist/typescript/visitors/dynamic-imports/importCall.d.ts +1 -1
- package/dist/typescript/visitors/dynamic-imports/importCall.js +3 -3
- package/dist/typescript/visitors/dynamic-imports/importType.d.ts +1 -1
- package/dist/typescript/visitors/dynamic-imports/importType.js +2 -2
- package/dist/typescript/visitors/dynamic-imports/index.d.ts +2 -2
- package/dist/typescript/visitors/dynamic-imports/index.js +7 -7
- package/dist/typescript/visitors/dynamic-imports/jsDocType.d.ts +2 -2
- package/dist/typescript/visitors/dynamic-imports/jsDocType.js +2 -2
- package/dist/typescript/visitors/dynamic-imports/moduleRegister.d.ts +1 -1
- package/dist/typescript/visitors/dynamic-imports/moduleRegister.js +3 -3
- package/dist/typescript/visitors/dynamic-imports/requireCall.d.ts +1 -1
- package/dist/typescript/visitors/dynamic-imports/requireCall.js +4 -4
- package/dist/typescript/visitors/dynamic-imports/resolveCall.d.ts +1 -1
- package/dist/typescript/visitors/dynamic-imports/resolveCall.js +3 -3
- package/dist/typescript/visitors/dynamic-imports/urlConstructor.d.ts +1 -1
- package/dist/typescript/visitors/dynamic-imports/urlConstructor.js +2 -2
- package/dist/typescript/visitors/exports/exportAssignment.d.ts +1 -1
- package/dist/typescript/visitors/exports/exportAssignment.js +4 -4
- package/dist/typescript/visitors/exports/exportDeclaration.d.ts +1 -1
- package/dist/typescript/visitors/exports/exportDeclaration.js +3 -3
- package/dist/typescript/visitors/exports/exportKeyword.d.ts +1 -1
- package/dist/typescript/visitors/exports/exportKeyword.js +5 -5
- package/dist/typescript/visitors/exports/exportsAccessExpression.d.ts +1 -1
- package/dist/typescript/visitors/exports/exportsAccessExpression.js +3 -3
- package/dist/typescript/visitors/exports/index.d.ts +1 -1
- package/dist/typescript/visitors/exports/index.js +5 -5
- package/dist/typescript/visitors/exports/moduleExportsAccessExpression.d.ts +1 -1
- package/dist/typescript/visitors/exports/moduleExportsAccessExpression.js +4 -4
- package/dist/typescript/visitors/helpers.d.ts +1 -1
- package/dist/typescript/visitors/imports/importDeclaration.d.ts +1 -1
- package/dist/typescript/visitors/imports/importDeclaration.js +3 -3
- package/dist/typescript/visitors/imports/importEqualsDeclaration.d.ts +1 -1
- package/dist/typescript/visitors/imports/importEqualsDeclaration.js +3 -3
- package/dist/typescript/visitors/imports/index.d.ts +1 -1
- package/dist/typescript/visitors/imports/index.js +3 -3
- package/dist/typescript/visitors/imports/reExportDeclaration.d.ts +1 -1
- package/dist/typescript/visitors/imports/reExportDeclaration.js +2 -2
- package/dist/typescript/visitors/index.d.ts +3 -3
- package/dist/typescript/visitors/scripts/bun.d.ts +1 -1
- package/dist/typescript/visitors/scripts/bun.js +3 -3
- package/dist/typescript/visitors/scripts/index.d.ts +2 -2
- package/dist/typescript/visitors/scripts/index.js +1 -1
- package/dist/util/Performance.js +2 -2
- package/dist/util/catalog.d.ts +2 -2
- package/dist/util/catalog.js +3 -3
- package/dist/util/codeowners.js +2 -2
- package/dist/util/create-input-handler.d.ts +6 -6
- package/dist/util/create-input-handler.js +7 -7
- package/dist/util/create-options.d.ts +42 -22
- package/dist/util/create-options.js +13 -13
- package/dist/util/create-workspace-graph.d.ts +1 -1
- package/dist/util/create-workspace-graph.js +1 -1
- package/dist/util/file-entry-cache.js +4 -4
- package/dist/util/fs.d.ts +2 -2
- package/dist/util/fs.js +4 -4
- package/dist/util/get-included-issue-types.d.ts +1 -1
- package/dist/util/get-included-issue-types.js +2 -2
- package/dist/util/git.js +1 -1
- package/dist/util/glob-core.js +21 -27
- package/dist/util/glob.js +4 -4
- package/dist/util/input.d.ts +2 -2
- package/dist/util/input.js +1 -1
- package/dist/util/issue-initializers.d.ts +1 -1
- package/dist/util/issue-initializers.js +1 -1
- package/dist/util/jiti.js +1 -1
- package/dist/util/load-config.d.ts +1 -1
- package/dist/util/load-config.js +3 -3
- package/dist/util/load-tsconfig.js +2 -2
- package/dist/util/loader.js +14 -6
- package/dist/util/map-workspaces.d.ts +1 -1
- package/dist/util/map-workspaces.js +4 -4
- package/dist/util/module-graph.d.ts +1 -1
- package/dist/util/modules.js +2 -2
- package/dist/util/package-json.d.ts +1 -1
- package/dist/util/package-json.js +10 -0
- package/dist/util/package-name.d.ts +1 -1
- package/dist/util/package-name.js +1 -1
- package/dist/util/plugin.d.ts +2 -2
- package/dist/util/plugin.js +5 -5
- package/dist/util/remove-export.js +1 -1
- package/dist/util/reporter.d.ts +1 -1
- package/dist/util/reporter.js +3 -3
- package/dist/util/require.js +1 -1
- package/dist/util/resolve.js +3 -3
- package/dist/util/table.js +1 -1
- package/dist/util/tag.d.ts +1 -1
- package/dist/util/tag.js +1 -1
- package/dist/util/to-source-path.d.ts +1 -1
- package/dist/util/to-source-path.js +5 -5
- package/dist/util/trace.d.ts +1 -1
- package/dist/util/watch.d.ts +10 -10
- package/dist/util/watch.js +8 -7
- package/dist/util/workspace-file-filter.js +2 -2
- package/dist/util/workspace-selectors.d.ts +1 -1
- package/dist/util/workspace-selectors.js +4 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +64 -64
- package/schema.json +8 -0
- package/vendor/bash-parser/README.md +0 -7
- package/vendor/bash-parser/index.d.ts +0 -79
- package/vendor/bash-parser/index.js +0 -58
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import { IMPORT_FLAGS, IMPORT_STAR } from
|
|
3
|
-
import { importVisitor as visit } from
|
|
2
|
+
import { IMPORT_FLAGS, IMPORT_STAR } from "../../../constants.js";
|
|
3
|
+
import { importVisitor as visit } from "../index.js";
|
|
4
4
|
export default visit(() => true, node => {
|
|
5
5
|
if (ts.isExportDeclaration(node)) {
|
|
6
6
|
if (node.moduleSpecifier && ts.isStringLiteralLike(node.moduleSpecifier)) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type ts from 'typescript';
|
|
2
|
-
import type { GetImportsAndExportsOptions } from '../../types/config.
|
|
3
|
-
import type { ExportNode } from '../../types/exports.
|
|
4
|
-
import type { ImportNode } from '../../types/imports.
|
|
2
|
+
import type { GetImportsAndExportsOptions } from '../../types/config.ts';
|
|
3
|
+
import type { ExportNode } from '../../types/exports.ts';
|
|
4
|
+
import type { ImportNode } from '../../types/imports.ts';
|
|
5
5
|
type FileCondition = (sourceFile: ts.SourceFile) => boolean;
|
|
6
6
|
type VisitorFactory<T> = (fileCondition: FileCondition, fn: Visitor<T>) => VisitorCondition<T>;
|
|
7
7
|
type VisitorCondition<T> = (sourceFile: ts.SourceFile) => Visitor<T>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => string | string[] | undefined;
|
|
3
3
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import { stripQuotes } from
|
|
3
|
-
import { hasImportSpecifier } from
|
|
4
|
-
import { scriptVisitor as visit } from
|
|
2
|
+
import { stripQuotes } from "../../ast-helpers.js";
|
|
3
|
+
import { hasImportSpecifier } from "../helpers.js";
|
|
4
|
+
import { scriptVisitor as visit } from "../index.js";
|
|
5
5
|
export default visit(sourceFile => sourceFile.statements.some(node => hasImportSpecifier(node, 'bun', '$')), node => {
|
|
6
6
|
if (ts.isTaggedTemplateExpression(node) && node.tag.getText() === '$') {
|
|
7
7
|
return stripQuotes(node.template.getText());
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type ts from 'typescript';
|
|
2
|
-
import type { ScriptVisitor } from '../index.
|
|
3
|
-
declare const _default: (sourceFile: ts.SourceFile, extraVisitors: ScriptVisitor[]) => ((node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
import type { ScriptVisitor } from '../index.ts';
|
|
3
|
+
declare const _default: (sourceFile: ts.SourceFile, extraVisitors: ScriptVisitor[]) => ((node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => string | string[] | undefined)[];
|
|
4
4
|
export default _default;
|
package/dist/util/Performance.js
CHANGED
|
@@ -2,8 +2,8 @@ import os from 'node:os';
|
|
|
2
2
|
import { PerformanceObserver, performance } from 'node:perf_hooks';
|
|
3
3
|
import { memoryUsage } from 'node:process';
|
|
4
4
|
import { parseArgs } from 'node:util';
|
|
5
|
-
import { getStats } from
|
|
6
|
-
import { Table } from
|
|
5
|
+
import { getStats } from "./math.js";
|
|
6
|
+
import { Table } from "./table.js";
|
|
7
7
|
const { values } = parseArgs({
|
|
8
8
|
strict: false,
|
|
9
9
|
options: {
|
package/dist/util/catalog.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CatalogContainer } from '../CatalogCounselor.
|
|
2
|
-
import type { PackageJson } from '../types/package-json.
|
|
1
|
+
import type { CatalogContainer } from '../CatalogCounselor.ts';
|
|
2
|
+
import type { PackageJson } from '../types/package-json.ts';
|
|
3
3
|
export declare const DEFAULT_CATALOG = "default";
|
|
4
4
|
export declare const getCatalogContainer: (cwd: string, manifest: PackageJson, manifestPath: string, pnpmWorkspacePath?: string, pnpmWorkspace?: any) => Promise<CatalogContainer>;
|
|
5
5
|
export declare const parseCatalog: (container: CatalogContainer) => Set<string>;
|
package/dist/util/catalog.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { isFile } from
|
|
2
|
-
import { _load } from
|
|
3
|
-
import { basename, join } from
|
|
1
|
+
import { isFile } from "./fs.js";
|
|
2
|
+
import { _load } from "./loader.js";
|
|
3
|
+
import { basename, join } from "./path.js";
|
|
4
4
|
export const DEFAULT_CATALOG = 'default';
|
|
5
5
|
export const getCatalogContainer = async (cwd, manifest, manifestPath, pnpmWorkspacePath, pnpmWorkspace) => {
|
|
6
6
|
const filePath = pnpmWorkspacePath ?? (isFile(cwd, '.yarnrc.yml') ? join(cwd, '.yarnrc.yml') : manifestPath);
|
package/dist/util/codeowners.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { readFileSync } from 'node:fs';
|
|
2
2
|
import picomatch from 'picomatch';
|
|
3
|
-
import { debugLog } from
|
|
4
|
-
import { convertGitignoreToPicomatchIgnorePatterns } from
|
|
3
|
+
import { debugLog } from "./debug.js";
|
|
4
|
+
import { convertGitignoreToPicomatchIgnorePatterns } from "./parse-and-convert-gitignores.js";
|
|
5
5
|
export function parseCodeowners(content) {
|
|
6
6
|
const matchers = content
|
|
7
7
|
.split(/\r?\n/)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ConfigurationChief, Workspace } from '../ConfigurationChief.
|
|
2
|
-
import type { DependencyDeputy } from '../DependencyDeputy.
|
|
3
|
-
import type { Issue } from '../types/issues.
|
|
4
|
-
import type { ExternalRef } from '../types/module-graph.
|
|
5
|
-
import type { MainOptions } from './create-options.
|
|
6
|
-
import { type Input } from './input.
|
|
1
|
+
import type { ConfigurationChief, Workspace } from '../ConfigurationChief.ts';
|
|
2
|
+
import type { DependencyDeputy } from '../DependencyDeputy.ts';
|
|
3
|
+
import type { Issue } from '../types/issues.ts';
|
|
4
|
+
import type { ExternalRef } from '../types/module-graph.ts';
|
|
5
|
+
import type { MainOptions } from './create-options.ts';
|
|
6
|
+
import { type Input } from './input.ts';
|
|
7
7
|
export type ExternalRefsFromInputs = Map<string, Set<ExternalRef>>;
|
|
8
8
|
export declare const createInputHandler: (deputy: DependencyDeputy, chief: ConfigurationChief, isGitIgnored: (filePath: string) => boolean, addIssue: (issue: Issue) => void, externalRefs: ExternalRefsFromInputs | undefined, options: MainOptions) => (input: Input, workspace: Workspace) => string | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { IGNORED_RUNTIME_DEPENDENCIES } from
|
|
2
|
-
import { debugLog } from
|
|
3
|
-
import { fromBinary, isBinary, isConfig, isDeferResolve, isDeferResolveEntry, isDependency, toDebugString, } from
|
|
4
|
-
import { getPackageNameFromSpecifier } from
|
|
5
|
-
import { dirname, isAbsolute, isInNodeModules, isInternal, join } from
|
|
6
|
-
import { _resolveModuleSync, _resolveSync } from
|
|
1
|
+
import { IGNORED_RUNTIME_DEPENDENCIES } from "../constants.js";
|
|
2
|
+
import { debugLog } from "./debug.js";
|
|
3
|
+
import { fromBinary, isBinary, isConfig, isDeferResolve, isDeferResolveEntry, isDependency, toDebugString, } from "./input.js";
|
|
4
|
+
import { getPackageNameFromSpecifier } from "./modules.js";
|
|
5
|
+
import { dirname, isAbsolute, isInNodeModules, isInternal, join } from "./path.js";
|
|
6
|
+
import { _resolveModuleSync, _resolveSync } from "./resolve.js";
|
|
7
7
|
const isJoinable = (specifier) => {
|
|
8
8
|
const char = specifier.charCodeAt(0);
|
|
9
9
|
return char !== 35 && char !== 126 && char !== 64 && !isAbsolute(specifier);
|
|
@@ -53,7 +53,7 @@ export const createInputHandler = (deputy, chief, isGitIgnored, addIssue, extern
|
|
|
53
53
|
const isWorkspace = chief.workspacesByPkgName.has(packageName);
|
|
54
54
|
const inputWorkspace = getWorkspaceFor(input, chief, workspace);
|
|
55
55
|
if (inputWorkspace) {
|
|
56
|
-
const isHandled = deputy.maybeAddReferencedExternalDependency(inputWorkspace, packageName);
|
|
56
|
+
const isHandled = deputy.maybeAddReferencedExternalDependency(inputWorkspace, packageName, isConfig(input));
|
|
57
57
|
if (externalRefs && !isWorkspace) {
|
|
58
58
|
addExternalRef(externalRefs, containingFilePath, { specifier: packageName, identifier: undefined });
|
|
59
59
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import type { Options } from '../types/options.
|
|
2
|
-
import type { ParsedCLIArgs } from './cli-arguments.
|
|
1
|
+
import type { Options } from '../types/options.ts';
|
|
2
|
+
import type { ParsedCLIArgs } from './cli-arguments.ts';
|
|
3
3
|
interface CreateOptions extends Partial<Options> {
|
|
4
4
|
args?: ParsedCLIArgs;
|
|
5
5
|
}
|
|
6
6
|
export declare const createOptions: (options: CreateOptions) => Promise<{
|
|
7
7
|
cacheLocation: string;
|
|
8
|
-
catalog: import("../CatalogCounselor.
|
|
8
|
+
catalog: import("../CatalogCounselor.ts").CatalogContainer;
|
|
9
9
|
config: string | undefined;
|
|
10
10
|
configFilePath: string | undefined;
|
|
11
11
|
cwd: string;
|
|
12
12
|
dependencies: boolean;
|
|
13
|
-
experimentalTags: import("../types/options.
|
|
13
|
+
experimentalTags: import("../types/options.ts").Tags;
|
|
14
14
|
exports: boolean;
|
|
15
15
|
files: boolean;
|
|
16
16
|
fixTypes: string[];
|
|
17
17
|
gitignore: boolean;
|
|
18
|
-
includedIssueTypes: import("../types/issues.
|
|
18
|
+
includedIssueTypes: import("../types/issues.ts").Report;
|
|
19
19
|
isCache: boolean;
|
|
20
20
|
isDebug: boolean;
|
|
21
21
|
isDisableConfigHints: boolean;
|
|
@@ -395,6 +395,11 @@ export declare const createOptions: (options: CreateOptions) => Promise<{
|
|
|
395
395
|
entry?: string | string[] | undefined;
|
|
396
396
|
project?: string | string[] | undefined;
|
|
397
397
|
} | undefined;
|
|
398
|
+
'openapi-ts'?: string | boolean | string[] | {
|
|
399
|
+
config?: string | string[] | undefined;
|
|
400
|
+
entry?: string | string[] | undefined;
|
|
401
|
+
project?: string | string[] | undefined;
|
|
402
|
+
} | undefined;
|
|
398
403
|
oxlint?: string | boolean | string[] | {
|
|
399
404
|
config?: string | string[] | undefined;
|
|
400
405
|
entry?: string | string[] | undefined;
|
|
@@ -460,6 +465,11 @@ export declare const createOptions: (options: CreateOptions) => Promise<{
|
|
|
460
465
|
entry?: string | string[] | undefined;
|
|
461
466
|
project?: string | string[] | undefined;
|
|
462
467
|
} | undefined;
|
|
468
|
+
qwik?: string | boolean | string[] | {
|
|
469
|
+
config?: string | string[] | undefined;
|
|
470
|
+
entry?: string | string[] | undefined;
|
|
471
|
+
project?: string | string[] | undefined;
|
|
472
|
+
} | undefined;
|
|
463
473
|
'react-cosmos'?: string | boolean | string[] | {
|
|
464
474
|
config?: string | string[] | undefined;
|
|
465
475
|
entry?: string | string[] | undefined;
|
|
@@ -1076,6 +1086,11 @@ export declare const createOptions: (options: CreateOptions) => Promise<{
|
|
|
1076
1086
|
entry?: string | string[] | undefined;
|
|
1077
1087
|
project?: string | string[] | undefined;
|
|
1078
1088
|
} | undefined;
|
|
1089
|
+
'openapi-ts'?: string | boolean | string[] | {
|
|
1090
|
+
config?: string | string[] | undefined;
|
|
1091
|
+
entry?: string | string[] | undefined;
|
|
1092
|
+
project?: string | string[] | undefined;
|
|
1093
|
+
} | undefined;
|
|
1079
1094
|
oxlint?: string | boolean | string[] | {
|
|
1080
1095
|
config?: string | string[] | undefined;
|
|
1081
1096
|
entry?: string | string[] | undefined;
|
|
@@ -1141,6 +1156,11 @@ export declare const createOptions: (options: CreateOptions) => Promise<{
|
|
|
1141
1156
|
entry?: string | string[] | undefined;
|
|
1142
1157
|
project?: string | string[] | undefined;
|
|
1143
1158
|
} | undefined;
|
|
1159
|
+
qwik?: string | boolean | string[] | {
|
|
1160
|
+
config?: string | string[] | undefined;
|
|
1161
|
+
entry?: string | string[] | undefined;
|
|
1162
|
+
project?: string | string[] | undefined;
|
|
1163
|
+
} | undefined;
|
|
1144
1164
|
'react-cosmos'?: string | boolean | string[] | {
|
|
1145
1165
|
config?: string | string[] | undefined;
|
|
1146
1166
|
entry?: string | string[] | undefined;
|
|
@@ -1441,24 +1461,24 @@ export declare const createOptions: (options: CreateOptions) => Promise<{
|
|
|
1441
1461
|
treatConfigHintsAsErrors?: boolean | undefined;
|
|
1442
1462
|
};
|
|
1443
1463
|
rules: {
|
|
1444
|
-
files: import("../types/issues.
|
|
1445
|
-
dependencies: import("../types/issues.
|
|
1446
|
-
devDependencies: import("../types/issues.
|
|
1447
|
-
optionalPeerDependencies: import("../types/issues.
|
|
1448
|
-
unlisted: import("../types/issues.
|
|
1449
|
-
binaries: import("../types/issues.
|
|
1450
|
-
unresolved: import("../types/issues.
|
|
1451
|
-
exports: import("../types/issues.
|
|
1452
|
-
nsExports: import("../types/issues.
|
|
1453
|
-
types: import("../types/issues.
|
|
1454
|
-
nsTypes: import("../types/issues.
|
|
1455
|
-
enumMembers: import("../types/issues.
|
|
1456
|
-
classMembers: import("../types/issues.
|
|
1457
|
-
duplicates: import("../types/issues.
|
|
1458
|
-
catalog: import("../types/issues.
|
|
1459
|
-
_files: import("../types/issues.
|
|
1464
|
+
files: import("../types/issues.ts").IssueSeverity;
|
|
1465
|
+
dependencies: import("../types/issues.ts").IssueSeverity;
|
|
1466
|
+
devDependencies: import("../types/issues.ts").IssueSeverity;
|
|
1467
|
+
optionalPeerDependencies: import("../types/issues.ts").IssueSeverity;
|
|
1468
|
+
unlisted: import("../types/issues.ts").IssueSeverity;
|
|
1469
|
+
binaries: import("../types/issues.ts").IssueSeverity;
|
|
1470
|
+
unresolved: import("../types/issues.ts").IssueSeverity;
|
|
1471
|
+
exports: import("../types/issues.ts").IssueSeverity;
|
|
1472
|
+
nsExports: import("../types/issues.ts").IssueSeverity;
|
|
1473
|
+
types: import("../types/issues.ts").IssueSeverity;
|
|
1474
|
+
nsTypes: import("../types/issues.ts").IssueSeverity;
|
|
1475
|
+
enumMembers: import("../types/issues.ts").IssueSeverity;
|
|
1476
|
+
classMembers: import("../types/issues.ts").IssueSeverity;
|
|
1477
|
+
duplicates: import("../types/issues.ts").IssueSeverity;
|
|
1478
|
+
catalog: import("../types/issues.ts").IssueSeverity;
|
|
1479
|
+
_files: import("../types/issues.ts").IssueSeverity;
|
|
1460
1480
|
};
|
|
1461
|
-
tags: import("../types/options.
|
|
1481
|
+
tags: import("../types/options.ts").Tags;
|
|
1462
1482
|
traceDependency: string | undefined;
|
|
1463
1483
|
traceExport: string | undefined;
|
|
1464
1484
|
traceFile: string | undefined;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { partitionCompilers } from
|
|
2
|
-
import { KNIP_CONFIG_LOCATIONS } from
|
|
3
|
-
import { knipConfigurationSchema } from
|
|
4
|
-
import { getCatalogContainer } from
|
|
5
|
-
import { ConfigurationError } from
|
|
6
|
-
import { findFile, loadJSON } from
|
|
7
|
-
import { getIncludedIssueTypes, shorthandDeps, shorthandExports, shorthandFiles } from
|
|
8
|
-
import { defaultRules } from
|
|
9
|
-
import { loadResolvedConfigFile } from
|
|
10
|
-
import { _load } from
|
|
11
|
-
import { getKeysByValue } from
|
|
12
|
-
import { isAbsolute, join, normalize, toAbsolute, toPosix } from
|
|
13
|
-
import { splitTags } from
|
|
1
|
+
import { partitionCompilers } from "../compilers/index.js";
|
|
2
|
+
import { KNIP_CONFIG_LOCATIONS } from "../constants.js";
|
|
3
|
+
import { knipConfigurationSchema } from "../schema/configuration.js";
|
|
4
|
+
import { getCatalogContainer } from "./catalog.js";
|
|
5
|
+
import { ConfigurationError } from "./errors.js";
|
|
6
|
+
import { findFile, loadJSON } from "./fs.js";
|
|
7
|
+
import { getIncludedIssueTypes, shorthandDeps, shorthandExports, shorthandFiles } from "./get-included-issue-types.js";
|
|
8
|
+
import { defaultRules } from "./issue-initializers.js";
|
|
9
|
+
import { loadResolvedConfigFile } from "./load-config.js";
|
|
10
|
+
import { _load } from "./loader.js";
|
|
11
|
+
import { getKeysByValue } from "./object.js";
|
|
12
|
+
import { isAbsolute, join, normalize, toAbsolute, toPosix } from "./path.js";
|
|
13
|
+
import { splitTags } from "./tag.js";
|
|
14
14
|
export const createOptions = async (options) => {
|
|
15
15
|
const { args = {} } = options;
|
|
16
16
|
const pcwd = process.cwd();
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { WorkspacePackage } from '../types/package-json.
|
|
1
|
+
import type { WorkspacePackage } from '../types/package-json.ts';
|
|
2
2
|
export type WorkspaceGraph = Map<string, Set<string>>;
|
|
3
3
|
export declare function createWorkspaceGraph(cwd: string, wsNames: string[], wsPkgNames: Set<string>, wsPackages: Map<string, WorkspacePackage>): WorkspaceGraph;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { join } from
|
|
1
|
+
import { join } from "./path.js";
|
|
2
2
|
const types = ['peerDependencies', 'devDependencies', 'optionalDependencies', 'dependencies'];
|
|
3
3
|
export function createWorkspaceGraph(cwd, wsNames, wsPkgNames, wsPackages) {
|
|
4
4
|
const graph = new Map();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import fs from 'node:fs';
|
|
2
2
|
import path from 'node:path';
|
|
3
3
|
import { deserialize, serialize } from 'node:v8';
|
|
4
|
-
import { debugLog } from
|
|
5
|
-
import { isDirectory, isFile } from
|
|
6
|
-
import { timerify } from
|
|
7
|
-
import { dirname, isAbsolute, resolve } from
|
|
4
|
+
import { debugLog } from "./debug.js";
|
|
5
|
+
import { isDirectory, isFile } from "./fs.js";
|
|
6
|
+
import { timerify } from "./Performance.js";
|
|
7
|
+
import { dirname, isAbsolute, resolve } from "./path.js";
|
|
8
8
|
const createCache = (filePath) => {
|
|
9
9
|
try {
|
|
10
10
|
return deserialize(fs.readFileSync(filePath));
|
package/dist/util/fs.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare const loadFile: (filePath: string) => Promise<string>;
|
|
|
5
5
|
export declare const hasFileWithExtension: (cwd: string, dirName: string, extensions: string[]) => boolean;
|
|
6
6
|
export declare const loadJSON: (filePath: string) => Promise<any>;
|
|
7
7
|
export declare const loadJSONC: (filePath: string) => Promise<any>;
|
|
8
|
-
export declare const loadYAML: (filePath: string) => Promise<
|
|
8
|
+
export declare const loadYAML: (filePath: string) => Promise<any>;
|
|
9
9
|
export declare const loadTOML: (filePath: string) => Promise<import("smol-toml").TomlTable>;
|
|
10
10
|
export declare const parseJSONC: (filePath: string, contents: string) => Promise<any>;
|
|
11
|
-
export declare const parseYAML: (contents: string) =>
|
|
11
|
+
export declare const parseYAML: (contents: string) => any;
|
package/dist/util/fs.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { readdirSync, statSync } from 'node:fs';
|
|
2
2
|
import { readFile } from 'node:fs/promises';
|
|
3
|
-
import
|
|
3
|
+
import { parse as parseYAMLContents } from 'yaml';
|
|
4
4
|
import { parse as parseTOML } from 'smol-toml';
|
|
5
5
|
import stripJsonComments from 'strip-json-comments';
|
|
6
|
-
import { LoaderError } from
|
|
7
|
-
import { extname, join } from
|
|
6
|
+
import { LoaderError } from "./errors.js";
|
|
7
|
+
import { extname, join } from "./path.js";
|
|
8
8
|
export const isDirectory = (cwdOrPath, name) => {
|
|
9
9
|
try {
|
|
10
10
|
return statSync(name ? join(cwdOrPath, name) : cwdOrPath).isDirectory();
|
|
@@ -77,5 +77,5 @@ export const parseJSONC = async (filePath, contents) => {
|
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
79
|
export const parseYAML = (contents) => {
|
|
80
|
-
return
|
|
80
|
+
return parseYAMLContents(contents, { logLevel: 'error' });
|
|
81
81
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ISSUE_TYPES } from
|
|
2
|
-
import { ConfigurationError } from
|
|
1
|
+
import { ISSUE_TYPES } from "../constants.js";
|
|
2
|
+
import { ConfigurationError } from "./errors.js";
|
|
3
3
|
export const defaultExcludedIssueTypes = ['classMembers', 'nsExports', 'nsTypes'];
|
|
4
4
|
const defaultIssueTypes = ISSUE_TYPES.filter(type => !defaultExcludedIssueTypes.includes(type));
|
|
5
5
|
const normalize = (values) => values.flatMap(value => value.split(','));
|
package/dist/util/git.js
CHANGED
package/dist/util/glob-core.js
CHANGED
|
@@ -3,13 +3,13 @@ import { promisify } from 'node:util';
|
|
|
3
3
|
import { walk as _walk } from '@nodelib/fs.walk';
|
|
4
4
|
import fg, {} from 'fast-glob';
|
|
5
5
|
import picomatch from 'picomatch';
|
|
6
|
-
import { GLOBAL_IGNORE_PATTERNS } from
|
|
7
|
-
import { compact, partition } from
|
|
8
|
-
import { debugLogObject } from
|
|
9
|
-
import { isDirectory, isFile } from
|
|
10
|
-
import { timerify } from
|
|
11
|
-
import { parseAndConvertGitignorePatterns } from
|
|
12
|
-
import { dirname, join, relative, toPosix } from
|
|
6
|
+
import { GLOBAL_IGNORE_PATTERNS } from "../constants.js";
|
|
7
|
+
import { compact, partition } from "./array.js";
|
|
8
|
+
import { debugLogObject } from "./debug.js";
|
|
9
|
+
import { isDirectory, isFile } from "./fs.js";
|
|
10
|
+
import { timerify } from "./Performance.js";
|
|
11
|
+
import { parseAndConvertGitignorePatterns } from "./parse-and-convert-gitignores.js";
|
|
12
|
+
import { dirname, join, relative, toPosix } from "./path.js";
|
|
13
13
|
const walk = promisify(_walk);
|
|
14
14
|
const _picomatch = timerify(picomatch);
|
|
15
15
|
const cachedGitIgnores = new Map();
|
|
@@ -46,8 +46,7 @@ const findAncestorGitignoreFiles = (cwd) => {
|
|
|
46
46
|
return gitignorePaths;
|
|
47
47
|
};
|
|
48
48
|
export const findAndParseGitignores = async (cwd, workspaceDirs) => {
|
|
49
|
-
const
|
|
50
|
-
const ignores = new Set(init);
|
|
49
|
+
const ignores = new Set(GLOBAL_IGNORE_PATTERNS);
|
|
51
50
|
const unignores = [];
|
|
52
51
|
const gitignoreFiles = [];
|
|
53
52
|
const pmOptions = { ignore: unignores };
|
|
@@ -62,7 +61,7 @@ export const findAndParseGitignores = async (cwd, workspaceDirs) => {
|
|
|
62
61
|
const dir = baseDir ?? dirname(toPosix(filePath));
|
|
63
62
|
const base = relative(cwd, dir);
|
|
64
63
|
const ancestor = base.startsWith('..') ? `${relative(dir, cwd)}/` : undefined;
|
|
65
|
-
const ignoresForDir = new Set(base === '' ?
|
|
64
|
+
const ignoresForDir = new Set(base === '' ? GLOBAL_IGNORE_PATTERNS : []);
|
|
66
65
|
const unignoresForDir = new Set();
|
|
67
66
|
const patterns = readFileSync(filePath, 'utf8');
|
|
68
67
|
for (const rule of parseAndConvertGitignorePatterns(patterns, ancestor)) {
|
|
@@ -144,7 +143,7 @@ export const findAndParseGitignores = async (cwd, workspaceDirs) => {
|
|
|
144
143
|
if (relevantAncestors.has(absPath))
|
|
145
144
|
return true;
|
|
146
145
|
for (const wsDir of nonRootDirs)
|
|
147
|
-
if (absPath.startsWith(wsDir
|
|
146
|
+
if (absPath.startsWith(`${wsDir}/`))
|
|
148
147
|
return true;
|
|
149
148
|
return false;
|
|
150
149
|
};
|
|
@@ -173,26 +172,21 @@ export async function glob(_patterns, options) {
|
|
|
173
172
|
const hasCache = cachedGlobIgnores.has(options.dir);
|
|
174
173
|
const willCache = !hasCache && options.gitignore && options.label;
|
|
175
174
|
const cachedIgnores = options.gitignore ? cachedGlobIgnores.get(options.dir) : undefined;
|
|
176
|
-
const _ignore = [];
|
|
175
|
+
const _ignore = [...GLOBAL_IGNORE_PATTERNS];
|
|
177
176
|
const [negatedPatterns, patterns] = partition(_patterns, pattern => pattern.startsWith('!'));
|
|
178
|
-
if (options.gitignore) {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
_ignore.push(...cacheForDir.ignores);
|
|
186
|
-
}
|
|
187
|
-
dir = dirname((prev = dir));
|
|
188
|
-
if (prev === dir || dir === '.')
|
|
189
|
-
break;
|
|
177
|
+
if (options.gitignore && willCache) {
|
|
178
|
+
let dir = options.dir;
|
|
179
|
+
let prev;
|
|
180
|
+
while (dir) {
|
|
181
|
+
const cacheForDir = cachedGitIgnores.get(dir);
|
|
182
|
+
if (cacheForDir) {
|
|
183
|
+
_ignore.push(...cacheForDir.ignores);
|
|
190
184
|
}
|
|
185
|
+
dir = dirname((prev = dir));
|
|
186
|
+
if (prev === dir || dir === '.')
|
|
187
|
+
break;
|
|
191
188
|
}
|
|
192
189
|
}
|
|
193
|
-
else {
|
|
194
|
-
_ignore.push(...GLOBAL_IGNORE_PATTERNS);
|
|
195
|
-
}
|
|
196
190
|
if (willCache)
|
|
197
191
|
cachedGlobIgnores.set(options.dir, compact(_ignore));
|
|
198
192
|
const ignorePatterns = (cachedIgnores || _ignore).concat(negatedPatterns.map(pattern => pattern.slice(1)));
|
package/dist/util/glob.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import fg from 'fast-glob';
|
|
2
|
-
import { compact } from
|
|
3
|
-
import { glob } from
|
|
4
|
-
import { timerify } from
|
|
5
|
-
import { isAbsolute, join, relative } from
|
|
2
|
+
import { compact } from "./array.js";
|
|
3
|
+
import { glob } from "./glob-core.js";
|
|
4
|
+
import { timerify } from "./Performance.js";
|
|
5
|
+
import { isAbsolute, join, relative } from "./path.js";
|
|
6
6
|
const prepend = (pattern, relativePath) => isAbsolute(pattern.replace(/^!/, '')) ? pattern : prependDirToPattern(relativePath, pattern);
|
|
7
7
|
const prependDirToPatterns = (cwd, dir, patterns) => {
|
|
8
8
|
const relativePath = relative(cwd, dir);
|
package/dist/util/input.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IssueType } from '../types/issues.
|
|
2
|
-
import type { PluginName } from '../types/PluginNames.
|
|
1
|
+
import type { IssueType } from '../types/issues.ts';
|
|
2
|
+
import type { PluginName } from '../types/PluginNames.ts';
|
|
3
3
|
type InputType = 'binary' | 'entry' | 'project' | 'config' | 'dependency' | 'deferResolve' | 'deferResolveEntry' | 'alias' | 'ignore';
|
|
4
4
|
export interface Input {
|
|
5
5
|
type: InputType;
|
package/dist/util/input.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Counters, Issues, Rules } from '../types/issues.
|
|
1
|
+
import type { Counters, Issues, Rules } from '../types/issues.ts';
|
|
2
2
|
export declare const initIssues: () => Issues;
|
|
3
3
|
export declare const initCounters: () => Counters;
|
|
4
4
|
export declare const defaultRules: Rules;
|
package/dist/util/jiti.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ParsedCLIArgs } from './cli-arguments.
|
|
1
|
+
import type { ParsedCLIArgs } from './cli-arguments.ts';
|
|
2
2
|
export declare function loadResolvedConfigFile(configPath: string, options: ParsedCLIArgs): Promise<any>;
|
package/dist/util/load-config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { debugLogObject } from
|
|
2
|
-
import { ConfigurationError } from
|
|
3
|
-
import { _load } from
|
|
1
|
+
import { debugLogObject } from "./debug.js";
|
|
2
|
+
import { ConfigurationError } from "./errors.js";
|
|
3
|
+
import { _load } from "./loader.js";
|
|
4
4
|
const unwrapFunction = async (maybeFunction, options) => {
|
|
5
5
|
if (typeof maybeFunction === 'function') {
|
|
6
6
|
try {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import { isFile } from
|
|
3
|
-
import { dirname } from
|
|
2
|
+
import { isFile } from "./fs.js";
|
|
3
|
+
import { dirname } from "./path.js";
|
|
4
4
|
export const loadTSConfig = async (tsConfigFilePath) => {
|
|
5
5
|
if (isFile(tsConfigFilePath)) {
|
|
6
6
|
const config = ts.readConfigFile(tsConfigFilePath, ts.sys.readFile);
|
package/dist/util/loader.js
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExtension) || function (path, preserveJsx) {
|
|
2
|
+
if (typeof path === "string" && /^\.\.?\//.test(path)) {
|
|
3
|
+
return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
|
|
4
|
+
return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
|
|
5
|
+
});
|
|
6
|
+
}
|
|
7
|
+
return path;
|
|
8
|
+
};
|
|
9
|
+
import { LoaderError } from "./errors.js";
|
|
10
|
+
import { loadFile, loadJSON, loadJSONC, loadTOML, loadYAML, parseJSONC, parseYAML } from "./fs.js";
|
|
11
|
+
import { jiti } from "./jiti.js";
|
|
12
|
+
import { timerify } from "./Performance.js";
|
|
13
|
+
import { extname, isInternal } from "./path.js";
|
|
6
14
|
const load = async (filePath) => {
|
|
7
15
|
try {
|
|
8
16
|
const ext = extname(filePath);
|
|
@@ -28,7 +36,7 @@ const load = async (filePath) => {
|
|
|
28
36
|
return await loadJSONC(filePath);
|
|
29
37
|
}
|
|
30
38
|
if ('Bun' in globalThis) {
|
|
31
|
-
const imported = await import(filePath);
|
|
39
|
+
const imported = await import(__rewriteRelativeImportExtension(filePath));
|
|
32
40
|
return imported.default ?? imported;
|
|
33
41
|
}
|
|
34
42
|
if (ext === '.toml') {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WorkspacePackage } from '../types/package-json.
|
|
1
|
+
import type { WorkspacePackage } from '../types/package-json.ts';
|
|
2
2
|
type Packages = Map<string, WorkspacePackage>;
|
|
3
3
|
type WorkspacePkgNames = Set<string>;
|
|
4
4
|
export default function mapWorkspaces(cwd: string, workspaces: string[]): Promise<[Packages, WorkspacePkgNames]>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { readFile } from 'node:fs/promises';
|
|
2
2
|
import fg from 'fast-glob';
|
|
3
|
-
import { partition } from
|
|
4
|
-
import { ConfigurationError } from
|
|
5
|
-
import { getPackageName } from
|
|
6
|
-
import { join } from
|
|
3
|
+
import { partition } from "./array.js";
|
|
4
|
+
import { ConfigurationError } from "./errors.js";
|
|
5
|
+
import { getPackageName } from "./package-name.js";
|
|
6
|
+
import { join } from "./path.js";
|
|
7
7
|
export default async function mapWorkspaces(cwd, workspaces) {
|
|
8
8
|
const [negatedPatterns, patterns] = partition(workspaces, p => p.match(/^!/));
|
|
9
9
|
const packages = new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FileNode, IdToFileMap, IdToNsToFileMap, ImportMap, ImportMaps, ModuleGraph } from '../types/module-graph.
|
|
1
|
+
import type { FileNode, IdToFileMap, IdToNsToFileMap, ImportMap, ImportMaps, ModuleGraph } from '../types/module-graph.ts';
|
|
2
2
|
export declare const updateImportMap: (file: FileNode, importMap: ImportMap, graph: ModuleGraph) => void;
|
|
3
3
|
export declare const createFileNode: () => FileNode;
|
|
4
4
|
export declare const createImports: () => ImportMaps;
|