@builder.io/dev-tools 1.18.11-dev.202511202319.621aec6ae → 1.18.11-dev.202511210323.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,7 +1,3 @@
|
|
|
1
1
|
import type { EnsureConfigResult } from "../../../types";
|
|
2
2
|
import type { DevToolsSys } from "../..";
|
|
3
|
-
export declare function webpackEnsureConfigPlugin(
|
|
4
|
-
sys: DevToolsSys,
|
|
5
|
-
configFilePath: string,
|
|
6
|
-
configContent: string,
|
|
7
|
-
): Promise<EnsureConfigResult>;
|
|
3
|
+
export declare function webpackEnsureConfigPlugin(sys: DevToolsSys, configFilePath: string, configContent: string): Promise<EnsureConfigResult>;
|
|
@@ -1,5 +1,2 @@
|
|
|
1
1
|
import type { CreateDevToolsOptions, DevTools } from "../types";
|
|
2
|
-
export declare function createDevTools(
|
|
3
|
-
opts: CreateDevToolsOptions,
|
|
4
|
-
nativeOverride?: boolean,
|
|
5
|
-
): Promise<DevTools>;
|
|
2
|
+
export declare function createDevTools(opts: CreateDevToolsOptions, nativeOverride?: boolean): Promise<DevTools>;
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import type { DevToolsSys, Framework, PackageJSON } from "../types";
|
|
2
|
-
export declare function detectFrameworks(
|
|
3
|
-
sys: DevToolsSys,
|
|
4
|
-
): Promise<Framework[]>;
|
|
2
|
+
export declare function detectFrameworks(sys: DevToolsSys): Promise<Framework[]>;
|
|
5
3
|
export declare function detectTurbopack(sys: DevToolsSys): Promise<boolean>;
|
|
6
|
-
export declare function detectFrameworksFromPackageJson(
|
|
7
|
-
pkgJson: PackageJSON,
|
|
8
|
-
sys: DevToolsSys,
|
|
9
|
-
): Promise<Framework[]>;
|
|
4
|
+
export declare function detectFrameworksFromPackageJson(pkgJson: PackageJSON, sys: DevToolsSys): Promise<Framework[]>;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
import type { BuildToolConfig, DevToolsSys } from "../types";
|
|
2
|
-
export declare function findBuildToolConfig(
|
|
3
|
-
|
|
4
|
-
): Promise<BuildToolConfig | null>;
|
|
5
|
-
export declare function ensureConfigPlugin(
|
|
6
|
-
sys: DevToolsSys,
|
|
7
|
-
): Promise<import("../types").EnsureConfigResult>;
|
|
2
|
+
export declare function findBuildToolConfig(sys: DevToolsSys): Promise<BuildToolConfig | null>;
|
|
3
|
+
export declare function ensureConfigPlugin(sys: DevToolsSys): Promise<import("../types").EnsureConfigResult>;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import type { DevToolsSys } from "../types";
|
|
2
2
|
export interface Package {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
name: string;
|
|
4
|
+
subPackages: string[];
|
|
5
5
|
}
|
|
6
6
|
export type DependencyStructure = Package[];
|
|
7
|
-
export declare function findAllDependencies(
|
|
8
|
-
sys: DevToolsSys,
|
|
9
|
-
rootDir: string,
|
|
10
|
-
): Promise<DependencyStructure>;
|
|
7
|
+
export declare function findAllDependencies(sys: DevToolsSys, rootDir: string): Promise<DependencyStructure>;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
1
|
import type { DevToolsAdapter, DevToolsSys } from "../types";
|
|
2
|
-
export declare function exportRegistry(
|
|
3
|
-
|
|
4
|
-
devTools: DevToolsAdapter,
|
|
5
|
-
): Promise<string>;
|
|
6
|
-
export declare function importRegistry(
|
|
7
|
-
sys: DevToolsSys,
|
|
8
|
-
devTools: DevToolsAdapter,
|
|
9
|
-
registryToImport: string,
|
|
10
|
-
): Promise<import(".").ComponentRegistry>;
|
|
2
|
+
export declare function exportRegistry(sys: DevToolsSys, devTools: DevToolsAdapter): Promise<string>;
|
|
3
|
+
export declare function importRegistry(sys: DevToolsSys, devTools: DevToolsAdapter, registryToImport: string): Promise<import(".").ComponentRegistry>;
|
package/types/core/index.d.ts
CHANGED
|
@@ -1,23 +1,8 @@
|
|
|
1
|
-
export type {
|
|
2
|
-
ComponentInfo,
|
|
3
|
-
ComponentInput,
|
|
4
|
-
ComponentRegistry,
|
|
5
|
-
DevTools,
|
|
6
|
-
DevToolsSys,
|
|
7
|
-
ExportType,
|
|
8
|
-
Framework,
|
|
9
|
-
LoadComponent,
|
|
10
|
-
} from "../types";
|
|
1
|
+
export type { ComponentInfo, ComponentInput, ComponentRegistry, DevTools, DevToolsSys, ExportType, Framework, LoadComponent, } from "../types";
|
|
11
2
|
export { createDevTools } from "./create-dev-tools";
|
|
12
3
|
export { createDevToolsSys } from "../common/mem-sys";
|
|
13
|
-
export {
|
|
14
|
-
|
|
15
|
-
detectFrameworksFromPackageJson,
|
|
16
|
-
} from "./detect-frameworks";
|
|
17
|
-
export {
|
|
18
|
-
ensureConfigPlugin,
|
|
19
|
-
findBuildToolConfig,
|
|
20
|
-
} from "./ensure-config-plugin";
|
|
4
|
+
export { detectFrameworks, detectFrameworksFromPackageJson, } from "./detect-frameworks";
|
|
5
|
+
export { ensureConfigPlugin, findBuildToolConfig, } from "./ensure-config-plugin";
|
|
21
6
|
export { getClientScript } from "./client-script";
|
|
22
7
|
export { parseDotEnvContent } from "../common/dotenv";
|
|
23
8
|
export declare const version: string;
|
package/types/figma/index.d.ts
CHANGED
|
@@ -1,119 +1,88 @@
|
|
|
1
1
|
import type { FigmaComponentInput } from "$/ai-utils";
|
|
2
|
-
export type FigmaNodeType =
|
|
3
|
-
| "COMPONENT"
|
|
4
|
-
| "ELLIPSE"
|
|
5
|
-
| "FRAME"
|
|
6
|
-
| "GROUP"
|
|
7
|
-
| "INSTANCE"
|
|
8
|
-
| "LINE"
|
|
9
|
-
| "POLYGON"
|
|
10
|
-
| "RECTANGLE"
|
|
11
|
-
| "STAR"
|
|
12
|
-
| "TEXT"
|
|
13
|
-
| "VECTOR";
|
|
2
|
+
export type FigmaNodeType = "COMPONENT" | "ELLIPSE" | "FRAME" | "GROUP" | "INSTANCE" | "LINE" | "POLYGON" | "RECTANGLE" | "STAR" | "TEXT" | "VECTOR";
|
|
14
3
|
export interface FigmaNode {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
4
|
+
"@type": "passedNode";
|
|
5
|
+
$id: string;
|
|
6
|
+
$name: string;
|
|
7
|
+
$type: FigmaNodeType;
|
|
8
|
+
$inputs: readonly FigmaComponentInput[];
|
|
9
|
+
inputs: readonly FigmaComponentInput[];
|
|
10
|
+
$componentName?: string;
|
|
11
|
+
$rawNode: SceneNode;
|
|
12
|
+
/** Represents the text content of the node and its descendants */
|
|
13
|
+
$textContent: string;
|
|
14
|
+
/** URL to the rasterized image of this node */
|
|
15
|
+
$imageUrl: string;
|
|
16
|
+
$children: readonly FigmaNode[];
|
|
17
|
+
/** Recursively finds the first node that matches the callback */
|
|
18
|
+
$findOne(callback: (node: SceneNode) => boolean): FigmaNode | undefined;
|
|
19
|
+
/** Recursively finds the first figma child with the given name */
|
|
20
|
+
$findOneByName(name: string | RegExp): FigmaNode | undefined;
|
|
21
|
+
/** @deprecated Use $type instead */
|
|
22
|
+
type: FigmaNodeType;
|
|
23
|
+
/** @deprecated - */
|
|
24
|
+
props: {};
|
|
25
|
+
/** @deprecated - */
|
|
26
|
+
key: string | null;
|
|
38
27
|
}
|
|
39
28
|
export interface BaseFigmaProps {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
29
|
+
$id: string;
|
|
30
|
+
$name: string;
|
|
31
|
+
$type: FigmaNodeType;
|
|
32
|
+
$inputs: readonly FigmaComponentInput[];
|
|
33
|
+
inputs: readonly FigmaComponentInput[];
|
|
34
|
+
$componentName?: string;
|
|
35
|
+
/** Represents the text content of the node and its descendants */
|
|
36
|
+
$textContent: string;
|
|
37
|
+
$css: Readonly<Record<string, string>>;
|
|
38
|
+
/** URL to the rasterized image of this node */
|
|
39
|
+
$imageUrl: string;
|
|
40
|
+
/** Direct children of the root component node or instance */
|
|
41
|
+
$children: readonly FigmaNode[];
|
|
42
|
+
$getInputs: () => readonly FigmaComponentInput[];
|
|
43
|
+
/** Recursively finds the first figma child with the given name */
|
|
44
|
+
$findOneByName(name: string | RegExp): FigmaNode | undefined;
|
|
45
|
+
/** Recursively finds the first node that matches the callback */
|
|
46
|
+
$findOne(callback: (node: SceneNode) => boolean): FigmaNode | undefined;
|
|
58
47
|
}
|
|
59
48
|
interface FigmaProps extends BaseFigmaProps {
|
|
60
|
-
|
|
49
|
+
[key: string]: any;
|
|
61
50
|
}
|
|
62
|
-
export type FigmaURL =
|
|
63
|
-
`https://www.figma.com/design/${string}/${string}${"?" | "&"}node-id=${string}`;
|
|
51
|
+
export type FigmaURL = `https://www.figma.com/design/${string}/${string}${"?" | "&"}node-id=${string}`;
|
|
64
52
|
export interface FigmaMappingWithKeyMapper<T extends BaseFigmaProps> {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
53
|
+
url?: FigmaURL;
|
|
54
|
+
componentKey: string;
|
|
55
|
+
componentName?: string;
|
|
56
|
+
mapper?: (figma: T) => any;
|
|
69
57
|
}
|
|
70
58
|
export interface FigmaMappingWithUrlMapper<T extends BaseFigmaProps> {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
59
|
+
url: FigmaURL;
|
|
60
|
+
componentKey?: string;
|
|
61
|
+
componentName?: string;
|
|
62
|
+
mapper?: (figma: T) => any;
|
|
75
63
|
}
|
|
76
64
|
export interface FigmaGenericMapper {
|
|
77
|
-
|
|
65
|
+
genericMapper: (figma: FigmaProps) => any;
|
|
78
66
|
}
|
|
79
67
|
export interface FigmaTokenMapper {
|
|
80
|
-
|
|
68
|
+
designTokenMapper: (token: string) => string | undefined | boolean;
|
|
81
69
|
}
|
|
82
|
-
export declare function figmaMapping<T extends BaseFigmaProps = FigmaProps>(
|
|
83
|
-
_config:
|
|
84
|
-
| FigmaMappingWithKeyMapper<T>
|
|
85
|
-
| FigmaMappingWithUrlMapper<T>
|
|
86
|
-
| FigmaGenericMapper
|
|
87
|
-
| FigmaTokenMapper,
|
|
88
|
-
): void;
|
|
70
|
+
export declare function figmaMapping<T extends BaseFigmaProps = FigmaProps>(_config: FigmaMappingWithKeyMapper<T> | FigmaMappingWithUrlMapper<T> | FigmaGenericMapper | FigmaTokenMapper): void;
|
|
89
71
|
export declare function explicitFalse(value: any): any;
|
|
90
|
-
export declare function html(
|
|
91
|
-
strings: TemplateStringsArray,
|
|
92
|
-
...values: any[]
|
|
93
|
-
): any;
|
|
72
|
+
export declare function html(strings: TemplateStringsArray, ...values: any[]): any;
|
|
94
73
|
/**
|
|
95
74
|
* A template string that represents the component code.
|
|
96
75
|
*/
|
|
97
|
-
export declare function tmpl(
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
"@type": string;
|
|
102
|
-
strings: TemplateStringsArray;
|
|
103
|
-
values: any[];
|
|
76
|
+
export declare function tmpl(strings: TemplateStringsArray, ...values: any[]): {
|
|
77
|
+
"@type": string;
|
|
78
|
+
strings: TemplateStringsArray;
|
|
79
|
+
values: any[];
|
|
104
80
|
};
|
|
105
81
|
export interface ChildElement<P = any> {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
82
|
+
type: any;
|
|
83
|
+
props: P;
|
|
84
|
+
key: string | null;
|
|
109
85
|
}
|
|
110
|
-
export type ChildrenNode =
|
|
111
|
-
| ChildElement
|
|
112
|
-
| string
|
|
113
|
-
| number
|
|
114
|
-
| Iterable<ChildrenNode>
|
|
115
|
-
| boolean
|
|
116
|
-
| null
|
|
117
|
-
| undefined;
|
|
86
|
+
export type ChildrenNode = ChildElement | string | number | Iterable<ChildrenNode> | boolean | null | undefined;
|
|
118
87
|
export type ComponentProps<T> = T extends (props: infer P) => any ? P : any;
|
|
119
88
|
export {};
|
package/types/node/node-sys.d.ts
CHANGED
|
@@ -1,20 +1,13 @@
|
|
|
1
1
|
import type { DevToolsSys } from "../types";
|
|
2
2
|
interface DevToolsNodeSysOptions {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
cwd: string;
|
|
4
|
+
skipValidate?: boolean;
|
|
5
|
+
ignoreMissingConfig?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare function createDevToolsNodeSys(
|
|
8
|
-
|
|
9
|
-
): Promise<DevToolsSys>;
|
|
10
|
-
export declare function configHasProperty(
|
|
11
|
-
contents: Record<string, any>,
|
|
12
|
-
key: string,
|
|
13
|
-
): boolean;
|
|
7
|
+
export declare function createDevToolsNodeSys(opts: DevToolsNodeSysOptions): Promise<DevToolsSys>;
|
|
8
|
+
export declare function configHasProperty(contents: Record<string, any>, key: string): boolean;
|
|
14
9
|
export declare function readConfigFile(): Promise<any>;
|
|
15
|
-
export declare function writeConfigFile(
|
|
16
|
-
contents: Record<string, any>,
|
|
17
|
-
): Promise<void>;
|
|
10
|
+
export declare function writeConfigFile(contents: Record<string, any>): Promise<void>;
|
|
18
11
|
export declare function getGitRemoteURL(repoPath: string): string;
|
|
19
12
|
export declare function findPackageJsonDir(dir: string): string | null;
|
|
20
13
|
export declare function findAppRootDir(dir: string): string | null;
|
package/types/remix/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
declare const _default: (
|
|
2
|
-
devToolsOpts?: RemixBuilderDevToolsOptions,
|
|
3
|
-
) => (remixConfig: any) => any;
|
|
1
|
+
declare const _default: (devToolsOpts?: RemixBuilderDevToolsOptions) => (remixConfig: any) => any;
|
|
4
2
|
export default _default;
|
|
5
3
|
export interface RemixBuilderDevToolsOptions {
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
enabled?: boolean;
|
|
5
|
+
devToolsServerPort?: number;
|
|
8
6
|
}
|
package/types/server/auth.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
1
|
import type { DevToolsServerContext } from "../types";
|
|
2
|
-
export declare function getBuilderAuthConnectUrl(
|
|
3
|
-
ctx: DevToolsServerContext,
|
|
4
|
-
previewUrl: string,
|
|
5
|
-
): Promise<string>;
|
|
2
|
+
export declare function getBuilderAuthConnectUrl(ctx: DevToolsServerContext, previewUrl: string): Promise<string>;
|
|
@@ -1,21 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export declare function connectBuilder(
|
|
8
|
-
ctx: DevToolsServerContext,
|
|
9
|
-
publicApiKey: string,
|
|
10
|
-
privateAuthKey: string,
|
|
11
|
-
kind: SPACE_KIND_VALUES,
|
|
12
|
-
): Promise<
|
|
13
|
-
| ConnectedBuilder
|
|
14
|
-
| {
|
|
15
|
-
success: boolean;
|
|
16
|
-
pathname: string;
|
|
17
|
-
}
|
|
18
|
-
>;
|
|
19
|
-
export declare function validateBuilder(
|
|
20
|
-
ctx: DevToolsServerContext,
|
|
21
|
-
): Promise<ValidatedBuilder>;
|
|
1
|
+
import { type DevToolsServerContext, type ConnectedBuilder, type ValidatedBuilder, type SPACE_KIND_VALUES } from "../types";
|
|
2
|
+
export declare function connectBuilder(ctx: DevToolsServerContext, publicApiKey: string, privateAuthKey: string, kind: SPACE_KIND_VALUES): Promise<ConnectedBuilder | {
|
|
3
|
+
success: boolean;
|
|
4
|
+
pathname: string;
|
|
5
|
+
}>;
|
|
6
|
+
export declare function validateBuilder(ctx: DevToolsServerContext): Promise<ValidatedBuilder>;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
import type { DevToolsServerContext } from "../types";
|
|
2
|
-
export declare function getClientScript(
|
|
3
|
-
|
|
4
|
-
): Promise<string>;
|
|
5
|
-
export declare function getConnectedStepHtml(
|
|
6
|
-
ctx: DevToolsServerContext,
|
|
7
|
-
): Promise<string>;
|
|
2
|
+
export declare function getClientScript(ctx: DevToolsServerContext): Promise<string>;
|
|
3
|
+
export declare function getConnectedStepHtml(ctx: DevToolsServerContext): Promise<string>;
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import type { DevToolsServer, DevToolsServerOptions } from "../types";
|
|
2
|
-
export declare function createDevToolsServer(
|
|
3
|
-
opts: DevToolsServerOptions,
|
|
4
|
-
): Promise<DevToolsServer>;
|
|
2
|
+
export declare function createDevToolsServer(opts: DevToolsServerOptions): Promise<DevToolsServer>;
|
|
@@ -1,5 +1,2 @@
|
|
|
1
1
|
import type { ApiResponse, ApiRequest, DevToolsServerContext } from "../types";
|
|
2
|
-
export declare function handleDevApiRequest(
|
|
3
|
-
ctx: DevToolsServerContext,
|
|
4
|
-
apiReq: ApiRequest,
|
|
5
|
-
): Promise<ApiResponse>;
|
|
2
|
+
export declare function handleDevApiRequest(ctx: DevToolsServerContext, apiReq: ApiRequest): Promise<ApiResponse>;
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import type { DevToolsServerContext, DevToolsHttpServer } from "../types";
|
|
2
|
-
export declare function createDevToolsHttpServer(
|
|
3
|
-
ctx: DevToolsServerContext,
|
|
4
|
-
): Promise<DevToolsHttpServer>;
|
|
2
|
+
export declare function createDevToolsHttpServer(ctx: DevToolsServerContext): Promise<DevToolsHttpServer>;
|
package/types/server/index.d.ts
CHANGED
|
@@ -1,30 +1,3 @@
|
|
|
1
|
-
export type {
|
|
2
|
-
ApiRequest,
|
|
3
|
-
ApiResponse,
|
|
4
|
-
ApiConnectBuilderRequest,
|
|
5
|
-
ApiDevToolsEnabledRequest,
|
|
6
|
-
ApiLocalConfigRequest,
|
|
7
|
-
ApiGetRegistryRequest,
|
|
8
|
-
ApiLaunchEditorRequest,
|
|
9
|
-
ApiRegisterComponentRequest,
|
|
10
|
-
ApiRegisteredComponentInfoRequest,
|
|
11
|
-
ApiRegisteredComponentInputRequest,
|
|
12
|
-
ApiLoadComponentRequest,
|
|
13
|
-
ApiUnregisterComponentRequest,
|
|
14
|
-
ApiValidateBuilderRequest,
|
|
15
|
-
ApiFrameworksRequest,
|
|
16
|
-
ApiReadFileRequest,
|
|
17
|
-
ApiWriteFileRequest,
|
|
18
|
-
ApiReaddirRequest,
|
|
19
|
-
ComponentRegistry,
|
|
20
|
-
DevToolsServer,
|
|
21
|
-
DevToolsServerOptions,
|
|
22
|
-
Framework,
|
|
23
|
-
GetRegistryOptions,
|
|
24
|
-
TranspileDiagnostic,
|
|
25
|
-
TranspileFileOptions,
|
|
26
|
-
TranspileModuleOptions,
|
|
27
|
-
TranspileResult,
|
|
28
|
-
} from "../types";
|
|
1
|
+
export type { ApiRequest, ApiResponse, ApiConnectBuilderRequest, ApiDevToolsEnabledRequest, ApiLocalConfigRequest, ApiGetRegistryRequest, ApiLaunchEditorRequest, ApiRegisterComponentRequest, ApiRegisteredComponentInfoRequest, ApiRegisteredComponentInputRequest, ApiLoadComponentRequest, ApiUnregisterComponentRequest, ApiValidateBuilderRequest, ApiFrameworksRequest, ApiReadFileRequest, ApiWriteFileRequest, ApiReaddirRequest, ComponentRegistry, DevToolsServer, DevToolsServerOptions, Framework, GetRegistryOptions, TranspileDiagnostic, TranspileFileOptions, TranspileModuleOptions, TranspileResult, } from "../types";
|
|
29
2
|
export { createDevToolsServer } from "./create-dev-tools-server";
|
|
30
3
|
export declare const version: string;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
1
|
import type { DevToolsServerContext } from "../types";
|
|
2
2
|
import type { IncomingMessage, Server, ServerResponse } from "http";
|
|
3
|
-
export declare function handleDevRequest(
|
|
4
|
-
ctx: DevToolsServerContext | null,
|
|
5
|
-
server: Server,
|
|
6
|
-
req: IncomingMessage,
|
|
7
|
-
res: ServerResponse,
|
|
8
|
-
): Promise<void>;
|
|
3
|
+
export declare function handleDevRequest(ctx: DevToolsServerContext | null, server: Server, req: IncomingMessage, res: ServerResponse): Promise<void>;
|