@tspub-dev/tspub 0.1.1 → 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 +52 -427
- 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,13 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from formatter.d.ts
|
|
2
|
-
import type { DoctorSeverity } from "./framework/types.js";
|
|
3
|
-
export interface DoctorFormattedResult {
|
|
4
|
-
ruleId: string;
|
|
5
|
-
severity: DoctorSeverity;
|
|
6
|
-
message: string;
|
|
7
|
-
fixable?: false | "safe" | "unsafe";
|
|
8
|
-
}
|
|
9
|
-
export declare function formatDoctorResults(results: DoctorFormattedResult[], format?: "text" | "json"): {
|
|
10
|
-
errors: number;
|
|
11
|
-
warnings: number;
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=formatter.d.ts.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { DoctorSeverity } from "./framework/types.js";
|
|
2
|
-
export interface DoctorFormattedResult {
|
|
3
|
-
ruleId: string;
|
|
4
|
-
severity: DoctorSeverity;
|
|
5
|
-
message: string;
|
|
6
|
-
fixable?: false | "safe" | "unsafe";
|
|
7
|
-
}
|
|
8
|
-
export declare function formatDoctorResults(results: DoctorFormattedResult[], format?: "text" | "json"): {
|
|
9
|
-
errors: number;
|
|
10
|
-
warnings: number;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=formatter.d.ts.map
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from context.d.ts
|
|
2
|
-
import type { PackageJson } from "../../shared/package-json.js";
|
|
3
|
-
import type { DoctorContext } from "./types.js";
|
|
4
|
-
export declare function buildDoctorContext(pkg: PackageJson, dir: string): Promise<DoctorContext>;
|
|
5
|
-
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from runner.d.ts
|
|
2
|
-
import type { PackageJson } from "../../shared/package-json.js";
|
|
3
|
-
import type { DoctorRule, DoctorContext, DoctorDiagnostic, DoctorFixResult, DoctorSeverity } from "./types.js";
|
|
4
|
-
export interface DoctorRunOptions {
|
|
5
|
-
dir: string;
|
|
6
|
-
pkg: PackageJson;
|
|
7
|
-
fix: boolean;
|
|
8
|
-
unsafe?: boolean;
|
|
9
|
-
dryRun?: boolean;
|
|
10
|
-
interactive?: boolean;
|
|
11
|
-
severityOverrides?: Record<string, DoctorSeverity | "off">;
|
|
12
|
-
}
|
|
13
|
-
export interface DoctorRunResult {
|
|
14
|
-
diagnostics: DoctorDiagnostic[];
|
|
15
|
-
fixes: DoctorFixResult[];
|
|
16
|
-
}
|
|
17
|
-
export declare function runDoctorRules(rules: DoctorRule[], ctx: DoctorContext, options: DoctorRunOptions): Promise<DoctorRunResult>;
|
|
18
|
-
//# sourceMappingURL=runner.d.ts.map
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { PackageJson } from "../../shared/package-json.js";
|
|
2
|
-
import type { DoctorRule, DoctorContext, DoctorDiagnostic, DoctorFixResult, DoctorSeverity } from "./types.js";
|
|
3
|
-
export interface DoctorRunOptions {
|
|
4
|
-
dir: string;
|
|
5
|
-
pkg: PackageJson;
|
|
6
|
-
fix: boolean;
|
|
7
|
-
unsafe?: boolean;
|
|
8
|
-
dryRun?: boolean;
|
|
9
|
-
interactive?: boolean;
|
|
10
|
-
severityOverrides?: Record<string, DoctorSeverity | "off">;
|
|
11
|
-
}
|
|
12
|
-
export interface DoctorRunResult {
|
|
13
|
-
diagnostics: DoctorDiagnostic[];
|
|
14
|
-
fixes: DoctorFixResult[];
|
|
15
|
-
}
|
|
16
|
-
export declare function runDoctorRules(rules: DoctorRule[], ctx: DoctorContext, options: DoctorRunOptions): Promise<DoctorRunResult>;
|
|
17
|
-
//# sourceMappingURL=runner.d.ts.map
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from types.d.ts
|
|
2
|
-
import type { PackageJson } from "../../shared/package-json.js";
|
|
3
|
-
export type DoctorSeverity = "error" | "warning" | "info";
|
|
4
|
-
export interface DoctorRuleMeta {
|
|
5
|
-
id: string;
|
|
6
|
-
description: string;
|
|
7
|
-
defaultSeverity: DoctorSeverity;
|
|
8
|
-
fixable: false | "safe" | "unsafe";
|
|
9
|
-
category: string;
|
|
10
|
-
}
|
|
11
|
-
export interface DoctorRawDiagnostic {
|
|
12
|
-
severity: DoctorSeverity;
|
|
13
|
-
message: string;
|
|
14
|
-
data?: Record<string, unknown>;
|
|
15
|
-
}
|
|
16
|
-
export interface DoctorDiagnostic extends DoctorRawDiagnostic {
|
|
17
|
-
ruleId: string;
|
|
18
|
-
}
|
|
19
|
-
export interface DoctorContext {
|
|
20
|
-
pkg: PackageJson;
|
|
21
|
-
dir: string;
|
|
22
|
-
compilerOptions: Record<string, unknown> | null;
|
|
23
|
-
hasBuildOutput: boolean;
|
|
24
|
-
distFiles: string[];
|
|
25
|
-
lockFiles: string[];
|
|
26
|
-
}
|
|
27
|
-
export interface DoctorFixContext {
|
|
28
|
-
pkg: PackageJson;
|
|
29
|
-
dir: string;
|
|
30
|
-
}
|
|
31
|
-
export interface DoctorFixResult {
|
|
32
|
-
message: string;
|
|
33
|
-
pkgModified: boolean;
|
|
34
|
-
}
|
|
35
|
-
export interface DoctorRule {
|
|
36
|
-
meta: DoctorRuleMeta;
|
|
37
|
-
check(ctx: DoctorContext): DoctorRawDiagnostic[] | Promise<DoctorRawDiagnostic[]>;
|
|
38
|
-
fix?(ctx: DoctorFixContext): DoctorFixResult | Promise<DoctorFixResult>;
|
|
39
|
-
}
|
|
40
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { PackageJson } from "../../shared/package-json.js";
|
|
2
|
-
export type DoctorSeverity = "error" | "warning" | "info";
|
|
3
|
-
export interface DoctorRuleMeta {
|
|
4
|
-
id: string;
|
|
5
|
-
description: string;
|
|
6
|
-
defaultSeverity: DoctorSeverity;
|
|
7
|
-
fixable: false | "safe" | "unsafe";
|
|
8
|
-
category: string;
|
|
9
|
-
}
|
|
10
|
-
export interface DoctorRawDiagnostic {
|
|
11
|
-
severity: DoctorSeverity;
|
|
12
|
-
message: string;
|
|
13
|
-
data?: Record<string, unknown>;
|
|
14
|
-
}
|
|
15
|
-
export interface DoctorDiagnostic extends DoctorRawDiagnostic {
|
|
16
|
-
ruleId: string;
|
|
17
|
-
}
|
|
18
|
-
export interface DoctorContext {
|
|
19
|
-
pkg: PackageJson;
|
|
20
|
-
dir: string;
|
|
21
|
-
compilerOptions: Record<string, unknown> | null;
|
|
22
|
-
hasBuildOutput: boolean;
|
|
23
|
-
distFiles: string[];
|
|
24
|
-
lockFiles: string[];
|
|
25
|
-
}
|
|
26
|
-
export interface DoctorFixContext {
|
|
27
|
-
pkg: PackageJson;
|
|
28
|
-
dir: string;
|
|
29
|
-
}
|
|
30
|
-
export interface DoctorFixResult {
|
|
31
|
-
message: string;
|
|
32
|
-
pkgModified: boolean;
|
|
33
|
-
}
|
|
34
|
-
export interface DoctorRule {
|
|
35
|
-
meta: DoctorRuleMeta;
|
|
36
|
-
check(ctx: DoctorContext): DoctorRawDiagnostic[] | Promise<DoctorRawDiagnostic[]>;
|
|
37
|
-
fix?(ctx: DoctorFixContext): DoctorFixResult | Promise<DoctorFixResult>;
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from index.d.ts
|
|
2
|
-
import type { DoctorSeverity } from "./framework/types.js";
|
|
3
|
-
export type { DoctorSeverity } from "./framework/types.js";
|
|
4
|
-
export type { DoctorRule, DoctorRuleMeta, DoctorContext } from "./framework/types.js";
|
|
5
|
-
export interface DoctorResult {
|
|
6
|
-
severity: DoctorSeverity;
|
|
7
|
-
message: string;
|
|
8
|
-
category: string;
|
|
9
|
-
ruleId?: string;
|
|
10
|
-
fixable?: false | "safe" | "unsafe";
|
|
11
|
-
}
|
|
12
|
-
export interface DoctorOptions {
|
|
13
|
-
dir: string;
|
|
14
|
-
fix?: boolean;
|
|
15
|
-
unsafe?: boolean;
|
|
16
|
-
dryRun?: boolean;
|
|
17
|
-
interactive?: boolean;
|
|
18
|
-
severityOverrides?: Record<string, DoctorSeverity | "off">;
|
|
19
|
-
profile?: string;
|
|
20
|
-
format?: "text" | "json";
|
|
21
|
-
}
|
|
22
|
-
export declare function doctor(dirOrOptions: string | DoctorOptions): Promise<DoctorResult[]>;
|
|
23
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { DoctorSeverity } from "./framework/types.js";
|
|
2
|
-
export type { DoctorSeverity } from "./framework/types.js";
|
|
3
|
-
export type { DoctorRule, DoctorRuleMeta, DoctorContext } from "./framework/types.js";
|
|
4
|
-
export interface DoctorResult {
|
|
5
|
-
severity: DoctorSeverity;
|
|
6
|
-
message: string;
|
|
7
|
-
category: string;
|
|
8
|
-
ruleId?: string;
|
|
9
|
-
fixable?: false | "safe" | "unsafe";
|
|
10
|
-
}
|
|
11
|
-
export interface DoctorOptions {
|
|
12
|
-
dir: string;
|
|
13
|
-
fix?: boolean;
|
|
14
|
-
unsafe?: boolean;
|
|
15
|
-
dryRun?: boolean;
|
|
16
|
-
interactive?: boolean;
|
|
17
|
-
severityOverrides?: Record<string, DoctorSeverity | "off">;
|
|
18
|
-
profile?: string;
|
|
19
|
-
format?: "text" | "json";
|
|
20
|
-
}
|
|
21
|
-
export declare function doctor(dirOrOptions: string | DoctorOptions): Promise<DoctorResult[]>;
|
|
22
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from plugins.d.ts
|
|
2
|
-
import type { DoctorRule } from "./framework/types.js";
|
|
3
|
-
export interface TspubDoctorPlugin {
|
|
4
|
-
name: string;
|
|
5
|
-
rules: DoctorRule[];
|
|
6
|
-
}
|
|
7
|
-
export declare function loadDoctorPlugins(specs: string[], dir: string): Promise<DoctorRule[]>;
|
|
8
|
-
//# sourceMappingURL=plugins.d.ts.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { DoctorRule } from "./framework/types.js";
|
|
2
|
-
export interface TspubDoctorPlugin {
|
|
3
|
-
name: string;
|
|
4
|
-
rules: DoctorRule[];
|
|
5
|
-
}
|
|
6
|
-
export declare function loadDoctorPlugins(specs: string[], dir: string): Promise<DoctorRule[]>;
|
|
7
|
-
//# sourceMappingURL=plugins.d.ts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from resolution.d.ts
|
|
2
|
-
import type { PackageJson } from "../shared/package-json.js";
|
|
3
|
-
export interface ResolutionDiagnostic {
|
|
4
|
-
severity: "error" | "warning" | "info";
|
|
5
|
-
message: string;
|
|
6
|
-
}
|
|
7
|
-
export declare function debugResolution(pkg: PackageJson, subpath: string): ResolutionDiagnostic[];
|
|
8
|
-
//# sourceMappingURL=resolution.d.ts.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { PackageJson } from "../shared/package-json.js";
|
|
2
|
-
export interface ResolutionDiagnostic {
|
|
3
|
-
severity: "error" | "warning" | "info";
|
|
4
|
-
message: string;
|
|
5
|
-
}
|
|
6
|
-
export declare function debugResolution(pkg: PackageJson, subpath: string): ResolutionDiagnostic[];
|
|
7
|
-
//# sourceMappingURL=resolution.d.ts.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from build.d.ts
|
|
2
|
-
import type { DoctorRule } from "../framework/types.js";
|
|
3
|
-
export declare const buildOutputRule: DoctorRule;
|
|
4
|
-
export declare const buildOutputFreshRule: DoctorRule;
|
|
5
|
-
export declare const buildRules: DoctorRule[];
|
|
6
|
-
//# sourceMappingURL=build.d.ts.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from dependencies.d.ts
|
|
2
|
-
import type { DoctorRule } from "../framework/types.js";
|
|
3
|
-
export declare const fileDependencyRule: DoctorRule;
|
|
4
|
-
export declare const duplicateDependencyRule: DoctorRule;
|
|
5
|
-
export declare const missingPeerDepRule: DoctorRule;
|
|
6
|
-
export declare const dependencyRules: DoctorRule[];
|
|
7
|
-
//# sourceMappingURL=dependencies.d.ts.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { DoctorRule } from "../framework/types.js";
|
|
2
|
-
export declare const fileDependencyRule: DoctorRule;
|
|
3
|
-
export declare const duplicateDependencyRule: DoctorRule;
|
|
4
|
-
export declare const missingPeerDepRule: DoctorRule;
|
|
5
|
-
export declare const dependencyRules: DoctorRule[];
|
|
6
|
-
//# sourceMappingURL=dependencies.d.ts.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from environment.d.ts
|
|
2
|
-
import type { DoctorRule } from "../framework/types.js";
|
|
3
|
-
export declare const nodeVersionRule: DoctorRule;
|
|
4
|
-
export declare const npmVersionRule: DoctorRule;
|
|
5
|
-
export declare const packageManagerRule: DoctorRule;
|
|
6
|
-
export declare const typescriptVersionRule: DoctorRule;
|
|
7
|
-
export declare const gitStatusRule: DoctorRule;
|
|
8
|
-
export declare const gitRemoteRule: DoctorRule;
|
|
9
|
-
export declare const environmentRules: DoctorRule[];
|
|
10
|
-
//# sourceMappingURL=environment.d.ts.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { DoctorRule } from "../framework/types.js";
|
|
2
|
-
export declare const nodeVersionRule: DoctorRule;
|
|
3
|
-
export declare const npmVersionRule: DoctorRule;
|
|
4
|
-
export declare const packageManagerRule: DoctorRule;
|
|
5
|
-
export declare const typescriptVersionRule: DoctorRule;
|
|
6
|
-
export declare const gitStatusRule: DoctorRule;
|
|
7
|
-
export declare const gitRemoteRule: DoctorRule;
|
|
8
|
-
export declare const environmentRules: DoctorRule[];
|
|
9
|
-
//# sourceMappingURL=environment.d.ts.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from typescript.d.ts
|
|
2
|
-
import type { DoctorRule } from "../framework/types.js";
|
|
3
|
-
export declare const tsconfigExistsRule: DoctorRule;
|
|
4
|
-
export declare const tsconfigStrictRule: DoctorRule;
|
|
5
|
-
export declare const tsconfigDeclarationRule: DoctorRule;
|
|
6
|
-
export declare const tsconfigModuleRule: DoctorRule;
|
|
7
|
-
export declare const tsconfigModuleResolutionRule: DoctorRule;
|
|
8
|
-
export declare const typescriptRules: DoctorRule[];
|
|
9
|
-
//# sourceMappingURL=typescript.d.ts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { DoctorRule } from "../framework/types.js";
|
|
2
|
-
export declare const tsconfigExistsRule: DoctorRule;
|
|
3
|
-
export declare const tsconfigStrictRule: DoctorRule;
|
|
4
|
-
export declare const tsconfigDeclarationRule: DoctorRule;
|
|
5
|
-
export declare const tsconfigModuleRule: DoctorRule;
|
|
6
|
-
export declare const tsconfigModuleResolutionRule: DoctorRule;
|
|
7
|
-
export declare const typescriptRules: DoctorRule[];
|
|
8
|
-
//# sourceMappingURL=typescript.d.ts.map
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from types.d.ts
|
|
2
|
-
import type { PackageJson } from "../../shared/package-json.js";
|
|
3
|
-
import type { TspubPublishConfig } from "../../config/types.js";
|
|
4
|
-
export interface PrereqRuleMeta {
|
|
5
|
-
id: string;
|
|
6
|
-
description: string;
|
|
7
|
-
blocking: boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface PrereqContext {
|
|
10
|
-
dir: string;
|
|
11
|
-
pkg: PackageJson;
|
|
12
|
-
dryRun: boolean;
|
|
13
|
-
isCi: boolean;
|
|
14
|
-
config: TspubPublishConfig | null;
|
|
15
|
-
registry?: string;
|
|
16
|
-
registryArgs: string[];
|
|
17
|
-
}
|
|
18
|
-
export interface PrereqDiagnostic {
|
|
19
|
-
severity: "error" | "warning" | "info";
|
|
20
|
-
message: string;
|
|
21
|
-
ruleId: string;
|
|
22
|
-
}
|
|
23
|
-
export interface PrereqRule {
|
|
24
|
-
meta: PrereqRuleMeta;
|
|
25
|
-
check(ctx: PrereqContext): PrereqDiagnostic[] | Promise<PrereqDiagnostic[]>;
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { PackageJson } from "../../shared/package-json.js";
|
|
2
|
-
import type { TspubPublishConfig } from "../../config/types.js";
|
|
3
|
-
export interface PrereqRuleMeta {
|
|
4
|
-
id: string;
|
|
5
|
-
description: string;
|
|
6
|
-
blocking: boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface PrereqContext {
|
|
9
|
-
dir: string;
|
|
10
|
-
pkg: PackageJson;
|
|
11
|
-
dryRun: boolean;
|
|
12
|
-
isCi: boolean;
|
|
13
|
-
config: TspubPublishConfig | null;
|
|
14
|
-
registry?: string;
|
|
15
|
-
registryArgs: string[];
|
|
16
|
-
}
|
|
17
|
-
export interface PrereqDiagnostic {
|
|
18
|
-
severity: "error" | "warning" | "info";
|
|
19
|
-
message: string;
|
|
20
|
-
ruleId: string;
|
|
21
|
-
}
|
|
22
|
-
export interface PrereqRule {
|
|
23
|
-
meta: PrereqRuleMeta;
|
|
24
|
-
check(ctx: PrereqContext): PrereqDiagnostic[] | Promise<PrereqDiagnostic[]>;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from git.d.ts
|
|
2
|
-
export declare function checkDirtyTree(dir: string): {
|
|
3
|
-
dirty: boolean;
|
|
4
|
-
error?: string;
|
|
5
|
-
};
|
|
6
|
-
export declare function checkBranch(dir: string, allowed: string[]): {
|
|
7
|
-
ok: boolean;
|
|
8
|
-
branch: string;
|
|
9
|
-
};
|
|
10
|
-
export declare function commitRelease(dir: string, version: string, files: string[]): string;
|
|
11
|
-
export declare function commitMonorepoRelease(dir: string, published: Array<{
|
|
12
|
-
name: string;
|
|
13
|
-
version: string;
|
|
14
|
-
dir: string;
|
|
15
|
-
}>): void;
|
|
16
|
-
export declare function tagRelease(dir: string, tag: string): void;
|
|
17
|
-
export declare function pushWithTags(dir: string): {
|
|
18
|
-
ok: boolean;
|
|
19
|
-
error?: string;
|
|
20
|
-
};
|
|
21
|
-
export declare function rollbackRelease(dir: string, version: string, commitSha: string): boolean;
|
|
22
|
-
//# sourceMappingURL=git.d.ts.map
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare function checkDirtyTree(dir: string): {
|
|
2
|
-
dirty: boolean;
|
|
3
|
-
error?: string;
|
|
4
|
-
};
|
|
5
|
-
export declare function checkBranch(dir: string, allowed: string[]): {
|
|
6
|
-
ok: boolean;
|
|
7
|
-
branch: string;
|
|
8
|
-
};
|
|
9
|
-
export declare function commitRelease(dir: string, version: string, files: string[]): string;
|
|
10
|
-
export declare function commitMonorepoRelease(dir: string, published: Array<{
|
|
11
|
-
name: string;
|
|
12
|
-
version: string;
|
|
13
|
-
dir: string;
|
|
14
|
-
}>): void;
|
|
15
|
-
export declare function tagRelease(dir: string, tag: string): void;
|
|
16
|
-
export declare function pushWithTags(dir: string): {
|
|
17
|
-
ok: boolean;
|
|
18
|
-
error?: string;
|
|
19
|
-
};
|
|
20
|
-
export declare function rollbackRelease(dir: string, version: string, commitSha: string): boolean;
|
|
21
|
-
//# sourceMappingURL=git.d.ts.map
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from github.d.ts
|
|
2
|
-
import type { PackageJson } from "../shared/package-json.js";
|
|
3
|
-
export interface GitHubReleaseOptions {
|
|
4
|
-
owner: string;
|
|
5
|
-
repo: string;
|
|
6
|
-
tag: string;
|
|
7
|
-
name: string;
|
|
8
|
-
body: string;
|
|
9
|
-
prerelease: boolean;
|
|
10
|
-
token: string;
|
|
11
|
-
draft?: boolean;
|
|
12
|
-
assets?: string[];
|
|
13
|
-
/** Base directory for resolving asset glob patterns */
|
|
14
|
-
assetDir?: string;
|
|
15
|
-
}
|
|
16
|
-
export declare function createGitHubRelease(opts: GitHubReleaseOptions): Promise<{
|
|
17
|
-
ok: boolean;
|
|
18
|
-
url?: string;
|
|
19
|
-
error?: string;
|
|
20
|
-
}>;
|
|
21
|
-
export declare function parseGitHubRepo(pkg: PackageJson): {
|
|
22
|
-
owner: string;
|
|
23
|
-
repo: string;
|
|
24
|
-
} | null;
|
|
25
|
-
export declare function extractReleaseNotes(changelogPath: string, version: string): string;
|
|
26
|
-
//# sourceMappingURL=github.d.ts.map
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { PackageJson } from "../shared/package-json.js";
|
|
2
|
-
export interface GitHubReleaseOptions {
|
|
3
|
-
owner: string;
|
|
4
|
-
repo: string;
|
|
5
|
-
tag: string;
|
|
6
|
-
name: string;
|
|
7
|
-
body: string;
|
|
8
|
-
prerelease: boolean;
|
|
9
|
-
token: string;
|
|
10
|
-
draft?: boolean;
|
|
11
|
-
assets?: string[];
|
|
12
|
-
/** Base directory for resolving asset glob patterns */
|
|
13
|
-
assetDir?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare function createGitHubRelease(opts: GitHubReleaseOptions): Promise<{
|
|
16
|
-
ok: boolean;
|
|
17
|
-
url?: string;
|
|
18
|
-
error?: string;
|
|
19
|
-
}>;
|
|
20
|
-
export declare function parseGitHubRepo(pkg: PackageJson): {
|
|
21
|
-
owner: string;
|
|
22
|
-
repo: string;
|
|
23
|
-
} | null;
|
|
24
|
-
export declare function extractReleaseNotes(changelogPath: string, version: string): string;
|
|
25
|
-
//# sourceMappingURL=github.d.ts.map
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from hooks.d.ts
|
|
2
|
-
import type { TspubPublishConfig } from "../config/types.js";
|
|
3
|
-
export interface PublishHooks {
|
|
4
|
-
beforePublish?(ctx: {
|
|
5
|
-
dir: string;
|
|
6
|
-
version: string;
|
|
7
|
-
}): Promise<void>;
|
|
8
|
-
afterPublish?(ctx: {
|
|
9
|
-
dir: string;
|
|
10
|
-
version: string;
|
|
11
|
-
success: boolean;
|
|
12
|
-
}): Promise<void>;
|
|
13
|
-
beforeBuild?(ctx: {
|
|
14
|
-
dir: string;
|
|
15
|
-
}): Promise<void>;
|
|
16
|
-
afterBuild?(ctx: {
|
|
17
|
-
dir: string;
|
|
18
|
-
}): Promise<void>;
|
|
19
|
-
}
|
|
20
|
-
export declare function runHook<K extends keyof PublishHooks>(hooks: PublishHooks | undefined, name: K, ctx: NonNullable<Parameters<NonNullable<PublishHooks[K]>>[0]>): Promise<void>;
|
|
21
|
-
export declare function createHooksFromConfig(config: TspubPublishConfig | undefined): PublishHooks | undefined;
|
|
22
|
-
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { TspubPublishConfig } from "../config/types.js";
|
|
2
|
-
export interface PublishHooks {
|
|
3
|
-
beforePublish?(ctx: {
|
|
4
|
-
dir: string;
|
|
5
|
-
version: string;
|
|
6
|
-
}): Promise<void>;
|
|
7
|
-
afterPublish?(ctx: {
|
|
8
|
-
dir: string;
|
|
9
|
-
version: string;
|
|
10
|
-
success: boolean;
|
|
11
|
-
}): Promise<void>;
|
|
12
|
-
beforeBuild?(ctx: {
|
|
13
|
-
dir: string;
|
|
14
|
-
}): Promise<void>;
|
|
15
|
-
afterBuild?(ctx: {
|
|
16
|
-
dir: string;
|
|
17
|
-
}): Promise<void>;
|
|
18
|
-
}
|
|
19
|
-
export declare function runHook<K extends keyof PublishHooks>(hooks: PublishHooks | undefined, name: K, ctx: NonNullable<Parameters<NonNullable<PublishHooks[K]>>[0]>): Promise<void>;
|
|
20
|
-
export declare function createHooksFromConfig(config: TspubPublishConfig | undefined): PublishHooks | undefined;
|
|
21
|
-
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from index.d.ts
|
|
2
|
-
export { bumpVersion, bumpPrerelease } from "./version-bump.js";
|
|
3
|
-
export { publishPackage, publishMonorepo } from "./publish.js";
|
|
4
|
-
export type { PublishPackageParams, PublishMonorepoParams } from "./publish.js";
|
|
5
|
-
export type { PublishOptions, PublishResult } from "./types.js";
|
|
6
|
-
export type { PrereqRule, PrereqDiagnostic, PrereqContext } from "./framework/types.js";
|
|
7
|
-
export type { PublishHooks } from "./hooks.js";
|
|
8
|
-
export { resolveVersionBump } from "./version-from-commits.js";
|
|
9
|
-
export type { VersionBump } from "./version-from-commits.js";
|
|
10
|
-
export { checkDirtyTree, checkBranch, commitRelease, commitMonorepoRelease, tagRelease, pushWithTags, rollbackRelease } from "./git.js";
|
|
11
|
-
export { pingRegistry, checkAuth, npmPublish } from "./npm.js";
|
|
12
|
-
export { allPrereqs } from "./prereqs/index.js";
|
|
13
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { bumpVersion, bumpPrerelease } from "./version-bump.js";
|
|
2
|
-
export { publishPackage, publishMonorepo } from "./publish.js";
|
|
3
|
-
export type { PublishPackageParams, PublishMonorepoParams } from "./publish.js";
|
|
4
|
-
export type { PublishOptions, PublishResult } from "./types.js";
|
|
5
|
-
export type { PrereqRule, PrereqDiagnostic, PrereqContext } from "./framework/types.js";
|
|
6
|
-
export type { PublishHooks } from "./hooks.js";
|
|
7
|
-
export { resolveVersionBump } from "./version-from-commits.js";
|
|
8
|
-
export type { VersionBump } from "./version-from-commits.js";
|
|
9
|
-
export { checkDirtyTree, checkBranch, commitRelease, commitMonorepoRelease, tagRelease, pushWithTags, rollbackRelease } from "./git.js";
|
|
10
|
-
export { pingRegistry, checkAuth, npmPublish } from "./npm.js";
|
|
11
|
-
export { allPrereqs } from "./prereqs/index.js";
|
|
12
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// Auto-generated CJS declaration from npm.d.ts
|
|
2
|
-
export declare function pingRegistry(dir: string, registryArgs: string[]): {
|
|
3
|
-
ok: boolean;
|
|
4
|
-
error?: string;
|
|
5
|
-
};
|
|
6
|
-
export declare function checkAuth(dir: string, registryArgs: string[]): {
|
|
7
|
-
ok: boolean;
|
|
8
|
-
error?: string;
|
|
9
|
-
};
|
|
10
|
-
export declare function npmPublish(dir: string, args: string[]): {
|
|
11
|
-
ok: boolean;
|
|
12
|
-
error?: string;
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=npm.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare function pingRegistry(dir: string, registryArgs: string[]): {
|
|
2
|
-
ok: boolean;
|
|
3
|
-
error?: string;
|
|
4
|
-
};
|
|
5
|
-
export declare function checkAuth(dir: string, registryArgs: string[]): {
|
|
6
|
-
ok: boolean;
|
|
7
|
-
error?: string;
|
|
8
|
-
};
|
|
9
|
-
export declare function npmPublish(dir: string, args: string[]): {
|
|
10
|
-
ok: boolean;
|
|
11
|
-
error?: string;
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=npm.d.ts.map
|