@frontmcp/uipack 0.6.1
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/CLAUDE.md +246 -0
- package/LICENSE +201 -0
- package/README.md +150 -0
- package/adapters/index.d.ts +13 -0
- package/adapters/index.d.ts.map +1 -0
- package/adapters/index.js +462 -0
- package/adapters/platform-meta.d.ts +166 -0
- package/adapters/platform-meta.d.ts.map +1 -0
- package/adapters/response-builder.d.ts +108 -0
- package/adapters/response-builder.d.ts.map +1 -0
- package/adapters/serving-mode.d.ts +107 -0
- package/adapters/serving-mode.d.ts.map +1 -0
- package/base-template/bridge.d.ts +90 -0
- package/base-template/bridge.d.ts.map +1 -0
- package/base-template/default-base-template.d.ts +92 -0
- package/base-template/default-base-template.d.ts.map +1 -0
- package/base-template/index.d.ts +15 -0
- package/base-template/index.d.ts.map +1 -0
- package/base-template/index.js +1398 -0
- package/base-template/polyfills.d.ts +31 -0
- package/base-template/polyfills.d.ts.map +1 -0
- package/base-template/theme-styles.d.ts +74 -0
- package/base-template/theme-styles.d.ts.map +1 -0
- package/bridge-runtime/iife-generator.d.ts +62 -0
- package/bridge-runtime/iife-generator.d.ts.map +1 -0
- package/bridge-runtime/index.d.ts +10 -0
- package/bridge-runtime/index.d.ts.map +1 -0
- package/bridge-runtime/index.js +883 -0
- package/build/cdn-resources.d.ts +243 -0
- package/build/cdn-resources.d.ts.map +1 -0
- package/build/index.d.ts +295 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +6861 -0
- package/build/widget-manifest.d.ts +362 -0
- package/build/widget-manifest.d.ts.map +1 -0
- package/bundler/cache.d.ts +173 -0
- package/bundler/cache.d.ts.map +1 -0
- package/bundler/file-cache/component-builder.d.ts +167 -0
- package/bundler/file-cache/component-builder.d.ts.map +1 -0
- package/bundler/file-cache/hash-calculator.d.ts +155 -0
- package/bundler/file-cache/hash-calculator.d.ts.map +1 -0
- package/bundler/file-cache/index.d.ts +12 -0
- package/bundler/file-cache/index.d.ts.map +1 -0
- package/bundler/file-cache/storage/filesystem.d.ts +149 -0
- package/bundler/file-cache/storage/filesystem.d.ts.map +1 -0
- package/bundler/file-cache/storage/index.d.ts +11 -0
- package/bundler/file-cache/storage/index.d.ts.map +1 -0
- package/bundler/file-cache/storage/interface.d.ts +152 -0
- package/bundler/file-cache/storage/interface.d.ts.map +1 -0
- package/bundler/file-cache/storage/redis.d.ts +139 -0
- package/bundler/file-cache/storage/redis.d.ts.map +1 -0
- package/bundler/index.d.ts +35 -0
- package/bundler/index.d.ts.map +1 -0
- package/bundler/index.js +2947 -0
- package/bundler/sandbox/enclave-adapter.d.ts +121 -0
- package/bundler/sandbox/enclave-adapter.d.ts.map +1 -0
- package/bundler/sandbox/executor.d.ts +14 -0
- package/bundler/sandbox/executor.d.ts.map +1 -0
- package/bundler/sandbox/policy.d.ts +62 -0
- package/bundler/sandbox/policy.d.ts.map +1 -0
- package/bundler/types.d.ts +702 -0
- package/bundler/types.d.ts.map +1 -0
- package/dependency/cdn-registry.d.ts +98 -0
- package/dependency/cdn-registry.d.ts.map +1 -0
- package/dependency/import-map.d.ts +186 -0
- package/dependency/import-map.d.ts.map +1 -0
- package/dependency/import-parser.d.ts +82 -0
- package/dependency/import-parser.d.ts.map +1 -0
- package/dependency/index.d.ts +17 -0
- package/dependency/index.d.ts.map +1 -0
- package/dependency/index.js +3215 -0
- package/dependency/resolver.d.ts +164 -0
- package/dependency/resolver.d.ts.map +1 -0
- package/dependency/schemas.d.ts +486 -0
- package/dependency/schemas.d.ts.map +1 -0
- package/dependency/template-loader.d.ts +204 -0
- package/dependency/template-loader.d.ts.map +1 -0
- package/dependency/template-processor.d.ts +118 -0
- package/dependency/template-processor.d.ts.map +1 -0
- package/dependency/types.d.ts +739 -0
- package/dependency/types.d.ts.map +1 -0
- package/esm/adapters/index.d.ts +13 -0
- package/esm/adapters/index.d.ts.map +1 -0
- package/esm/adapters/index.js +427 -0
- package/esm/adapters/platform-meta.d.ts +166 -0
- package/esm/adapters/platform-meta.d.ts.map +1 -0
- package/esm/adapters/response-builder.d.ts +108 -0
- package/esm/adapters/response-builder.d.ts.map +1 -0
- package/esm/adapters/serving-mode.d.ts +107 -0
- package/esm/adapters/serving-mode.d.ts.map +1 -0
- package/esm/base-template/bridge.d.ts +90 -0
- package/esm/base-template/bridge.d.ts.map +1 -0
- package/esm/base-template/default-base-template.d.ts +92 -0
- package/esm/base-template/default-base-template.d.ts.map +1 -0
- package/esm/base-template/index.d.ts +15 -0
- package/esm/base-template/index.d.ts.map +1 -0
- package/esm/base-template/index.js +1364 -0
- package/esm/base-template/polyfills.d.ts +31 -0
- package/esm/base-template/polyfills.d.ts.map +1 -0
- package/esm/base-template/theme-styles.d.ts +74 -0
- package/esm/base-template/theme-styles.d.ts.map +1 -0
- package/esm/bridge-runtime/iife-generator.d.ts +62 -0
- package/esm/bridge-runtime/iife-generator.d.ts.map +1 -0
- package/esm/bridge-runtime/index.d.ts +10 -0
- package/esm/bridge-runtime/index.d.ts.map +1 -0
- package/esm/bridge-runtime/index.js +853 -0
- package/esm/build/cdn-resources.d.ts +243 -0
- package/esm/build/cdn-resources.d.ts.map +1 -0
- package/esm/build/index.d.ts +295 -0
- package/esm/build/index.d.ts.map +1 -0
- package/esm/build/index.js +6786 -0
- package/esm/build/widget-manifest.d.ts +362 -0
- package/esm/build/widget-manifest.d.ts.map +1 -0
- package/esm/bundler/cache.d.ts +173 -0
- package/esm/bundler/cache.d.ts.map +1 -0
- package/esm/bundler/file-cache/component-builder.d.ts +167 -0
- package/esm/bundler/file-cache/component-builder.d.ts.map +1 -0
- package/esm/bundler/file-cache/hash-calculator.d.ts +155 -0
- package/esm/bundler/file-cache/hash-calculator.d.ts.map +1 -0
- package/esm/bundler/file-cache/index.d.ts +12 -0
- package/esm/bundler/file-cache/index.d.ts.map +1 -0
- package/esm/bundler/file-cache/storage/filesystem.d.ts +149 -0
- package/esm/bundler/file-cache/storage/filesystem.d.ts.map +1 -0
- package/esm/bundler/file-cache/storage/index.d.ts +11 -0
- package/esm/bundler/file-cache/storage/index.d.ts.map +1 -0
- package/esm/bundler/file-cache/storage/interface.d.ts +152 -0
- package/esm/bundler/file-cache/storage/interface.d.ts.map +1 -0
- package/esm/bundler/file-cache/storage/redis.d.ts +139 -0
- package/esm/bundler/file-cache/storage/redis.d.ts.map +1 -0
- package/esm/bundler/index.d.ts +35 -0
- package/esm/bundler/index.d.ts.map +1 -0
- package/esm/bundler/index.js +2882 -0
- package/esm/bundler/sandbox/enclave-adapter.d.ts +121 -0
- package/esm/bundler/sandbox/enclave-adapter.d.ts.map +1 -0
- package/esm/bundler/sandbox/executor.d.ts +14 -0
- package/esm/bundler/sandbox/executor.d.ts.map +1 -0
- package/esm/bundler/sandbox/policy.d.ts +62 -0
- package/esm/bundler/sandbox/policy.d.ts.map +1 -0
- package/esm/bundler/types.d.ts +702 -0
- package/esm/bundler/types.d.ts.map +1 -0
- package/esm/dependency/cdn-registry.d.ts +98 -0
- package/esm/dependency/cdn-registry.d.ts.map +1 -0
- package/esm/dependency/import-map.d.ts +186 -0
- package/esm/dependency/import-map.d.ts.map +1 -0
- package/esm/dependency/import-parser.d.ts +82 -0
- package/esm/dependency/import-parser.d.ts.map +1 -0
- package/esm/dependency/index.d.ts +17 -0
- package/esm/dependency/index.d.ts.map +1 -0
- package/esm/dependency/index.js +3096 -0
- package/esm/dependency/resolver.d.ts +164 -0
- package/esm/dependency/resolver.d.ts.map +1 -0
- package/esm/dependency/schemas.d.ts +486 -0
- package/esm/dependency/schemas.d.ts.map +1 -0
- package/esm/dependency/template-loader.d.ts +204 -0
- package/esm/dependency/template-loader.d.ts.map +1 -0
- package/esm/dependency/template-processor.d.ts +118 -0
- package/esm/dependency/template-processor.d.ts.map +1 -0
- package/esm/dependency/types.d.ts +739 -0
- package/esm/dependency/types.d.ts.map +1 -0
- package/esm/handlebars/expression-extractor.d.ts +147 -0
- package/esm/handlebars/expression-extractor.d.ts.map +1 -0
- package/esm/handlebars/helpers.d.ts +339 -0
- package/esm/handlebars/helpers.d.ts.map +1 -0
- package/esm/handlebars/index.d.ts +195 -0
- package/esm/handlebars/index.d.ts.map +1 -0
- package/esm/handlebars/index.js +587 -0
- package/esm/index.d.ts +50 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +12434 -0
- package/esm/package.json +68 -0
- package/esm/registry/index.d.ts +46 -0
- package/esm/registry/index.d.ts.map +1 -0
- package/esm/registry/index.js +6237 -0
- package/esm/registry/render-template.d.ts +91 -0
- package/esm/registry/render-template.d.ts.map +1 -0
- package/esm/registry/tool-ui.registry.d.ts +294 -0
- package/esm/registry/tool-ui.registry.d.ts.map +1 -0
- package/esm/registry/uri-utils.d.ts +56 -0
- package/esm/registry/uri-utils.d.ts.map +1 -0
- package/esm/renderers/cache.d.ts +145 -0
- package/esm/renderers/cache.d.ts.map +1 -0
- package/esm/renderers/html.renderer.d.ts +123 -0
- package/esm/renderers/html.renderer.d.ts.map +1 -0
- package/esm/renderers/index.d.ts +36 -0
- package/esm/renderers/index.d.ts.map +1 -0
- package/esm/renderers/index.js +1654 -0
- package/esm/renderers/mdx.renderer.d.ts +120 -0
- package/esm/renderers/mdx.renderer.d.ts.map +1 -0
- package/esm/renderers/registry.d.ts +133 -0
- package/esm/renderers/registry.d.ts.map +1 -0
- package/esm/renderers/types.d.ts +342 -0
- package/esm/renderers/types.d.ts.map +1 -0
- package/esm/renderers/utils/detect.d.ts +107 -0
- package/esm/renderers/utils/detect.d.ts.map +1 -0
- package/esm/renderers/utils/hash.d.ts +40 -0
- package/esm/renderers/utils/hash.d.ts.map +1 -0
- package/esm/renderers/utils/index.d.ts +9 -0
- package/esm/renderers/utils/index.d.ts.map +1 -0
- package/esm/renderers/utils/transpiler.d.ts +89 -0
- package/esm/renderers/utils/transpiler.d.ts.map +1 -0
- package/esm/runtime/adapters/html.adapter.d.ts +59 -0
- package/esm/runtime/adapters/html.adapter.d.ts.map +1 -0
- package/esm/runtime/adapters/index.d.ts +26 -0
- package/esm/runtime/adapters/index.d.ts.map +1 -0
- package/esm/runtime/adapters/mdx.adapter.d.ts +73 -0
- package/esm/runtime/adapters/mdx.adapter.d.ts.map +1 -0
- package/esm/runtime/adapters/types.d.ts +95 -0
- package/esm/runtime/adapters/types.d.ts.map +1 -0
- package/esm/runtime/csp.d.ts +48 -0
- package/esm/runtime/csp.d.ts.map +1 -0
- package/esm/runtime/index.d.ts +17 -0
- package/esm/runtime/index.d.ts.map +1 -0
- package/esm/runtime/index.js +4976 -0
- package/esm/runtime/mcp-bridge.d.ts +101 -0
- package/esm/runtime/mcp-bridge.d.ts.map +1 -0
- package/esm/runtime/renderer-runtime.d.ts +133 -0
- package/esm/runtime/renderer-runtime.d.ts.map +1 -0
- package/esm/runtime/sanitizer.d.ts +172 -0
- package/esm/runtime/sanitizer.d.ts.map +1 -0
- package/esm/runtime/types.d.ts +415 -0
- package/esm/runtime/types.d.ts.map +1 -0
- package/esm/runtime/wrapper.d.ts +421 -0
- package/esm/runtime/wrapper.d.ts.map +1 -0
- package/esm/styles/index.d.ts +8 -0
- package/esm/styles/index.d.ts.map +1 -0
- package/esm/styles/index.js +171 -0
- package/esm/styles/variants.d.ts +51 -0
- package/esm/styles/variants.d.ts.map +1 -0
- package/esm/theme/cdn.d.ts +195 -0
- package/esm/theme/cdn.d.ts.map +1 -0
- package/esm/theme/index.d.ts +18 -0
- package/esm/theme/index.d.ts.map +1 -0
- package/esm/theme/index.js +700 -0
- package/esm/theme/platforms.d.ts +107 -0
- package/esm/theme/platforms.d.ts.map +1 -0
- package/esm/theme/presets/github-openai.d.ts +50 -0
- package/esm/theme/presets/github-openai.d.ts.map +1 -0
- package/esm/theme/presets/index.d.ts +11 -0
- package/esm/theme/presets/index.d.ts.map +1 -0
- package/esm/theme/theme.d.ts +396 -0
- package/esm/theme/theme.d.ts.map +1 -0
- package/esm/tool-template/builder.d.ts +213 -0
- package/esm/tool-template/builder.d.ts.map +1 -0
- package/esm/tool-template/index.d.ts +16 -0
- package/esm/tool-template/index.d.ts.map +1 -0
- package/esm/tool-template/index.js +3518 -0
- package/esm/types/index.d.ts +14 -0
- package/esm/types/index.d.ts.map +1 -0
- package/esm/types/index.js +75 -0
- package/esm/types/ui-config.d.ts +641 -0
- package/esm/types/ui-config.d.ts.map +1 -0
- package/esm/types/ui-runtime.d.ts +1008 -0
- package/esm/types/ui-runtime.d.ts.map +1 -0
- package/esm/typings/cache/cache-adapter.d.ts +125 -0
- package/esm/typings/cache/cache-adapter.d.ts.map +1 -0
- package/esm/typings/cache/index.d.ts +10 -0
- package/esm/typings/cache/index.d.ts.map +1 -0
- package/esm/typings/cache/memory-cache.d.ts +92 -0
- package/esm/typings/cache/memory-cache.d.ts.map +1 -0
- package/esm/typings/dts-parser.d.ts +90 -0
- package/esm/typings/dts-parser.d.ts.map +1 -0
- package/esm/typings/index.d.ts +48 -0
- package/esm/typings/index.d.ts.map +1 -0
- package/esm/typings/index.js +812 -0
- package/esm/typings/schemas.d.ts +232 -0
- package/esm/typings/schemas.d.ts.map +1 -0
- package/esm/typings/type-fetcher.d.ts +89 -0
- package/esm/typings/type-fetcher.d.ts.map +1 -0
- package/esm/typings/types.d.ts +320 -0
- package/esm/typings/types.d.ts.map +1 -0
- package/esm/utils/escape-html.d.ts +58 -0
- package/esm/utils/escape-html.d.ts.map +1 -0
- package/esm/utils/index.d.ts +10 -0
- package/esm/utils/index.d.ts.map +1 -0
- package/esm/utils/index.js +40 -0
- package/esm/utils/safe-stringify.d.ts +30 -0
- package/esm/utils/safe-stringify.d.ts.map +1 -0
- package/esm/validation/error-box.d.ts +56 -0
- package/esm/validation/error-box.d.ts.map +1 -0
- package/esm/validation/index.d.ts +13 -0
- package/esm/validation/index.d.ts.map +1 -0
- package/esm/validation/index.js +542 -0
- package/esm/validation/schema-paths.d.ts +118 -0
- package/esm/validation/schema-paths.d.ts.map +1 -0
- package/esm/validation/template-validator.d.ts +143 -0
- package/esm/validation/template-validator.d.ts.map +1 -0
- package/esm/validation/wrapper.d.ts +97 -0
- package/esm/validation/wrapper.d.ts.map +1 -0
- package/handlebars/expression-extractor.d.ts +147 -0
- package/handlebars/expression-extractor.d.ts.map +1 -0
- package/handlebars/helpers.d.ts +339 -0
- package/handlebars/helpers.d.ts.map +1 -0
- package/handlebars/index.d.ts +195 -0
- package/handlebars/index.d.ts.map +1 -0
- package/handlebars/index.js +666 -0
- package/index.d.ts +50 -0
- package/index.d.ts.map +1 -0
- package/index.js +12683 -0
- package/package.json +66 -0
- package/registry/index.d.ts +46 -0
- package/registry/index.d.ts.map +1 -0
- package/registry/index.js +6280 -0
- package/registry/render-template.d.ts +91 -0
- package/registry/render-template.d.ts.map +1 -0
- package/registry/tool-ui.registry.d.ts +294 -0
- package/registry/tool-ui.registry.d.ts.map +1 -0
- package/registry/uri-utils.d.ts +56 -0
- package/registry/uri-utils.d.ts.map +1 -0
- package/renderers/cache.d.ts +145 -0
- package/renderers/cache.d.ts.map +1 -0
- package/renderers/html.renderer.d.ts +123 -0
- package/renderers/html.renderer.d.ts.map +1 -0
- package/renderers/index.d.ts +36 -0
- package/renderers/index.d.ts.map +1 -0
- package/renderers/index.js +1706 -0
- package/renderers/mdx.renderer.d.ts +120 -0
- package/renderers/mdx.renderer.d.ts.map +1 -0
- package/renderers/registry.d.ts +133 -0
- package/renderers/registry.d.ts.map +1 -0
- package/renderers/types.d.ts +342 -0
- package/renderers/types.d.ts.map +1 -0
- package/renderers/utils/detect.d.ts +107 -0
- package/renderers/utils/detect.d.ts.map +1 -0
- package/renderers/utils/hash.d.ts +40 -0
- package/renderers/utils/hash.d.ts.map +1 -0
- package/renderers/utils/index.d.ts +9 -0
- package/renderers/utils/index.d.ts.map +1 -0
- package/renderers/utils/transpiler.d.ts +89 -0
- package/renderers/utils/transpiler.d.ts.map +1 -0
- package/runtime/adapters/html.adapter.d.ts +59 -0
- package/runtime/adapters/html.adapter.d.ts.map +1 -0
- package/runtime/adapters/index.d.ts +26 -0
- package/runtime/adapters/index.d.ts.map +1 -0
- package/runtime/adapters/mdx.adapter.d.ts +73 -0
- package/runtime/adapters/mdx.adapter.d.ts.map +1 -0
- package/runtime/adapters/types.d.ts +95 -0
- package/runtime/adapters/types.d.ts.map +1 -0
- package/runtime/csp.d.ts +48 -0
- package/runtime/csp.d.ts.map +1 -0
- package/runtime/index.d.ts +17 -0
- package/runtime/index.d.ts.map +1 -0
- package/runtime/index.js +5052 -0
- package/runtime/mcp-bridge.d.ts +101 -0
- package/runtime/mcp-bridge.d.ts.map +1 -0
- package/runtime/renderer-runtime.d.ts +133 -0
- package/runtime/renderer-runtime.d.ts.map +1 -0
- package/runtime/sanitizer.d.ts +172 -0
- package/runtime/sanitizer.d.ts.map +1 -0
- package/runtime/types.d.ts +415 -0
- package/runtime/types.d.ts.map +1 -0
- package/runtime/wrapper.d.ts +421 -0
- package/runtime/wrapper.d.ts.map +1 -0
- package/styles/index.d.ts +8 -0
- package/styles/index.d.ts.map +1 -0
- package/styles/index.js +222 -0
- package/styles/variants.d.ts +51 -0
- package/styles/variants.d.ts.map +1 -0
- package/theme/cdn.d.ts +195 -0
- package/theme/cdn.d.ts.map +1 -0
- package/theme/index.d.ts +18 -0
- package/theme/index.d.ts.map +1 -0
- package/theme/index.js +757 -0
- package/theme/platforms.d.ts +107 -0
- package/theme/platforms.d.ts.map +1 -0
- package/theme/presets/github-openai.d.ts +50 -0
- package/theme/presets/github-openai.d.ts.map +1 -0
- package/theme/presets/index.d.ts +11 -0
- package/theme/presets/index.d.ts.map +1 -0
- package/theme/theme.d.ts +396 -0
- package/theme/theme.d.ts.map +1 -0
- package/tool-template/builder.d.ts +213 -0
- package/tool-template/builder.d.ts.map +1 -0
- package/tool-template/index.d.ts +16 -0
- package/tool-template/index.d.ts.map +1 -0
- package/tool-template/index.js +3562 -0
- package/types/index.d.ts +14 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +108 -0
- package/types/ui-config.d.ts +641 -0
- package/types/ui-config.d.ts.map +1 -0
- package/types/ui-runtime.d.ts +1008 -0
- package/types/ui-runtime.d.ts.map +1 -0
- package/typings/cache/cache-adapter.d.ts +125 -0
- package/typings/cache/cache-adapter.d.ts.map +1 -0
- package/typings/cache/index.d.ts +10 -0
- package/typings/cache/index.d.ts.map +1 -0
- package/typings/cache/memory-cache.d.ts +92 -0
- package/typings/cache/memory-cache.d.ts.map +1 -0
- package/typings/dts-parser.d.ts +90 -0
- package/typings/dts-parser.d.ts.map +1 -0
- package/typings/index.d.ts +48 -0
- package/typings/index.d.ts.map +1 -0
- package/typings/index.js +868 -0
- package/typings/schemas.d.ts +232 -0
- package/typings/schemas.d.ts.map +1 -0
- package/typings/type-fetcher.d.ts +89 -0
- package/typings/type-fetcher.d.ts.map +1 -0
- package/typings/types.d.ts +320 -0
- package/typings/types.d.ts.map +1 -0
- package/utils/escape-html.d.ts +58 -0
- package/utils/escape-html.d.ts.map +1 -0
- package/utils/index.d.ts +10 -0
- package/utils/index.d.ts.map +1 -0
- package/utils/index.js +70 -0
- package/utils/safe-stringify.d.ts +30 -0
- package/utils/safe-stringify.d.ts.map +1 -0
- package/validation/error-box.d.ts +56 -0
- package/validation/error-box.d.ts.map +1 -0
- package/validation/index.d.ts +13 -0
- package/validation/index.d.ts.map +1 -0
- package/validation/index.js +583 -0
- package/validation/schema-paths.d.ts +118 -0
- package/validation/schema-paths.d.ts.map +1 -0
- package/validation/template-validator.d.ts +143 -0
- package/validation/template-validator.d.ts.map +1 -0
- package/validation/wrapper.d.ts +97 -0
- package/validation/wrapper.d.ts.map +1 -0
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dependency Resolver
|
|
3
|
+
*
|
|
4
|
+
* Resolves external npm package imports to CDN URLs.
|
|
5
|
+
* Handles platform-specific CDN selection and dependency ordering.
|
|
6
|
+
*
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
*/
|
|
9
|
+
import type { CDNDependency, CDNPlatformType, CDNRegistry, DependencyResolverOptions, ResolvedDependency, ImportMap } from './types';
|
|
10
|
+
/**
|
|
11
|
+
* Error thrown when a dependency cannot be resolved.
|
|
12
|
+
*/
|
|
13
|
+
export declare class DependencyResolutionError extends Error {
|
|
14
|
+
readonly packageName: string;
|
|
15
|
+
readonly reason: string;
|
|
16
|
+
constructor(packageName: string, reason: string);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Error thrown when no CDN provider is available for a package.
|
|
20
|
+
*/
|
|
21
|
+
export declare class NoProviderError extends DependencyResolutionError {
|
|
22
|
+
readonly platform: CDNPlatformType;
|
|
23
|
+
constructor(packageName: string, platform: CDNPlatformType);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Dependency resolver for external npm packages.
|
|
27
|
+
*
|
|
28
|
+
* Resolves package imports to CDN URLs based on platform requirements
|
|
29
|
+
* and dependency relationships.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```typescript
|
|
33
|
+
* const resolver = new DependencyResolver({
|
|
34
|
+
* platform: 'claude',
|
|
35
|
+
* });
|
|
36
|
+
*
|
|
37
|
+
* // Resolve from source code
|
|
38
|
+
* const source = `
|
|
39
|
+
* import React from 'react';
|
|
40
|
+
* import { Chart } from 'chart.js';
|
|
41
|
+
* `;
|
|
42
|
+
*
|
|
43
|
+
* const resolved = await resolver.resolveFromSource(source, ['react', 'chart.js']);
|
|
44
|
+
* console.log(resolved.map(d => d.cdnUrl));
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
export declare class DependencyResolver {
|
|
48
|
+
private readonly options;
|
|
49
|
+
private readonly registry;
|
|
50
|
+
constructor(options?: DependencyResolverOptions);
|
|
51
|
+
/**
|
|
52
|
+
* Resolve a single package to its CDN dependency.
|
|
53
|
+
*
|
|
54
|
+
* @param packageName - NPM package name
|
|
55
|
+
* @param override - Optional explicit CDN dependency override
|
|
56
|
+
* @returns Resolved dependency, or null in non-strict mode if package is not found (should be bundled)
|
|
57
|
+
* @throws DependencyResolutionError if package cannot be resolved in strict mode
|
|
58
|
+
*/
|
|
59
|
+
resolve(packageName: string, override?: CDNDependency): ResolvedDependency | null;
|
|
60
|
+
/**
|
|
61
|
+
* Resolve multiple packages.
|
|
62
|
+
*
|
|
63
|
+
* @param packageNames - Array of package names
|
|
64
|
+
* @param overrides - Optional explicit overrides for specific packages
|
|
65
|
+
* @returns Array of resolved dependencies (in dependency order)
|
|
66
|
+
*/
|
|
67
|
+
resolveMany(packageNames: string[], overrides?: Record<string, CDNDependency>): ResolvedDependency[];
|
|
68
|
+
/**
|
|
69
|
+
* Resolve dependencies from source code.
|
|
70
|
+
*
|
|
71
|
+
* Parses the source to extract imports, then resolves external packages
|
|
72
|
+
* that are in the externals list.
|
|
73
|
+
*
|
|
74
|
+
* @param source - Source code to parse
|
|
75
|
+
* @param externals - Package names to resolve from CDN (others are bundled)
|
|
76
|
+
* @param overrides - Optional explicit CDN overrides
|
|
77
|
+
* @returns Resolved dependencies
|
|
78
|
+
*/
|
|
79
|
+
resolveFromSource(source: string, externals: string[], overrides?: Record<string, CDNDependency>): ResolvedDependency[];
|
|
80
|
+
/**
|
|
81
|
+
* Generate an import map for resolved dependencies.
|
|
82
|
+
*
|
|
83
|
+
* @param dependencies - Resolved dependencies
|
|
84
|
+
* @returns Browser import map
|
|
85
|
+
*/
|
|
86
|
+
generateImportMap(dependencies: ResolvedDependency[]): ImportMap;
|
|
87
|
+
/**
|
|
88
|
+
* Check if a package can be resolved for the current platform.
|
|
89
|
+
*
|
|
90
|
+
* @param packageName - Package name to check
|
|
91
|
+
* @returns true if the package can be resolved
|
|
92
|
+
*/
|
|
93
|
+
canResolve(packageName: string): boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Get the resolved CDN URL for a package.
|
|
96
|
+
*
|
|
97
|
+
* @param packageName - Package name
|
|
98
|
+
* @param override - Optional explicit override
|
|
99
|
+
* @returns CDN URL or undefined if cannot resolve
|
|
100
|
+
*/
|
|
101
|
+
getUrl(packageName: string, override?: CDNDependency): string | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* Get peer dependencies for a package.
|
|
104
|
+
*/
|
|
105
|
+
getPeerDependencies(packageName: string): string[];
|
|
106
|
+
/**
|
|
107
|
+
* Create the current registry (default + custom).
|
|
108
|
+
*/
|
|
109
|
+
getRegistry(): CDNRegistry;
|
|
110
|
+
/**
|
|
111
|
+
* Get the current platform.
|
|
112
|
+
*/
|
|
113
|
+
getPlatform(): CDNPlatformType;
|
|
114
|
+
/**
|
|
115
|
+
* Create a resolved dependency object.
|
|
116
|
+
*/
|
|
117
|
+
private createResolvedDependency;
|
|
118
|
+
/**
|
|
119
|
+
* Try to extract version from CDN URL.
|
|
120
|
+
*/
|
|
121
|
+
private extractVersionFromUrl;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Create a dependency resolver for a specific platform.
|
|
125
|
+
*
|
|
126
|
+
* @param platform - Target platform
|
|
127
|
+
* @param options - Additional options
|
|
128
|
+
* @returns Configured dependency resolver
|
|
129
|
+
*/
|
|
130
|
+
export declare function createResolver(platform: CDNPlatformType, options?: Omit<DependencyResolverOptions, 'platform'>): DependencyResolver;
|
|
131
|
+
/**
|
|
132
|
+
* Create a Claude-compatible resolver.
|
|
133
|
+
*
|
|
134
|
+
* Only uses cdnjs.cloudflare.com for dependencies.
|
|
135
|
+
*/
|
|
136
|
+
export declare function createClaudeResolver(options?: Omit<DependencyResolverOptions, 'platform'>): DependencyResolver;
|
|
137
|
+
/**
|
|
138
|
+
* Create an OpenAI-compatible resolver.
|
|
139
|
+
*
|
|
140
|
+
* Can use any CDN but prefers Cloudflare.
|
|
141
|
+
*/
|
|
142
|
+
export declare function createOpenAIResolver(options?: Omit<DependencyResolverOptions, 'platform'>): DependencyResolver;
|
|
143
|
+
/**
|
|
144
|
+
* Resolve dependencies for a source file.
|
|
145
|
+
*
|
|
146
|
+
* Convenience function that creates a resolver and resolves in one call.
|
|
147
|
+
*
|
|
148
|
+
* @param source - Source code
|
|
149
|
+
* @param externals - Package names to resolve from CDN
|
|
150
|
+
* @param options - Resolver options
|
|
151
|
+
* @returns Resolved dependencies
|
|
152
|
+
*/
|
|
153
|
+
export declare function resolveDependencies(source: string, externals: string[], options?: DependencyResolverOptions): ResolvedDependency[];
|
|
154
|
+
/**
|
|
155
|
+
* Generate import map for dependencies.
|
|
156
|
+
*
|
|
157
|
+
* Convenience function that resolves and generates import map in one call.
|
|
158
|
+
*
|
|
159
|
+
* @param externals - Package names to include
|
|
160
|
+
* @param options - Resolver options
|
|
161
|
+
* @returns Import map
|
|
162
|
+
*/
|
|
163
|
+
export declare function generateImportMapForPackages(externals: string[], options?: DependencyResolverOptions): ImportMap;
|
|
164
|
+
//# sourceMappingURL=resolver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["../../../src/dependency/resolver.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EACV,aAAa,EACb,eAAe,EAEf,WAAW,EACX,yBAAyB,EACzB,kBAAkB,EAClB,SAAS,EACV,MAAM,SAAS,CAAC;AAgBjB;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,KAAK;aACtB,WAAW,EAAE,MAAM;aAAkB,MAAM,EAAE,MAAM;gBAAnD,WAAW,EAAE,MAAM,EAAkB,MAAM,EAAE,MAAM;CAIhF;AAED;;GAEG;AACH,qBAAa,eAAgB,SAAQ,yBAAyB;aACX,QAAQ,EAAE,eAAe;gBAA9D,WAAW,EAAE,MAAM,EAAkB,QAAQ,EAAE,eAAe;CAI3E;AAMD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAsC;IAC9D,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAc;gBAE3B,OAAO,GAAE,yBAA8B;IAYnD;;;;;;;OAOG;IACH,OAAO,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,aAAa,GAAG,kBAAkB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B,CACjC,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EAAE,EACnB,OAAO,CAAC,EAAE,yBAAyB,GAClC,kBAAkB,EAAE,CAGtB;AAED;;;;;;;;GAQG;AACH,wBAAgB,4BAA4B,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAIhH"}
|
|
@@ -0,0 +1,486 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dependency Resolution Schemas
|
|
3
|
+
*
|
|
4
|
+
* Zod validation schemas for CDN dependency configuration,
|
|
5
|
+
* bundle options, and file template configurations.
|
|
6
|
+
*
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
*/
|
|
9
|
+
import { z } from 'zod';
|
|
10
|
+
/**
|
|
11
|
+
* Supported CDN providers.
|
|
12
|
+
*/
|
|
13
|
+
export declare const cdnProviderSchema: z.ZodEnum<{
|
|
14
|
+
cloudflare: "cloudflare";
|
|
15
|
+
jsdelivr: "jsdelivr";
|
|
16
|
+
unpkg: "unpkg";
|
|
17
|
+
"esm.sh": "esm.sh";
|
|
18
|
+
skypack: "skypack";
|
|
19
|
+
}>;
|
|
20
|
+
/**
|
|
21
|
+
* Platform types that affect CDN selection.
|
|
22
|
+
*/
|
|
23
|
+
export declare const cdnPlatformTypeSchema: z.ZodEnum<{
|
|
24
|
+
claude: "claude";
|
|
25
|
+
openai: "openai";
|
|
26
|
+
cursor: "cursor";
|
|
27
|
+
gemini: "gemini";
|
|
28
|
+
continue: "continue";
|
|
29
|
+
cody: "cody";
|
|
30
|
+
unknown: "unknown";
|
|
31
|
+
}>;
|
|
32
|
+
/**
|
|
33
|
+
* Schema for validating CDN dependency configuration.
|
|
34
|
+
*/
|
|
35
|
+
export declare const cdnDependencySchema: z.ZodObject<{
|
|
36
|
+
url: z.ZodString;
|
|
37
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
38
|
+
global: z.ZodOptional<z.ZodString>;
|
|
39
|
+
exports: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
|
+
esm: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
+
crossorigin: z.ZodOptional<z.ZodEnum<{
|
|
42
|
+
anonymous: "anonymous";
|
|
43
|
+
"use-credentials": "use-credentials";
|
|
44
|
+
}>>;
|
|
45
|
+
peerDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
46
|
+
}, z.core.$strict>;
|
|
47
|
+
export type CDNDependencyInput = z.input<typeof cdnDependencySchema>;
|
|
48
|
+
export type CDNDependencyOutput = z.output<typeof cdnDependencySchema>;
|
|
49
|
+
/**
|
|
50
|
+
* Target JavaScript version.
|
|
51
|
+
*/
|
|
52
|
+
export declare const bundleTargetSchema: z.ZodEnum<{
|
|
53
|
+
es2018: "es2018";
|
|
54
|
+
es2019: "es2019";
|
|
55
|
+
es2020: "es2020";
|
|
56
|
+
es2021: "es2021";
|
|
57
|
+
es2022: "es2022";
|
|
58
|
+
esnext: "esnext";
|
|
59
|
+
}>;
|
|
60
|
+
/**
|
|
61
|
+
* Schema for file bundle options.
|
|
62
|
+
*/
|
|
63
|
+
export declare const fileBundleOptionsSchema: z.ZodObject<{
|
|
64
|
+
minify: z.ZodOptional<z.ZodBoolean>;
|
|
65
|
+
sourceMaps: z.ZodOptional<z.ZodBoolean>;
|
|
66
|
+
target: z.ZodOptional<z.ZodEnum<{
|
|
67
|
+
es2018: "es2018";
|
|
68
|
+
es2019: "es2019";
|
|
69
|
+
es2020: "es2020";
|
|
70
|
+
es2021: "es2021";
|
|
71
|
+
es2022: "es2022";
|
|
72
|
+
esnext: "esnext";
|
|
73
|
+
}>>;
|
|
74
|
+
treeShake: z.ZodOptional<z.ZodBoolean>;
|
|
75
|
+
jsxFactory: z.ZodOptional<z.ZodString>;
|
|
76
|
+
jsxFragment: z.ZodOptional<z.ZodString>;
|
|
77
|
+
jsxImportSource: z.ZodOptional<z.ZodString>;
|
|
78
|
+
}, z.core.$strict>;
|
|
79
|
+
export type FileBundleOptionsInput = z.input<typeof fileBundleOptionsSchema>;
|
|
80
|
+
export type FileBundleOptionsOutput = z.output<typeof fileBundleOptionsSchema>;
|
|
81
|
+
/**
|
|
82
|
+
* Schema for file-based template configuration.
|
|
83
|
+
* These fields extend UITemplateConfig for file-based templates.
|
|
84
|
+
*/
|
|
85
|
+
export declare const fileTemplateConfigSchema: z.ZodObject<{
|
|
86
|
+
externals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
87
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
88
|
+
url: z.ZodString;
|
|
89
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
90
|
+
global: z.ZodOptional<z.ZodString>;
|
|
91
|
+
exports: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
92
|
+
esm: z.ZodOptional<z.ZodBoolean>;
|
|
93
|
+
crossorigin: z.ZodOptional<z.ZodEnum<{
|
|
94
|
+
anonymous: "anonymous";
|
|
95
|
+
"use-credentials": "use-credentials";
|
|
96
|
+
}>>;
|
|
97
|
+
peerDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
98
|
+
}, z.core.$strict>>>;
|
|
99
|
+
bundleOptions: z.ZodOptional<z.ZodObject<{
|
|
100
|
+
minify: z.ZodOptional<z.ZodBoolean>;
|
|
101
|
+
sourceMaps: z.ZodOptional<z.ZodBoolean>;
|
|
102
|
+
target: z.ZodOptional<z.ZodEnum<{
|
|
103
|
+
es2018: "es2018";
|
|
104
|
+
es2019: "es2019";
|
|
105
|
+
es2020: "es2020";
|
|
106
|
+
es2021: "es2021";
|
|
107
|
+
es2022: "es2022";
|
|
108
|
+
esnext: "esnext";
|
|
109
|
+
}>>;
|
|
110
|
+
treeShake: z.ZodOptional<z.ZodBoolean>;
|
|
111
|
+
jsxFactory: z.ZodOptional<z.ZodString>;
|
|
112
|
+
jsxFragment: z.ZodOptional<z.ZodString>;
|
|
113
|
+
jsxImportSource: z.ZodOptional<z.ZodString>;
|
|
114
|
+
}, z.core.$strict>>;
|
|
115
|
+
}, z.core.$strict>;
|
|
116
|
+
export type FileTemplateConfigInput = z.input<typeof fileTemplateConfigSchema>;
|
|
117
|
+
export type FileTemplateConfigOutput = z.output<typeof fileTemplateConfigSchema>;
|
|
118
|
+
/**
|
|
119
|
+
* Schema for browser import maps.
|
|
120
|
+
*/
|
|
121
|
+
export declare const importMapSchema: z.ZodObject<{
|
|
122
|
+
imports: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
123
|
+
scopes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
124
|
+
integrity: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
125
|
+
}, z.core.$strict>;
|
|
126
|
+
export type ImportMapInput = z.input<typeof importMapSchema>;
|
|
127
|
+
export type ImportMapOutput = z.output<typeof importMapSchema>;
|
|
128
|
+
/**
|
|
129
|
+
* Schema for a resolved dependency entry.
|
|
130
|
+
*/
|
|
131
|
+
export declare const resolvedDependencySchema: z.ZodObject<{
|
|
132
|
+
packageName: z.ZodString;
|
|
133
|
+
version: z.ZodString;
|
|
134
|
+
cdnUrl: z.ZodString;
|
|
135
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
136
|
+
global: z.ZodOptional<z.ZodString>;
|
|
137
|
+
esm: z.ZodBoolean;
|
|
138
|
+
provider: z.ZodEnum<{
|
|
139
|
+
cloudflare: "cloudflare";
|
|
140
|
+
jsdelivr: "jsdelivr";
|
|
141
|
+
unpkg: "unpkg";
|
|
142
|
+
"esm.sh": "esm.sh";
|
|
143
|
+
skypack: "skypack";
|
|
144
|
+
}>;
|
|
145
|
+
}, z.core.$strict>;
|
|
146
|
+
export type ResolvedDependencyInput = z.input<typeof resolvedDependencySchema>;
|
|
147
|
+
export type ResolvedDependencyOutput = z.output<typeof resolvedDependencySchema>;
|
|
148
|
+
/**
|
|
149
|
+
* Schema for build manifest metadata.
|
|
150
|
+
*/
|
|
151
|
+
export declare const buildManifestMetadataSchema: z.ZodObject<{
|
|
152
|
+
createdAt: z.ZodString;
|
|
153
|
+
buildTimeMs: z.ZodNumber;
|
|
154
|
+
totalSize: z.ZodNumber;
|
|
155
|
+
bundlerVersion: z.ZodOptional<z.ZodString>;
|
|
156
|
+
}, z.core.$strict>;
|
|
157
|
+
/**
|
|
158
|
+
* Schema for build outputs.
|
|
159
|
+
*/
|
|
160
|
+
export declare const buildManifestOutputsSchema: z.ZodObject<{
|
|
161
|
+
code: z.ZodString;
|
|
162
|
+
sourceMap: z.ZodOptional<z.ZodString>;
|
|
163
|
+
ssrHtml: z.ZodOptional<z.ZodString>;
|
|
164
|
+
}, z.core.$strict>;
|
|
165
|
+
/**
|
|
166
|
+
* Schema for component build manifest.
|
|
167
|
+
*/
|
|
168
|
+
export declare const componentBuildManifestSchema: z.ZodObject<{
|
|
169
|
+
version: z.ZodLiteral<"1.0">;
|
|
170
|
+
buildId: z.ZodString;
|
|
171
|
+
toolName: z.ZodString;
|
|
172
|
+
entryPath: z.ZodString;
|
|
173
|
+
contentHash: z.ZodString;
|
|
174
|
+
dependencies: z.ZodArray<z.ZodObject<{
|
|
175
|
+
packageName: z.ZodString;
|
|
176
|
+
version: z.ZodString;
|
|
177
|
+
cdnUrl: z.ZodString;
|
|
178
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
179
|
+
global: z.ZodOptional<z.ZodString>;
|
|
180
|
+
esm: z.ZodBoolean;
|
|
181
|
+
provider: z.ZodEnum<{
|
|
182
|
+
cloudflare: "cloudflare";
|
|
183
|
+
jsdelivr: "jsdelivr";
|
|
184
|
+
unpkg: "unpkg";
|
|
185
|
+
"esm.sh": "esm.sh";
|
|
186
|
+
skypack: "skypack";
|
|
187
|
+
}>;
|
|
188
|
+
}, z.core.$strict>>;
|
|
189
|
+
outputs: z.ZodObject<{
|
|
190
|
+
code: z.ZodString;
|
|
191
|
+
sourceMap: z.ZodOptional<z.ZodString>;
|
|
192
|
+
ssrHtml: z.ZodOptional<z.ZodString>;
|
|
193
|
+
}, z.core.$strict>;
|
|
194
|
+
importMap: z.ZodObject<{
|
|
195
|
+
imports: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
196
|
+
scopes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
197
|
+
integrity: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
198
|
+
}, z.core.$strict>;
|
|
199
|
+
metadata: z.ZodObject<{
|
|
200
|
+
createdAt: z.ZodString;
|
|
201
|
+
buildTimeMs: z.ZodNumber;
|
|
202
|
+
totalSize: z.ZodNumber;
|
|
203
|
+
bundlerVersion: z.ZodOptional<z.ZodString>;
|
|
204
|
+
}, z.core.$strict>;
|
|
205
|
+
}, z.core.$strict>;
|
|
206
|
+
export type ComponentBuildManifestInput = z.input<typeof componentBuildManifestSchema>;
|
|
207
|
+
export type ComponentBuildManifestOutput = z.output<typeof componentBuildManifestSchema>;
|
|
208
|
+
/**
|
|
209
|
+
* Schema for CDN provider configuration.
|
|
210
|
+
*/
|
|
211
|
+
export declare const cdnProviderConfigSchema: z.ZodRecord<z.ZodEnum<{
|
|
212
|
+
cloudflare: "cloudflare";
|
|
213
|
+
jsdelivr: "jsdelivr";
|
|
214
|
+
unpkg: "unpkg";
|
|
215
|
+
"esm.sh": "esm.sh";
|
|
216
|
+
skypack: "skypack";
|
|
217
|
+
}>, z.ZodObject<{
|
|
218
|
+
url: z.ZodString;
|
|
219
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
220
|
+
global: z.ZodOptional<z.ZodString>;
|
|
221
|
+
exports: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
222
|
+
esm: z.ZodOptional<z.ZodBoolean>;
|
|
223
|
+
crossorigin: z.ZodOptional<z.ZodEnum<{
|
|
224
|
+
anonymous: "anonymous";
|
|
225
|
+
"use-credentials": "use-credentials";
|
|
226
|
+
}>>;
|
|
227
|
+
peerDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
228
|
+
}, z.core.$strict>>;
|
|
229
|
+
/**
|
|
230
|
+
* Schema for package metadata in registry.
|
|
231
|
+
*/
|
|
232
|
+
export declare const packageMetadataSchema: z.ZodObject<{
|
|
233
|
+
description: z.ZodOptional<z.ZodString>;
|
|
234
|
+
homepage: z.ZodOptional<z.ZodString>;
|
|
235
|
+
license: z.ZodOptional<z.ZodString>;
|
|
236
|
+
}, z.core.$strict>;
|
|
237
|
+
/**
|
|
238
|
+
* Schema for a CDN registry entry.
|
|
239
|
+
*/
|
|
240
|
+
export declare const cdnRegistryEntrySchema: z.ZodObject<{
|
|
241
|
+
packageName: z.ZodString;
|
|
242
|
+
defaultVersion: z.ZodString;
|
|
243
|
+
providers: z.ZodRecord<z.ZodEnum<{
|
|
244
|
+
cloudflare: "cloudflare";
|
|
245
|
+
jsdelivr: "jsdelivr";
|
|
246
|
+
unpkg: "unpkg";
|
|
247
|
+
"esm.sh": "esm.sh";
|
|
248
|
+
skypack: "skypack";
|
|
249
|
+
}>, z.ZodObject<{
|
|
250
|
+
url: z.ZodString;
|
|
251
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
252
|
+
global: z.ZodOptional<z.ZodString>;
|
|
253
|
+
exports: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
254
|
+
esm: z.ZodOptional<z.ZodBoolean>;
|
|
255
|
+
crossorigin: z.ZodOptional<z.ZodEnum<{
|
|
256
|
+
anonymous: "anonymous";
|
|
257
|
+
"use-credentials": "use-credentials";
|
|
258
|
+
}>>;
|
|
259
|
+
peerDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
260
|
+
}, z.core.$strict>>;
|
|
261
|
+
preferredProviders: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
262
|
+
cloudflare: "cloudflare";
|
|
263
|
+
jsdelivr: "jsdelivr";
|
|
264
|
+
unpkg: "unpkg";
|
|
265
|
+
"esm.sh": "esm.sh";
|
|
266
|
+
skypack: "skypack";
|
|
267
|
+
}>>>;
|
|
268
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
269
|
+
description: z.ZodOptional<z.ZodString>;
|
|
270
|
+
homepage: z.ZodOptional<z.ZodString>;
|
|
271
|
+
license: z.ZodOptional<z.ZodString>;
|
|
272
|
+
}, z.core.$strict>>;
|
|
273
|
+
}, z.core.$strict>;
|
|
274
|
+
export type CDNRegistryEntryInput = z.input<typeof cdnRegistryEntrySchema>;
|
|
275
|
+
export type CDNRegistryEntryOutput = z.output<typeof cdnRegistryEntrySchema>;
|
|
276
|
+
/**
|
|
277
|
+
* Schema for dependency resolver options.
|
|
278
|
+
*/
|
|
279
|
+
export declare const dependencyResolverOptionsSchema: z.ZodObject<{
|
|
280
|
+
platform: z.ZodOptional<z.ZodEnum<{
|
|
281
|
+
claude: "claude";
|
|
282
|
+
openai: "openai";
|
|
283
|
+
cursor: "cursor";
|
|
284
|
+
gemini: "gemini";
|
|
285
|
+
continue: "continue";
|
|
286
|
+
cody: "cody";
|
|
287
|
+
unknown: "unknown";
|
|
288
|
+
}>>;
|
|
289
|
+
preferredProviders: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
290
|
+
cloudflare: "cloudflare";
|
|
291
|
+
jsdelivr: "jsdelivr";
|
|
292
|
+
unpkg: "unpkg";
|
|
293
|
+
"esm.sh": "esm.sh";
|
|
294
|
+
skypack: "skypack";
|
|
295
|
+
}>>>;
|
|
296
|
+
customRegistry: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
297
|
+
packageName: z.ZodString;
|
|
298
|
+
defaultVersion: z.ZodString;
|
|
299
|
+
providers: z.ZodRecord<z.ZodEnum<{
|
|
300
|
+
cloudflare: "cloudflare";
|
|
301
|
+
jsdelivr: "jsdelivr";
|
|
302
|
+
unpkg: "unpkg";
|
|
303
|
+
"esm.sh": "esm.sh";
|
|
304
|
+
skypack: "skypack";
|
|
305
|
+
}>, z.ZodObject<{
|
|
306
|
+
url: z.ZodString;
|
|
307
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
308
|
+
global: z.ZodOptional<z.ZodString>;
|
|
309
|
+
exports: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
310
|
+
esm: z.ZodOptional<z.ZodBoolean>;
|
|
311
|
+
crossorigin: z.ZodOptional<z.ZodEnum<{
|
|
312
|
+
anonymous: "anonymous";
|
|
313
|
+
"use-credentials": "use-credentials";
|
|
314
|
+
}>>;
|
|
315
|
+
peerDependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
316
|
+
}, z.core.$strict>>;
|
|
317
|
+
preferredProviders: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
318
|
+
cloudflare: "cloudflare";
|
|
319
|
+
jsdelivr: "jsdelivr";
|
|
320
|
+
unpkg: "unpkg";
|
|
321
|
+
"esm.sh": "esm.sh";
|
|
322
|
+
skypack: "skypack";
|
|
323
|
+
}>>>;
|
|
324
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
325
|
+
description: z.ZodOptional<z.ZodString>;
|
|
326
|
+
homepage: z.ZodOptional<z.ZodString>;
|
|
327
|
+
license: z.ZodOptional<z.ZodString>;
|
|
328
|
+
}, z.core.$strict>>;
|
|
329
|
+
}, z.core.$strict>>>;
|
|
330
|
+
strictMode: z.ZodOptional<z.ZodBoolean>;
|
|
331
|
+
requireIntegrity: z.ZodOptional<z.ZodBoolean>;
|
|
332
|
+
}, z.core.$strict>;
|
|
333
|
+
export type DependencyResolverOptionsInput = z.input<typeof dependencyResolverOptionsSchema>;
|
|
334
|
+
export type DependencyResolverOptionsOutput = z.output<typeof dependencyResolverOptionsSchema>;
|
|
335
|
+
/**
|
|
336
|
+
* Import type enumeration.
|
|
337
|
+
*/
|
|
338
|
+
export declare const importTypeSchema: z.ZodEnum<{
|
|
339
|
+
named: "named";
|
|
340
|
+
default: "default";
|
|
341
|
+
namespace: "namespace";
|
|
342
|
+
"side-effect": "side-effect";
|
|
343
|
+
dynamic: "dynamic";
|
|
344
|
+
}>;
|
|
345
|
+
/**
|
|
346
|
+
* Schema for a parsed import statement.
|
|
347
|
+
*/
|
|
348
|
+
export declare const parsedImportSchema: z.ZodObject<{
|
|
349
|
+
statement: z.ZodString;
|
|
350
|
+
specifier: z.ZodString;
|
|
351
|
+
type: z.ZodEnum<{
|
|
352
|
+
named: "named";
|
|
353
|
+
default: "default";
|
|
354
|
+
namespace: "namespace";
|
|
355
|
+
"side-effect": "side-effect";
|
|
356
|
+
dynamic: "dynamic";
|
|
357
|
+
}>;
|
|
358
|
+
namedImports: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
359
|
+
defaultImport: z.ZodOptional<z.ZodString>;
|
|
360
|
+
namespaceImport: z.ZodOptional<z.ZodString>;
|
|
361
|
+
line: z.ZodNumber;
|
|
362
|
+
column: z.ZodNumber;
|
|
363
|
+
}, z.core.$strict>;
|
|
364
|
+
export type ParsedImportInput = z.input<typeof parsedImportSchema>;
|
|
365
|
+
export type ParsedImportOutput = z.output<typeof parsedImportSchema>;
|
|
366
|
+
/**
|
|
367
|
+
* Schema for parsed import results.
|
|
368
|
+
*/
|
|
369
|
+
export declare const parsedImportResultSchema: z.ZodObject<{
|
|
370
|
+
imports: z.ZodArray<z.ZodObject<{
|
|
371
|
+
statement: z.ZodString;
|
|
372
|
+
specifier: z.ZodString;
|
|
373
|
+
type: z.ZodEnum<{
|
|
374
|
+
named: "named";
|
|
375
|
+
default: "default";
|
|
376
|
+
namespace: "namespace";
|
|
377
|
+
"side-effect": "side-effect";
|
|
378
|
+
dynamic: "dynamic";
|
|
379
|
+
}>;
|
|
380
|
+
namedImports: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
381
|
+
defaultImport: z.ZodOptional<z.ZodString>;
|
|
382
|
+
namespaceImport: z.ZodOptional<z.ZodString>;
|
|
383
|
+
line: z.ZodNumber;
|
|
384
|
+
column: z.ZodNumber;
|
|
385
|
+
}, z.core.$strict>>;
|
|
386
|
+
externalImports: z.ZodArray<z.ZodObject<{
|
|
387
|
+
statement: z.ZodString;
|
|
388
|
+
specifier: z.ZodString;
|
|
389
|
+
type: z.ZodEnum<{
|
|
390
|
+
named: "named";
|
|
391
|
+
default: "default";
|
|
392
|
+
namespace: "namespace";
|
|
393
|
+
"side-effect": "side-effect";
|
|
394
|
+
dynamic: "dynamic";
|
|
395
|
+
}>;
|
|
396
|
+
namedImports: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
397
|
+
defaultImport: z.ZodOptional<z.ZodString>;
|
|
398
|
+
namespaceImport: z.ZodOptional<z.ZodString>;
|
|
399
|
+
line: z.ZodNumber;
|
|
400
|
+
column: z.ZodNumber;
|
|
401
|
+
}, z.core.$strict>>;
|
|
402
|
+
relativeImports: z.ZodArray<z.ZodObject<{
|
|
403
|
+
statement: z.ZodString;
|
|
404
|
+
specifier: z.ZodString;
|
|
405
|
+
type: z.ZodEnum<{
|
|
406
|
+
named: "named";
|
|
407
|
+
default: "default";
|
|
408
|
+
namespace: "namespace";
|
|
409
|
+
"side-effect": "side-effect";
|
|
410
|
+
dynamic: "dynamic";
|
|
411
|
+
}>;
|
|
412
|
+
namedImports: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
413
|
+
defaultImport: z.ZodOptional<z.ZodString>;
|
|
414
|
+
namespaceImport: z.ZodOptional<z.ZodString>;
|
|
415
|
+
line: z.ZodNumber;
|
|
416
|
+
column: z.ZodNumber;
|
|
417
|
+
}, z.core.$strict>>;
|
|
418
|
+
externalPackages: z.ZodArray<z.ZodString>;
|
|
419
|
+
}, z.core.$strict>;
|
|
420
|
+
export type ParsedImportResultInput = z.input<typeof parsedImportResultSchema>;
|
|
421
|
+
export type ParsedImportResultOutput = z.output<typeof parsedImportResultSchema>;
|
|
422
|
+
/**
|
|
423
|
+
* Schema for cache statistics.
|
|
424
|
+
*/
|
|
425
|
+
export declare const cacheStatsSchema: z.ZodObject<{
|
|
426
|
+
entries: z.ZodNumber;
|
|
427
|
+
totalSize: z.ZodNumber;
|
|
428
|
+
hits: z.ZodNumber;
|
|
429
|
+
misses: z.ZodNumber;
|
|
430
|
+
hitRate: z.ZodNumber;
|
|
431
|
+
}, z.core.$strict>;
|
|
432
|
+
export type CacheStatsInput = z.input<typeof cacheStatsSchema>;
|
|
433
|
+
export type CacheStatsOutput = z.output<typeof cacheStatsSchema>;
|
|
434
|
+
/**
|
|
435
|
+
* Safe parse result type.
|
|
436
|
+
*/
|
|
437
|
+
export type SafeParseResult<T> = {
|
|
438
|
+
success: true;
|
|
439
|
+
data: T;
|
|
440
|
+
} | {
|
|
441
|
+
success: false;
|
|
442
|
+
error: z.ZodError;
|
|
443
|
+
};
|
|
444
|
+
/**
|
|
445
|
+
* Validate a CDN dependency configuration.
|
|
446
|
+
*
|
|
447
|
+
* @param data - Data to validate
|
|
448
|
+
* @returns Validated CDN dependency or throws ZodError
|
|
449
|
+
*/
|
|
450
|
+
export declare function validateCDNDependency(data: unknown): CDNDependencyOutput;
|
|
451
|
+
/**
|
|
452
|
+
* Safely validate a CDN dependency configuration.
|
|
453
|
+
*
|
|
454
|
+
* @param data - Data to validate
|
|
455
|
+
* @returns Safe parse result with success flag
|
|
456
|
+
*/
|
|
457
|
+
export declare function safeParseCDNDependency(data: unknown): SafeParseResult<CDNDependencyOutput>;
|
|
458
|
+
/**
|
|
459
|
+
* Validate file template configuration.
|
|
460
|
+
*
|
|
461
|
+
* @param data - Data to validate
|
|
462
|
+
* @returns Validated file template config or throws ZodError
|
|
463
|
+
*/
|
|
464
|
+
export declare function validateFileTemplateConfig(data: unknown): FileTemplateConfigOutput;
|
|
465
|
+
/**
|
|
466
|
+
* Safely validate file template configuration.
|
|
467
|
+
*
|
|
468
|
+
* @param data - Data to validate
|
|
469
|
+
* @returns Safe parse result with success flag
|
|
470
|
+
*/
|
|
471
|
+
export declare function safeParseFileTemplateConfig(data: unknown): SafeParseResult<FileTemplateConfigOutput>;
|
|
472
|
+
/**
|
|
473
|
+
* Validate a component build manifest.
|
|
474
|
+
*
|
|
475
|
+
* @param data - Data to validate
|
|
476
|
+
* @returns Validated manifest or throws ZodError
|
|
477
|
+
*/
|
|
478
|
+
export declare function validateBuildManifest(data: unknown): ComponentBuildManifestOutput;
|
|
479
|
+
/**
|
|
480
|
+
* Safely validate a component build manifest.
|
|
481
|
+
*
|
|
482
|
+
* @param data - Data to validate
|
|
483
|
+
* @returns Safe parse result with success flag
|
|
484
|
+
*/
|
|
485
|
+
export declare function safeParseBuildManifest(data: unknown): SafeParseResult<ComponentBuildManifestOutput>;
|
|
486
|
+
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/dependency/schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;EAAmE,CAAC;AAElG;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;EAAkF,CAAC;AAMrH;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;kBA+CrB,CAAC;AAEZ,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACrE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAMvE;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;EAAuE,CAAC;AAEvG;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;kBAqCzB,CAAC;AAEZ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAC7E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAM/E;;;GAGG;AACH,e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