@builder.io/dev-tools 1.35.3-dev.202603251414.7060a67a6 → 1.35.3-dev.202603260707.584c84aa2
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/angular/index.cjs +0 -0
- package/angular/index.d.ts +0 -0
- package/angular/index.mjs +0 -0
- package/cli/index.cjs +333 -439
- package/cli/index.cjs.map +4 -4
- package/core/index.cjs +7 -156
- package/core/index.d.ts +0 -0
- package/core/index.mjs +7 -156
- package/figma/index.cjs +0 -0
- package/figma/index.d.ts +0 -0
- package/figma/index.mjs +0 -0
- package/node/index.cjs +1 -1
- package/node/index.d.ts +0 -0
- package/node/index.mjs +1 -1
- package/package.json +1 -1
- package/remix/build.cjs +0 -0
- package/remix/index.d.ts +0 -0
- package/remix/index.mjs +0 -0
- package/remix/server-build/index.cjs +0 -0
- package/remix/server-build/index.mjs +0 -0
- package/server/index.cjs +161 -182
- package/server/index.d.ts +0 -0
- package/server/index.mjs +161 -182
- package/types/_tests_/code.e2e.d.ts +0 -0
- package/types/_tests_/codegen-acl-glob.test.d.ts +0 -0
- package/types/_tests_/codegen-git-path-handling.test.d.ts +0 -0
- package/types/_tests_/codegen-listdir-security.test.d.ts +0 -0
- package/types/_tests_/config-validation.test.d.ts +0 -0
- package/types/_tests_/create-builder.e2e.d.ts +0 -0
- package/types/_tests_/dev-tools.e2e.d.ts +0 -0
- package/types/_tests_/figma-generate.e2e.d.ts +0 -0
- package/types/_tests_/figma-publish.e2e.d.ts +0 -0
- package/types/_tests_/fusionInit.e2e.d.ts +0 -0
- package/types/_tests_/help.e2e.d.ts +0 -0
- package/types/_tests_/launch-binary.e2e.d.ts +0 -0
- package/types/_tests_/launch.e2e.d.ts +0 -0
- package/types/_tests_/per-repo-gh-token.test.d.ts +1 -0
- package/types/_tests_/repo-indexing.test.d.ts +0 -0
- package/types/_tests_/sync-utils.test.d.ts +0 -0
- package/types/_tests_/utils.d.ts +0 -0
- package/types/_tests_/vitest.config.d.ts +0 -0
- package/types/_tests_/workspace.e2e.d.ts +0 -0
- package/types/angular/index.d.ts +0 -0
- package/types/cli/__tests__/isLikelyFixedString.spec.d.ts +0 -0
- package/types/cli/__tests__/parseGitDiffToApplyActions.spec.d.ts +0 -0
- package/types/cli/abort-signal-any.d.ts +0 -0
- package/types/cli/agent-command.d.ts +0 -0
- package/types/cli/auth/auth-utils.d.ts +0 -0
- package/types/cli/auth/auth.d.ts +0 -0
- package/types/cli/auth/status.d.ts +0 -0
- package/types/cli/backup.d.ts +0 -0
- package/types/cli/builder-add/interface.d.ts +0 -0
- package/types/cli/builder-add/options.d.ts +0 -0
- package/types/cli/code-file-utils.d.ts +0 -0
- package/types/cli/code-file-utils.unit.d.ts +0 -0
- package/types/cli/code-tools.d.ts +0 -0
- package/types/cli/code.d.ts +0 -0
- package/types/cli/codegen-git-snapshot.test.d.ts +1 -0
- package/types/cli/codegen.d.ts +0 -0
- package/types/cli/constants.d.ts +0 -0
- package/types/cli/credentials.d.ts +0 -0
- package/types/cli/detectors/nextjs.d.ts +0 -0
- package/types/cli/detectors/svelte.d.ts +0 -0
- package/types/cli/detectors/vue.d.ts +0 -0
- package/types/cli/doctor/doctor.d.ts +0 -0
- package/types/cli/download.d.ts +0 -0
- package/types/cli/dsi-mcp.d.ts +0 -0
- package/types/cli/exit.d.ts +0 -0
- package/types/cli/fetch.d.ts +0 -0
- package/types/cli/fetch.test.d.ts +0 -0
- package/types/cli/figma-publish.d.ts +0 -0
- package/types/cli/figma-publish.spec.d.ts +0 -0
- package/types/cli/figma-utils.d.ts +0 -0
- package/types/cli/figma.d.ts +0 -0
- package/types/cli/generate.d.ts +0 -0
- package/types/cli/help.d.ts +0 -0
- package/types/cli/incremental-tsc.d.ts +0 -0
- package/types/cli/index.d.ts +0 -0
- package/types/cli/indexing.d.ts +0 -0
- package/types/cli/launch/InitStateMachine.d.ts +0 -0
- package/types/cli/launch/config.d.ts +0 -0
- package/types/cli/launch/config.test.d.ts +0 -0
- package/types/cli/launch/dev-server-orchestrator.d.ts +0 -0
- package/types/cli/launch/dry-run-backup.d.ts +0 -0
- package/types/cli/launch/errors.d.ts +0 -0
- package/types/cli/launch/event-loop-monitor.d.ts +0 -0
- package/types/cli/launch/github.d.ts +0 -0
- package/types/cli/launch/grafana.d.ts +0 -0
- package/types/cli/launch/helpers.d.ts +0 -0
- package/types/cli/launch/helpers.test.d.ts +0 -0
- package/types/cli/launch/machine-health.d.ts +0 -0
- package/types/cli/launch/memory-pressure-monitor.d.ts +0 -0
- package/types/cli/launch/proxy.d.ts +0 -0
- package/types/cli/launch/proxy.test.d.ts +0 -0
- package/types/cli/launch/server.d.ts +0 -0
- package/types/cli/launch/vscode-tunnel-manager.d.ts +0 -0
- package/types/cli/launch.d.ts +1 -1
- package/types/cli/mcp-local.d.ts +0 -0
- package/types/cli/mcp-local.test.d.ts +0 -0
- package/types/cli/org-agent/branch-tools.d.ts +0 -0
- package/types/cli/org-agent/cron-checker.d.ts +0 -0
- package/types/cli/org-agent/cron-checker.test.d.ts +0 -0
- package/types/cli/org-agent/org-sync-trigger.d.ts +0 -0
- package/types/cli/org-agent/sync-org-tree.d.ts +0 -0
- package/types/cli/org-agent/tree-builder.d.ts +0 -0
- package/types/cli/org-agent/tree-builder.test.d.ts +0 -0
- package/types/cli/prettier.d.ts +0 -0
- package/types/cli/prettier.integration.test.d.ts +0 -0
- package/types/cli/repo-connect/env-collector.d.ts +0 -0
- package/types/cli/repo-connect/file-collector.d.ts +0 -0
- package/types/cli/repo-connect/git-detector.d.ts +0 -0
- package/types/cli/repo-connect/install-runner.d.ts +0 -0
- package/types/cli/repo-connect/package-detector.d.ts +0 -0
- package/types/cli/repo-connect/repo-connect.d.ts +0 -0
- package/types/cli/repo-indexing/component-discovery.d.ts +0 -0
- package/types/cli/repo-indexing/component-indexing.d.ts +0 -0
- package/types/cli/repo-indexing/icons.d.ts +0 -0
- package/types/cli/repo-indexing/installation.d.ts +0 -0
- package/types/cli/repo-indexing/repo-indexing-utils.d.ts +0 -0
- package/types/cli/repo-indexing/repo-indexing-utils.test.d.ts +0 -0
- package/types/cli/repo-indexing/repo-indexing.d.ts +0 -0
- package/types/cli/repo-indexing/repo-indexing.mock.d.ts +0 -0
- package/types/cli/repo-indexing/tokens.d.ts +0 -0
- package/types/cli/repo-indexing/types.d.ts +0 -0
- package/types/cli/repo-indexing.d.ts +17 -0
- package/types/cli/repo-indexing.mock.d.ts +5 -0
- package/types/cli/repo-metrics-utils.d.ts +0 -0
- package/types/cli/repo-metrics.d.ts +0 -0
- package/types/cli/repo-metrics.test.d.ts +0 -0
- package/types/cli/report/figma-report.d.ts +0 -0
- package/types/cli/server-ws.d.ts +0 -0
- package/types/cli/spinner.d.ts +0 -0
- package/types/cli/sync-utils.d.ts +0 -0
- package/types/cli/track.d.ts +0 -0
- package/types/cli/tsserver-manager.d.ts +0 -0
- package/types/cli/utils/agent-discovery.d.ts +0 -0
- package/types/cli/utils/agent-discovery.test.d.ts +0 -0
- package/types/cli/utils/agent-parser.d.ts +0 -0
- package/types/cli/utils/agent-parser.test.d.ts +0 -0
- package/types/cli/utils/agents/browser-testing-agent.d.ts +0 -0
- package/types/cli/utils/agents/org-agent.d.ts +0 -0
- package/types/cli/utils/agents/org-worker.d.ts +0 -0
- package/types/cli/utils/agents/project-configuration-agent.d.ts +0 -0
- package/types/cli/utils/agents/setup-project-agent.d.ts +0 -0
- package/types/cli/utils/browser-testing-agent.d.ts +0 -0
- package/types/cli/utils/cdn-upload.d.ts +0 -0
- package/types/cli/utils/code-review-agent/code-review-agent.d.ts +0 -0
- package/types/cli/utils/code-review-agent/index.d.ts +0 -0
- package/types/cli/utils/codegen-utils.d.ts +0 -0
- package/types/cli/utils/codegen-utils.test.d.ts +0 -0
- package/types/cli/utils/component-group-mdx-prompt.d.ts +0 -0
- package/types/cli/utils/dev-server-url-parser.d.ts +0 -0
- package/types/cli/utils/dev-server-url-parser.test.d.ts +0 -0
- package/types/cli/utils/discovery-test-utils.d.ts +0 -0
- package/types/cli/utils/env-capture.d.ts +0 -0
- package/types/cli/utils/env-capture.test.d.ts +0 -0
- package/types/cli/utils/env-substitution.d.ts +0 -0
- package/types/cli/utils/env-substitution.test.d.ts +0 -0
- package/types/cli/utils/feature-flags.d.ts +0 -0
- package/types/cli/utils/file-overrides-manager.d.ts +0 -0
- package/types/cli/utils/file-overrides-manager.test.d.ts +0 -0
- package/types/cli/utils/fuzzy-file-match.d.ts +0 -0
- package/types/cli/utils/fuzzy-file-match.test.d.ts +0 -0
- package/types/cli/utils/gif-generator.d.ts +0 -0
- package/types/cli/utils/gif-generator.test.d.ts +0 -0
- package/types/cli/utils/git-snapshot.d.ts +17 -0
- package/types/cli/utils/git-snapshot.test.d.ts +1 -0
- package/types/cli/utils/git.d.ts +0 -0
- package/types/cli/utils/hosts-file-manager.d.ts +0 -0
- package/types/cli/utils/hosts-file-manager.test.d.ts +0 -0
- package/types/cli/utils/lock-file.d.ts +0 -0
- package/types/cli/utils/lock-file.test.d.ts +0 -0
- package/types/cli/utils/memory-sync.d.ts +0 -0
- package/types/cli/utils/memory-sync.test.d.ts +0 -0
- package/types/cli/utils/open.d.ts +0 -0
- package/types/cli/utils/parseGitDiff.d.ts +0 -0
- package/types/cli/utils/path-normalization.d.ts +0 -0
- package/types/cli/utils/port-detection.d.ts +0 -0
- package/types/cli/utils/priority.d.ts +0 -0
- package/types/cli/utils/process-tracker.d.ts +0 -0
- package/types/cli/utils/project-configuration-agent.d.ts +0 -0
- package/types/cli/utils/prompt-substitution.d.ts +0 -0
- package/types/cli/utils/prompt-substitution.test.d.ts +0 -0
- package/types/cli/utils/repo-indexing-agent-prompt.d.ts +0 -0
- package/types/cli/utils/repo-indexing-group-prompt.d.ts +0 -0
- package/types/cli/utils/repo-indexing-group-prompts.d.ts +1 -0
- package/types/cli/utils/rules-discovery.d.ts +0 -0
- package/types/cli/utils/rules-discovery.test.d.ts +0 -0
- package/types/cli/utils/rules-parser.d.ts +0 -0
- package/types/cli/utils/rules-parser.test.d.ts +0 -0
- package/types/cli/utils/signals.d.ts +0 -0
- package/types/cli/utils/terminal-buffer.d.ts +0 -0
- package/types/cli/utils/terminal-buffer.spec.d.ts +0 -0
- package/types/cli/utils/timeline-collector.d.ts +0 -0
- package/types/cli/utils/workspace-path-resolver.d.ts +0 -0
- package/types/cli/utils/workspace-path-resolver.test.d.ts +0 -0
- package/types/cli/utils/workspace-path-resolver.unit.d.ts +0 -0
- package/types/cli/utils/yaml-frontmatter.d.ts +0 -0
- package/types/cli/utils/yaml-frontmatter.test.d.ts +0 -0
- package/types/cli/version.d.ts +0 -0
- package/types/client/client-api.d.ts +0 -0
- package/types/client/edit-button/document-listeners.d.ts +0 -0
- package/types/client/edit-button/index.d.ts +0 -0
- package/types/client/index.d.ts +0 -0
- package/types/client/menu/index.d.ts +0 -0
- package/types/client/menu/pages/component-detail.d.ts +0 -0
- package/types/client/menu/pages/component-input.d.ts +0 -0
- package/types/client/menu/pages/component-list.d.ts +0 -0
- package/types/client/menu/pages/home.d.ts +0 -0
- package/types/client/menu/pages/settings.d.ts +0 -0
- package/types/client/menu/toggle/menu-toggle.d.ts +0 -0
- package/types/client/setup-ui/connected.d.ts +0 -0
- package/types/client/setup-ui/index.d.ts +0 -0
- package/types/client/setup-ui/overview.d.ts +0 -0
- package/types/client/tracking.d.ts +0 -0
- package/types/client/utils.d.ts +0 -0
- package/types/common/ast/app-dependencies.d.ts +0 -0
- package/types/common/ast/component-info.d.ts +0 -0
- package/types/common/ast/component-input-types.d.ts +0 -0
- package/types/common/ast/component-registry.d.ts +0 -0
- package/types/common/ast/convert-values.d.ts +0 -0
- package/types/common/ast/convert-values.unit.d.ts +0 -0
- package/types/common/ast/ensure-array-statement.d.ts +0 -0
- package/types/common/ast/ensure-array-statement.unit.d.ts +0 -0
- package/types/common/ast/ensure-comments.d.ts +0 -0
- package/types/common/ast/ensure-imports.d.ts +0 -0
- package/types/common/ast/ensure-imports.unit.d.ts +0 -0
- package/types/common/ast/exported-statements.d.ts +0 -0
- package/types/common/ast/exported-statements.unit.d.ts +0 -0
- package/types/common/ast/imported-statements.d.ts +0 -0
- package/types/common/ast/imported-statements.unit.d.ts +0 -0
- package/types/common/ast/normalize-statements.d.ts +0 -0
- package/types/common/ast/normalize-statements.unit.d.ts +0 -0
- package/types/common/ast/remove-unused-imports.d.ts +0 -0
- package/types/common/ast/remove-unused-imports.unit.d.ts +0 -0
- package/types/common/ast/transform.d.ts +0 -0
- package/types/common/ast/utils.d.ts +0 -0
- package/types/common/ast/utils.unit.d.ts +0 -0
- package/types/common/builder/builder-api.d.ts +0 -0
- package/types/common/builder/builder-sdks.d.ts +0 -0
- package/types/common/builder/content-generation.d.ts +0 -0
- package/types/common/builder/content-ids.d.ts +0 -0
- package/types/common/cache.d.ts +0 -0
- package/types/common/constants.d.ts +0 -0
- package/types/common/dotenv.d.ts +0 -0
- package/types/common/dotenv.test.d.ts +0 -0
- package/types/common/errors.d.ts +0 -0
- package/types/common/estimate-code-tokens.d.ts +0 -0
- package/types/common/fs.d.ts +0 -0
- package/types/common/interactive-select-files.d.ts +0 -0
- package/types/common/logger.d.ts +0 -1
- package/types/common/mem-sys.d.ts +0 -0
- package/types/common/node-request.d.ts +0 -0
- package/types/common/path.d.ts +0 -0
- package/types/common/test-utils.d.ts +0 -0
- package/types/common/typescript.d.ts +0 -0
- package/types/common/utils.d.ts +0 -0
- package/types/common/utils.unit.d.ts +0 -0
- package/types/core/adapters/angular/angular-api-key.d.ts +0 -0
- package/types/core/adapters/angular/angular-api-key.unit.d.ts +0 -0
- package/types/core/adapters/angular/angular-app-module-imports.d.ts +0 -0
- package/types/core/adapters/angular/angular-app-module-imports.unit.d.ts +0 -0
- package/types/core/adapters/angular/angular-app-routes-update.d.ts +0 -0
- package/types/core/adapters/angular/angular-app-routes-update.unit.d.ts +0 -0
- package/types/core/adapters/angular/angular-components.d.ts +0 -0
- package/types/core/adapters/angular/angular-components.unit.d.ts +0 -0
- package/types/core/adapters/angular/angular-ensure-builder-setup.d.ts +0 -0
- package/types/core/adapters/angular/angular-ensure-config-plugin.d.ts +0 -0
- package/types/core/adapters/angular/angular-ensure-config-plugin.unit.d.ts +0 -0
- package/types/core/adapters/angular/angular-fix-tsconfig.d.ts +0 -0
- package/types/core/adapters/angular/angular-registry-parse.d.ts +0 -0
- package/types/core/adapters/angular/angular-registry-parse.unit.d.ts +0 -0
- package/types/core/adapters/angular/angular-registry.d.ts +0 -0
- package/types/core/adapters/angular/angular-registry.unit.d.ts +0 -0
- package/types/core/adapters/angular/angular-test-utils.d.ts +0 -0
- package/types/core/adapters/angular/index.d.ts +0 -0
- package/types/core/adapters/angular/types.d.ts +0 -0
- package/types/core/adapters/next/index.d.ts +0 -0
- package/types/core/adapters/next/next-api-key.d.ts +0 -0
- package/types/core/adapters/next/next-component-info.d.ts +0 -0
- package/types/core/adapters/next/next-component-info.unit.d.ts +0 -0
- package/types/core/adapters/next/next-component-inputs.unit.d.ts +0 -0
- package/types/core/adapters/next/next-component-source-inputs.unit.d.ts +0 -0
- package/types/core/adapters/next/next-components.d.ts +0 -0
- package/types/core/adapters/next/next-ensure-builder-setup.d.ts +0 -0
- package/types/core/adapters/next/next-ensure-config-plugin.d.ts +0 -0
- package/types/core/adapters/next/next-ensure-config-plugin.unit.d.ts +0 -0
- package/types/core/adapters/next/next-registry-parse.d.ts +0 -0
- package/types/core/adapters/next/next-registry-parse.unit.d.ts +0 -0
- package/types/core/adapters/next/next-registry.d.ts +0 -0
- package/types/core/adapters/next/next-registry.unit.d.ts +0 -0
- package/types/core/adapters/next/next-test-utils.d.ts +0 -0
- package/types/core/adapters/qwik-city/index.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-api-key.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-component-source-inputs.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-components.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-components.unit.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-ensure-builder-setup.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-ensure-config-plugin.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-registry-parse.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-registry-parse.unit.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-registry.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-registry.unit.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-test-utils.d.ts +0 -0
- package/types/core/adapters/qwik-city/qwik-ts-program.d.ts +0 -0
- package/types/core/adapters/react/index.d.ts +0 -0
- package/types/core/adapters/react/react-api-key.d.ts +0 -0
- package/types/core/adapters/react/react-builder-sdk-setup.d.ts +0 -0
- package/types/core/adapters/react/react-component-info.d.ts +0 -0
- package/types/core/adapters/react/react-components.d.ts +0 -0
- package/types/core/adapters/react/react-components.unit.d.ts +0 -0
- package/types/core/adapters/react/react-ensure-builder-setup.d.ts +0 -0
- package/types/core/adapters/react/react-registry-parse.d.ts +0 -0
- package/types/core/adapters/react/react-registry-parse.unit.d.ts +0 -0
- package/types/core/adapters/react/react-registry.d.ts +0 -0
- package/types/core/adapters/react/react-registry.unit.d.ts +0 -0
- package/types/core/adapters/react/react-test-utils.d.ts +0 -0
- package/types/core/adapters/react/react-ts-program.d.ts +0 -0
- package/types/core/adapters/remix/index.d.ts +0 -0
- package/types/core/adapters/remix/remix-api-key.d.ts +0 -0
- package/types/core/adapters/remix/remix-components.d.ts +0 -0
- package/types/core/adapters/remix/remix-ensure-builder-setup.d.ts +0 -0
- package/types/core/adapters/remix/remix-ensure-config-plugin.d.ts +0 -0
- package/types/core/adapters/remix/remix-ensure-config-plugin.unit.d.ts +0 -0
- package/types/core/adapters/remix/remix-registry-parse.d.ts +0 -0
- package/types/core/adapters/remix/remix-registry.d.ts +0 -0
- package/types/core/adapters/remix/remix-registry.unit.d.ts +0 -0
- package/types/core/adapters/remix/remix-test-utils.d.ts +0 -0
- package/types/core/adapters/vite/vite-ensure-config-plugin.d.ts +0 -0
- package/types/core/adapters/vite/vite-ensure-config-plugin.unit.d.ts +0 -0
- package/types/core/adapters/vue/index.d.ts +0 -0
- package/types/core/adapters/vue/vue-api-key.d.ts +0 -0
- package/types/core/adapters/vue/vue-components.d.ts +0 -0
- package/types/core/adapters/vue/vue-ensure-builder-setup.d.ts +0 -0
- package/types/core/adapters/vue/vue-registry-parse.d.ts +0 -0
- package/types/core/adapters/vue/vue-registry.d.ts +0 -0
- package/types/core/adapters/webpack/webpack-config-helpers.d.ts +0 -0
- package/types/core/adapters/webpack/webpack-config-helpers.unit.d.ts +0 -0
- package/types/core/adapters/webpack/webpack-ensure-config-plugin.d.ts +0 -0
- package/types/core/client-script.d.ts +0 -0
- package/types/core/create-dev-tools.d.ts +0 -0
- package/types/core/detect-frameworks.d.ts +0 -0
- package/types/core/ensure-config-plugin.d.ts +0 -0
- package/types/core/find-dependencies.d.ts +0 -0
- package/types/core/import-export-registry.d.ts +0 -0
- package/types/core/index.d.ts +0 -0
- package/types/figma/index.d.ts +0 -0
- package/types/node/index.d.ts +0 -0
- package/types/node/node-sys.d.ts +0 -0
- package/types/remix/index.d.ts +0 -0
- package/types/scripts/analyze-projects.d.ts +18 -0
- package/types/scripts/call-ensure-container.d.ts +4 -0
- package/types/scripts/check-backup.d.ts +1 -0
- package/types/scripts/cli.d.ts +1 -0
- package/types/scripts/download-projects.d.ts +12 -0
- package/types/scripts/utils/db.d.ts +3 -0
- package/types/scripts/utils/ensure-container.d.ts +7 -0
- package/types/scripts/utils/remove-machine-and-volume.d.ts +5 -0
- package/types/server/auth.d.ts +0 -0
- package/types/server/builder-connect.d.ts +0 -0
- package/types/server/client-script.d.ts +0 -0
- package/types/server/create-dev-tools-server.d.ts +0 -0
- package/types/server/dev-tools-api.d.ts +0 -0
- package/types/server/dev-tools-http-server.d.ts +0 -0
- package/types/server/index.d.ts +0 -0
- package/types/server/request-handler.d.ts +0 -0
- package/types/tsconfig.tsbuildinfo +1 -1
- package/types/types/codegen-server.d.ts +0 -0
- package/types/types/connection-tracker.d.ts +0 -0
- package/types/types/proxy-middleware.d.ts +0 -0
- package/types/types/websocket-types.d.ts +0 -0
- package/types/types.d.ts +0 -0
- package/types/vite/main.d.ts +0 -0
- package/types/vitest.config.d.ts +0 -0
- package/types/webpack/main.d.ts +0 -0
- package/vendors/darwin-arm64/complete/rg.bash +0 -0
- package/vendors/darwin-arm64/complete/rg.fish +0 -0
- package/vendors/darwin-arm64/doc/rg.1 +0 -0
- package/vendors/darwin-x64/complete/rg.bash +0 -0
- package/vendors/darwin-x64/complete/rg.fish +0 -0
- package/vendors/darwin-x64/doc/rg.1 +0 -0
- package/vendors/linux-arm64/complete/rg.bash +0 -0
- package/vendors/linux-arm64/complete/rg.fish +0 -0
- package/vendors/linux-arm64/doc/rg.1 +0 -0
- package/vendors/linux-x64/complete/rg.bash +0 -0
- package/vendors/linux-x64/complete/rg.fish +0 -0
- package/vendors/linux-x64/doc/rg.1 +0 -0
- package/vendors/win32-x64/rg.exe +0 -0
- package/vite/index.cjs +0 -0
- package/vite/index.d.ts +0 -0
- package/vite/index.mjs +0 -0
- package/webpack/index.cjs +0 -0
- package/webpack/index.d.ts +0 -0
- package/webpack/index.mjs +0 -0
- package/types/cli/utils/ide-bridge.d.ts +0 -13
- package/types/core/component-map-builder.d.ts +0 -42
- package/types/server/source-map-resolver/cache.d.ts +0 -36
- package/types/server/source-map-resolver/indexed-map-resolver.d.ts +0 -10
- package/types/server/source-map-resolver/loader.d.ts +0 -16
- package/types/server/source-map-resolver/security.d.ts +0 -21
- package/types/server/source-map-resolver/types.d.ts +0 -41
- package/types/server/source-map-resolver/validation.d.ts +0 -16
- package/types/server/source-map-resolver.d.ts +0 -25
package/core/index.cjs
CHANGED
|
@@ -707,7 +707,7 @@ __export(index_exports, {
|
|
|
707
707
|
module.exports = __toCommonJS(index_exports);
|
|
708
708
|
|
|
709
709
|
// packages/dev-tools/cli/version.ts
|
|
710
|
-
var builderVersion = true ? "1.35.3-dev.
|
|
710
|
+
var builderVersion = true ? "1.35.3-dev.202603260707.584c84aa2" : "0.0.0";
|
|
711
711
|
var pkgVersion = process.env.OVERRIDE_VERSION ?? builderVersion;
|
|
712
712
|
|
|
713
713
|
// packages/dev-tools/common/fs.ts
|
|
@@ -8958,150 +8958,7 @@ async function setEnvValue(sys, envPath, key2, value) {
|
|
|
8958
8958
|
}
|
|
8959
8959
|
var ANGULAR_BUILDER_API_KEY_ENV = "builderApiKey";
|
|
8960
8960
|
|
|
8961
|
-
// packages/dev-tools/common/logger.ts
|
|
8962
|
-
var LEVELS = {
|
|
8963
|
-
debug: 0,
|
|
8964
|
-
info: 1,
|
|
8965
|
-
warn: 2,
|
|
8966
|
-
error: 3
|
|
8967
|
-
};
|
|
8968
|
-
function extractOptions(args) {
|
|
8969
|
-
const last = args[args.length - 1];
|
|
8970
|
-
if (last && typeof last === "object" && !(last instanceof Error) && !Array.isArray(last) && "loggerOptions" in last) {
|
|
8971
|
-
return {
|
|
8972
|
-
callArgs: args.slice(0, -1),
|
|
8973
|
-
options: last.loggerOptions
|
|
8974
|
-
};
|
|
8975
|
-
}
|
|
8976
|
-
return { callArgs: args, options: {} };
|
|
8977
|
-
}
|
|
8978
|
-
function formatArgs(args) {
|
|
8979
|
-
return args.map((a) => {
|
|
8980
|
-
if (a instanceof Error) return a.stack ?? a.message;
|
|
8981
|
-
if (typeof a === "object" && a !== null) {
|
|
8982
|
-
try {
|
|
8983
|
-
return JSON.stringify(a);
|
|
8984
|
-
} catch {
|
|
8985
|
-
return String(a);
|
|
8986
|
-
}
|
|
8987
|
-
}
|
|
8988
|
-
return String(a);
|
|
8989
|
-
}).join(" ");
|
|
8990
|
-
}
|
|
8991
|
-
function isCloudEnvironment() {
|
|
8992
|
-
const env = process.env.FUSION_ENVIRONMENT;
|
|
8993
|
-
return env === "cloud" || env === "cloud-v2";
|
|
8994
|
-
}
|
|
8995
|
-
function writeStructured(stream, severity, context, args) {
|
|
8996
|
-
const entry = {
|
|
8997
|
-
severity,
|
|
8998
|
-
message: formatArgs(args),
|
|
8999
|
-
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
9000
|
-
};
|
|
9001
|
-
if (context) entry.context = context;
|
|
9002
|
-
stream.write(JSON.stringify(entry) + "\n");
|
|
9003
|
-
}
|
|
9004
|
-
function createCloudLogger(minLevel, isDebugEnabled, context) {
|
|
9005
|
-
return {
|
|
9006
|
-
debug(...args) {
|
|
9007
|
-
if (!isDebugEnabled()) return;
|
|
9008
|
-
const { callArgs, options } = extractOptions(args);
|
|
9009
|
-
writeStructured(
|
|
9010
|
-
options.stderr ? process.stderr : process.stdout,
|
|
9011
|
-
"DEBUG",
|
|
9012
|
-
context,
|
|
9013
|
-
callArgs
|
|
9014
|
-
);
|
|
9015
|
-
},
|
|
9016
|
-
info(...args) {
|
|
9017
|
-
if (minLevel > LEVELS.info) return;
|
|
9018
|
-
const { callArgs, options } = extractOptions(args);
|
|
9019
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9020
|
-
writeStructured(
|
|
9021
|
-
options.stderr ? process.stderr : process.stdout,
|
|
9022
|
-
"INFO",
|
|
9023
|
-
context,
|
|
9024
|
-
callArgs
|
|
9025
|
-
);
|
|
9026
|
-
},
|
|
9027
|
-
warn(...args) {
|
|
9028
|
-
if (minLevel > LEVELS.warn) return;
|
|
9029
|
-
const { callArgs, options } = extractOptions(args);
|
|
9030
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9031
|
-
writeStructured(process.stderr, "WARNING", context, callArgs);
|
|
9032
|
-
},
|
|
9033
|
-
error(...args) {
|
|
9034
|
-
if (minLevel > LEVELS.error) return;
|
|
9035
|
-
const { callArgs, options } = extractOptions(args);
|
|
9036
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9037
|
-
writeStructured(process.stderr, "ERROR", context, callArgs);
|
|
9038
|
-
}
|
|
9039
|
-
};
|
|
9040
|
-
}
|
|
9041
|
-
function timestamp() {
|
|
9042
|
-
return (/* @__PURE__ */ new Date()).toISOString();
|
|
9043
|
-
}
|
|
9044
|
-
function localPrefix(context) {
|
|
9045
|
-
return context ? `[${timestamp()}] [${context}]` : `[${timestamp()}]`;
|
|
9046
|
-
}
|
|
9047
|
-
function createLocalLogger(minLevel, isDebugEnabled, context) {
|
|
9048
|
-
return {
|
|
9049
|
-
debug(...args) {
|
|
9050
|
-
if (!isDebugEnabled()) return;
|
|
9051
|
-
const { callArgs, options } = extractOptions(args);
|
|
9052
|
-
if (options.stderr) {
|
|
9053
|
-
console.error(localPrefix(context), ...callArgs);
|
|
9054
|
-
} else {
|
|
9055
|
-
console.debug(localPrefix(context), ...callArgs);
|
|
9056
|
-
}
|
|
9057
|
-
},
|
|
9058
|
-
info(...args) {
|
|
9059
|
-
if (LEVELS.info < minLevel) return;
|
|
9060
|
-
const { callArgs, options } = extractOptions(args);
|
|
9061
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9062
|
-
if (options.stderr) {
|
|
9063
|
-
console.error(localPrefix(context), ...callArgs);
|
|
9064
|
-
} else {
|
|
9065
|
-
console.log(localPrefix(context), ...callArgs);
|
|
9066
|
-
}
|
|
9067
|
-
},
|
|
9068
|
-
warn(...args) {
|
|
9069
|
-
if (LEVELS.warn < minLevel) return;
|
|
9070
|
-
const { callArgs, options } = extractOptions(args);
|
|
9071
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9072
|
-
console.warn(localPrefix(context), ...callArgs);
|
|
9073
|
-
},
|
|
9074
|
-
error(...args) {
|
|
9075
|
-
if (LEVELS.error < minLevel) return;
|
|
9076
|
-
const { callArgs, options } = extractOptions(args);
|
|
9077
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9078
|
-
console.error(localPrefix(context), ...callArgs);
|
|
9079
|
-
}
|
|
9080
|
-
};
|
|
9081
|
-
}
|
|
9082
|
-
var _DEBUGGING_ENABLED = false;
|
|
9083
|
-
function createLogger(context, options) {
|
|
9084
|
-
const isDebugEnabled = typeof options?.debug === "function" ? options.debug : options?.debug !== void 0 ? () => options.debug : () => _DEBUGGING_ENABLED || !!process.env.DEBUG;
|
|
9085
|
-
const levelStr = options?.level ?? process.env.LOG_LEVEL?.toLowerCase();
|
|
9086
|
-
if (isCloudEnvironment()) {
|
|
9087
|
-
return createCloudLogger(
|
|
9088
|
-
getLogLevel(levelStr ?? "info"),
|
|
9089
|
-
isDebugEnabled,
|
|
9090
|
-
context
|
|
9091
|
-
);
|
|
9092
|
-
}
|
|
9093
|
-
return createLocalLogger(
|
|
9094
|
-
getLogLevel(levelStr ?? "warn"),
|
|
9095
|
-
isDebugEnabled,
|
|
9096
|
-
context
|
|
9097
|
-
);
|
|
9098
|
-
}
|
|
9099
|
-
function getLogLevel(level) {
|
|
9100
|
-
return LEVELS[level] ?? LEVELS.info;
|
|
9101
|
-
}
|
|
9102
|
-
|
|
9103
8961
|
// packages/dev-tools/core/adapters/angular/angular-components.ts
|
|
9104
|
-
var angularLogger = createLogger("AngularComponents");
|
|
9105
8962
|
async function getAngularSourceComponentsFromDir(sys, tsProgram) {
|
|
9106
8963
|
const cmps = [];
|
|
9107
8964
|
const sourceFiles = tsProgram.getSourceFiles();
|
|
@@ -9467,7 +9324,7 @@ async function getExportedAngularComponentSource(sys, typeChecker, filePath, sou
|
|
|
9467
9324
|
}
|
|
9468
9325
|
}
|
|
9469
9326
|
} catch (error) {
|
|
9470
|
-
|
|
9327
|
+
console.warn(
|
|
9471
9328
|
`Error processing star export from ${moduleName}:`,
|
|
9472
9329
|
error
|
|
9473
9330
|
);
|
|
@@ -11804,7 +11661,6 @@ var VUE_VITE_BUILDER_KEY_ENV = `VITE_PUBLIC_BUILDER_KEY`;
|
|
|
11804
11661
|
var VUE_WEBPACK_BUILDER_KEY_ENV = `PUBLIC_BUILDER_KEY`;
|
|
11805
11662
|
|
|
11806
11663
|
// packages/dev-tools/core/adapters/vue/vue-components.ts
|
|
11807
|
-
var vueLogger = createLogger("VueComponents");
|
|
11808
11664
|
async function parseVueComponent(sys, filePath, readAllInputTypes) {
|
|
11809
11665
|
try {
|
|
11810
11666
|
const content = await sys.readFile(filePath);
|
|
@@ -11829,7 +11685,7 @@ async function parseVueComponent(sys, filePath, readAllInputTypes) {
|
|
|
11829
11685
|
vueApiType: apiType
|
|
11830
11686
|
};
|
|
11831
11687
|
} catch (error) {
|
|
11832
|
-
|
|
11688
|
+
console.warn(`Failed to parse Vue component ${filePath}:`, error);
|
|
11833
11689
|
return null;
|
|
11834
11690
|
}
|
|
11835
11691
|
}
|
|
@@ -12404,7 +12260,6 @@ async function isNuxtProject(sys) {
|
|
|
12404
12260
|
|
|
12405
12261
|
// packages/dev-tools/core/import-export-registry.ts
|
|
12406
12262
|
var import_compress_json = __toESM(require_dist(), 1);
|
|
12407
|
-
var registryLogger = createLogger("ImportExportRegistry");
|
|
12408
12263
|
async function exportRegistry(sys, devTools) {
|
|
12409
12264
|
const registry = await devTools.getRegistry();
|
|
12410
12265
|
const exportedRegistry = {
|
|
@@ -12448,7 +12303,7 @@ async function importRegistry(sys, devTools, registryToImport) {
|
|
|
12448
12303
|
(c2) => normalizePathSlash(c2.filePath).endsWith(filePath) && c2.exportName === cmpToRegister.exportName
|
|
12449
12304
|
);
|
|
12450
12305
|
if (!cmp) {
|
|
12451
|
-
|
|
12306
|
+
console.error(
|
|
12452
12307
|
`Could not find component to register: ${cmpToRegister.filePath}, ${cmpToRegister.exportName}`
|
|
12453
12308
|
);
|
|
12454
12309
|
continue;
|
|
@@ -13381,7 +13236,6 @@ async function createDevToolsSys(opts) {
|
|
|
13381
13236
|
}
|
|
13382
13237
|
|
|
13383
13238
|
// packages/dev-tools/core/adapters/next/next-ensure-config-plugin.ts
|
|
13384
|
-
var nextLogger = createLogger("NextConfig");
|
|
13385
13239
|
async function nextEnsureConfigPlugin(sys, configFilePath, configContent) {
|
|
13386
13240
|
try {
|
|
13387
13241
|
let sourceFile = codeToSource(sys, configContent);
|
|
@@ -13393,7 +13247,7 @@ async function nextEnsureConfigPlugin(sys, configFilePath, configContent) {
|
|
|
13393
13247
|
};
|
|
13394
13248
|
const isTurbopack = await detectTurbopack(sys);
|
|
13395
13249
|
if (isTurbopack) {
|
|
13396
|
-
|
|
13250
|
+
console.warn(
|
|
13397
13251
|
`Turbopack does not support the Builder.io devtools cli. Please disable Turbopack or manually integrate Builder.io into your Next.js project.`
|
|
13398
13252
|
);
|
|
13399
13253
|
return result;
|
|
@@ -14706,11 +14560,10 @@ module.exports = nextConfig
|
|
|
14706
14560
|
var DEV_TOOLS_CLIENT_SCRIPT_PATH = "/~builder-dev-tools.js";
|
|
14707
14561
|
|
|
14708
14562
|
// packages/dev-tools/core/client-script.ts
|
|
14709
|
-
var clientScriptLogger = createLogger("ClientScript");
|
|
14710
14563
|
function getClientScript(devToolsServerUrl) {
|
|
14711
14564
|
try {
|
|
14712
14565
|
if (typeof devToolsServerUrl !== "string" || devToolsServerUrl.trim().length === 0) {
|
|
14713
|
-
|
|
14566
|
+
console.error(`Missing devtool server url`);
|
|
14714
14567
|
return ``;
|
|
14715
14568
|
}
|
|
14716
14569
|
const url = new URL(DEV_TOOLS_CLIENT_SCRIPT_PATH, devToolsServerUrl);
|
|
@@ -14744,9 +14597,7 @@ function getClientScript(devToolsServerUrl) {
|
|
|
14744
14597
|
`;
|
|
14745
14598
|
return c2;
|
|
14746
14599
|
} catch (e) {
|
|
14747
|
-
|
|
14748
|
-
`Failed to create devtools client script: ${e.message || e}`
|
|
14749
|
-
);
|
|
14600
|
+
console.error(`Failed to create devtools client script: ${e.message || e}`);
|
|
14750
14601
|
return ``;
|
|
14751
14602
|
}
|
|
14752
14603
|
}
|
package/core/index.d.ts
CHANGED
|
File without changes
|
package/core/index.mjs
CHANGED
|
@@ -687,7 +687,7 @@ var require_dist = __commonJS({
|
|
|
687
687
|
});
|
|
688
688
|
|
|
689
689
|
// packages/dev-tools/cli/version.ts
|
|
690
|
-
var builderVersion = true ? "1.35.3-dev.
|
|
690
|
+
var builderVersion = true ? "1.35.3-dev.202603260707.584c84aa2" : "0.0.0";
|
|
691
691
|
var pkgVersion = process.env.OVERRIDE_VERSION ?? builderVersion;
|
|
692
692
|
|
|
693
693
|
// packages/dev-tools/common/fs.ts
|
|
@@ -8938,150 +8938,7 @@ async function setEnvValue(sys, envPath, key2, value) {
|
|
|
8938
8938
|
}
|
|
8939
8939
|
var ANGULAR_BUILDER_API_KEY_ENV = "builderApiKey";
|
|
8940
8940
|
|
|
8941
|
-
// packages/dev-tools/common/logger.ts
|
|
8942
|
-
var LEVELS = {
|
|
8943
|
-
debug: 0,
|
|
8944
|
-
info: 1,
|
|
8945
|
-
warn: 2,
|
|
8946
|
-
error: 3
|
|
8947
|
-
};
|
|
8948
|
-
function extractOptions(args) {
|
|
8949
|
-
const last = args[args.length - 1];
|
|
8950
|
-
if (last && typeof last === "object" && !(last instanceof Error) && !Array.isArray(last) && "loggerOptions" in last) {
|
|
8951
|
-
return {
|
|
8952
|
-
callArgs: args.slice(0, -1),
|
|
8953
|
-
options: last.loggerOptions
|
|
8954
|
-
};
|
|
8955
|
-
}
|
|
8956
|
-
return { callArgs: args, options: {} };
|
|
8957
|
-
}
|
|
8958
|
-
function formatArgs(args) {
|
|
8959
|
-
return args.map((a) => {
|
|
8960
|
-
if (a instanceof Error) return a.stack ?? a.message;
|
|
8961
|
-
if (typeof a === "object" && a !== null) {
|
|
8962
|
-
try {
|
|
8963
|
-
return JSON.stringify(a);
|
|
8964
|
-
} catch {
|
|
8965
|
-
return String(a);
|
|
8966
|
-
}
|
|
8967
|
-
}
|
|
8968
|
-
return String(a);
|
|
8969
|
-
}).join(" ");
|
|
8970
|
-
}
|
|
8971
|
-
function isCloudEnvironment() {
|
|
8972
|
-
const env = process.env.FUSION_ENVIRONMENT;
|
|
8973
|
-
return env === "cloud" || env === "cloud-v2";
|
|
8974
|
-
}
|
|
8975
|
-
function writeStructured(stream, severity, context, args) {
|
|
8976
|
-
const entry = {
|
|
8977
|
-
severity,
|
|
8978
|
-
message: formatArgs(args),
|
|
8979
|
-
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
8980
|
-
};
|
|
8981
|
-
if (context) entry.context = context;
|
|
8982
|
-
stream.write(JSON.stringify(entry) + "\n");
|
|
8983
|
-
}
|
|
8984
|
-
function createCloudLogger(minLevel, isDebugEnabled, context) {
|
|
8985
|
-
return {
|
|
8986
|
-
debug(...args) {
|
|
8987
|
-
if (!isDebugEnabled()) return;
|
|
8988
|
-
const { callArgs, options } = extractOptions(args);
|
|
8989
|
-
writeStructured(
|
|
8990
|
-
options.stderr ? process.stderr : process.stdout,
|
|
8991
|
-
"DEBUG",
|
|
8992
|
-
context,
|
|
8993
|
-
callArgs
|
|
8994
|
-
);
|
|
8995
|
-
},
|
|
8996
|
-
info(...args) {
|
|
8997
|
-
if (minLevel > LEVELS.info) return;
|
|
8998
|
-
const { callArgs, options } = extractOptions(args);
|
|
8999
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9000
|
-
writeStructured(
|
|
9001
|
-
options.stderr ? process.stderr : process.stdout,
|
|
9002
|
-
"INFO",
|
|
9003
|
-
context,
|
|
9004
|
-
callArgs
|
|
9005
|
-
);
|
|
9006
|
-
},
|
|
9007
|
-
warn(...args) {
|
|
9008
|
-
if (minLevel > LEVELS.warn) return;
|
|
9009
|
-
const { callArgs, options } = extractOptions(args);
|
|
9010
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9011
|
-
writeStructured(process.stderr, "WARNING", context, callArgs);
|
|
9012
|
-
},
|
|
9013
|
-
error(...args) {
|
|
9014
|
-
if (minLevel > LEVELS.error) return;
|
|
9015
|
-
const { callArgs, options } = extractOptions(args);
|
|
9016
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9017
|
-
writeStructured(process.stderr, "ERROR", context, callArgs);
|
|
9018
|
-
}
|
|
9019
|
-
};
|
|
9020
|
-
}
|
|
9021
|
-
function timestamp() {
|
|
9022
|
-
return (/* @__PURE__ */ new Date()).toISOString();
|
|
9023
|
-
}
|
|
9024
|
-
function localPrefix(context) {
|
|
9025
|
-
return context ? `[${timestamp()}] [${context}]` : `[${timestamp()}]`;
|
|
9026
|
-
}
|
|
9027
|
-
function createLocalLogger(minLevel, isDebugEnabled, context) {
|
|
9028
|
-
return {
|
|
9029
|
-
debug(...args) {
|
|
9030
|
-
if (!isDebugEnabled()) return;
|
|
9031
|
-
const { callArgs, options } = extractOptions(args);
|
|
9032
|
-
if (options.stderr) {
|
|
9033
|
-
console.error(localPrefix(context), ...callArgs);
|
|
9034
|
-
} else {
|
|
9035
|
-
console.debug(localPrefix(context), ...callArgs);
|
|
9036
|
-
}
|
|
9037
|
-
},
|
|
9038
|
-
info(...args) {
|
|
9039
|
-
if (LEVELS.info < minLevel) return;
|
|
9040
|
-
const { callArgs, options } = extractOptions(args);
|
|
9041
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9042
|
-
if (options.stderr) {
|
|
9043
|
-
console.error(localPrefix(context), ...callArgs);
|
|
9044
|
-
} else {
|
|
9045
|
-
console.log(localPrefix(context), ...callArgs);
|
|
9046
|
-
}
|
|
9047
|
-
},
|
|
9048
|
-
warn(...args) {
|
|
9049
|
-
if (LEVELS.warn < minLevel) return;
|
|
9050
|
-
const { callArgs, options } = extractOptions(args);
|
|
9051
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9052
|
-
console.warn(localPrefix(context), ...callArgs);
|
|
9053
|
-
},
|
|
9054
|
-
error(...args) {
|
|
9055
|
-
if (LEVELS.error < minLevel) return;
|
|
9056
|
-
const { callArgs, options } = extractOptions(args);
|
|
9057
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9058
|
-
console.error(localPrefix(context), ...callArgs);
|
|
9059
|
-
}
|
|
9060
|
-
};
|
|
9061
|
-
}
|
|
9062
|
-
var _DEBUGGING_ENABLED = false;
|
|
9063
|
-
function createLogger(context, options) {
|
|
9064
|
-
const isDebugEnabled = typeof options?.debug === "function" ? options.debug : options?.debug !== void 0 ? () => options.debug : () => _DEBUGGING_ENABLED || !!process.env.DEBUG;
|
|
9065
|
-
const levelStr = options?.level ?? process.env.LOG_LEVEL?.toLowerCase();
|
|
9066
|
-
if (isCloudEnvironment()) {
|
|
9067
|
-
return createCloudLogger(
|
|
9068
|
-
getLogLevel(levelStr ?? "info"),
|
|
9069
|
-
isDebugEnabled,
|
|
9070
|
-
context
|
|
9071
|
-
);
|
|
9072
|
-
}
|
|
9073
|
-
return createLocalLogger(
|
|
9074
|
-
getLogLevel(levelStr ?? "warn"),
|
|
9075
|
-
isDebugEnabled,
|
|
9076
|
-
context
|
|
9077
|
-
);
|
|
9078
|
-
}
|
|
9079
|
-
function getLogLevel(level) {
|
|
9080
|
-
return LEVELS[level] ?? LEVELS.info;
|
|
9081
|
-
}
|
|
9082
|
-
|
|
9083
8941
|
// packages/dev-tools/core/adapters/angular/angular-components.ts
|
|
9084
|
-
var angularLogger = createLogger("AngularComponents");
|
|
9085
8942
|
async function getAngularSourceComponentsFromDir(sys, tsProgram) {
|
|
9086
8943
|
const cmps = [];
|
|
9087
8944
|
const sourceFiles = tsProgram.getSourceFiles();
|
|
@@ -9447,7 +9304,7 @@ async function getExportedAngularComponentSource(sys, typeChecker, filePath, sou
|
|
|
9447
9304
|
}
|
|
9448
9305
|
}
|
|
9449
9306
|
} catch (error) {
|
|
9450
|
-
|
|
9307
|
+
console.warn(
|
|
9451
9308
|
`Error processing star export from ${moduleName}:`,
|
|
9452
9309
|
error
|
|
9453
9310
|
);
|
|
@@ -11784,7 +11641,6 @@ var VUE_VITE_BUILDER_KEY_ENV = `VITE_PUBLIC_BUILDER_KEY`;
|
|
|
11784
11641
|
var VUE_WEBPACK_BUILDER_KEY_ENV = `PUBLIC_BUILDER_KEY`;
|
|
11785
11642
|
|
|
11786
11643
|
// packages/dev-tools/core/adapters/vue/vue-components.ts
|
|
11787
|
-
var vueLogger = createLogger("VueComponents");
|
|
11788
11644
|
async function parseVueComponent(sys, filePath, readAllInputTypes) {
|
|
11789
11645
|
try {
|
|
11790
11646
|
const content = await sys.readFile(filePath);
|
|
@@ -11809,7 +11665,7 @@ async function parseVueComponent(sys, filePath, readAllInputTypes) {
|
|
|
11809
11665
|
vueApiType: apiType
|
|
11810
11666
|
};
|
|
11811
11667
|
} catch (error) {
|
|
11812
|
-
|
|
11668
|
+
console.warn(`Failed to parse Vue component ${filePath}:`, error);
|
|
11813
11669
|
return null;
|
|
11814
11670
|
}
|
|
11815
11671
|
}
|
|
@@ -12384,7 +12240,6 @@ async function isNuxtProject(sys) {
|
|
|
12384
12240
|
|
|
12385
12241
|
// packages/dev-tools/core/import-export-registry.ts
|
|
12386
12242
|
var import_compress_json = __toESM(require_dist(), 1);
|
|
12387
|
-
var registryLogger = createLogger("ImportExportRegistry");
|
|
12388
12243
|
async function exportRegistry(sys, devTools) {
|
|
12389
12244
|
const registry = await devTools.getRegistry();
|
|
12390
12245
|
const exportedRegistry = {
|
|
@@ -12428,7 +12283,7 @@ async function importRegistry(sys, devTools, registryToImport) {
|
|
|
12428
12283
|
(c2) => normalizePathSlash(c2.filePath).endsWith(filePath) && c2.exportName === cmpToRegister.exportName
|
|
12429
12284
|
);
|
|
12430
12285
|
if (!cmp) {
|
|
12431
|
-
|
|
12286
|
+
console.error(
|
|
12432
12287
|
`Could not find component to register: ${cmpToRegister.filePath}, ${cmpToRegister.exportName}`
|
|
12433
12288
|
);
|
|
12434
12289
|
continue;
|
|
@@ -13361,7 +13216,6 @@ async function createDevToolsSys(opts) {
|
|
|
13361
13216
|
}
|
|
13362
13217
|
|
|
13363
13218
|
// packages/dev-tools/core/adapters/next/next-ensure-config-plugin.ts
|
|
13364
|
-
var nextLogger = createLogger("NextConfig");
|
|
13365
13219
|
async function nextEnsureConfigPlugin(sys, configFilePath, configContent) {
|
|
13366
13220
|
try {
|
|
13367
13221
|
let sourceFile = codeToSource(sys, configContent);
|
|
@@ -13373,7 +13227,7 @@ async function nextEnsureConfigPlugin(sys, configFilePath, configContent) {
|
|
|
13373
13227
|
};
|
|
13374
13228
|
const isTurbopack = await detectTurbopack(sys);
|
|
13375
13229
|
if (isTurbopack) {
|
|
13376
|
-
|
|
13230
|
+
console.warn(
|
|
13377
13231
|
`Turbopack does not support the Builder.io devtools cli. Please disable Turbopack or manually integrate Builder.io into your Next.js project.`
|
|
13378
13232
|
);
|
|
13379
13233
|
return result;
|
|
@@ -14686,11 +14540,10 @@ module.exports = nextConfig
|
|
|
14686
14540
|
var DEV_TOOLS_CLIENT_SCRIPT_PATH = "/~builder-dev-tools.js";
|
|
14687
14541
|
|
|
14688
14542
|
// packages/dev-tools/core/client-script.ts
|
|
14689
|
-
var clientScriptLogger = createLogger("ClientScript");
|
|
14690
14543
|
function getClientScript(devToolsServerUrl) {
|
|
14691
14544
|
try {
|
|
14692
14545
|
if (typeof devToolsServerUrl !== "string" || devToolsServerUrl.trim().length === 0) {
|
|
14693
|
-
|
|
14546
|
+
console.error(`Missing devtool server url`);
|
|
14694
14547
|
return ``;
|
|
14695
14548
|
}
|
|
14696
14549
|
const url = new URL(DEV_TOOLS_CLIENT_SCRIPT_PATH, devToolsServerUrl);
|
|
@@ -14724,9 +14577,7 @@ function getClientScript(devToolsServerUrl) {
|
|
|
14724
14577
|
`;
|
|
14725
14578
|
return c2;
|
|
14726
14579
|
} catch (e) {
|
|
14727
|
-
|
|
14728
|
-
`Failed to create devtools client script: ${e.message || e}`
|
|
14729
|
-
);
|
|
14580
|
+
console.error(`Failed to create devtools client script: ${e.message || e}`);
|
|
14730
14581
|
return ``;
|
|
14731
14582
|
}
|
|
14732
14583
|
}
|
package/figma/index.cjs
CHANGED
|
File without changes
|
package/figma/index.d.ts
CHANGED
|
File without changes
|
package/figma/index.mjs
CHANGED
|
File without changes
|
package/node/index.cjs
CHANGED
|
@@ -22778,7 +22778,7 @@ async function writeFile(node, filename, options) {
|
|
|
22778
22778
|
var Sentry = __toESM(require("@sentry/node"), 1);
|
|
22779
22779
|
|
|
22780
22780
|
// packages/dev-tools/cli/version.ts
|
|
22781
|
-
var builderVersion = true ? "1.35.3-dev.
|
|
22781
|
+
var builderVersion = true ? "1.35.3-dev.202603260707.584c84aa2" : "0.0.0";
|
|
22782
22782
|
var pkgVersion = process.env.OVERRIDE_VERSION ?? builderVersion;
|
|
22783
22783
|
|
|
22784
22784
|
// packages/dev-tools/node/node-sys.ts
|
package/node/index.d.ts
CHANGED
|
File without changes
|
package/node/index.mjs
CHANGED
|
@@ -22790,7 +22790,7 @@ async function writeFile(node, filename, options) {
|
|
|
22790
22790
|
import * as Sentry from "@sentry/node";
|
|
22791
22791
|
|
|
22792
22792
|
// packages/dev-tools/cli/version.ts
|
|
22793
|
-
var builderVersion = true ? "1.35.3-dev.
|
|
22793
|
+
var builderVersion = true ? "1.35.3-dev.202603260707.584c84aa2" : "0.0.0";
|
|
22794
22794
|
var pkgVersion = process.env.OVERRIDE_VERSION ?? builderVersion;
|
|
22795
22795
|
|
|
22796
22796
|
// packages/dev-tools/node/node-sys.ts
|
package/package.json
CHANGED
package/remix/build.cjs
CHANGED
|
File without changes
|
package/remix/index.d.ts
CHANGED
|
File without changes
|
package/remix/index.mjs
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|