@builder.io/dev-tools 1.35.3-dev.202603251111.584c84aa2 → 1.35.3-dev.202603251414.7060a67a6
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 +439 -320
- package/cli/index.cjs.map +4 -4
- package/core/index.cjs +156 -7
- package/core/index.d.ts +0 -0
- package/core/index.mjs +156 -7
- 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 +182 -161
- package/server/index.d.ts +0 -0
- package/server/index.mjs +182 -161
- 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_/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.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-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.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/ide-bridge.d.ts +13 -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/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 +1 -0
- 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/component-map-builder.d.ts +42 -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/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/server/source-map-resolver/cache.d.ts +36 -0
- package/types/server/source-map-resolver/indexed-map-resolver.d.ts +10 -0
- package/types/server/source-map-resolver/loader.d.ts +16 -0
- package/types/server/source-map-resolver/security.d.ts +21 -0
- package/types/server/source-map-resolver/types.d.ts +41 -0
- package/types/server/source-map-resolver/validation.d.ts +16 -0
- package/types/server/source-map-resolver.d.ts +25 -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/_tests_/per-repo-gh-token.test.d.ts +0 -1
- package/types/cli/codegen-git-snapshot.test.d.ts +0 -1
- package/types/cli/repo-indexing.d.ts +0 -17
- package/types/cli/repo-indexing.mock.d.ts +0 -5
- package/types/cli/utils/git-snapshot.d.ts +0 -17
- package/types/cli/utils/git-snapshot.test.d.ts +0 -1
- package/types/cli/utils/repo-indexing-group-prompts.d.ts +0 -1
- package/types/scripts/analyze-projects.d.ts +0 -18
- package/types/scripts/call-ensure-container.d.ts +0 -4
- package/types/scripts/check-backup.d.ts +0 -1
- package/types/scripts/cli.d.ts +0 -1
- package/types/scripts/download-projects.d.ts +0 -12
- package/types/scripts/utils/db.d.ts +0 -3
- package/types/scripts/utils/ensure-container.d.ts +0 -7
- package/types/scripts/utils/remove-machine-and-volume.d.ts +0 -5
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.202603251414.7060a67a6" : "0.0.0";
|
|
711
711
|
var pkgVersion = process.env.OVERRIDE_VERSION ?? builderVersion;
|
|
712
712
|
|
|
713
713
|
// packages/dev-tools/common/fs.ts
|
|
@@ -8958,7 +8958,150 @@ 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
|
+
|
|
8961
9103
|
// packages/dev-tools/core/adapters/angular/angular-components.ts
|
|
9104
|
+
var angularLogger = createLogger("AngularComponents");
|
|
8962
9105
|
async function getAngularSourceComponentsFromDir(sys, tsProgram) {
|
|
8963
9106
|
const cmps = [];
|
|
8964
9107
|
const sourceFiles = tsProgram.getSourceFiles();
|
|
@@ -9324,7 +9467,7 @@ async function getExportedAngularComponentSource(sys, typeChecker, filePath, sou
|
|
|
9324
9467
|
}
|
|
9325
9468
|
}
|
|
9326
9469
|
} catch (error) {
|
|
9327
|
-
|
|
9470
|
+
angularLogger.warn(
|
|
9328
9471
|
`Error processing star export from ${moduleName}:`,
|
|
9329
9472
|
error
|
|
9330
9473
|
);
|
|
@@ -11661,6 +11804,7 @@ var VUE_VITE_BUILDER_KEY_ENV = `VITE_PUBLIC_BUILDER_KEY`;
|
|
|
11661
11804
|
var VUE_WEBPACK_BUILDER_KEY_ENV = `PUBLIC_BUILDER_KEY`;
|
|
11662
11805
|
|
|
11663
11806
|
// packages/dev-tools/core/adapters/vue/vue-components.ts
|
|
11807
|
+
var vueLogger = createLogger("VueComponents");
|
|
11664
11808
|
async function parseVueComponent(sys, filePath, readAllInputTypes) {
|
|
11665
11809
|
try {
|
|
11666
11810
|
const content = await sys.readFile(filePath);
|
|
@@ -11685,7 +11829,7 @@ async function parseVueComponent(sys, filePath, readAllInputTypes) {
|
|
|
11685
11829
|
vueApiType: apiType
|
|
11686
11830
|
};
|
|
11687
11831
|
} catch (error) {
|
|
11688
|
-
|
|
11832
|
+
vueLogger.warn(`Failed to parse Vue component ${filePath}:`, error);
|
|
11689
11833
|
return null;
|
|
11690
11834
|
}
|
|
11691
11835
|
}
|
|
@@ -12260,6 +12404,7 @@ async function isNuxtProject(sys) {
|
|
|
12260
12404
|
|
|
12261
12405
|
// packages/dev-tools/core/import-export-registry.ts
|
|
12262
12406
|
var import_compress_json = __toESM(require_dist(), 1);
|
|
12407
|
+
var registryLogger = createLogger("ImportExportRegistry");
|
|
12263
12408
|
async function exportRegistry(sys, devTools) {
|
|
12264
12409
|
const registry = await devTools.getRegistry();
|
|
12265
12410
|
const exportedRegistry = {
|
|
@@ -12303,7 +12448,7 @@ async function importRegistry(sys, devTools, registryToImport) {
|
|
|
12303
12448
|
(c2) => normalizePathSlash(c2.filePath).endsWith(filePath) && c2.exportName === cmpToRegister.exportName
|
|
12304
12449
|
);
|
|
12305
12450
|
if (!cmp) {
|
|
12306
|
-
|
|
12451
|
+
registryLogger.error(
|
|
12307
12452
|
`Could not find component to register: ${cmpToRegister.filePath}, ${cmpToRegister.exportName}`
|
|
12308
12453
|
);
|
|
12309
12454
|
continue;
|
|
@@ -13236,6 +13381,7 @@ async function createDevToolsSys(opts) {
|
|
|
13236
13381
|
}
|
|
13237
13382
|
|
|
13238
13383
|
// packages/dev-tools/core/adapters/next/next-ensure-config-plugin.ts
|
|
13384
|
+
var nextLogger = createLogger("NextConfig");
|
|
13239
13385
|
async function nextEnsureConfigPlugin(sys, configFilePath, configContent) {
|
|
13240
13386
|
try {
|
|
13241
13387
|
let sourceFile = codeToSource(sys, configContent);
|
|
@@ -13247,7 +13393,7 @@ async function nextEnsureConfigPlugin(sys, configFilePath, configContent) {
|
|
|
13247
13393
|
};
|
|
13248
13394
|
const isTurbopack = await detectTurbopack(sys);
|
|
13249
13395
|
if (isTurbopack) {
|
|
13250
|
-
|
|
13396
|
+
nextLogger.warn(
|
|
13251
13397
|
`Turbopack does not support the Builder.io devtools cli. Please disable Turbopack or manually integrate Builder.io into your Next.js project.`
|
|
13252
13398
|
);
|
|
13253
13399
|
return result;
|
|
@@ -14560,10 +14706,11 @@ module.exports = nextConfig
|
|
|
14560
14706
|
var DEV_TOOLS_CLIENT_SCRIPT_PATH = "/~builder-dev-tools.js";
|
|
14561
14707
|
|
|
14562
14708
|
// packages/dev-tools/core/client-script.ts
|
|
14709
|
+
var clientScriptLogger = createLogger("ClientScript");
|
|
14563
14710
|
function getClientScript(devToolsServerUrl) {
|
|
14564
14711
|
try {
|
|
14565
14712
|
if (typeof devToolsServerUrl !== "string" || devToolsServerUrl.trim().length === 0) {
|
|
14566
|
-
|
|
14713
|
+
clientScriptLogger.error(`Missing devtool server url`);
|
|
14567
14714
|
return ``;
|
|
14568
14715
|
}
|
|
14569
14716
|
const url = new URL(DEV_TOOLS_CLIENT_SCRIPT_PATH, devToolsServerUrl);
|
|
@@ -14597,7 +14744,9 @@ function getClientScript(devToolsServerUrl) {
|
|
|
14597
14744
|
`;
|
|
14598
14745
|
return c2;
|
|
14599
14746
|
} catch (e) {
|
|
14600
|
-
|
|
14747
|
+
clientScriptLogger.error(
|
|
14748
|
+
`Failed to create devtools client script: ${e.message || e}`
|
|
14749
|
+
);
|
|
14601
14750
|
return ``;
|
|
14602
14751
|
}
|
|
14603
14752
|
}
|
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.202603251414.7060a67a6" : "0.0.0";
|
|
691
691
|
var pkgVersion = process.env.OVERRIDE_VERSION ?? builderVersion;
|
|
692
692
|
|
|
693
693
|
// packages/dev-tools/common/fs.ts
|
|
@@ -8938,7 +8938,150 @@ 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
|
+
|
|
8941
9083
|
// packages/dev-tools/core/adapters/angular/angular-components.ts
|
|
9084
|
+
var angularLogger = createLogger("AngularComponents");
|
|
8942
9085
|
async function getAngularSourceComponentsFromDir(sys, tsProgram) {
|
|
8943
9086
|
const cmps = [];
|
|
8944
9087
|
const sourceFiles = tsProgram.getSourceFiles();
|
|
@@ -9304,7 +9447,7 @@ async function getExportedAngularComponentSource(sys, typeChecker, filePath, sou
|
|
|
9304
9447
|
}
|
|
9305
9448
|
}
|
|
9306
9449
|
} catch (error) {
|
|
9307
|
-
|
|
9450
|
+
angularLogger.warn(
|
|
9308
9451
|
`Error processing star export from ${moduleName}:`,
|
|
9309
9452
|
error
|
|
9310
9453
|
);
|
|
@@ -11641,6 +11784,7 @@ var VUE_VITE_BUILDER_KEY_ENV = `VITE_PUBLIC_BUILDER_KEY`;
|
|
|
11641
11784
|
var VUE_WEBPACK_BUILDER_KEY_ENV = `PUBLIC_BUILDER_KEY`;
|
|
11642
11785
|
|
|
11643
11786
|
// packages/dev-tools/core/adapters/vue/vue-components.ts
|
|
11787
|
+
var vueLogger = createLogger("VueComponents");
|
|
11644
11788
|
async function parseVueComponent(sys, filePath, readAllInputTypes) {
|
|
11645
11789
|
try {
|
|
11646
11790
|
const content = await sys.readFile(filePath);
|
|
@@ -11665,7 +11809,7 @@ async function parseVueComponent(sys, filePath, readAllInputTypes) {
|
|
|
11665
11809
|
vueApiType: apiType
|
|
11666
11810
|
};
|
|
11667
11811
|
} catch (error) {
|
|
11668
|
-
|
|
11812
|
+
vueLogger.warn(`Failed to parse Vue component ${filePath}:`, error);
|
|
11669
11813
|
return null;
|
|
11670
11814
|
}
|
|
11671
11815
|
}
|
|
@@ -12240,6 +12384,7 @@ async function isNuxtProject(sys) {
|
|
|
12240
12384
|
|
|
12241
12385
|
// packages/dev-tools/core/import-export-registry.ts
|
|
12242
12386
|
var import_compress_json = __toESM(require_dist(), 1);
|
|
12387
|
+
var registryLogger = createLogger("ImportExportRegistry");
|
|
12243
12388
|
async function exportRegistry(sys, devTools) {
|
|
12244
12389
|
const registry = await devTools.getRegistry();
|
|
12245
12390
|
const exportedRegistry = {
|
|
@@ -12283,7 +12428,7 @@ async function importRegistry(sys, devTools, registryToImport) {
|
|
|
12283
12428
|
(c2) => normalizePathSlash(c2.filePath).endsWith(filePath) && c2.exportName === cmpToRegister.exportName
|
|
12284
12429
|
);
|
|
12285
12430
|
if (!cmp) {
|
|
12286
|
-
|
|
12431
|
+
registryLogger.error(
|
|
12287
12432
|
`Could not find component to register: ${cmpToRegister.filePath}, ${cmpToRegister.exportName}`
|
|
12288
12433
|
);
|
|
12289
12434
|
continue;
|
|
@@ -13216,6 +13361,7 @@ async function createDevToolsSys(opts) {
|
|
|
13216
13361
|
}
|
|
13217
13362
|
|
|
13218
13363
|
// packages/dev-tools/core/adapters/next/next-ensure-config-plugin.ts
|
|
13364
|
+
var nextLogger = createLogger("NextConfig");
|
|
13219
13365
|
async function nextEnsureConfigPlugin(sys, configFilePath, configContent) {
|
|
13220
13366
|
try {
|
|
13221
13367
|
let sourceFile = codeToSource(sys, configContent);
|
|
@@ -13227,7 +13373,7 @@ async function nextEnsureConfigPlugin(sys, configFilePath, configContent) {
|
|
|
13227
13373
|
};
|
|
13228
13374
|
const isTurbopack = await detectTurbopack(sys);
|
|
13229
13375
|
if (isTurbopack) {
|
|
13230
|
-
|
|
13376
|
+
nextLogger.warn(
|
|
13231
13377
|
`Turbopack does not support the Builder.io devtools cli. Please disable Turbopack or manually integrate Builder.io into your Next.js project.`
|
|
13232
13378
|
);
|
|
13233
13379
|
return result;
|
|
@@ -14540,10 +14686,11 @@ module.exports = nextConfig
|
|
|
14540
14686
|
var DEV_TOOLS_CLIENT_SCRIPT_PATH = "/~builder-dev-tools.js";
|
|
14541
14687
|
|
|
14542
14688
|
// packages/dev-tools/core/client-script.ts
|
|
14689
|
+
var clientScriptLogger = createLogger("ClientScript");
|
|
14543
14690
|
function getClientScript(devToolsServerUrl) {
|
|
14544
14691
|
try {
|
|
14545
14692
|
if (typeof devToolsServerUrl !== "string" || devToolsServerUrl.trim().length === 0) {
|
|
14546
|
-
|
|
14693
|
+
clientScriptLogger.error(`Missing devtool server url`);
|
|
14547
14694
|
return ``;
|
|
14548
14695
|
}
|
|
14549
14696
|
const url = new URL(DEV_TOOLS_CLIENT_SCRIPT_PATH, devToolsServerUrl);
|
|
@@ -14577,7 +14724,9 @@ function getClientScript(devToolsServerUrl) {
|
|
|
14577
14724
|
`;
|
|
14578
14725
|
return c2;
|
|
14579
14726
|
} catch (e) {
|
|
14580
|
-
|
|
14727
|
+
clientScriptLogger.error(
|
|
14728
|
+
`Failed to create devtools client script: ${e.message || e}`
|
|
14729
|
+
);
|
|
14581
14730
|
return ``;
|
|
14582
14731
|
}
|
|
14583
14732
|
}
|
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.202603251414.7060a67a6" : "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.202603251414.7060a67a6" : "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
|