@builder.io/dev-tools 1.35.3-dev.202603241447.30967e3da → 1.35.3-dev.202603251111.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 +199 -188
- package/cli/index.cjs.map +4 -4
- package/core/index.cjs +10 -156
- package/core/index.d.ts +0 -0
- package/core/index.mjs +10 -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 +141 -152
- package/server/index.d.ts +0 -0
- package/server/index.mjs +141 -152
- 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/{cli/code-tools.test.d.ts → _tests_/per-repo-gh-token.test.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/{github-cli.test.d.ts → codegen-git-snapshot.test.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 +5 -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 +3 -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 +12 -0
- package/types/cli/utils/dev-server-url-parser.test.d.ts +1 -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/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/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/COPYING +0 -3
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/LICENSE-MIT +0 -21
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/README.md +0 -516
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/UNLICENSE +0 -24
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/complete/_rg +0 -665
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/complete/_rg.ps1 +0 -213
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/complete/rg.bash +0 -783
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/complete/rg.fish +0 -175
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/doc/CHANGELOG.md +0 -1689
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/doc/FAQ.md +0 -1046
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/doc/GUIDE.md +0 -1022
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/doc/rg.1 +0 -2178
- package/vendors/win32-x64/ripgrep-14.1.0-x86_64-pc-windows-msvc/rg.exe +0 -0
package/core/index.cjs
CHANGED
|
@@ -54,13 +54,6 @@ var require_which_pm_runs = __commonJS({
|
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
56
|
|
|
57
|
-
// node_modules/process/index.js
|
|
58
|
-
var require_process = __commonJS({
|
|
59
|
-
"node_modules/process/index.js"(exports, module2) {
|
|
60
|
-
module2.exports = global.process;
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
|
|
64
57
|
// node_modules/compress-json/dist/debug.js
|
|
65
58
|
var require_debug = __commonJS({
|
|
66
59
|
"node_modules/compress-json/dist/debug.js"(exports) {
|
|
@@ -714,7 +707,7 @@ __export(index_exports, {
|
|
|
714
707
|
module.exports = __toCommonJS(index_exports);
|
|
715
708
|
|
|
716
709
|
// packages/dev-tools/cli/version.ts
|
|
717
|
-
var builderVersion = true ? "1.35.3-dev.
|
|
710
|
+
var builderVersion = true ? "1.35.3-dev.202603251111.584c84aa2" : "0.0.0";
|
|
718
711
|
var pkgVersion = process.env.OVERRIDE_VERSION ?? builderVersion;
|
|
719
712
|
|
|
720
713
|
// packages/dev-tools/common/fs.ts
|
|
@@ -1022,13 +1015,13 @@ var VERSION_RESOLVER = /* @__PURE__ */ new Map([
|
|
|
1022
1015
|
}
|
|
1023
1016
|
const packageManager = getPackageManager();
|
|
1024
1017
|
const command = packageManager === "npm" ? "npx" : packageManager;
|
|
1025
|
-
const { stdout
|
|
1018
|
+
const { stdout } = sys.spawnSync(command, ["next", "-v"], {
|
|
1026
1019
|
encoding: "utf8"
|
|
1027
1020
|
});
|
|
1028
|
-
if (!
|
|
1021
|
+
if (!stdout) {
|
|
1029
1022
|
return;
|
|
1030
1023
|
}
|
|
1031
|
-
const nextInfo =
|
|
1024
|
+
const nextInfo = stdout.match(/(Next.js v)([\d.]+)/g);
|
|
1032
1025
|
if (!nextInfo) {
|
|
1033
1026
|
return;
|
|
1034
1027
|
}
|
|
@@ -8965,140 +8958,7 @@ async function setEnvValue(sys, envPath, key2, value) {
|
|
|
8965
8958
|
}
|
|
8966
8959
|
var ANGULAR_BUILDER_API_KEY_ENV = "builderApiKey";
|
|
8967
8960
|
|
|
8968
|
-
// packages/dev-tools/common/logger.ts
|
|
8969
|
-
var import_process = __toESM(require_process(), 1);
|
|
8970
|
-
var LEVELS = {
|
|
8971
|
-
debug: 0,
|
|
8972
|
-
info: 1,
|
|
8973
|
-
warn: 2,
|
|
8974
|
-
error: 3
|
|
8975
|
-
};
|
|
8976
|
-
function extractOptions(args) {
|
|
8977
|
-
const last = args[args.length - 1];
|
|
8978
|
-
if (last && typeof last === "object" && !(last instanceof Error) && !Array.isArray(last) && "loggerOptions" in last) {
|
|
8979
|
-
return {
|
|
8980
|
-
callArgs: args.slice(0, -1),
|
|
8981
|
-
options: last.loggerOptions
|
|
8982
|
-
};
|
|
8983
|
-
}
|
|
8984
|
-
return { callArgs: args, options: {} };
|
|
8985
|
-
}
|
|
8986
|
-
function formatArgs(args) {
|
|
8987
|
-
return args.map((a) => {
|
|
8988
|
-
if (a instanceof Error) return a.stack ?? a.message;
|
|
8989
|
-
if (typeof a === "object" && a !== null) {
|
|
8990
|
-
try {
|
|
8991
|
-
return JSON.stringify(a);
|
|
8992
|
-
} catch {
|
|
8993
|
-
return String(a);
|
|
8994
|
-
}
|
|
8995
|
-
}
|
|
8996
|
-
return String(a);
|
|
8997
|
-
}).join(" ");
|
|
8998
|
-
}
|
|
8999
|
-
function isCloudEnvironment() {
|
|
9000
|
-
const env = process.env.FUSION_ENVIRONMENT;
|
|
9001
|
-
return env === "cloud" || env === "cloud-v2";
|
|
9002
|
-
}
|
|
9003
|
-
function writeStructured(stream, severity, context, args) {
|
|
9004
|
-
const entry = {
|
|
9005
|
-
severity,
|
|
9006
|
-
message: formatArgs(args),
|
|
9007
|
-
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
9008
|
-
};
|
|
9009
|
-
if (context) entry.context = context;
|
|
9010
|
-
stream.write(JSON.stringify(entry) + "\n");
|
|
9011
|
-
}
|
|
9012
|
-
function createCloudLogger(minLevel, isDebugEnabled, context) {
|
|
9013
|
-
return {
|
|
9014
|
-
debug(...args) {
|
|
9015
|
-
if (!isDebugEnabled()) return;
|
|
9016
|
-
const { callArgs, options } = extractOptions(args);
|
|
9017
|
-
writeStructured(
|
|
9018
|
-
options.stderr ? import_process.stderr : import_process.stdout,
|
|
9019
|
-
"DEBUG",
|
|
9020
|
-
context,
|
|
9021
|
-
callArgs
|
|
9022
|
-
);
|
|
9023
|
-
},
|
|
9024
|
-
info(...args) {
|
|
9025
|
-
if (LEVELS.info < minLevel) return;
|
|
9026
|
-
const { callArgs, options } = extractOptions(args);
|
|
9027
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9028
|
-
writeStructured(
|
|
9029
|
-
options.stderr ? import_process.stderr : import_process.stdout,
|
|
9030
|
-
"INFO",
|
|
9031
|
-
context,
|
|
9032
|
-
callArgs
|
|
9033
|
-
);
|
|
9034
|
-
},
|
|
9035
|
-
warn(...args) {
|
|
9036
|
-
if (LEVELS.warn < minLevel) return;
|
|
9037
|
-
const { callArgs, options } = extractOptions(args);
|
|
9038
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9039
|
-
writeStructured(import_process.stderr, "WARNING", context, callArgs);
|
|
9040
|
-
},
|
|
9041
|
-
error(...args) {
|
|
9042
|
-
if (LEVELS.error < minLevel) return;
|
|
9043
|
-
const { callArgs, options } = extractOptions(args);
|
|
9044
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9045
|
-
writeStructured(import_process.stderr, "ERROR", context, callArgs);
|
|
9046
|
-
}
|
|
9047
|
-
};
|
|
9048
|
-
}
|
|
9049
|
-
function timestamp() {
|
|
9050
|
-
return (/* @__PURE__ */ new Date()).toISOString();
|
|
9051
|
-
}
|
|
9052
|
-
function localPrefix(context) {
|
|
9053
|
-
return context ? `[${timestamp()}] [${context}]` : `[${timestamp()}]`;
|
|
9054
|
-
}
|
|
9055
|
-
function createLocalLogger(minLevel, isDebugEnabled, context) {
|
|
9056
|
-
return {
|
|
9057
|
-
debug(...args) {
|
|
9058
|
-
if (!isDebugEnabled()) return;
|
|
9059
|
-
const { callArgs, options } = extractOptions(args);
|
|
9060
|
-
if (options.stderr) {
|
|
9061
|
-
console.error(localPrefix(context), ...callArgs);
|
|
9062
|
-
} else {
|
|
9063
|
-
console.debug(localPrefix(context), ...callArgs);
|
|
9064
|
-
}
|
|
9065
|
-
},
|
|
9066
|
-
info(...args) {
|
|
9067
|
-
if (LEVELS.info < minLevel) return;
|
|
9068
|
-
const { callArgs, options } = extractOptions(args);
|
|
9069
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9070
|
-
if (options.stderr) {
|
|
9071
|
-
console.error(localPrefix(context), ...callArgs);
|
|
9072
|
-
} else {
|
|
9073
|
-
console.log(localPrefix(context), ...callArgs);
|
|
9074
|
-
}
|
|
9075
|
-
},
|
|
9076
|
-
warn(...args) {
|
|
9077
|
-
if (LEVELS.warn < minLevel) return;
|
|
9078
|
-
const { callArgs, options } = extractOptions(args);
|
|
9079
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9080
|
-
console.warn(localPrefix(context), ...callArgs);
|
|
9081
|
-
},
|
|
9082
|
-
error(...args) {
|
|
9083
|
-
if (LEVELS.error < minLevel) return;
|
|
9084
|
-
const { callArgs, options } = extractOptions(args);
|
|
9085
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9086
|
-
console.error(localPrefix(context), ...callArgs);
|
|
9087
|
-
}
|
|
9088
|
-
};
|
|
9089
|
-
}
|
|
9090
|
-
function createLogger(context, options) {
|
|
9091
|
-
const isDebugEnabled = typeof options?.debug === "function" ? options.debug : options?.debug !== void 0 ? () => options.debug : () => !!process.env.DEBUG;
|
|
9092
|
-
const levelStr = options?.level ?? process.env.LOG_LEVEL?.toLowerCase() ?? "info";
|
|
9093
|
-
const minLevel = LEVELS[levelStr] ?? LEVELS.info;
|
|
9094
|
-
if (isCloudEnvironment()) {
|
|
9095
|
-
return createCloudLogger(minLevel, isDebugEnabled, context);
|
|
9096
|
-
}
|
|
9097
|
-
return createLocalLogger(minLevel, isDebugEnabled, context);
|
|
9098
|
-
}
|
|
9099
|
-
|
|
9100
8961
|
// packages/dev-tools/core/adapters/angular/angular-components.ts
|
|
9101
|
-
var angularLogger = createLogger("AngularComponents");
|
|
9102
8962
|
async function getAngularSourceComponentsFromDir(sys, tsProgram) {
|
|
9103
8963
|
const cmps = [];
|
|
9104
8964
|
const sourceFiles = tsProgram.getSourceFiles();
|
|
@@ -9464,7 +9324,7 @@ async function getExportedAngularComponentSource(sys, typeChecker, filePath, sou
|
|
|
9464
9324
|
}
|
|
9465
9325
|
}
|
|
9466
9326
|
} catch (error) {
|
|
9467
|
-
|
|
9327
|
+
console.warn(
|
|
9468
9328
|
`Error processing star export from ${moduleName}:`,
|
|
9469
9329
|
error
|
|
9470
9330
|
);
|
|
@@ -11801,7 +11661,6 @@ var VUE_VITE_BUILDER_KEY_ENV = `VITE_PUBLIC_BUILDER_KEY`;
|
|
|
11801
11661
|
var VUE_WEBPACK_BUILDER_KEY_ENV = `PUBLIC_BUILDER_KEY`;
|
|
11802
11662
|
|
|
11803
11663
|
// packages/dev-tools/core/adapters/vue/vue-components.ts
|
|
11804
|
-
var vueLogger = createLogger("VueComponents");
|
|
11805
11664
|
async function parseVueComponent(sys, filePath, readAllInputTypes) {
|
|
11806
11665
|
try {
|
|
11807
11666
|
const content = await sys.readFile(filePath);
|
|
@@ -11826,7 +11685,7 @@ async function parseVueComponent(sys, filePath, readAllInputTypes) {
|
|
|
11826
11685
|
vueApiType: apiType
|
|
11827
11686
|
};
|
|
11828
11687
|
} catch (error) {
|
|
11829
|
-
|
|
11688
|
+
console.warn(`Failed to parse Vue component ${filePath}:`, error);
|
|
11830
11689
|
return null;
|
|
11831
11690
|
}
|
|
11832
11691
|
}
|
|
@@ -12401,7 +12260,6 @@ async function isNuxtProject(sys) {
|
|
|
12401
12260
|
|
|
12402
12261
|
// packages/dev-tools/core/import-export-registry.ts
|
|
12403
12262
|
var import_compress_json = __toESM(require_dist(), 1);
|
|
12404
|
-
var registryLogger = createLogger("ImportExportRegistry");
|
|
12405
12263
|
async function exportRegistry(sys, devTools) {
|
|
12406
12264
|
const registry = await devTools.getRegistry();
|
|
12407
12265
|
const exportedRegistry = {
|
|
@@ -12445,7 +12303,7 @@ async function importRegistry(sys, devTools, registryToImport) {
|
|
|
12445
12303
|
(c2) => normalizePathSlash(c2.filePath).endsWith(filePath) && c2.exportName === cmpToRegister.exportName
|
|
12446
12304
|
);
|
|
12447
12305
|
if (!cmp) {
|
|
12448
|
-
|
|
12306
|
+
console.error(
|
|
12449
12307
|
`Could not find component to register: ${cmpToRegister.filePath}, ${cmpToRegister.exportName}`
|
|
12450
12308
|
);
|
|
12451
12309
|
continue;
|
|
@@ -13378,7 +13236,6 @@ async function createDevToolsSys(opts) {
|
|
|
13378
13236
|
}
|
|
13379
13237
|
|
|
13380
13238
|
// packages/dev-tools/core/adapters/next/next-ensure-config-plugin.ts
|
|
13381
|
-
var nextLogger = createLogger("NextConfig");
|
|
13382
13239
|
async function nextEnsureConfigPlugin(sys, configFilePath, configContent) {
|
|
13383
13240
|
try {
|
|
13384
13241
|
let sourceFile = codeToSource(sys, configContent);
|
|
@@ -13390,7 +13247,7 @@ async function nextEnsureConfigPlugin(sys, configFilePath, configContent) {
|
|
|
13390
13247
|
};
|
|
13391
13248
|
const isTurbopack = await detectTurbopack(sys);
|
|
13392
13249
|
if (isTurbopack) {
|
|
13393
|
-
|
|
13250
|
+
console.warn(
|
|
13394
13251
|
`Turbopack does not support the Builder.io devtools cli. Please disable Turbopack or manually integrate Builder.io into your Next.js project.`
|
|
13395
13252
|
);
|
|
13396
13253
|
return result;
|
|
@@ -14703,11 +14560,10 @@ module.exports = nextConfig
|
|
|
14703
14560
|
var DEV_TOOLS_CLIENT_SCRIPT_PATH = "/~builder-dev-tools.js";
|
|
14704
14561
|
|
|
14705
14562
|
// packages/dev-tools/core/client-script.ts
|
|
14706
|
-
var clientScriptLogger = createLogger("ClientScript");
|
|
14707
14563
|
function getClientScript(devToolsServerUrl) {
|
|
14708
14564
|
try {
|
|
14709
14565
|
if (typeof devToolsServerUrl !== "string" || devToolsServerUrl.trim().length === 0) {
|
|
14710
|
-
|
|
14566
|
+
console.error(`Missing devtool server url`);
|
|
14711
14567
|
return ``;
|
|
14712
14568
|
}
|
|
14713
14569
|
const url = new URL(DEV_TOOLS_CLIENT_SCRIPT_PATH, devToolsServerUrl);
|
|
@@ -14741,9 +14597,7 @@ function getClientScript(devToolsServerUrl) {
|
|
|
14741
14597
|
`;
|
|
14742
14598
|
return c2;
|
|
14743
14599
|
} catch (e) {
|
|
14744
|
-
|
|
14745
|
-
`Failed to create devtools client script: ${e.message || e}`
|
|
14746
|
-
);
|
|
14600
|
+
console.error(`Failed to create devtools client script: ${e.message || e}`);
|
|
14747
14601
|
return ``;
|
|
14748
14602
|
}
|
|
14749
14603
|
}
|
package/core/index.d.ts
CHANGED
|
File without changes
|
package/core/index.mjs
CHANGED
|
@@ -49,13 +49,6 @@ var require_which_pm_runs = __commonJS({
|
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
51
|
|
|
52
|
-
// node_modules/process/index.js
|
|
53
|
-
var require_process = __commonJS({
|
|
54
|
-
"node_modules/process/index.js"(exports, module) {
|
|
55
|
-
module.exports = global.process;
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
|
|
59
52
|
// node_modules/compress-json/dist/debug.js
|
|
60
53
|
var require_debug = __commonJS({
|
|
61
54
|
"node_modules/compress-json/dist/debug.js"(exports) {
|
|
@@ -694,7 +687,7 @@ var require_dist = __commonJS({
|
|
|
694
687
|
});
|
|
695
688
|
|
|
696
689
|
// packages/dev-tools/cli/version.ts
|
|
697
|
-
var builderVersion = true ? "1.35.3-dev.
|
|
690
|
+
var builderVersion = true ? "1.35.3-dev.202603251111.584c84aa2" : "0.0.0";
|
|
698
691
|
var pkgVersion = process.env.OVERRIDE_VERSION ?? builderVersion;
|
|
699
692
|
|
|
700
693
|
// packages/dev-tools/common/fs.ts
|
|
@@ -1002,13 +995,13 @@ var VERSION_RESOLVER = /* @__PURE__ */ new Map([
|
|
|
1002
995
|
}
|
|
1003
996
|
const packageManager = getPackageManager();
|
|
1004
997
|
const command = packageManager === "npm" ? "npx" : packageManager;
|
|
1005
|
-
const { stdout
|
|
998
|
+
const { stdout } = sys.spawnSync(command, ["next", "-v"], {
|
|
1006
999
|
encoding: "utf8"
|
|
1007
1000
|
});
|
|
1008
|
-
if (!
|
|
1001
|
+
if (!stdout) {
|
|
1009
1002
|
return;
|
|
1010
1003
|
}
|
|
1011
|
-
const nextInfo =
|
|
1004
|
+
const nextInfo = stdout.match(/(Next.js v)([\d.]+)/g);
|
|
1012
1005
|
if (!nextInfo) {
|
|
1013
1006
|
return;
|
|
1014
1007
|
}
|
|
@@ -8945,140 +8938,7 @@ async function setEnvValue(sys, envPath, key2, value) {
|
|
|
8945
8938
|
}
|
|
8946
8939
|
var ANGULAR_BUILDER_API_KEY_ENV = "builderApiKey";
|
|
8947
8940
|
|
|
8948
|
-
// packages/dev-tools/common/logger.ts
|
|
8949
|
-
var import_process = __toESM(require_process(), 1);
|
|
8950
|
-
var LEVELS = {
|
|
8951
|
-
debug: 0,
|
|
8952
|
-
info: 1,
|
|
8953
|
-
warn: 2,
|
|
8954
|
-
error: 3
|
|
8955
|
-
};
|
|
8956
|
-
function extractOptions(args) {
|
|
8957
|
-
const last = args[args.length - 1];
|
|
8958
|
-
if (last && typeof last === "object" && !(last instanceof Error) && !Array.isArray(last) && "loggerOptions" in last) {
|
|
8959
|
-
return {
|
|
8960
|
-
callArgs: args.slice(0, -1),
|
|
8961
|
-
options: last.loggerOptions
|
|
8962
|
-
};
|
|
8963
|
-
}
|
|
8964
|
-
return { callArgs: args, options: {} };
|
|
8965
|
-
}
|
|
8966
|
-
function formatArgs(args) {
|
|
8967
|
-
return args.map((a) => {
|
|
8968
|
-
if (a instanceof Error) return a.stack ?? a.message;
|
|
8969
|
-
if (typeof a === "object" && a !== null) {
|
|
8970
|
-
try {
|
|
8971
|
-
return JSON.stringify(a);
|
|
8972
|
-
} catch {
|
|
8973
|
-
return String(a);
|
|
8974
|
-
}
|
|
8975
|
-
}
|
|
8976
|
-
return String(a);
|
|
8977
|
-
}).join(" ");
|
|
8978
|
-
}
|
|
8979
|
-
function isCloudEnvironment() {
|
|
8980
|
-
const env = process.env.FUSION_ENVIRONMENT;
|
|
8981
|
-
return env === "cloud" || env === "cloud-v2";
|
|
8982
|
-
}
|
|
8983
|
-
function writeStructured(stream, severity, context, args) {
|
|
8984
|
-
const entry = {
|
|
8985
|
-
severity,
|
|
8986
|
-
message: formatArgs(args),
|
|
8987
|
-
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
8988
|
-
};
|
|
8989
|
-
if (context) entry.context = context;
|
|
8990
|
-
stream.write(JSON.stringify(entry) + "\n");
|
|
8991
|
-
}
|
|
8992
|
-
function createCloudLogger(minLevel, isDebugEnabled, context) {
|
|
8993
|
-
return {
|
|
8994
|
-
debug(...args) {
|
|
8995
|
-
if (!isDebugEnabled()) return;
|
|
8996
|
-
const { callArgs, options } = extractOptions(args);
|
|
8997
|
-
writeStructured(
|
|
8998
|
-
options.stderr ? import_process.stderr : import_process.stdout,
|
|
8999
|
-
"DEBUG",
|
|
9000
|
-
context,
|
|
9001
|
-
callArgs
|
|
9002
|
-
);
|
|
9003
|
-
},
|
|
9004
|
-
info(...args) {
|
|
9005
|
-
if (LEVELS.info < minLevel) return;
|
|
9006
|
-
const { callArgs, options } = extractOptions(args);
|
|
9007
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9008
|
-
writeStructured(
|
|
9009
|
-
options.stderr ? import_process.stderr : import_process.stdout,
|
|
9010
|
-
"INFO",
|
|
9011
|
-
context,
|
|
9012
|
-
callArgs
|
|
9013
|
-
);
|
|
9014
|
-
},
|
|
9015
|
-
warn(...args) {
|
|
9016
|
-
if (LEVELS.warn < minLevel) return;
|
|
9017
|
-
const { callArgs, options } = extractOptions(args);
|
|
9018
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9019
|
-
writeStructured(import_process.stderr, "WARNING", context, callArgs);
|
|
9020
|
-
},
|
|
9021
|
-
error(...args) {
|
|
9022
|
-
if (LEVELS.error < minLevel) return;
|
|
9023
|
-
const { callArgs, options } = extractOptions(args);
|
|
9024
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9025
|
-
writeStructured(import_process.stderr, "ERROR", context, callArgs);
|
|
9026
|
-
}
|
|
9027
|
-
};
|
|
9028
|
-
}
|
|
9029
|
-
function timestamp() {
|
|
9030
|
-
return (/* @__PURE__ */ new Date()).toISOString();
|
|
9031
|
-
}
|
|
9032
|
-
function localPrefix(context) {
|
|
9033
|
-
return context ? `[${timestamp()}] [${context}]` : `[${timestamp()}]`;
|
|
9034
|
-
}
|
|
9035
|
-
function createLocalLogger(minLevel, isDebugEnabled, context) {
|
|
9036
|
-
return {
|
|
9037
|
-
debug(...args) {
|
|
9038
|
-
if (!isDebugEnabled()) return;
|
|
9039
|
-
const { callArgs, options } = extractOptions(args);
|
|
9040
|
-
if (options.stderr) {
|
|
9041
|
-
console.error(localPrefix(context), ...callArgs);
|
|
9042
|
-
} else {
|
|
9043
|
-
console.debug(localPrefix(context), ...callArgs);
|
|
9044
|
-
}
|
|
9045
|
-
},
|
|
9046
|
-
info(...args) {
|
|
9047
|
-
if (LEVELS.info < minLevel) return;
|
|
9048
|
-
const { callArgs, options } = extractOptions(args);
|
|
9049
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9050
|
-
if (options.stderr) {
|
|
9051
|
-
console.error(localPrefix(context), ...callArgs);
|
|
9052
|
-
} else {
|
|
9053
|
-
console.log(localPrefix(context), ...callArgs);
|
|
9054
|
-
}
|
|
9055
|
-
},
|
|
9056
|
-
warn(...args) {
|
|
9057
|
-
if (LEVELS.warn < minLevel) return;
|
|
9058
|
-
const { callArgs, options } = extractOptions(args);
|
|
9059
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9060
|
-
console.warn(localPrefix(context), ...callArgs);
|
|
9061
|
-
},
|
|
9062
|
-
error(...args) {
|
|
9063
|
-
if (LEVELS.error < minLevel) return;
|
|
9064
|
-
const { callArgs, options } = extractOptions(args);
|
|
9065
|
-
if (options.debug && !isDebugEnabled()) return;
|
|
9066
|
-
console.error(localPrefix(context), ...callArgs);
|
|
9067
|
-
}
|
|
9068
|
-
};
|
|
9069
|
-
}
|
|
9070
|
-
function createLogger(context, options) {
|
|
9071
|
-
const isDebugEnabled = typeof options?.debug === "function" ? options.debug : options?.debug !== void 0 ? () => options.debug : () => !!process.env.DEBUG;
|
|
9072
|
-
const levelStr = options?.level ?? process.env.LOG_LEVEL?.toLowerCase() ?? "info";
|
|
9073
|
-
const minLevel = LEVELS[levelStr] ?? LEVELS.info;
|
|
9074
|
-
if (isCloudEnvironment()) {
|
|
9075
|
-
return createCloudLogger(minLevel, isDebugEnabled, context);
|
|
9076
|
-
}
|
|
9077
|
-
return createLocalLogger(minLevel, isDebugEnabled, context);
|
|
9078
|
-
}
|
|
9079
|
-
|
|
9080
8941
|
// packages/dev-tools/core/adapters/angular/angular-components.ts
|
|
9081
|
-
var angularLogger = createLogger("AngularComponents");
|
|
9082
8942
|
async function getAngularSourceComponentsFromDir(sys, tsProgram) {
|
|
9083
8943
|
const cmps = [];
|
|
9084
8944
|
const sourceFiles = tsProgram.getSourceFiles();
|
|
@@ -9444,7 +9304,7 @@ async function getExportedAngularComponentSource(sys, typeChecker, filePath, sou
|
|
|
9444
9304
|
}
|
|
9445
9305
|
}
|
|
9446
9306
|
} catch (error) {
|
|
9447
|
-
|
|
9307
|
+
console.warn(
|
|
9448
9308
|
`Error processing star export from ${moduleName}:`,
|
|
9449
9309
|
error
|
|
9450
9310
|
);
|
|
@@ -11781,7 +11641,6 @@ var VUE_VITE_BUILDER_KEY_ENV = `VITE_PUBLIC_BUILDER_KEY`;
|
|
|
11781
11641
|
var VUE_WEBPACK_BUILDER_KEY_ENV = `PUBLIC_BUILDER_KEY`;
|
|
11782
11642
|
|
|
11783
11643
|
// packages/dev-tools/core/adapters/vue/vue-components.ts
|
|
11784
|
-
var vueLogger = createLogger("VueComponents");
|
|
11785
11644
|
async function parseVueComponent(sys, filePath, readAllInputTypes) {
|
|
11786
11645
|
try {
|
|
11787
11646
|
const content = await sys.readFile(filePath);
|
|
@@ -11806,7 +11665,7 @@ async function parseVueComponent(sys, filePath, readAllInputTypes) {
|
|
|
11806
11665
|
vueApiType: apiType
|
|
11807
11666
|
};
|
|
11808
11667
|
} catch (error) {
|
|
11809
|
-
|
|
11668
|
+
console.warn(`Failed to parse Vue component ${filePath}:`, error);
|
|
11810
11669
|
return null;
|
|
11811
11670
|
}
|
|
11812
11671
|
}
|
|
@@ -12381,7 +12240,6 @@ async function isNuxtProject(sys) {
|
|
|
12381
12240
|
|
|
12382
12241
|
// packages/dev-tools/core/import-export-registry.ts
|
|
12383
12242
|
var import_compress_json = __toESM(require_dist(), 1);
|
|
12384
|
-
var registryLogger = createLogger("ImportExportRegistry");
|
|
12385
12243
|
async function exportRegistry(sys, devTools) {
|
|
12386
12244
|
const registry = await devTools.getRegistry();
|
|
12387
12245
|
const exportedRegistry = {
|
|
@@ -12425,7 +12283,7 @@ async function importRegistry(sys, devTools, registryToImport) {
|
|
|
12425
12283
|
(c2) => normalizePathSlash(c2.filePath).endsWith(filePath) && c2.exportName === cmpToRegister.exportName
|
|
12426
12284
|
);
|
|
12427
12285
|
if (!cmp) {
|
|
12428
|
-
|
|
12286
|
+
console.error(
|
|
12429
12287
|
`Could not find component to register: ${cmpToRegister.filePath}, ${cmpToRegister.exportName}`
|
|
12430
12288
|
);
|
|
12431
12289
|
continue;
|
|
@@ -13358,7 +13216,6 @@ async function createDevToolsSys(opts) {
|
|
|
13358
13216
|
}
|
|
13359
13217
|
|
|
13360
13218
|
// packages/dev-tools/core/adapters/next/next-ensure-config-plugin.ts
|
|
13361
|
-
var nextLogger = createLogger("NextConfig");
|
|
13362
13219
|
async function nextEnsureConfigPlugin(sys, configFilePath, configContent) {
|
|
13363
13220
|
try {
|
|
13364
13221
|
let sourceFile = codeToSource(sys, configContent);
|
|
@@ -13370,7 +13227,7 @@ async function nextEnsureConfigPlugin(sys, configFilePath, configContent) {
|
|
|
13370
13227
|
};
|
|
13371
13228
|
const isTurbopack = await detectTurbopack(sys);
|
|
13372
13229
|
if (isTurbopack) {
|
|
13373
|
-
|
|
13230
|
+
console.warn(
|
|
13374
13231
|
`Turbopack does not support the Builder.io devtools cli. Please disable Turbopack or manually integrate Builder.io into your Next.js project.`
|
|
13375
13232
|
);
|
|
13376
13233
|
return result;
|
|
@@ -14683,11 +14540,10 @@ module.exports = nextConfig
|
|
|
14683
14540
|
var DEV_TOOLS_CLIENT_SCRIPT_PATH = "/~builder-dev-tools.js";
|
|
14684
14541
|
|
|
14685
14542
|
// packages/dev-tools/core/client-script.ts
|
|
14686
|
-
var clientScriptLogger = createLogger("ClientScript");
|
|
14687
14543
|
function getClientScript(devToolsServerUrl) {
|
|
14688
14544
|
try {
|
|
14689
14545
|
if (typeof devToolsServerUrl !== "string" || devToolsServerUrl.trim().length === 0) {
|
|
14690
|
-
|
|
14546
|
+
console.error(`Missing devtool server url`);
|
|
14691
14547
|
return ``;
|
|
14692
14548
|
}
|
|
14693
14549
|
const url = new URL(DEV_TOOLS_CLIENT_SCRIPT_PATH, devToolsServerUrl);
|
|
@@ -14721,9 +14577,7 @@ function getClientScript(devToolsServerUrl) {
|
|
|
14721
14577
|
`;
|
|
14722
14578
|
return c2;
|
|
14723
14579
|
} catch (e) {
|
|
14724
|
-
|
|
14725
|
-
`Failed to create devtools client script: ${e.message || e}`
|
|
14726
|
-
);
|
|
14580
|
+
console.error(`Failed to create devtools client script: ${e.message || e}`);
|
|
14727
14581
|
return ``;
|
|
14728
14582
|
}
|
|
14729
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.202603251111.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.202603251111.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
|