packtory 0.0.91 → 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 -295
- 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 +1 -1
- 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 -80
- 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 +5 -5
- 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
package/packtory/scheduler.d.ts
CHANGED
|
@@ -1,53 +1,6 @@
|
|
|
1
|
-
import { Result } from 'true-myth';
|
|
2
|
-
import type { PublicationOutcome } from '../bundle-emitter/publication-outcome.ts';
|
|
3
|
-
import type { ConfigWithGraph } from '../config/validation.ts';
|
|
4
|
-
import type { ProgressBroadcastProvider } from '../progress/progress-broadcaster.ts';
|
|
5
|
-
import type { PackageConfig } from '../config/config.ts';
|
|
6
|
-
import type { PublishedReleaseStatus } from './published-release-state.ts';
|
|
7
1
|
export type PartialError<TResult> = {
|
|
8
2
|
readonly succeeded: readonly TResult[];
|
|
9
3
|
readonly failures: readonly Error[];
|
|
10
4
|
};
|
|
11
|
-
export type Scheduler = {
|
|
12
|
-
runForEachScheduledPackage: <TResult, TNext, TOptions, TConfig extends {
|
|
13
|
-
readonly packages: readonly PackageConfig[];
|
|
14
|
-
}>(input: RunForEachScheduledPackageInput<TResult, TNext, TOptions, TConfig>) => Promise<Result<readonly TResult[], PartialError<TResult>>>;
|
|
15
|
-
};
|
|
16
|
-
type SchedulerDependencies = {
|
|
17
|
-
readonly progressBroadcastProvider: ProgressBroadcastProvider;
|
|
18
|
-
};
|
|
19
|
-
type PackageExecutionContext<TNext, TConfig extends {
|
|
20
|
-
readonly packages: readonly PackageConfig[];
|
|
21
|
-
}> = {
|
|
22
|
-
readonly packageName: string;
|
|
23
|
-
readonly existing: readonly TNext[];
|
|
24
|
-
readonly config: ConfigWithGraph<TConfig>;
|
|
25
|
-
};
|
|
26
|
-
type ProgressEventReturnValue = {
|
|
27
|
-
readonly version: string;
|
|
28
|
-
readonly status: PublishedReleaseStatus;
|
|
29
|
-
readonly publication: PublicationOutcome;
|
|
30
|
-
};
|
|
31
|
-
type SelectNextInput<TResult, TOptions> = {
|
|
32
|
-
readonly result: TResult;
|
|
33
|
-
readonly options: TOptions;
|
|
34
|
-
};
|
|
35
|
-
type ProgressEventInput<TResult, TOptions> = {
|
|
36
|
-
readonly packageName: string;
|
|
37
|
-
readonly result: TResult;
|
|
38
|
-
readonly options: TOptions;
|
|
39
|
-
};
|
|
40
|
-
type CreateProgressEvent<TResult, TOptions> = (input: ProgressEventInput<TResult, TOptions>) => ProgressEventReturnValue;
|
|
41
|
-
type RunForEachScheduledPackageInput<TResult, TNext, TOptions, TConfig extends {
|
|
42
|
-
readonly packages: readonly PackageConfig[];
|
|
43
|
-
}> = {
|
|
44
|
-
readonly config: ConfigWithGraph<TConfig>;
|
|
45
|
-
readonly createOptions: (context: PackageExecutionContext<TNext, TConfig>) => TOptions;
|
|
46
|
-
readonly execute: (options: TOptions) => Promise<TResult>;
|
|
47
|
-
readonly selectNext: (input: SelectNextInput<TResult, TOptions>) => TNext;
|
|
48
|
-
readonly createProgressEvent?: CreateProgressEvent<TResult, TOptions> | undefined;
|
|
49
|
-
readonly emitScheduledEvents?: boolean;
|
|
50
|
-
};
|
|
51
|
-
export declare function createScheduler(dependencies: SchedulerDependencies): Scheduler;
|
|
52
5
|
export {};
|
|
53
6
|
//# sourceMappingURL=scheduler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduler.d.ts","sourceRoot":"","sources":["../../../../source/packtory/scheduler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"scheduler.d.ts","sourceRoot":"","sources":["../../../../source/packtory/scheduler.ts"],"names":[],"mappings":"MAOM,MAAM,YAAY,CAAC,OAAO,IAAI;IAChC,QAAQ,CAAC,SAAS,EAAE,SAAS,OAAO,EAAE,CAAC;IACvC,QAAQ,CAAC,QAAQ,EAAE,SAAS,KAAK,EAAE,CAAC;CACvC,CAAC;AAEF,MAAM,CAAkB,EAQ2C,CAAC"}
|
package/packtory/scheduler.js
CHANGED
|
@@ -1,100 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
function toError(error) {
|
|
3
|
-
if (error instanceof Error) {
|
|
4
|
-
return error;
|
|
5
|
-
}
|
|
6
|
-
return new Error('Unknown error');
|
|
7
|
-
}
|
|
8
|
-
function collectPackageSuccesses(results) {
|
|
9
|
-
const succeeded = [];
|
|
10
|
-
const succeededResults = [];
|
|
11
|
-
const failures = [];
|
|
12
|
-
for (const result of results) {
|
|
13
|
-
if (result.status === 'fulfilled') {
|
|
14
|
-
succeeded.push(result.value);
|
|
15
|
-
succeededResults.push(result.value.result);
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
failures.push(toError(result.reason));
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
return { succeeded, succeededResults, failures };
|
|
22
|
-
}
|
|
23
|
-
function summarizeGenerationResults(results) {
|
|
24
|
-
const collected = collectPackageSuccesses(results);
|
|
25
|
-
if (collected.failures.length > 0) {
|
|
26
|
-
return Result.err({ succeeded: collected.succeededResults, failures: collected.failures });
|
|
27
|
-
}
|
|
28
|
-
return Result.ok(collected.succeeded);
|
|
29
|
-
}
|
|
30
|
-
export function createScheduler(dependencies) {
|
|
31
|
-
const { progressBroadcastProvider } = dependencies;
|
|
32
|
-
async function executeAndReportError(packageName, options, execute) {
|
|
33
|
-
try {
|
|
34
|
-
return await execute(options);
|
|
35
|
-
}
|
|
36
|
-
catch (error) {
|
|
37
|
-
progressBroadcastProvider.emit('error', { packageName, error: toError(error) });
|
|
38
|
-
throw error;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
async function runForGeneration(packageNames, config, existingItems, input) {
|
|
42
|
-
const executePackage = async function (packageName) {
|
|
43
|
-
const options = input.createOptions({ packageName, existing: existingItems, config });
|
|
44
|
-
const result = await executeAndReportError(packageName, options, input.execute);
|
|
45
|
-
const progressEvent = input.createProgressEvent?.({ packageName, result, options });
|
|
46
|
-
if (progressEvent !== undefined) {
|
|
47
|
-
progressBroadcastProvider.emit('done', { packageName, ...progressEvent });
|
|
48
|
-
}
|
|
49
|
-
return { packageName, result, options };
|
|
50
|
-
};
|
|
51
|
-
const results = await Promise.allSettled(packageNames.map(executePackage));
|
|
52
|
-
return summarizeGenerationResults(results);
|
|
53
|
-
}
|
|
54
|
-
function emitScheduledEventForAllPackages(config) {
|
|
55
|
-
for (const packageConfig of config.packtoryConfig.packages) {
|
|
56
|
-
progressBroadcastProvider.emit('scheduled', { packageName: packageConfig.name });
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
function getExecutionPlan(config) {
|
|
60
|
-
const reverseGraph = config.packageGraph.reverse.bind(config.packageGraph);
|
|
61
|
-
return reverseGraph().getTopologicalGenerations();
|
|
62
|
-
}
|
|
63
|
-
function shouldEmitScheduledEvents(emitScheduledEvents) {
|
|
64
|
-
return emitScheduledEvents ?? true;
|
|
65
|
-
}
|
|
66
|
-
function failGeneration(succeeded, generationError) {
|
|
67
|
-
return Result.err({
|
|
68
|
-
succeeded: [...succeeded, ...generationError.succeeded],
|
|
69
|
-
failures: generationError.failures
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
function appendGenerationSuccesses(nextItems, succeededResults, succeeded, selectNext) {
|
|
73
|
-
for (const entry of succeeded) {
|
|
74
|
-
nextItems.push(selectNext({ result: entry.result, options: entry.options }));
|
|
75
|
-
succeededResults.push(entry.result);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
async function runExecutionPlan(config, input) {
|
|
79
|
-
const nextItems = [];
|
|
80
|
-
const succeededResults = [];
|
|
81
|
-
for (const generation of getExecutionPlan(config)) {
|
|
82
|
-
const generationResult = await runForGeneration(generation, config, nextItems, input);
|
|
83
|
-
if (generationResult.isErr) {
|
|
84
|
-
return failGeneration(succeededResults, generationResult.error);
|
|
85
|
-
}
|
|
86
|
-
appendGenerationSuccesses(nextItems, succeededResults, generationResult.value, input.selectNext);
|
|
87
|
-
}
|
|
88
|
-
return Result.ok(succeededResults);
|
|
89
|
-
}
|
|
90
|
-
return {
|
|
91
|
-
async runForEachScheduledPackage(input) {
|
|
92
|
-
const { config } = input;
|
|
93
|
-
if (shouldEmitScheduledEvents(input.emitScheduledEvents)) {
|
|
94
|
-
emitScheduledEventForAllPackages(config);
|
|
95
|
-
}
|
|
96
|
-
return runExecutionPlan(config, input);
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
}
|
|
1
|
+
import 'true-myth';
|
|
100
2
|
//# sourceMappingURL=scheduler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduler.js","sourceRoot":"","sources":["../../../../source/packtory/scheduler.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"scheduler.js","sourceRoot":"","sources":["../../../../source/packtory/scheduler.ts"],"names":[],"mappings":"AAAA,OAAuB,WAAW,CAAC"}
|
|
@@ -1,51 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
function mergeSourceFilePaths(existing, sourceFilePaths) {
|
|
4
|
-
const merged = new Set(existing);
|
|
5
|
-
for (const sourceFilePath of sourceFilePaths) {
|
|
6
|
-
merged.add(sourceFilePath);
|
|
7
|
-
}
|
|
8
|
-
return merged;
|
|
9
|
-
}
|
|
10
|
-
function withSubstitutionPublicModuleSourceFilePaths(sourceFilePathsByPackageName, packageName, sourceFilePaths) {
|
|
11
|
-
const updated = new Map(sourceFilePathsByPackageName);
|
|
12
|
-
updated.set(packageName, mergeSourceFilePaths(sourceFilePathsByPackageName.get(packageName), sourceFilePaths));
|
|
13
|
-
return updated;
|
|
14
|
-
}
|
|
15
|
-
function collectSubstitutionPublicModuleSourceFilePaths(linkedPackages) {
|
|
16
|
-
let sourceFilePathsByPackageName = new Map();
|
|
17
|
-
for (const linkedPackage of linkedPackages) {
|
|
18
|
-
const substitutions = linkedPackage.linkedBundle.substitutedSourceFilePathsByPackageName;
|
|
19
|
-
for (const [packageName, sourceFilePaths] of substitutions) {
|
|
20
|
-
sourceFilePathsByPackageName = withSubstitutionPublicModuleSourceFilePaths(sourceFilePathsByPackageName, packageName, sourceFilePaths);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
return sourceFilePathsByPackageName;
|
|
24
|
-
}
|
|
25
|
-
function substitutionPublicModuleSourceFilePathsFor(sourceFilePathsByPackageName, packageName) {
|
|
26
|
-
return sourceFilePathsByPackageName.get(packageName) ?? new Set();
|
|
27
|
-
}
|
|
28
|
-
export async function analyzeResolvedPackages(dependencies, config, linkedPackages) {
|
|
29
|
-
const deadCodeEliminationByName = resolveDeadCodeEliminationByName(config);
|
|
30
|
-
const publicSubstitutionPathsByName = collectSubstitutionPublicModuleSourceFilePaths(linkedPackages);
|
|
31
|
-
const analyzedBundles = await dependencies.deadCodeEliminator.eliminate(linkedPackages.map(function (linkedPackage) {
|
|
32
|
-
const deadCodeElimination = deadCodeEliminationByName.get(linkedPackage.name);
|
|
33
|
-
if (!deadCodeEliminationByName.has(linkedPackage.name)) {
|
|
34
|
-
throw new Error(`Missing dead-code elimination settings for package "${linkedPackage.name}"`);
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
bundle: linkedPackage.linkedBundle,
|
|
38
|
-
transformationsEnabled: deadCodeElimination?.enabled ?? true,
|
|
39
|
-
substitutionPublicModuleSourceFilePaths: substitutionPublicModuleSourceFilePathsFor(publicSubstitutionPathsByName, linkedPackage.name),
|
|
40
|
-
deadCodeElimination
|
|
41
|
-
};
|
|
42
|
-
}));
|
|
43
|
-
return linkedPackages.map(function (linkedPackage, index) {
|
|
44
|
-
const analyzedBundle = analyzedBundles[index];
|
|
45
|
-
if (analyzedBundle === undefined) {
|
|
46
|
-
throw new Error(`Analyzed bundle missing for package "${linkedPackage.name}"`);
|
|
47
|
-
}
|
|
48
|
-
return createResolvedPackage(linkedPackage.name, analyzedBundle, linkedPackage.resolveOptions);
|
|
49
|
-
});
|
|
50
|
-
}
|
|
1
|
+
import "../options/dead-code-elimination-resolution.js";
|
|
2
|
+
import "../resolved-package.js";
|
|
51
3
|
//# sourceMappingURL=package-analysis-stage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-analysis-stage.js","sourceRoot":"","sources":["../../../../../source/packtory/stages/package-analysis-stage.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"package-analysis-stage.js","sourceRoot":"","sources":["../../../../../source/packtory/stages/package-analysis-stage.ts"],"names":[],"mappings":"AAEA,OAAiD,gDAAgD,CAAC;AAClG,OAA4D,wBAAwB,CAAC"}
|
|
@@ -1,81 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
function createResolveOptions(packageName, existing, config) {
|
|
7
|
-
return configToResolveAndLinkOptions(packageName, config.packageConfigs, config.packtoryConfig, existing);
|
|
8
|
-
}
|
|
9
|
-
function emitInputsResolved(dependencies, options) {
|
|
10
|
-
if (!dependencies.progressBroadcaster.provider.hasSubscribers('inputsResolved')) {
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
const normalizedInputs = resolveRootsAndSurface(options);
|
|
14
|
-
dependencies.progressBroadcaster.provider.emit('inputsResolved', {
|
|
15
|
-
packageName: options.name,
|
|
16
|
-
roots: mapValues(normalizedInputs.roots, function (root) {
|
|
17
|
-
return root.js;
|
|
18
|
-
}),
|
|
19
|
-
sourceFileCount: 0,
|
|
20
|
-
siblingVersions: {}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
function collectPromotedSourcePathsByPackageName(linkedPackages) {
|
|
24
|
-
const promotedSourcePathsByPackageName = new Map();
|
|
25
|
-
for (const linkedPackage of linkedPackages) {
|
|
26
|
-
for (const [packageName, sourceFilePaths] of linkedPackage.linkedBundle.substitutedSourceFilePathsByPackageName) {
|
|
27
|
-
const existing = promotedSourcePathsByPackageName.get(packageName) ?? new Set();
|
|
28
|
-
for (const sourceFilePath of sourceFilePaths) {
|
|
29
|
-
if (declarationCompanionCandidates(sourceFilePath).length > 0) {
|
|
30
|
-
existing.add(sourceFilePath);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
promotedSourcePathsByPackageName.set(packageName, existing);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
return promotedSourcePathsByPackageName;
|
|
37
|
-
}
|
|
38
|
-
function hasPromotionCandidates(promotedSourcePathsByPackageName) {
|
|
39
|
-
return Array.from(promotedSourcePathsByPackageName.values()).some(function (sourceFilePaths) {
|
|
40
|
-
return sourceFilePaths.size > 0;
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
async function resolvePackagesWithPromotions(dependencies, config, promotedSourcePathsByPackageName, emitScheduledEvents) {
|
|
44
|
-
return dependencies.scheduler.runForEachScheduledPackage({
|
|
45
|
-
config,
|
|
46
|
-
createOptions(context) {
|
|
47
|
-
const options = createResolveOptions(context.packageName, context.existing, context.config);
|
|
48
|
-
emitInputsResolved(dependencies, options);
|
|
49
|
-
return options;
|
|
50
|
-
},
|
|
51
|
-
execute: withFailureCapture(dependencies.progressBroadcaster.provider, 'resolveAndLink', async function (resolveOptions) {
|
|
52
|
-
const promotedSourcePaths = promotedSourcePathsByPackageName.get(resolveOptions.name) ?? new Set();
|
|
53
|
-
const linkedBundle = promotedSourcePaths.size === 0
|
|
54
|
-
? await dependencies.packageProcessor.resolveAndLink(resolveOptions)
|
|
55
|
-
: await dependencies
|
|
56
|
-
.packageProcessor
|
|
57
|
-
.resolveAndLinkWithPromotedDeclarationCompanions(resolveOptions, promotedSourcePaths);
|
|
58
|
-
return {
|
|
59
|
-
name: resolveOptions.name,
|
|
60
|
-
linkedBundle,
|
|
61
|
-
resolveOptions
|
|
62
|
-
};
|
|
63
|
-
}),
|
|
64
|
-
selectNext(input) {
|
|
65
|
-
return input.result.linkedBundle;
|
|
66
|
-
},
|
|
67
|
-
emitScheduledEvents
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
export async function resolvePackages(dependencies, config) {
|
|
71
|
-
const firstPassResult = await resolvePackagesWithPromotions(dependencies, config, new Map(), true);
|
|
72
|
-
if (firstPassResult.isErr) {
|
|
73
|
-
return firstPassResult;
|
|
74
|
-
}
|
|
75
|
-
const promotedSourcePathsByPackageName = collectPromotedSourcePathsByPackageName(firstPassResult.value);
|
|
76
|
-
if (!hasPromotionCandidates(promotedSourcePathsByPackageName)) {
|
|
77
|
-
return firstPassResult;
|
|
78
|
-
}
|
|
79
|
-
return await resolvePackagesWithPromotions(dependencies, config, promotedSourcePathsByPackageName, false);
|
|
80
|
-
}
|
|
1
|
+
import 'remeda';
|
|
2
|
+
import "../../common/declaration-companion-paths.js";
|
|
3
|
+
import "../../resource-resolver/resource-resolve-options.js";
|
|
4
|
+
import "../../report/decorators.js";
|
|
5
|
+
import "../map-config.js";
|
|
81
6
|
//# sourceMappingURL=package-resolution-stage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-resolution-stage.js","sourceRoot":"","sources":["../../../../../source/packtory/stages/package-resolution-stage.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"package-resolution-stage.js","sourceRoot":"","sources":["../../../../../source/packtory/stages/package-resolution-stage.ts"],"names":[],"mappings":"AAAA,OAA0B,QAAQ,CAAC;AAEnC,OAA+C,6CAA6C,CAAC;AAE7F,OAAuC,qDAAqD,CAAC;AAC7F,OAAmC,4BAA4B,CAAC;AAChE,OAA0E,kBAAkB,CAAC"}
|
|
@@ -1,55 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
function collectPublishStageInputs(resolvedPackages) {
|
|
5
|
-
const analyzedBundles = [];
|
|
6
|
-
const analyzedBundlesByName = {};
|
|
7
|
-
for (const resolvedPackage of resolvedPackages) {
|
|
8
|
-
analyzedBundles.push(resolvedPackage.analyzedBundle);
|
|
9
|
-
analyzedBundlesByName[resolvedPackage.name] = resolvedPackage.analyzedBundle;
|
|
10
|
-
}
|
|
11
|
-
return { analyzedBundles, analyzedBundlesByName };
|
|
12
|
-
}
|
|
13
|
-
export async function determineVersionAndPublishAll(dependencies, config, resolvedPackages, options) {
|
|
14
|
-
const { analyzedBundles, analyzedBundlesByName } = collectPublishStageInputs(resolvedPackages);
|
|
15
|
-
const publicModuleUsageByName = collectPublicModuleUsage(analyzedBundles);
|
|
16
|
-
return dependencies.scheduler.runForEachScheduledPackage({
|
|
17
|
-
config,
|
|
18
|
-
createOptions(context) {
|
|
19
|
-
const { packageName, existing, config: validatedConfig } = context;
|
|
20
|
-
return configToBuildAndPublishOptions(packageName, validatedConfig.packageConfigs, validatedConfig.packtoryConfig, {
|
|
21
|
-
existingBundles: existing,
|
|
22
|
-
repositoryFolder: dependencies.repositoryFolder,
|
|
23
|
-
resolveVersionSource: dependencies.resolveVersionSource
|
|
24
|
-
});
|
|
25
|
-
},
|
|
26
|
-
execute: withFailureCapture(dependencies.progressBroadcaster.provider, 'publish', async function (buildOptions) {
|
|
27
|
-
const analyzedBundle = analyzedBundlesByName[buildOptions.name];
|
|
28
|
-
if (analyzedBundle === undefined) {
|
|
29
|
-
throw new Error(`Analyzed bundle for package "${buildOptions.name}" is missing`);
|
|
30
|
-
}
|
|
31
|
-
const processorOptions = {
|
|
32
|
-
analyzedBundle,
|
|
33
|
-
buildOptions,
|
|
34
|
-
stage: options.stage,
|
|
35
|
-
substitutionPublicModuleSourcePaths: publicModuleUsageByName.get(buildOptions.name)
|
|
36
|
-
};
|
|
37
|
-
if (options.dryRun) {
|
|
38
|
-
return dependencies.packageProcessor.tryBuildAndPublish(processorOptions);
|
|
39
|
-
}
|
|
40
|
-
return dependencies.packageProcessor.buildAndPublish(processorOptions);
|
|
41
|
-
}),
|
|
42
|
-
selectNext(input) {
|
|
43
|
-
return input.result.bundle;
|
|
44
|
-
},
|
|
45
|
-
emitScheduledEvents: false,
|
|
46
|
-
createProgressEvent(input) {
|
|
47
|
-
return {
|
|
48
|
-
version: input.result.bundle.packageJson.version,
|
|
49
|
-
status: input.result.status,
|
|
50
|
-
publication: input.result.publication
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
}
|
|
1
|
+
import "../../package-surface/public-module-usage.js";
|
|
2
|
+
import "../../report/decorators.js";
|
|
3
|
+
import "../map-config.js";
|
|
55
4
|
//# sourceMappingURL=publish-stage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish-stage.js","sourceRoot":"","sources":["../../../../../source/packtory/stages/publish-stage.ts"],"names":[],"mappings":"AAGA,
|
|
1
|
+
{"version":3,"file":"publish-stage.js","sourceRoot":"","sources":["../../../../../source/packtory/stages/publish-stage.ts"],"names":[],"mappings":"AAGA,OAAyC,8CAA8C,CAAC;AACxF,OAAmC,4BAA4B,CAAC;AAChE,OAIO,kBAAkB,CAAC"}
|
|
@@ -1,85 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
function emptyFileSetDiff() {
|
|
7
|
-
return { added: [], removed: [], modified: [], unchanged: [] };
|
|
8
|
-
}
|
|
9
|
-
function asAddedFile(file) {
|
|
10
|
-
return {
|
|
11
|
-
path: file.filePath,
|
|
12
|
-
sizeBytes: Buffer.byteLength(file.content),
|
|
13
|
-
isExecutable: file.isExecutable
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
function asAddedFiles(files) {
|
|
17
|
-
return { ...emptyFileSetDiff(), added: files.map(asAddedFile) };
|
|
18
|
-
}
|
|
19
|
-
function versionFieldsFor(buildResult) {
|
|
20
|
-
const publishedReleaseArtifacts = publishedReleaseArtifactsOf(buildResult);
|
|
21
|
-
return {
|
|
22
|
-
previousVersion: publishedReleaseArtifacts?.version,
|
|
23
|
-
chosenVersion: buildResult.bundle.version
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
function diffEntry(packageName, state, files, versionFields) {
|
|
27
|
-
return {
|
|
28
|
-
name: packageName,
|
|
29
|
-
state,
|
|
30
|
-
versionTransition: buildReleaseVersionTransition(versionFields),
|
|
31
|
-
previousVersionLabel: buildReleaseVersionLabel(versionFields),
|
|
32
|
-
files
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
function classifyDiff(artifactsBuilder, packageName, buildResult) {
|
|
36
|
-
const versionFields = versionFieldsFor(buildResult);
|
|
37
|
-
if (wasAlreadyPublished(buildResult)) {
|
|
38
|
-
return diffEntry(packageName, packageReleaseDiffState.unchanged, emptyFileSetDiff(), versionFields);
|
|
39
|
-
}
|
|
40
|
-
const newSideFiles = artifactsBuilder.collectContents(buildResult.bundle, 'package', buildResult.extraFiles);
|
|
41
|
-
const publishedReleaseArtifacts = publishedReleaseArtifactsOf(buildResult);
|
|
42
|
-
if (publishedReleaseArtifacts === undefined) {
|
|
43
|
-
return diffEntry(packageName, packageReleaseDiffState.firstPublish, asAddedFiles(newSideFiles), versionFields);
|
|
44
|
-
}
|
|
45
|
-
const files = buildFileSetDiff(canonicalizeReleaseArtifactFiles(publishedReleaseArtifacts.files), canonicalizeReleaseArtifactFiles(newSideFiles));
|
|
46
|
-
return diffEntry(packageName, packageReleaseDiffState.changed, files, versionFields);
|
|
47
|
-
}
|
|
48
|
-
function isDiffEntry(entry) {
|
|
49
|
-
return entry !== undefined;
|
|
50
|
-
}
|
|
51
|
-
function toReleaseDiffs(entries) {
|
|
52
|
-
return entries.filter(isDiffEntry);
|
|
53
|
-
}
|
|
54
|
-
function toPartialFailure(error) {
|
|
55
|
-
return { succeeded: toReleaseDiffs(error.succeeded), failures: error.failures };
|
|
56
|
-
}
|
|
57
|
-
export async function runReleaseDiffStage(dependencies, config, succeededResults) {
|
|
58
|
-
const successByName = new Map(succeededResults.map(function (result) {
|
|
59
|
-
return [result.bundle.name, result];
|
|
60
|
-
}));
|
|
61
|
-
const stageResult = await dependencies.scheduler.runForEachScheduledPackage({
|
|
62
|
-
config,
|
|
63
|
-
createOptions(context) {
|
|
64
|
-
return {
|
|
65
|
-
packageName: context.packageName,
|
|
66
|
-
buildResult: successByName.get(context.packageName)
|
|
67
|
-
};
|
|
68
|
-
},
|
|
69
|
-
async execute(options) {
|
|
70
|
-
if (options.buildResult === undefined) {
|
|
71
|
-
return undefined;
|
|
72
|
-
}
|
|
73
|
-
return classifyDiff(dependencies.artifactsBuilder, options.packageName, options.buildResult);
|
|
74
|
-
},
|
|
75
|
-
selectNext(input) {
|
|
76
|
-
return input.options.packageName;
|
|
77
|
-
},
|
|
78
|
-
emitScheduledEvents: false
|
|
79
|
-
});
|
|
80
|
-
if (stageResult.isErr) {
|
|
81
|
-
return Result.err(toPartialFailure(stageResult.error));
|
|
82
|
-
}
|
|
83
|
-
return Result.ok(toReleaseDiffs(stageResult.value));
|
|
84
|
-
}
|
|
1
|
+
import 'true-myth';
|
|
2
|
+
import "../../bundle-emitter/release-artifact-canonicalizer.js";
|
|
3
|
+
import "../../report/release-diff/file-set-diff.js";
|
|
4
|
+
import "../../report/release-diff/release-version-transition.js";
|
|
5
|
+
import "../published-release-state.js";
|
|
85
6
|
//# sourceMappingURL=release-diff-stage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"release-diff-stage.js","sourceRoot":"","sources":["../../../../../source/packtory/stages/release-diff-stage.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"release-diff-stage.js","sourceRoot":"","sources":["../../../../../source/packtory/stages/release-diff-stage.ts"],"names":[],"mappings":"AAAA,OAAuB,WAAW,CAAC;AAInC,OAAiD,wDAAwD,CAAC;AAC1G,OAKO,4CAA4C,CAAC;AACpD,OAIO,yDAAyD,CAAC;AAEjE,OAAiE,+BAA+B,CAAC"}
|
|
@@ -178,6 +178,5 @@ export type ProgressBroadcaster = {
|
|
|
178
178
|
readonly provider: ProgressBroadcastProvider;
|
|
179
179
|
readonly consumer: ProgressBroadcastConsumer;
|
|
180
180
|
};
|
|
181
|
-
export declare function createProgressBroadcaster(): ProgressBroadcaster;
|
|
182
181
|
export {};
|
|
183
182
|
//# sourceMappingURL=progress-broadcaster.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress-broadcaster.d.ts","sourceRoot":"","sources":["../../../../source/progress/progress-broadcaster.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAEnF,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,WAAW,GAAG,SAAS,GAAG,gBAAgB,GAAG,YAAY,CAAC;AAE5F,MAAM,MAAM,YAAY,GAAG;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACvB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,WAAW,GAAG,WAAW,CAAC;AAEnE,MAAM,MAAM,aAAa,GAAG,uBAAuB,GAAG,qBAAqB,CAAC;AAE5E,MAAM,MAAM,YAAY,GAAG;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,YAAY,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,CAAC,KACrC,IAAI,CAAC;IACV,QAAQ,CAAC,GAAG,EAAE,CAAC,UAAU,SAAS,MAAM,MAAM,EAC1C,SAAS,EAAE,UAAU,EACrB,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,KACrC,IAAI,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC1C,QAAQ,CAAC,EAAE,EAAE,CAAC,UAAU,SAAS,iBAAiB,EAC9C,SAAS,EAAE,UAAU,EACrB,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,KACrC,IAAI,CAAC;IACV,QAAQ,CAAC,GAAG,EAAE,CAAC,UAAU,SAAS,iBAAiB,EAC/C,SAAS,EAAE,UAAU,EACrB,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,KACrC,IAAI,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAC9B,QAAQ,CAAC,QAAQ,EAAE,yBAAyB,CAAC;IAC7C,QAAQ,CAAC,QAAQ,EAAE,yBAAyB,CAAC;CAChD,CAAC;AAyBF"}
|
|
@@ -1,46 +1 @@
|
|
|
1
|
-
function createListenerRegistry() {
|
|
2
|
-
return {
|
|
3
|
-
scheduled: new Set(),
|
|
4
|
-
resolving: new Set(),
|
|
5
|
-
linking: new Set(),
|
|
6
|
-
building: new Set(),
|
|
7
|
-
rebuilding: new Set(),
|
|
8
|
-
publishing: new Set(),
|
|
9
|
-
done: new Set(),
|
|
10
|
-
error: new Set(),
|
|
11
|
-
inputsResolved: new Set(),
|
|
12
|
-
effectiveConfigResolved: new Set(),
|
|
13
|
-
scanCompleted: new Set(),
|
|
14
|
-
linkingCompleted: new Set(),
|
|
15
|
-
eliminationCompleted: new Set(),
|
|
16
|
-
versionDetermined: new Set(),
|
|
17
|
-
packageJsonAssembled: new Set(),
|
|
18
|
-
artifactsCollected: new Set(),
|
|
19
|
-
stageTimed: new Set(),
|
|
20
|
-
packageFailed: new Set()
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export function createProgressBroadcaster() {
|
|
24
|
-
const listeners = createListenerRegistry();
|
|
25
|
-
return {
|
|
26
|
-
provider: {
|
|
27
|
-
emit(eventName, payload) {
|
|
28
|
-
listeners[eventName].forEach(function (listener) {
|
|
29
|
-
listener(payload);
|
|
30
|
-
});
|
|
31
|
-
},
|
|
32
|
-
hasSubscribers(eventName) {
|
|
33
|
-
return listeners[eventName].size > 0;
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
consumer: {
|
|
37
|
-
on(eventName, listener) {
|
|
38
|
-
listeners[eventName].add(listener);
|
|
39
|
-
},
|
|
40
|
-
off(eventName, listener) {
|
|
41
|
-
listeners[eventName].delete(listener);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
1
|
//# sourceMappingURL=progress-broadcaster.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress-broadcaster.js","sourceRoot":"","sources":["../../../../source/progress/progress-broadcaster.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"progress-broadcaster.js","sourceRoot":"","sources":["../../../../source/progress/progress-broadcaster.ts"],"names":[],"mappings":""}
|
|
@@ -35,10 +35,8 @@ export type PublishedPackageWithManifest = PublishedPackage & {
|
|
|
35
35
|
readonly manifestFile: FileDescription;
|
|
36
36
|
readonly packageJson: PublishedPackageJson;
|
|
37
37
|
};
|
|
38
|
-
export type ArtifactSourcePackage = Pick<PublishedPackageWithManifest, 'binField' | 'contents' | 'manifestFile' | 'name'>;
|
|
39
38
|
export type SbomPackage = Pick<PublishedPackageWithManifest, 'dependencies' | 'packageJson' | 'peerDependencies'>;
|
|
40
39
|
export type SbomSiblingPackage = Pick<PublishedPackageWithManifest, 'name' | 'packageJson'>;
|
|
41
40
|
export type ArtifactPublishPackage = Pick<PublishedPackageWithManifest, 'binField' | 'contents' | 'manifestFile' | 'name' | 'packageJson'>;
|
|
42
|
-
export declare function explicitBinTargetPaths(sourcePackage: Pick<ArtifactSourcePackage, 'binField'>): ReadonlySet<string>;
|
|
43
41
|
export {};
|
|
44
42
|
//# sourceMappingURL=published-package.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"published-package.d.ts","sourceRoot":"","sources":["../../../../source/published-package/published-package.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC1D,OAAO,KAAK,EAAE,+BAA+B,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAClG,OAAO,KAAK,EAAE,eAAe,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AACxG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAEnF,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC,WAAW,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC;AAC1F,KAAK,qBAAqB,GAAG,WAAW,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC,CAAC;AACrE,KAAK,4BAA4B,GAAG,WAAW,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC;AACxE,KAAK,yBAAyB,GAAG,SAAS,MAAM,EAAE,GAAG,KAAK,GAAG,SAAS,CAAC;AACvE,KAAK,uBAAuB,GAAG;IAC3B,QAAQ,CAAC,kBAAkB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjD,QAAQ,CAAC,eAAe,EAAE,2BAA2B,CAAC;IACtD,QAAQ,CAAC,oBAAoB,EAAE,OAAO,CAAC;IACvC,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,mBAAmB,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CACnD,CAAC;A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