@builder.io/dev-tools 1.18.11-dev.202511202316.621aec6ae → 1.18.11-dev.202511210301.98709336d
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/cli/index.cjs +76 -107
- package/cli/index.cjs.map +3 -3
- package/core/index.cjs +1 -1
- package/core/index.mjs +1 -1
- package/node/index.cjs +1 -1
- package/node/index.mjs +1 -1
- package/package.json +1 -1
- package/server/index.cjs +2 -2
- package/server/index.mjs +2 -2
- package/types/_tests_/utils.d.ts +35 -48
- package/types/cli/abort-signal-any.d.ts +1 -3
- package/types/cli/auth/auth-utils.d.ts +1 -3
- package/types/cli/auth/auth.d.ts +1 -5
- package/types/cli/backup.d.ts +58 -112
- package/types/cli/builder-add/interface.d.ts +4 -21
- package/types/cli/code-file-utils.d.ts +9 -17
- package/types/cli/code.d.ts +3 -13
- package/types/cli/credentials.d.ts +45 -61
- package/types/cli/download.d.ts +4 -9
- package/types/cli/figma-publish.d.ts +17 -34
- package/types/cli/figma-utils.d.ts +21 -51
- package/types/cli/figma.d.ts +2 -9
- package/types/cli/generate.d.ts +11 -14
- package/types/cli/incremental-tsc.d.ts +7 -19
- package/types/cli/launch/config.d.ts +3 -13
- package/types/cli/launch/dry-run-backup.d.ts +7 -14
- package/types/cli/launch/errors.d.ts +2 -7
- package/types/cli/launch/github.d.ts +2 -8
- package/types/cli/launch/grafana.d.ts +1 -5
- package/types/cli/launch/machine-health.d.ts +3 -8
- package/types/cli/launch/proxy.d.ts +3 -6
- package/types/cli/launch/server.d.ts +10 -16
- package/types/cli/launch.d.ts +99 -102
- package/types/cli/prettier.d.ts +2 -9
- package/types/cli/repo-connect/env-collector.d.ts +11 -16
- package/types/cli/repo-connect/file-collector.d.ts +15 -22
- package/types/cli/repo-connect/install-runner.d.ts +5 -8
- package/types/cli/repo-connect/package-detector.d.ts +8 -12
- package/types/cli/repo-connect/repo-connect.d.ts +1 -4
- package/types/cli/repo-indexing/repo-indexing.d.ts +17 -37
- package/types/cli/repo-indexing/repo-indexing.mock.d.ts +3 -3
- package/types/cli/repo-metrics.d.ts +1 -4
- package/types/cli/report/figma-report.d.ts +36 -63
- package/types/cli/server-ws.d.ts +32 -40
- package/types/cli/spinner.d.ts +4 -4
- package/types/cli/sync-utils.d.ts +16 -39
- package/types/cli/track.d.ts +1 -4
- package/types/cli/utils/component-group-mdx-prompt.d.ts +1 -2
- package/types/cli/utils/dev-server-url-parser.d.ts +3 -6
- package/types/cli/utils/env-capture.d.ts +15 -21
- package/types/cli/utils/feature-flags.d.ts +1 -3
- package/types/cli/utils/file-overrides-manager.d.ts +23 -39
- package/types/cli/utils/git.d.ts +16 -28
- package/types/cli/utils/hosts-file-manager.d.ts +4 -7
- package/types/cli/utils/lock-file.d.ts +7 -10
- package/types/cli/utils/parseGitDiff.d.ts +1 -4
- package/types/cli/utils/process-tracker.d.ts +51 -85
- package/types/cli/utils/repo-indexing-agent-prompt.d.ts +1 -2
- package/types/cli/utils/terminal-buffer.d.ts +23 -23
- package/types/cli/utils/workspace-path-resolver.d.ts +16 -23
- package/types/client/client-api.d.ts +10 -42
- package/types/client/edit-button/document-listeners.d.ts +1 -3
- package/types/client/edit-button/index.d.ts +6 -6
- package/types/client/menu/index.d.ts +3 -3
- package/types/client/menu/pages/component-detail.d.ts +2 -8
- package/types/client/menu/pages/component-input.d.ts +1 -5
- package/types/client/menu/pages/component-list.d.ts +1 -4
- package/types/client/menu/toggle/menu-toggle.d.ts +1 -4
- package/types/client/setup-ui/overview.d.ts +2 -2
- package/types/client/tracking.d.ts +11 -11
- package/types/client/utils.d.ts +3 -5
- package/types/common/ast/app-dependencies.d.ts +2 -8
- package/types/common/ast/component-info.d.ts +6 -26
- package/types/common/ast/component-input-types.d.ts +1 -1
- package/types/common/ast/component-registry.d.ts +8 -23
- package/types/common/ast/ensure-array-statement.d.ts +3 -7
- package/types/common/ast/ensure-comments.d.ts +1 -5
- package/types/common/ast/ensure-imports.d.ts +5 -10
- package/types/common/ast/exported-statements.d.ts +4 -8
- package/types/common/ast/imported-statements.d.ts +1 -5
- package/types/common/ast/normalize-statements.d.ts +3 -12
- package/types/common/ast/remove-unused-imports.d.ts +1 -4
- package/types/common/ast/transform.d.ts +3 -13
- package/types/common/ast/utils.d.ts +19 -42
- package/types/common/builder/builder-api.d.ts +23 -32
- package/types/common/builder/builder-sdks.d.ts +8 -10
- package/types/common/builder/content-generation.d.ts +7 -10
- package/types/common/builder/content-ids.d.ts +1 -2
- package/types/common/cache.d.ts +1 -4
- package/types/common/constants.d.ts +1 -2
- package/types/common/dotenv.d.ts +5 -24
- package/types/common/fs.d.ts +4 -17
- package/types/common/interactive-select-files.d.ts +2 -16
- package/types/common/mem-sys.d.ts +5 -7
- package/types/common/node-request.d.ts +4 -4
- package/types/common/path.d.ts +3 -1
- package/types/common/test-utils.d.ts +7 -21
- package/types/common/typescript.d.ts +7 -26
- package/types/common/utils.d.ts +1 -1
- package/types/core/adapters/angular/angular-api-key.d.ts +6 -29
- package/types/core/adapters/angular/angular-app-module-imports.d.ts +2 -12
- package/types/core/adapters/angular/angular-app-routes-update.d.ts +1 -6
- package/types/core/adapters/angular/angular-components.d.ts +12 -40
- package/types/core/adapters/angular/angular-ensure-builder-setup.d.ts +3 -9
- package/types/core/adapters/angular/angular-ensure-config-plugin.d.ts +4 -16
- package/types/core/adapters/angular/angular-fix-tsconfig.d.ts +1 -3
- package/types/core/adapters/angular/angular-registry-parse.d.ts +10 -22
- package/types/core/adapters/angular/angular-registry.d.ts +2 -15
- package/types/core/adapters/angular/angular-test-utils.d.ts +4 -8
- package/types/core/adapters/angular/index.d.ts +12 -20
- package/types/core/adapters/angular/types.d.ts +5 -5
- package/types/core/adapters/next/index.d.ts +18 -26
- package/types/core/adapters/next/next-api-key.d.ts +1 -4
- package/types/core/adapters/next/next-component-info.d.ts +2 -9
- package/types/core/adapters/next/next-components.d.ts +1 -4
- package/types/core/adapters/next/next-ensure-builder-setup.d.ts +2 -6
- package/types/core/adapters/next/next-ensure-config-plugin.d.ts +1 -5
- package/types/core/adapters/next/next-registry-parse.d.ts +8 -21
- package/types/core/adapters/next/next-registry.d.ts +2 -15
- package/types/core/adapters/next/next-test-utils.d.ts +11 -21
- package/types/core/adapters/qwik-city/index.d.ts +6 -14
- package/types/core/adapters/qwik-city/qwik-api-key.d.ts +1 -4
- package/types/core/adapters/qwik-city/qwik-component-source-inputs.d.ts +1 -4
- package/types/core/adapters/qwik-city/qwik-components.d.ts +8 -23
- package/types/core/adapters/qwik-city/qwik-ensure-builder-setup.d.ts +2 -6
- package/types/core/adapters/qwik-city/qwik-ensure-config-plugin.d.ts +1 -5
- package/types/core/adapters/qwik-city/qwik-registry-parse.d.ts +10 -22
- package/types/core/adapters/qwik-city/qwik-registry.d.ts +2 -15
- package/types/core/adapters/qwik-city/qwik-test-utils.d.ts +4 -8
- package/types/core/adapters/qwik-city/qwik-ts-program.d.ts +1 -3
- package/types/core/adapters/react/index.d.ts +11 -19
- package/types/core/adapters/react/react-api-key.d.ts +1 -4
- package/types/core/adapters/react/react-builder-sdk-setup.d.ts +1 -3
- package/types/core/adapters/react/react-component-info.d.ts +2 -9
- package/types/core/adapters/react/react-components.d.ts +11 -37
- package/types/core/adapters/react/react-ensure-builder-setup.d.ts +2 -6
- package/types/core/adapters/react/react-registry-parse.d.ts +8 -21
- package/types/core/adapters/react/react-registry.d.ts +2 -15
- package/types/core/adapters/react/react-test-utils.d.ts +5 -11
- package/types/core/adapters/react/react-ts-program.d.ts +1 -3
- package/types/core/adapters/remix/index.d.ts +11 -19
- package/types/core/adapters/remix/remix-api-key.d.ts +1 -4
- package/types/core/adapters/remix/remix-components.d.ts +1 -4
- package/types/core/adapters/remix/remix-ensure-builder-setup.d.ts +3 -9
- package/types/core/adapters/remix/remix-ensure-config-plugin.d.ts +1 -5
- package/types/core/adapters/remix/remix-registry-parse.d.ts +10 -22
- package/types/core/adapters/remix/remix-registry.d.ts +2 -15
- package/types/core/adapters/remix/remix-test-utils.d.ts +5 -11
- package/types/core/adapters/vite/vite-ensure-config-plugin.d.ts +2 -12
- package/types/core/adapters/vue/index.d.ts +12 -20
- package/types/core/adapters/vue/vue-api-key.d.ts +1 -4
- package/types/core/adapters/vue/vue-components.d.ts +2 -10
- package/types/core/adapters/vue/vue-ensure-builder-setup.d.ts +3 -7
- package/types/core/adapters/vue/vue-registry-parse.d.ts +9 -19
- package/types/core/adapters/vue/vue-registry.d.ts +3 -6
- package/types/core/adapters/webpack/webpack-config-helpers.d.ts +3 -8
- package/types/core/adapters/webpack/webpack-ensure-config-plugin.d.ts +1 -5
- package/types/core/create-dev-tools.d.ts +1 -4
- package/types/core/detect-frameworks.d.ts +2 -7
- package/types/core/ensure-config-plugin.d.ts +2 -6
- package/types/core/find-dependencies.d.ts +3 -6
- package/types/core/import-export-registry.d.ts +2 -9
- package/types/core/index.d.ts +3 -18
- package/types/figma/index.d.ts +64 -95
- package/types/node/node-sys.d.ts +6 -13
- package/types/remix/index.d.ts +3 -5
- package/types/server/auth.d.ts +1 -4
- package/types/server/builder-connect.d.ts +6 -21
- package/types/server/client-script.d.ts +2 -6
- package/types/server/create-dev-tools-server.d.ts +1 -3
- package/types/server/dev-tools-api.d.ts +1 -4
- package/types/server/dev-tools-http-server.d.ts +1 -3
- package/types/server/index.d.ts +1 -28
- package/types/server/request-handler.d.ts +1 -6
- package/types/tsconfig.tsbuildinfo +1 -1
- package/types/types/codegen-server.d.ts +1 -1
- package/types/types/connection-tracker.d.ts +34 -34
- package/types/types/proxy-middleware.d.ts +14 -24
- package/types/types/websocket-types.d.ts +7 -9
- package/types/types.d.ts +358 -387
- package/types/vite/main.d.ts +1 -1
- package/types/webpack/main.d.ts +5 -5
- package/types/cli/env-substitution.d.ts +0 -22
- package/types/cli/env-substitution.test.d.ts +0 -1
- package/types/cli/utils/env-filter.d.ts +0 -42
- package/types/cli/utils/lock-file-example.d.ts +0 -30
- package/types/cli/utils/sudo-helper.d.ts +0 -21
- package/types/packages/dev-tools/_tests_/code.e2e.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/create-builder.e2e.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/dev-tools.e2e.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/figma-generate.e2e.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/figma-publish.e2e.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/fusionInit.e2e.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/help.e2e.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/launch.e2e.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/repo-indexing.test.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/sync-utils.test.d.ts +0 -1
- package/types/packages/dev-tools/_tests_/utils.d.ts +0 -57
- package/types/packages/dev-tools/_tests_/vitest.config.d.ts +0 -2
- package/types/packages/dev-tools/_tests_/workspace.e2e.d.ts +0 -1
- package/types/packages/dev-tools/angular/index.d.ts +0 -1
- package/types/packages/dev-tools/cli/__tests__/isLikelyFixedString.spec.d.ts +0 -1
- package/types/packages/dev-tools/cli/__tests__/parseGitDiffToApplyActions.spec.d.ts +0 -1
- package/types/packages/dev-tools/cli/abort-signal-any.d.ts +0 -3
- package/types/packages/dev-tools/cli/auth/auth-utils.d.ts +0 -4
- package/types/packages/dev-tools/cli/auth/auth.d.ts +0 -7
- package/types/packages/dev-tools/cli/auth/status.d.ts +0 -3
- package/types/packages/dev-tools/cli/backup.d.ts +0 -172
- package/types/packages/dev-tools/cli/builder-add/interface.d.ts +0 -22
- package/types/packages/dev-tools/cli/builder-add/options.d.ts +0 -2
- package/types/packages/dev-tools/cli/code-file-utils.d.ts +0 -20
- package/types/packages/dev-tools/cli/code-file-utils.unit.d.ts +0 -1
- package/types/packages/dev-tools/cli/code-tools.d.ts +0 -131
- package/types/packages/dev-tools/cli/code.d.ts +0 -17
- package/types/packages/dev-tools/cli/codegen.d.ts +0 -456
- package/types/packages/dev-tools/cli/constants.d.ts +0 -1
- package/types/packages/dev-tools/cli/credentials.d.ts +0 -69
- package/types/packages/dev-tools/cli/download.d.ts +0 -15
- package/types/packages/dev-tools/cli/exit.d.ts +0 -1
- package/types/packages/dev-tools/cli/fetch.d.ts +0 -1
- package/types/packages/dev-tools/cli/figma-publish.d.ts +0 -41
- package/types/packages/dev-tools/cli/figma-publish.spec.d.ts +0 -1
- package/types/packages/dev-tools/cli/figma-utils.d.ts +0 -61
- package/types/packages/dev-tools/cli/figma.d.ts +0 -11
- package/types/packages/dev-tools/cli/generate.d.ts +0 -19
- package/types/packages/dev-tools/cli/help.d.ts +0 -1
- package/types/packages/dev-tools/cli/incremental-tsc.d.ts +0 -42
- package/types/packages/dev-tools/cli/index.d.ts +0 -97
- package/types/packages/dev-tools/cli/indexing.d.ts +0 -11
- package/types/packages/dev-tools/cli/launch/InitStateMachine.d.ts +0 -142
- package/types/packages/dev-tools/cli/launch/config.d.ts +0 -15
- package/types/packages/dev-tools/cli/launch/dev-server-orchestrator.d.ts +0 -114
- package/types/packages/dev-tools/cli/launch/dry-run-backup.d.ts +0 -16
- package/types/packages/dev-tools/cli/launch/errors.d.ts +0 -8
- package/types/packages/dev-tools/cli/launch/github.d.ts +0 -9
- package/types/packages/dev-tools/cli/launch/grafana.d.ts +0 -8
- package/types/packages/dev-tools/cli/launch/helpers.d.ts +0 -42
- package/types/packages/dev-tools/cli/launch/helpers.test.d.ts +0 -1
- package/types/packages/dev-tools/cli/launch/machine-health.d.ts +0 -17
- package/types/packages/dev-tools/cli/launch/proxy.d.ts +0 -6
- package/types/packages/dev-tools/cli/launch/server.d.ts +0 -26
- package/types/packages/dev-tools/cli/launch.d.ts +0 -93
- package/types/packages/dev-tools/cli/prettier.d.ts +0 -10
- package/types/packages/dev-tools/cli/prettier.integration.test.d.ts +0 -1
- package/types/packages/dev-tools/cli/repo-indexing/component-discovery.d.ts +0 -21
- package/types/packages/dev-tools/cli/repo-indexing/component-indexing.d.ts +0 -34
- package/types/packages/dev-tools/cli/repo-indexing/icons.d.ts +0 -32
- package/types/packages/dev-tools/cli/repo-indexing/repo-indexing-utils.d.ts +0 -109
- package/types/packages/dev-tools/cli/repo-indexing/repo-indexing.d.ts +0 -41
- package/types/packages/dev-tools/cli/repo-indexing/repo-indexing.mock.d.ts +0 -5
- package/types/packages/dev-tools/cli/repo-indexing/types.d.ts +0 -12
- package/types/packages/dev-tools/cli/repo-metrics.d.ts +0 -9
- package/types/packages/dev-tools/cli/report/figma-report.d.ts +0 -81
- package/types/packages/dev-tools/cli/server-ws.d.ts +0 -60
- package/types/packages/dev-tools/cli/spinner.d.ts +0 -6
- package/types/packages/dev-tools/cli/sync-utils.d.ts +0 -45
- package/types/packages/dev-tools/cli/track.d.ts +0 -8
- package/types/packages/dev-tools/cli/utils/component-group-mdx-prompt.d.ts +0 -2
- package/types/packages/dev-tools/cli/utils/dev-server-url-parser.d.ts +0 -15
- package/types/packages/dev-tools/cli/utils/dev-server-url-parser.test.d.ts +0 -1
- package/types/packages/dev-tools/cli/utils/feature-flags.d.ts +0 -4
- package/types/packages/dev-tools/cli/utils/git.d.ts +0 -34
- package/types/packages/dev-tools/cli/utils/open.d.ts +0 -1
- package/types/packages/dev-tools/cli/utils/parseGitDiff.d.ts +0 -11
- package/types/packages/dev-tools/cli/utils/repo-indexing-agent-prompt.d.ts +0 -2
- package/types/packages/dev-tools/cli/utils/repo-indexing-group-prompt.d.ts +0 -1
- package/types/packages/dev-tools/cli/utils/signals.d.ts +0 -2
- package/types/packages/dev-tools/cli/utils/terminal-buffer.d.ts +0 -29
- package/types/packages/dev-tools/cli/utils/terminal-buffer.spec.d.ts +0 -1
- package/types/packages/dev-tools/cli/utils/workspace-path-resolver.d.ts +0 -99
- package/types/packages/dev-tools/cli/utils/workspace-path-resolver.unit.d.ts +0 -1
- package/types/packages/dev-tools/cli/version.d.ts +0 -1
- package/types/packages/dev-tools/client/client-api.d.ts +0 -44
- package/types/packages/dev-tools/client/edit-button/document-listeners.d.ts +0 -4
- package/types/packages/dev-tools/client/edit-button/index.d.ts +0 -8
- package/types/packages/dev-tools/client/index.d.ts +0 -1
- package/types/packages/dev-tools/client/menu/index.d.ts +0 -5
- package/types/packages/dev-tools/client/menu/pages/component-detail.d.ts +0 -10
- package/types/packages/dev-tools/client/menu/pages/component-input.d.ts +0 -7
- package/types/packages/dev-tools/client/menu/pages/component-list.d.ts +0 -7
- package/types/packages/dev-tools/client/menu/pages/home.d.ts +0 -1
- package/types/packages/dev-tools/client/menu/pages/settings.d.ts +0 -1
- package/types/packages/dev-tools/client/menu/toggle/menu-toggle.d.ts +0 -5
- package/types/packages/dev-tools/client/setup-ui/connected.d.ts +0 -1
- package/types/packages/dev-tools/client/setup-ui/index.d.ts +0 -1
- package/types/packages/dev-tools/client/setup-ui/overview.d.ts +0 -4
- package/types/packages/dev-tools/client/tracking.d.ts +0 -22
- package/types/packages/dev-tools/client/utils.d.ts +0 -16
- package/types/packages/dev-tools/common/ast/app-dependencies.d.ts +0 -10
- package/types/packages/dev-tools/common/ast/component-info.d.ts +0 -29
- package/types/packages/dev-tools/common/ast/component-input-types.d.ts +0 -43
- package/types/packages/dev-tools/common/ast/component-registry.d.ts +0 -24
- package/types/packages/dev-tools/common/ast/convert-values.d.ts +0 -43
- package/types/packages/dev-tools/common/ast/convert-values.unit.d.ts +0 -1
- package/types/packages/dev-tools/common/ast/ensure-array-statement.d.ts +0 -11
- package/types/packages/dev-tools/common/ast/ensure-array-statement.unit.d.ts +0 -1
- package/types/packages/dev-tools/common/ast/ensure-comments.d.ts +0 -5
- package/types/packages/dev-tools/common/ast/ensure-imports.d.ts +0 -14
- package/types/packages/dev-tools/common/ast/ensure-imports.unit.d.ts +0 -1
- package/types/packages/dev-tools/common/ast/exported-statements.d.ts +0 -12
- package/types/packages/dev-tools/common/ast/exported-statements.unit.d.ts +0 -1
- package/types/packages/dev-tools/common/ast/imported-statements.d.ts +0 -8
- package/types/packages/dev-tools/common/ast/imported-statements.unit.d.ts +0 -1
- package/types/packages/dev-tools/common/ast/normalize-statements.d.ts +0 -16
- package/types/packages/dev-tools/common/ast/normalize-statements.unit.d.ts +0 -1
- package/types/packages/dev-tools/common/ast/remove-unused-imports.d.ts +0 -6
- package/types/packages/dev-tools/common/ast/remove-unused-imports.unit.d.ts +0 -1
- package/types/packages/dev-tools/common/ast/transform.d.ts +0 -15
- package/types/packages/dev-tools/common/ast/utils.d.ts +0 -49
- package/types/packages/dev-tools/common/ast/utils.unit.d.ts +0 -1
- package/types/packages/dev-tools/common/builder/builder-api.d.ts +0 -36
- package/types/packages/dev-tools/common/builder/builder-sdks.d.ts +0 -12
- package/types/packages/dev-tools/common/builder/content-generation.d.ts +0 -11
- package/types/packages/dev-tools/common/builder/content-ids.d.ts +0 -4
- package/types/packages/dev-tools/common/cache.d.ts +0 -6
- package/types/packages/dev-tools/common/constants.d.ts +0 -17
- package/types/packages/dev-tools/common/dotenv.d.ts +0 -25
- package/types/packages/dev-tools/common/dotenv.test.d.ts +0 -1
- package/types/packages/dev-tools/common/errors.d.ts +0 -50
- package/types/packages/dev-tools/common/estimate-code-tokens.d.ts +0 -1
- package/types/packages/dev-tools/common/fs.d.ts +0 -19
- package/types/packages/dev-tools/common/interactive-select-files.d.ts +0 -17
- package/types/packages/dev-tools/common/mem-sys.d.ts +0 -10
- package/types/packages/dev-tools/common/node-request.d.ts +0 -7
- package/types/packages/dev-tools/common/path.d.ts +0 -2
- package/types/packages/dev-tools/common/test-utils.d.ts +0 -23
- package/types/packages/dev-tools/common/typescript.d.ts +0 -28
- package/types/packages/dev-tools/common/utils.d.ts +0 -55
- package/types/packages/dev-tools/common/utils.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/angular/angular-api-key.d.ts +0 -33
- package/types/packages/dev-tools/core/adapters/angular/angular-api-key.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/angular/angular-app-module-imports.d.ts +0 -13
- package/types/packages/dev-tools/core/adapters/angular/angular-app-module-imports.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/angular/angular-app-routes-update.d.ts +0 -7
- package/types/packages/dev-tools/core/adapters/angular/angular-app-routes-update.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/angular/angular-components.d.ts +0 -46
- package/types/packages/dev-tools/core/adapters/angular/angular-components.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/angular/angular-ensure-builder-setup.d.ts +0 -11
- package/types/packages/dev-tools/core/adapters/angular/angular-ensure-config-plugin.d.ts +0 -21
- package/types/packages/dev-tools/core/adapters/angular/angular-ensure-config-plugin.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/angular/angular-fix-tsconfig.d.ts +0 -4
- package/types/packages/dev-tools/core/adapters/angular/angular-registry-parse.d.ts +0 -28
- package/types/packages/dev-tools/core/adapters/angular/angular-registry-parse.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/angular/angular-registry.d.ts +0 -16
- package/types/packages/dev-tools/core/adapters/angular/angular-registry.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/angular/angular-test-utils.d.ts +0 -10
- package/types/packages/dev-tools/core/adapters/angular/index.d.ts +0 -22
- package/types/packages/dev-tools/core/adapters/angular/types.d.ts +0 -11
- package/types/packages/dev-tools/core/adapters/next/index.d.ts +0 -36
- package/types/packages/dev-tools/core/adapters/next/next-api-key.d.ts +0 -7
- package/types/packages/dev-tools/core/adapters/next/next-component-info.d.ts +0 -12
- package/types/packages/dev-tools/core/adapters/next/next-component-info.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/next/next-component-inputs.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/next/next-component-source-inputs.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/next/next-components.d.ts +0 -7
- package/types/packages/dev-tools/core/adapters/next/next-ensure-builder-setup.d.ts +0 -8
- package/types/packages/dev-tools/core/adapters/next/next-ensure-config-plugin.d.ts +0 -7
- package/types/packages/dev-tools/core/adapters/next/next-ensure-config-plugin.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/next/next-registry-parse.d.ts +0 -26
- package/types/packages/dev-tools/core/adapters/next/next-registry-parse.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/next/next-registry.d.ts +0 -16
- package/types/packages/dev-tools/core/adapters/next/next-registry.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/next/next-test-utils.d.ts +0 -26
- package/types/packages/dev-tools/core/adapters/qwik-city/index.d.ts +0 -16
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-api-key.d.ts +0 -7
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-component-source-inputs.d.ts +0 -6
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-components.d.ts +0 -30
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-components.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-ensure-builder-setup.d.ts +0 -8
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-ensure-config-plugin.d.ts +0 -6
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-registry-parse.d.ts +0 -28
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-registry-parse.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-registry.d.ts +0 -16
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-registry.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-test-utils.d.ts +0 -10
- package/types/packages/dev-tools/core/adapters/qwik-city/qwik-ts-program.d.ts +0 -4
- package/types/packages/dev-tools/core/adapters/react/index.d.ts +0 -21
- package/types/packages/dev-tools/core/adapters/react/react-api-key.d.ts +0 -9
- package/types/packages/dev-tools/core/adapters/react/react-builder-sdk-setup.d.ts +0 -4
- package/types/packages/dev-tools/core/adapters/react/react-component-info.d.ts +0 -12
- package/types/packages/dev-tools/core/adapters/react/react-components.d.ts +0 -44
- package/types/packages/dev-tools/core/adapters/react/react-components.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/react/react-ensure-builder-setup.d.ts +0 -8
- package/types/packages/dev-tools/core/adapters/react/react-registry-parse.d.ts +0 -26
- package/types/packages/dev-tools/core/adapters/react/react-registry-parse.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/react/react-registry.d.ts +0 -16
- package/types/packages/dev-tools/core/adapters/react/react-registry.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/react/react-test-utils.d.ts +0 -13
- package/types/packages/dev-tools/core/adapters/react/react-ts-program.d.ts +0 -4
- package/types/packages/dev-tools/core/adapters/remix/index.d.ts +0 -21
- package/types/packages/dev-tools/core/adapters/remix/remix-api-key.d.ts +0 -7
- package/types/packages/dev-tools/core/adapters/remix/remix-components.d.ts +0 -7
- package/types/packages/dev-tools/core/adapters/remix/remix-ensure-builder-setup.d.ts +0 -11
- package/types/packages/dev-tools/core/adapters/remix/remix-ensure-config-plugin.d.ts +0 -7
- package/types/packages/dev-tools/core/adapters/remix/remix-ensure-config-plugin.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/remix/remix-registry-parse.d.ts +0 -28
- package/types/packages/dev-tools/core/adapters/remix/remix-registry.d.ts +0 -16
- package/types/packages/dev-tools/core/adapters/remix/remix-registry.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/remix/remix-test-utils.d.ts +0 -13
- package/types/packages/dev-tools/core/adapters/vite/vite-ensure-config-plugin.d.ts +0 -17
- package/types/packages/dev-tools/core/adapters/vite/vite-ensure-config-plugin.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/vue/index.d.ts +0 -22
- package/types/packages/dev-tools/core/adapters/vue/vue-api-key.d.ts +0 -9
- package/types/packages/dev-tools/core/adapters/vue/vue-components.d.ts +0 -12
- package/types/packages/dev-tools/core/adapters/vue/vue-ensure-builder-setup.d.ts +0 -11
- package/types/packages/dev-tools/core/adapters/vue/vue-registry-parse.d.ts +0 -26
- package/types/packages/dev-tools/core/adapters/vue/vue-registry.d.ts +0 -8
- package/types/packages/dev-tools/core/adapters/webpack/webpack-config-helpers.d.ts +0 -16
- package/types/packages/dev-tools/core/adapters/webpack/webpack-config-helpers.unit.d.ts +0 -1
- package/types/packages/dev-tools/core/adapters/webpack/webpack-ensure-config-plugin.d.ts +0 -7
- package/types/packages/dev-tools/core/client-script.d.ts +0 -1
- package/types/packages/dev-tools/core/create-dev-tools.d.ts +0 -4
- package/types/packages/dev-tools/core/detect-frameworks.d.ts +0 -9
- package/types/packages/dev-tools/core/ensure-config-plugin.d.ts +0 -7
- package/types/packages/dev-tools/core/find-dependencies.d.ts +0 -10
- package/types/packages/dev-tools/core/import-export-registry.d.ts +0 -10
- package/types/packages/dev-tools/core/index.d.ts +0 -23
- package/types/packages/dev-tools/figma/index.d.ts +0 -119
- package/types/packages/dev-tools/node/index.d.ts +0 -2
- package/types/packages/dev-tools/node/node-sys.d.ts +0 -21
- package/types/packages/dev-tools/remix/index.d.ts +0 -8
- package/types/packages/dev-tools/server/auth.d.ts +0 -5
- package/types/packages/dev-tools/server/builder-connect.d.ts +0 -21
- package/types/packages/dev-tools/server/client-script.d.ts +0 -7
- package/types/packages/dev-tools/server/create-dev-tools-server.d.ts +0 -4
- package/types/packages/dev-tools/server/dev-tools-api.d.ts +0 -5
- package/types/packages/dev-tools/server/dev-tools-http-server.d.ts +0 -4
- package/types/packages/dev-tools/server/index.d.ts +0 -30
- package/types/packages/dev-tools/server/request-handler.d.ts +0 -8
- package/types/packages/dev-tools/types/codegen-server.d.ts +0 -14
- package/types/packages/dev-tools/types/connection-tracker.d.ts +0 -41
- package/types/packages/dev-tools/types/proxy-middleware.d.ts +0 -41
- package/types/packages/dev-tools/types/websocket-types.d.ts +0 -19
- package/types/packages/dev-tools/types.d.ts +0 -554
- package/types/packages/dev-tools/vite/main.d.ts +0 -7
- package/types/packages/dev-tools/vitest.config.d.ts +0 -2
- package/types/packages/dev-tools/webpack/main.d.ts +0 -9
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { DevToolsSys } from "../../types";
|
|
2
|
-
export declare function createBuilderPage(
|
|
3
|
-
sys: DevToolsSys,
|
|
4
|
-
opts: {
|
|
5
|
-
templateContentId: string;
|
|
6
|
-
publicApiKey: string;
|
|
7
|
-
privateAuthKey: string;
|
|
8
|
-
pathname: string;
|
|
9
|
-
title: string;
|
|
10
|
-
},
|
|
11
|
-
): Promise<void>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const PUBLIC_API_KEY_QS = "api-key";
|
|
2
|
-
export declare const PRIVATE_AUTH_KEY_QS = "p-key";
|
|
3
|
-
export declare const PREVIEW_URL_QS = "preview-url";
|
|
4
|
-
export declare const USER_ID_QS = "user-id";
|
|
5
|
-
export declare const CONNECTED_USER_ID_QS = "_b-uid";
|
|
6
|
-
export declare const FRAMEWORK_QS = "framework";
|
|
7
|
-
export declare const PLATFORM_QS = "platform";
|
|
8
|
-
export declare const NODE_VERSION_QS = "node";
|
|
9
|
-
export declare const BUILDER_AUTH_CONNECT_PATH = "/~builder-connect";
|
|
10
|
-
export declare const BUILDER_AUTH_RETURN_PATH = "/~builder-connected";
|
|
11
|
-
export declare const DEV_TOOLS_API_PATH = "/~builder-dev-tools";
|
|
12
|
-
export declare const DEV_TOOLS_CLIENT_SCRIPT_PATH = "/~builder-dev-tools.js";
|
|
13
|
-
export declare const DEV_TOOLS_SERVER_CLOSE_PATH = "/~builder-dev-tools-close";
|
|
14
|
-
export declare const DEV_TOOLS_MAPPINGS_PATH = "/mappings";
|
|
15
|
-
export declare const AMPLITUDE_PROXY_URL =
|
|
16
|
-
"https://cdn.builder.io/api/v1/proxy-api?url=https://api2.amplitude.com/2/httpapi";
|
|
17
|
-
export declare const SPACE_KIND_QS = "kind";
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { DevToolsSys, EnvInfo } from "../types";
|
|
2
|
-
export declare function getDotEnvValue(
|
|
3
|
-
sys: DevToolsSys,
|
|
4
|
-
dotEnvFileNames: string[],
|
|
5
|
-
envKey: string,
|
|
6
|
-
): Promise<EnvInfo>;
|
|
7
|
-
export declare function setDotEnvValue(
|
|
8
|
-
sys: DevToolsSys,
|
|
9
|
-
dotEnvFileNames: string[],
|
|
10
|
-
envKey: string,
|
|
11
|
-
envValue: string,
|
|
12
|
-
): Promise<EnvInfo>;
|
|
13
|
-
export declare function parseDotEnvFile(
|
|
14
|
-
sys: DevToolsSys,
|
|
15
|
-
envPath: string,
|
|
16
|
-
): Promise<Record<string, string> | null>;
|
|
17
|
-
export declare function parseDotEnvContent(
|
|
18
|
-
envContent: string,
|
|
19
|
-
): Record<string, string>;
|
|
20
|
-
export declare function setDotEnvVar(
|
|
21
|
-
sys: DevToolsSys,
|
|
22
|
-
envPath: string,
|
|
23
|
-
key: string,
|
|
24
|
-
value: string,
|
|
25
|
-
): Promise<"create" | "update" | "permission-error" | null>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Use this when you want to throw an error and NOT have the error logged to the
|
|
3
|
-
* user when reporting to sentry
|
|
4
|
-
*/
|
|
5
|
-
export declare class PrivateError extends Error {}
|
|
6
|
-
/**
|
|
7
|
-
* Standardized network error class with structured properties for better diagnostics
|
|
8
|
-
*/
|
|
9
|
-
export declare class NetworkError extends PrivateError {
|
|
10
|
-
constructor({
|
|
11
|
-
type,
|
|
12
|
-
cause,
|
|
13
|
-
message,
|
|
14
|
-
suggestions,
|
|
15
|
-
hostname,
|
|
16
|
-
port,
|
|
17
|
-
statusCode,
|
|
18
|
-
errorCode,
|
|
19
|
-
}: {
|
|
20
|
-
type: NetworkErrorType;
|
|
21
|
-
cause?: Error;
|
|
22
|
-
message: string;
|
|
23
|
-
suggestions?: string[];
|
|
24
|
-
hostname?: string;
|
|
25
|
-
port?: number;
|
|
26
|
-
statusCode?: number;
|
|
27
|
-
errorCode?: string;
|
|
28
|
-
});
|
|
29
|
-
readonly type: NetworkErrorType;
|
|
30
|
-
readonly suggestions: string[];
|
|
31
|
-
readonly hostname?: string;
|
|
32
|
-
readonly port?: number;
|
|
33
|
-
readonly statusCode?: number;
|
|
34
|
-
readonly errorCode?: string;
|
|
35
|
-
}
|
|
36
|
-
export type NetworkErrorType =
|
|
37
|
-
| "connection_refused"
|
|
38
|
-
| "connection_timeout"
|
|
39
|
-
| "dns_not_found"
|
|
40
|
-
| "ssl_error"
|
|
41
|
-
| "server_error"
|
|
42
|
-
| "unknown";
|
|
43
|
-
export declare function convertNodeErrorToNetworkError(
|
|
44
|
-
error: Error & {
|
|
45
|
-
code?: string;
|
|
46
|
-
},
|
|
47
|
-
hostname: string,
|
|
48
|
-
port?: number,
|
|
49
|
-
): NetworkError;
|
|
50
|
-
export declare function displayNetworkError(error: NetworkError): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function estimateCodeTokens(text: string): number;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { DevToolsSys, PackageJSON } from "../types";
|
|
2
|
-
export declare function hasTsconfig(sys: DevToolsSys): Promise<boolean>;
|
|
3
|
-
export declare function findBuilderRegistry(
|
|
4
|
-
sys: DevToolsSys,
|
|
5
|
-
defaultFolder: string,
|
|
6
|
-
): Promise<string>;
|
|
7
|
-
export declare function findPackageJson(
|
|
8
|
-
sys: DevToolsSys,
|
|
9
|
-
dir: string,
|
|
10
|
-
): Promise<PackageJSON | null>;
|
|
11
|
-
export declare function findUpNodeModules(
|
|
12
|
-
sys: DevToolsSys,
|
|
13
|
-
p: string,
|
|
14
|
-
): Promise<string>;
|
|
15
|
-
export declare function recursiveFindDir(
|
|
16
|
-
sys: DevToolsSys,
|
|
17
|
-
dir: string,
|
|
18
|
-
findDirectoryName: string,
|
|
19
|
-
): Promise<string | undefined>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { DevToolsSys } from "../types";
|
|
2
|
-
export declare function interactiveSelectFiles(
|
|
3
|
-
sys: DevToolsSys,
|
|
4
|
-
allFiles: string[],
|
|
5
|
-
appRootDir: string,
|
|
6
|
-
initialFiles: string[],
|
|
7
|
-
selectedFilePaths: Map<string, number>,
|
|
8
|
-
MAX_TOKENS: number,
|
|
9
|
-
): Promise<string[]>;
|
|
10
|
-
export declare function selectMostRelevantFile(
|
|
11
|
-
sys: DevToolsSys,
|
|
12
|
-
allFiles: string[],
|
|
13
|
-
appRootDir: string,
|
|
14
|
-
selectedFilePaths: Map<string, number>,
|
|
15
|
-
MAX_TOKENS: number,
|
|
16
|
-
wasBad: boolean,
|
|
17
|
-
): Promise<string | null>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { DevToolsSys } from "../types";
|
|
2
|
-
export declare function createDevToolsSys(
|
|
3
|
-
opts: CreateDevToolsSysOptions,
|
|
4
|
-
): Promise<DevToolsSys>;
|
|
5
|
-
export interface CreateDevToolsSysOptions extends Partial<DevToolsSys> {
|
|
6
|
-
/**
|
|
7
|
-
* TypeScript compiler instance.
|
|
8
|
-
*/
|
|
9
|
-
ts: any;
|
|
10
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { DevToolsSys } from "../types";
|
|
2
|
-
import ts from "typescript";
|
|
3
|
-
export declare function codeEqual(
|
|
4
|
-
sys: DevToolsSys,
|
|
5
|
-
n: ts.Node | null | undefined | string,
|
|
6
|
-
expectCode: string,
|
|
7
|
-
removeComments?: boolean,
|
|
8
|
-
): Promise<void>;
|
|
9
|
-
export declare function createTestFsSys(
|
|
10
|
-
rootDir: string,
|
|
11
|
-
options?: {
|
|
12
|
-
readOnlyPermissions?: boolean;
|
|
13
|
-
},
|
|
14
|
-
): Promise<DevToolsSys>;
|
|
15
|
-
export declare function createTestMemSys(
|
|
16
|
-
rootDir?: string,
|
|
17
|
-
): Promise<DevToolsSys>;
|
|
18
|
-
export declare function createRemixTestMemSys(
|
|
19
|
-
rootDir?: string,
|
|
20
|
-
): Promise<DevToolsSys>;
|
|
21
|
-
export declare function createAngularTestMemSys(
|
|
22
|
-
rootDir?: string,
|
|
23
|
-
): Promise<DevToolsSys>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type ts from "typescript";
|
|
2
|
-
import type {
|
|
3
|
-
DevToolsSys,
|
|
4
|
-
TranspileFileOptions,
|
|
5
|
-
TranspileModuleOptions,
|
|
6
|
-
TranspileResult,
|
|
7
|
-
} from "../types";
|
|
8
|
-
export declare function createTsProgram(
|
|
9
|
-
sys: DevToolsSys,
|
|
10
|
-
filePaths: string[],
|
|
11
|
-
overrideTsOptions?: ts.CompilerOptions,
|
|
12
|
-
): Promise<ts.Program>;
|
|
13
|
-
export declare function getTypeChecker(
|
|
14
|
-
sys: DevToolsSys,
|
|
15
|
-
filePath: string,
|
|
16
|
-
tsProgram: ts.Program | null,
|
|
17
|
-
): Promise<{
|
|
18
|
-
typeChecker: ts.TypeChecker;
|
|
19
|
-
sourceFile: ts.SourceFile;
|
|
20
|
-
}>;
|
|
21
|
-
export declare function transpileFile(
|
|
22
|
-
sys: DevToolsSys,
|
|
23
|
-
opts: TranspileFileOptions,
|
|
24
|
-
): Promise<TranspileResult>;
|
|
25
|
-
export declare function transpileModule(
|
|
26
|
-
sys: DevToolsSys,
|
|
27
|
-
opts: TranspileModuleOptions,
|
|
28
|
-
): TranspileResult;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { ComponentInfo, DevToolsSys } from "../types";
|
|
2
|
-
export declare function isMapperFile(fileName: string): boolean;
|
|
3
|
-
export declare function getImportPath(
|
|
4
|
-
sys: DevToolsSys,
|
|
5
|
-
containingModulePath: string,
|
|
6
|
-
moduleToImportPath: string,
|
|
7
|
-
): string;
|
|
8
|
-
export declare function normalizePathSlash(path: string): string;
|
|
9
|
-
export declare function getComponentImportNameFilePath(
|
|
10
|
-
sys: DevToolsSys,
|
|
11
|
-
filePath: string,
|
|
12
|
-
): string;
|
|
13
|
-
export declare function getComponentImportName(str: string): string;
|
|
14
|
-
export declare function getComponentDisplayNameFromFilePath(
|
|
15
|
-
sys: DevToolsSys,
|
|
16
|
-
filePath: string,
|
|
17
|
-
): string;
|
|
18
|
-
export declare function getComponentImportPath(
|
|
19
|
-
sys: DevToolsSys,
|
|
20
|
-
absFilePath: string,
|
|
21
|
-
): string;
|
|
22
|
-
export declare function getDisplayFilePath(
|
|
23
|
-
sys: DevToolsSys,
|
|
24
|
-
filePath: string,
|
|
25
|
-
): string;
|
|
26
|
-
export declare function getComponentDisplayName(str: string): string;
|
|
27
|
-
export declare function sortComponents(cmps: ComponentInfo[]): ComponentInfo[];
|
|
28
|
-
export declare function getComponentId(
|
|
29
|
-
sys: DevToolsSys,
|
|
30
|
-
filePath: string,
|
|
31
|
-
exportName: string,
|
|
32
|
-
externalImportPath?: string,
|
|
33
|
-
): Promise<string>;
|
|
34
|
-
export declare function getLocalAppId(sys: DevToolsSys): Promise<string>;
|
|
35
|
-
export declare function isNumber(v: any): v is number;
|
|
36
|
-
export declare function isBoolean(v: any): v is boolean;
|
|
37
|
-
export declare function isString(v: any): v is string;
|
|
38
|
-
export declare function isValidJsxTag(tag: string): boolean;
|
|
39
|
-
export declare function clone<T>(obj: T): T;
|
|
40
|
-
export declare function shouldSkipFolder(
|
|
41
|
-
sys: DevToolsSys,
|
|
42
|
-
skipFolders: Set<string>,
|
|
43
|
-
fileName: string,
|
|
44
|
-
): boolean;
|
|
45
|
-
export declare function getPackageManager(): string;
|
|
46
|
-
export declare function isWindows(): boolean;
|
|
47
|
-
export declare function builderNpxPackage():
|
|
48
|
-
| '"@builder.io/dev-tools"'
|
|
49
|
-
| "builder.io";
|
|
50
|
-
/**
|
|
51
|
-
* Sanitizes a component name for use in filesystem paths by replacing invalid characters with underscores
|
|
52
|
-
* @param name The component name to sanitize
|
|
53
|
-
* @returns A sanitized string safe for use in filesystem paths
|
|
54
|
-
*/
|
|
55
|
-
export declare function sanitizeComponentName(name: string): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { DevToolsSys, EnvInfo } from "../../../types";
|
|
2
|
-
import type ts from "typescript";
|
|
3
|
-
export declare function getAngularApiKey(sys: DevToolsSys): Promise<EnvInfo>;
|
|
4
|
-
export declare function setAngularApiKey(
|
|
5
|
-
sys: DevToolsSys,
|
|
6
|
-
publicApiKey: string,
|
|
7
|
-
): Promise<EnvInfo>;
|
|
8
|
-
export declare function getEnvValue(
|
|
9
|
-
sys: DevToolsSys,
|
|
10
|
-
envFileNames: string[],
|
|
11
|
-
envKey: string,
|
|
12
|
-
): Promise<EnvInfo>;
|
|
13
|
-
export declare function parseEnvFile(
|
|
14
|
-
sys: DevToolsSys,
|
|
15
|
-
envPath: string,
|
|
16
|
-
): Promise<string>;
|
|
17
|
-
export declare function parseEnvContent(
|
|
18
|
-
sys: DevToolsSys,
|
|
19
|
-
envContent: string,
|
|
20
|
-
): string;
|
|
21
|
-
export declare function appendApiKey(
|
|
22
|
-
sys: DevToolsSys,
|
|
23
|
-
envContent: string,
|
|
24
|
-
key: string,
|
|
25
|
-
value: string,
|
|
26
|
-
): Promise<ts.VariableStatement | null>;
|
|
27
|
-
export declare function setEnvValue(
|
|
28
|
-
sys: DevToolsSys,
|
|
29
|
-
envPath: string,
|
|
30
|
-
key: string,
|
|
31
|
-
value: string,
|
|
32
|
-
): Promise<"create" | "update" | null>;
|
|
33
|
-
export declare const ANGULAR_BUILDER_API_KEY_ENV = "builderApiKey";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { AngularDevToolsSys } from ".";
|
|
2
|
-
export declare function angularUpdateAppModule(
|
|
3
|
-
sys: AngularDevToolsSys,
|
|
4
|
-
cmpName: string,
|
|
5
|
-
cmpPath: string,
|
|
6
|
-
): Promise<string | undefined>;
|
|
7
|
-
export declare function angularEnsureAppModuleImports(
|
|
8
|
-
sys: AngularDevToolsSys,
|
|
9
|
-
appModulePath: string,
|
|
10
|
-
cmpName: string,
|
|
11
|
-
cmpPath: string,
|
|
12
|
-
code: string,
|
|
13
|
-
): Promise<string>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import type { AngularDevToolsSys } from "./index";
|
|
2
|
-
import type ts from "typescript";
|
|
3
|
-
import type {
|
|
4
|
-
AppDependency,
|
|
5
|
-
ComponentInfo,
|
|
6
|
-
ComponentInput,
|
|
7
|
-
DevToolsSys,
|
|
8
|
-
} from "../../../types";
|
|
9
|
-
export declare function getAngularSourceComponentsFromDir(
|
|
10
|
-
sys: AngularDevToolsSys,
|
|
11
|
-
tsProgram: ts.Program,
|
|
12
|
-
): Promise<AngularComponentSource[]>;
|
|
13
|
-
export declare function getAngularComponentsFromPath(
|
|
14
|
-
sys: DevToolsSys,
|
|
15
|
-
filePath: string,
|
|
16
|
-
): Promise<AngularComponentSource[] | null>;
|
|
17
|
-
export declare function getAngularComponentsFromCode(
|
|
18
|
-
sys: DevToolsSys,
|
|
19
|
-
filePath: string,
|
|
20
|
-
code: string,
|
|
21
|
-
): Promise<AngularComponentSource[]>;
|
|
22
|
-
export declare function getAngularComponentsFromSourceFile(
|
|
23
|
-
sys: DevToolsSys,
|
|
24
|
-
typeChecker: ts.TypeChecker | null,
|
|
25
|
-
filePath: string,
|
|
26
|
-
sourceFile: ts.SourceFile,
|
|
27
|
-
): Promise<AngularComponentSource[]>;
|
|
28
|
-
export declare function parseAngularComponentSourceInputs(
|
|
29
|
-
sys: DevToolsSys,
|
|
30
|
-
srcCmp: AngularComponentSource,
|
|
31
|
-
tsProgram: ts.Program | null,
|
|
32
|
-
): Promise<ComponentInput[]>;
|
|
33
|
-
export declare function parseAngularAllComponentSourceInputs(
|
|
34
|
-
sys: DevToolsSys,
|
|
35
|
-
sourceComponents: AngularComponentSource[],
|
|
36
|
-
components: ComponentInfo[],
|
|
37
|
-
): Promise<ComponentInfo[]>;
|
|
38
|
-
export interface AngularComponentSourceNode {
|
|
39
|
-
name: string;
|
|
40
|
-
fnNode: ts.Node;
|
|
41
|
-
deps: AppDependency[] | undefined;
|
|
42
|
-
}
|
|
43
|
-
export interface AngularComponentSource {
|
|
44
|
-
cmpInfo: ComponentInfo;
|
|
45
|
-
node: AngularComponentSourceNode;
|
|
46
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ModifiedFile } from "../../../types";
|
|
2
|
-
import type { AngularDevToolsSys } from ".";
|
|
3
|
-
export declare function angularEnsureBuilderSetup(
|
|
4
|
-
sys: AngularDevToolsSys,
|
|
5
|
-
): Promise<ModifiedFile[]>;
|
|
6
|
-
export declare function angularEnsureFigmaImportSetup(
|
|
7
|
-
sys: AngularDevToolsSys,
|
|
8
|
-
): Promise<ModifiedFile[]>;
|
|
9
|
-
export declare function angularEnsureBuilderRegistry(
|
|
10
|
-
sys: AngularDevToolsSys,
|
|
11
|
-
): Promise<ModifiedFile[]>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { EnsureConfigResult } from "../../../types";
|
|
2
|
-
import type { DevToolsSys } from "../..";
|
|
3
|
-
export declare function angularEnsureConfigPlugin(
|
|
4
|
-
sys: DevToolsSys,
|
|
5
|
-
configFilePath: string,
|
|
6
|
-
configContent: string,
|
|
7
|
-
): Promise<EnsureConfigResult>;
|
|
8
|
-
export declare function angularEnsureMainFileUpdate(
|
|
9
|
-
sys: DevToolsSys,
|
|
10
|
-
): Promise<void>;
|
|
11
|
-
export declare function angularEnsureMainFileCode(
|
|
12
|
-
sys: DevToolsSys,
|
|
13
|
-
code: string,
|
|
14
|
-
): Promise<string>;
|
|
15
|
-
export declare function updatePackage(sys: DevToolsSys): Promise<void>;
|
|
16
|
-
export declare function packageConcurrentlyScriptUpdate(
|
|
17
|
-
sys: DevToolsSys,
|
|
18
|
-
code: string,
|
|
19
|
-
): string | undefined;
|
|
20
|
-
export declare const DEV_TOOLS_SCRIPT_NAME = "builder-dev";
|
|
21
|
-
export declare const DEV_TOOLS_COMMAND = "npx builder-dev-tools";
|
package/types/packages/dev-tools/core/adapters/angular/angular-ensure-config-plugin.unit.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type ts from "typescript";
|
|
2
|
-
import type { ComponentInfo } from "../../../types";
|
|
3
|
-
import type { AngularDevToolsSys } from "./index";
|
|
4
|
-
export declare function parseAngularRegistryFromFile(
|
|
5
|
-
sys: AngularDevToolsSys,
|
|
6
|
-
): Promise<{
|
|
7
|
-
sourceFile: ts.SourceFile;
|
|
8
|
-
components: ComponentInfo[];
|
|
9
|
-
}>;
|
|
10
|
-
export declare function parseAngularRegistryFromCode(
|
|
11
|
-
sys: AngularDevToolsSys,
|
|
12
|
-
code: string,
|
|
13
|
-
): Promise<{
|
|
14
|
-
sourceFile: ts.SourceFile;
|
|
15
|
-
components: ComponentInfo[];
|
|
16
|
-
}>;
|
|
17
|
-
export declare function parseRegistryFromSource(
|
|
18
|
-
sys: AngularDevToolsSys,
|
|
19
|
-
sourceFile: ts.SourceFile,
|
|
20
|
-
): Promise<{
|
|
21
|
-
sourceFile: ts.SourceFile;
|
|
22
|
-
components: ComponentInfo[];
|
|
23
|
-
}>;
|
|
24
|
-
export declare function parseAngularRegisteredComponent(
|
|
25
|
-
sys: AngularDevToolsSys,
|
|
26
|
-
sourceFile: ts.SourceFile,
|
|
27
|
-
cmpObjLit: ts.Node,
|
|
28
|
-
): Promise<ComponentInfo | null>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
ComponentRegistry,
|
|
3
|
-
SetComponentInfoOptions,
|
|
4
|
-
SetComponentInputOptions,
|
|
5
|
-
} from "../../../types";
|
|
6
|
-
import type { AngularDevToolsSys } from "./index";
|
|
7
|
-
export declare function angularComponentRegistry(
|
|
8
|
-
sys: AngularDevToolsSys,
|
|
9
|
-
cmpId: string | string[] | null,
|
|
10
|
-
registerCmp: boolean,
|
|
11
|
-
unregisterCmp: boolean,
|
|
12
|
-
setCmpInfo: SetComponentInfoOptions | null,
|
|
13
|
-
setCmpInput: SetComponentInputOptions | null,
|
|
14
|
-
writeRegistry: boolean,
|
|
15
|
-
readAllInputTypes: boolean,
|
|
16
|
-
): Promise<ComponentRegistry>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare function createAngularTestFixturesSys(): Promise<
|
|
2
|
-
import("./index").AngularDevToolsSys
|
|
3
|
-
>;
|
|
4
|
-
export declare function createAngularTestMemSys(
|
|
5
|
-
rootDir?: string,
|
|
6
|
-
): Promise<import("./index").AngularDevToolsSys>;
|
|
7
|
-
export declare function createAngularTestFixturesDevTools(): Promise<{
|
|
8
|
-
sys: import("./index").AngularDevToolsSys;
|
|
9
|
-
devTools: import("../../../types").DevToolsAdapter;
|
|
10
|
-
}>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
CreateDevToolsOptions,
|
|
3
|
-
DevToolsAdapter,
|
|
4
|
-
DevToolsSys,
|
|
5
|
-
} from "../../../types";
|
|
6
|
-
export declare function createAngularDevTools(
|
|
7
|
-
sys: CreateDevToolsOptions,
|
|
8
|
-
): Promise<DevToolsAdapter>;
|
|
9
|
-
export declare function createAngularDevToolsSys(
|
|
10
|
-
sys: DevToolsSys,
|
|
11
|
-
): Promise<AngularDevToolsSys>;
|
|
12
|
-
export interface AngularDevToolsSys extends DevToolsSys {
|
|
13
|
-
appDir: string;
|
|
14
|
-
srcDir: string;
|
|
15
|
-
componentsDir: string;
|
|
16
|
-
registryPath: string;
|
|
17
|
-
angularConfigPath: string;
|
|
18
|
-
typescriptEnabled: boolean;
|
|
19
|
-
builderPageComponentPath: string;
|
|
20
|
-
hasAppModule: boolean;
|
|
21
|
-
addExternalPackage: (pkgName: string) => void;
|
|
22
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Any information about a particular component that is necessary
|
|
3
|
-
* to process it correctly.
|
|
4
|
-
*/
|
|
5
|
-
export interface AngularComponentOptions {
|
|
6
|
-
/**
|
|
7
|
-
* The import name of the `input` signal if used.
|
|
8
|
-
* If `undefined`, then the `input` signal is not used in this component.
|
|
9
|
-
*/
|
|
10
|
-
inputSignalImportName?: string;
|
|
11
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
CreateDevToolsOptions,
|
|
3
|
-
DevToolsAdapter,
|
|
4
|
-
DevToolsSys,
|
|
5
|
-
} from "../../../types";
|
|
6
|
-
export declare function createNextDevTools(
|
|
7
|
-
sys: CreateDevToolsOptions,
|
|
8
|
-
): Promise<DevToolsAdapter>;
|
|
9
|
-
export declare function createNextDevToolsSys(
|
|
10
|
-
sys: DevToolsSys,
|
|
11
|
-
): Promise<NextDevToolsSys>;
|
|
12
|
-
/**
|
|
13
|
-
* Any Next.js-specific features that are enabled. This can be used to adjust how
|
|
14
|
-
* Dev Tools integrates with Next.js apps based on the installed version of
|
|
15
|
-
* Next.js.
|
|
16
|
-
*/
|
|
17
|
-
interface NextDevToolsFeatures {
|
|
18
|
-
/**
|
|
19
|
-
* If `true`, Next.js params will be awaited before accessed.
|
|
20
|
-
* Only applies to Next.js 15+
|
|
21
|
-
*/
|
|
22
|
-
asyncParams: boolean;
|
|
23
|
-
}
|
|
24
|
-
export interface NextDevToolsSys extends DevToolsSys {
|
|
25
|
-
appDir: string | null;
|
|
26
|
-
pagesDir: string | null;
|
|
27
|
-
srcDir: string | null;
|
|
28
|
-
componentsDir: string;
|
|
29
|
-
builderComponentPath: string;
|
|
30
|
-
registryPath: string;
|
|
31
|
-
nextConfigPath: string;
|
|
32
|
-
typescriptEnabled: boolean;
|
|
33
|
-
addExternalPackage: (pkgName: string) => void;
|
|
34
|
-
features: NextDevToolsFeatures;
|
|
35
|
-
}
|
|
36
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { DevToolsSys, EnvInfo } from "../../../types";
|
|
2
|
-
export declare function getNextApiKey(sys: DevToolsSys): Promise<EnvInfo>;
|
|
3
|
-
export declare function setNextApiKey(
|
|
4
|
-
sys: DevToolsSys,
|
|
5
|
-
publicApiKey: string,
|
|
6
|
-
): Promise<EnvInfo>;
|
|
7
|
-
export declare const NEXT_BUILDER_API_KEY_ENV = "NEXT_PUBLIC_BUILDER_API_KEY";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type ts from "typescript";
|
|
2
|
-
import type { ComponentInfo } from "../../../types";
|
|
3
|
-
import type { NextDevToolsSys } from ".";
|
|
4
|
-
export declare function createNextRegisteredComponent(
|
|
5
|
-
sys: NextDevToolsSys,
|
|
6
|
-
cmpInfo: ComponentInfo,
|
|
7
|
-
): ts.Statement;
|
|
8
|
-
export declare function updateNextRegisteredComponent(
|
|
9
|
-
sys: NextDevToolsSys,
|
|
10
|
-
registerStatement: ts.Statement,
|
|
11
|
-
cmpInfo: ComponentInfo,
|
|
12
|
-
): ts.Statement;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { NextDevToolsSys } from "./index";
|
|
2
|
-
import type ts from "typescript";
|
|
3
|
-
import { type ReactComponentSource } from "../react/react-components";
|
|
4
|
-
export declare function getNextSourceComponentsFromDir(
|
|
5
|
-
sys: NextDevToolsSys,
|
|
6
|
-
tsProgram: ts.Program,
|
|
7
|
-
): Promise<ReactComponentSource[]>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type ModifiedFile } from "../../../types";
|
|
2
|
-
import type { NextDevToolsSys } from ".";
|
|
3
|
-
export declare function nextEnsureBuilderSetup(
|
|
4
|
-
sys: NextDevToolsSys,
|
|
5
|
-
): Promise<ModifiedFile[]>;
|
|
6
|
-
export declare function nextEnsureFigmaImportPageSetup(
|
|
7
|
-
sys: NextDevToolsSys,
|
|
8
|
-
): Promise<ModifiedFile[]>;
|