packtory 0.0.91 → 0.0.93
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 +1 -32
- package/dead-code-eliminator/reachability/binding-id.js.map +1 -1
- package/dead-code-eliminator/reachability/identifier-target-collector.js +2 -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 +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 -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 +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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manager.js","sourceRoot":"","sources":["../../../../source/version-manager/manager.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"manager.js","sourceRoot":"","sources":["../../../../source/version-manager/manager.ts"],"names":[],"mappings":"AAAA,OAAmB,QAAQ,CAAC;AAC5B,OAAwC,6BAA6B,CAAC;AAEtE,OAA6C,yDAAyD,CAAC;AACvG,OAAqC,uBAAuB,CAAC;AAC7D,OAAqC,yBAAyB,CAAC;AAC/D,OAKO,uBAAuB,CAAC"}
|
|
@@ -1,52 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
function resolveSideEffectsValue(bundle) {
|
|
3
|
-
if (hasProp(bundle.additionalAttributes, 'sideEffects')) {
|
|
4
|
-
return undefined;
|
|
5
|
-
}
|
|
6
|
-
return bundle.sideEffectsField;
|
|
7
|
-
}
|
|
8
|
-
function buildSideEffectsEntry(sideEffects) {
|
|
9
|
-
if (sideEffects === undefined) {
|
|
10
|
-
return {};
|
|
11
|
-
}
|
|
12
|
-
return { sideEffects: typeof sideEffects === 'boolean' ? sideEffects : Array.from(sideEffects) };
|
|
13
|
-
}
|
|
14
|
-
function toPackageJsonImports(importsField) {
|
|
15
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion -- config validation constrains imports values to JSON-compatible package.json data
|
|
16
|
-
return Object.fromEntries(Object.entries(importsField));
|
|
17
|
-
}
|
|
18
|
-
function buildImportsEntry(importsField) {
|
|
19
|
-
return importsField === undefined ? {} : { imports: toPackageJsonImports(importsField) };
|
|
20
|
-
}
|
|
21
|
-
function toPackageJsonBinTargets(binField) {
|
|
22
|
-
return pickBy(binField, isDefined);
|
|
23
|
-
}
|
|
24
|
-
function buildBinEntry(binField) {
|
|
25
|
-
if (binField === undefined) {
|
|
26
|
-
return {};
|
|
27
|
-
}
|
|
28
|
-
if (typeof binField === 'string') {
|
|
29
|
-
return { bin: binField };
|
|
30
|
-
}
|
|
31
|
-
return { bin: toPackageJsonBinTargets(binField) };
|
|
32
|
-
}
|
|
33
|
-
export function buildPackageManifest(bundle) {
|
|
34
|
-
const sideEffects = resolveSideEffectsValue(bundle);
|
|
35
|
-
const sideEffectsEntry = buildSideEffectsEntry(sideEffects);
|
|
36
|
-
const importsEntry = buildImportsEntry(bundle.importsField);
|
|
37
|
-
const binEntry = buildBinEntry(bundle.binField);
|
|
38
|
-
const packageJson = {
|
|
39
|
-
...bundle.additionalAttributes,
|
|
40
|
-
exports: bundle.exportsField,
|
|
41
|
-
name: bundle.name,
|
|
42
|
-
version: bundle.version,
|
|
43
|
-
type: bundle.packageType,
|
|
44
|
-
...sideEffectsEntry,
|
|
45
|
-
...importsEntry,
|
|
46
|
-
...binEntry,
|
|
47
|
-
...isEmpty(bundle.dependencies) ? {} : { dependencies: bundle.dependencies },
|
|
48
|
-
...isEmpty(bundle.peerDependencies) ? {} : { peerDependencies: bundle.peerDependencies }
|
|
49
|
-
};
|
|
50
|
-
return packageJson;
|
|
51
|
-
}
|
|
1
|
+
import 'remeda';
|
|
52
2
|
//# sourceMappingURL=builder.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builder.js","sourceRoot":"","sources":["../../../../../source/version-manager/manifest/builder.ts"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"builder.js","sourceRoot":"","sources":["../../../../../source/version-manager/manifest/builder.ts"],"names":[],"mappings":"AACA,OAAoD,QAAQ,CAAC;AA0BzD"}
|
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
function shouldPreserveArrayOrder(path) {
|
|
3
|
-
const [topLevelKey] = path;
|
|
4
|
-
return topLevelKey === 'imports' || topLevelKey === 'exports';
|
|
5
|
-
}
|
|
6
|
-
export function serializePackageJson(data) {
|
|
7
|
-
return serializeStableJson(data, { shouldPreserveArrayOrder });
|
|
8
|
-
}
|
|
1
|
+
import "../../common/stable-json.js";
|
|
9
2
|
//# sourceMappingURL=serialize.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serialize.js","sourceRoot":"","sources":["../../../../../source/version-manager/manifest/serialize.ts"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"serialize.js","sourceRoot":"","sources":["../../../../../source/version-manager/manifest/serialize.ts"],"names":[],"mappings":"AACA,OAAoC,6BAA6B,CAAC"}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export function buildOptionalVersionedBundleFields(input) {
|
|
3
|
-
const { importsField, binField, typesMainFile } = input;
|
|
4
|
-
return pickBy({ importsField, binField, typesMainFile }, isDefined);
|
|
5
|
-
}
|
|
1
|
+
import 'remeda';
|
|
6
2
|
//# sourceMappingURL=optional-bundle-fields.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"optional-bundle-fields.js","sourceRoot":"","sources":["../../../../source/version-manager/optional-bundle-fields.ts"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"optional-bundle-fields.js","sourceRoot":"","sources":["../../../../source/version-manager/optional-bundle-fields.ts"],"names":[],"mappings":"AACA,OAAkC,QAAQ,CAAC"}
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export function resolveRepresentativeRoot(bundle) {
|
|
3
|
-
const { representativeRootId } = summarizePackageSurface(bundle);
|
|
4
|
-
const root = bundle.roots[representativeRootId];
|
|
5
|
-
if (root === undefined) {
|
|
6
|
-
throw new Error(`Package "${bundle.name}" references unknown root "${representativeRootId}"`);
|
|
7
|
-
}
|
|
8
|
-
return root;
|
|
9
|
-
}
|
|
1
|
+
import "../package-surface/package-surface-index.js";
|
|
10
2
|
//# sourceMappingURL=representative-root.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"representative-root.js","sourceRoot":"","sources":["../../../../source/version-manager/representative-root.ts"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"representative-root.js","sourceRoot":"","sources":["../../../../source/version-manager/representative-root.ts"],"names":[],"mappings":"AACA,OAAwC,6CAA6C,CAAC"}
|
|
@@ -1,43 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
function workspaceMalformedReason() {
|
|
4
|
-
return ('workspace protocol is yarn/pnpm/bun-specific; resolved at install time by the workspace,' +
|
|
5
|
-
' not valid in a published manifest');
|
|
6
|
-
}
|
|
7
|
-
function portalMalformedReason() {
|
|
8
|
-
return 'portal protocol is yarn-specific; resolved as a local symlink, not valid in a published manifest';
|
|
9
|
-
}
|
|
10
|
-
function classifyNpaResult(result) {
|
|
11
|
-
return match(result.type)
|
|
12
|
-
.with('alias', 'range', 'tag', 'version', function () {
|
|
13
|
-
return { kind: 'registry' };
|
|
14
|
-
})
|
|
15
|
-
.with('git', function () {
|
|
16
|
-
return { kind: 'mutable', npaType: 'git' };
|
|
17
|
-
})
|
|
18
|
-
.with('remote', function () {
|
|
19
|
-
return { kind: 'mutable', npaType: 'remote' };
|
|
20
|
-
})
|
|
21
|
-
.with('file', function () {
|
|
22
|
-
return { kind: 'mutable', npaType: 'file' };
|
|
23
|
-
})
|
|
24
|
-
.otherwise(function () {
|
|
25
|
-
return { kind: 'mutable', npaType: 'directory' };
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
export function classifySpecifier(name, specifier) {
|
|
29
|
-
if (specifier.startsWith('workspace:')) {
|
|
30
|
-
return { kind: 'malformed', reason: workspaceMalformedReason() };
|
|
31
|
-
}
|
|
32
|
-
if (specifier.startsWith('portal:')) {
|
|
33
|
-
return { kind: 'malformed', reason: portalMalformedReason() };
|
|
34
|
-
}
|
|
35
|
-
try {
|
|
36
|
-
const result = npa.resolve(name, specifier);
|
|
37
|
-
return classifyNpaResult(result);
|
|
38
|
-
}
|
|
39
|
-
catch (error) {
|
|
40
|
-
return { kind: 'malformed', reason: String(error) };
|
|
41
|
-
}
|
|
42
|
-
}
|
|
1
|
+
import 'npm-package-arg';
|
|
2
|
+
import 'ts-pattern';
|
|
43
3
|
//# sourceMappingURL=specifier-classifier.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specifier-classifier.js","sourceRoot":"","sources":["../../../../source/version-manager/specifier-classifier.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"specifier-classifier.js","sourceRoot":"","sources":["../../../../source/version-manager/specifier-classifier.ts"],"names":[],"mappings":"AAAA,OAAgB,iBAAiB,CAAC;AAClC,OAAsB,YAAY,CAAC"}
|
|
@@ -1,59 +1 @@
|
|
|
1
|
-
function dependencyWord(count) {
|
|
2
|
-
return count === 1 ? 'dependency' : 'dependencies';
|
|
3
|
-
}
|
|
4
|
-
function entryWord(count) {
|
|
5
|
-
return count === 1 ? 'entry' : 'entries';
|
|
6
|
-
}
|
|
7
|
-
function renderLines(items, renderItem) {
|
|
8
|
-
return items.map(renderItem);
|
|
9
|
-
}
|
|
10
|
-
export function renderMutableSpecifierMessage(offenders) {
|
|
11
|
-
const isSingular = offenders.length === 1;
|
|
12
|
-
const verbAndNoun = isSingular ? 'uses a mutable specifier' : 'use mutable specifiers';
|
|
13
|
-
const bypassVerb = isSingular ? 'bypasses' : 'bypass';
|
|
14
|
-
const noun = dependencyWord(offenders.length);
|
|
15
|
-
const header = `Refusing to publish: ${offenders.length} ${noun} ${verbAndNoun},` +
|
|
16
|
-
` which ${bypassVerb} the npm registry's integrity guarantees:`;
|
|
17
|
-
const lines = [
|
|
18
|
-
header,
|
|
19
|
-
...renderLines(offenders, function (offender) {
|
|
20
|
-
return ` - "${offender.name}" → "${offender.specifier}" (${offender.npaType})`;
|
|
21
|
-
})
|
|
22
|
-
];
|
|
23
|
-
const footer = 'Add the dep name to dependencyPolicy.allowMutableSpecifiers to allow this on purpose.';
|
|
24
|
-
lines.push(footer);
|
|
25
|
-
return lines.join('\n');
|
|
26
|
-
}
|
|
27
|
-
export function renderMalformedSpecifierMessage(offenders) {
|
|
28
|
-
const isSingular = offenders.length === 1;
|
|
29
|
-
const verb = isSingular ? 'has' : 'have';
|
|
30
|
-
const noun = dependencyWord(offenders.length);
|
|
31
|
-
const header = `Refusing to publish: ${offenders.length} ${noun} ${verb} a specifier that npm cannot publish:`;
|
|
32
|
-
const lines = [
|
|
33
|
-
header,
|
|
34
|
-
...renderLines(offenders, function (offender) {
|
|
35
|
-
return ` - "${offender.name}" → "${offender.specifier}" (${offender.reason})`;
|
|
36
|
-
})
|
|
37
|
-
];
|
|
38
|
-
const replacementHint = 'Replace with a registry version (e.g. "^1.2.3").';
|
|
39
|
-
const allowListHint = 'Mutable-specifier allow-listing does not apply here.';
|
|
40
|
-
lines.push(`${replacementHint} ${allowListHint}`);
|
|
41
|
-
return lines.join('\n');
|
|
42
|
-
}
|
|
43
|
-
export function renderUnusedAllowListMessage(unusedEntries) {
|
|
44
|
-
const isSingular = unusedEntries.length === 1;
|
|
45
|
-
const verb = isSingular ? 'is' : 'are';
|
|
46
|
-
const noun = entryWord(unusedEntries.length);
|
|
47
|
-
const header = `Refusing to publish: ${unusedEntries.length} ${noun} in` +
|
|
48
|
-
` dependencyPolicy.allowMutableSpecifiers ${verb} not in use:`;
|
|
49
|
-
const lines = [
|
|
50
|
-
header,
|
|
51
|
-
...renderLines(unusedEntries, function (entry) {
|
|
52
|
-
return ` - "${entry}"`;
|
|
53
|
-
})
|
|
54
|
-
];
|
|
55
|
-
const footer = 'Remove unused entries — they reflect stale exceptions to the integrity policy.';
|
|
56
|
-
lines.push(footer);
|
|
57
|
-
return lines.join('\n');
|
|
58
|
-
}
|
|
59
1
|
//# sourceMappingURL=specifier-errors.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specifier-errors.js","sourceRoot":"","sources":["../../../../source/version-manager/specifier-errors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"specifier-errors.js","sourceRoot":"","sources":["../../../../source/version-manager/specifier-errors.ts"],"names":[],"mappings":""}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { Except } from 'type-fest';
|
|
2
2
|
import type { AnalyzedBundle } from '../dead-code-eliminator/analyzed-bundle.ts';
|
|
3
3
|
import type { AdditionalPackageJsonAttributes, MainPackageJson } from '../config/package-json.ts';
|
|
4
|
-
import type { PublishedPackage,
|
|
5
|
-
export type BundlePackageJson = PublishedPackageJson;
|
|
4
|
+
import type { PublishedPackage, PublishedPackageWithManifest } from '../published-package/published-package.ts';
|
|
6
5
|
type VersionedDependency = Pick<PublishedPackage, 'name' | 'version'>;
|
|
7
6
|
export type VersionedBundle = Except<PublishedPackage, 'contents'> & Pick<AnalyzedBundle, 'contents'>;
|
|
8
7
|
type VersionedBundleManifestFields = Pick<PublishedPackageWithManifest, 'manifestFile' | 'packageJson'>;
|
|
@@ -17,6 +16,5 @@ export type BuildVersionedBundleOptions = {
|
|
|
17
16
|
readonly allowMutableSpecifiers: readonly string[];
|
|
18
17
|
readonly substitutionPublicModuleSourcePaths?: ReadonlySet<string> | undefined;
|
|
19
18
|
};
|
|
20
|
-
export declare function buildVersionedBundle(options: BuildVersionedBundleOptions): VersionedBundle;
|
|
21
19
|
export {};
|
|
22
20
|
//# sourceMappingURL=versioned-bundle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versioned-bundle.d.ts","sourceRoot":"","sources":["../../../../source/version-manager/versioned-bundle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AACjF,OAAO,KAAK,EAAE,+BAA+B,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAClG,OAAO,KAAK,EACR,gBAAgB,EAChB,
|
|
1
|
+
{"version":3,"file":"versioned-bundle.d.ts","sourceRoot":"","sources":["../../../../source/version-manager/versioned-bundle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AACjF,OAAO,KAAK,EAAE,+BAA+B,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAClG,OAAO,KAAK,EACR,gBAAgB,EAChB,4BAC4B,EAC/B,MAAM,2CAA2C,CAAC;KAS9C,mBAAmB,GAAG,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;AAEtE,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,gBAAgB,EAAE,UAAU,CAAC,GAAG,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC,CAAC;AACtG,KAAK,6BAA6B,GAAG,IAAI,CAAC,4BAA4B,EAAE,cAAc,GAAG,aAAa,CAAC,CAAC;AACxG,MAAM,MAAM,2BAA2B,GAAG,eAAe,GAAG,6BAA6B,CAAC;AAE1F,MAAM,MAAM,2BAA2B,GAAG;IACtC,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;IAC1C,QAAQ,CAAC,kBAAkB,EAAE,SAAS,mBAAmB,EAAE,CAAC;IAC5D,QAAQ,CAAC,sBAAsB,EAAE,SAAS,mBAAmB,EAAE,CAAC;IAChE,QAAQ,CAAC,+BAA+B,EAAE,+BAA+B,CAAC;IAC1E,QAAQ,CAAC,sBAAsB,EAAE,SAAS,MAAM,EAAE,CAAC;IACnD,QAAQ,CAAC,mCAAmC,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CAClF,CAAC;AAEF"}
|
|
@@ -1,32 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
export function buildVersionedBundle(options) {
|
|
8
|
-
const { bundle, version, mainPackageJson, additionalPackageJsonAttributes } = options;
|
|
9
|
-
const distributedDependencies = distributeDependencies(options);
|
|
10
|
-
const importsField = buildImportsField(bundle, mainPackageJson);
|
|
11
|
-
const exportsField = buildExportsField(bundle, options.substitutionPublicModuleSourcePaths ?? new Set());
|
|
12
|
-
const binField = buildBinField(bundle);
|
|
13
|
-
const representativeRoot = resolveRepresentativeRoot(bundle);
|
|
14
|
-
const mainFile = representativeRoot.js;
|
|
15
|
-
const typesMainFile = representativeRoot.declarationFile;
|
|
16
|
-
return {
|
|
17
|
-
name: bundle.name,
|
|
18
|
-
version,
|
|
19
|
-
roots: bundle.roots,
|
|
20
|
-
surface: bundle.surface,
|
|
21
|
-
dependencies: distributedDependencies.dependencies,
|
|
22
|
-
peerDependencies: distributedDependencies.peerDependencies,
|
|
23
|
-
exportsField,
|
|
24
|
-
contents: bundle.contents,
|
|
25
|
-
mainFile,
|
|
26
|
-
additionalAttributes: additionalPackageJsonAttributes,
|
|
27
|
-
packageType: mainPackageJson.type,
|
|
28
|
-
sideEffectsField: bundle.sideEffectsField,
|
|
29
|
-
...buildOptionalVersionedBundleFields({ importsField, binField, typesMainFile })
|
|
30
|
-
};
|
|
31
|
-
}
|
|
1
|
+
import "../package-surface/bin-field.js";
|
|
2
|
+
import "../package-surface/export-map.js";
|
|
3
|
+
import "./optional-bundle-fields.js";
|
|
4
|
+
import "./representative-root.js";
|
|
5
|
+
import "./dependencies/versioned-bundle-dependencies.js";
|
|
6
|
+
import "./imports/versioned-bundle-imports.js";
|
|
32
7
|
//# sourceMappingURL=versioned-bundle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versioned-bundle.js","sourceRoot":"","sources":["../../../../source/version-manager/versioned-bundle.ts"],"names":[],"mappings":"AAQA,
|
|
1
|
+
{"version":3,"file":"versioned-bundle.js","sourceRoot":"","sources":["../../../../source/version-manager/versioned-bundle.ts"],"names":[],"mappings":"AAQA,OAA8B,iCAAiC,CAAC;AAChE,OAAkC,kCAAkC,CAAC;AACrE,OAAmD,6BAA6B,CAAC;AACjF,OAA0C,0BAA0B,CAAC;AACrE,OAAuC,iDAAiD,CAAC;AACzF,OAAkC,uCAAuC,CAAC"}
|
package/zip/zip-builder.js
CHANGED
|
@@ -1,85 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
const unixOperatingSystem = 3;
|
|
4
|
-
const executableUnixMode = 0o10_0755;
|
|
5
|
-
const nonExecutableUnixMode = 0o10_0644;
|
|
6
|
-
const highBytesScale = 65_536;
|
|
7
|
-
const maxCompressionLevel = 9;
|
|
1
|
+
import 'fflate';
|
|
2
|
+
import "../vendor-materializer/vendor-entry.js";
|
|
8
3
|
// 1980-01-01T12:00:00Z. Zip's DOS time format requires year >= 1980; the noon offset keeps
|
|
9
4
|
// `getFullYear()` at 1980 across all timezones. Kept as a plain literal so the module has no
|
|
10
5
|
// load-time side effects (tree-shake-friendly).
|
|
11
|
-
const staticFileModificationTimestamp = 315_576_000_000;
|
|
12
|
-
function externalAttributes(isExecutable) {
|
|
13
|
-
return (isExecutable ? executableUnixMode : nonExecutableUnixMode) * highBytesScale;
|
|
14
|
-
}
|
|
15
|
-
function asError(error) {
|
|
16
|
-
return error instanceof Error ? error : new Error(JSON.stringify(error));
|
|
17
|
-
}
|
|
18
|
-
function isUint8Array(value) {
|
|
19
|
-
return value instanceof Uint8Array;
|
|
20
|
-
}
|
|
21
|
-
function createZipFunction(zip) {
|
|
22
|
-
const zipValue = zip ?? fflateZip;
|
|
23
|
-
if (typeof zipValue !== 'function') {
|
|
24
|
-
throw new TypeError('fflate zip export is not callable');
|
|
25
|
-
}
|
|
26
|
-
return function (data, options, callback) {
|
|
27
|
-
Reflect.apply(zipValue, undefined, [data, options, callback]);
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
function buildFileEntry(payload, isExecutable) {
|
|
31
|
-
return [
|
|
32
|
-
payload,
|
|
33
|
-
{
|
|
34
|
-
os: unixOperatingSystem,
|
|
35
|
-
attrs: externalAttributes(isExecutable),
|
|
36
|
-
mtime: staticFileModificationTimestamp,
|
|
37
|
-
level: maxCompressionLevel
|
|
38
|
-
}
|
|
39
|
-
];
|
|
40
|
-
}
|
|
41
|
-
async function toFileMap(fileDescriptions, vendorEntries, fileManager) {
|
|
42
|
-
const fileMap = {};
|
|
43
|
-
const textEncoder = new TextEncoder();
|
|
44
|
-
for (const fileDescription of fileDescriptions) {
|
|
45
|
-
const encodedContent = textEncoder.encode(fileDescription.content);
|
|
46
|
-
fileMap[fileDescription.filePath] = buildFileEntry(encodedContent, fileDescription.isExecutable);
|
|
47
|
-
}
|
|
48
|
-
for (const vendorEntry of vendorEntries) {
|
|
49
|
-
await validateVendorEntrySource(fileManager, vendorEntry);
|
|
50
|
-
const payload = await fileManager.readFileBytes(vendorEntry.sourceAbsolutePath);
|
|
51
|
-
fileMap[vendorEntry.targetRelativePath] = buildFileEntry(payload, vendorEntry.isExecutable);
|
|
52
|
-
}
|
|
53
|
-
return fileMap;
|
|
54
|
-
}
|
|
55
|
-
export function createZipBuilder(dependencies = {}) {
|
|
56
|
-
const fileManager = dependencies.fileManager ?? {
|
|
57
|
-
async getRealPath(filePath) {
|
|
58
|
-
return filePath;
|
|
59
|
-
},
|
|
60
|
-
async readFileBytes() {
|
|
61
|
-
throw new Error('readFileBytes is required to materialize vendor entries into the zip');
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
const zip = createZipFunction(dependencies.zip);
|
|
65
|
-
return {
|
|
66
|
-
async build(fileDescriptions, vendorEntries = []) {
|
|
67
|
-
const fileMap = await toFileMap(fileDescriptions, vendorEntries, fileManager);
|
|
68
|
-
const data = await new Promise(function (resolve, reject) {
|
|
69
|
-
zip(fileMap, {}, function (error, zippedData) {
|
|
70
|
-
if (error === null || error === undefined) {
|
|
71
|
-
if (!isUint8Array(zippedData)) {
|
|
72
|
-
reject(new Error('fflate zip returned a non-binary payload'));
|
|
73
|
-
return;
|
|
74
|
-
}
|
|
75
|
-
resolve(zippedData);
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
78
|
-
reject(asError(error));
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
|
-
return Buffer.from(data);
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
6
|
//# sourceMappingURL=zip-builder.js.map
|
package/zip/zip-builder.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zip-builder.js","sourceRoot":"","sources":["../../../../source/zip/zip-builder.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"zip-builder.js","sourceRoot":"","sources":["../../../../source/zip/zip-builder.ts"],"names":[],"mappings":"AAAA,OAAiC,QAAQ,CAAC;AAG1C,OAA4D,wCAAwC,CAAC;AA+BrG,2FAA2F;AAC3F,6FAA6F;AAC7F,gDAAgD"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { FileDescription } from '../file-manager/file-description.ts';
|
|
2
|
-
import type { FileManager } from '../file-manager/file-manager.ts';
|
|
3
|
-
import type { ProgressBroadcastProvider } from '../progress/progress-broadcaster.ts';
|
|
4
|
-
import type { ArtifactSourcePackage } from '../published-package/published-package.ts';
|
|
5
|
-
import type { TarballBuilder } from '../tar/tarball-builder.ts';
|
|
6
|
-
import { type VendorEntry } from '../vendor-materializer/vendor-entry.ts';
|
|
7
|
-
import type { ZipBuilder } from '../zip/zip-builder.ts';
|
|
8
|
-
export type ArtifactsBuilderDependencies = {
|
|
9
|
-
readonly fileManager: FileManager;
|
|
10
|
-
readonly tarballBuilder: TarballBuilder;
|
|
11
|
-
readonly zipBuilder: ZipBuilder;
|
|
12
|
-
readonly progressBroadcaster: ProgressBroadcastProvider;
|
|
13
|
-
};
|
|
14
|
-
type TarballArtifact = {
|
|
15
|
-
readonly tarData: Buffer;
|
|
16
|
-
};
|
|
17
|
-
type ZipArtifact = {
|
|
18
|
-
readonly zipData: Buffer;
|
|
19
|
-
};
|
|
20
|
-
export type ArtifactsBuilder = {
|
|
21
|
-
collectContents: (bundle: ArtifactSourcePackage, prefix?: string, extraFiles?: readonly FileDescription[]) => readonly FileDescription[];
|
|
22
|
-
buildTarball: (bundle: ArtifactSourcePackage, extraFiles?: readonly FileDescription[], vendorEntries?: readonly VendorEntry[]) => Promise<TarballArtifact>;
|
|
23
|
-
buildZip: (bundle: ArtifactSourcePackage, extraFiles?: readonly FileDescription[], vendorEntries?: readonly VendorEntry[]) => Promise<ZipArtifact>;
|
|
24
|
-
buildFolder: (bundle: ArtifactSourcePackage, targetFolder: string, extraFiles?: readonly FileDescription[], vendorEntries?: readonly VendorEntry[]) => Promise<void>;
|
|
25
|
-
};
|
|
26
|
-
export declare function createArtifactsBuilder(dependencies: ArtifactsBuilderDependencies): ArtifactsBuilder;
|
|
27
|
-
export {};
|
|
28
|
-
//# sourceMappingURL=artifacts-builder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"artifacts-builder.d.ts","sourceRoot":"","sources":["../../../../source/artifacts/artifacts-builder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAEvF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAA4B,KAAK,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACpG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAIxD,MAAM,MAAM,4BAA4B,GAAG;IACvC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAClC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IACxC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;IAChC,QAAQ,CAAC,mBAAmB,EAAE,yBAAyB,CAAC;CAC3D,CAAC;AAEF,KAAK,eAAe,GAAG;IACnB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,KAAK,WAAW,GAAG;IACf,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC3B,eAAe,EAAE,CACb,MAAM,EAAE,qBAAqB,EAC7B,MAAM,CAAC,EAAE,MAAM,EACf,UAAU,CAAC,EAAE,SAAS,eAAe,EAAE,KACtC,SAAS,eAAe,EAAE,CAAC;IAChC,YAAY,EAAE,CACV,MAAM,EAAE,qBAAqB,EAC7B,UAAU,CAAC,EAAE,SAAS,eAAe,EAAE,EACvC,aAAa,CAAC,EAAE,SAAS,WAAW,EAAE,KACrC,OAAO,CAAC,eAAe,CAAC,CAAC;IAC9B,QAAQ,EAAE,CACN,MAAM,EAAE,qBAAqB,EAC7B,UAAU,CAAC,EAAE,SAAS,eAAe,EAAE,EACvC,aAAa,CAAC,EAAE,SAAS,WAAW,EAAE,KACrC,OAAO,CAAC,WAAW,CAAC,CAAC;IAC1B,WAAW,EAAE,CACT,MAAM,EAAE,qBAAqB,EAC7B,YAAY,EAAE,MAAM,EACpB,UAAU,CAAC,EAAE,SAAS,eAAe,EAAE,EACvC,aAAa,CAAC,EAAE,SAAS,WAAW,EAAE,KACrC,OAAO,CAAC,IAAI,CAAC,CAAC;CACtB,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,YAAY,EAAE,4BAA4B,GAAG,gBAAgB,CA2CnG"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type _npmFetch from 'npm-registry-fetch';
|
|
2
|
-
import type { MetadataAuthStrategy, PublishAuthStrategy, RegistrySettings } from '../../config/registry-settings.ts';
|
|
3
|
-
export declare const npmRegistryUrl = "https://registry.npmjs.org/";
|
|
4
|
-
export type NpmFetchOptions = Readonly<NonNullable<Parameters<typeof _npmFetch>[1]>>;
|
|
5
|
-
export type AuthResolution = {
|
|
6
|
-
readonly allowsAutomaticRetry: boolean;
|
|
7
|
-
readonly registry: string | undefined;
|
|
8
|
-
readonly options: NpmFetchOptions;
|
|
9
|
-
};
|
|
10
|
-
export declare function resolveRegistryUrl(registrySettings: Readonly<RegistrySettings>): string | undefined;
|
|
11
|
-
export declare function isNpmRegistry(registry: string | undefined): boolean;
|
|
12
|
-
export declare function resolvePublishAuth(registrySettings: Readonly<RegistrySettings>): PublishAuthStrategy;
|
|
13
|
-
export declare function createBaseOptions(registrySettings: Readonly<RegistrySettings>): NpmFetchOptions;
|
|
14
|
-
export declare function buildAuthOptions(auth: MetadataAuthStrategy, registrySettings: Readonly<RegistrySettings>): AuthResolution;
|
|
15
|
-
export declare function resolveMetadataAuthOptions(registrySettings: Readonly<RegistrySettings>): AuthResolution;
|
|
16
|
-
export declare function resolveStageListingAuthOptions(registrySettings: Readonly<RegistrySettings>): AuthResolution;
|
|
17
|
-
//# sourceMappingURL=registry-auth-config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"registry-auth-config.d.ts","sourceRoot":"","sources":["../../../../../source/bundle-emitter/registry/registry-auth-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,oBAAoB,CAAC;AAChD,OAAO,KAAK,EAER,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EACnB,MAAM,mCAAmC,CAAC;AAE3C,eAAO,MAAM,cAAc,gCAAgC,CAAC;AAE5D,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAErF,MAAM,MAAM,cAAc,GAAG;IACzB,QAAQ,CAAC,oBAAoB,EAAE,OAAO,CAAC;IACvC,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,OAAO,EAAE,eAAe,CAAC;CACrC,CAAC;AASF,wBAAgB,kBAAkB,CAAC,gBAAgB,EAAE,QAAQ,CAAC,gBAAgB,CAAC,GAAG,MAAM,GAAG,SAAS,CAEnG;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAGnE;AAKD,wBAAgB,kBAAkB,CAAC,gBAAgB,EAAE,QAAQ,CAAC,gBAAgB,CAAC,GAAG,mBAAmB,CAKpG;AAED,wBAAgB,iBAAiB,CAAC,gBAAgB,EAAE,QAAQ,CAAC,gBAAgB,CAAC,GAAG,eAAe,CAK/F;AAED,wBAAgB,gBAAgB,CAC5B,IAAI,EAAE,oBAAoB,EAC1B,gBAAgB,EAAE,QAAQ,CAAC,gBAAgB,CAAC,GAC7C,cAAc,CA4BhB;AA2CD,wBAAgB,0BAA0B,CAAC,gBAAgB,EAAE,QAAQ,CAAC,gBAAgB,CAAC,GAAG,cAAc,CAYvG;AAMD,wBAAgB,8BAA8B,CAAC,gBAAgB,EAAE,QAAQ,CAAC,gBAAgB,CAAC,GAAG,cAAc,CAiB3G"}
|
package/checks/check-runner.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { ChecksSettings, PackageChecksSettings, PackageConfigsByName } from '../config/config.ts';
|
|
2
|
-
import type { AnalyzedBundle } from '../dead-code-eliminator/analyzed-bundle.ts';
|
|
3
|
-
import type { PublishedPackageWithManifest } from '../published-package/published-package.ts';
|
|
4
|
-
import type { AllCheckRules } from './rules/registry.ts';
|
|
5
|
-
export type CheckRunnerDependencies = {
|
|
6
|
-
readonly rules: AllCheckRules;
|
|
7
|
-
};
|
|
8
|
-
type CheckRunnerInput = {
|
|
9
|
-
readonly bundles: readonly AnalyzedBundle[];
|
|
10
|
-
readonly publishedPackages: ReadonlyMap<string, PublishedPackageWithManifest> | undefined;
|
|
11
|
-
readonly settings: ChecksSettings | undefined;
|
|
12
|
-
readonly perPackageSettings: ReadonlyMap<string, PackageChecksSettings | undefined>;
|
|
13
|
-
readonly packageConfigs: PackageConfigsByName;
|
|
14
|
-
};
|
|
15
|
-
export type CheckRunner = (input: CheckRunnerInput) => Promise<readonly string[]>;
|
|
16
|
-
export declare function createCheckRunner(dependencies: CheckRunnerDependencies): CheckRunner;
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=check-runner.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"check-runner.d.ts","sourceRoot":"","sources":["../../../../source/checks/check-runner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACvG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AACjF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,MAAM,MAAM,uBAAuB,GAAG;IAClC,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;CACjC,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACpB,QAAQ,CAAC,OAAO,EAAE,SAAS,cAAc,EAAE,CAAC;IAC5C,QAAQ,CAAC,iBAAiB,EAAE,WAAW,CAAC,MAAM,EAAE,4BAA4B,CAAC,GAAG,SAAS,CAAC;IAC1F,QAAQ,CAAC,QAAQ,EAAE,cAAc,GAAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,kBAAkB,EAAE,WAAW,CAAC,MAAM,EAAE,qBAAqB,GAAG,SAAS,CAAC,CAAC;IACpF,QAAQ,CAAC,cAAc,EAAE,oBAAoB,CAAC;CACjD,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,KAAK,EAAE,gBAAgB,KAAK,OAAO,CAAC,SAAS,MAAM,EAAE,CAAC,CAAC;AAElF,wBAAgB,iBAAiB,CAAC,YAAY,EAAE,uBAAuB,GAAG,WAAW,CASpF"}
|
package/checks/rule.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { z, type ZodMiniType } from 'zod/mini';
|
|
2
|
-
import type { AnalyzedBundle } from '../dead-code-eliminator/analyzed-bundle.ts';
|
|
3
|
-
import type { PublishedPackageWithManifest } from '../published-package/published-package.ts';
|
|
4
|
-
export declare const enabledOnlyGlobalSchema: z.ZodMiniObject<{
|
|
5
|
-
enabled: z.ZodMiniBoolean<boolean>;
|
|
6
|
-
}, z.core.$strict>;
|
|
7
|
-
export declare const emptyPerPackageSchema: z.ZodMiniObject<{}, z.core.$strict>;
|
|
8
|
-
export declare const pathAllowListGlobalSchema: z.ZodMiniObject<{
|
|
9
|
-
allowList: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
10
|
-
enabled: z.ZodMiniBoolean<boolean>;
|
|
11
|
-
}, z.core.$strict>;
|
|
12
|
-
export declare const pathAllowListPerPackageSchema: z.ZodMiniObject<{
|
|
13
|
-
allowList: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
14
|
-
}, z.core.$strict>;
|
|
15
|
-
type RuleGlobalConfig = {
|
|
16
|
-
readonly enabled: boolean;
|
|
17
|
-
};
|
|
18
|
-
type MainPackageJsonShape = {
|
|
19
|
-
readonly dependencies?: Readonly<Record<string, string>> | undefined;
|
|
20
|
-
readonly devDependencies?: Readonly<Record<string, string>> | undefined;
|
|
21
|
-
readonly peerDependencies?: Readonly<Record<string, string>> | undefined;
|
|
22
|
-
};
|
|
23
|
-
export type RulePackageConfig = {
|
|
24
|
-
readonly bundleDependencies?: readonly string[] | undefined;
|
|
25
|
-
readonly bundlePeerDependencies?: readonly string[] | undefined;
|
|
26
|
-
readonly mainPackageJson?: MainPackageJsonShape | undefined;
|
|
27
|
-
};
|
|
28
|
-
export type RuleRunInput<TName extends string, TGlobal extends RuleGlobalConfig, TPerPackage> = {
|
|
29
|
-
readonly bundles: readonly AnalyzedBundle[];
|
|
30
|
-
readonly publishedPackages?: ReadonlyMap<string, PublishedPackageWithManifest> | undefined;
|
|
31
|
-
readonly settings: Readonly<Partial<Readonly<Record<TName, TGlobal | undefined>>>> | undefined;
|
|
32
|
-
readonly perPackageSettings: ReadonlyMap<string, Readonly<Partial<Readonly<Record<TName, TPerPackage | undefined>>>> | undefined>;
|
|
33
|
-
readonly packageConfigs?: Readonly<Record<string, RulePackageConfig>>;
|
|
34
|
-
};
|
|
35
|
-
export type CheckRuleDefinition<TName extends string, TGlobal extends RuleGlobalConfig, TPerPackage> = {
|
|
36
|
-
readonly name: TName;
|
|
37
|
-
readonly globalSchema: ZodMiniType<TGlobal>;
|
|
38
|
-
readonly perPackageSchema: ZodMiniType<TPerPackage>;
|
|
39
|
-
readonly run: (input: RuleRunInput<TName, TGlobal, TPerPackage>) => Promise<readonly string[]>;
|
|
40
|
-
};
|
|
41
|
-
export {};
|
|
42
|
-
//# sourceMappingURL=rule.d.ts.map
|
package/checks/rule.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rule.d.ts","sourceRoot":"","sources":["../../../../source/checks/rule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAE/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AACjF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AAE9F,eAAO,MAAM,uBAAuB;;kBAA2C,CAAC;AAChF,eAAO,MAAM,qBAAqB,qCAAqB,CAAC;AAMxD,eAAO,MAAM,yBAAyB;;;kBAGpC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;kBAAqC,CAAC;AAEhF,KAAK,gBAAgB,GAAG;IACpB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,KAAK,oBAAoB,GAAG;IACxB,QAAQ,CAAC,YAAY,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;IACrE,QAAQ,CAAC,eAAe,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;IACxE,QAAQ,CAAC,gBAAgB,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;CAC5E,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC5B,QAAQ,CAAC,kBAAkB,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IAC5D,QAAQ,CAAC,sBAAsB,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IAChE,QAAQ,CAAC,eAAe,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;CAC/D,CAAC;AAEF,MAAM,MAAM,YAAY,CAAC,KAAK,SAAS,MAAM,EAAE,OAAO,SAAS,gBAAgB,EAAE,WAAW,IAAI;IAC5F,QAAQ,CAAC,OAAO,EAAE,SAAS,cAAc,EAAE,CAAC;IAC5C,QAAQ,CAAC,iBAAiB,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,4BAA4B,CAAC,GAAG,SAAS,CAAC;IAC3F,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;IAC/F,QAAQ,CAAC,kBAAkB,EAAE,WAAW,CACpC,MAAM,EACN,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,EAAE,WAAW,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,CAClF,CAAC;IACF,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC,CAAC;CACzE,CAAC;AAEF,MAAM,MAAM,mBAAmB,CAAC,KAAK,SAAS,MAAM,EAAE,OAAO,SAAS,gBAAgB,EAAE,WAAW,IAAI;IACnG,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC;IACrB,QAAQ,CAAC,YAAY,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5C,QAAQ,CAAC,gBAAgB,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IACpD,QAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC,KAAK,EAAE,OAAO,EAAE,WAAW,CAAC,KAAK,OAAO,CAAC,SAAS,MAAM,EAAE,CAAC,CAAC;CAClG,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { CheckRuleDefinition } from '../rule.ts';
|
|
2
|
-
declare function ruleName(): 'maxBundleSize';
|
|
3
|
-
type RuleName = ReturnType<typeof ruleName>;
|
|
4
|
-
type GlobalConfig = {
|
|
5
|
-
readonly enabled: boolean;
|
|
6
|
-
readonly bytes?: number | undefined;
|
|
7
|
-
};
|
|
8
|
-
type PerPackageConfig = {
|
|
9
|
-
readonly bytes?: number | undefined;
|
|
10
|
-
};
|
|
11
|
-
export declare const maxBundleSizeRule: CheckRuleDefinition<RuleName, GlobalConfig, PerPackageConfig>;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=max-bundle-size.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"max-bundle-size.d.ts","sourceRoot":"","sources":["../../../../../source/checks/rules/max-bundle-size.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAgB,MAAM,YAAY,CAAC;AAEpE,iBAAS,QAAQ,IAAI,eAAe,CAEnC;AAID,KAAK,QAAQ,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC5C,KAAK,YAAY,GAAG;IAAE,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAAE,CAAC;AACxF,KAAK,gBAAgB,GAAG;IAAE,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAAE,CAAC;AAgDjE,eAAO,MAAM,iBAAiB,EAAE,mBAAmB,CAAC,QAAQ,EAAE,YAAY,EAAE,gBAAgB,CAW3F,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { z } from 'zod/mini';
|
|
2
|
-
import { type CheckRuleDefinition, emptyPerPackageSchema, enabledOnlyGlobalSchema } from '../rule.ts';
|
|
3
|
-
declare function ruleName(): 'noDevDependencyImports';
|
|
4
|
-
declare function globalSchema(): typeof enabledOnlyGlobalSchema;
|
|
5
|
-
declare function perPackageSchema(): typeof emptyPerPackageSchema;
|
|
6
|
-
type RuleName = ReturnType<typeof ruleName>;
|
|
7
|
-
type GlobalConfig = Readonly<z.infer<ReturnType<typeof globalSchema>>>;
|
|
8
|
-
type PerPackageConfig = Readonly<z.infer<ReturnType<typeof perPackageSchema>>>;
|
|
9
|
-
export declare const noDevDependencyImportsRule: CheckRuleDefinition<RuleName, GlobalConfig, PerPackageConfig>;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=no-dev-dependency-imports.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"no-dev-dependency-imports.d.ts","sourceRoot":"","sources":["../../../../../source/checks/rules/no-dev-dependency-imports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,EACH,KAAK,mBAAmB,EACxB,qBAAqB,EACrB,uBAAuB,EAG1B,MAAM,YAAY,CAAC;AAEpB,iBAAS,QAAQ,IAAI,wBAAwB,CAE5C;AAED,iBAAS,YAAY,IAAI,OAAO,uBAAuB,CAEtD;AAED,iBAAS,gBAAgB,IAAI,OAAO,qBAAqB,CAExD;AAED,KAAK,QAAQ,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC5C,KAAK,YAAY,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC;AACvE,KAAK,gBAAgB,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC;AAuC/E,eAAO,MAAM,0BAA0B,EAAE,mBAAmB,CAAC,QAAQ,EAAE,YAAY,EAAE,gBAAgB,CAWpG,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { z } from 'zod/mini';
|
|
2
|
-
import { type CheckRuleDefinition, pathAllowListGlobalSchema, pathAllowListPerPackageSchema } from '../rule.ts';
|
|
3
|
-
declare function ruleName(): 'noDuplicatedFiles';
|
|
4
|
-
declare function globalSchema(): typeof pathAllowListGlobalSchema;
|
|
5
|
-
declare function perPackageSchema(): typeof pathAllowListPerPackageSchema;
|
|
6
|
-
type RuleName = ReturnType<typeof ruleName>;
|
|
7
|
-
type GlobalConfig = Readonly<z.infer<ReturnType<typeof globalSchema>>>;
|
|
8
|
-
type PerPackageConfig = Readonly<z.infer<ReturnType<typeof perPackageSchema>>>;
|
|
9
|
-
export declare const noDuplicatedFilesRule: CheckRuleDefinition<RuleName, GlobalConfig, PerPackageConfig>;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=no-duplicated-files.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"no-duplicated-files.d.ts","sourceRoot":"","sources":["../../../../../source/checks/rules/no-duplicated-files.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,EACH,KAAK,mBAAmB,EACxB,yBAAyB,EACzB,6BAA6B,EAEhC,MAAM,YAAY,CAAC;AAIpB,iBAAS,QAAQ,IAAI,mBAAmB,CAEvC;AAED,iBAAS,YAAY,IAAI,OAAO,yBAAyB,CAExD;AAED,iBAAS,gBAAgB,IAAI,OAAO,6BAA6B,CAEhE;AAED,KAAK,QAAQ,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC5C,KAAK,YAAY,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC;AACvE,KAAK,gBAAgB,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC;AA2C/E,eAAO,MAAM,qBAAqB,EAAE,mBAAmB,CAAC,QAAQ,EAAE,YAAY,EAAE,gBAAgB,CAW/F,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { z } from 'zod/mini';
|
|
2
|
-
import { type CheckRuleDefinition } from '../rule.ts';
|
|
3
|
-
declare const ruleName = "noSideEffects";
|
|
4
|
-
declare const globalSchema: z.ZodMiniObject<{
|
|
5
|
-
allowList: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
6
|
-
enabled: z.ZodMiniBoolean<boolean>;
|
|
7
|
-
}, z.core.$strict>;
|
|
8
|
-
declare const perPackageSchema: z.ZodMiniObject<{
|
|
9
|
-
allowList: 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 noSideEffectsRule: CheckRuleDefinition<typeof ruleName, GlobalConfig, PerPackageConfig>;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=no-side-effects.d.ts.map
|