@tspub-dev/tspub 0.1.2 → 0.1.3
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/README.md +3 -3
- package/package.json +26 -23
- package/dist/bin/tspub.d.cts +0 -4
- package/dist/index.d.cts +0 -70
- package/dist/src/builder/changelog-conventional.d.cts +0 -12
- package/dist/src/builder/changelog-conventional.d.ts +0 -11
- package/dist/src/builder/changelog.d.cts +0 -4
- package/dist/src/builder/changelog.d.ts +0 -3
- package/dist/src/builder/cjs-interop.d.cts +0 -4
- package/dist/src/builder/cjs-interop.d.ts +0 -3
- package/dist/src/builder/dts-bundle.d.cts +0 -19
- package/dist/src/builder/dts-bundle.d.ts +0 -18
- package/dist/src/builder/dts.d.cts +0 -9
- package/dist/src/builder/dts.d.ts +0 -8
- package/dist/src/builder/entry-inference.d.cts +0 -4
- package/dist/src/builder/entry-inference.d.ts +0 -3
- package/dist/src/builder/esbuild-builder.d.cts +0 -49
- package/dist/src/builder/esbuild-builder.d.ts +0 -48
- package/dist/src/builder/externals.d.cts +0 -18
- package/dist/src/builder/externals.d.ts +0 -17
- package/dist/src/builder/index.d.cts +0 -52
- package/dist/src/builder/index.d.ts +0 -51
- package/dist/src/builder/plugins.d.cts +0 -26
- package/dist/src/builder/plugins.d.ts +0 -25
- package/dist/src/builder/public-dir.d.cts +0 -7
- package/dist/src/builder/public-dir.d.ts +0 -6
- package/dist/src/builder/shims-plugin.d.cts +0 -4
- package/dist/src/builder/shims-plugin.d.ts +0 -3
- package/dist/src/builder/size-report.d.cts +0 -12
- package/dist/src/builder/size-report.d.ts +0 -11
- package/dist/src/changeset/dependent-bumping.d.cts +0 -9
- package/dist/src/changeset/dependent-bumping.d.ts +0 -8
- package/dist/src/changeset/index.d.cts +0 -9
- package/dist/src/changeset/index.d.ts +0 -8
- package/dist/src/changeset/parser.d.cts +0 -5
- package/dist/src/changeset/parser.d.ts +0 -4
- package/dist/src/changeset/snapshot.d.cts +0 -3
- package/dist/src/changeset/snapshot.d.ts +0 -2
- package/dist/src/changeset/types.d.cts +0 -22
- package/dist/src/changeset/types.d.ts +0 -21
- package/dist/src/changeset/version.d.cts +0 -23
- package/dist/src/changeset/version.d.ts +0 -22
- package/dist/src/changeset/writer.d.cts +0 -4
- package/dist/src/changeset/writer.d.ts +0 -3
- package/dist/src/checker/browser.d.cts +0 -29
- package/dist/src/checker/browser.d.ts +0 -28
- package/dist/src/checker/formatter.d.cts +0 -11
- package/dist/src/checker/formatter.d.ts +0 -10
- package/dist/src/checker/framework/context.d.cts +0 -9
- package/dist/src/checker/framework/context.d.ts +0 -8
- package/dist/src/checker/framework/runner.d.cts +0 -20
- package/dist/src/checker/framework/runner.d.ts +0 -19
- package/dist/src/checker/framework/types.d.cts +0 -42
- package/dist/src/checker/framework/types.d.ts +0 -41
- package/dist/src/checker/index.d.cts +0 -25
- package/dist/src/checker/index.d.ts +0 -24
- package/dist/src/checker/plugins.d.cts +0 -8
- package/dist/src/checker/plugins.d.ts +0 -7
- package/dist/src/checker/profiles.d.cts +0 -19
- package/dist/src/checker/profiles.d.ts +0 -18
- package/dist/src/checker/rules/exports/browser-conflict.d.cts +0 -4
- package/dist/src/checker/rules/exports/browser-conflict.d.ts +0 -3
- package/dist/src/checker/rules/exports/browser-value-conflict.d.cts +0 -4
- package/dist/src/checker/rules/exports/browser-value-conflict.d.ts +0 -3
- package/dist/src/checker/rules/exports/cjs-default-export.d.cts +0 -4
- package/dist/src/checker/rules/exports/cjs-default-export.d.ts +0 -3
- package/dist/src/checker/rules/exports/cjs-esmodule-interop.d.cts +0 -4
- package/dist/src/checker/rules/exports/cjs-esmodule-interop.d.ts +0 -3
- package/dist/src/checker/rules/exports/condition-types.d.cts +0 -4
- package/dist/src/checker/rules/exports/condition-types.d.ts +0 -3
- package/dist/src/checker/rules/exports/default-last.d.cts +0 -4
- package/dist/src/checker/rules/exports/default-last.d.ts +0 -3
- package/dist/src/checker/rules/exports/dot-entry.d.cts +0 -4
- package/dist/src/checker/rules/exports/dot-entry.d.ts +0 -3
- package/dist/src/checker/rules/exports/esm-main-no-exports.d.cts +0 -10
- package/dist/src/checker/rules/exports/esm-main-no-exports.d.ts +0 -9
- package/dist/src/checker/rules/exports/exports-field.d.cts +0 -4
- package/dist/src/checker/rules/exports/exports-field.d.ts +0 -3
- package/dist/src/checker/rules/exports/fallback-array.d.cts +0 -4
- package/dist/src/checker/rules/exports/fallback-array.d.ts +0 -3
- package/dist/src/checker/rules/exports/file-exists.d.cts +0 -4
- package/dist/src/checker/rules/exports/file-exists.d.ts +0 -3
- package/dist/src/checker/rules/exports/file-not-published.d.cts +0 -4
- package/dist/src/checker/rules/exports/file-not-published.d.ts +0 -3
- package/dist/src/checker/rules/exports/format-mismatch.d.cts +0 -4
- package/dist/src/checker/rules/exports/format-mismatch.d.ts +0 -3
- package/dist/src/checker/rules/exports/glob-matched-files.d.cts +0 -4
- package/dist/src/checker/rules/exports/glob-matched-files.d.ts +0 -3
- package/dist/src/checker/rules/exports/import-condition.d.cts +0 -4
- package/dist/src/checker/rules/exports/import-condition.d.ts +0 -3
- package/dist/src/checker/rules/exports/imports-field.d.cts +0 -4
- package/dist/src/checker/rules/exports/imports-field.d.ts +0 -3
- package/dist/src/checker/rules/exports/imports-key-invalid.d.cts +0 -4
- package/dist/src/checker/rules/exports/imports-key-invalid.d.ts +0 -3
- package/dist/src/checker/rules/exports/jsx-extensions.d.cts +0 -4
- package/dist/src/checker/rules/exports/jsx-extensions.d.ts +0 -3
- package/dist/src/checker/rules/exports/module-before-require.d.cts +0 -4
- package/dist/src/checker/rules/exports/module-before-require.d.ts +0 -3
- package/dist/src/checker/rules/exports/module-esm-only.d.cts +0 -4
- package/dist/src/checker/rules/exports/module-esm-only.d.ts +0 -3
- package/dist/src/checker/rules/exports/module-no-exports.d.cts +0 -10
- package/dist/src/checker/rules/exports/module-no-exports.d.ts +0 -9
- package/dist/src/checker/rules/exports/no-deprecated-subpath-mapping.d.cts +0 -4
- package/dist/src/checker/rules/exports/no-deprecated-subpath-mapping.d.ts +0 -3
- package/dist/src/checker/rules/exports/type-module.d.cts +0 -4
- package/dist/src/checker/rules/exports/type-module.d.ts +0 -3
- package/dist/src/checker/rules/exports/types-first.d.cts +0 -11
- package/dist/src/checker/rules/exports/types-first.d.ts +0 -10
- package/dist/src/checker/rules/exports/types-format.d.cts +0 -4
- package/dist/src/checker/rules/exports/types-format.d.ts +0 -3
- package/dist/src/checker/rules/exports/types-not-exported.d.cts +0 -11
- package/dist/src/checker/rules/exports/types-not-exported.d.ts +0 -10
- package/dist/src/checker/rules/exports/types-order.d.cts +0 -4
- package/dist/src/checker/rules/exports/types-order.d.ts +0 -3
- package/dist/src/checker/rules/exports/value-invalid.d.cts +0 -4
- package/dist/src/checker/rules/exports/value-invalid.d.ts +0 -3
- package/dist/src/checker/rules/files/all-files-format.d.cts +0 -4
- package/dist/src/checker/rules/files/all-files-format.d.ts +0 -3
- package/dist/src/checker/rules/files/bin-executable.d.cts +0 -10
- package/dist/src/checker/rules/files/bin-executable.d.ts +0 -9
- package/dist/src/checker/rules/files/bin-shebang.d.cts +0 -4
- package/dist/src/checker/rules/files/bin-shebang.d.ts +0 -3
- package/dist/src/checker/rules/files/duplicate-dep.d.cts +0 -4
- package/dist/src/checker/rules/files/duplicate-dep.d.ts +0 -3
- package/dist/src/checker/rules/files/files-field.d.cts +0 -4
- package/dist/src/checker/rules/files/files-field.d.ts +0 -3
- package/dist/src/checker/rules/files/format-validation.d.cts +0 -12
- package/dist/src/checker/rules/files/format-validation.d.ts +0 -11
- package/dist/src/checker/rules/files/implicit-index-format.d.cts +0 -13
- package/dist/src/checker/rules/files/implicit-index-format.d.ts +0 -12
- package/dist/src/checker/rules/files/local-dependency.d.cts +0 -4
- package/dist/src/checker/rules/files/local-dependency.d.ts +0 -3
- package/dist/src/checker/rules/files/prepublish.d.cts +0 -4
- package/dist/src/checker/rules/files/prepublish.d.ts +0 -3
- package/dist/src/checker/rules/files/sensitive.d.cts +0 -4
- package/dist/src/checker/rules/files/sensitive.d.ts +0 -3
- package/dist/src/checker/rules/imports/default-last.d.cts +0 -4
- package/dist/src/checker/rules/imports/default-last.d.ts +0 -3
- package/dist/src/checker/rules/imports/fallback-array.d.cts +0 -4
- package/dist/src/checker/rules/imports/fallback-array.d.ts +0 -3
- package/dist/src/checker/rules/imports/glob-matched-files.d.cts +0 -4
- package/dist/src/checker/rules/imports/glob-matched-files.d.ts +0 -3
- package/dist/src/checker/rules/imports/module-before-require.d.cts +0 -4
- package/dist/src/checker/rules/imports/module-before-require.d.ts +0 -3
- package/dist/src/checker/rules/imports/module-esm-only.d.cts +0 -4
- package/dist/src/checker/rules/imports/module-esm-only.d.ts +0 -3
- package/dist/src/checker/rules/imports/no-deprecated-subpath.d.cts +0 -4
- package/dist/src/checker/rules/imports/no-deprecated-subpath.d.ts +0 -3
- package/dist/src/checker/rules/index.d.cts +0 -4
- package/dist/src/checker/rules/index.d.ts +0 -3
- package/dist/src/checker/rules/metadata/deprecated-fields.d.cts +0 -4
- package/dist/src/checker/rules/metadata/deprecated-fields.d.ts +0 -3
- package/dist/src/checker/rules/metadata/engines.d.cts +0 -4
- package/dist/src/checker/rules/metadata/engines.d.ts +0 -3
- package/dist/src/checker/rules/metadata/field-value-type.d.cts +0 -4
- package/dist/src/checker/rules/metadata/field-value-type.d.ts +0 -3
- package/dist/src/checker/rules/metadata/license-file.d.cts +0 -4
- package/dist/src/checker/rules/metadata/license-file.d.ts +0 -3
- package/dist/src/checker/rules/metadata/license.d.cts +0 -4
- package/dist/src/checker/rules/metadata/license.d.ts +0 -3
- package/dist/src/checker/rules/metadata/module-esm.d.cts +0 -4
- package/dist/src/checker/rules/metadata/module-esm.d.ts +0 -3
- package/dist/src/checker/rules/metadata/peer-dep-conflict.d.cts +0 -4
- package/dist/src/checker/rules/metadata/peer-dep-conflict.d.ts +0 -3
- package/dist/src/checker/rules/metadata/repository-format.d.cts +0 -13
- package/dist/src/checker/rules/metadata/repository-format.d.ts +0 -12
- package/dist/src/checker/rules/metadata/repository.d.cts +0 -4
- package/dist/src/checker/rules/metadata/repository.d.ts +0 -3
- package/dist/src/checker/rules/metadata/side-effects.d.cts +0 -4
- package/dist/src/checker/rules/metadata/side-effects.d.ts +0 -3
- package/dist/src/checker/rules/metadata/use-exports-browser.d.cts +0 -4
- package/dist/src/checker/rules/metadata/use-exports-browser.d.ts +0 -3
- package/dist/src/checker/rules/size/package-size.d.cts +0 -4
- package/dist/src/checker/rules/size/package-size.d.ts +0 -3
- package/dist/src/checker/rules/types/cjs-resolves-esm.d.cts +0 -15
- package/dist/src/checker/rules/types/cjs-resolves-esm.d.ts +0 -14
- package/dist/src/checker/rules/types/declaration-completeness.d.cts +0 -4
- package/dist/src/checker/rules/types/declaration-completeness.d.ts +0 -3
- package/dist/src/checker/rules/types/declaration.d.cts +0 -4
- package/dist/src/checker/rules/types/declaration.d.ts +0 -3
- package/dist/src/checker/rules/types/esm-dynamic-only.d.cts +0 -11
- package/dist/src/checker/rules/types/esm-dynamic-only.d.ts +0 -10
- package/dist/src/checker/rules/types/false-cjs-esm.d.cts +0 -13
- package/dist/src/checker/rules/types/false-cjs-esm.d.ts +0 -12
- package/dist/src/checker/rules/types/false-export-default.d.cts +0 -11
- package/dist/src/checker/rules/types/false-export-default.d.ts +0 -10
- package/dist/src/checker/rules/types/isolated-modules.d.cts +0 -4
- package/dist/src/checker/rules/types/isolated-modules.d.ts +0 -3
- package/dist/src/checker/rules/types/missing-export-equals.d.cts +0 -11
- package/dist/src/checker/rules/types/missing-export-equals.d.ts +0 -10
- package/dist/src/checker/rules/types/module-resolution.d.cts +0 -4
- package/dist/src/checker/rules/types/module-resolution.d.ts +0 -3
- package/dist/src/checker/rules/types/module.d.cts +0 -4
- package/dist/src/checker/rules/types/module.d.ts +0 -3
- package/dist/src/checker/rules/types/no-any-export.d.cts +0 -4
- package/dist/src/checker/rules/types/no-any-export.d.ts +0 -3
- package/dist/src/checker/rules/types/resolution.d.cts +0 -4
- package/dist/src/checker/rules/types/resolution.d.ts +0 -3
- package/dist/src/checker/rules/types/strict.d.cts +0 -4
- package/dist/src/checker/rules/types/strict.d.ts +0 -3
- package/dist/src/checker/rules/types/tsconfig-exists.d.cts +0 -4
- package/dist/src/checker/rules/types/tsconfig-exists.d.ts +0 -3
- package/dist/src/checker/rules/utils/exports-traversal.d.cts +0 -12
- package/dist/src/checker/rules/utils/exports-traversal.d.ts +0 -11
- package/dist/src/checker/rules/utils/format-detection.d.cts +0 -8
- package/dist/src/checker/rules/utils/format-detection.d.ts +0 -7
- package/dist/src/checker/rules/utils/imports-traversal.d.cts +0 -10
- package/dist/src/checker/rules/utils/imports-traversal.d.ts +0 -9
- package/dist/src/cli/build.d.cts +0 -6
- package/dist/src/cli/build.d.ts +0 -5
- package/dist/src/cli/changeset.d.cts +0 -4
- package/dist/src/cli/changeset.d.ts +0 -3
- package/dist/src/cli/check.d.cts +0 -4
- package/dist/src/cli/check.d.ts +0 -3
- package/dist/src/cli/doctor.d.cts +0 -4
- package/dist/src/cli/doctor.d.ts +0 -3
- package/dist/src/cli/index.d.cts +0 -5
- package/dist/src/cli/index.d.ts +0 -4
- package/dist/src/cli/init.d.cts +0 -4
- package/dist/src/cli/init.d.ts +0 -3
- package/dist/src/cli/publish.d.cts +0 -7
- package/dist/src/cli/publish.d.ts +0 -6
- package/dist/src/cli/scan.d.cts +0 -4
- package/dist/src/cli/scan.d.ts +0 -3
- package/dist/src/cli/test-types.d.cts +0 -4
- package/dist/src/cli/test-types.d.ts +0 -3
- package/dist/src/config/index.d.cts +0 -4
- package/dist/src/config/index.d.ts +0 -3
- package/dist/src/config/loader.d.cts +0 -6
- package/dist/src/config/loader.d.ts +0 -5
- package/dist/src/config/types.d.cts +0 -109
- package/dist/src/config/types.d.ts +0 -108
- package/dist/src/doctor/environment.d.cts +0 -13
- package/dist/src/doctor/environment.d.ts +0 -12
- package/dist/src/doctor/formatter.d.cts +0 -13
- package/dist/src/doctor/formatter.d.ts +0 -12
- package/dist/src/doctor/framework/context.d.cts +0 -5
- package/dist/src/doctor/framework/context.d.ts +0 -4
- package/dist/src/doctor/framework/runner.d.cts +0 -18
- package/dist/src/doctor/framework/runner.d.ts +0 -17
- package/dist/src/doctor/framework/types.d.cts +0 -40
- package/dist/src/doctor/framework/types.d.ts +0 -39
- package/dist/src/doctor/index.d.cts +0 -23
- package/dist/src/doctor/index.d.ts +0 -22
- package/dist/src/doctor/plugins.d.cts +0 -8
- package/dist/src/doctor/plugins.d.ts +0 -7
- package/dist/src/doctor/profiles.d.cts +0 -3
- package/dist/src/doctor/profiles.d.ts +0 -2
- package/dist/src/doctor/resolution.d.cts +0 -8
- package/dist/src/doctor/resolution.d.ts +0 -7
- package/dist/src/doctor/rules/build.d.cts +0 -6
- package/dist/src/doctor/rules/build.d.ts +0 -5
- package/dist/src/doctor/rules/dependencies.d.cts +0 -7
- package/dist/src/doctor/rules/dependencies.d.ts +0 -6
- package/dist/src/doctor/rules/environment.d.cts +0 -10
- package/dist/src/doctor/rules/environment.d.ts +0 -9
- package/dist/src/doctor/rules/index.d.cts +0 -4
- package/dist/src/doctor/rules/index.d.ts +0 -3
- package/dist/src/doctor/rules/typescript.d.cts +0 -9
- package/dist/src/doctor/rules/typescript.d.ts +0 -8
- package/dist/src/publisher/framework/types.d.cts +0 -27
- package/dist/src/publisher/framework/types.d.ts +0 -26
- package/dist/src/publisher/git.d.cts +0 -22
- package/dist/src/publisher/git.d.ts +0 -21
- package/dist/src/publisher/github.d.cts +0 -26
- package/dist/src/publisher/github.d.ts +0 -25
- package/dist/src/publisher/hooks.d.cts +0 -22
- package/dist/src/publisher/hooks.d.ts +0 -21
- package/dist/src/publisher/index.d.cts +0 -13
- package/dist/src/publisher/index.d.ts +0 -12
- package/dist/src/publisher/npm.d.cts +0 -14
- package/dist/src/publisher/npm.d.ts +0 -13
- package/dist/src/publisher/prereqs/branch.d.cts +0 -4
- package/dist/src/publisher/prereqs/branch.d.ts +0 -3
- package/dist/src/publisher/prereqs/checker.d.cts +0 -4
- package/dist/src/publisher/prereqs/checker.d.ts +0 -3
- package/dist/src/publisher/prereqs/dirty-tree.d.cts +0 -4
- package/dist/src/publisher/prereqs/dirty-tree.d.ts +0 -3
- package/dist/src/publisher/prereqs/index.d.cts +0 -4
- package/dist/src/publisher/prereqs/index.d.ts +0 -3
- package/dist/src/publisher/prereqs/registry.d.cts +0 -5
- package/dist/src/publisher/prereqs/registry.d.ts +0 -4
- package/dist/src/publisher/publish.d.cts +0 -24
- package/dist/src/publisher/publish.d.ts +0 -23
- package/dist/src/publisher/types.d.cts +0 -28
- package/dist/src/publisher/types.d.ts +0 -27
- package/dist/src/publisher/version-bump.d.cts +0 -12
- package/dist/src/publisher/version-bump.d.ts +0 -11
- package/dist/src/publisher/version-from-commits.d.cts +0 -7
- package/dist/src/publisher/version-from-commits.d.ts +0 -6
- package/dist/src/scaffold/index.d.cts +0 -15
- package/dist/src/scaffold/index.d.ts +0 -14
- package/dist/src/scaffold/prompts.d.cts +0 -11
- package/dist/src/scaffold/prompts.d.ts +0 -10
- package/dist/src/scaffold/templates/changelog.d.cts +0 -3
- package/dist/src/scaffold/templates/changelog.d.ts +0 -2
- package/dist/src/scaffold/templates/ci.yml.d.cts +0 -4
- package/dist/src/scaffold/templates/ci.yml.d.ts +0 -3
- package/dist/src/scaffold/templates/gitignore.d.cts +0 -3
- package/dist/src/scaffold/templates/gitignore.d.ts +0 -2
- package/dist/src/scaffold/templates/index.ts.d.cts +0 -3
- package/dist/src/scaffold/templates/index.ts.d.ts +0 -2
- package/dist/src/scaffold/templates/license.d.cts +0 -4
- package/dist/src/scaffold/templates/license.d.ts +0 -3
- package/dist/src/scaffold/templates/npmignore.d.cts +0 -3
- package/dist/src/scaffold/templates/npmignore.d.ts +0 -2
- package/dist/src/scaffold/templates/package.json.d.cts +0 -4
- package/dist/src/scaffold/templates/package.json.d.ts +0 -3
- package/dist/src/scaffold/templates/readme.d.cts +0 -4
- package/dist/src/scaffold/templates/readme.d.ts +0 -3
- package/dist/src/scaffold/templates/test.ts.d.cts +0 -4
- package/dist/src/scaffold/templates/test.ts.d.ts +0 -3
- package/dist/src/scaffold/templates/tsconfig.json.d.cts +0 -4
- package/dist/src/scaffold/templates/tsconfig.json.d.ts +0 -3
- package/dist/src/scanner/clone.d.cts +0 -9
- package/dist/src/scanner/clone.d.ts +0 -8
- package/dist/src/scanner/github.d.cts +0 -16
- package/dist/src/scanner/github.d.ts +0 -15
- package/dist/src/scanner/index.d.cts +0 -45
- package/dist/src/scanner/index.d.ts +0 -44
- package/dist/src/scanner/profiles.d.cts +0 -4
- package/dist/src/scanner/profiles.d.ts +0 -3
- package/dist/src/scanner/report.d.cts +0 -18
- package/dist/src/scanner/report.d.ts +0 -17
- package/dist/src/shared/logger.d.cts +0 -15
- package/dist/src/shared/logger.d.ts +0 -14
- package/dist/src/shared/package-json.d.cts +0 -29
- package/dist/src/shared/package-json.d.ts +0 -28
- package/dist/src/shared/resolve.d.cts +0 -3
- package/dist/src/shared/resolve.d.ts +0 -2
- package/dist/src/shared/strip-json-comments.d.cts +0 -8
- package/dist/src/shared/strip-json-comments.d.ts +0 -7
- package/dist/src/type-tester/index.d.cts +0 -17
- package/dist/src/type-tester/index.d.ts +0 -16
- package/dist/src/workspace/index.d.cts +0 -22
- package/dist/src/workspace/index.d.ts +0 -21
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/type-tester/assertions.d.cts +0 -51
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from dependent-bumping.d.ts
|
|
2
|
-
import type { BumpType } from "./types.js";
|
|
3
|
-
export interface PackageInfo {
|
|
4
|
-
name: string;
|
|
5
|
-
dependencies: Record<string, string>;
|
|
6
|
-
devDependencies: Record<string, string>;
|
|
7
|
-
}
|
|
8
|
-
export declare function computeDependentBumps(packages: PackageInfo[], initialBumps: Map<string, BumpType>, mode: "major" | "all" | "none"): Map<string, BumpType>;
|
|
9
|
-
//# sourceMappingURL=dependent-bumping.d.ts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { BumpType } from "./types.js";
|
|
2
|
-
export interface PackageInfo {
|
|
3
|
-
name: string;
|
|
4
|
-
dependencies: Record<string, string>;
|
|
5
|
-
devDependencies: Record<string, string>;
|
|
6
|
-
}
|
|
7
|
-
export declare function computeDependentBumps(packages: PackageInfo[], initialBumps: Map<string, BumpType>, mode: "major" | "all" | "none"): Map<string, BumpType>;
|
|
8
|
-
//# sourceMappingURL=dependent-bumping.d.ts.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from index.d.ts
|
|
2
|
-
export { parseChangeset, parseChangesetContent } from "./parser.js";
|
|
3
|
-
export { writeChangeset } from "./writer.js";
|
|
4
|
-
export { consumeChangesets } from "./version.js";
|
|
5
|
-
export type { ConsumeResult } from "./version.js";
|
|
6
|
-
export { computeDependentBumps } from "./dependent-bumping.js";
|
|
7
|
-
export { createSnapshot } from "./snapshot.js";
|
|
8
|
-
export type { Changeset, ChangesetEntry, VersionUpdate, BumpType, DependentBumpStrategy } from "./types.js";
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { parseChangeset, parseChangesetContent } from "./parser.js";
|
|
2
|
-
export { writeChangeset } from "./writer.js";
|
|
3
|
-
export { consumeChangesets } from "./version.js";
|
|
4
|
-
export type { ConsumeResult } from "./version.js";
|
|
5
|
-
export { computeDependentBumps } from "./dependent-bumping.js";
|
|
6
|
-
export { createSnapshot } from "./snapshot.js";
|
|
7
|
-
export type { Changeset, ChangesetEntry, VersionUpdate, BumpType, DependentBumpStrategy } from "./types.js";
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from parser.d.ts
|
|
2
|
-
import type { Changeset } from "./types.js";
|
|
3
|
-
export declare function parseChangesetContent(content: string, id: string): Changeset;
|
|
4
|
-
export declare function parseChangeset(filePath: string): Promise<Changeset>;
|
|
5
|
-
//# sourceMappingURL=parser.d.ts.map
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from types.d.ts
|
|
2
|
-
export type BumpType = "major" | "minor" | "patch";
|
|
3
|
-
export interface ChangesetEntry {
|
|
4
|
-
packageName: string;
|
|
5
|
-
bump: BumpType;
|
|
6
|
-
}
|
|
7
|
-
export interface Changeset {
|
|
8
|
-
id: string;
|
|
9
|
-
entries: ChangesetEntry[];
|
|
10
|
-
summary: string;
|
|
11
|
-
}
|
|
12
|
-
export interface VersionUpdate {
|
|
13
|
-
packageName: string;
|
|
14
|
-
oldVersion: string;
|
|
15
|
-
newVersion: string;
|
|
16
|
-
bump: BumpType;
|
|
17
|
-
changelog: string;
|
|
18
|
-
}
|
|
19
|
-
export interface DependentBumpStrategy {
|
|
20
|
-
mode: "major" | "all" | "none";
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export type BumpType = "major" | "minor" | "patch";
|
|
2
|
-
export interface ChangesetEntry {
|
|
3
|
-
packageName: string;
|
|
4
|
-
bump: BumpType;
|
|
5
|
-
}
|
|
6
|
-
export interface Changeset {
|
|
7
|
-
id: string;
|
|
8
|
-
entries: ChangesetEntry[];
|
|
9
|
-
summary: string;
|
|
10
|
-
}
|
|
11
|
-
export interface VersionUpdate {
|
|
12
|
-
packageName: string;
|
|
13
|
-
oldVersion: string;
|
|
14
|
-
newVersion: string;
|
|
15
|
-
bump: BumpType;
|
|
16
|
-
changelog: string;
|
|
17
|
-
}
|
|
18
|
-
export interface DependentBumpStrategy {
|
|
19
|
-
mode: "major" | "all" | "none";
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from version.d.ts
|
|
2
|
-
import type { VersionUpdate } from "./types.js";
|
|
3
|
-
/**
|
|
4
|
-
* Compare two semver strings. Handles pre-release tags:
|
|
5
|
-
* - A version without pre-release is greater than the same version with one
|
|
6
|
-
* (1.0.0 > 1.0.0-beta.1)
|
|
7
|
-
* - Pre-release versions are compared lexicographically by dot-separated identifiers,
|
|
8
|
-
* with numeric identifiers compared as numbers.
|
|
9
|
-
*/
|
|
10
|
-
declare function semverGt(a: string, b: string): boolean;
|
|
11
|
-
export { semverGt as _semverGt };
|
|
12
|
-
export interface ConsumeOptions {
|
|
13
|
-
linked?: string[][];
|
|
14
|
-
fixed?: string[][];
|
|
15
|
-
dependentBumping?: "major" | "all" | "none";
|
|
16
|
-
}
|
|
17
|
-
export interface ConsumeResult {
|
|
18
|
-
updates: VersionUpdate[];
|
|
19
|
-
/** Call this after committing or confirming to delete consumed changeset files. */
|
|
20
|
-
cleanup: () => Promise<void>;
|
|
21
|
-
}
|
|
22
|
-
export declare function consumeChangesets(rootDir: string, packageDirs?: Map<string, string>, options?: ConsumeOptions): Promise<ConsumeResult>;
|
|
23
|
-
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { VersionUpdate } from "./types.js";
|
|
2
|
-
/**
|
|
3
|
-
* Compare two semver strings. Handles pre-release tags:
|
|
4
|
-
* - A version without pre-release is greater than the same version with one
|
|
5
|
-
* (1.0.0 > 1.0.0-beta.1)
|
|
6
|
-
* - Pre-release versions are compared lexicographically by dot-separated identifiers,
|
|
7
|
-
* with numeric identifiers compared as numbers.
|
|
8
|
-
*/
|
|
9
|
-
declare function semverGt(a: string, b: string): boolean;
|
|
10
|
-
export { semverGt as _semverGt };
|
|
11
|
-
export interface ConsumeOptions {
|
|
12
|
-
linked?: string[][];
|
|
13
|
-
fixed?: string[][];
|
|
14
|
-
dependentBumping?: "major" | "all" | "none";
|
|
15
|
-
}
|
|
16
|
-
export interface ConsumeResult {
|
|
17
|
-
updates: VersionUpdate[];
|
|
18
|
-
/** Call this after committing or confirming to delete consumed changeset files. */
|
|
19
|
-
cleanup: () => Promise<void>;
|
|
20
|
-
}
|
|
21
|
-
export declare function consumeChangesets(rootDir: string, packageDirs?: Map<string, string>, options?: ConsumeOptions): Promise<ConsumeResult>;
|
|
22
|
-
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from browser.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Browser-safe checker subset.
|
|
4
|
-
*
|
|
5
|
-
* Exports only rules that operate on PackageJson and compilerOptions alone —
|
|
6
|
-
* no filesystem access, no Node.js built-ins. Safe to import in VitePress
|
|
7
|
-
* or any browser environment.
|
|
8
|
-
*
|
|
9
|
-
* 37 of 68 rules. Install tspub for all 68.
|
|
10
|
-
*/
|
|
11
|
-
import type { PackageJson } from "../shared/package-json.js";
|
|
12
|
-
import type { Rule } from "./framework/types.js";
|
|
13
|
-
import { RULE_MAPPING, CATEGORY_ORDER } from "./profiles.js";
|
|
14
|
-
export declare const browserRules: Rule[];
|
|
15
|
-
export declare const TOTAL_RULES = 70;
|
|
16
|
-
export interface BrowserCheckResult {
|
|
17
|
-
ruleId: string;
|
|
18
|
-
severity: string;
|
|
19
|
-
message: string;
|
|
20
|
-
category: string;
|
|
21
|
-
fixable: false | "safe" | "unsafe";
|
|
22
|
-
publint: string | null;
|
|
23
|
-
attw: string | null;
|
|
24
|
-
}
|
|
25
|
-
export declare function checkPackageJson(pkg: PackageJson, compilerOptions?: Record<string, unknown> | null): BrowserCheckResult[];
|
|
26
|
-
export declare function fixPackageJson(pkg: PackageJson, results: BrowserCheckResult[]): PackageJson;
|
|
27
|
-
export { RULE_MAPPING, CATEGORY_ORDER };
|
|
28
|
-
export type { PackageJson } from "../shared/package-json.js";
|
|
29
|
-
//# sourceMappingURL=browser.d.ts.map
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Browser-safe checker subset.
|
|
3
|
-
*
|
|
4
|
-
* Exports only rules that operate on PackageJson and compilerOptions alone —
|
|
5
|
-
* no filesystem access, no Node.js built-ins. Safe to import in VitePress
|
|
6
|
-
* or any browser environment.
|
|
7
|
-
*
|
|
8
|
-
* 37 of 68 rules. Install tspub for all 68.
|
|
9
|
-
*/
|
|
10
|
-
import type { PackageJson } from "../shared/package-json.js";
|
|
11
|
-
import type { Rule } from "./framework/types.js";
|
|
12
|
-
import { RULE_MAPPING, CATEGORY_ORDER } from "./profiles.js";
|
|
13
|
-
export declare const browserRules: Rule[];
|
|
14
|
-
export declare const TOTAL_RULES = 70;
|
|
15
|
-
export interface BrowserCheckResult {
|
|
16
|
-
ruleId: string;
|
|
17
|
-
severity: string;
|
|
18
|
-
message: string;
|
|
19
|
-
category: string;
|
|
20
|
-
fixable: false | "safe" | "unsafe";
|
|
21
|
-
publint: string | null;
|
|
22
|
-
attw: string | null;
|
|
23
|
-
}
|
|
24
|
-
export declare function checkPackageJson(pkg: PackageJson, compilerOptions?: Record<string, unknown> | null): BrowserCheckResult[];
|
|
25
|
-
export declare function fixPackageJson(pkg: PackageJson, results: BrowserCheckResult[]): PackageJson;
|
|
26
|
-
export { RULE_MAPPING, CATEGORY_ORDER };
|
|
27
|
-
export type { PackageJson } from "../shared/package-json.js";
|
|
28
|
-
//# sourceMappingURL=browser.d.ts.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from formatter.d.ts
|
|
2
|
-
import type { CheckResult } from "./index.js";
|
|
3
|
-
export declare function groupResultsByCategory(results: CheckResult[]): Map<string, CheckResult[]>;
|
|
4
|
-
export declare function printGroupedResults(results: CheckResult[], strict: boolean, compare?: boolean): {
|
|
5
|
-
errors: number;
|
|
6
|
-
warnings: number;
|
|
7
|
-
passed: number;
|
|
8
|
-
};
|
|
9
|
-
export declare function printResolutionTable(results: CheckResult[]): void;
|
|
10
|
-
export declare function printListRules(): void;
|
|
11
|
-
//# sourceMappingURL=formatter.d.ts.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { CheckResult } from "./index.js";
|
|
2
|
-
export declare function groupResultsByCategory(results: CheckResult[]): Map<string, CheckResult[]>;
|
|
3
|
-
export declare function printGroupedResults(results: CheckResult[], strict: boolean, compare?: boolean): {
|
|
4
|
-
errors: number;
|
|
5
|
-
warnings: number;
|
|
6
|
-
passed: number;
|
|
7
|
-
};
|
|
8
|
-
export declare function printResolutionTable(results: CheckResult[]): void;
|
|
9
|
-
export declare function printListRules(): void;
|
|
10
|
-
//# sourceMappingURL=formatter.d.ts.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from context.d.ts
|
|
2
|
-
import type { PackageJson } from "../../shared/package-json.js";
|
|
3
|
-
import type { CheckContext } from "./types.js";
|
|
4
|
-
export declare function buildContext(pkg: PackageJson, dir: string): Promise<CheckContext>;
|
|
5
|
-
export declare function inferEntryPaths(pkg: PackageJson, distFiles: string[]): {
|
|
6
|
-
main: string;
|
|
7
|
-
types: string;
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { PackageJson } from "../../shared/package-json.js";
|
|
2
|
-
import type { CheckContext } from "./types.js";
|
|
3
|
-
export declare function buildContext(pkg: PackageJson, dir: string): Promise<CheckContext>;
|
|
4
|
-
export declare function inferEntryPaths(pkg: PackageJson, distFiles: string[]): {
|
|
5
|
-
main: string;
|
|
6
|
-
types: string;
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from runner.d.ts
|
|
2
|
-
import type { PackageJson } from "../../shared/package-json.js";
|
|
3
|
-
import type { Rule, CheckContext, Diagnostic, FixResult, Severity } from "./types.js";
|
|
4
|
-
export interface RunOptions {
|
|
5
|
-
dir: string;
|
|
6
|
-
pkg: PackageJson;
|
|
7
|
-
fix: boolean;
|
|
8
|
-
unsafe?: boolean;
|
|
9
|
-
dryRun?: boolean;
|
|
10
|
-
fixTypes?: string[];
|
|
11
|
-
interactive?: boolean;
|
|
12
|
-
distFiles?: string[];
|
|
13
|
-
severityOverrides?: Record<string, Severity | "off">;
|
|
14
|
-
}
|
|
15
|
-
export interface RunResult {
|
|
16
|
-
diagnostics: Diagnostic[];
|
|
17
|
-
fixes: FixResult[];
|
|
18
|
-
}
|
|
19
|
-
export declare function runRules(rules: Rule[], ctx: CheckContext, options: RunOptions): Promise<RunResult>;
|
|
20
|
-
//# sourceMappingURL=runner.d.ts.map
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { PackageJson } from "../../shared/package-json.js";
|
|
2
|
-
import type { Rule, CheckContext, Diagnostic, FixResult, Severity } from "./types.js";
|
|
3
|
-
export interface RunOptions {
|
|
4
|
-
dir: string;
|
|
5
|
-
pkg: PackageJson;
|
|
6
|
-
fix: boolean;
|
|
7
|
-
unsafe?: boolean;
|
|
8
|
-
dryRun?: boolean;
|
|
9
|
-
fixTypes?: string[];
|
|
10
|
-
interactive?: boolean;
|
|
11
|
-
distFiles?: string[];
|
|
12
|
-
severityOverrides?: Record<string, Severity | "off">;
|
|
13
|
-
}
|
|
14
|
-
export interface RunResult {
|
|
15
|
-
diagnostics: Diagnostic[];
|
|
16
|
-
fixes: FixResult[];
|
|
17
|
-
}
|
|
18
|
-
export declare function runRules(rules: Rule[], ctx: CheckContext, options: RunOptions): Promise<RunResult>;
|
|
19
|
-
//# sourceMappingURL=runner.d.ts.map
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from types.d.ts
|
|
2
|
-
import type { PackageJson } from "../../shared/package-json.js";
|
|
3
|
-
export type Severity = "error" | "warning" | "info";
|
|
4
|
-
export interface RuleMeta {
|
|
5
|
-
id: string;
|
|
6
|
-
description: string;
|
|
7
|
-
defaultSeverity: Severity;
|
|
8
|
-
fixable: false | "safe" | "unsafe";
|
|
9
|
-
category: string;
|
|
10
|
-
}
|
|
11
|
-
export interface RawDiagnostic {
|
|
12
|
-
severity: Severity;
|
|
13
|
-
message: string;
|
|
14
|
-
data?: Record<string, unknown>;
|
|
15
|
-
}
|
|
16
|
-
export interface Diagnostic extends RawDiagnostic {
|
|
17
|
-
ruleId: string;
|
|
18
|
-
}
|
|
19
|
-
export interface CheckContext {
|
|
20
|
-
pkg: PackageJson;
|
|
21
|
-
dir: string;
|
|
22
|
-
compilerOptions: Record<string, unknown> | null;
|
|
23
|
-
hasBuildOutput: boolean;
|
|
24
|
-
distFiles: string[];
|
|
25
|
-
allJsFiles: string[];
|
|
26
|
-
hasUnresolvedExtends: boolean;
|
|
27
|
-
}
|
|
28
|
-
export interface FixContext {
|
|
29
|
-
pkg: PackageJson;
|
|
30
|
-
dir: string;
|
|
31
|
-
distFiles: string[];
|
|
32
|
-
}
|
|
33
|
-
export interface FixResult {
|
|
34
|
-
message: string;
|
|
35
|
-
pkgModified: boolean;
|
|
36
|
-
}
|
|
37
|
-
export interface Rule {
|
|
38
|
-
meta: RuleMeta;
|
|
39
|
-
check(ctx: CheckContext): RawDiagnostic[] | Promise<RawDiagnostic[]>;
|
|
40
|
-
fix?(ctx: FixContext): FixResult | Promise<FixResult>;
|
|
41
|
-
}
|
|
42
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import type { PackageJson } from "../../shared/package-json.js";
|
|
2
|
-
export type Severity = "error" | "warning" | "info";
|
|
3
|
-
export interface RuleMeta {
|
|
4
|
-
id: string;
|
|
5
|
-
description: string;
|
|
6
|
-
defaultSeverity: Severity;
|
|
7
|
-
fixable: false | "safe" | "unsafe";
|
|
8
|
-
category: string;
|
|
9
|
-
}
|
|
10
|
-
export interface RawDiagnostic {
|
|
11
|
-
severity: Severity;
|
|
12
|
-
message: string;
|
|
13
|
-
data?: Record<string, unknown>;
|
|
14
|
-
}
|
|
15
|
-
export interface Diagnostic extends RawDiagnostic {
|
|
16
|
-
ruleId: string;
|
|
17
|
-
}
|
|
18
|
-
export interface CheckContext {
|
|
19
|
-
pkg: PackageJson;
|
|
20
|
-
dir: string;
|
|
21
|
-
compilerOptions: Record<string, unknown> | null;
|
|
22
|
-
hasBuildOutput: boolean;
|
|
23
|
-
distFiles: string[];
|
|
24
|
-
allJsFiles: string[];
|
|
25
|
-
hasUnresolvedExtends: boolean;
|
|
26
|
-
}
|
|
27
|
-
export interface FixContext {
|
|
28
|
-
pkg: PackageJson;
|
|
29
|
-
dir: string;
|
|
30
|
-
distFiles: string[];
|
|
31
|
-
}
|
|
32
|
-
export interface FixResult {
|
|
33
|
-
message: string;
|
|
34
|
-
pkgModified: boolean;
|
|
35
|
-
}
|
|
36
|
-
export interface Rule {
|
|
37
|
-
meta: RuleMeta;
|
|
38
|
-
check(ctx: CheckContext): RawDiagnostic[] | Promise<RawDiagnostic[]>;
|
|
39
|
-
fix?(ctx: FixContext): FixResult | Promise<FixResult>;
|
|
40
|
-
}
|
|
41
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from index.d.ts
|
|
2
|
-
import { loadConfig } from "../config/loader.js";
|
|
3
|
-
import type { Severity } from "./framework/types.js";
|
|
4
|
-
export type CheckSeverity = "error" | "warning" | "info" | "ok";
|
|
5
|
-
export interface CheckResult {
|
|
6
|
-
severity: CheckSeverity;
|
|
7
|
-
message: string;
|
|
8
|
-
fixable?: false | "safe" | "unsafe";
|
|
9
|
-
ruleId?: string;
|
|
10
|
-
data?: Record<string, unknown>;
|
|
11
|
-
}
|
|
12
|
-
export interface CheckOptions {
|
|
13
|
-
dir: string;
|
|
14
|
-
fix: boolean;
|
|
15
|
-
strict: boolean;
|
|
16
|
-
unsafe?: boolean;
|
|
17
|
-
dryRun?: boolean;
|
|
18
|
-
fixTypes?: string[];
|
|
19
|
-
interactive?: boolean;
|
|
20
|
-
severityOverrides?: Record<string, Severity | "off">;
|
|
21
|
-
/** Pre-loaded config to avoid redundant file I/O. If omitted, config is loaded from dir. */
|
|
22
|
-
_config?: Awaited<ReturnType<typeof loadConfig>>;
|
|
23
|
-
}
|
|
24
|
-
export declare function check(options: CheckOptions): Promise<CheckResult[]>;
|
|
25
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { loadConfig } from "../config/loader.js";
|
|
2
|
-
import type { Severity } from "./framework/types.js";
|
|
3
|
-
export type CheckSeverity = "error" | "warning" | "info" | "ok";
|
|
4
|
-
export interface CheckResult {
|
|
5
|
-
severity: CheckSeverity;
|
|
6
|
-
message: string;
|
|
7
|
-
fixable?: false | "safe" | "unsafe";
|
|
8
|
-
ruleId?: string;
|
|
9
|
-
data?: Record<string, unknown>;
|
|
10
|
-
}
|
|
11
|
-
export interface CheckOptions {
|
|
12
|
-
dir: string;
|
|
13
|
-
fix: boolean;
|
|
14
|
-
strict: boolean;
|
|
15
|
-
unsafe?: boolean;
|
|
16
|
-
dryRun?: boolean;
|
|
17
|
-
fixTypes?: string[];
|
|
18
|
-
interactive?: boolean;
|
|
19
|
-
severityOverrides?: Record<string, Severity | "off">;
|
|
20
|
-
/** Pre-loaded config to avoid redundant file I/O. If omitted, config is loaded from dir. */
|
|
21
|
-
_config?: Awaited<ReturnType<typeof loadConfig>>;
|
|
22
|
-
}
|
|
23
|
-
export declare function check(options: CheckOptions): Promise<CheckResult[]>;
|
|
24
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from plugins.d.ts
|
|
2
|
-
import type { Rule } from "./framework/types.js";
|
|
3
|
-
export interface TspubPlugin {
|
|
4
|
-
name: string;
|
|
5
|
-
rules: Rule[];
|
|
6
|
-
}
|
|
7
|
-
export declare function loadPlugins(specs: string[], dir: string): Promise<Rule[]>;
|
|
8
|
-
//# sourceMappingURL=plugins.d.ts.map
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from profiles.d.ts
|
|
2
|
-
import type { Severity } from "./framework/types.js";
|
|
3
|
-
/**
|
|
4
|
-
* Profile definitions.
|
|
5
|
-
* - `strict`: empty array = no rules skipped (everything is an error via strict flag)
|
|
6
|
-
* - `library`: deny-list of rule IDs to skip
|
|
7
|
-
* - `app`: allow-list of rule IDs to keep — all other rules are skipped.
|
|
8
|
-
* Uses `_appAllowList` flag so the CLI can invert it automatically.
|
|
9
|
-
*/
|
|
10
|
-
export declare const PROFILES: Record<string, string[]>;
|
|
11
|
-
/** Profiles listed here use allow-list semantics (only listed rules run). Others use deny-list (listed rules are skipped). */
|
|
12
|
-
export declare const ALLOW_LIST_PROFILES: Set<string>;
|
|
13
|
-
export declare const RULE_MAPPING: Record<string, {
|
|
14
|
-
publint?: string;
|
|
15
|
-
attw?: string;
|
|
16
|
-
}>;
|
|
17
|
-
export declare const CATEGORY_ORDER: string[];
|
|
18
|
-
export declare function parseSeverityOverrides(specs: string[]): Record<string, Severity | "off">;
|
|
19
|
-
//# sourceMappingURL=profiles.d.ts.map
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { Severity } from "./framework/types.js";
|
|
2
|
-
/**
|
|
3
|
-
* Profile definitions.
|
|
4
|
-
* - `strict`: empty array = no rules skipped (everything is an error via strict flag)
|
|
5
|
-
* - `library`: deny-list of rule IDs to skip
|
|
6
|
-
* - `app`: allow-list of rule IDs to keep — all other rules are skipped.
|
|
7
|
-
* Uses `_appAllowList` flag so the CLI can invert it automatically.
|
|
8
|
-
*/
|
|
9
|
-
export declare const PROFILES: Record<string, string[]>;
|
|
10
|
-
/** Profiles listed here use allow-list semantics (only listed rules run). Others use deny-list (listed rules are skipped). */
|
|
11
|
-
export declare const ALLOW_LIST_PROFILES: Set<string>;
|
|
12
|
-
export declare const RULE_MAPPING: Record<string, {
|
|
13
|
-
publint?: string;
|
|
14
|
-
attw?: string;
|
|
15
|
-
}>;
|
|
16
|
-
export declare const CATEGORY_ORDER: string[];
|
|
17
|
-
export declare function parseSeverityOverrides(specs: string[]): Record<string, Severity | "off">;
|
|
18
|
-
//# sourceMappingURL=profiles.d.ts.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from esm-main-no-exports.d.ts
|
|
2
|
-
import type { Rule } from "../../framework/types.js";
|
|
3
|
-
/**
|
|
4
|
-
* Warns when "main" points to an ESM file but no "exports" field exists.
|
|
5
|
-
* Consumers using older Node.js or tools won't resolve the package correctly.
|
|
6
|
-
*
|
|
7
|
-
* Equivalent to publint: HAS_ESM_MAIN_BUT_NO_EXPORTS
|
|
8
|
-
*/
|
|
9
|
-
export declare const esmMainNoExportsRule: Rule;
|
|
10
|
-
//# sourceMappingURL=esm-main-no-exports.d.ts.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Rule } from "../../framework/types.js";
|
|
2
|
-
/**
|
|
3
|
-
* Warns when "main" points to an ESM file but no "exports" field exists.
|
|
4
|
-
* Consumers using older Node.js or tools won't resolve the package correctly.
|
|
5
|
-
*
|
|
6
|
-
* Equivalent to publint: HAS_ESM_MAIN_BUT_NO_EXPORTS
|
|
7
|
-
*/
|
|
8
|
-
export declare const esmMainNoExportsRule: Rule;
|
|
9
|
-
//# sourceMappingURL=esm-main-no-exports.d.ts.map
|