packtory 0.0.90 → 0.0.92
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/artifacts/artifacts-builder.js +4 -37
- package/artifacts/artifacts-builder.js.map +1 -1
- package/artifacts/content-collection.js +2 -59
- package/artifacts/content-collection.js.map +1 -1
- package/artifacts/folder-writer.js +2 -25
- package/artifacts/folder-writer.js.map +1 -1
- package/bundle-emitter/emitter.d.ts +0 -8
- package/bundle-emitter/emitter.d.ts.map +1 -1
- package/bundle-emitter/emitter.js +6 -106
- package/bundle-emitter/emitter.js.map +1 -1
- package/bundle-emitter/extract-package-tarball.js +2 -13
- package/bundle-emitter/extract-package-tarball.js.map +1 -1
- package/bundle-emitter/fetch-published-artifacts.js +2 -16
- package/bundle-emitter/fetch-published-artifacts.js.map +1 -1
- package/bundle-emitter/publication-outcome.d.ts +0 -3
- package/bundle-emitter/publication-outcome.d.ts.map +1 -1
- package/bundle-emitter/publication-outcome.js +0 -5
- package/bundle-emitter/publication-outcome.js.map +1 -1
- package/bundle-emitter/publish-error/auto-mode-error-matching.js +2 -28
- package/bundle-emitter/publish-error/auto-mode-error-matching.js.map +1 -1
- package/bundle-emitter/publish-error/error-shape-helpers.js +0 -9
- package/bundle-emitter/publish-error/error-shape-helpers.js.map +1 -1
- package/bundle-emitter/publish-error/file-mode-error-matching.js +2 -33
- package/bundle-emitter/publish-error/file-mode-error-matching.js.map +1 -1
- package/bundle-emitter/publish-error/publish-error-messages.js +0 -24
- package/bundle-emitter/publish-error/publish-error-messages.js.map +1 -1
- package/bundle-emitter/registry/metadata-auth-retry.js +1 -24
- package/bundle-emitter/registry/metadata-auth-retry.js.map +1 -1
- package/bundle-emitter/registry/oidc-token-exchange.js +3 -68
- package/bundle-emitter/registry/oidc-token-exchange.js.map +1 -1
- package/bundle-emitter/registry/package-metadata-fetcher.d.ts +0 -13
- package/bundle-emitter/registry/package-metadata-fetcher.d.ts.map +1 -1
- package/bundle-emitter/registry/package-metadata-fetcher.js +7 -186
- package/bundle-emitter/registry/package-metadata-fetcher.js.map +1 -1
- package/bundle-emitter/registry/publish-settings-bridge.js +3 -34
- package/bundle-emitter/registry/publish-settings-bridge.js.map +1 -1
- package/bundle-emitter/registry/registry-auth-config.js +0 -106
- package/bundle-emitter/registry/registry-auth-config.js.map +1 -1
- package/bundle-emitter/registry/registry-client.d.ts +1 -13
- package/bundle-emitter/registry/registry-client.d.ts.map +1 -1
- package/bundle-emitter/registry/registry-client.js +4 -71
- package/bundle-emitter/registry/registry-client.js.map +1 -1
- package/bundle-emitter/registry/registry-package-path.js +0 -3
- package/bundle-emitter/registry/registry-package-path.js.map +1 -1
- package/bundle-emitter/registry/registry-response-schemas.js +2 -50
- package/bundle-emitter/registry/registry-response-schemas.js.map +1 -1
- package/bundle-emitter/registry/tarball-integrity.d.ts +0 -1
- package/bundle-emitter/registry/tarball-integrity.d.ts.map +1 -1
- package/bundle-emitter/registry/tarball-integrity.js +1 -31
- package/bundle-emitter/registry/tarball-integrity.js.map +1 -1
- package/bundle-emitter/registry/validate-tarball-host.js +1 -26
- package/bundle-emitter/registry/validate-tarball-host.js.map +1 -1
- package/bundle-emitter/release-artifact-canonicalizer.js +5 -31
- package/bundle-emitter/release-artifact-canonicalizer.js.map +1 -1
- package/checks/check-runner.js +0 -8
- package/checks/check-runner.js.map +1 -1
- package/checks/rule.js +2 -12
- package/checks/rule.js.map +1 -1
- package/checks/rules/duplicate-detection.js +1 -23
- package/checks/rules/duplicate-detection.js.map +1 -1
- package/checks/rules/duplicate-messages.js +0 -22
- package/checks/rules/duplicate-messages.js.map +1 -1
- package/checks/rules/file-ownership.js +0 -15
- package/checks/rules/file-ownership.js.map +1 -1
- package/checks/rules/max-bundle-size.js +1 -55
- package/checks/rules/max-bundle-size.js.map +1 -1
- package/checks/rules/no-dev-dependency-imports.js +1 -51
- package/checks/rules/no-dev-dependency-imports.js.map +1 -1
- package/checks/rules/no-duplicated-files.js +3 -53
- package/checks/rules/no-duplicated-files.js.map +1 -1
- package/checks/rules/no-side-effects.js +1 -50
- package/checks/rules/no-side-effects.js.map +1 -1
- package/checks/rules/no-unexposed-executables.js +2 -43
- package/checks/rules/no-unexposed-executables.js.map +1 -1
- package/checks/rules/no-unused-bundle-dependencies.js +2 -30
- package/checks/rules/no-unused-bundle-dependencies.js.map +1 -1
- package/checks/rules/registry.js +9 -22
- package/checks/rules/registry.js.map +1 -1
- package/checks/rules/required-files.js +3 -41
- package/checks/rules/required-files.js.map +1 -1
- package/checks/rules/type-script-declaration-integrity.js +3 -81
- package/checks/rules/type-script-declaration-integrity.js.map +1 -1
- package/checks/rules/type-script-declaration-paths.js +1 -55
- package/checks/rules/type-script-declaration-paths.js.map +1 -1
- package/checks/rules/type-script-declaration-project.js +3 -202
- package/checks/rules/type-script-declaration-project.js.map +1 -1
- package/checks/rules/type-script-declaration-reachability.js +2 -38
- package/checks/rules/type-script-declaration-reachability.js.map +1 -1
- package/checks/rules/type-script-declaration-roots.js +0 -29
- package/checks/rules/type-script-declaration-roots.js.map +1 -1
- package/checks/rules/type-script-integrity.js +2 -72
- package/checks/rules/type-script-integrity.js.map +1 -1
- package/checks/rules/type-script-package-resolution.js +1 -42
- package/checks/rules/type-script-package-resolution.js.map +1 -1
- package/checks/rules/type-script-resolution-summary.js +0 -53
- package/checks/rules/type-script-resolution-summary.js.map +1 -1
- package/checks/rules/unique-target-paths.js +2 -34
- package/checks/rules/unique-target-paths.js.map +1 -1
- package/common/bundled-dependency-groups.js +0 -27
- package/common/bundled-dependency-groups.js.map +1 -1
- package/common/code-files.js +0 -28
- package/common/code-files.js.map +1 -1
- package/common/declaration-companion-paths.js +0 -24
- package/common/declaration-companion-paths.js.map +1 -1
- package/common/package-name-map.js +0 -7
- package/common/package-name-map.js.map +1 -1
- package/common/stable-json.js +2 -42
- package/common/stable-json.js.map +1 -1
- package/common/worklist.js +0 -22
- package/common/worklist.js.map +1 -1
- package/config/additional-files.js +2 -6
- package/config/additional-files.js.map +1 -1
- package/config/additional-package-json-attributes-schema.js +2 -6
- package/config/additional-package-json-attributes-schema.js.map +1 -1
- package/config/automatic-versioning-settings.js +2 -6
- package/config/automatic-versioning-settings.js.map +1 -1
- package/config/changelog-settings.d.ts +0 -44
- package/config/changelog-settings.d.ts.map +1 -1
- package/config/changelog-settings.js +3 -120
- package/config/changelog-settings.js.map +1 -1
- package/config/common-package-settings-schemas.js +3 -19
- package/config/common-package-settings-schemas.js.map +1 -1
- package/config/config.d.ts +1 -6
- package/config/config.d.ts.map +1 -1
- package/config/config.js +1 -3
- package/config/config.js.map +1 -1
- package/config/cross-package-validation.js +0 -17
- package/config/cross-package-validation.js.map +1 -1
- package/config/dead-code-elimination-settings.d.ts +0 -1
- package/config/dead-code-elimination-settings.d.ts.map +1 -1
- package/config/dead-code-elimination-settings.js +2 -36
- package/config/dead-code-elimination-settings.js.map +1 -1
- package/config/dependency-existence-validation.js +1 -19
- package/config/dependency-existence-validation.js.map +1 -1
- package/config/dependency-policy.js +2 -5
- package/config/dependency-policy.js.map +1 -1
- package/config/main-package-json-schema.js +2 -13
- package/config/main-package-json-schema.js.map +1 -1
- package/config/manual-versioning-settings.d.ts +0 -12
- package/config/manual-versioning-settings.d.ts.map +1 -1
- package/config/manual-versioning-settings.js +2 -29
- package/config/manual-versioning-settings.js.map +1 -1
- package/config/optional-package-settings-schema.js +7 -16
- package/config/optional-package-settings-schema.js.map +1 -1
- package/config/package-config.d.ts +0 -4
- package/config/package-config.d.ts.map +1 -1
- package/config/package-config.js +1 -2
- package/config/package-config.js.map +1 -1
- package/config/package-graph-builder.js +2 -14
- package/config/package-graph-builder.js.map +1 -1
- package/config/package-interface.js +2 -25
- package/config/package-interface.js.map +1 -1
- package/config/package-json.d.ts +0 -2
- package/config/package-json.d.ts.map +1 -1
- package/config/package-json.js +0 -16
- package/config/package-json.js.map +1 -1
- package/config/packtory-config-without-registry-schema.js +0 -6
- package/config/packtory-config-without-registry-schema.js.map +1 -1
- package/config/per-package-settings-schema.js +6 -22
- package/config/per-package-settings-schema.js.map +1 -1
- package/config/pre-graph-validation.js +5 -20
- package/config/pre-graph-validation.js.map +1 -1
- package/config/publish-settings.d.ts +0 -3
- package/config/publish-settings.d.ts.map +1 -1
- package/config/publish-settings.js +3 -25
- package/config/publish-settings.js.map +1 -1
- package/config/publish-settings.report.js +1 -17
- package/config/publish-settings.report.js.map +1 -1
- package/config/registry-settings.d.ts +0 -41
- package/config/registry-settings.d.ts.map +1 -1
- package/config/registry-settings.js +2 -40
- package/config/registry-settings.js.map +1 -1
- package/config/registry-settings.report.js +0 -46
- package/config/registry-settings.report.js.map +1 -1
- package/config/root-config-validation.js +0 -141
- package/config/root-config-validation.js.map +1 -1
- package/config/root.js +2 -6
- package/config/root.js.map +1 -1
- package/config/sbom-settings.js +1 -4
- package/config/sbom-settings.js.map +1 -1
- package/config/settings-validation.js +0 -28
- package/config/settings-validation.js.map +1 -1
- package/config/versioning-settings.d.ts +1 -18
- package/config/versioning-settings.d.ts.map +1 -1
- package/config/versioning-settings.js +3 -10
- package/config/versioning-settings.js.map +1 -1
- package/dead-code-eliminator/analyzed-bundle.d.ts +0 -11
- package/dead-code-eliminator/analyzed-bundle.d.ts.map +1 -1
- package/dead-code-eliminator/analyzed-bundle.js +0 -7
- package/dead-code-eliminator/analyzed-bundle.js.map +1 -1
- package/dead-code-eliminator/class-purity.js +2 -48
- package/dead-code-eliminator/class-purity.js.map +1 -1
- package/dead-code-eliminator/code-file-analyzer.js +4 -62
- package/dead-code-eliminator/code-file-analyzer.js.map +1 -1
- package/dead-code-eliminator/cross-bundle/bundle-index.js +1 -27
- package/dead-code-eliminator/cross-bundle/bundle-index.js.map +1 -1
- package/dead-code-eliminator/cross-bundle/cross-bundle-seeds.js +3 -18
- package/dead-code-eliminator/cross-bundle/cross-bundle-seeds.js.map +1 -1
- package/dead-code-eliminator/cross-bundle/import-export-walker.js +4 -75
- package/dead-code-eliminator/cross-bundle/import-export-walker.js.map +1 -1
- package/dead-code-eliminator/cross-bundle/seed-store.js +1 -22
- package/dead-code-eliminator/cross-bundle/seed-store.js.map +1 -1
- package/dead-code-eliminator/dependency-metadata.js +3 -205
- package/dead-code-eliminator/dependency-metadata.js.map +1 -1
- package/dead-code-eliminator/elimination-emitter.js +0 -52
- package/dead-code-eliminator/elimination-emitter.js.map +1 -1
- package/dead-code-eliminator/eliminator.js +8 -64
- package/dead-code-eliminator/eliminator.js.map +1 -1
- package/dead-code-eliminator/expression-unwrapping.js +1 -16
- package/dead-code-eliminator/expression-unwrapping.js.map +1 -1
- package/dead-code-eliminator/imported-expression-origin.js +2 -101
- package/dead-code-eliminator/imported-expression-origin.js.map +1 -1
- package/dead-code-eliminator/liveness/asset-side-effects.js +1 -9
- package/dead-code-eliminator/liveness/asset-side-effects.js.map +1 -1
- package/dead-code-eliminator/liveness/boolean-facts.js +2 -98
- package/dead-code-eliminator/liveness/boolean-facts.js.map +1 -1
- package/dead-code-eliminator/liveness/external-module-resolution.js +2 -172
- package/dead-code-eliminator/liveness/external-module-resolution.js.map +1 -1
- package/dead-code-eliminator/liveness/external-purity-summary.js +3 -294
- package/dead-code-eliminator/liveness/external-purity-summary.js.map +1 -1
- package/dead-code-eliminator/liveness/external-purity.js +3 -39
- package/dead-code-eliminator/liveness/external-purity.js.map +1 -1
- package/dead-code-eliminator/liveness/module-analysis.js +2 -27
- package/dead-code-eliminator/liveness/module-analysis.js.map +1 -1
- package/dead-code-eliminator/liveness/resource-retention.js +1 -78
- package/dead-code-eliminator/liveness/resource-retention.js.map +1 -1
- package/dead-code-eliminator/liveness/runtime-code.js +1 -15
- package/dead-code-eliminator/liveness/runtime-code.js.map +1 -1
- package/dead-code-eliminator/load-bundle.js +5 -70
- package/dead-code-eliminator/load-bundle.js.map +1 -1
- package/dead-code-eliminator/pure-expression.js +5 -178
- package/dead-code-eliminator/pure-expression.js.map +1 -1
- package/dead-code-eliminator/reachability/bfs-closure.js +0 -50
- package/dead-code-eliminator/reachability/bfs-closure.js.map +1 -1
- package/dead-code-eliminator/reachability/binding-extractor.js +2 -100
- package/dead-code-eliminator/reachability/binding-extractor.js.map +1 -1
- package/dead-code-eliminator/reachability/binding-id.js +0 -32
- package/dead-code-eliminator/reachability/binding-id.js.map +1 -1
- package/dead-code-eliminator/reachability/identifier-target-collector.js +1 -39
- package/dead-code-eliminator/reachability/identifier-target-collector.js.map +1 -1
- package/dead-code-eliminator/reachability/impure-statements.js +2 -11
- package/dead-code-eliminator/reachability/impure-statements.js.map +1 -1
- package/dead-code-eliminator/reachability/local-seed-gathering.js +4 -43
- package/dead-code-eliminator/reachability/local-seed-gathering.js.map +1 -1
- package/dead-code-eliminator/reachability/reachability.js +4 -38
- package/dead-code-eliminator/reachability/reachability.js.map +1 -1
- package/dead-code-eliminator/side-effect-classifier.js +4 -39
- package/dead-code-eliminator/side-effect-classifier.js.map +1 -1
- package/dead-code-eliminator/side-effects-field.js +1 -23
- package/dead-code-eliminator/side-effects-field.js.map +1 -1
- package/dead-code-eliminator/source-map-recomposition.js +2 -29
- package/dead-code-eliminator/source-map-recomposition.js.map +1 -1
- package/dead-code-eliminator/statement-classifiers.js +4 -94
- package/dead-code-eliminator/statement-classifiers.js.map +1 -1
- package/dead-code-eliminator/syntax-kind-sets.js +0 -16
- package/dead-code-eliminator/syntax-kind-sets.js.map +1 -1
- package/dead-code-eliminator/transform/atom-translator.d.ts +0 -8
- package/dead-code-eliminator/transform/atom-translator.d.ts.map +1 -1
- package/dead-code-eliminator/transform/atom-translator.js +2 -57
- package/dead-code-eliminator/transform/atom-translator.js.map +1 -1
- package/dead-code-eliminator/transform/declaration-removal.js +4 -135
- package/dead-code-eliminator/transform/declaration-removal.js.map +1 -1
- package/dead-code-eliminator/transform/declaration-remover.js +2 -17
- package/dead-code-eliminator/transform/declaration-remover.js.map +1 -1
- package/dead-code-eliminator/transform/line-index.d.ts +0 -7
- package/dead-code-eliminator/transform/line-index.d.ts.map +1 -1
- package/dead-code-eliminator/transform/line-index.js +0 -20
- package/dead-code-eliminator/transform/line-index.js.map +1 -1
- package/dead-code-eliminator/transform/named-declaration-kinds.js +0 -3
- package/dead-code-eliminator/transform/named-declaration-kinds.js.map +1 -1
- package/dead-code-eliminator/transform/source-map-composer.js +3 -84
- package/dead-code-eliminator/transform/source-map-composer.js.map +1 -1
- package/dead-code-eliminator/variable-declaration-bindings.js +1 -25
- package/dead-code-eliminator/variable-declaration-bindings.js.map +1 -1
- package/dependency-scanner/dependency-graph.js +3 -74
- package/dependency-scanner/dependency-graph.js.map +1 -1
- package/dependency-scanner/external-dependencies.d.ts +0 -9
- package/dependency-scanner/external-dependencies.d.ts.map +1 -1
- package/dependency-scanner/external-dependencies.js +1 -55
- package/dependency-scanner/external-dependencies.js.map +1 -1
- package/dependency-scanner/file-host-predicates.js +0 -9
- package/dependency-scanner/file-host-predicates.js.map +1 -1
- package/dependency-scanner/host-method-binding.js +0 -18
- package/dependency-scanner/host-method-binding.js.map +1 -1
- package/dependency-scanner/injected-dynamic-imports.js +1 -232
- package/dependency-scanner/injected-dynamic-imports.js.map +1 -1
- package/dependency-scanner/node-modules-manifest-synthesizer.js +4 -52
- package/dependency-scanner/node-modules-manifest-synthesizer.js.map +1 -1
- package/dependency-scanner/package-owned-asset-file-path.js +1 -9
- package/dependency-scanner/package-owned-asset-file-path.js.map +1 -1
- package/dependency-scanner/scanner.js +4 -102
- package/dependency-scanner/scanner.js.map +1 -1
- package/dependency-scanner/source-file-references.js +6 -174
- package/dependency-scanner/source-file-references.js.map +1 -1
- package/dependency-scanner/source-map-file-locator.js +2 -66
- package/dependency-scanner/source-map-file-locator.js.map +1 -1
- package/dependency-scanner/typescript-compiler-options.js +1 -21
- package/dependency-scanner/typescript-compiler-options.js.map +1 -1
- package/dependency-scanner/typescript-file-host.js +5 -49
- package/dependency-scanner/typescript-file-host.js.map +1 -1
- package/dependency-scanner/typescript-project-analyzer.js +3 -35
- package/dependency-scanner/typescript-project-analyzer.js.map +1 -1
- package/dependency-scanner/virtual-package-json-host.js +4 -45
- package/dependency-scanner/virtual-package-json-host.js.map +1 -1
- package/directed-graph/graph.d.ts +0 -1
- package/directed-graph/graph.d.ts.map +1 -1
- package/directed-graph/graph.js +1 -240
- package/directed-graph/graph.js.map +1 -1
- package/file-manager/compare.js +2 -23
- package/file-manager/compare.js.map +1 -1
- package/file-manager/equal.js +0 -5
- package/file-manager/equal.js.map +1 -1
- package/file-manager/file-description.d.ts +0 -1
- package/file-manager/file-description.d.ts.map +1 -1
- package/file-manager/file-description.js +0 -3
- package/file-manager/file-description.js.map +1 -1
- package/file-manager/permissions.js +1 -28
- package/file-manager/permissions.js.map +1 -1
- package/git/current-git-head.js +0 -24
- package/git/current-git-head.js.map +1 -1
- package/git/git-command.js +1 -49
- package/git/git-command.js.map +1 -1
- package/linker/linked-bundle.d.ts +0 -8
- package/linker/linked-bundle.d.ts.map +1 -1
- package/linker/linked-bundle.js +0 -5
- package/linker/linked-bundle.js.map +1 -1
- package/linker/linker.js +5 -51
- package/linker/linker.js.map +1 -1
- package/linker/replacement-lookup.js +8 -253
- package/linker/replacement-lookup.js.map +1 -1
- package/linker/resource-graph.js +2 -44
- package/linker/resource-graph.js.map +1 -1
- package/linker/source-modifier/import-paths.js +3 -76
- package/linker/source-modifier/import-paths.js.map +1 -1
- package/linker/substitute-bundles.js +3 -140
- package/linker/substitute-bundles.js.map +1 -1
- package/linker/substituted-resource-graph.js +2 -99
- package/linker/substituted-resource-graph.js.map +1 -1
- package/npm-oidc-id-token-resolver.js +0 -82
- package/npm-oidc-id-token-resolver.js.map +1 -1
- package/pack-emitter/pack-emitter.d.ts +0 -20
- package/pack-emitter/pack-emitter.d.ts.map +1 -1
- package/pack-emitter/pack-emitter.js +0 -27
- package/pack-emitter/pack-emitter.js.map +1 -1
- package/package-surface/bin-field.js +2 -8
- package/package-surface/bin-field.js.map +1 -1
- package/package-surface/explicit-bin.js +2 -24
- package/package-surface/explicit-bin.js.map +1 -1
- package/package-surface/explicit-exports.js +3 -26
- package/package-surface/explicit-exports.js.map +1 -1
- package/package-surface/export-map.js +2 -9
- package/package-surface/export-map.js.map +1 -1
- package/package-surface/implicit-bin.js +1 -25
- package/package-surface/implicit-bin.js.map +1 -1
- package/package-surface/implicit-exports.js +3 -10
- package/package-surface/implicit-exports.js.map +1 -1
- package/package-surface/implicit-root-exports.js +2 -13
- package/package-surface/implicit-root-exports.js.map +1 -1
- package/package-surface/package-json-export.js +0 -9
- package/package-surface/package-json-export.js.map +1 -1
- package/package-surface/package-shape.js +1 -10
- package/package-surface/package-shape.js.map +1 -1
- package/package-surface/package-surface-index.js +3 -165
- package/package-surface/package-surface-index.js.map +1 -1
- package/package-surface/public-module-usage.js +3 -46
- package/package-surface/public-module-usage.js.map +1 -1
- package/package-surface/public-specifiers.js +1 -7
- package/package-surface/public-specifiers.js.map +1 -1
- package/package-surface/root-registry.js +0 -26
- package/package-surface/root-registry.js.map +1 -1
- package/package-surface/specifier-syntax.js +0 -4
- package/package-surface/specifier-syntax.js.map +1 -1
- package/package-surface/substitution-exports.js +3 -101
- package/package-surface/substitution-exports.js.map +1 -1
- package/package-surface/surface.d.ts +0 -2
- package/package-surface/surface.d.ts.map +1 -1
- package/package-surface/surface.js +0 -12
- package/package-surface/surface.js.map +1 -1
- package/package.json +2 -2
- package/packages/package-processor.composition.d.ts +0 -22
- package/packages/package-processor.composition.d.ts.map +1 -1
- package/packages/package-processor.composition.js +34 -160
- package/packages/package-processor.composition.js.map +1 -1
- package/packtory/map-config.d.ts +3 -22
- package/packtory/map-config.d.ts.map +1 -1
- package/packtory/map-config.js +4 -35
- package/packtory/map-config.js.map +1 -1
- package/packtory/normalize-paths.js +1 -25
- package/packtory/normalize-paths.js.map +1 -1
- package/packtory/options/bundle-dependency-resolution.js +1 -17
- package/packtory/options/bundle-dependency-resolution.js.map +1 -1
- package/packtory/options/dead-code-elimination-resolution.js +1 -10
- package/packtory/options/dead-code-elimination-resolution.js.map +1 -1
- package/packtory/options/prepare-package-options.d.ts +0 -14
- package/packtory/options/prepare-package-options.d.ts.map +1 -1
- package/packtory/options/prepare-package-options.js +5 -46
- package/packtory/options/prepare-package-options.js.map +1 -1
- package/packtory/options/required-value-helpers.js +0 -17
- package/packtory/options/required-value-helpers.js.map +1 -1
- package/packtory/options/setting-resolvers.d.ts +0 -18
- package/packtory/options/setting-resolvers.d.ts.map +1 -1
- package/packtory/options/setting-resolvers.js +3 -47
- package/packtory/options/setting-resolvers.js.map +1 -1
- package/packtory/options/surface-resolution.js +2 -15
- package/packtory/options/surface-resolution.js.map +1 -1
- package/packtory/options/version-provider-context.js +2 -24
- package/packtory/options/version-provider-context.js.map +1 -1
- package/packtory/options/version-trigger.js +2 -39
- package/packtory/options/version-trigger.js.map +1 -1
- package/packtory/pack-output-preflight.js +3 -60
- package/packtory/pack-output-preflight.js.map +1 -1
- package/packtory/package-processor-build.js +3 -97
- package/packtory/package-processor-build.js.map +1 -1
- package/packtory/package-processor-publish.d.ts +0 -13
- package/packtory/package-processor-publish.d.ts.map +1 -1
- package/packtory/package-processor-publish.js +5 -293
- package/packtory/package-processor-publish.js.map +1 -1
- package/packtory/package-processor.d.ts +1 -34
- package/packtory/package-processor.d.ts.map +1 -1
- package/packtory/package-processor.js +2 -10
- package/packtory/package-processor.js.map +1 -1
- package/packtory/packtory-pack.js +10 -298
- package/packtory/packtory-pack.js.map +1 -1
- package/packtory/packtory-package-dependencies.js +7 -135
- package/packtory/packtory-package-dependencies.js.map +1 -1
- package/packtory/packtory-package-tree.js +4 -43
- package/packtory/packtory-package-tree.js.map +1 -1
- package/packtory/packtory-publish.js +4 -17
- package/packtory/packtory-publish.js.map +1 -1
- package/packtory/packtory-release-analysis.js +6 -64
- package/packtory/packtory-release-analysis.js.map +1 -1
- package/packtory/packtory-release-diff.js +5 -48
- package/packtory/packtory-release-diff.js.map +1 -1
- package/packtory/packtory-release-plan.js +6 -87
- package/packtory/packtory-release-plan.js.map +1 -1
- package/packtory/packtory-resolve.js +5 -16
- package/packtory/packtory-resolve.js.map +1 -1
- package/packtory/packtory.d.ts +1 -28
- package/packtory/packtory.d.ts.map +1 -1
- package/packtory/packtory.js +12 -225
- package/packtory/packtory.js.map +1 -1
- package/packtory/publish-failure-mapping.js +0 -6
- package/packtory/publish-failure-mapping.js.map +1 -1
- package/packtory/published-release-state.d.ts +0 -19
- package/packtory/published-release-state.d.ts.map +1 -1
- package/packtory/published-release-state.js +0 -11
- package/packtory/published-release-state.js.map +1 -1
- package/packtory/release-analysis.js +5 -153
- package/packtory/release-analysis.js.map +1 -1
- package/packtory/release-diff-failure-mapping.js +0 -6
- package/packtory/release-diff-failure-mapping.js.map +1 -1
- package/packtory/release-plan.js +7 -135
- package/packtory/release-plan.js.map +1 -1
- package/packtory/report-attachment.js +2 -35
- package/packtory/report-attachment.js.map +1 -1
- package/packtory/resolved-package.d.ts +0 -11
- package/packtory/resolved-package.d.ts.map +1 -1
- package/packtory/resolved-package.js +3 -97
- package/packtory/resolved-package.js.map +1 -1
- package/packtory/scheduler.d.ts +0 -47
- package/packtory/scheduler.d.ts.map +1 -1
- package/packtory/scheduler.js +1 -99
- package/packtory/scheduler.js.map +1 -1
- package/packtory/stages/package-analysis-stage.js +2 -50
- package/packtory/stages/package-analysis-stage.js.map +1 -1
- package/packtory/stages/package-resolution-stage.js +5 -77
- package/packtory/stages/package-resolution-stage.js.map +1 -1
- package/packtory/stages/publish-stage.js +3 -54
- package/packtory/stages/publish-stage.js.map +1 -1
- package/packtory/stages/release-diff-stage.js +5 -84
- package/packtory/stages/release-diff-stage.js.map +1 -1
- package/progress/progress-broadcaster.d.ts +0 -1
- package/progress/progress-broadcaster.d.ts.map +1 -1
- package/progress/progress-broadcaster.js +0 -45
- package/progress/progress-broadcaster.js.map +1 -1
- package/published-package/published-package.d.ts +0 -2
- package/published-package/published-package.d.ts.map +1 -1
- package/published-package/published-package.js +1 -12
- package/published-package/published-package.js.map +1 -1
- package/report/aggregator/artifact-entry-merger.js +0 -20
- package/report/aggregator/artifact-entry-merger.js.map +1 -1
- package/report/aggregator/package-report-materialization.js +2 -75
- package/report/aggregator/package-report-materialization.js.map +1 -1
- package/report/aggregator/report-aggregator.js +2 -37
- package/report/aggregator/report-aggregator.js.map +1 -1
- package/report/aggregator/report-event-handlers.js +2 -141
- package/report/aggregator/report-event-handlers.js.map +1 -1
- package/report/aggregator/report-types.d.ts +0 -21
- package/report/aggregator/report-types.d.ts.map +1 -1
- package/report/aggregator/report-types.js +0 -3
- package/report/aggregator/report-types.js.map +1 -1
- package/report/config-redactor.js +3 -29
- package/report/config-redactor.js.map +1 -1
- package/report/decorators.js +0 -76
- package/report/decorators.js.map +1 -1
- package/report/inspectors/inspect-artifact-sizes.js +1 -34
- package/report/inspectors/inspect-artifact-sizes.js.map +1 -1
- package/report/inspectors/inspect-linker-rewrites.js +1 -14
- package/report/inspectors/inspect-linker-rewrites.js.map +1 -1
- package/report/inspectors/inspect-package-json-provenance.js +0 -15
- package/report/inspectors/inspect-package-json-provenance.js.map +1 -1
- package/report/inspectors/inspect-scan-results.js +0 -15
- package/report/inspectors/inspect-scan-results.js.map +1 -1
- package/report/release-diff/release-version-transition.js +0 -18
- package/report/release-diff/release-version-transition.js.map +1 -1
- package/resource-resolver/bundle-resource-lookup.js +0 -25
- package/resource-resolver/bundle-resource-lookup.js.map +1 -1
- package/resource-resolver/content.js +3 -81
- package/resource-resolver/content.js.map +1 -1
- package/resource-resolver/dependency-resolution-walker.js +2 -73
- package/resource-resolver/dependency-resolution-walker.js.map +1 -1
- package/resource-resolver/resolved-bundle.d.ts +0 -17
- package/resource-resolver/resolved-bundle.d.ts.map +1 -1
- package/resource-resolver/resolved-bundle.js +0 -3
- package/resource-resolver/resolved-bundle.js.map +1 -1
- package/resource-resolver/resource-resolve-options.d.ts +0 -5
- package/resource-resolver/resource-resolve-options.d.ts.map +1 -1
- package/resource-resolver/resource-resolve-options.js +1 -13
- package/resource-resolver/resource-resolve-options.js.map +1 -1
- package/resource-resolver/resource-resolver.js +5 -83
- package/resource-resolver/resource-resolver.js.map +1 -1
- package/sbom/extract-license.js +1 -11
- package/sbom/extract-license.js.map +1 -1
- package/sbom/license-resolver.js +2 -23
- package/sbom/license-resolver.js.map +1 -1
- package/sbom/sbom-builder.js +2 -57
- package/sbom/sbom-builder.js.map +1 -1
- package/sbom/sbom-canonicalizer.js +3 -45
- package/sbom/sbom-canonicalizer.js.map +1 -1
- package/sbom/sbom-file.d.ts +0 -10
- package/sbom/sbom-file.d.ts.map +1 -1
- package/sbom/sbom-file.js +5 -54
- package/sbom/sbom-file.js.map +1 -1
- package/sbom/sbom-serializer.js +1 -14
- package/sbom/sbom-serializer.js.map +1 -1
- package/sbom/tool-version.js +1 -49
- package/sbom/tool-version.js.map +1 -1
- package/sbom.cdx.json +10 -10
- package/tar/extract-tar.js +3 -83
- package/tar/extract-tar.js.map +1 -1
- package/tar/gzipped-pack.js +0 -20
- package/tar/gzipped-pack.js.map +1 -1
- package/tar/tarball-builder.js +4 -44
- package/tar/tarball-builder.js.map +1 -1
- package/vendor-materializer/vendor-entry.js +1 -20
- package/vendor-materializer/vendor-entry.js.map +1 -1
- package/vendor-materializer/vendor-materializer.js +8 -240
- package/vendor-materializer/vendor-materializer.js.map +1 -1
- package/version-manager/dependencies/bundle-dependency-grouping.js +2 -32
- package/version-manager/dependencies/bundle-dependency-grouping.js.map +1 -1
- package/version-manager/dependencies/dependency-groups.js +1 -11
- package/version-manager/dependencies/dependency-groups.js.map +1 -1
- package/version-manager/dependencies/external-dependency-classification.js +3 -82
- package/version-manager/dependencies/external-dependency-classification.js.map +1 -1
- package/version-manager/dependencies/versioned-bundle-dependencies.js +3 -8
- package/version-manager/dependencies/versioned-bundle-dependencies.js.map +1 -1
- package/version-manager/imports/hash-import-scanner.js +2 -20
- package/version-manager/imports/hash-import-scanner.js.map +1 -1
- package/version-manager/imports/imports-key-matcher.js +0 -22
- package/version-manager/imports/imports-key-matcher.js.map +1 -1
- package/version-manager/imports/versioned-bundle-imports.js +2 -44
- package/version-manager/imports/versioned-bundle-imports.js.map +1 -1
- package/version-manager/manager.d.ts +0 -5
- package/version-manager/manager.d.ts.map +1 -1
- package/version-manager/manager.js +6 -46
- package/version-manager/manager.js.map +1 -1
- package/version-manager/manifest/builder.js +1 -51
- package/version-manager/manifest/builder.js.map +1 -1
- package/version-manager/manifest/serialize.js +1 -8
- package/version-manager/manifest/serialize.js.map +1 -1
- package/version-manager/optional-bundle-fields.js +1 -5
- package/version-manager/optional-bundle-fields.js.map +1 -1
- package/version-manager/representative-root.js +1 -9
- package/version-manager/representative-root.js.map +1 -1
- package/version-manager/specifier-classifier.js +2 -42
- package/version-manager/specifier-classifier.js.map +1 -1
- package/version-manager/specifier-errors.js +0 -58
- package/version-manager/specifier-errors.js.map +1 -1
- package/version-manager/versioned-bundle.d.ts +1 -3
- package/version-manager/versioned-bundle.d.ts.map +1 -1
- package/version-manager/versioned-bundle.js +6 -31
- package/version-manager/versioned-bundle.js.map +1 -1
- package/zip/zip-builder.js +2 -81
- package/zip/zip-builder.js.map +1 -1
- package/artifacts/artifacts-builder.d.ts +0 -28
- package/artifacts/artifacts-builder.d.ts.map +0 -1
- package/bundle-emitter/registry/registry-auth-config.d.ts +0 -17
- package/bundle-emitter/registry/registry-auth-config.d.ts.map +0 -1
- package/checks/check-runner.d.ts +0 -18
- package/checks/check-runner.d.ts.map +0 -1
- package/checks/rule.d.ts +0 -42
- package/checks/rule.d.ts.map +0 -1
- package/checks/rules/max-bundle-size.d.ts +0 -13
- package/checks/rules/max-bundle-size.d.ts.map +0 -1
- package/checks/rules/no-dev-dependency-imports.d.ts +0 -11
- package/checks/rules/no-dev-dependency-imports.d.ts.map +0 -1
- package/checks/rules/no-duplicated-files.d.ts +0 -11
- package/checks/rules/no-duplicated-files.d.ts.map +0 -1
- package/checks/rules/no-side-effects.d.ts +0 -15
- package/checks/rules/no-side-effects.d.ts.map +0 -1
- package/checks/rules/no-unexposed-executables.d.ts +0 -8
- package/checks/rules/no-unexposed-executables.d.ts.map +0 -1
- package/checks/rules/no-unused-bundle-dependencies.d.ts +0 -8
- package/checks/rules/no-unused-bundle-dependencies.d.ts.map +0 -1
- package/checks/rules/registry.d.ts +0 -23
- package/checks/rules/registry.d.ts.map +0 -1
- package/checks/rules/required-files.d.ts +0 -15
- package/checks/rules/required-files.d.ts.map +0 -1
- package/checks/rules/type-script-declaration-integrity.d.ts +0 -9
- package/checks/rules/type-script-declaration-integrity.d.ts.map +0 -1
- package/checks/rules/type-script-declaration-project.d.ts +0 -29
- package/checks/rules/type-script-declaration-project.d.ts.map +0 -1
- package/checks/rules/type-script-integrity.d.ts +0 -24
- package/checks/rules/type-script-integrity.d.ts.map +0 -1
- package/checks/rules/type-script-package-resolution.d.ts +0 -29
- package/checks/rules/type-script-package-resolution.d.ts.map +0 -1
- package/checks/rules/unique-target-paths.d.ts +0 -8
- package/checks/rules/unique-target-paths.d.ts.map +0 -1
- package/dependency-scanner/dependency-graph.d.ts +0 -38
- package/dependency-scanner/dependency-graph.d.ts.map +0 -1
- package/dependency-scanner/scanner.d.ts +0 -20
- package/dependency-scanner/scanner.d.ts.map +0 -1
- package/dependency-scanner/source-file-references.d.ts +0 -30
- package/dependency-scanner/source-file-references.d.ts.map +0 -1
- package/dependency-scanner/source-map-file-locator.d.ts +0 -10
- package/dependency-scanner/source-map-file-locator.d.ts.map +0 -1
- package/dependency-scanner/typescript-compiler-options.d.ts +0 -8
- package/dependency-scanner/typescript-compiler-options.d.ts.map +0 -1
- package/dependency-scanner/typescript-file-host.d.ts +0 -12
- package/dependency-scanner/typescript-file-host.d.ts.map +0 -1
- package/dependency-scanner/typescript-project-analyzer.d.ts +0 -19
- package/dependency-scanner/typescript-project-analyzer.d.ts.map +0 -1
- package/git/current-git-head.d.ts +0 -12
- package/git/current-git-head.d.ts.map +0 -1
- package/linker/linker.d.ts +0 -13
- package/linker/linker.d.ts.map +0 -1
- package/resource-resolver/resource-resolver.d.ts +0 -15
- package/resource-resolver/resource-resolver.d.ts.map +0 -1
- package/sbom/license-resolver.d.ts +0 -14
- package/sbom/license-resolver.d.ts.map +0 -1
- package/sbom/sbom-serializer.d.ts +0 -8
- package/sbom/sbom-serializer.d.ts.map +0 -1
- package/tar/tarball-builder.d.ts +0 -14
- package/tar/tarball-builder.d.ts.map +0 -1
- package/vendor-materializer/vendor-entry.d.ts +0 -12
- package/vendor-materializer/vendor-entry.d.ts.map +0 -1
- package/vendor-materializer/vendor-materializer.d.ts +0 -55
- package/vendor-materializer/vendor-materializer.d.ts.map +0 -1
- package/zip/zip-builder.d.ts +0 -22
- package/zip/zip-builder.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"no-side-effects.d.ts","sourceRoot":"","sources":["../../../../../source/checks/rules/no-side-effects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,EAGH,KAAK,mBAAmB,EAE3B,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,QAAQ,kBAAkB,CAAC;AAEjC,QAAA,MAAM,YAAY;;;kBAA4B,CAAC;AAC/C,QAAA,MAAM,gBAAgB;;kBAAgC,CAAC;AAEvD,KAAK,YAAY,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC;AAC3D,KAAK,gBAAgB,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC;AA8DnE,eAAO,MAAM,iBAAiB,EAAE,mBAAmB,CAAC,OAAO,QAAQ,EAAE,YAAY,EAAE,gBAAgB,CAKlG,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { z } from 'zod/mini';
|
|
2
|
-
import { emptyPerPackageSchema, enabledOnlyGlobalSchema, type CheckRuleDefinition } from '../rule.ts';
|
|
3
|
-
declare const ruleName = "noUnexposedExecutables";
|
|
4
|
-
type GlobalConfig = Readonly<z.infer<typeof enabledOnlyGlobalSchema>>;
|
|
5
|
-
type PerPackageConfig = Readonly<z.infer<typeof emptyPerPackageSchema>>;
|
|
6
|
-
export declare const noUnexposedExecutablesRule: CheckRuleDefinition<typeof ruleName, GlobalConfig, PerPackageConfig>;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=no-unexposed-executables.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"no-unexposed-executables.d.ts","sourceRoot":"","sources":["../../../../../source/checks/rules/no-unexposed-executables.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAMlC,OAAO,EACH,qBAAqB,EACrB,uBAAuB,EACvB,KAAK,mBAAmB,EAE3B,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,QAAQ,2BAA2B,CAAC;AAE1C,KAAK,YAAY,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC,CAAC;AACtE,KAAK,gBAAgB,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAAC;AA8CxE,eAAO,MAAM,0BAA0B,EAAE,mBAAmB,CAAC,OAAO,QAAQ,EAAE,YAAY,EAAE,gBAAgB,CAK3G,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { z } from 'zod/mini';
|
|
2
|
-
import { emptyPerPackageSchema, enabledOnlyGlobalSchema, type CheckRuleDefinition } from '../rule.ts';
|
|
3
|
-
declare const ruleName = "noUnusedBundleDependencies";
|
|
4
|
-
type GlobalConfig = Readonly<z.infer<typeof enabledOnlyGlobalSchema>>;
|
|
5
|
-
type PerPackageConfig = Readonly<z.infer<typeof emptyPerPackageSchema>>;
|
|
6
|
-
export declare const noUnusedBundleDependenciesRule: CheckRuleDefinition<typeof ruleName, GlobalConfig, PerPackageConfig>;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=no-unused-bundle-dependencies.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"no-unused-bundle-dependencies.d.ts","sourceRoot":"","sources":["../../../../../source/checks/rules/no-unused-bundle-dependencies.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAGlC,OAAO,EACH,qBAAqB,EACrB,uBAAuB,EACvB,KAAK,mBAAmB,EAG3B,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,QAAQ,+BAA+B,CAAC;AAE9C,KAAK,YAAY,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC,CAAC;AACtE,KAAK,gBAAgB,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAAC;AA8BxE,eAAO,MAAM,8BAA8B,EAAE,mBAAmB,CAAC,OAAO,QAAQ,EAAE,YAAY,EAAE,gBAAgB,CAK/G,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { maxBundleSizeRule } from './max-bundle-size.ts';
|
|
2
|
-
import { noDevDependencyImportsRule } from './no-dev-dependency-imports.ts';
|
|
3
|
-
import { noDuplicatedFilesRule } from './no-duplicated-files.ts';
|
|
4
|
-
import { noSideEffectsRule } from './no-side-effects.ts';
|
|
5
|
-
import { noUnexposedExecutablesRule } from './no-unexposed-executables.ts';
|
|
6
|
-
import { noUnusedBundleDependenciesRule } from './no-unused-bundle-dependencies.ts';
|
|
7
|
-
import { requiredFilesRule } from './required-files.ts';
|
|
8
|
-
import { type TypeScriptIntegrityDependencies, type TypeScriptIntegrityRule } from './type-script-integrity.ts';
|
|
9
|
-
import { uniqueTargetPathsRule } from './unique-target-paths.ts';
|
|
10
|
-
export type CheckRuleDependencies = TypeScriptIntegrityDependencies;
|
|
11
|
-
export type AllCheckRules = readonly [
|
|
12
|
-
TypeScriptIntegrityRule,
|
|
13
|
-
typeof noDuplicatedFilesRule,
|
|
14
|
-
typeof requiredFilesRule,
|
|
15
|
-
typeof maxBundleSizeRule,
|
|
16
|
-
typeof noUnusedBundleDependenciesRule,
|
|
17
|
-
typeof noDevDependencyImportsRule,
|
|
18
|
-
typeof uniqueTargetPathsRule,
|
|
19
|
-
typeof noSideEffectsRule,
|
|
20
|
-
typeof noUnexposedExecutablesRule
|
|
21
|
-
];
|
|
22
|
-
export declare function createAllRules(dependencies: CheckRuleDependencies): AllCheckRules;
|
|
23
|
-
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../../source/checks/rules/registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AACpF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAEH,KAAK,+BAA+B,EACpC,KAAK,uBAAuB,EAC/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAEjE,MAAM,MAAM,qBAAqB,GAAG,+BAA+B,CAAC;AAEpE,MAAM,MAAM,aAAa,GAAG,SAAS;IACjC,uBAAuB;IACvB,OAAO,qBAAqB;IAC5B,OAAO,iBAAiB;IACxB,OAAO,iBAAiB;IACxB,OAAO,8BAA8B;IACrC,OAAO,0BAA0B;IACjC,OAAO,qBAAqB;IAC5B,OAAO,iBAAiB;IACxB,OAAO,0BAA0B;CACpC,CAAC;AAEF,wBAAgB,cAAc,CAAC,YAAY,EAAE,qBAAqB,GAAG,aAAa,CAYjF"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod/mini';
|
|
2
|
-
import type { CheckRuleDefinition } from '../rule.ts';
|
|
3
|
-
declare const ruleName = "requiredFiles";
|
|
4
|
-
declare const globalSchema: z.ZodMiniObject<{
|
|
5
|
-
enabled: z.ZodMiniBoolean<boolean>;
|
|
6
|
-
files: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
7
|
-
}, z.core.$strict>;
|
|
8
|
-
declare const perPackageSchema: z.ZodMiniObject<{
|
|
9
|
-
files: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
10
|
-
}, z.core.$strict>;
|
|
11
|
-
type GlobalConfig = Readonly<z.infer<typeof globalSchema>>;
|
|
12
|
-
type PerPackageConfig = Readonly<z.infer<typeof perPackageSchema>>;
|
|
13
|
-
export declare const requiredFilesRule: CheckRuleDefinition<typeof ruleName, GlobalConfig, PerPackageConfig>;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=required-files.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"required-files.d.ts","sourceRoot":"","sources":["../../../../../source/checks/rules/required-files.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAG7B,OAAO,KAAK,EAAE,mBAAmB,EAAgB,MAAM,YAAY,CAAC;AAEpE,QAAA,MAAM,QAAQ,kBAAkB,CAAC;AAIjC,QAAA,MAAM,YAAY;;;kBAGhB,CAAC;AAEH,QAAA,MAAM,gBAAgB;;kBAEpB,CAAC;AAEH,KAAK,YAAY,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC;AAC3D,KAAK,gBAAgB,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC;AAsCnE,eAAO,MAAM,iBAAiB,EAAE,mBAAmB,CAAC,OAAO,QAAQ,EAAE,YAAY,EAAE,gBAAgB,CAKlG,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { PublishedPackageWithManifest } from '../../published-package/published-package.ts';
|
|
2
|
-
import type { DeclarationProjectsFactory } from './type-script-declaration-project.ts';
|
|
3
|
-
export type DeclarationMode = 'all' | 'exports-graph';
|
|
4
|
-
export type DeclarationIntegritySummarizer = (packageName: string, publishedPackage: Readonly<PublishedPackageWithManifest>, declarationMode: DeclarationMode, resolutionPackages: ReadonlyMap<string, PublishedPackageWithManifest>) => readonly string[];
|
|
5
|
-
export type DeclarationIntegrityDependencies = {
|
|
6
|
-
readonly createDeclarationProjects: DeclarationProjectsFactory;
|
|
7
|
-
};
|
|
8
|
-
export declare function createDeclarationIntegritySummarizer(dependencies: DeclarationIntegrityDependencies): DeclarationIntegritySummarizer;
|
|
9
|
-
//# sourceMappingURL=type-script-declaration-integrity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type-script-declaration-integrity.d.ts","sourceRoot":"","sources":["../../../../../source/checks/rules/type-script-declaration-integrity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAEjG,OAAO,KAAK,EAGR,0BAA0B,EAG7B,MAAM,sCAAsC,CAAC;AAI9C,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,eAAe,CAAC;AAEtD,MAAM,MAAM,8BAA8B,GAAG,CACzC,WAAW,EAAE,MAAM,EACnB,gBAAgB,EAAE,QAAQ,CAAC,4BAA4B,CAAC,EACxD,eAAe,EAAE,eAAe,EAChC,kBAAkB,EAAE,WAAW,CAAC,MAAM,EAAE,4BAA4B,CAAC,KACpE,SAAS,MAAM,EAAE,CAAC;AAEvB,MAAM,MAAM,gCAAgC,GAAG;IAC3C,QAAQ,CAAC,yBAAyB,EAAE,0BAA0B,CAAC;CAClE,CAAC;AA+EF,wBAAgB,oCAAoC,CAChD,YAAY,EAAE,gCAAgC,GAC/C,8BAA8B,CA2BhC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { type FileSystemHost, type Project as TSMorphProject } from 'ts-morph';
|
|
2
|
-
export type PackageFile = {
|
|
3
|
-
readonly filePath: string;
|
|
4
|
-
readonly content: string;
|
|
5
|
-
};
|
|
6
|
-
export type ResolutionPackageFiles = {
|
|
7
|
-
readonly packageName: string;
|
|
8
|
-
readonly packageFiles: readonly PackageFile[];
|
|
9
|
-
};
|
|
10
|
-
export type DeclarationDiagnostic = {
|
|
11
|
-
readonly declarationPath: string;
|
|
12
|
-
readonly line: number;
|
|
13
|
-
readonly code: number;
|
|
14
|
-
readonly message: string;
|
|
15
|
-
};
|
|
16
|
-
export type DeclarationProject = {
|
|
17
|
-
readonly modeLabel: string;
|
|
18
|
-
readonly publicEntrypointPaths: readonly string[];
|
|
19
|
-
readonly moduleSpecifiersOf: (declarationPath: string) => readonly string[];
|
|
20
|
-
readonly listDiagnostics: () => readonly DeclarationDiagnostic[];
|
|
21
|
-
};
|
|
22
|
-
export type DeclarationProjectsFactory = (packageName: string, packageFiles: readonly PackageFile[], resolutionPackages: readonly ResolutionPackageFiles[]) => readonly DeclarationProject[];
|
|
23
|
-
export type DeclarationProjectDependencies = {
|
|
24
|
-
readonly Project: typeof TSMorphProject;
|
|
25
|
-
readonly fileSystemHost: FileSystemHost;
|
|
26
|
-
readonly packageResolutionBaseFolder: string;
|
|
27
|
-
};
|
|
28
|
-
export declare function createDeclarationProjectFactory(dependencies: DeclarationProjectDependencies): DeclarationProjectsFactory;
|
|
29
|
-
//# sourceMappingURL=type-script-declaration-project.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type-script-declaration-project.d.ts","sourceRoot":"","sources":["../../../../../source/checks/rules/type-script-declaration-project.ts"],"names":[],"mappings":"AACA,OAAO,EAOH,KAAK,cAAc,EACnB,KAAK,OAAO,IAAI,cAAc,EAEjC,MAAM,UAAU,CAAC;AAGlB,MAAM,MAAM,WAAW,GAAG;IACtB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACjC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,YAAY,EAAE,SAAS,WAAW,EAAE,CAAC;CACjD,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAChC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC7B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,qBAAqB,EAAE,SAAS,MAAM,EAAE,CAAC;IAClD,QAAQ,CAAC,kBAAkB,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,SAAS,MAAM,EAAE,CAAC;IAC5E,QAAQ,CAAC,eAAe,EAAE,MAAM,SAAS,qBAAqB,EAAE,CAAC;CACpE,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,CACrC,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,SAAS,WAAW,EAAE,EACpC,kBAAkB,EAAE,SAAS,sBAAsB,EAAE,KACpD,SAAS,kBAAkB,EAAE,CAAC;AAEnC,MAAM,MAAM,8BAA8B,GAAG;IACzC,QAAQ,CAAC,OAAO,EAAE,OAAO,cAAc,CAAC;IACxC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IACxC,QAAQ,CAAC,2BAA2B,EAAE,MAAM,CAAC;CAChD,CAAC;AA6LF,wBAAgB,+BAA+B,CAC3C,YAAY,EAAE,8BAA8B,GAC7C,0BAA0B,CAkG5B"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod/mini';
|
|
2
|
-
import type { CheckRuleDefinition } from '../rule.ts';
|
|
3
|
-
import type { DeclarationIntegritySummarizer } from './type-script-declaration-integrity.ts';
|
|
4
|
-
import type { PackageResolutionAnalyzer } from './type-script-package-resolution.ts';
|
|
5
|
-
declare const ruleName = "typeScriptIntegrity";
|
|
6
|
-
declare const globalSchema: z.ZodMiniObject<{
|
|
7
|
-
enabled: z.ZodMiniBoolean<boolean>;
|
|
8
|
-
declarations: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
9
|
-
all: "all";
|
|
10
|
-
"exports-graph": "exports-graph";
|
|
11
|
-
}>>;
|
|
12
|
-
}, z.core.$strict>;
|
|
13
|
-
declare const perPackageSchema: z.ZodMiniObject<{}, z.core.$strict>;
|
|
14
|
-
type GlobalConfig = Readonly<z.infer<typeof globalSchema>>;
|
|
15
|
-
type PerPackageConfig = Readonly<z.infer<typeof perPackageSchema>>;
|
|
16
|
-
export type TypeScriptIntegrityRule = CheckRuleDefinition<typeof ruleName, GlobalConfig, PerPackageConfig>;
|
|
17
|
-
export declare const typeScriptIntegritySchemas: Pick<TypeScriptIntegrityRule, 'globalSchema' | 'perPackageSchema'>;
|
|
18
|
-
export type TypeScriptIntegrityDependencies = {
|
|
19
|
-
readonly analyzePackageResolution: PackageResolutionAnalyzer;
|
|
20
|
-
readonly summarizeDeclarationIntegrity: DeclarationIntegritySummarizer;
|
|
21
|
-
};
|
|
22
|
-
export declare function createTypeScriptIntegrityRule(dependencies: TypeScriptIntegrityDependencies): TypeScriptIntegrityRule;
|
|
23
|
-
export {};
|
|
24
|
-
//# sourceMappingURL=type-script-integrity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type-script-integrity.d.ts","sourceRoot":"","sources":["../../../../../source/checks/rules/type-script-integrity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAE7B,OAAO,KAAK,EAAE,mBAAmB,EAAgB,MAAM,YAAY,CAAC;AACpE,OAAO,KAAK,EAAE,8BAA8B,EAAmB,MAAM,wCAAwC,CAAC;AAC9G,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAGrF,QAAA,MAAM,QAAQ,wBAAwB,CAAC;AAKvC,QAAA,MAAM,YAAY;;;;;;kBAGhB,CAAC;AAEH,QAAA,MAAM,gBAAgB,qCAAqB,CAAC;AAE5C,KAAK,YAAY,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC;AAC3D,KAAK,gBAAgB,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC;AAOnE,MAAM,MAAM,uBAAuB,GAAG,mBAAmB,CAAC,OAAO,QAAQ,EAAE,YAAY,EAAE,gBAAgB,CAAC,CAAC;AAE3G,eAAO,MAAM,0BAA0B,EAAE,IAAI,CAAC,uBAAuB,EAAE,cAAc,GAAG,kBAAkB,CAGzG,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC1C,QAAQ,CAAC,wBAAwB,EAAE,yBAAyB,CAAC;IAC7D,QAAQ,CAAC,6BAA6B,EAAE,8BAA8B,CAAC;CAC1E,CAAC;AAaF,wBAAgB,6BAA6B,CACzC,YAAY,EAAE,+BAA+B,GAC9C,uBAAuB,CA+DzB"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { Analysis, CheckResult, Package as TypesPackage, Problem, ProblemKind, ResolutionKind } from '@arethetypeswrong/core';
|
|
2
|
-
import type { problemKindInfo as ProblemKindInfo } from '@arethetypeswrong/core/problems';
|
|
3
|
-
import type { PublishedPackageWithManifest } from '../../published-package/published-package.ts';
|
|
4
|
-
export type ResolutionProblemReport = {
|
|
5
|
-
readonly kind: ProblemKind;
|
|
6
|
-
readonly shortDescription: string;
|
|
7
|
-
readonly affectedResolutionKinds: readonly ResolutionKind[];
|
|
8
|
-
readonly affectedEntrypoints: readonly string[];
|
|
9
|
-
};
|
|
10
|
-
type AnalyzedResolutionReport = {
|
|
11
|
-
readonly kind: 'analyzed';
|
|
12
|
-
readonly entrypoints: readonly string[];
|
|
13
|
-
readonly problems: readonly ResolutionProblemReport[];
|
|
14
|
-
};
|
|
15
|
-
type MissingDeclarationsReport = {
|
|
16
|
-
readonly kind: 'missing-declarations';
|
|
17
|
-
};
|
|
18
|
-
export type PackageResolutionReport = AnalyzedResolutionReport | MissingDeclarationsReport;
|
|
19
|
-
export type PackageResolutionAnalyzer = (publishedPackage: Readonly<PublishedPackageWithManifest>, resolutionKinds: readonly ResolutionKind[]) => Promise<PackageResolutionReport>;
|
|
20
|
-
export type PackageResolutionDependencies = {
|
|
21
|
-
readonly Package: typeof TypesPackage;
|
|
22
|
-
readonly checkPackage: (typesPackage: TypesPackage) => Promise<CheckResult>;
|
|
23
|
-
readonly problemKindInfo: typeof ProblemKindInfo;
|
|
24
|
-
readonly problemAffectsResolutionKind: (problem: Problem, resolutionKind: ResolutionKind, analysis: Analysis) => boolean;
|
|
25
|
-
readonly problemAffectsEntrypointResolution: (problem: Problem, entrypoint: string, resolutionKind: ResolutionKind, analysis: Analysis) => boolean;
|
|
26
|
-
};
|
|
27
|
-
export declare function createPackageResolutionAnalyzer(dependencies: PackageResolutionDependencies): PackageResolutionAnalyzer;
|
|
28
|
-
export {};
|
|
29
|
-
//# sourceMappingURL=type-script-package-resolution.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type-script-package-resolution.d.ts","sourceRoot":"","sources":["../../../../../source/checks/rules/type-script-package-resolution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,QAAQ,EACR,WAAW,EACX,OAAO,IAAI,YAAY,EACvB,OAAO,EACP,WAAW,EACX,cAAc,EACjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,eAAe,IAAI,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAE1F,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAEjG,MAAM,MAAM,uBAAuB,GAAG;IAClC,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,uBAAuB,EAAE,SAAS,cAAc,EAAE,CAAC;IAC5D,QAAQ,CAAC,mBAAmB,EAAE,SAAS,MAAM,EAAE,CAAC;CACnD,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC5B,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;IACxC,QAAQ,CAAC,QAAQ,EAAE,SAAS,uBAAuB,EAAE,CAAC;CACzD,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC7B,QAAQ,CAAC,IAAI,EAAE,sBAAsB,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,wBAAwB,GAAG,yBAAyB,CAAC;AAE3F,MAAM,MAAM,yBAAyB,GAAG,CACpC,gBAAgB,EAAE,QAAQ,CAAC,4BAA4B,CAAC,EACxD,eAAe,EAAE,SAAS,cAAc,EAAE,KACzC,OAAO,CAAC,uBAAuB,CAAC,CAAC;AAEtC,MAAM,MAAM,6BAA6B,GAAG;IACxC,QAAQ,CAAC,OAAO,EAAE,OAAO,YAAY,CAAC;IACtC,QAAQ,CAAC,YAAY,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC;IAC5E,QAAQ,CAAC,eAAe,EAAE,OAAO,eAAe,CAAC;IACjD,QAAQ,CAAC,4BAA4B,EAAE,CACnC,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,cAAc,EAC9B,QAAQ,EAAE,QAAQ,KACjB,OAAO,CAAC;IACb,QAAQ,CAAC,kCAAkC,EAAE,CACzC,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,cAAc,EAC9B,QAAQ,EAAE,QAAQ,KACjB,OAAO,CAAC;CAChB,CAAC;AAmBF,wBAAgB,+BAA+B,CAC3C,YAAY,EAAE,6BAA6B,GAC5C,yBAAyB,CA6C3B"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { z } from 'zod/mini';
|
|
2
|
-
import { emptyPerPackageSchema, enabledOnlyGlobalSchema, type CheckRuleDefinition } from '../rule.ts';
|
|
3
|
-
declare const ruleName = "uniqueTargetPaths";
|
|
4
|
-
type GlobalConfig = Readonly<z.infer<typeof enabledOnlyGlobalSchema>>;
|
|
5
|
-
type PerPackageConfig = Readonly<z.infer<typeof emptyPerPackageSchema>>;
|
|
6
|
-
export declare const uniqueTargetPathsRule: CheckRuleDefinition<typeof ruleName, GlobalConfig, PerPackageConfig>;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=unique-target-paths.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unique-target-paths.d.ts","sourceRoot":"","sources":["../../../../../source/checks/rules/unique-target-paths.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,EACH,qBAAqB,EACrB,uBAAuB,EACvB,KAAK,mBAAmB,EAE3B,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,QAAQ,sBAAsB,CAAC;AAErC,KAAK,YAAY,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC,CAAC;AACtE,KAAK,gBAAgB,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAAC;AAgCxE,eAAO,MAAM,qBAAqB,EAAE,mBAAmB,CAAC,OAAO,QAAQ,EAAE,YAAY,EAAE,gBAAgB,CAKtG,CAAC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import type { Maybe } from 'true-myth';
|
|
2
|
-
import type { Project } from 'ts-morph';
|
|
3
|
-
import { type NamedDependencySpecifierReference, type ExternalDependencies } from './external-dependencies.ts';
|
|
4
|
-
import type { TypescriptProject } from './typescript-project-analyzer.ts';
|
|
5
|
-
type ExternalDependencyReferenceInput = NamedDependencySpecifierReference;
|
|
6
|
-
export type DependencyGraphNodeData = {
|
|
7
|
-
readonly sourceMapFilePath: Maybe<string>;
|
|
8
|
-
readonly project?: TypescriptProject | undefined;
|
|
9
|
-
readonly externalDependencies: readonly ExternalDependencyReferenceInput[];
|
|
10
|
-
readonly isGeneratedManifest?: true | undefined;
|
|
11
|
-
};
|
|
12
|
-
type DependencyNode = DependencyGraphNodeData & {
|
|
13
|
-
readonly filePath: string;
|
|
14
|
-
readonly localFiles: readonly string[];
|
|
15
|
-
};
|
|
16
|
-
export type LocalFile = {
|
|
17
|
-
readonly filePath: string;
|
|
18
|
-
readonly directDependencies: ReadonlySet<string>;
|
|
19
|
-
readonly project?: Project | undefined;
|
|
20
|
-
readonly isGeneratedManifest?: true | undefined;
|
|
21
|
-
};
|
|
22
|
-
export type DependencyFiles = {
|
|
23
|
-
readonly localFiles: readonly LocalFile[];
|
|
24
|
-
readonly externalDependencies: ExternalDependencies;
|
|
25
|
-
};
|
|
26
|
-
export declare function mergeDependencyFiles(first: Readonly<DependencyFiles>, second: Readonly<DependencyFiles>): Readonly<DependencyFiles>;
|
|
27
|
-
type DependencyGraphVisitor = (node: Readonly<DependencyNode>) => void;
|
|
28
|
-
export type DependencyGraph = {
|
|
29
|
-
addDependency: (filePath: string, data: DependencyGraphNodeData) => void;
|
|
30
|
-
connect: (fromFilePath: string, toFilePath: string) => void;
|
|
31
|
-
hasConnection: (fromFilePath: string, toFilePath: string) => boolean;
|
|
32
|
-
walk: (startFilePath: string, visitor: DependencyGraphVisitor) => void;
|
|
33
|
-
isKnown: (filePath: string) => boolean;
|
|
34
|
-
flatten: (startFilePath: string) => Readonly<DependencyFiles>;
|
|
35
|
-
};
|
|
36
|
-
export declare function createDependencyGraph(): DependencyGraph;
|
|
37
|
-
export {};
|
|
38
|
-
//# sourceMappingURL=dependency-graph.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dependency-graph.d.ts","sourceRoot":"","sources":["../../../../source/dependency-scanner/dependency-graph.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGxC,OAAO,EACH,KAAK,iCAAiC,EAGtC,KAAK,oBAAoB,EAE5B,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAE1E,KAAK,gCAAgC,GAAG,iCAAiC,CAAC;AAE1E,MAAM,MAAM,uBAAuB,GAAG;IAClC,QAAQ,CAAC,iBAAiB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1C,QAAQ,CAAC,OAAO,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACjD,QAAQ,CAAC,oBAAoB,EAAE,SAAS,gCAAgC,EAAE,CAAC;IAC3E,QAAQ,CAAC,mBAAmB,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CACnD,CAAC;AAEF,KAAK,cAAc,GAAG,uBAAuB,GAAG;IAC5C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACpB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,kBAAkB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjD,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,mBAAmB,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CACnD,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC1B,QAAQ,CAAC,UAAU,EAAE,SAAS,SAAS,EAAE,CAAC;IAC1C,QAAQ,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;CACvD,CAAC;AAEF,wBAAgB,oBAAoB,CAChC,KAAK,EAAE,QAAQ,CAAC,eAAe,CAAC,EAChC,MAAM,EAAE,QAAQ,CAAC,eAAe,CAAC,GAClC,QAAQ,CAAC,eAAe,CAAC,CAS3B;AAiBD,KAAK,sBAAsB,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;AAEvE,MAAM,MAAM,eAAe,GAAG;IAC1B,aAAa,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,KAAK,IAAI,CAAC;IACzE,OAAO,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5D,aAAa,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC;IACrE,IAAI,EAAE,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,sBAAsB,KAAK,IAAI,CAAC;IACvE,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC;IACvC,OAAO,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,QAAQ,CAAC,eAAe,CAAC,CAAC;CACjE,CAAC;AAEF,wBAAgB,qBAAqB,IAAI,eAAe,CA+DvD"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { MainPackageJson } from '../config/package-json.ts';
|
|
2
|
-
import { type DependencyGraph } from './dependency-graph.ts';
|
|
3
|
-
import type { SourceMapFileLocator } from './source-map-file-locator.ts';
|
|
4
|
-
import type { TypescriptProjectAnalyzer } from './typescript-project-analyzer.ts';
|
|
5
|
-
type ScanOptionsInput = {
|
|
6
|
-
readonly mainPackageJson: MainPackageJson;
|
|
7
|
-
readonly includeSourceMapFiles?: boolean;
|
|
8
|
-
readonly resolveDeclarationFiles?: boolean;
|
|
9
|
-
};
|
|
10
|
-
export type DependencyScannerDependencies = {
|
|
11
|
-
readonly sourceMapFileLocator: SourceMapFileLocator;
|
|
12
|
-
readonly typescriptProjectAnalyzer: TypescriptProjectAnalyzer;
|
|
13
|
-
};
|
|
14
|
-
export type DependencyScanner = {
|
|
15
|
-
scan: (entryPointFile: string, folder: string, options: ScanOptionsInput) => Promise<DependencyGraph>;
|
|
16
|
-
scanEntries: (entryPointFiles: readonly string[], folder: string, options: ScanOptionsInput) => Promise<DependencyGraph>;
|
|
17
|
-
};
|
|
18
|
-
export declare function createDependencyScanner(dependencyScannerDependencies: Readonly<DependencyScannerDependencies>): DependencyScanner;
|
|
19
|
-
export {};
|
|
20
|
-
//# sourceMappingURL=scanner.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scanner.d.ts","sourceRoot":"","sources":["../../../../source/dependency-scanner/scanner.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE,OAAO,EAAyB,KAAK,eAAe,EAAgC,MAAM,uBAAuB,CAAC;AAElH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEzE,OAAO,KAAK,EAAqB,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAQrG,KAAK,gBAAgB,GAAG;IACpB,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;IAC1C,QAAQ,CAAC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IACzC,QAAQ,CAAC,uBAAuB,CAAC,EAAE,OAAO,CAAC;CAC9C,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IACxC,QAAQ,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;IACpD,QAAQ,CAAC,yBAAyB,EAAE,yBAAyB,CAAC;CACjE,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC5B,IAAI,EAAE,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IACtG,WAAW,EAAE,CACT,eAAe,EAAE,SAAS,MAAM,EAAE,EAClC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,gBAAgB,KACxB,OAAO,CAAC,eAAe,CAAC,CAAC;CACjC,CAAC;AAgCF,wBAAgB,uBAAuB,CACnC,6BAA6B,EAAE,QAAQ,CAAC,6BAA6B,CAAC,GACvE,iBAAiB,CAsInB"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { type SourceFile, type StringLiteral } from 'ts-morph';
|
|
2
|
-
export declare const moduleReferenceKind: {
|
|
3
|
-
readonly externalPackage: "external-package";
|
|
4
|
-
readonly generatedManifest: "generated-manifest";
|
|
5
|
-
readonly localAsset: "local-asset";
|
|
6
|
-
readonly localCode: "local-code";
|
|
7
|
-
};
|
|
8
|
-
type ExternalReference = {
|
|
9
|
-
readonly kind: typeof moduleReferenceKind.externalPackage;
|
|
10
|
-
readonly packageName: string;
|
|
11
|
-
readonly specifier: string;
|
|
12
|
-
};
|
|
13
|
-
type ManifestReference = {
|
|
14
|
-
readonly kind: typeof moduleReferenceKind.generatedManifest;
|
|
15
|
-
readonly filePath: string;
|
|
16
|
-
};
|
|
17
|
-
type AssetReference = {
|
|
18
|
-
readonly kind: typeof moduleReferenceKind.localAsset;
|
|
19
|
-
readonly filePath: string;
|
|
20
|
-
};
|
|
21
|
-
type CodeReference = {
|
|
22
|
-
readonly kind: typeof moduleReferenceKind.localCode;
|
|
23
|
-
readonly filePath: string;
|
|
24
|
-
};
|
|
25
|
-
export type ModuleReference = AssetReference | CodeReference | ExternalReference | ManifestReference;
|
|
26
|
-
export declare function resolveSourceFileForLiteral(literal: StringLiteral, containingSourceFile: Readonly<SourceFile>): Readonly<SourceFile | undefined>;
|
|
27
|
-
export declare function getModuleReferenceLiterals(sourceFile: Readonly<SourceFile>): readonly StringLiteral[];
|
|
28
|
-
export declare function getReferencedModules(sourceFile: Readonly<SourceFile>, packageJsonPath: string): readonly Readonly<ModuleReference>[];
|
|
29
|
-
export {};
|
|
30
|
-
//# sourceMappingURL=source-file-references.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"source-file-references.d.ts","sourceRoot":"","sources":["../../../../source/dependency-scanner/source-file-references.ts"],"names":[],"mappings":"AAGA,OAAO,EAKH,KAAK,UAAU,EACf,KAAK,aAAa,EACrB,MAAM,UAAU,CAAC;AAIlB,eAAO,MAAM,mBAAmB;;;;;CAKtB,CAAC;AAEX,KAAK,iBAAiB,GAAG;IACrB,QAAQ,CAAC,IAAI,EAAE,OAAO,mBAAmB,CAAC,eAAe,CAAC;IAC1D,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACrB,QAAQ,CAAC,IAAI,EAAE,OAAO,mBAAmB,CAAC,iBAAiB,CAAC;IAC5D,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,KAAK,cAAc,GAAG;IAClB,QAAQ,CAAC,IAAI,EAAE,OAAO,mBAAmB,CAAC,UAAU,CAAC;IACrD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,KAAK,aAAa,GAAG;IACjB,QAAQ,CAAC,IAAI,EAAE,OAAO,mBAAmB,CAAC,SAAS,CAAC;IACpD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,cAAc,GAAG,aAAa,GAAG,iBAAiB,GAAG,iBAAiB,CAAC;AA0FrG,wBAAgB,2BAA2B,CACvC,OAAO,EAAE,aAAa,EACtB,oBAAoB,EAAE,QAAQ,CAAC,UAAU,CAAC,GAC3C,QAAQ,CAAC,UAAU,GAAG,SAAS,CAAC,CAUlC;AAwGD,wBAAgB,0BAA0B,CAAC,UAAU,EAAE,QAAQ,CAAC,UAAU,CAAC,GAAG,SAAS,aAAa,EAAE,CAMrG;AAED,wBAAgB,oBAAoB,CAChC,UAAU,EAAE,QAAQ,CAAC,UAAU,CAAC,EAChC,eAAe,EAAE,MAAM,GACxB,SAAS,QAAQ,CAAC,eAAe,CAAC,EAAE,CAgBtC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Maybe } from 'true-myth';
|
|
2
|
-
import type { FileManager } from '../file-manager/file-manager.ts';
|
|
3
|
-
export type SourceMapFileLocatorDependencies = {
|
|
4
|
-
readonly fileManager: FileManager;
|
|
5
|
-
};
|
|
6
|
-
export type SourceMapFileLocator = {
|
|
7
|
-
locate: (sourceFile: string, sourcesFolder: string) => Promise<Maybe<string>>;
|
|
8
|
-
};
|
|
9
|
-
export declare function createSourceMapFileLocator(dependencies: Readonly<SourceMapFileLocatorDependencies>): SourceMapFileLocator;
|
|
10
|
-
//# sourceMappingURL=source-map-file-locator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"source-map-file-locator.d.ts","sourceRoot":"","sources":["../../../../source/dependency-scanner/source-map-file-locator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAEnE,MAAM,MAAM,gCAAgC,GAAG;IAC3C,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IAC/B,MAAM,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,KAAK,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;CACjF,CAAC;AA8CF,wBAAgB,0BAA0B,CACtC,YAAY,EAAE,QAAQ,CAAC,gCAAgC,CAAC,GACzD,oBAAoB,CAiCtB"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type CompilerOptions } from 'ts-morph';
|
|
2
|
-
import type { MainPackageJson } from '../config/package-json.ts';
|
|
3
|
-
export type AnalyzationOptions = {
|
|
4
|
-
readonly resolveDeclarationFiles: boolean;
|
|
5
|
-
readonly mainPackageJson: MainPackageJson;
|
|
6
|
-
};
|
|
7
|
-
export declare function analyzationOptionsToCompilerOptions(options: AnalyzationOptions): CompilerOptions;
|
|
8
|
-
//# sourceMappingURL=typescript-compiler-options.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typescript-compiler-options.d.ts","sourceRoot":"","sources":["../../../../source/dependency-scanner/typescript-compiler-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AAClF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,MAAM,kBAAkB,GAAG;IAC7B,QAAQ,CAAC,uBAAuB,EAAE,OAAO,CAAC;IAC1C,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;CAC7C,CAAC;AAEF,wBAAgB,mCAAmC,CAAC,OAAO,EAAE,kBAAkB,GAAG,eAAe,CAsBhG"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { FileSystemHost } from 'ts-morph';
|
|
2
|
-
import type { MainPackageJson } from '../config/package-json.ts';
|
|
3
|
-
export type FileSystemAdaptersDependencies = {
|
|
4
|
-
readonly fileSystemHost: FileSystemHost;
|
|
5
|
-
};
|
|
6
|
-
export type FileSystemAdapters = {
|
|
7
|
-
readonly fileSystemHostWithoutFilter: FileSystemHost;
|
|
8
|
-
readonly fileSystemHostFilteringDeclarationFiles: FileSystemHost;
|
|
9
|
-
readonly withVirtualPackageJson: (fileSystemHost: FileSystemHost, folder: string, mainPackageJson: MainPackageJson) => FileSystemHost;
|
|
10
|
-
};
|
|
11
|
-
export declare function createFileSystemAdapters(dependencies: FileSystemAdaptersDependencies): FileSystemAdapters;
|
|
12
|
-
//# sourceMappingURL=typescript-file-host.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typescript-file-host.d.ts","sourceRoot":"","sources":["../../../../source/dependency-scanner/typescript-file-host.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAMjE,MAAM,MAAM,8BAA8B,GAAG;IACzC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;CAC3C,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC7B,QAAQ,CAAC,2BAA2B,EAAE,cAAc,CAAC;IACrD,QAAQ,CAAC,uCAAuC,EAAE,cAAc,CAAC;IACjE,QAAQ,CAAC,sBAAsB,EAAE,CAC7B,cAAc,EAAE,cAAc,EAC9B,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,eAAe,KAC/B,cAAc,CAAC;CACvB,CAAC;AAgDF,wBAAgB,wBAAwB,CAAC,YAAY,EAAE,8BAA8B,GAAG,kBAAkB,CAQzG"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { Project as _Project, SourceFile } from 'ts-morph';
|
|
2
|
-
import type { ModuleReference } from './source-file-references.ts';
|
|
3
|
-
import { type AnalyzationOptions } from './typescript-compiler-options.ts';
|
|
4
|
-
import type { FileSystemAdapters } from './typescript-file-host.ts';
|
|
5
|
-
export type TypescriptProjectAnalyzerDependencies = {
|
|
6
|
-
readonly Project: typeof _Project;
|
|
7
|
-
readonly fileSystemAdapters: FileSystemAdapters;
|
|
8
|
-
getReferencedModules: (sourceFile: Readonly<SourceFile>, packageJsonPath: string) => readonly Readonly<ModuleReference>[];
|
|
9
|
-
};
|
|
10
|
-
export type TypescriptProject = {
|
|
11
|
-
getReferencedModules: (containingSourceFilePath: string) => readonly Readonly<ModuleReference>[];
|
|
12
|
-
getProject: () => _Project;
|
|
13
|
-
};
|
|
14
|
-
export type TypescriptProjectAnalyzer = {
|
|
15
|
-
analyzeProject: (folder: string, options: AnalyzationOptions) => TypescriptProject;
|
|
16
|
-
};
|
|
17
|
-
export declare function getSourcePathFromSourceFile(sourceFile: Readonly<SourceFile>): string;
|
|
18
|
-
export declare function createTypescriptProjectAnalyzer(dependencies: TypescriptProjectAnalyzerDependencies): TypescriptProjectAnalyzer;
|
|
19
|
-
//# sourceMappingURL=typescript-project-analyzer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typescript-project-analyzer.d.ts","sourceRoot":"","sources":["../../../../source/dependency-scanner/typescript-project-analyzer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,IAAI,QAAQ,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAuC,KAAK,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAChH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,MAAM,MAAM,qCAAqC,GAAG;IAChD,QAAQ,CAAC,OAAO,EAAE,OAAO,QAAQ,CAAC;IAClC,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAChD,oBAAoB,EAAE,CAClB,UAAU,EAAE,QAAQ,CAAC,UAAU,CAAC,EAChC,eAAe,EAAE,MAAM,KACtB,SAAS,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC5B,oBAAoB,EAAE,CAAC,wBAAwB,EAAE,MAAM,KAAK,SAAS,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAC;IACjG,UAAU,EAAE,MAAM,QAAQ,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACpC,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,KAAK,iBAAiB,CAAC;CACtF,CAAC;AAEF,wBAAgB,2BAA2B,CAAC,UAAU,EAAE,QAAQ,CAAC,UAAU,CAAC,GAAG,MAAM,CAEpF;AAED,wBAAgB,+BAA+B,CAC3C,YAAY,EAAE,qCAAqC,GACpD,yBAAyB,CAsC3B"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
type GitCommandRunner = (command: string, commandArguments: readonly string[]) => Promise<{
|
|
2
|
-
readonly stdout: string;
|
|
3
|
-
readonly stderr: string;
|
|
4
|
-
}>;
|
|
5
|
-
export type CurrentGitHeadReader = () => Promise<string | undefined>;
|
|
6
|
-
type CurrentGitHeadReaderDependencies = {
|
|
7
|
-
readonly runGitCommand: GitCommandRunner;
|
|
8
|
-
readonly repositoryFolder: string;
|
|
9
|
-
};
|
|
10
|
-
export declare function createCurrentGitHeadReader(dependencies: CurrentGitHeadReaderDependencies): CurrentGitHeadReader;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=current-git-head.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"current-git-head.d.ts","sourceRoot":"","sources":["../../../../source/git/current-git-head.ts"],"names":[],"mappings":"AAAA,KAAK,gBAAgB,GAAG,CACpB,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,SAAS,MAAM,EAAE,KAClC,OAAO,CAAC;IAAE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CAAE,CAAC,CAAC;AAEpE,MAAM,MAAM,oBAAoB,GAAG,MAAM,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;AAMrE,KAAK,gCAAgC,GAAG;IACpC,QAAQ,CAAC,aAAa,EAAE,gBAAgB,CAAC;IACzC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;CACrC,CAAC;AA4BF,wBAAgB,0BAA0B,CAAC,YAAY,EAAE,gCAAgC,GAAG,oBAAoB,CAI/G"}
|
package/linker/linker.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type ResolvedBundle } from '../resource-resolver/resolved-bundle.ts';
|
|
2
|
-
import type { BundleSubstitutionSource, LinkedBundle } from './linked-bundle.ts';
|
|
3
|
-
type LinkBundleOptions = {
|
|
4
|
-
readonly bundle: ResolvedBundle;
|
|
5
|
-
readonly bundleDependencies: readonly BundleSubstitutionSource[];
|
|
6
|
-
readonly bundlePeerDependencies: readonly BundleSubstitutionSource[];
|
|
7
|
-
};
|
|
8
|
-
export type BundleLinker = {
|
|
9
|
-
linkBundle: (options: LinkBundleOptions) => Promise<LinkedBundle>;
|
|
10
|
-
};
|
|
11
|
-
export declare function createBundleLinker(): BundleLinker;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=linker.d.ts.map
|
package/linker/linker.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"linker.d.ts","sourceRoot":"","sources":["../../../../source/linker/linker.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAGtG,OAAO,KAAK,EAAE,wBAAwB,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAIjF,KAAK,iBAAiB,GAAG;IACrB,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC;IAChC,QAAQ,CAAC,kBAAkB,EAAE,SAAS,wBAAwB,EAAE,CAAC;IACjE,QAAQ,CAAC,sBAAsB,EAAE,SAAS,wBAAwB,EAAE,CAAC;CACxE,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACvB,UAAU,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,OAAO,CAAC,YAAY,CAAC,CAAC;CACrE,CAAC;AA4CF,wBAAgB,kBAAkB,IAAI,YAAY,CAiBjD"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { DependencyScanner } from '../dependency-scanner/scanner.ts';
|
|
2
|
-
import type { FileManager } from '../file-manager/file-manager.ts';
|
|
3
|
-
import type { ResolvedBundle } from './resolved-bundle.ts';
|
|
4
|
-
import { type ResourceResolveOptions } from './resource-resolve-options.ts';
|
|
5
|
-
export type ResourceResolverDependencies = {
|
|
6
|
-
readonly dependencyScanner: DependencyScanner;
|
|
7
|
-
readonly fileManager: FileManager;
|
|
8
|
-
};
|
|
9
|
-
export type ResourceResolver = {
|
|
10
|
-
resolve: (options: ResourceResolveOptions) => Promise<ResolvedBundle>;
|
|
11
|
-
resolveWithPromotedDeclarations: (options: ResourceResolveOptions, promotedDeclarationEntryFiles: readonly string[]) => Promise<ResolvedBundle>;
|
|
12
|
-
resolveWithPromotedDeclarationCompanions: (options: ResourceResolveOptions, substitutedSourceFilePaths: ReadonlySet<string>) => Promise<ResolvedBundle>;
|
|
13
|
-
};
|
|
14
|
-
export declare function createResourceResolver(dependencies: ResourceResolverDependencies): ResourceResolver;
|
|
15
|
-
//# sourceMappingURL=resource-resolver.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resource-resolver.d.ts","sourceRoot":"","sources":["../../../../source/resource-resolver/resource-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAKnE,OAAO,KAAK,EAAE,cAAc,EAAmB,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EAA0B,KAAK,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEpG,MAAM,MAAM,4BAA4B,GAAG;IACvC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC3B,OAAO,EAAE,CAAC,OAAO,EAAE,sBAAsB,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;IACtE,+BAA+B,EAAE,CAC7B,OAAO,EAAE,sBAAsB,EAC/B,6BAA6B,EAAE,SAAS,MAAM,EAAE,KAC/C,OAAO,CAAC,cAAc,CAAC,CAAC;IAC7B,wCAAwC,EAAE,CACtC,OAAO,EAAE,sBAAsB,EAC/B,0BAA0B,EAAE,WAAW,CAAC,MAAM,CAAC,KAC9C,OAAO,CAAC,cAAc,CAAC,CAAC;CAChC,CAAC;AAoEF,wBAAgB,sBAAsB,CAAC,YAAY,EAAE,4BAA4B,GAAG,gBAAgB,CA8DnG"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { FileManager } from '../file-manager/file-manager.ts';
|
|
2
|
-
type LicenseResolverDependencies = {
|
|
3
|
-
readonly fileManager: FileManager;
|
|
4
|
-
};
|
|
5
|
-
type LicenseResolveOptions = {
|
|
6
|
-
readonly projectFolder: string;
|
|
7
|
-
readonly dependencyName: string;
|
|
8
|
-
};
|
|
9
|
-
export type LicenseResolver = {
|
|
10
|
-
resolveLicense: (options: LicenseResolveOptions) => Promise<string | undefined>;
|
|
11
|
-
};
|
|
12
|
-
export declare function createLicenseResolver(dependencies: LicenseResolverDependencies): LicenseResolver;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=license-resolver.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"license-resolver.d.ts","sourceRoot":"","sources":["../../../../source/sbom/license-resolver.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAGnE,KAAK,2BAA2B,GAAG;IAC/B,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;CACrC,CAAC;AAEF,KAAK,qBAAqB,GAAG;IACzB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC1B,cAAc,EAAE,CAAC,OAAO,EAAE,qBAAqB,KAAK,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACnF,CAAC;AAMF,wBAAgB,qBAAqB,CAAC,YAAY,EAAE,2BAA2B,GAAG,eAAe,CAoBhG"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as cdx from '@cyclonedx/cyclonedx-library';
|
|
2
|
-
type SerializableBom = Readonly<cdx.Models.Bom>;
|
|
3
|
-
export type SbomSerializer = {
|
|
4
|
-
serialize: (bom: SerializableBom) => string;
|
|
5
|
-
};
|
|
6
|
-
export declare function createSbomSerializer(): SbomSerializer;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=sbom-serializer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sbom-serializer.d.ts","sourceRoot":"","sources":["../../../../source/sbom/sbom-serializer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,8BAA8B,CAAC;AAEpD,KAAK,eAAe,GAAG,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AAEhD,MAAM,MAAM,cAAc,GAAG;IACzB,SAAS,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,MAAM,CAAC;CAC/C,CAAC;AAUF,wBAAgB,oBAAoB,IAAI,cAAc,CAOrD"}
|
package/tar/tarball-builder.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import zlib from 'node:zlib';
|
|
2
|
-
import type { FileDescription } from '../file-manager/file-description.ts';
|
|
3
|
-
import type { FileManager } from '../file-manager/file-manager.ts';
|
|
4
|
-
import { type VendorEntry } from '../vendor-materializer/vendor-entry.ts';
|
|
5
|
-
export type TarballBuilder = {
|
|
6
|
-
build: (fileDescriptions: readonly FileDescription[], vendorEntries?: readonly VendorEntry[]) => Promise<Buffer>;
|
|
7
|
-
};
|
|
8
|
-
type TarballBuilderDependencies = {
|
|
9
|
-
readonly createGzip: typeof zlib.createGzip;
|
|
10
|
-
readonly fileManager: Pick<FileManager, 'getRealPath' | 'readFileBytes'>;
|
|
11
|
-
};
|
|
12
|
-
export declare function createTarballBuilder(dependencies?: Partial<TarballBuilderDependencies>): TarballBuilder;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=tarball-builder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tarball-builder.d.ts","sourceRoot":"","sources":["../../../../source/tar/tarball-builder.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAA6B,KAAK,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAGrG,MAAM,MAAM,cAAc,GAAG;IACzB,KAAK,EAAE,CAAC,gBAAgB,EAAE,SAAS,eAAe,EAAE,EAAE,aAAa,CAAC,EAAE,SAAS,WAAW,EAAE,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;CACpH,CAAC;AAEF,KAAK,0BAA0B,GAAG;IAC9B,QAAQ,CAAC,UAAU,EAAE,OAAO,IAAI,CAAC,UAAU,CAAC;IAC5C,QAAQ,CAAC,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,aAAa,GAAG,eAAe,CAAC,CAAC;CAC5E,CAAC;AAMF,wBAAgB,oBAAoB,CAAC,YAAY,GAAE,OAAO,CAAC,0BAA0B,CAAM,GAAG,cAAc,CAiD3G"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { FileManager } from '../file-manager/file-manager.ts';
|
|
2
|
-
export type VendorEntry = {
|
|
3
|
-
readonly sourceAbsolutePath: string;
|
|
4
|
-
readonly sourcePackageRootPath: string;
|
|
5
|
-
readonly targetRelativePath: string;
|
|
6
|
-
readonly isExecutable: boolean;
|
|
7
|
-
};
|
|
8
|
-
type VendorEntrySourceValidator = Pick<FileManager, 'getRealPath'>;
|
|
9
|
-
export declare function validateVendorEntrySource(validator: VendorEntrySourceValidator, entry: VendorEntry): Promise<void>;
|
|
10
|
-
export declare function applyPrefixToVendorEntry(prefix: string, entry: VendorEntry): VendorEntry;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=vendor-entry.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vendor-entry.d.ts","sourceRoot":"","sources":["../../../../source/vendor-materializer/vendor-entry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAEnE,MAAM,MAAM,WAAW,GAAG;IACtB,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;IACvC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;CAClC,CAAC;AAEF,KAAK,0BAA0B,GAAG,IAAI,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC;AAOnE,wBAAsB,yBAAyB,CAC3C,SAAS,EAAE,0BAA0B,EACrC,KAAK,EAAE,WAAW,GACnB,OAAO,CAAC,IAAI,CAAC,CASf;AAED,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,GAAG,WAAW,CAOxF"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Result } from 'true-myth';
|
|
2
|
-
import type { FileManager } from '../file-manager/file-manager.ts';
|
|
3
|
-
import type { VendorEntry } from './vendor-entry.ts';
|
|
4
|
-
export declare const vendorMaterializerFailureType: {
|
|
5
|
-
readonly dependencyNotFound: "dependency-not-found";
|
|
6
|
-
readonly invalidDependencyName: "invalid-dependency-name";
|
|
7
|
-
readonly symlinkTargetOutsidePackage: "symlink-target-outside-package";
|
|
8
|
-
};
|
|
9
|
-
type SymlinkTargetOutsidePackageFailure = {
|
|
10
|
-
readonly type: typeof vendorMaterializerFailureType.symlinkTargetOutsidePackage;
|
|
11
|
-
readonly packageName: string;
|
|
12
|
-
readonly entryRelativePath: string;
|
|
13
|
-
readonly resolvedTargetPath: string;
|
|
14
|
-
};
|
|
15
|
-
type InvalidDependencyNameFailure = {
|
|
16
|
-
readonly type: typeof vendorMaterializerFailureType.invalidDependencyName;
|
|
17
|
-
readonly sourcePackageName: string | undefined;
|
|
18
|
-
readonly invalidDependencyName: string;
|
|
19
|
-
};
|
|
20
|
-
type DependencyNotFoundFailure = {
|
|
21
|
-
readonly type: typeof vendorMaterializerFailureType.dependencyNotFound;
|
|
22
|
-
readonly sourcePackageName: string | undefined;
|
|
23
|
-
readonly dependencyName: string;
|
|
24
|
-
};
|
|
25
|
-
type VendorMaterializerFailures = readonly [
|
|
26
|
-
DependencyNotFoundFailure,
|
|
27
|
-
InvalidDependencyNameFailure,
|
|
28
|
-
SymlinkTargetOutsidePackageFailure
|
|
29
|
-
];
|
|
30
|
-
export type VendorMaterializerFailure = VendorMaterializerFailures[number];
|
|
31
|
-
export type MaterializedExternals = {
|
|
32
|
-
readonly entries: readonly VendorEntry[];
|
|
33
|
-
readonly packageNames: readonly string[];
|
|
34
|
-
readonly peerRequirements: ReadonlyMap<string, readonly string[]>;
|
|
35
|
-
};
|
|
36
|
-
type VendorMaterializerFileManager = {
|
|
37
|
-
readonly checkReadability: FileManager['checkReadability'];
|
|
38
|
-
readonly getRealPath: FileManager['getRealPath'];
|
|
39
|
-
readonly getTransferableFileDescriptionFromPath: FileManager['getTransferableFileDescriptionFromPath'];
|
|
40
|
-
readonly listDirectoryEntries: FileManager['listDirectoryEntries'];
|
|
41
|
-
readonly readFile: FileManager['readFile'];
|
|
42
|
-
};
|
|
43
|
-
export type VendorMaterializerDependencies = {
|
|
44
|
-
readonly fileManager: VendorMaterializerFileManager;
|
|
45
|
-
};
|
|
46
|
-
type MaterializeExternalsOptions = {
|
|
47
|
-
readonly initialDependencyNames: readonly string[];
|
|
48
|
-
readonly projectFolder: string;
|
|
49
|
-
};
|
|
50
|
-
export type VendorMaterializer = {
|
|
51
|
-
materializeExternals: (options: MaterializeExternalsOptions) => Promise<Result<MaterializedExternals, VendorMaterializerFailure>>;
|
|
52
|
-
};
|
|
53
|
-
export declare function createVendorMaterializer(dependencies: VendorMaterializerDependencies): VendorMaterializer;
|
|
54
|
-
export {};
|
|
55
|
-
//# sourceMappingURL=vendor-materializer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vendor-materializer.d.ts","sourceRoot":"","sources":["../../../../source/vendor-materializer/vendor-materializer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAWnC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,6BAA6B;;;;CAIhC,CAAC;AAEX,KAAK,kCAAkC,GAAG;IACtC,QAAQ,CAAC,IAAI,EAAE,OAAO,6BAA6B,CAAC,2BAA2B,CAAC;IAChF,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;CACvC,CAAC;AAEF,KAAK,4BAA4B,GAAG;IAChC,QAAQ,CAAC,IAAI,EAAE,OAAO,6BAA6B,CAAC,qBAAqB,CAAC;IAC1E,QAAQ,CAAC,iBAAiB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/C,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;CAC1C,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC7B,QAAQ,CAAC,IAAI,EAAE,OAAO,6BAA6B,CAAC,kBAAkB,CAAC;IACvE,QAAQ,CAAC,iBAAiB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/C,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACnC,CAAC;AAEF,KAAK,0BAA0B,GAAG,SAAS;IACvC,yBAAyB;IACzB,4BAA4B;IAC5B,kCAAkC;CACrC,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,0BAA0B,CAAC,MAAM,CAAC,CAAC;AAE3E,MAAM,MAAM,qBAAqB,GAAG;IAChC,QAAQ,CAAC,OAAO,EAAE,SAAS,WAAW,EAAE,CAAC;IACzC,QAAQ,CAAC,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;IACzC,QAAQ,CAAC,gBAAgB,EAAE,WAAW,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC;CACrE,CAAC;AAEF,KAAK,6BAA6B,GAAG;IACjC,QAAQ,CAAC,gBAAgB,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAC;IAC3D,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;IACjD,QAAQ,CAAC,sCAAsC,EAAE,WAAW,CAAC,wCAAwC,CAAC,CAAC;IACvG,QAAQ,CAAC,oBAAoB,EAAE,WAAW,CAAC,sBAAsB,CAAC,CAAC;IACnE,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;CAC9C,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IACzC,QAAQ,CAAC,WAAW,EAAE,6BAA6B,CAAC;CACvD,CAAC;AAEF,KAAK,2BAA2B,GAAG;IAC/B,QAAQ,CAAC,sBAAsB,EAAE,SAAS,MAAM,EAAE,CAAC;IACnD,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC7B,oBAAoB,EAAE,CAClB,OAAO,EAAE,2BAA2B,KACnC,OAAO,CAAC,MAAM,CAAC,qBAAqB,EAAE,yBAAyB,CAAC,CAAC,CAAC;CAC1E,CAAC;AAuOF,wBAAgB,wBAAwB,CAAC,YAAY,EAAE,8BAA8B,GAAG,kBAAkB,CA0JzG"}
|