@format.dev/compile 0.0.0 → 0.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 +30 -20
- package/bin/format-compile +3 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/defineProperty.mjs +14 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/toPrimitive.mjs +16 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/toPropertyKey.mjs +11 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/typeof.mjs +12 -0
- package/dist/_virtual/rolldown_runtime.mjs +46 -0
- package/dist/node_modules/.pnpm/@babel_parser@7.29.8/node_modules/@babel/parser/lib/index.mjs +12606 -0
- package/dist/node_modules/.pnpm/@babel_parser@7.29.8/node_modules/@babel/parser/lib/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_compiler-core@3.5.41/node_modules/@vue/compiler-core/dist/compiler-core.cjs.mjs +4866 -0
- package/dist/node_modules/.pnpm/@vue_compiler-core@3.5.41/node_modules/@vue/compiler-core/dist/compiler-core.cjs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_compiler-core@3.5.41/node_modules/@vue/compiler-core/index.mjs +13 -0
- package/dist/node_modules/.pnpm/@vue_compiler-core@3.5.41/node_modules/@vue/compiler-core/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_compiler-dom@3.5.41/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.mjs +663 -0
- package/dist/node_modules/.pnpm/@vue_compiler-dom@3.5.41/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_compiler-dom@3.5.41/node_modules/@vue/compiler-dom/index.mjs +13 -0
- package/dist/node_modules/.pnpm/@vue_compiler-dom@3.5.41/node_modules/@vue/compiler-dom/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_compiler-ssr@3.5.41/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.mjs +846 -0
- package/dist/node_modules/.pnpm/@vue_compiler-ssr@3.5.41/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_reactivity@3.5.41/node_modules/@vue/reactivity/dist/reactivity.cjs.mjs +1600 -0
- package/dist/node_modules/.pnpm/@vue_reactivity@3.5.41/node_modules/@vue/reactivity/dist/reactivity.cjs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_reactivity@3.5.41/node_modules/@vue/reactivity/index.mjs +13 -0
- package/dist/node_modules/.pnpm/@vue_reactivity@3.5.41/node_modules/@vue/reactivity/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_runtime-core@3.5.41/node_modules/@vue/runtime-core/dist/runtime-core.cjs.mjs +5619 -0
- package/dist/node_modules/.pnpm/@vue_runtime-core@3.5.41/node_modules/@vue/runtime-core/dist/runtime-core.cjs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_runtime-core@3.5.41/node_modules/@vue/runtime-core/index.mjs +13 -0
- package/dist/node_modules/.pnpm/@vue_runtime-core@3.5.41/node_modules/@vue/runtime-core/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_runtime-dom@3.5.41/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.mjs +1479 -0
- package/dist/node_modules/.pnpm/@vue_runtime-dom@3.5.41/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_runtime-dom@3.5.41/node_modules/@vue/runtime-dom/index.mjs +13 -0
- package/dist/node_modules/.pnpm/@vue_runtime-dom@3.5.41/node_modules/@vue/runtime-dom/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_server-renderer@3.5.41/node_modules/@vue/server-renderer/dist/server-renderer.cjs.mjs +510 -0
- package/dist/node_modules/.pnpm/@vue_server-renderer@3.5.41/node_modules/@vue/server-renderer/dist/server-renderer.cjs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_server-renderer@3.5.41/node_modules/@vue/server-renderer/index.mjs +13 -0
- package/dist/node_modules/.pnpm/@vue_server-renderer@3.5.41/node_modules/@vue/server-renderer/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_shared@3.5.41/node_modules/@vue/shared/dist/shared.cjs.mjs +499 -0
- package/dist/node_modules/.pnpm/@vue_shared@3.5.41/node_modules/@vue/shared/dist/shared.cjs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@vue_shared@3.5.41/node_modules/@vue/shared/index.mjs +13 -0
- package/dist/node_modules/.pnpm/@vue_shared@3.5.41/node_modules/@vue/shared/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/decode-codepoint.mjs +79 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/decode-codepoint.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/decode.mjs +471 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/decode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/generated/decode-data-html.mjs +16 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/generated/decode-data-html.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/generated/decode-data-xml.mjs +16 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/generated/decode-data-xml.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/internal/bin-trie-flags.mjs +30 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/internal/bin-trie-flags.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/internal/decode-shared.mjs +24 -0
- package/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/commonjs/internal/decode-shared.mjs.map +1 -0
- package/dist/node_modules/.pnpm/estree-walker@2.0.2/node_modules/estree-walker/dist/umd/estree-walker.mjs +253 -0
- package/dist/node_modules/.pnpm/estree-walker@2.0.2/node_modules/estree-walker/dist/umd/estree-walker.mjs.map +1 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.mjs +5246 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.mjs.map +1 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom-server.node.development.mjs +5616 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom-server.node.development.mjs.map +1 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom.development.mjs +183 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom.development.mjs.map +1 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/index.mjs +13 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/server.node.mjs +21 -0
- package/dist/node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/server.node.mjs.map +1 -0
- package/dist/node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react.development.mjs +766 -0
- package/dist/node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react.development.mjs.map +1 -0
- package/dist/node_modules/.pnpm/react@19.2.8/node_modules/react/index.mjs +13 -0
- package/dist/node_modules/.pnpm/react@19.2.8/node_modules/react/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/array-set.mjs +100 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/array-set.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/base64-vlq.mjs +73 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/base64-vlq.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/base64.mjs +41 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/base64.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/binary-search.mjs +68 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/binary-search.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/mapping-list.mjs +77 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/mapping-list.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/quick-sort.mjs +89 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/quick-sort.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-consumer.mjs +788 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-consumer.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-generator.mjs +295 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-generator.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-node.mjs +293 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-node.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/util.mjs +352 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/util.mjs.map +1 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/source-map.mjs +17 -0
- package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/source-map.mjs.map +1 -0
- package/dist/node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/dist/vue.cjs.mjs +67 -0
- package/dist/node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/dist/vue.cjs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/index.mjs +13 -0
- package/dist/node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/index2.mjs +10 -0
- package/dist/node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/index2.mjs.map +1 -0
- package/dist/node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/server-renderer/index.mjs +10 -0
- package/dist/node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/server-renderer/index.mjs.map +1 -0
- package/dist/server/cli/bin.d.mts +1 -0
- package/dist/server/cli/bin.mjs +8 -0
- package/dist/server/cli/bin.mjs.map +1 -0
- package/dist/server/cli/cli-spec.mjs +150 -0
- package/dist/server/cli/cli-spec.mjs.map +1 -0
- package/dist/server/cli/index.d.mts +16 -0
- package/dist/server/cli/index.d.mts.map +1 -0
- package/dist/server/cli/index.mjs +64 -0
- package/dist/server/cli/index.mjs.map +1 -0
- package/dist/server/compile/adaptors/html-partials.d.mts +24 -0
- package/dist/server/compile/adaptors/html-partials.d.mts.map +1 -0
- package/dist/server/compile/adaptors/html-partials.mjs +50 -0
- package/dist/server/compile/adaptors/html-partials.mjs.map +1 -0
- package/dist/server/compile/adaptors/html.d.mts +15 -0
- package/dist/server/compile/adaptors/html.d.mts.map +1 -0
- package/dist/server/compile/adaptors/html.mjs +39 -0
- package/dist/server/compile/adaptors/html.mjs.map +1 -0
- package/dist/server/compile/adaptors/node-require.d.mts +6 -0
- package/dist/server/compile/adaptors/node-require.d.mts.map +1 -0
- package/dist/server/compile/adaptors/node-require.mjs +35 -0
- package/dist/server/compile/adaptors/node-require.mjs.map +1 -0
- package/dist/server/compile/adaptors/react-browser.d.mts +20 -0
- package/dist/server/compile/adaptors/react-browser.d.mts.map +1 -0
- package/dist/server/compile/adaptors/react-browser.mjs +19 -0
- package/dist/server/compile/adaptors/react-browser.mjs.map +1 -0
- package/dist/server/compile/adaptors/react-node.d.mts +17 -0
- package/dist/server/compile/adaptors/react-node.d.mts.map +1 -0
- package/dist/server/compile/adaptors/react-node.mjs +50 -0
- package/dist/server/compile/adaptors/react-node.mjs.map +1 -0
- package/dist/server/compile/adaptors/types.d.mts +14 -0
- package/dist/server/compile/adaptors/types.d.mts.map +1 -0
- package/dist/server/compile/adaptors/types.mjs +1 -0
- package/dist/server/compile/adaptors/vue-browser.d.mts +16 -0
- package/dist/server/compile/adaptors/vue-browser.d.mts.map +1 -0
- package/dist/server/compile/adaptors/vue-browser.mjs +16 -0
- package/dist/server/compile/adaptors/vue-browser.mjs.map +1 -0
- package/dist/server/compile/adaptors/vue-node.d.mts +17 -0
- package/dist/server/compile/adaptors/vue-node.d.mts.map +1 -0
- package/dist/server/compile/adaptors/vue-node.mjs +50 -0
- package/dist/server/compile/adaptors/vue-node.mjs.map +1 -0
- package/dist/server/compile/build-entry-module.d.mts +20 -0
- package/dist/server/compile/build-entry-module.d.mts.map +1 -0
- package/dist/server/compile/build-entry-module.mjs +56 -0
- package/dist/server/compile/build-entry-module.mjs.map +1 -0
- package/dist/server/compile/bundle-name.d.mts +5 -0
- package/dist/server/compile/bundle-name.d.mts.map +1 -0
- package/dist/server/compile/bundle-name.mjs +13 -0
- package/dist/server/compile/bundle-name.mjs.map +1 -0
- package/dist/server/compile/compile-cache.d.mts +23 -0
- package/dist/server/compile/compile-cache.d.mts.map +1 -0
- package/dist/server/compile/compile-cache.mjs +102 -0
- package/dist/server/compile/compile-cache.mjs.map +1 -0
- package/dist/server/compile/compile.d.mts +100 -0
- package/dist/server/compile/compile.d.mts.map +1 -0
- package/dist/server/compile/compile.mjs +735 -0
- package/dist/server/compile/compile.mjs.map +1 -0
- package/dist/server/compile/constants.d.mts +11 -0
- package/dist/server/compile/constants.d.mts.map +1 -0
- package/dist/server/compile/constants.mjs +12 -0
- package/dist/server/compile/constants.mjs.map +1 -0
- package/dist/server/compile/create-renderer.d.mts +16 -0
- package/dist/server/compile/create-renderer.d.mts.map +1 -0
- package/dist/server/compile/create-renderer.mjs +59 -0
- package/dist/server/compile/create-renderer.mjs.map +1 -0
- package/dist/server/compile/decode-style-entities.d.mts +12 -0
- package/dist/server/compile/decode-style-entities.d.mts.map +1 -0
- package/dist/server/compile/decode-style-entities.mjs +32 -0
- package/dist/server/compile/decode-style-entities.mjs.map +1 -0
- package/dist/server/compile/defaults.d.mts +18 -0
- package/dist/server/compile/defaults.d.mts.map +1 -0
- package/dist/server/compile/defaults.mjs +128 -0
- package/dist/server/compile/defaults.mjs.map +1 -0
- package/dist/server/compile/dependency-closure.d.mts +10 -0
- package/dist/server/compile/dependency-closure.d.mts.map +1 -0
- package/dist/server/compile/dependency-closure.mjs +79 -0
- package/dist/server/compile/dependency-closure.mjs.map +1 -0
- package/dist/server/compile/document-assets.d.mts +103 -0
- package/dist/server/compile/document-assets.d.mts.map +1 -0
- package/dist/server/compile/document-assets.mjs +184 -0
- package/dist/server/compile/document-assets.mjs.map +1 -0
- package/dist/server/compile/finalize-document-html.d.mts +53 -0
- package/dist/server/compile/finalize-document-html.d.mts.map +1 -0
- package/dist/server/compile/finalize-document-html.mjs +132 -0
- package/dist/server/compile/finalize-document-html.mjs.map +1 -0
- package/dist/server/compile/generated/adaptorHtml.mjs +6 -0
- package/dist/server/compile/generated/adaptorHtml.mjs.map +1 -0
- package/dist/server/compile/generated/adaptorReactBrowser.mjs +6 -0
- package/dist/server/compile/generated/adaptorReactBrowser.mjs.map +1 -0
- package/dist/server/compile/generated/adaptorReactNode.mjs +6 -0
- package/dist/server/compile/generated/adaptorReactNode.mjs.map +1 -0
- package/dist/server/compile/generated/adaptorVueBrowser.mjs +6 -0
- package/dist/server/compile/generated/adaptorVueBrowser.mjs.map +1 -0
- package/dist/server/compile/generated/adaptorVueNode.mjs +6 -0
- package/dist/server/compile/generated/adaptorVueNode.mjs.map +1 -0
- package/dist/server/compile/generated/createRenderer.mjs +6 -0
- package/dist/server/compile/generated/createRenderer.mjs.map +1 -0
- package/dist/server/compile/generated/decodeStyleEntities.mjs +6 -0
- package/dist/server/compile/generated/decodeStyleEntities.mjs.map +1 -0
- package/dist/server/compile/generated/sanitizeHtml.mjs +6 -0
- package/dist/server/compile/generated/sanitizeHtml.mjs.map +1 -0
- package/dist/server/compile/generated/validate.mjs +6 -0
- package/dist/server/compile/generated/validate.mjs.map +1 -0
- package/dist/server/compile/generated/virtualStyles.mjs +6 -0
- package/dist/server/compile/generated/virtualStyles.mjs.map +1 -0
- package/dist/server/compile/get-renderer.d.mts +18 -0
- package/dist/server/compile/get-renderer.d.mts.map +1 -0
- package/dist/server/compile/get-renderer.mjs +31 -0
- package/dist/server/compile/get-renderer.mjs.map +1 -0
- package/dist/server/compile/index.d.mts +2 -0
- package/dist/server/compile/index.mjs +3 -0
- package/dist/server/compile/make-config.d.mts +39 -0
- package/dist/server/compile/make-config.d.mts.map +1 -0
- package/dist/server/compile/make-config.mjs +272 -0
- package/dist/server/compile/make-config.mjs.map +1 -0
- package/dist/server/compile/package-json.d.mts +5 -0
- package/dist/server/compile/package-json.d.mts.map +1 -0
- package/dist/server/compile/package-json.mjs +33 -0
- package/dist/server/compile/package-json.mjs.map +1 -0
- package/dist/server/compile/producer-agreement.d.mts +82 -0
- package/dist/server/compile/producer-agreement.d.mts.map +1 -0
- package/dist/server/compile/producer-agreement.mjs +143 -0
- package/dist/server/compile/producer-agreement.mjs.map +1 -0
- package/dist/server/compile/producer-release.d.mts +19 -0
- package/dist/server/compile/producer-release.d.mts.map +1 -0
- package/dist/server/compile/producer-release.mjs +27 -0
- package/dist/server/compile/producer-release.mjs.map +1 -0
- package/dist/server/compile/render-error.d.mts +37 -0
- package/dist/server/compile/render-error.d.mts.map +1 -0
- package/dist/server/compile/render-error.mjs +55 -0
- package/dist/server/compile/render-error.mjs.map +1 -0
- package/dist/server/compile/sanitize/shared.d.mts +19 -0
- package/dist/server/compile/sanitize/shared.d.mts.map +1 -0
- package/dist/server/compile/sanitize/shared.mjs +131 -0
- package/dist/server/compile/sanitize/shared.mjs.map +1 -0
- package/dist/server/compile/sanitize-html.d.mts +5 -0
- package/dist/server/compile/sanitize-html.d.mts.map +1 -0
- package/dist/server/compile/sanitize-html.mjs +65 -0
- package/dist/server/compile/sanitize-html.mjs.map +1 -0
- package/dist/server/compile/structured-log.d.mts +22 -0
- package/dist/server/compile/structured-log.d.mts.map +1 -0
- package/dist/server/compile/structured-log.mjs +31 -0
- package/dist/server/compile/structured-log.mjs.map +1 -0
- package/dist/server/compile/virtual-styles.d.mts +5 -0
- package/dist/server/compile/virtual-styles.d.mts.map +1 -0
- package/dist/server/compile/virtual-styles.mjs +19 -0
- package/dist/server/compile/virtual-styles.mjs.map +1 -0
- package/dist/server/compile/wrapper-source.d.mts +55 -0
- package/dist/server/compile/wrapper-source.d.mts.map +1 -0
- package/dist/server/compile/wrapper-source.mjs +187 -0
- package/dist/server/compile/wrapper-source.mjs.map +1 -0
- package/dist/server/constants.d.mts +17 -0
- package/dist/server/constants.d.mts.map +1 -0
- package/dist/server/constants.mjs +41 -0
- package/dist/server/constants.mjs.map +1 -0
- package/dist/server/errors.d.mts +21 -0
- package/dist/server/errors.d.mts.map +1 -0
- package/dist/server/errors.mjs +24 -0
- package/dist/server/errors.mjs.map +1 -0
- package/dist/server/index.d.mts +4 -0
- package/dist/server/index.mjs +4 -0
- package/dist/server/integrations/nextjs/generate-entry.d.mts +19 -0
- package/dist/server/integrations/nextjs/generate-entry.d.mts.map +1 -0
- package/dist/server/integrations/nextjs/generate-entry.mjs +246 -0
- package/dist/server/integrations/nextjs/generate-entry.mjs.map +1 -0
- package/dist/server/integrations/nextjs/index.d.mts +8 -0
- package/dist/server/integrations/nextjs/index.d.mts.map +1 -0
- package/dist/server/integrations/nextjs/index.mjs +90 -0
- package/dist/server/integrations/nextjs/index.mjs.map +1 -0
- package/dist/server/integrations/nextjs/watcher.d.mts +9 -0
- package/dist/server/integrations/nextjs/watcher.d.mts.map +1 -0
- package/dist/server/integrations/nextjs/watcher.mjs +45 -0
- package/dist/server/integrations/nextjs/watcher.mjs.map +1 -0
- package/dist/server/integrations/unplugin/esbuild.d.mts +2 -0
- package/dist/server/integrations/unplugin/esbuild.mjs +3 -0
- package/dist/server/integrations/unplugin/index.d.mts +69 -0
- package/dist/server/integrations/unplugin/index.d.mts.map +1 -0
- package/dist/server/integrations/unplugin/index.mjs +539 -0
- package/dist/server/integrations/unplugin/index.mjs.map +1 -0
- package/dist/server/integrations/unplugin/rollup.d.mts +2 -0
- package/dist/server/integrations/unplugin/rollup.mjs +3 -0
- package/dist/server/integrations/unplugin/utils.d.mts +12 -0
- package/dist/server/integrations/unplugin/utils.d.mts.map +1 -0
- package/dist/server/integrations/unplugin/utils.mjs +46 -0
- package/dist/server/integrations/unplugin/utils.mjs.map +1 -0
- package/dist/server/integrations/unplugin/vite.d.mts +2 -0
- package/dist/server/integrations/unplugin/vite.mjs +3 -0
- package/dist/server/integrations/unplugin/webpack.d.mts +2 -0
- package/dist/server/integrations/unplugin/webpack.mjs +3 -0
- package/dist/server/project/documents.d.mts +21 -0
- package/dist/server/project/documents.d.mts.map +1 -0
- package/dist/server/project/documents.mjs +114 -0
- package/dist/server/project/documents.mjs.map +1 -0
- package/dist/server/project/format-env-types.d.mts +19 -0
- package/dist/server/project/format-env-types.d.mts.map +1 -0
- package/dist/server/project/format-env-types.mjs +64 -0
- package/dist/server/project/format-env-types.mjs.map +1 -0
- package/dist/server/project/paths.d.mts +21 -0
- package/dist/server/project/paths.d.mts.map +1 -0
- package/dist/server/project/paths.mjs +31 -0
- package/dist/server/project/paths.mjs.map +1 -0
- package/dist/server/project/user-project-dir.d.mts +7 -0
- package/dist/server/project/user-project-dir.d.mts.map +1 -0
- package/dist/server/project/user-project-dir.mjs +16 -0
- package/dist/server/project/user-project-dir.mjs.map +1 -0
- package/dist/server/render-worker/client.d.mts +83 -0
- package/dist/server/render-worker/client.d.mts.map +1 -0
- package/dist/server/render-worker/client.mjs +359 -0
- package/dist/server/render-worker/client.mjs.map +1 -0
- package/dist/server/render-worker/document-css.d.mts +27 -0
- package/dist/server/render-worker/document-css.d.mts.map +1 -0
- package/dist/server/render-worker/document-css.mjs +37 -0
- package/dist/server/render-worker/document-css.mjs.map +1 -0
- package/dist/server/render-worker/env.d.mts +11 -0
- package/dist/server/render-worker/env.d.mts.map +1 -0
- package/dist/server/render-worker/env.mjs +26 -0
- package/dist/server/render-worker/env.mjs.map +1 -0
- package/dist/server/render-worker/error.d.mts +17 -0
- package/dist/server/render-worker/error.d.mts.map +1 -0
- package/dist/server/render-worker/error.mjs +40 -0
- package/dist/server/render-worker/error.mjs.map +1 -0
- package/dist/server/render-worker/host.d.mts +1 -0
- package/dist/server/render-worker/host.mjs +181 -0
- package/dist/server/render-worker/host.mjs.map +1 -0
- package/dist/server/render-worker/index.d.mts +4 -0
- package/dist/server/render-worker/index.mjs +4 -0
- package/dist/server/render-worker/sandbox.d.mts +25 -0
- package/dist/server/render-worker/sandbox.d.mts.map +1 -0
- package/dist/server/render-worker/sandbox.mjs +60 -0
- package/dist/server/render-worker/sandbox.mjs.map +1 -0
- package/dist/server/render-worker/types.d.mts +59 -0
- package/dist/server/render-worker/types.d.mts.map +1 -0
- package/dist/server/render-worker/types.mjs +1 -0
- package/dist/server/runtime-state.d.mts +12 -0
- package/dist/server/runtime-state.d.mts.map +1 -0
- package/dist/server/runtime-state.mjs +24 -0
- package/dist/server/runtime-state.mjs.map +1 -0
- package/dist/server/utils/check-dir.d.mts +12 -0
- package/dist/server/utils/check-dir.d.mts.map +1 -0
- package/dist/server/utils/check-dir.mjs +30 -0
- package/dist/server/utils/check-dir.mjs.map +1 -0
- package/dist/server/utils/dependencies.d.mts +11 -0
- package/dist/server/utils/dependencies.d.mts.map +1 -0
- package/dist/server/utils/dependencies.mjs +34 -0
- package/dist/server/utils/dependencies.mjs.map +1 -0
- package/dist/server/utils/env-var.d.mts +6 -0
- package/dist/server/utils/env-var.d.mts.map +1 -0
- package/dist/server/utils/env-var.mjs +28 -0
- package/dist/server/utils/env-var.mjs.map +1 -0
- package/dist/server/utils/format-for-log.d.mts +5 -0
- package/dist/server/utils/format-for-log.d.mts.map +1 -0
- package/dist/server/utils/format-for-log.mjs +17 -0
- package/dist/server/utils/format-for-log.mjs.map +1 -0
- package/dist/server/utils/index.d.mts +8 -0
- package/dist/server/utils/index.mjs +9 -0
- package/dist/server/utils/load-config.d.mts +13 -0
- package/dist/server/utils/load-config.d.mts.map +1 -0
- package/dist/server/utils/load-config.mjs +65 -0
- package/dist/server/utils/load-config.mjs.map +1 -0
- package/dist/server/utils/log.d.mts +36 -0
- package/dist/server/utils/log.d.mts.map +1 -0
- package/dist/server/utils/log.mjs +125 -0
- package/dist/server/utils/log.mjs.map +1 -0
- package/dist/server/utils/read-file.d.mts +5 -0
- package/dist/server/utils/read-file.d.mts.map +1 -0
- package/dist/server/utils/read-file.mjs +14 -0
- package/dist/server/utils/read-file.mjs.map +1 -0
- package/dist/server/utils/resolve-path-with-extensions.d.mts +21 -0
- package/dist/server/utils/resolve-path-with-extensions.d.mts.map +1 -0
- package/dist/server/utils/resolve-path-with-extensions.mjs +39 -0
- package/dist/server/utils/resolve-path-with-extensions.mjs.map +1 -0
- package/dist/server/utils/schema.d.mts +7 -0
- package/dist/server/utils/schema.d.mts.map +1 -0
- package/dist/server/utils/schema.mjs +21 -0
- package/dist/server/utils/schema.mjs.map +1 -0
- package/dist/server/utils/standard-schema-validate.d.mts +13 -0
- package/dist/server/utils/standard-schema-validate.d.mts.map +1 -0
- package/dist/server/utils/standard-schema-validate.mjs +21 -0
- package/dist/server/utils/standard-schema-validate.mjs.map +1 -0
- package/dist/server/utils/suggest-similar.d.mts +9 -0
- package/dist/server/utils/suggest-similar.d.mts.map +1 -0
- package/dist/server/utils/suggest-similar.mjs +39 -0
- package/dist/server/utils/suggest-similar.mjs.map +1 -0
- package/dist/server/utils/warn-lockstep.d.mts +13 -0
- package/dist/server/utils/warn-lockstep.d.mts.map +1 -0
- package/dist/server/utils/warn-lockstep.mjs +23 -0
- package/dist/server/utils/warn-lockstep.mjs.map +1 -0
- package/dist/server/vite/create-config.d.mts +35 -0
- package/dist/server/vite/create-config.d.mts.map +1 -0
- package/dist/server/vite/create-config.mjs +64 -0
- package/dist/server/vite/create-config.mjs.map +1 -0
- package/dist/server/vite/plugins/collect-css.d.mts +8 -0
- package/dist/server/vite/plugins/collect-css.d.mts.map +1 -0
- package/dist/server/vite/plugins/collect-css.mjs +21 -0
- package/dist/server/vite/plugins/collect-css.mjs.map +1 -0
- package/dist/server/vite/plugins/get-styles.d.mts +14 -0
- package/dist/server/vite/plugins/get-styles.d.mts.map +1 -0
- package/dist/server/vite/plugins/get-styles.mjs +88 -0
- package/dist/server/vite/plugins/get-styles.mjs.map +1 -0
- package/dist/server/vite/plugins/html-loader.d.mts +18 -0
- package/dist/server/vite/plugins/html-loader.d.mts.map +1 -0
- package/dist/server/vite/plugins/html-loader.mjs +88 -0
- package/dist/server/vite/plugins/html-loader.mjs.map +1 -0
- package/dist/server/vite/plugins/postcss/import-url.d.mts +14 -0
- package/dist/server/vite/plugins/postcss/import-url.d.mts.map +1 -0
- package/dist/server/vite/plugins/postcss/import-url.mjs +163 -0
- package/dist/server/vite/plugins/postcss/import-url.mjs.map +1 -0
- package/dist/server/vite/plugins/styles-pre-processor.d.mts +7 -0
- package/dist/server/vite/plugins/styles-pre-processor.d.mts.map +1 -0
- package/dist/server/vite/plugins/styles-pre-processor.mjs +64 -0
- package/dist/server/vite/plugins/styles-pre-processor.mjs.map +1 -0
- package/dist/server/vite/plugins/utils.d.mts +9 -0
- package/dist/server/vite/plugins/utils.d.mts.map +1 -0
- package/dist/server/vite/plugins/utils.mjs +14 -0
- package/dist/server/vite/plugins/utils.mjs.map +1 -0
- package/dist/shared/constants.d.mts +11 -0
- package/dist/shared/constants.d.mts.map +1 -0
- package/dist/shared/constants.mjs +12 -0
- package/dist/shared/constants.mjs.map +1 -0
- package/dist/shared/env.d.mts +6 -0
- package/dist/shared/env.d.mts.map +1 -0
- package/dist/shared/env.mjs +11 -0
- package/dist/shared/env.mjs.map +1 -0
- package/dist/shared/http.d.mts +15 -0
- package/dist/shared/http.d.mts.map +1 -0
- package/dist/shared/http.mjs +54 -0
- package/dist/shared/http.mjs.map +1 -0
- package/dist/shared/types/document.d.mts +17 -0
- package/dist/shared/types/document.d.mts.map +1 -0
- package/dist/shared/types/document.mjs +1 -0
- package/dist/shared/types/index.d.mts +7 -0
- package/dist/shared/types/index.mjs +4 -0
- package/dist/shared/types/log.d.mts +10 -0
- package/dist/shared/types/log.d.mts.map +1 -0
- package/dist/shared/types/log.mjs +12 -0
- package/dist/shared/types/log.mjs.map +1 -0
- package/dist/shared/types/public/cli.d.mts +33 -0
- package/dist/shared/types/public/cli.d.mts.map +1 -0
- package/dist/shared/types/public/cli.mjs +1 -0
- package/dist/shared/types/public/compile.d.mts +45 -0
- package/dist/shared/types/public/compile.d.mts.map +1 -0
- package/dist/shared/types/public/compile.mjs +29 -0
- package/dist/shared/types/public/compile.mjs.map +1 -0
- package/dist/shared/types/public/config.d.mts +94 -0
- package/dist/shared/types/public/config.d.mts.map +1 -0
- package/dist/shared/types/public/config.mjs +20 -0
- package/dist/shared/types/public/config.mjs.map +1 -0
- package/dist/shared/types/public/index.d.mts +6 -0
- package/dist/shared/types/public/index.mjs +4 -0
- package/dist/shared/types/public/nextjs.d.mts +111 -0
- package/dist/shared/types/public/nextjs.d.mts.map +1 -0
- package/dist/shared/types/public/nextjs.mjs +1 -0
- package/dist/shared/types/public/renderer.d.mts +2 -0
- package/dist/shared/types/public/renderer.mjs +1 -0
- package/dist/shared/types/public/unplugin.d.mts +65 -0
- package/dist/shared/types/public/unplugin.d.mts.map +1 -0
- package/dist/shared/types/public/unplugin.mjs +1 -0
- package/dist/shared/types/server.d.mts +5 -0
- package/dist/shared/types/server.d.mts.map +1 -0
- package/dist/shared/types/server.mjs +1 -0
- package/dist/shared/types/state.d.mts +15 -0
- package/dist/shared/types/state.d.mts.map +1 -0
- package/dist/shared/types/state.mjs +1 -0
- package/dist/shared/types/system.d.mts +18 -0
- package/dist/shared/types/system.d.mts.map +1 -0
- package/dist/shared/types/system.mjs +1 -0
- package/package.json +146 -34
- package/types/next.d.ts +6 -0
- package/index.d.ts +0 -2
- package/index.js +0 -3
package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/util.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.mjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/util.js"],"sourcesContent":["/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\n/**\n * This is a helper function for getting values from parameter/options\n * objects.\n *\n * @param args The object we are extracting values from\n * @param name The name of the property we are getting.\n * @param defaultValue An optional value to return if the property is missing\n * from the object. If this is not specified and the property is missing, an\n * error will be thrown.\n */\nfunction getArg(aArgs, aName, aDefaultValue) {\n if (aName in aArgs) {\n return aArgs[aName];\n } else if (arguments.length === 3) {\n return aDefaultValue;\n } else {\n throw new Error('\"' + aName + '\" is a required argument.');\n }\n}\nexports.getArg = getArg;\n\nvar urlRegexp = /^(?:([\\w+\\-.]+):)?\\/\\/(?:(\\w+:\\w+)@)?([\\w.-]*)(?::(\\d+))?(.*)$/;\nvar dataUrlRegexp = /^data:.+\\,.+$/;\n\nfunction urlParse(aUrl) {\n var match = aUrl.match(urlRegexp);\n if (!match) {\n return null;\n }\n return {\n scheme: match[1],\n auth: match[2],\n host: match[3],\n port: match[4],\n path: match[5]\n };\n}\nexports.urlParse = urlParse;\n\nfunction urlGenerate(aParsedUrl) {\n var url = '';\n if (aParsedUrl.scheme) {\n url += aParsedUrl.scheme + ':';\n }\n url += '//';\n if (aParsedUrl.auth) {\n url += aParsedUrl.auth + '@';\n }\n if (aParsedUrl.host) {\n url += aParsedUrl.host;\n }\n if (aParsedUrl.port) {\n url += \":\" + aParsedUrl.port\n }\n if (aParsedUrl.path) {\n url += aParsedUrl.path;\n }\n return url;\n}\nexports.urlGenerate = urlGenerate;\n\nvar MAX_CACHED_INPUTS = 32;\n\n/**\n * Takes some function `f(input) -> result` and returns a memoized version of\n * `f`.\n *\n * We keep at most `MAX_CACHED_INPUTS` memoized results of `f` alive. The\n * memoization is a dumb-simple, linear least-recently-used cache.\n */\nfunction lruMemoize(f) {\n var cache = [];\n\n return function(input) {\n for (var i = 0; i < cache.length; i++) {\n if (cache[i].input === input) {\n var temp = cache[0];\n cache[0] = cache[i];\n cache[i] = temp;\n return cache[0].result;\n }\n }\n\n var result = f(input);\n\n cache.unshift({\n input,\n result,\n });\n\n if (cache.length > MAX_CACHED_INPUTS) {\n cache.pop();\n }\n\n return result;\n };\n}\n\n/**\n * Normalizes a path, or the path portion of a URL:\n *\n * - Replaces consecutive slashes with one slash.\n * - Removes unnecessary '.' parts.\n * - Removes unnecessary '<dir>/..' parts.\n *\n * Based on code in the Node.js 'path' core module.\n *\n * @param aPath The path or url to normalize.\n */\nvar normalize = lruMemoize(function normalize(aPath) {\n var path = aPath;\n var url = urlParse(aPath);\n if (url) {\n if (!url.path) {\n return aPath;\n }\n path = url.path;\n }\n var isAbsolute = exports.isAbsolute(path);\n // Split the path into parts between `/` characters. This is much faster than\n // using `.split(/\\/+/g)`.\n var parts = [];\n var start = 0;\n var i = 0;\n while (true) {\n start = i;\n i = path.indexOf(\"/\", start);\n if (i === -1) {\n parts.push(path.slice(start));\n break;\n } else {\n parts.push(path.slice(start, i));\n while (i < path.length && path[i] === \"/\") {\n i++;\n }\n }\n }\n\n for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {\n part = parts[i];\n if (part === '.') {\n parts.splice(i, 1);\n } else if (part === '..') {\n up++;\n } else if (up > 0) {\n if (part === '') {\n // The first part is blank if the path is absolute. Trying to go\n // above the root is a no-op. Therefore we can remove all '..' parts\n // directly after the root.\n parts.splice(i + 1, up);\n up = 0;\n } else {\n parts.splice(i, 2);\n up--;\n }\n }\n }\n path = parts.join('/');\n\n if (path === '') {\n path = isAbsolute ? '/' : '.';\n }\n\n if (url) {\n url.path = path;\n return urlGenerate(url);\n }\n return path;\n});\nexports.normalize = normalize;\n\n/**\n * Joins two paths/URLs.\n *\n * @param aRoot The root path or URL.\n * @param aPath The path or URL to be joined with the root.\n *\n * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a\n * scheme-relative URL: Then the scheme of aRoot, if any, is prepended\n * first.\n * - Otherwise aPath is a path. If aRoot is a URL, then its path portion\n * is updated with the result and aRoot is returned. Otherwise the result\n * is returned.\n * - If aPath is absolute, the result is aPath.\n * - Otherwise the two paths are joined with a slash.\n * - Joining for example 'http://' and 'www.example.com' is also supported.\n */\nfunction join(aRoot, aPath) {\n if (aRoot === \"\") {\n aRoot = \".\";\n }\n if (aPath === \"\") {\n aPath = \".\";\n }\n var aPathUrl = urlParse(aPath);\n var aRootUrl = urlParse(aRoot);\n if (aRootUrl) {\n aRoot = aRootUrl.path || '/';\n }\n\n // `join(foo, '//www.example.org')`\n if (aPathUrl && !aPathUrl.scheme) {\n if (aRootUrl) {\n aPathUrl.scheme = aRootUrl.scheme;\n }\n return urlGenerate(aPathUrl);\n }\n\n if (aPathUrl || aPath.match(dataUrlRegexp)) {\n return aPath;\n }\n\n // `join('http://', 'www.example.com')`\n if (aRootUrl && !aRootUrl.host && !aRootUrl.path) {\n aRootUrl.host = aPath;\n return urlGenerate(aRootUrl);\n }\n\n var joined = aPath.charAt(0) === '/'\n ? aPath\n : normalize(aRoot.replace(/\\/+$/, '') + '/' + aPath);\n\n if (aRootUrl) {\n aRootUrl.path = joined;\n return urlGenerate(aRootUrl);\n }\n return joined;\n}\nexports.join = join;\n\nexports.isAbsolute = function (aPath) {\n return aPath.charAt(0) === '/' || urlRegexp.test(aPath);\n};\n\n/**\n * Make a path relative to a URL or another path.\n *\n * @param aRoot The root path or URL.\n * @param aPath The path or URL to be made relative to aRoot.\n */\nfunction relative(aRoot, aPath) {\n if (aRoot === \"\") {\n aRoot = \".\";\n }\n\n aRoot = aRoot.replace(/\\/$/, '');\n\n // It is possible for the path to be above the root. In this case, simply\n // checking whether the root is a prefix of the path won't work. Instead, we\n // need to remove components from the root one by one, until either we find\n // a prefix that fits, or we run out of components to remove.\n var level = 0;\n while (aPath.indexOf(aRoot + '/') !== 0) {\n var index = aRoot.lastIndexOf(\"/\");\n if (index < 0) {\n return aPath;\n }\n\n // If the only part of the root that is left is the scheme (i.e. http://,\n // file:///, etc.), one or more slashes (/), or simply nothing at all, we\n // have exhausted all components, so the path is not relative to the root.\n aRoot = aRoot.slice(0, index);\n if (aRoot.match(/^([^\\/]+:\\/)?\\/*$/)) {\n return aPath;\n }\n\n ++level;\n }\n\n // Make sure we add a \"../\" for each component we removed from the root.\n return Array(level + 1).join(\"../\") + aPath.substr(aRoot.length + 1);\n}\nexports.relative = relative;\n\nvar supportsNullProto = (function () {\n var obj = Object.create(null);\n return !('__proto__' in obj);\n}());\n\nfunction identity (s) {\n return s;\n}\n\n/**\n * Because behavior goes wacky when you set `__proto__` on objects, we\n * have to prefix all the strings in our set with an arbitrary character.\n *\n * See https://github.com/mozilla/source-map/pull/31 and\n * https://github.com/mozilla/source-map/issues/30\n *\n * @param String aStr\n */\nfunction toSetString(aStr) {\n if (isProtoString(aStr)) {\n return '$' + aStr;\n }\n\n return aStr;\n}\nexports.toSetString = supportsNullProto ? identity : toSetString;\n\nfunction fromSetString(aStr) {\n if (isProtoString(aStr)) {\n return aStr.slice(1);\n }\n\n return aStr;\n}\nexports.fromSetString = supportsNullProto ? identity : fromSetString;\n\nfunction isProtoString(s) {\n if (!s) {\n return false;\n }\n\n var length = s.length;\n\n if (length < 9 /* \"__proto__\".length */) {\n return false;\n }\n\n if (s.charCodeAt(length - 1) !== 95 /* '_' */ ||\n s.charCodeAt(length - 2) !== 95 /* '_' */ ||\n s.charCodeAt(length - 3) !== 111 /* 'o' */ ||\n s.charCodeAt(length - 4) !== 116 /* 't' */ ||\n s.charCodeAt(length - 5) !== 111 /* 'o' */ ||\n s.charCodeAt(length - 6) !== 114 /* 'r' */ ||\n s.charCodeAt(length - 7) !== 112 /* 'p' */ ||\n s.charCodeAt(length - 8) !== 95 /* '_' */ ||\n s.charCodeAt(length - 9) !== 95 /* '_' */) {\n return false;\n }\n\n for (var i = length - 10; i >= 0; i--) {\n if (s.charCodeAt(i) !== 36 /* '$' */) {\n return false;\n }\n }\n\n return true;\n}\n\n/**\n * Comparator between two mappings where the original positions are compared.\n *\n * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n * mappings with the same original source/line/column, but different generated\n * line and column the same. Useful when searching for a mapping with a\n * stubbed out mapping.\n */\nfunction compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) {\n var cmp = strcmp(mappingA.source, mappingB.source);\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalLine - mappingB.originalLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalColumn - mappingB.originalColumn;\n if (cmp !== 0 || onlyCompareOriginal) {\n return cmp;\n }\n\n cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.generatedLine - mappingB.generatedLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n return strcmp(mappingA.name, mappingB.name);\n}\nexports.compareByOriginalPositions = compareByOriginalPositions;\n\nfunction compareByOriginalPositionsNoSource(mappingA, mappingB, onlyCompareOriginal) {\n var cmp\n\n cmp = mappingA.originalLine - mappingB.originalLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalColumn - mappingB.originalColumn;\n if (cmp !== 0 || onlyCompareOriginal) {\n return cmp;\n }\n\n cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.generatedLine - mappingB.generatedLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n return strcmp(mappingA.name, mappingB.name);\n}\nexports.compareByOriginalPositionsNoSource = compareByOriginalPositionsNoSource;\n\n/**\n * Comparator between two mappings with deflated source and name indices where\n * the generated positions are compared.\n *\n * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n * mappings with the same generated line and column, but different\n * source/name/original line and column the same. Useful when searching for a\n * mapping with a stubbed out mapping.\n */\nfunction compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) {\n var cmp = mappingA.generatedLine - mappingB.generatedLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n if (cmp !== 0 || onlyCompareGenerated) {\n return cmp;\n }\n\n cmp = strcmp(mappingA.source, mappingB.source);\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalLine - mappingB.originalLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalColumn - mappingB.originalColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n return strcmp(mappingA.name, mappingB.name);\n}\nexports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;\n\nfunction compareByGeneratedPositionsDeflatedNoLine(mappingA, mappingB, onlyCompareGenerated) {\n var cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n if (cmp !== 0 || onlyCompareGenerated) {\n return cmp;\n }\n\n cmp = strcmp(mappingA.source, mappingB.source);\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalLine - mappingB.originalLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalColumn - mappingB.originalColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n return strcmp(mappingA.name, mappingB.name);\n}\nexports.compareByGeneratedPositionsDeflatedNoLine = compareByGeneratedPositionsDeflatedNoLine;\n\nfunction strcmp(aStr1, aStr2) {\n if (aStr1 === aStr2) {\n return 0;\n }\n\n if (aStr1 === null) {\n return 1; // aStr2 !== null\n }\n\n if (aStr2 === null) {\n return -1; // aStr1 !== null\n }\n\n if (aStr1 > aStr2) {\n return 1;\n }\n\n return -1;\n}\n\n/**\n * Comparator between two mappings with inflated source and name strings where\n * the generated positions are compared.\n */\nfunction compareByGeneratedPositionsInflated(mappingA, mappingB) {\n var cmp = mappingA.generatedLine - mappingB.generatedLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = strcmp(mappingA.source, mappingB.source);\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalLine - mappingB.originalLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalColumn - mappingB.originalColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n return strcmp(mappingA.name, mappingB.name);\n}\nexports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;\n\n/**\n * Strip any JSON XSSI avoidance prefix from the string (as documented\n * in the source maps specification), and then parse the string as\n * JSON.\n */\nfunction parseSourceMapInput(str) {\n return JSON.parse(str.replace(/^\\)]}'[^\\n]*\\n/, ''));\n}\nexports.parseSourceMapInput = parseSourceMapInput;\n\n/**\n * Compute the URL of a source given the the source root, the source's\n * URL, and the source map's URL.\n */\nfunction computeSourceURL(sourceRoot, sourceURL, sourceMapURL) {\n sourceURL = sourceURL || '';\n\n if (sourceRoot) {\n // This follows what Chrome does.\n if (sourceRoot[sourceRoot.length - 1] !== '/' && sourceURL[0] !== '/') {\n sourceRoot += '/';\n }\n // The spec says:\n // Line 4: An optional source root, useful for relocating source\n // files on a server or removing repeated values in the\n // “sources” entry. This value is prepended to the individual\n // entries in the “source” field.\n sourceURL = sourceRoot + sourceURL;\n }\n\n // Historically, SourceMapConsumer did not take the sourceMapURL as\n // a parameter. This mode is still somewhat supported, which is why\n // this code block is conditional. However, it's preferable to pass\n // the source map URL to SourceMapConsumer, so that this function\n // can implement the source URL resolution algorithm as outlined in\n // the spec. This block is basically the equivalent of:\n // new URL(sourceURL, sourceMapURL).toString()\n // ... except it avoids using URL, which wasn't available in the\n // older releases of node still supported by this library.\n //\n // The spec says:\n // If the sources are not absolute URLs after prepending of the\n // “sourceRoot”, the sources are resolved relative to the\n // SourceMap (like resolving script src in a html document).\n if (sourceMapURL) {\n var parsed = urlParse(sourceMapURL);\n if (!parsed) {\n throw new Error(\"sourceMapURL could not be parsed\");\n }\n if (parsed.path) {\n // Strip the last path component, but keep the \"/\".\n var index = parsed.path.lastIndexOf('/');\n if (index >= 0) {\n parsed.path = parsed.path.substring(0, index + 1);\n }\n }\n sourceURL = join(urlGenerate(parsed), sourceURL);\n }\n\n return normalize(sourceURL);\n}\nexports.computeSourceURL = computeSourceURL;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;CAiBA,SAAS,OAAO,OAAO,OAAO,eAAe;AAC3C,MAAI,SAAS,MACX,QAAO,MAAM;WACJ,UAAU,WAAW,EAC9B,QAAO;MAEP,OAAM,IAAI,MAAM,OAAM,QAAQ,6BAA4B;;AAG9D,SAAQ,SAAS;CAEjB,IAAI,YAAY;CAChB,IA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V,QAAO;AAGT,QAAM,SAAS,iBAAiB,SAAS;AACzC,MAAI,QAAQ,EACV,QAAO;AAGT,SAAO,OAAO,SAAS,MAAM,SAAS,KAAK;;AAE7C,SAAQ,sCAAsC;;;;;;CAO9C,SAAS,oBAAoB,KAAK;AAChC,SAAO,KAAK,MAAM,IAAI,QAAQ,kBAAkB,GAAG,CAAC;;AAEtD,SAAQ,sBAAsB;;;;;CAM9B,SAAS,iBAAiB,YAAY,WAAW,cAAc;AAC7D,cAAY,aAAa;AAEzB,MAAI,YAAY;AAEd,OAAI,WAAW,WAAW,SAAS,OAAO,OAAO,UAAU,OAAO,IAChE,eAAc;AAOhB,eAAY,aAAa;;AAiB3B,MAAI,cAAc;GAChB,IAAI,SAAS,SAAS,aAAa;AACnC,OAAI,CAAC,OACH,OAAM,IAAI,MAAM,mCAAmC;AAErD,OAAI,OAAO,MAAM;IAEf,IAAI,QAAQ,OAAO,KAAK,YAAY,IAAI;AACxC,QAAI,SAAS,EACX,QAAO,OAAO,OAAO,KAAK,UAAU,GAAG,QAAQ,EAAE;;AAGrD,eAAY,KAAK,YAAY,OAAO,EAAE,UAAU;;AAGlD,SAAO,UAAU,UAAU;;AAE7B,SAAQ,mBAAmB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
import { require_source_map_generator } from "./lib/source-map-generator.mjs";
|
|
3
|
+
import { require_source_map_consumer } from "./lib/source-map-consumer.mjs";
|
|
4
|
+
import { require_source_node } from "./lib/source-node.mjs";
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/source-map.js
|
|
7
|
+
var require_source_map = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
8
|
+
exports.SourceMapGenerator = require_source_map_generator().SourceMapGenerator;
|
|
9
|
+
exports.SourceMapConsumer = require_source_map_consumer().SourceMapConsumer;
|
|
10
|
+
exports.SourceNode = require_source_node().SourceNode;
|
|
11
|
+
}));
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export default require_source_map();
|
|
15
|
+
|
|
16
|
+
export { require_source_map };
|
|
17
|
+
//# sourceMappingURL=source-map.mjs.map
|
package/dist/node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/source-map.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-map.mjs","names":[],"sources":["../../../../../../../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/source-map.js"],"sourcesContent":["/*\n * Copyright 2009-2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE.txt or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nexports.SourceMapGenerator = require('./lib/source-map-generator').SourceMapGenerator;\nexports.SourceMapConsumer = require('./lib/source-map-consumer').SourceMapConsumer;\nexports.SourceNode = require('./lib/source-node').SourceNode;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;AAKA,SAAQ,oDAA2D;AACnE,SAAQ,kDAAyD;AACjE,SAAQ,mCAA0C"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
import { require_shared } from "../../../../@vue_shared@3.5.41/node_modules/@vue/shared/index.mjs";
|
|
3
|
+
import { require_compiler_dom } from "../../../../@vue_compiler-dom@3.5.41/node_modules/@vue/compiler-dom/index.mjs";
|
|
4
|
+
import { require_runtime_dom } from "../../../../@vue_runtime-dom@3.5.41/node_modules/@vue/runtime-dom/index.mjs";
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/dist/vue.cjs.js
|
|
7
|
+
/**
|
|
8
|
+
* vue v3.5.41
|
|
9
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
10
|
+
* @license MIT
|
|
11
|
+
**/
|
|
12
|
+
var require_vue_cjs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
var compilerDom = require_compiler_dom();
|
|
15
|
+
var runtimeDom = require_runtime_dom();
|
|
16
|
+
var shared = require_shared();
|
|
17
|
+
function _interopNamespaceDefault(e) {
|
|
18
|
+
var n = Object.create(null);
|
|
19
|
+
if (e) for (var k in e) n[k] = e[k];
|
|
20
|
+
n.default = e;
|
|
21
|
+
return Object.freeze(n);
|
|
22
|
+
}
|
|
23
|
+
var runtimeDom__namespace = /* @__PURE__ */ _interopNamespaceDefault(runtimeDom);
|
|
24
|
+
const compileCache = /* @__PURE__ */ Object.create(null);
|
|
25
|
+
function compileToFunction(template, options) {
|
|
26
|
+
if (!shared.isString(template)) if (template.nodeType) template = template.innerHTML;
|
|
27
|
+
else {
|
|
28
|
+
runtimeDom.warn(`invalid template option: `, template);
|
|
29
|
+
return shared.NOOP;
|
|
30
|
+
}
|
|
31
|
+
const key = shared.genCacheKey(template, options);
|
|
32
|
+
const cached = compileCache[key];
|
|
33
|
+
if (cached) return cached;
|
|
34
|
+
if (template[0] === "#") {
|
|
35
|
+
const el = document.querySelector(template);
|
|
36
|
+
if (!el) runtimeDom.warn(`Template element not found or is empty: ${template}`);
|
|
37
|
+
template = el ? el.innerHTML : ``;
|
|
38
|
+
}
|
|
39
|
+
const opts = shared.extend({
|
|
40
|
+
hoistStatic: true,
|
|
41
|
+
onError,
|
|
42
|
+
onWarn: (e) => onError(e, true)
|
|
43
|
+
}, options);
|
|
44
|
+
if (!opts.isCustomElement && typeof customElements !== "undefined") opts.isCustomElement = (tag) => !!customElements.get(tag);
|
|
45
|
+
const { code } = compilerDom.compile(template, opts);
|
|
46
|
+
function onError(err, asWarning = false) {
|
|
47
|
+
const message = asWarning ? err.message : `Template compilation error: ${err.message}`;
|
|
48
|
+
const codeFrame = err.loc && shared.generateCodeFrame(template, err.loc.start.offset, err.loc.end.offset);
|
|
49
|
+
runtimeDom.warn(codeFrame ? `${message}
|
|
50
|
+
${codeFrame}` : message);
|
|
51
|
+
}
|
|
52
|
+
const render = new Function("Vue", code)(runtimeDom__namespace);
|
|
53
|
+
render._rc = true;
|
|
54
|
+
return compileCache[key] = render;
|
|
55
|
+
}
|
|
56
|
+
runtimeDom.registerRuntimeCompiler(compileToFunction);
|
|
57
|
+
exports.compile = compileToFunction;
|
|
58
|
+
Object.keys(runtimeDom).forEach(function(k) {
|
|
59
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = runtimeDom[k];
|
|
60
|
+
});
|
|
61
|
+
}));
|
|
62
|
+
|
|
63
|
+
//#endregion
|
|
64
|
+
export default require_vue_cjs();
|
|
65
|
+
|
|
66
|
+
export { require_vue_cjs };
|
|
67
|
+
//# sourceMappingURL=vue.cjs.mjs.map
|
package/dist/node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/dist/vue.cjs.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vue.cjs.mjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/dist/vue.cjs.js"],"sourcesContent":["/**\n* vue v3.5.41\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\n'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar compilerDom = require('@vue/compiler-dom');\nvar runtimeDom = require('@vue/runtime-dom');\nvar shared = require('@vue/shared');\n\nfunction _interopNamespaceDefault(e) {\n var n = Object.create(null);\n if (e) {\n for (var k in e) {\n n[k] = e[k];\n }\n }\n n.default = e;\n return Object.freeze(n);\n}\n\nvar runtimeDom__namespace = /*#__PURE__*/_interopNamespaceDefault(runtimeDom);\n\nconst compileCache = /* @__PURE__ */ Object.create(null);\nfunction compileToFunction(template, options) {\n if (!shared.isString(template)) {\n if (template.nodeType) {\n template = template.innerHTML;\n } else {\n runtimeDom.warn(`invalid template option: `, template);\n return shared.NOOP;\n }\n }\n const key = shared.genCacheKey(template, options);\n const cached = compileCache[key];\n if (cached) {\n return cached;\n }\n if (template[0] === \"#\") {\n const el = document.querySelector(template);\n if (!el) {\n runtimeDom.warn(`Template element not found or is empty: ${template}`);\n }\n template = el ? el.innerHTML : ``;\n }\n const opts = shared.extend(\n {\n hoistStatic: true,\n onError: onError ,\n onWarn: (e) => onError(e, true) \n },\n options\n );\n if (!opts.isCustomElement && typeof customElements !== \"undefined\") {\n opts.isCustomElement = (tag) => !!customElements.get(tag);\n }\n const { code } = compilerDom.compile(template, opts);\n function onError(err, asWarning = false) {\n const message = asWarning ? err.message : `Template compilation error: ${err.message}`;\n const codeFrame = err.loc && shared.generateCodeFrame(\n template,\n err.loc.start.offset,\n err.loc.end.offset\n );\n runtimeDom.warn(codeFrame ? `${message}\n${codeFrame}` : message);\n }\n const render = new Function(\"Vue\", code)(runtimeDom__namespace);\n render._rc = true;\n return compileCache[key] = render;\n}\nruntimeDom.registerRuntimeCompiler(compileToFunction);\n\nexports.compile = compileToFunction;\nObject.keys(runtimeDom).forEach(function (k) {\n if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = runtimeDom[k];\n});\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;AAOA,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;CAE7D,IAAI;CACJ,IAAI;CACJ,IAAI;CAEJ,SAAS,yBAAyB,GAAG;EACnC,IAAI,IAAI,OAAO,OAAO,KAAK;AAC3B,MAAI,EACF,MAAK,IAAI,KAAK,EACZ,GAAE,KAAK,EAAE;AAGb,IAAE,UAAU;AACZ,SAAO,OAAO,OAAO,EAAE;;CAGzB,IAAI,wBAAqC,yCAAyB,WAAW;CAE7E,MAAM,eAA+B,uBAAO,OAAO,KAAK;CACxD,SAAS,kBAAkB,UAAU,SAAS;AAC5C,MAAI,CAAC,OAAO,SAAS,SAAS,CAC5B,KAAI,SAAS,SACX,Y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
3
|
+
|
|
4
|
+
//#region ../../node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/index.js
|
|
5
|
+
var require_vue = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6
|
+
module.exports = require_vue_cjs();
|
|
7
|
+
}));
|
|
8
|
+
|
|
9
|
+
//#endregion
|
|
10
|
+
export default require_vue();
|
|
11
|
+
|
|
12
|
+
export { require_vue };
|
|
13
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../../../node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/index.js"],"sourcesContent":["'use strict'\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./dist/vue.cjs.prod.js')\n} else {\n module.exports = require('./dist/vue.cjs.js')\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAKE,QAAO"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { __exportAll, __reExport, __toESM } from "../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
import { require_vue } from "./index.mjs";
|
|
3
|
+
|
|
4
|
+
//#region ../../node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/index.mjs
|
|
5
|
+
var vue_exports = {};
|
|
6
|
+
__reExport(vue_exports, /* @__PURE__ */ __toESM(require_vue(), 1));
|
|
7
|
+
|
|
8
|
+
//#endregion
|
|
9
|
+
export { vue_exports };
|
|
10
|
+
//# sourceMappingURL=index2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index2.mjs","names":[],"sources":["../../../../../../../../node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/index.mjs"],"sourcesContent":["export * from './index.js'\n"],"x_google_ignoreList":[0],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { __exportAll, __reExport, __toESM } from "../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
import { require_server_renderer } from "../../../../@vue_server-renderer@3.5.41/node_modules/@vue/server-renderer/index.mjs";
|
|
3
|
+
|
|
4
|
+
//#region ../../node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/server-renderer/index.mjs
|
|
5
|
+
var server_renderer_exports = {};
|
|
6
|
+
__reExport(server_renderer_exports, /* @__PURE__ */ __toESM(require_server_renderer(), 1));
|
|
7
|
+
|
|
8
|
+
//#endregion
|
|
9
|
+
export { server_renderer_exports };
|
|
10
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/vue@3.5.41_typescript@5.9.3/node_modules/vue/server-renderer/index.mjs"],"sourcesContent":["export * from '@vue/server-renderer'\n"],"x_google_ignoreList":[0],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bin.mjs","names":[],"sources":["../../../src/server/cli/bin.ts"],"sourcesContent":["import { createProgram } from './index'\ncreateProgram().parse()\n"],"mappings":";;;AACA,eAAe,CAAC,OAAO"}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
//#region src/server/cli/cli-spec.json
|
|
2
|
+
var cli_spec_default = { commands: [{
|
|
3
|
+
"name": "compile",
|
|
4
|
+
"description": "Compile a document renderer, for use with the Format API.",
|
|
5
|
+
"options": [
|
|
6
|
+
{
|
|
7
|
+
"field": "documents",
|
|
8
|
+
"flags": "--documents <documents...>",
|
|
9
|
+
"description": "Specify documents to compile. Passing no value will compile all documents.",
|
|
10
|
+
"type": "string[]",
|
|
11
|
+
"parser": "comma-separated"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"field": "assets",
|
|
15
|
+
"flags": "--assets <mode>",
|
|
16
|
+
"description": "Defines the strategy to zipping assets.",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"choices": [
|
|
19
|
+
"static",
|
|
20
|
+
"dynamic",
|
|
21
|
+
"none"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"field": "remoteAssets",
|
|
26
|
+
"flags": "--remote-assets",
|
|
27
|
+
"description": "Fetch remote asset references at compile time and bundle them into each document's `assets.zip`. Generally not recommend.",
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"defaultValue": false
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"field": "inlineRemoteCss",
|
|
33
|
+
"flags": "--inline-remote-css",
|
|
34
|
+
"summary": "Inline the contents of any remote CSS files at compile time.",
|
|
35
|
+
"description": "Inline the contents of any remote CSS files at compile time. Makes PDF generation more performant, with the trade-off of caching all CSS at the point of bundling the renderer.",
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"defaultValue": false
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"field": "preset",
|
|
41
|
+
"flags": "--preset <preset>",
|
|
42
|
+
"description": "Sets sensible defaults for `--target`, dependency strategy, and package export resolution.",
|
|
43
|
+
"type": "string",
|
|
44
|
+
"choices": [
|
|
45
|
+
"node",
|
|
46
|
+
"browser",
|
|
47
|
+
"edge"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"field": "target",
|
|
52
|
+
"flags": "--target <target>",
|
|
53
|
+
"description": "Sets which JavaScript environment your code will be run in — node, browser or worker.",
|
|
54
|
+
"type": "string",
|
|
55
|
+
"choices": [
|
|
56
|
+
"node",
|
|
57
|
+
"browser",
|
|
58
|
+
"worker"
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"field": "external",
|
|
63
|
+
"flags": "--external <lib...>",
|
|
64
|
+
"description": "Packages to leave out of the bundle for browser and worker. These must be available where you call render.",
|
|
65
|
+
"type": "string[]",
|
|
66
|
+
"parser": "comma-separated"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"field": "bundle",
|
|
70
|
+
"flags": "--bundle <lib...>",
|
|
71
|
+
"description": "Packages to include into the bundle for node and worker targets.",
|
|
72
|
+
"type": "string[]",
|
|
73
|
+
"parser": "comma-separated"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"field": "conditions",
|
|
77
|
+
"flags": "--conditions <conditions...>",
|
|
78
|
+
"description": "Additional export conditions used when resolving bundled dependencies. Appended to any preset defaults.",
|
|
79
|
+
"type": "string[]",
|
|
80
|
+
"parser": "comma-separated"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"field": "externalConditions",
|
|
84
|
+
"flags": "--external-conditions <conditions...>",
|
|
85
|
+
"description": "Additional export conditions used when resolving externalized packages. Appended to any preset defaults.",
|
|
86
|
+
"type": "string[]",
|
|
87
|
+
"parser": "comma-separated"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"field": "output",
|
|
91
|
+
"flags": "--output <mode>",
|
|
92
|
+
"description": "What compile emits. A JavaScript bundle or plain HTML.",
|
|
93
|
+
"type": "string",
|
|
94
|
+
"choices": ["renderer", "html"],
|
|
95
|
+
"defaultValue": "renderer"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"field": "variants",
|
|
99
|
+
"flags": "--variants <variants...>",
|
|
100
|
+
"description": "Limit `--output html` to specific data variants. Defaults to every variant each document has. Ignored with `--output renderer`.",
|
|
101
|
+
"type": "string[]",
|
|
102
|
+
"parser": "comma-separated"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"field": "cjs",
|
|
106
|
+
"flags": "--cjs",
|
|
107
|
+
"description": "Output a CommonJS compatible bundle, as opposed to the default ESM.",
|
|
108
|
+
"type": "boolean",
|
|
109
|
+
"defaultValue": false
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"field": "bundleName",
|
|
113
|
+
"flags": "--bundle-name <name>",
|
|
114
|
+
"description": "The package name for the compiled renderer, output in the package.json. Useful if you plan to publish your renderer to a package repository.",
|
|
115
|
+
"type": "string"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"field": "version",
|
|
119
|
+
"flags": "--version <version>",
|
|
120
|
+
"description": "Version to set in the compiled bundle's package.json. When set, the bundle is ready to publish. When omitted, private: true is included instead as a publishing guard.",
|
|
121
|
+
"type": "string"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"field": "validateSchema",
|
|
125
|
+
"flags": "--no-validate-schema",
|
|
126
|
+
"summary": "Disables data validation against your schema when calling render",
|
|
127
|
+
"description": "Disables data validation against your schema when calling render. Switch this off if you plan to validate yourself or are prone to taking risks. [Read more about data and schema](/docs/studio/data-and-variants#schemas).",
|
|
128
|
+
"type": "boolean",
|
|
129
|
+
"defaultValue": true
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"field": "outDir",
|
|
133
|
+
"flags": "--out-dir <path>",
|
|
134
|
+
"description": "Override the base output directory for the compiled Format bundle. Value must not be the same as `rootDir`.",
|
|
135
|
+
"type": "string",
|
|
136
|
+
"defaultValue": "<rootDir>/_generated"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"field": "clean",
|
|
140
|
+
"flags": "--no-clean",
|
|
141
|
+
"description": "Disabled removing the output directory before compiling.",
|
|
142
|
+
"type": "boolean",
|
|
143
|
+
"defaultValue": true
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
}] };
|
|
147
|
+
|
|
148
|
+
//#endregion
|
|
149
|
+
export { cli_spec_default as default };
|
|
150
|
+
//# sourceMappingURL=cli-spec.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli-spec.mjs","names":[],"sources":["../../../src/server/cli/cli-spec.json"],"sourcesContent":[""],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CliSpec } from "../../shared/types/public/cli.mjs";
|
|
2
|
+
import { Command } from "commander";
|
|
3
|
+
|
|
4
|
+
//#region src/server/cli/index.d.ts
|
|
5
|
+
type CommandHandler = (...args: any[]) => unknown;
|
|
6
|
+
interface CreateSpecProgramArgs {
|
|
7
|
+
name: string;
|
|
8
|
+
description: string;
|
|
9
|
+
spec: CliSpec;
|
|
10
|
+
handlers: Record<string, CommandHandler>;
|
|
11
|
+
}
|
|
12
|
+
declare function createSpecProgram(args: CreateSpecProgramArgs): Command;
|
|
13
|
+
declare function createProgram(): Command;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { CommandHandler, createProgram, createSpecProgram };
|
|
16
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../../src/server/cli/index.ts"],"sourcesContent":[],"mappings":";;;;KAWY,cAAA;UAqFF,qBAAA;EArFE,IAAA,EAAA,MAAA;EAqFF,WAAA,EAAA,MAAA;EAGH,IAAA,EAAA,OAAA;EACmB,QAAA,EAAf,MAAe,CAAA,MAAA,EAAA,cAAA,CAAA;;AAAT,iBAKD,iBAAA,CALC,IAAA,EAKuB,qBALvB,CAAA,EAK+C,OAL/C;AAKD,iBAaA,aAAA,CAAA,CAbwB,EAaP,OAbO"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { compile } from "../compile/compile.mjs";
|
|
2
|
+
import "../compile/index.mjs";
|
|
3
|
+
import cli_spec_default from "./cli-spec.mjs";
|
|
4
|
+
import { Command, Option } from "commander";
|
|
5
|
+
|
|
6
|
+
//#region src/server/cli/index.ts
|
|
7
|
+
function handleCommaSeparatedList(val, prev = []) {
|
|
8
|
+
const parts = val.split(",").map((s) => s.trim()).filter(Boolean);
|
|
9
|
+
return [...prev, ...parts];
|
|
10
|
+
}
|
|
11
|
+
function parsePort(value) {
|
|
12
|
+
const port = Number(value);
|
|
13
|
+
if (!Number.isInteger(port) || port < 1 || port > 65535) throw new Error(`Invalid port: ${value}`);
|
|
14
|
+
return port;
|
|
15
|
+
}
|
|
16
|
+
function createCommanderOption(optionSpec) {
|
|
17
|
+
const option = new Option(optionSpec.flags, optionSpec.description);
|
|
18
|
+
if (optionSpec.choices && optionSpec.choices.length > 0) option.choices(optionSpec.choices);
|
|
19
|
+
if (optionSpec.parser === "comma-separated") option.argParser(handleCommaSeparatedList);
|
|
20
|
+
if (optionSpec.type === "number") option.argParser(parsePort);
|
|
21
|
+
return option;
|
|
22
|
+
}
|
|
23
|
+
function registerArguments(command, argumentSpecs) {
|
|
24
|
+
if (!argumentSpecs) return;
|
|
25
|
+
for (const argumentSpec of argumentSpecs) {
|
|
26
|
+
const token = argumentSpec.required ? `<${argumentSpec.name}>` : `[${argumentSpec.name}]`;
|
|
27
|
+
command.argument(token, argumentSpec.description);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
function registerCommand(parent, commandSpec, path, handlers) {
|
|
31
|
+
const command = parent.command(commandSpec.name).description(commandSpec.description);
|
|
32
|
+
registerArguments(command, commandSpec.arguments);
|
|
33
|
+
for (const optionSpec of commandSpec.options) command.addOption(createCommanderOption(optionSpec));
|
|
34
|
+
const fullPath = [...path, commandSpec.name];
|
|
35
|
+
if (commandSpec.commands && commandSpec.commands.length > 0) {
|
|
36
|
+
for (const childSpec of commandSpec.commands) registerCommand(command, childSpec, fullPath, handlers);
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
const key = fullPath.join(" ");
|
|
40
|
+
const handler = handlers[key];
|
|
41
|
+
if (!handler) throw new Error(`Missing command handler for "${key}"`);
|
|
42
|
+
command.action(handler);
|
|
43
|
+
}
|
|
44
|
+
function createSpecProgram(args) {
|
|
45
|
+
const { name, description, spec, handlers } = args;
|
|
46
|
+
const program = new Command();
|
|
47
|
+
program.name(name).description(description);
|
|
48
|
+
for (const commandSpec of spec.commands) registerCommand(program, commandSpec, [], handlers);
|
|
49
|
+
return program;
|
|
50
|
+
}
|
|
51
|
+
function createProgram() {
|
|
52
|
+
return createSpecProgram({
|
|
53
|
+
name: "format-compile",
|
|
54
|
+
description: "Format Compile",
|
|
55
|
+
spec: cli_spec_default,
|
|
56
|
+
handlers: { compile: async (options) => {
|
|
57
|
+
await compile(options);
|
|
58
|
+
} }
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
//#endregion
|
|
63
|
+
export { createProgram, createSpecProgram };
|
|
64
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["cliSpecJson"],"sources":["../../../src/server/cli/index.ts"],"sourcesContent":["import {\n\ttype CliArgumentSpec,\n\ttype CliCommandSpec,\n\ttype CliOptionSpec,\n\ttype CliSpec,\n\ttype CompileOptions\n} from '../../shared/types/public'\nimport { Command, Option } from 'commander'\nimport { compile } from '../compile'\nimport cliSpecJson from './cli-spec.json'\n\nexport type CommandHandler = (...args: any[]) => unknown\n\nfunction handleCommaSeparatedList(val: string, prev: string[] = []) {\n\tconst parts = val\n\t\t.split(',')\n\t\t.map(s => s.trim())\n\t\t.filter(Boolean)\n\treturn [...prev, ...parts]\n}\n\nfunction parsePort(value: string): number {\n\tconst port = Number(value)\n\tif (!Number.isInteger(port) || port < 1 || port > 65535) {\n\t\tthrow new Error(`Invalid port: ${value}`)\n\t}\n\n\treturn port\n}\n\nfunction createCommanderOption(optionSpec: CliOptionSpec): Option {\n\tconst option = new Option(optionSpec.flags, optionSpec.description)\n\n\tif (optionSpec.choices && optionSpec.choices.length > 0) {\n\t\toption.choices(optionSpec.choices)\n\t}\n\n\tif (optionSpec.parser === 'comma-separated') {\n\t\toption.argParser(handleCommaSeparatedList)\n\t}\n\n\tif (optionSpec.type === 'number') {\n\t\toption.argParser(parsePort)\n\t}\n\n\treturn option\n}\n\nfunction registerArguments(command: Command, argumentSpecs?: CliArgumentSpec[]) {\n\tif (!argumentSpecs) {\n\t\treturn\n\t}\n\n\tfor (const argumentSpec of argumentSpecs) {\n\t\tconst token = argumentSpec.required ? `<${argumentSpec.name}>` : `[${argumentSpec.name}]`\n\t\tcommand.argument(token, argumentSpec.description)\n\t}\n}\n\n// Registers a command and any nested subcommands. A command with `commands` is a\n// group (e.g. `new`) that holds subcommands and has no action of its own; a leaf\n// command (e.g. `new document`) gets its handler, keyed by its full path.\nfunction registerCommand(\n\tparent: Command,\n\tcommandSpec: CliCommandSpec,\n\tpath: string[],\n\thandlers: Record<string, CommandHandler>\n) {\n\tconst command = parent.command(commandSpec.name).description(commandSpec.description)\n\n\tregisterArguments(command, commandSpec.arguments)\n\n\tfor (const optionSpec of commandSpec.options) {\n\t\tcommand.addOption(createCommanderOption(optionSpec))\n\t}\n\n\tconst fullPath = [...path, commandSpec.name]\n\n\tif (commandSpec.commands && commandSpec.commands.length > 0) {\n\t\tfor (const childSpec of commandSpec.commands) {\n\t\t\tregisterCommand(command, childSpec, fullPath, handlers)\n\t\t}\n\n\t\treturn\n\t}\n\n\tconst key = fullPath.join(' ')\n\tconst handler = handlers[key]\n\n\tif (!handler) {\n\t\tthrow new Error(`Missing command handler for \"${key}\"`)\n\t}\n\n\tcommand.action(handler as Parameters<Command['action']>[0])\n}\n\ninterface CreateSpecProgramArgs {\n\tname: string\n\tdescription: string\n\tspec: CliSpec\n\thandlers: Record<string, CommandHandler>\n}\n\n// The shared spec-driven commander setup. The `format-studio` program\n// reuses it with its own spec and handlers.\nexport function createSpecProgram(args: CreateSpecProgramArgs): Command {\n\tconst { name, description, spec, handlers } = args\n\n\tconst program = new Command()\n\tprogram.name(name).description(description)\n\n\tfor (const commandSpec of spec.commands) {\n\t\tregisterCommand(program, commandSpec, [], handlers)\n\t}\n\n\treturn program\n}\n\nexport function createProgram(): Command {\n\treturn createSpecProgram({\n\t\tname: 'format-compile',\n\t\tdescription: 'Format Compile',\n\t\tspec: cliSpecJson as CliSpec,\n\t\thandlers: {\n\t\t\tcompile: async (options: CompileOptions): Promise<void> => {\n\t\t\t\tawait compile(options)\n\t\t\t}\n\t\t}\n\t})\n}\n"],"mappings":";;;;;;AAaA,SAAS,yBAAyB,KAAa,OAAi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AAM,UAAU,SAAS;AAEzB,KAAI,CAAC,QACJ,OAAM,IAAI,MAAM,gCAAgC,IAAI,GAAG;AAGxD,SAAQ,OAAO,QAA4C;;AAY5D,SAAgB,kBAAkB,MAAsC;CACvE,MAAM,EAAE,MAAM,aAAa,MAAM,aAAa;CAE9C,MAAM,UAAU,IAAI,SAAS;AAC7B,SAAQ,KAAK,KAAK,CAAC,YAAY,YAAY;AAE3C,MAAK,MAAM,eAAe,KAAK,SAC9B,iBAAgB,SAAS,aAAa,EAAE,EAAE,SAAS;AAGpD,QAAO;;AAGR,SAAgB,gBAAyB;AACxC,QAAO,kBAAkB;EACxB,MAAM;EACN,aAAa;EACb,MAAMA;EACN,UAAU,EACT,SAAS,OAAO,YAA2C;AAC1D,SAAM,QAAQ,QAAQ;KAEvB;EACD,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
//#region src/server/compile/adaptors/html-partials.d.ts
|
|
2
|
+
interface HtmlDocumentModule {
|
|
3
|
+
template: string;
|
|
4
|
+
partials: Record<string, string>;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Partial keys are posix-style paths relative to the document entry. Leading
|
|
8
|
+
* `..` segments are kept so a partial can reference a sibling directory and
|
|
9
|
+
* still resolve to the same key the loader emitted.
|
|
10
|
+
*/
|
|
11
|
+
declare function normalizePartialPath(path: string): string;
|
|
12
|
+
declare function resolvePartialPath(name: string, baseFilePath?: string): string;
|
|
13
|
+
declare function isHtmlDocumentModule(value: unknown): value is HtmlDocumentModule;
|
|
14
|
+
/**
|
|
15
|
+
* Static include specifiers referenced by a template, in source order and
|
|
16
|
+
* deduplicated. Only string-literal paths can be discovered at build time;
|
|
17
|
+
* a computed include name still works at render time when its target is
|
|
18
|
+
* pulled in by a literal include elsewhere in the document.
|
|
19
|
+
*/
|
|
20
|
+
declare function findIncludeSpecifiers(template: string): string[];
|
|
21
|
+
declare function addPartial(partials: Record<string, string>, specifier: string, child: HtmlDocumentModule | string): void;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { HtmlDocumentModule, addPartial, findIncludeSpecifiers, isHtmlDocumentModule, normalizePartialPath, resolvePartialPath };
|
|
24
|
+
//# sourceMappingURL=html-partials.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html-partials.d.mts","names":[],"sources":["../../../../src/server/compile/adaptors/html-partials.ts"],"sourcesContent":[],"mappings":";UAAiB,kBAAA;EAAA,QAAA,EAAA,MAAA;EAUD,QAAA,EARL,MAQK,CAAA,MAAoB,EAAA,MAAA,CAAA;AAmBpC;AAKA;AAYA;AAUA;;;iBA9CgB,oBAAA;iBAmBA,kBAAA;iBAKA,oBAAA,2BAA+C;;;;;;;iBAY/C,qBAAA;iBAUA,UAAA,WACL,kDAEH"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
//#region src/server/compile/adaptors/html-partials.ts
|
|
2
|
+
/**
|
|
3
|
+
* Partial keys are posix-style paths relative to the document entry. Leading
|
|
4
|
+
* `..` segments are kept so a partial can reference a sibling directory and
|
|
5
|
+
* still resolve to the same key the loader emitted.
|
|
6
|
+
*/
|
|
7
|
+
function normalizePartialPath(path) {
|
|
8
|
+
const segments = [];
|
|
9
|
+
for (const segment of path.split("/")) {
|
|
10
|
+
if (!segment || segment === ".") continue;
|
|
11
|
+
if (segment === ".." && segments.length > 0 && segments[segments.length - 1] !== "..") {
|
|
12
|
+
segments.pop();
|
|
13
|
+
continue;
|
|
14
|
+
}
|
|
15
|
+
segments.push(segment);
|
|
16
|
+
}
|
|
17
|
+
return segments.join("/");
|
|
18
|
+
}
|
|
19
|
+
function resolvePartialPath(name, baseFilePath) {
|
|
20
|
+
const baseDir = baseFilePath ? baseFilePath.split("/").slice(0, -1).join("/") : "";
|
|
21
|
+
return normalizePartialPath(baseDir ? `${baseDir}/${name}` : name);
|
|
22
|
+
}
|
|
23
|
+
function isHtmlDocumentModule(value) {
|
|
24
|
+
return typeof value === "object" && value !== null && typeof value.template === "string";
|
|
25
|
+
}
|
|
26
|
+
const INCLUDE_RE = /\binclude(?:Async)?\s*\(\s*(['"])((?:\.{1,2}\/)?[^'"]+?\.html)\1/g;
|
|
27
|
+
/**
|
|
28
|
+
* Static include specifiers referenced by a template, in source order and
|
|
29
|
+
* deduplicated. Only string-literal paths can be discovered at build time;
|
|
30
|
+
* a computed include name still works at render time when its target is
|
|
31
|
+
* pulled in by a literal include elsewhere in the document.
|
|
32
|
+
*/
|
|
33
|
+
function findIncludeSpecifiers(template) {
|
|
34
|
+
const specifiers = /* @__PURE__ */ new Set();
|
|
35
|
+
for (const match of template.matchAll(INCLUDE_RE)) specifiers.add(match[2]);
|
|
36
|
+
return [...specifiers];
|
|
37
|
+
}
|
|
38
|
+
function addPartial(partials, specifier, child) {
|
|
39
|
+
const key = normalizePartialPath(specifier);
|
|
40
|
+
if (typeof child === "string") {
|
|
41
|
+
partials[key] = child;
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
partials[key] = child.template;
|
|
45
|
+
for (const [childKey, childTemplate] of Object.entries(child.partials ?? {})) partials[resolvePartialPath(childKey, key)] = childTemplate;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
//#endregion
|
|
49
|
+
export { addPartial, findIncludeSpecifiers, isHtmlDocumentModule, normalizePartialPath, resolvePartialPath };
|
|
50
|
+
//# sourceMappingURL=html-partials.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html-partials.mjs","names":["segments: string[]"],"sources":["../../../../src/server/compile/adaptors/html-partials.ts"],"sourcesContent":["export interface HtmlDocumentModule {\n\ttemplate: string\n\tpartials: Record<string, string>\n}\n\n/**\n * Partial keys are posix-style paths relative to the document entry. Leading\n * `..` segments are kept so a partial can reference a sibling directory and\n * still resolve to the same key the loader emitted.\n */\nexport function normalizePartialPath(path: string): string {\n\tconst segments: string[] = []\n\n\tfor (const segment of path.split('/')) {\n\t\tif (!segment || segment === '.') {\n\t\t\tcontinue\n\t\t}\n\n\t\tif (segment === '..' && segments.length > 0 && segments[segments.length - 1] !== '..') {\n\t\t\tsegments.pop()\n\t\t\tcontinue\n\t\t}\n\n\t\tsegments.push(segment)\n\t}\n\n\treturn segments.join('/')\n}\n\nexport function resolvePartialPath(name: string, baseFilePath?: string): string {\n\tconst baseDir = baseFilePath ? baseFilePath.split('/').slice(0, -1).join('/') : ''\n\treturn normalizePartialPath(baseDir ? `${baseDir}/${name}` : name)\n}\n\nexport function isHtmlDocumentModule(value: unknown): value is HtmlDocumentModule {\n\treturn typeof value === 'object' && value !== null && typeof (value as HtmlDocumentModule).template === 'string'\n}\n\nconst INCLUDE_RE = /\\binclude(?:Async)?\\s*\\(\\s*(['\"])((?:\\.{1,2}\\/)?[^'\"]+?\\.html)\\1/g\n\n/**\n * Static include specifiers referenced by a template, in source order and\n * deduplicated. Only string-literal paths can be discovered at build time;\n * a computed include name still works at render time when its target is\n * pulled in by a literal include elsewhere in the document.\n */\nexport function findIncludeSpecifiers(template: string): string[] {\n\tconst specifiers = new Set<string>()\n\n\tfor (const match of template.matchAll(INCLUDE_RE)) {\n\t\tspecifiers.add(match[2])\n\t}\n\n\treturn [...specifiers]\n}\n\nexport function addPartial(\n\tpartials: Record<string, string>,\n\tspecifier: string,\n\tchild: HtmlDocumentModule | string\n): void {\n\tconst key = normalizePartialPath(specifier)\n\n\tif (typeof child === 'string') {\n\t\tpartials[key] = child\n\t\treturn\n\t}\n\n\tpartials[key] = child.template\n\n\tfor (const [childKey, childTemplate] of Object.entries(child.partials ?? {})) {\n\t\tpartials[resolvePartialPath(childKey, key)] = childTemplate\n\t}\n}\n"],"mappings":";;;;;;AAUA,SAAgB,qBAAqB,MAAsB;CAC1D,MAAMA,WAAqB,EAAE;AAE7B,MAAK,MAAM,WAAW,KAAK,MAAM,IAAI,EAAE;AACtC,MAAI,CAAC,WAAW,YAAY,IAC3B;AAGD,MAAI,YAAY,QAAQ,SAAS,SAAS,KAAK,SAAS,SAAS,SAAS,OAAO,MAAM;AACtF,YAAS,KAAK;AACd;;AAGD,WAAS,KAAK,QAAQ;;AAGvB,QAAO,SAAS,KAAK,IAAI;;AAG1B,SAAgB,mBAAmB,MAAc,cAA+B;CAC/E,MAAM,UAAU,eAAe,aAAa,MAAM,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,KAAK,IAAI,GAAG;AAChF,QAAO,qBAAqB,UAAU,GAAG,QAAQ,GAAG,SAAS,KAAK;;AAGnE,SAAgB,qBAAqB,OAA6C;AACjF,QAAO,OAAO,UAAU,YAAY,UAAU,QAAQ,OAAQ,MAA6B,aAAa;;AAGzG,MAAM,aAAa;;;;;;;AAQnB,SAAgB,sBAAsB,UAA4B;CACjE,MAAM,6BAAa,IAAI,KAAa;AAEpC,MAAK,MAAM,SAAS,SAAS,SAAS,WAAW,CAChD,YAAW,IAAI,MAAM,GAAG;AAGzB,QAAO,CAAC,GAAG,WAAW;;AAGvB,SAAgB,WACf,UACA,WACA,OACO;CACP,MAAM,MAAM,qBAAqB,UAAU;AAE3C,KAAI,OAAO,UAAU,UAAU;AAC9B,WAAS,OAAO;AAChB;;AAGD,UAAS,OAAO,MAAM;AAEtB,MAAK,MAAM,CAAC,UAAU,kBAAkB,OAAO,QAAQ,MAAM,YAAY,EAAE,CAAC,CAC3E,UAAS,mBAAmB,UAAU,IAAI,IAAI"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CreateOptions, RenderOptions } from "./types.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/server/compile/adaptors/html.d.ts
|
|
4
|
+
declare const _default: {
|
|
5
|
+
create({
|
|
6
|
+
Component,
|
|
7
|
+
data
|
|
8
|
+
}: CreateOptions): string;
|
|
9
|
+
render({
|
|
10
|
+
element
|
|
11
|
+
}: RenderOptions): any;
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { _default as default };
|
|
15
|
+
//# sourceMappingURL=html.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html.d.mts","names":[],"sources":["../../../../src/server/compile/adaptors/html.ts"],"sourcesContent":[],"mappings":";;;cAA2D;;;;KAkC9B;EAlC8B,MAAA,CAAA;IAAA;EAAA,CAAA,EA2CtC,aA3CsC,CAAA,EAAA,GAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { isHtmlDocumentModule, resolvePartialPath } from "./html-partials.mjs";
|
|
2
|
+
import { Eta } from "eta";
|
|
3
|
+
|
|
4
|
+
//#region src/server/compile/adaptors/html.ts
|
|
5
|
+
/**
|
|
6
|
+
* Eta instance that resolves `include()` names against the document's bundled
|
|
7
|
+
* partials map instead of the filesystem, so includes work identically in the
|
|
8
|
+
* dev worker, at compile time, and inside consumer bundles. `resolvePath` and
|
|
9
|
+
* `readFile` are assigned as instance properties because the Node build of Eta
|
|
10
|
+
* binds its own in the constructor (and the browser build has none).
|
|
11
|
+
*/
|
|
12
|
+
var DocumentEta = class extends Eta {
|
|
13
|
+
constructor(partials) {
|
|
14
|
+
super({ varName: "data" });
|
|
15
|
+
this.resolvePath = (templatePath, options) => resolvePartialPath(templatePath, options?.filepath);
|
|
16
|
+
this.readFile = (path) => {
|
|
17
|
+
const template = partials[path];
|
|
18
|
+
if (template === void 0) {
|
|
19
|
+
const known = Object.keys(partials);
|
|
20
|
+
const hint = known.length > 0 ? ` Known partials: ${known.join(", ")}` : "";
|
|
21
|
+
throw new Error(`Could not find included template '${path}'.${hint}`);
|
|
22
|
+
}
|
|
23
|
+
return template;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
var html_default = {
|
|
28
|
+
create({ Component, data }) {
|
|
29
|
+
if (isHtmlDocumentModule(Component)) return new DocumentEta(Component.partials ?? {}).renderString(Component.template, data);
|
|
30
|
+
return new Eta({ varName: "data" }).renderString(Component, data);
|
|
31
|
+
},
|
|
32
|
+
render({ element }) {
|
|
33
|
+
return element;
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
//#endregion
|
|
38
|
+
export { html_default as default };
|
|
39
|
+
//# sourceMappingURL=html.mjs.map
|