@ng-doc/builder 22.0.0-beta.2 → 22.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -28
- package/application/index.js +2 -2
- package/application/index.js.map +1 -1
- package/application/schema.json +1 -2
- package/builders.json +23 -13
- package/classes/observable-map.d.ts +1 -0
- package/classes/observable-map.js +14 -3
- package/classes/observable-map.js.map +1 -1
- package/classes/observable-set.js +2 -1
- package/classes/observable-set.js.map +1 -1
- package/dev-server/index.js +5 -3
- package/dev-server/index.js.map +1 -1
- package/engine/builders/api-list/api-list-component.builder.js +4 -4
- package/engine/builders/api-list/api-list-component.builder.js.map +1 -1
- package/engine/builders/api-list/api-page-template.builder.js +2 -2
- package/engine/builders/api-list/api-page-template.builder.js.map +1 -1
- package/engine/builders/global/keywords.builder.d.ts +1 -4
- package/engine/builders/global/keywords.builder.js +5 -9
- package/engine/builders/global/keywords.builder.js.map +1 -1
- package/engine/builders/global/search-indexes.builder.js +1 -1
- package/engine/builders/global/search-indexes.builder.js.map +1 -1
- package/engine/builders/helpers/create-entry-metadata.js +2 -1
- package/engine/builders/helpers/create-entry-metadata.js.map +1 -1
- package/engine/builders/helpers/create-import-path.js.map +1 -1
- package/engine/builders/helpers/get-entry-relative-path.js.map +1 -1
- package/engine/builders/helpers/get-playground-metadata.js +7 -1
- package/engine/builders/helpers/get-playground-metadata.js.map +1 -1
- package/engine/builders/page/demo-assets.builder.js +10 -5
- package/engine/builders/page/demo-assets.builder.js.map +1 -1
- package/engine/builders/page/playground.builder.js +1 -0
- package/engine/builders/page/playground.builder.js.map +1 -1
- package/engine/builders/shared/content.builder.js +5 -3
- package/engine/builders/shared/content.builder.js.map +1 -1
- package/engine/builders/shared/page-component.builder.js +16 -6
- package/engine/builders/shared/page-component.builder.js.map +1 -1
- package/engine/builders/shared/page-wrapper.builder.js +10 -5
- package/engine/builders/shared/page-wrapper.builder.js.map +1 -1
- package/engine/core/operators/distinct-pending.js.map +1 -1
- package/engine/core/operators/factory.js +1 -4
- package/engine/core/operators/factory.js.map +1 -1
- package/engine/core/operators/merge-factory.js +19 -17
- package/engine/core/operators/merge-factory.js.map +1 -1
- package/engine/core/operators/when-builders-done.js.map +1 -1
- package/engine/core/triggers/on-dependencies-change.d.ts +1 -1
- package/engine/core/triggers/on-dependencies-change.js +2 -2
- package/engine/core/triggers/on-dependencies-change.js.map +1 -1
- package/generator/artifacts/index.d.ts +317 -0
- package/generator/bootstrap/bin.d.ts +18 -0
- package/generator/bootstrap/bin.js +7298 -0
- package/generator/bootstrap/candidate-output-committer.d.ts +12 -0
- package/generator/bootstrap/cli.d.ts +42 -0
- package/generator/bootstrap/cli.js +7147 -0
- package/generator/bootstrap/constants.d.ts +4 -0
- package/generator/bootstrap/index.d.ts +111 -0
- package/generator/bootstrap/index.js +5034 -0
- package/generator/bootstrap/prerender-command.d.ts +31 -0
- package/generator/bootstrap/process-tree.d.ts +49 -0
- package/generator/build-metafile.json +12009 -0
- package/generator/build-provenance.json +121 -0
- package/generator/compiler/assemble.d.ts +41 -0
- package/generator/compiler/classify.d.ts +161 -0
- package/generator/compiler/closure-store.d.ts +55 -0
- package/generator/compiler/common.d.ts +32 -0
- package/generator/compiler/describe.d.ts +21 -0
- package/generator/compiler/dry-run.d.ts +108 -0
- package/generator/compiler/fast-start.d.ts +104 -0
- package/generator/compiler/fold.d.ts +116 -0
- package/generator/compiler/index.d.ts +131 -0
- package/generator/compiler/index.js +19009 -0
- package/generator/compiler/link.d.ts +38 -0
- package/generator/compiler/memo.d.ts +44 -0
- package/generator/compiler/plan.d.ts +116 -0
- package/generator/compiler/progress.d.ts +54 -0
- package/generator/compiler/render.d.ts +27 -0
- package/generator/compiler/retention.d.ts +181 -0
- package/generator/compiler/semantic-closure.d.ts +46 -0
- package/generator/compiler/targeted.d.ts +280 -0
- package/generator/content/code-snippet.d.ts +20 -0
- package/generator/content/content-compiler.d.ts +122 -0
- package/generator/content/format-cache.d.ts +108 -0
- package/generator/content/highlight-cache.d.ts +115 -0
- package/generator/content/html-pipeline.d.ts +179 -0
- package/generator/content/html-pool.d.ts +245 -0
- package/generator/content/html-worker.js +2181 -0
- package/generator/content-module-ids.d.ts +8 -0
- package/generator/contracts.d.ts +1102 -0
- package/generator/contracts.js +15 -0
- package/generator/discovery/index.d.ts +79 -0
- package/generator/graph/index.d.ts +211 -0
- package/generator/graph/unit-index.d.ts +216 -0
- package/generator/kernel/canonical.d.ts +57 -0
- package/generator/kernel/flags.d.ts +51 -0
- package/generator/kernel/footprint.d.ts +88 -0
- package/generator/kernel/observations.d.ts +68 -0
- package/generator/kernel/paths.d.ts +22 -0
- package/generator/kernel/runtime-identity.d.ts +11 -0
- package/generator/outputs/index.d.ts +80 -0
- package/generator/package.json +3 -0
- package/generator/progress/ci.d.ts +22 -0
- package/generator/progress/detect.d.ts +60 -0
- package/generator/progress/events.d.ts +126 -0
- package/generator/progress/format.d.ts +83 -0
- package/generator/progress/gate.d.ts +49 -0
- package/generator/progress/host.d.ts +29 -0
- package/generator/progress/lines.d.ts +42 -0
- package/generator/progress/live.d.ts +115 -0
- package/generator/progress/model.d.ts +85 -0
- package/generator/progress/reporter.d.ts +87 -0
- package/generator/progress/settings.d.ts +60 -0
- package/generator/semantic/angular.d.ts +29 -0
- package/generator/semantic/api-enumeration.d.ts +19 -0
- package/generator/semantic/api-summary.d.ts +33 -0
- package/generator/semantic/dependencies.d.ts +20 -0
- package/generator/semantic/derived-classes.d.ts +58 -0
- package/generator/semantic/documentation-cache.d.ts +23 -0
- package/generator/semantic/formatting.d.ts +27 -0
- package/generator/semantic/fragments.d.ts +37 -0
- package/generator/semantic/owned-roots.d.ts +59 -0
- package/generator/semantic/program-builder.d.ts +55 -0
- package/generator/semantic/program-index.d.ts +124 -0
- package/generator/semantic/program-inputs.d.ts +26 -0
- package/generator/semantic/program-observations.d.ts +158 -0
- package/generator/semantic/program-retention.d.ts +147 -0
- package/generator/semantic/program-state.d.ts +196 -0
- package/generator/semantic/program-verify.d.ts +22 -0
- package/generator/semantic/recorder.d.ts +89 -0
- package/generator/semantic/rendering.d.ts +34 -0
- package/generator/semantic/semantic-closure.d.ts +129 -0
- package/generator/semantic/semantic-service.d.ts +186 -0
- package/generator/semantic/type-text.d.ts +5 -0
- package/generator/session/build-session.d.ts +206 -0
- package/generator/session/input-verification.d.ts +38 -0
- package/generator/session/parcel-event-source.d.ts +22 -0
- package/generator/session/progress.d.ts +72 -0
- package/generator/session/unchanged-saves.d.ts +63 -0
- package/generator/session/watch-inputs.d.ts +6 -0
- package/generator/session/watch-signals.d.ts +10 -0
- package/generator/templates/api/base.html.nunj +26 -0
- package/generator/templates/api/class-declaration.html.nunj +59 -0
- package/generator/templates/api/details/class-declaration.html.nunj +47 -0
- package/generator/templates/api/details/enum-declaration.html.nunj +0 -0
- package/generator/templates/api/details/function-declaration.html.nunj +14 -0
- package/generator/templates/api/details/helpers/decorators.html.nunj +14 -0
- package/generator/templates/api/details/helpers/extends.html.nunj +6 -0
- package/generator/templates/api/details/helpers/selectors.html.nunj +12 -0
- package/generator/templates/api/details/helpers/type-parameters.html.nunj +14 -0
- package/generator/templates/api/details/interface-declaration.html.nunj +27 -0
- package/generator/templates/api/details/type-alias-declaration.html.nunj +14 -0
- package/generator/templates/api/details/variable-declaration.html.nunj +0 -0
- package/generator/templates/api/details.html.nunj +9 -0
- package/generator/templates/api/enum-declaration.html.nunj +12 -0
- package/generator/templates/api/function-declaration.html.nunj +35 -0
- package/generator/templates/api/interface-declaration.html.nunj +37 -0
- package/generator/templates/api/type-alias-declaration.html.nunj +16 -0
- package/generator/templates/api/variable-declaration.html.nunj +8 -0
- package/generator/templates/api-header.html.nunj +11 -0
- package/generator/templates/api-list.ts.nunj +22 -0
- package/generator/templates/api-page-content.html.nunj +1 -0
- package/generator/templates/api-scope.ts.nunj +22 -0
- package/generator/templates/category.ts.nunj +22 -0
- package/generator/templates/code.html.nunj +3 -0
- package/generator/templates/context.ts.nunj +55 -0
- package/generator/templates/demo-app.ts.nunj +37 -0
- package/generator/templates/demo-assets.ts.nunj +25 -0
- package/generator/templates/demo-routes.ts.nunj +23 -0
- package/generator/templates/helpers/accessor.html.nunj +76 -0
- package/generator/templates/helpers/accessors.html.nunj +7 -0
- package/generator/templates/helpers/badge.html.nunj +4 -0
- package/generator/templates/helpers/call-signature.html.nunj +70 -0
- package/generator/templates/helpers/code.html.nunj +3 -0
- package/generator/templates/helpers/constructor.html.nunj +32 -0
- package/generator/templates/helpers/declaration-modifiers.html.nunj +45 -0
- package/generator/templates/helpers/decorators.html.nunj +11 -0
- package/generator/templates/helpers/members.html.nunj +29 -0
- package/generator/templates/helpers/method.html.nunj +89 -0
- package/generator/templates/helpers/methods.html.nunj +7 -0
- package/generator/templates/helpers/modifier.html.nunj +4 -0
- package/generator/templates/helpers/no-content.html.nunj +3 -0
- package/generator/templates/helpers/overload.html.nunj +57 -0
- package/generator/templates/helpers/parameters.html.nunj +44 -0
- package/generator/templates/helpers/properties.html.nunj +61 -0
- package/generator/templates/helpers/status.html.nunj +33 -0
- package/generator/templates/helpers/tag.html.nunj +4 -0
- package/generator/templates/helpers/type.html.nunj +11 -0
- package/generator/templates/index.ts.nunj +7 -0
- package/generator/templates/page-header.html.nunj +5 -0
- package/generator/templates/page-wrapper.ts.nunj +69 -0
- package/generator/templates/page.ts.nunj +104 -0
- package/generator/templates/parts/examples.html.nunj +11 -0
- package/generator/templates/parts/member-examples.html.nunj +12 -0
- package/generator/templates/parts/member-remarks.html.nunj +8 -0
- package/generator/templates/parts/page-tags.html.nunj +10 -0
- package/generator/templates/parts/remarks.html.nunj +10 -0
- package/generator/templates/parts/see-also.html.nunj +23 -0
- package/generator/templates/parts/usage-notes.html.nunj +8 -0
- package/generator/templates/playgrounds.ts.nunj +63 -0
- package/generator/templates/routes.ts.nunj +53 -0
- package/generator/templates/symbol/decorators.html.nunj +12 -0
- package/generator/templates/symbol/details.html.nunj +62 -0
- package/generator/templates/symbol/extended-by.html.nunj +17 -0
- package/generator/templates/symbol/header.html.nunj +22 -0
- package/generator/templates/symbol/members.html.nunj +303 -0
- package/generator/templates/symbol/page.html.nunj +76 -0
- package/generator/templates/symbol/see-also.html.nunj +16 -0
- package/generator/vite/angular/ANALOG-LICENSE +21 -0
- package/generator/vite/angular/analog-provenance.json +880 -0
- package/generator/vite/angular/index.d.ts +14 -0
- package/generator/vite/angular/index.js +7300 -0
- package/generator/vite/angular-compatibility.d.ts +6 -0
- package/generator/vite/angular-composition.d.ts +68 -0
- package/generator/vite/angular-version.d.ts +38 -0
- package/generator/vite/application-builder.js +336 -0
- package/generator/vite/application-builder.schema.json +46 -0
- package/generator/vite/application.d.ts +105 -0
- package/generator/vite/assets.d.ts +11 -0
- package/generator/vite/bounded-close.d.ts +33 -0
- package/generator/vite/component-updates.d.ts +21 -0
- package/generator/vite/configuration.d.ts +3 -0
- package/generator/vite/demo-application.d.ts +34 -0
- package/generator/vite/dev-server-builder.js +339 -0
- package/generator/vite/dev-server-builder.schema.json +27 -0
- package/generator/vite/dev-styles.d.ts +65 -0
- package/generator/vite/diagnostics.d.ts +4 -0
- package/generator/vite/external-probes.d.ts +40 -0
- package/generator/vite/host-updates.d.ts +212 -0
- package/generator/vite/index.d.ts +13 -0
- package/generator/vite/index.js +11949 -0
- package/generator/vite/lease.d.ts +6 -0
- package/generator/vite/lifecycle.d.ts +120 -0
- package/generator/vite/mime.d.ts +2 -0
- package/generator/vite/missing-paths.d.ts +44 -0
- package/generator/vite/options.d.ts +87 -0
- package/generator/vite/output-watch.d.ts +41 -0
- package/generator/vite/paths.d.ts +7 -0
- package/generator/vite/plugin.d.ts +3 -0
- package/generator/vite/prerender-entry.js +465 -0
- package/generator/vite/prerender-runtime.d.ts +79 -0
- package/generator/vite/prerender.d.ts +29 -0
- package/generator/vite/production.d.ts +66 -0
- package/generator/vite/progress.d.ts +33 -0
- package/generator/vite/restore-theme.js +13 -0
- package/generator/vite/route-inventory.d.ts +24 -0
- package/generator/vite/ssr-renderer-control.d.ts +1 -0
- package/generator/vite/ssr-renderer-entry.js +444 -0
- package/generator/vite/ssr-renderer-protocol.d.ts +101 -0
- package/generator/vite/ssr-renderer.d.ts +74 -0
- package/generator/vite/theme-index.d.ts +13 -0
- package/generator/vite/tsconfig-paths.d.ts +64 -0
- package/generator/vite/vite-event-source.d.ts +198 -0
- package/generator/vite/vite-version.d.ts +26 -0
- package/generator/vite/watch-inputs.d.ts +39 -0
- package/generator/worker/entry.d.ts +1 -0
- package/generator/worker/entry.js +614 -0
- package/generator/worker/index.d.ts +156 -0
- package/generator/worker/index.js +1030 -0
- package/generator/worker/protocol.d.ts +160 -0
- package/helpers/angular/get-component-decorator.js +6 -6
- package/helpers/angular/get-component-decorator.js.map +1 -1
- package/helpers/angular/get-directive-decorator.js +3 -3
- package/helpers/angular/get-directive-decorator.js.map +1 -1
- package/helpers/angular/get-pipe-decorator.js +3 -3
- package/helpers/angular/get-pipe-decorator.js.map +1 -1
- package/helpers/build-indexes.js +5 -2
- package/helpers/build-indexes.js.map +1 -1
- package/helpers/construct-page-keyword.js +2 -1
- package/helpers/construct-page-keyword.js.map +1 -1
- package/helpers/extract-selectors.d.ts +1 -1
- package/helpers/extract-selectors.js +5 -3
- package/helpers/extract-selectors.js.map +1 -1
- package/helpers/filter-useless-members.d.ts +1 -1
- package/helpers/format-cache.d.ts +34 -0
- package/helpers/format-cache.js +26 -0
- package/helpers/format-cache.js.map +1 -0
- package/helpers/format-code.d.ts +2 -1
- package/helpers/format-code.js +20 -4
- package/helpers/format-code.js.map +1 -1
- package/helpers/import-fresh-esm.js.map +1 -1
- package/helpers/index.d.ts +2 -0
- package/helpers/index.js +2 -0
- package/helpers/index.js.map +1 -1
- package/helpers/keyword-heading-title.d.ts +7 -0
- package/helpers/keyword-heading-title.js +21 -0
- package/helpers/keyword-heading-title.js.map +1 -0
- package/helpers/markdown-to-html.js +3 -3
- package/helpers/markdown-to-html.js.map +1 -1
- package/helpers/navigation-title-order.d.ts +8 -0
- package/helpers/navigation-title-order.js +15 -0
- package/helpers/navigation-title-order.js.map +1 -0
- package/helpers/playground/get-playground-inputs.js +8 -4
- package/helpers/playground/get-playground-inputs.js.map +1 -1
- package/helpers/playground/get-playground-template-inputs.js +2 -1
- package/helpers/playground/get-playground-template-inputs.js.map +1 -1
- package/helpers/presentation.d.ts +7 -7
- package/helpers/presentation.js +23 -23
- package/helpers/presentation.js.map +1 -1
- package/helpers/print.js +32 -5
- package/helpers/print.js.map +1 -1
- package/helpers/process-snippets.d.ts +1 -1
- package/helpers/process-snippets.js +3 -3
- package/helpers/process-snippets.js.map +1 -1
- package/helpers/snippets-from-asset.d.ts +1 -1
- package/helpers/snippets-from-asset.js +2 -2
- package/helpers/snippets-from-asset.js.map +1 -1
- package/helpers/sort-navigation-entities.js +2 -1
- package/helpers/sort-navigation-entities.js.map +1 -1
- package/helpers/stable-generated-id.d.ts +2 -0
- package/helpers/stable-generated-id.js +12 -0
- package/helpers/stable-generated-id.js.map +1 -0
- package/helpers/text-order.d.ts +8 -0
- package/helpers/text-order.js +26 -0
- package/helpers/text-order.js.map +1 -0
- package/helpers/to-template-string.d.ts +5 -1
- package/helpers/to-template-string.js +7 -2
- package/helpers/to-template-string.js.map +1 -1
- package/helpers/typescript/member/get-inherited-parent.d.ts +1 -1
- package/helpers/typescript/member/get-inherited-parent.js +2 -2
- package/helpers/typescript/member/get-inherited-parent.js.map +1 -1
- package/helpers/typescript/node/sort-by-nodes-name.d.ts +4 -2
- package/helpers/typescript/node/sort-by-nodes-name.js +6 -3
- package/helpers/typescript/node/sort-by-nodes-name.js.map +1 -1
- package/helpers/typescript/property/get-property-assignment.js.map +1 -1
- package/interfaces/code-block-options.d.ts +5 -0
- package/interfaces/configuration.d.ts +84 -1
- package/package.json +87 -29
- package/parsers/helpers/number.d.ts +1 -1
- package/parsers/helpers/number.js +2 -2
- package/parsers/helpers/number.js.map +1 -1
- package/parsers/helpers/param-value.d.ts +1 -1
- package/parsers/helpers/param-value.js +2 -2
- package/parsers/helpers/param-value.js.map +1 -1
- package/parsers/helpers/param.js +3 -3
- package/parsers/helpers/param.js.map +1 -1
- package/parsers/parse-code-block-params.d.ts +11 -2
- package/parsers/parse-code-block-params.js +50 -18
- package/parsers/parse-code-block-params.js.map +1 -1
- package/parsers/parse-snippet.js +10 -10
- package/parsers/parse-snippet.js.map +1 -1
- package/schematics/collection.json +34 -23
- package/schematics/migrate-to-vite/analyze.d.ts +76 -0
- package/schematics/migrate-to-vite/analyze.js +859 -0
- package/schematics/migrate-to-vite/analyze.js.map +1 -0
- package/schematics/migrate-to-vite/index.d.ts +9 -0
- package/schematics/migrate-to-vite/index.js +585 -0
- package/schematics/migrate-to-vite/index.js.map +1 -0
- package/schematics/migrate-to-vite/legacy-folder.d.ts +84 -0
- package/schematics/migrate-to-vite/legacy-folder.js +340 -0
- package/schematics/migrate-to-vite/legacy-folder.js.map +1 -0
- package/schematics/migrate-to-vite/report.d.ts +32 -0
- package/schematics/migrate-to-vite/report.js +97 -0
- package/schematics/migrate-to-vite/report.js.map +1 -0
- package/schematics/migrate-to-vite/schema.d.ts +13 -0
- package/schematics/migrate-to-vite/schema.js +3 -0
- package/schematics/migrate-to-vite/schema.js.map +1 -0
- package/schematics/migrate-to-vite/schema.json +31 -0
- package/schematics/migrate-to-vite/setup/dependencies.d.ts +64 -0
- package/schematics/migrate-to-vite/setup/dependencies.js +183 -0
- package/schematics/migrate-to-vite/setup/dependencies.js.map +1 -0
- package/schematics/migrate-to-vite/setup/index.d.ts +6 -0
- package/schematics/migrate-to-vite/setup/index.js +13 -0
- package/schematics/migrate-to-vite/setup/index.js.map +1 -0
- package/schematics/migrate-to-vite/setup/json-file.d.ts +51 -0
- package/schematics/migrate-to-vite/setup/json-file.js +115 -0
- package/schematics/migrate-to-vite/setup/json-file.js.map +1 -0
- package/schematics/migrate-to-vite/setup/source.d.ts +30 -0
- package/schematics/migrate-to-vite/setup/source.js +202 -0
- package/schematics/migrate-to-vite/setup/source.js.map +1 -0
- package/schematics/migrate-to-vite/setup/targets.d.ts +51 -0
- package/schematics/migrate-to-vite/setup/targets.js +48 -0
- package/schematics/migrate-to-vite/setup/targets.js.map +1 -0
- package/schematics/migrate-to-vite/setup/vite-config.d.ts +100 -0
- package/schematics/migrate-to-vite/setup/vite-config.js +175 -0
- package/schematics/migrate-to-vite/setup/vite-config.js.map +1 -0
- package/schematics/migrate-to-vite/setup/workspace.d.ts +105 -0
- package/schematics/migrate-to-vite/setup/workspace.js +245 -0
- package/schematics/migrate-to-vite/setup/workspace.js.map +1 -0
- package/schematics/migrate-to-vite/state.d.ts +65 -0
- package/schematics/migrate-to-vite/state.js +92 -0
- package/schematics/migrate-to-vite/state.js.map +1 -0
- package/schematics/migrate-to-vite/testing/fixtures.d.ts +30 -0
- package/schematics/migrate-to-vite/testing/fixtures.js +306 -0
- package/schematics/migrate-to-vite/testing/fixtures.js.map +1 -0
- package/schematics/migrate-to-vite/update-note.d.ts +6 -0
- package/schematics/migrate-to-vite/update-note.js +23 -0
- package/schematics/migrate-to-vite/update-note.js.map +1 -0
- package/schematics/migration.json +5 -0
- package/schematics/migrations/standalone-pages/index.js +7 -6
- package/schematics/migrations/standalone-pages/index.js.map +1 -1
- package/schematics/vite-setup/index.d.ts +24 -0
- package/schematics/vite-setup/index.js +212 -0
- package/schematics/vite-setup/index.js.map +1 -0
- package/schematics/vite-setup/schema.d.ts +7 -0
- package/schematics/vite-setup/schema.js +3 -0
- package/schematics/vite-setup/schema.js.map +1 -0
- package/schematics/vite-setup/schema.json +19 -0
- package/scripts/restore-theme.js +9 -2
- package/templates/api/class-declaration.html.nunj +5 -3
- package/templates/context.ts.nunj +3 -0
- package/templates/demo-app.ts.nunj +37 -0
- package/templates/demo-routes.ts.nunj +23 -0
- package/templates/helpers/badge.html.nunj +1 -1
- package/templates/helpers/status.html.nunj +4 -8
- package/templates/index.ts.nunj +5 -0
- package/templates/page-wrapper.ts.nunj +30 -2
- package/templates/page.ts.nunj +33 -1
- package/templates/parts/page-tags.html.nunj +1 -1
- package/templates/playgrounds.ts.nunj +8 -9
- package/templates/routes.ts.nunj +10 -1
- package/templates/symbol/decorators.html.nunj +12 -0
- package/templates/symbol/details.html.nunj +62 -0
- package/templates/symbol/extended-by.html.nunj +17 -0
- package/templates/symbol/header.html.nunj +22 -0
- package/templates/symbol/members.html.nunj +303 -0
- package/templates/symbol/page.html.nunj +76 -0
- package/templates/symbol/see-also.html.nunj +16 -0
- package/engine/.cache/apps/ng-doc/docs/api-documentation/auto-generation/ng-doc.page.mjs +0 -20
- package/engine/.cache/apps/ng-doc/docs/api-documentation/documenting-declarations/ng-doc.page.mjs +0 -20
- package/engine/.cache/apps/ng-doc/docs/api-documentation/rendering-api/ng-doc.page.mjs +0 -19
- package/engine/.cache/apps/ng-doc/docs/customization/icons/ng-doc.page.mjs +0 -19
- package/engine/.cache/apps/ng-doc/docs/customization/layout/ng-doc.page.mjs +0 -19
- package/engine/.cache/apps/ng-doc/docs/customization/page-processors/ng-doc.page.mjs +0 -19
- package/engine/.cache/apps/ng-doc/docs/customization/page-skeleton/ng-doc.page.mjs +0 -19
- package/engine/.cache/apps/ng-doc/docs/customization/search/ng-doc.page.mjs +0 -19
- package/engine/.cache/apps/ng-doc/docs/customization/themes/ng-doc.page.mjs +0 -19
- package/engine/.cache/apps/ng-doc/docs/develop/ng-doc.page.mjs +0 -36
- package/engine/.cache/apps/ng-doc/docs/getting-started/configuration/ng-doc.page.mjs +0 -19
- package/engine/.cache/apps/ng-doc/docs/getting-started/installation/ng-doc.page.mjs +0 -19
- package/engine/.cache/apps/ng-doc/docs/getting-started/migrations/ng-doc.page.mjs +0 -18
- package/engine/.cache/apps/ng-doc/docs/getting-started/ssr/ng-doc.page.mjs +0 -19
- package/engine/.cache/apps/ng-doc/docs/getting-started/what-is-ng-doc/ng-doc.page.mjs +0 -19
- package/engine/.cache/apps/ng-doc/docs/ng-doc.api.mjs +0 -42
- package/engine/.cache/apps/ng-doc/docs/recipes/ignoring-file-lines/ng-doc.page.mjs +0 -18
- package/engine/.cache/apps/ng-doc/docs/recipes/performance/ng-doc.page.mjs +0 -19
- package/engine/.cache/apps/ng-doc/docs/writing-content/blockquotes/ng-doc.page.mjs +0 -18
- package/engine/.cache/apps/ng-doc/docs/writing-content/code-blocks/ng-doc.page.mjs +0 -18
- package/engine/.cache/apps/ng-doc/docs/writing-content/demo-and-demo-pane/ng-doc.page.mjs +0 -19
- package/engine/.cache/apps/ng-doc/docs/writing-content/images-videos-and-embeds/ng-doc.page.mjs +0 -18
- package/engine/.cache/apps/ng-doc/docs/writing-content/keywords/ng-doc.page.mjs +0 -17
- package/engine/.cache/apps/ng-doc/docs/writing-content/mermaid-diagrams/ng-doc.page.mjs +0 -18
- package/engine/.cache/apps/ng-doc/docs/writing-content/nunjucks/ng-doc.page.mjs +0 -18
- package/engine/.cache/apps/ng-doc/docs/writing-content/pages-and-categories/ng-doc.page.mjs +0 -18
- package/engine/.cache/apps/ng-doc/docs/writing-content/playground/ng-doc.page.mjs +0 -33
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import ts from 'typescript';
|
|
2
|
+
import type { Plugin } from 'vite';
|
|
3
|
+
/** The name of the plugin that resolves the `paths` of the application's tsconfig. */
|
|
4
|
+
export declare const NG_DOC_TSCONFIG_PATHS_PLUGIN = "@ng-doc/vite:tsconfig-paths";
|
|
5
|
+
/** The `tsconfig` option of the Analog Angular plugin. */
|
|
6
|
+
export type AngularTsconfigOption = string | (() => string) | undefined;
|
|
7
|
+
interface Pattern {
|
|
8
|
+
readonly prefix: string;
|
|
9
|
+
readonly suffix: string;
|
|
10
|
+
}
|
|
11
|
+
/** The `paths` of one tsconfig, with everything a resolution needs. */
|
|
12
|
+
export interface TsconfigPathMappings {
|
|
13
|
+
readonly options: ts.CompilerOptions;
|
|
14
|
+
/** The directory `paths` targets are relative to: `baseUrl`, else the declaring tsconfig's. */
|
|
15
|
+
readonly base: string;
|
|
16
|
+
readonly exact: ReadonlySet<string>;
|
|
17
|
+
readonly patterns: readonly Pattern[];
|
|
18
|
+
}
|
|
19
|
+
/** A parsed tsconfig: its mappings (none without `paths`) and every file the parse read. */
|
|
20
|
+
export interface TsconfigPaths {
|
|
21
|
+
readonly file: string;
|
|
22
|
+
readonly mappings?: TsconfigPathMappings;
|
|
23
|
+
/** The tsconfig and the configurations it extends, as canonical paths. */
|
|
24
|
+
readonly inputs: ReadonlySet<string>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* The tsconfig the Analog Angular plugin compiles with, resolved as Analog resolves it: an
|
|
28
|
+
* absolute path as is, anything else against the Vite root, and by default `tsconfig.app.json`
|
|
29
|
+
* (`tsconfig.lib.json`, or `tsconfig.lib.prod.json` in production, for a library build).
|
|
30
|
+
*/
|
|
31
|
+
export declare function angularTsconfigPath(root: string, tsconfig: AngularTsconfigOption, isProd: boolean, isLib: boolean): string;
|
|
32
|
+
/**
|
|
33
|
+
* Reads the `paths` of a tsconfig with TypeScript's own parser, so `extends` (files and packages),
|
|
34
|
+
* `baseUrl` and the base directory of inherited `paths` mean what they mean to the compiler. The
|
|
35
|
+
* parse never lists the program's files: only the compiler options are used.
|
|
36
|
+
*/
|
|
37
|
+
export declare function readTsconfigPaths(file: string): TsconfigPaths;
|
|
38
|
+
/** Whether a specifier is a bare module name that a `paths` key of the mappings matches. */
|
|
39
|
+
export declare function matchesPathMapping(mappings: TsconfigPathMappings, source: string): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* The locations a specifier maps to, in order, as TypeScript substitutes them: an exact key wins,
|
|
42
|
+
* otherwise the wildcard pattern with the longest prefix.
|
|
43
|
+
*/
|
|
44
|
+
export declare function pathMappingTargets(mappings: TsconfigPathMappings, source: string): string[];
|
|
45
|
+
/**
|
|
46
|
+
* Resolves the `compilerOptions.paths` of the application's tsconfig, as the Angular CLI does: a
|
|
47
|
+
* bare specifier that a `paths` key matches is resolved by TypeScript's module resolution with the
|
|
48
|
+
* tsconfig's options, then handed to Vite as the file path, so it gets the same module id as a
|
|
49
|
+
* relative import of that file. A mapping TypeScript resolves to a declaration file (a built
|
|
50
|
+
* library in `dist`, for example) is resolved as Vite resolves the installed package, or else its
|
|
51
|
+
* mapped locations, which reads the package's `package.json`. What TypeScript does not resolve, or
|
|
52
|
+
* finds in `node_modules`, is
|
|
53
|
+
* left to Vite. Modules in `node_modules` never use the application's mappings, and an alias of
|
|
54
|
+
* the Vite configuration wins over a mapping, since Vite applies aliases first.
|
|
55
|
+
*
|
|
56
|
+
* In development, the tsconfig and the configurations it extends are watched, and an edit of one
|
|
57
|
+
* is read again at the next resolution.
|
|
58
|
+
* @param tsconfig - The `tsconfig` option of the Analog Angular plugin.
|
|
59
|
+
* @param compilerTsconfig - The tsconfig the Analog compiler itself resolved (its
|
|
60
|
+
* `api.getTsConfigPath`, Analog 2.8 and later), read once the configuration is resolved, so
|
|
61
|
+
* both always read the same file; without it, the plugin resolves the option as Analog does.
|
|
62
|
+
*/
|
|
63
|
+
export declare function createTsconfigPathsPlugin(tsconfig: AngularTsconfigOption, compilerTsconfig?: () => string | undefined): Plugin;
|
|
64
|
+
export {};
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import type { FSWatcher } from 'vite';
|
|
2
|
+
import type { BuildResult, Diagnostic, FileChange, FileEventSource, WatchInputs } from '../contracts.js';
|
|
3
|
+
type Listener = (events: FileChange[]) => void;
|
|
4
|
+
type ErrorListener = (diagnostic: Diagnostic) => void;
|
|
5
|
+
export interface WatchObservation {
|
|
6
|
+
accepted: boolean;
|
|
7
|
+
reconcile: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* With `reconcile`: exactly what may have changed unseen, namely the new physical targets and
|
|
10
|
+
* the rejected changes that the new inputs now match. Absent when the rejections overflowed
|
|
11
|
+
* their bound: then every input is reconciled.
|
|
12
|
+
*/
|
|
13
|
+
paths?: string[];
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Distinct paths rejected while a generation is in flight that are kept to be checked against
|
|
17
|
+
* its newly recorded inputs. Beyond this the check is replaced by an unconditional reconcile.
|
|
18
|
+
*/
|
|
19
|
+
export declare const MAX_RETAINED_REJECTIONS = 1024;
|
|
20
|
+
/** Recoverable watcher errors are reported together, at most once per this many milliseconds. */
|
|
21
|
+
export declare const WATCHER_ERROR_COALESCE_MS = 100;
|
|
22
|
+
/**
|
|
23
|
+
* The code of a watcher failure that cannot recover while Vite runs. The lifecycle keeps it until
|
|
24
|
+
* restart.
|
|
25
|
+
*/
|
|
26
|
+
export declare const NGDOC_VITE_WATCHER = "NGDOC_VITE_WATCHER";
|
|
27
|
+
/**
|
|
28
|
+
* Distinct paths outside the recorded inputs whose native watch was lost, kept because a later
|
|
29
|
+
* generation can record an input there. More than this is fatal.
|
|
30
|
+
*/
|
|
31
|
+
export declare const MAX_LOST_WATCHES = 1024;
|
|
32
|
+
/**
|
|
33
|
+
* How long the re-observation of new inputs waits for chokidar to attach their watches. chokidar
|
|
34
|
+
* attaches after asynchronous `stat`/`realpath` calls and signals nothing per path; after this the
|
|
35
|
+
* re-observation runs anyway (a slower attach leaves the same window as before it existed).
|
|
36
|
+
*/
|
|
37
|
+
export declare const WATCH_ATTACH_TIMEOUT_MS = 1000;
|
|
38
|
+
/**
|
|
39
|
+
* chokidar lists a path in `getWatched()` just before it registers the path's native listener
|
|
40
|
+
* (FSEvents: one `realpath` later; `fs.watch`: after the directory read that lists its entries).
|
|
41
|
+
* A watch is taken as attached this long after it is listed.
|
|
42
|
+
*/
|
|
43
|
+
export declare const WATCH_ATTACH_GRACE_MS = 10;
|
|
44
|
+
/**
|
|
45
|
+
* chokidar (as bundled by Vite) reports no `change` of a path within 50 ms of the last one it
|
|
46
|
+
* reported, and reports nothing for it afterwards either. An in-place save can then be reported
|
|
47
|
+
* at its truncation only, and the generation it starts may read the half-written file. So each
|
|
48
|
+
* forwarded change of a file is checked again this long after it was forwarded: a file whose
|
|
49
|
+
* stat moved since is reported once more. Longer than chokidar's window, so a write inside it is
|
|
50
|
+
* seen; a write after it is reported by chokidar itself.
|
|
51
|
+
*/
|
|
52
|
+
export declare const TRAILING_RESTAT_MS = 100;
|
|
53
|
+
/** Where the native watcher may be attached. */
|
|
54
|
+
export interface WatchScopeOptions {
|
|
55
|
+
/**
|
|
56
|
+
* The workspace root. Recorded files outside it are polled instead of natively watched; without
|
|
57
|
+
* it every target goes to the native watcher.
|
|
58
|
+
*/
|
|
59
|
+
workspaceRoot?: string;
|
|
60
|
+
/** The poll interval for files outside the workspace (tests use a short one). */
|
|
61
|
+
probeIntervalMs?: number;
|
|
62
|
+
/**
|
|
63
|
+
* Directories the watcher itself watches recursively (Vite's root). Its directory watches there
|
|
64
|
+
* report every new file, so missing inputs below them stay with it.
|
|
65
|
+
*/
|
|
66
|
+
watchedRoots?: readonly string[];
|
|
67
|
+
/**
|
|
68
|
+
* Whether missing inputs that the watcher cannot report get their own directory watches (see
|
|
69
|
+
* `watchesMissingPaths`). Default true; false when the host does not watch at all.
|
|
70
|
+
*/
|
|
71
|
+
watchMissingPaths?: boolean;
|
|
72
|
+
}
|
|
73
|
+
export declare class ViteFileEventSource implements FileEventSource {
|
|
74
|
+
private readonly watcher;
|
|
75
|
+
private readonly registry;
|
|
76
|
+
private listener?;
|
|
77
|
+
private errorListener?;
|
|
78
|
+
private disposed;
|
|
79
|
+
private registration;
|
|
80
|
+
private ownedRoots;
|
|
81
|
+
private buffered;
|
|
82
|
+
private seeded;
|
|
83
|
+
/** Paths rejected since the newest generation started, until its result is observed. */
|
|
84
|
+
private retained;
|
|
85
|
+
private retainedOverflow;
|
|
86
|
+
/** Recoverable failures outside the inputs since the newest generation started. */
|
|
87
|
+
private retainedErrors;
|
|
88
|
+
private retainedErrorsOverflow;
|
|
89
|
+
/** Lost native watches outside the inputs; chokidar never re-creates them. */
|
|
90
|
+
private lostWatches;
|
|
91
|
+
private lostWatchesOverflow;
|
|
92
|
+
/**
|
|
93
|
+
* Incremented whenever an observation installs different effective inputs in the registry,
|
|
94
|
+
* current or not; `checkedInputs` is the version whose inputs the retained failures were last
|
|
95
|
+
* re-checked against.
|
|
96
|
+
*/
|
|
97
|
+
private inputsVersion;
|
|
98
|
+
private checkedInputs;
|
|
99
|
+
private inFlight;
|
|
100
|
+
private recoverable?;
|
|
101
|
+
private unrelated?;
|
|
102
|
+
private errorFlush?;
|
|
103
|
+
private readonly workspace;
|
|
104
|
+
/** Whether missing inputs outside `watchedRoots` get the directory watches of `missing`. */
|
|
105
|
+
private readonly groupsMissingPaths;
|
|
106
|
+
private readonly watchedRoots;
|
|
107
|
+
private readonly missing;
|
|
108
|
+
/** Warnings raised before `subscribe` gave them a listener. */
|
|
109
|
+
private readonly pendingWarnings;
|
|
110
|
+
private readonly probes;
|
|
111
|
+
/** Targets handed to the native watcher (the ones whose attachment can be awaited). */
|
|
112
|
+
private readonly native;
|
|
113
|
+
/** The trailing re-stat of each recently forwarded file (see `TRAILING_RESTAT_MS`). */
|
|
114
|
+
private readonly trailing;
|
|
115
|
+
private readonly onAddDirectory;
|
|
116
|
+
private readonly onDeleteDirectory;
|
|
117
|
+
/**
|
|
118
|
+
* chokidar keeps watching after every `error` it emits; each one is an `fs` failure for a single
|
|
119
|
+
* path (see `_handleError` and its callers in the chokidar that Vite bundles):
|
|
120
|
+
*
|
|
121
|
+
* - `syscall: 'watch'`: the native `fs.watch` handle for the path could not be created (for
|
|
122
|
+
* example ENOSPC at the inotify limit, or EMFILE) or failed later. chokidar never re-creates
|
|
123
|
+
* it, so later changes there are never reported. Fatal when it can hide a recorded input.
|
|
124
|
+
* - any other `fs` failure (stat, lstat, realpath, scandir, open, including awaitWriteFinish):
|
|
125
|
+
* the path is still watched or is re-read on its directory's next change, but an event may
|
|
126
|
+
* have been missed. Like a lossy FSEvents signal of the session's own watcher, this is a
|
|
127
|
+
* `WATCHER_RESCAN` warning, and the session re-observes every committed input.
|
|
128
|
+
*
|
|
129
|
+
* A failure for a path that cannot hide a recorded input (outside the inputs, or below a
|
|
130
|
+
* generator-owned root the generator itself rewrites) is only a warning. A value that is not
|
|
131
|
+
* an `fs` failure was not raised by chokidar and stays fatal.
|
|
132
|
+
*/
|
|
133
|
+
private readonly onError;
|
|
134
|
+
constructor(watcher: FSWatcher, capacity: number, scope?: WatchScopeOptions);
|
|
135
|
+
seed(generation: number, watchInputs?: WatchInputs): Promise<WatchObservation>;
|
|
136
|
+
started(generation: number): void;
|
|
137
|
+
isCurrent(generation: number): boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Whether a host change is a generator input. A change rejected while a generation is in flight
|
|
140
|
+
* is retained: if that generation records the path as a new input (it may have read the old
|
|
141
|
+
* bytes), its observation requests a reconcile.
|
|
142
|
+
*/
|
|
143
|
+
matches(change: FileChange): boolean;
|
|
144
|
+
/**
|
|
145
|
+
* A change the host watcher reported. An input that has a directory watch of its own is reported
|
|
146
|
+
* by that watch only, so one change never reaches the session twice.
|
|
147
|
+
*/
|
|
148
|
+
forward(change: FileChange): boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Reports `file` again if its stat moves within `TRAILING_RESTAT_MS` of now: a write chokidar's
|
|
151
|
+
* change throttle dropped. A later forward of the same file restarts the check from its state.
|
|
152
|
+
*/
|
|
153
|
+
private restatLater;
|
|
154
|
+
private deliver;
|
|
155
|
+
excludeOwned(...roots: string[]): void;
|
|
156
|
+
observe(result: BuildResult): Promise<WatchObservation>;
|
|
157
|
+
subscribe(listener: Listener, onError: ErrorListener): Promise<{
|
|
158
|
+
dispose(): Promise<void>;
|
|
159
|
+
}>;
|
|
160
|
+
dispose(): Promise<void>;
|
|
161
|
+
/**
|
|
162
|
+
* Splits new physical targets between the native watcher and the external probe poller.
|
|
163
|
+
*
|
|
164
|
+
* Native: everything inside the workspace (missing files included: chokidar watches such a
|
|
165
|
+
* path through its nearest directory and reports its creation), every glob base, and any file
|
|
166
|
+
* at or below a glob base, whose native directory watch already covers it. Polled: the other
|
|
167
|
+
* recorded files outside the workspace, which are the configuration lookups the compiler makes
|
|
168
|
+
* in every directory up to the filesystem root. Adding those natively attached chokidar's
|
|
169
|
+
* FSEvents streams to `/` and the home directory's parents. Beyond
|
|
170
|
+
* `MAX_EXTERNAL_PROBES` the rest stays native, as before. Missing: with a watcher that cannot
|
|
171
|
+
* report every missing path (see `watchesMissingPaths`), a missing file inside the workspace
|
|
172
|
+
* that neither a glob base nor a recursively watched root covers is watched through its nearest
|
|
173
|
+
* existing directory (`MissingPathWatcher`); one below such a root is left to the root's watch.
|
|
174
|
+
*/
|
|
175
|
+
private placeTargets;
|
|
176
|
+
private warn;
|
|
177
|
+
/**
|
|
178
|
+
* Resolves once chokidar lists every given native target as watched, `false` after `timeoutMs`.
|
|
179
|
+
* A new input is re-observed only after this: a change made after the re-observation is then
|
|
180
|
+
* reported by the watch. chokidar's FSEvents handler records a path just before it registers the
|
|
181
|
+
* path's listener (one `realpath` later), so a short grace follows. A watcher without
|
|
182
|
+
* `getWatched()` (a test double) counts as attached.
|
|
183
|
+
*/
|
|
184
|
+
attached(paths: readonly string[], timeoutMs?: number): Promise<boolean>;
|
|
185
|
+
private owned;
|
|
186
|
+
/** Whether a watcher failure at `target` can hide a change to a recorded input. */
|
|
187
|
+
private covers;
|
|
188
|
+
private lostWatch;
|
|
189
|
+
private pend;
|
|
190
|
+
/**
|
|
191
|
+
* The inputs just changed: a failure recorded while a path was not an input can now hide one.
|
|
192
|
+
* A lost watch there is fatal; a recoverable failure during this generation requests a rescan.
|
|
193
|
+
*/
|
|
194
|
+
private recheckErrors;
|
|
195
|
+
private flushErrors;
|
|
196
|
+
private emitDirectory;
|
|
197
|
+
}
|
|
198
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Vite releases the Vite engine supports: Vite 8 from 8.3.0, the release `@angular/build` 22.2
|
|
3
|
+
* itself runs on. The engine bundles a patched Analog 2.8.0 and relies on Vite's hot-update,
|
|
4
|
+
* watcher, optimizer and module-runner APIs, which are tested on this major; Vite 7 and earlier
|
|
5
|
+
* are refused.
|
|
6
|
+
*
|
|
7
|
+
* `ng-doc.viteEngine.vite` in `libs/builder/package.json`, which the setup schematics install, must
|
|
8
|
+
* equal it (a test compares them). The builder's optional `vite` peer dependency is wider, Analog's
|
|
9
|
+
* own peer range: before the migration adds `vite`, the Vite at the application's root is the one
|
|
10
|
+
* its `@angular/build` brings (7.3 for Angular 22.0, 8.1 for 22.1), and npm refuses to install a
|
|
11
|
+
* package whose peer range excludes it, even an optional one and even for the legacy engine, which
|
|
12
|
+
* never loads Vite. The check below enforces the range where it matters, when the Vite engine
|
|
13
|
+
* starts.
|
|
14
|
+
*/
|
|
15
|
+
export declare const SUPPORTED_VITE_RANGE = "^8.3.0";
|
|
16
|
+
/**
|
|
17
|
+
* Whether a Vite version is inside {@link SUPPORTED_VITE_RANGE}. A prerelease of a supported
|
|
18
|
+
* release (8.4.0-beta.1) is accepted; one of 8.3.0 itself is not.
|
|
19
|
+
* @param version - The Vite version.
|
|
20
|
+
*/
|
|
21
|
+
export declare function isSupportedViteVersion(version: string): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Fails when the Vite engine runs on a Vite outside {@link SUPPORTED_VITE_RANGE}.
|
|
24
|
+
* @param found - The running Vite's version; by default the one NgDoc resolves.
|
|
25
|
+
*/
|
|
26
|
+
export declare function assertSupportedViteVersion(found?: string | undefined): void;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { BuildResult, FileChange, WatchInputs } from '../contracts.js';
|
|
2
|
+
export declare class WatchInputRegistry {
|
|
3
|
+
private readonly capacity;
|
|
4
|
+
private success?;
|
|
5
|
+
private failure?;
|
|
6
|
+
private effective;
|
|
7
|
+
private index;
|
|
8
|
+
private newestGeneration;
|
|
9
|
+
private readonly physical;
|
|
10
|
+
constructor(capacity: number);
|
|
11
|
+
started(generation: number): void;
|
|
12
|
+
isCurrent(generation: number): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* `directories` lists the physical targets added for glob bases (existing directories); every
|
|
15
|
+
* other added target is a recorded file, present or missing.
|
|
16
|
+
*/
|
|
17
|
+
observe(result: BuildResult): Promise<{
|
|
18
|
+
changed: boolean;
|
|
19
|
+
physicalAdded: string[];
|
|
20
|
+
directories: string[];
|
|
21
|
+
accepted: boolean;
|
|
22
|
+
}>;
|
|
23
|
+
/**
|
|
24
|
+
* A change matches a recorded file or glob base, an ancestor directory of one, or a glob member
|
|
25
|
+
* that is not excluded.
|
|
26
|
+
*/
|
|
27
|
+
matches(change: FileChange): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* True when a watcher problem at `target` can hide a change to a recorded input: the target
|
|
30
|
+
* matches like a change would, or lies below a glob base (a directory whose members can become
|
|
31
|
+
* inputs, whose own events do not match until a member does).
|
|
32
|
+
*/
|
|
33
|
+
covers(target: string): boolean;
|
|
34
|
+
/** True when `target` lies at or below a recorded glob base (a watched input directory). */
|
|
35
|
+
underGlobBase(target: string): boolean;
|
|
36
|
+
snapshot(): WatchInputs;
|
|
37
|
+
physicalCount(): number;
|
|
38
|
+
confirmPhysical(targets: readonly string[]): void;
|
|
39
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|