@contentful/experience-design-system-cli 2.35.0 → 2.35.1-dev-build-041b6e0a.0
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/bin/cli.js +1 -57
- package/dist/app.d.ts +9 -0
- package/dist/app.js +997 -0
- package/dist/index.js +1216 -0
- package/dist/package.json +10 -15
- package/dist/program.d.ts +2 -0
- package/dist/src/legacy/legacy-cli-path.d.ts +1 -0
- package/dist/src/legacy/run-legacy.d.ts +1 -0
- package/dist/src/tui/debug-store.d.ts +14 -0
- package/dist/src/tui/help/PageContainer.d.ts +4 -0
- package/dist/src/tui/home/home.d.ts +5 -0
- package/dist/src/tui/home/home.theme.d.ts +14 -0
- package/dist/src/tui/import/PageContainer.d.ts +5 -0
- package/dist/src/tui/import/spawn-v1-import.d.ts +28 -0
- package/dist/src/tui/import/terminal-input.d.ts +2 -0
- package/dist/src/tui/package-root.d.ts +9 -0
- package/dist/src/tui/settings/PageContainer.d.ts +6 -0
- package/dist/src/tui/settings/contentful-configuration/ContentfulConfigScreen.d.ts +4 -0
- package/dist/src/tui/settings/contentful-configuration/config-store.d.ts +9 -0
- package/dist/src/tui/settings/debug-mode/debug-mode-store.d.ts +5 -0
- package/dist/src/tui/settings/debug-mode/screen.d.ts +4 -0
- package/dist/src/tui/settings/opt-in-analytics/analytics-store.d.ts +5 -0
- package/dist/src/tui/settings/opt-in-analytics/screen.d.ts +4 -0
- package/dist/src/tui/settings/utils/v1-store.d.ts +2 -0
- package/dist/src/tui/upgrade/PageContainer.d.ts +4 -0
- package/dist/src/tui/upgrade/version.d.ts +12 -0
- package/dist/src/tui/use-terminal-width.d.ts +1 -0
- package/legacy/bin/cli.js +58 -0
- package/legacy/dist/package.json +73 -0
- package/legacy/dist/src/index.d.ts +1 -0
- package/{dist → legacy/dist}/src/index.js +465 -457
- package/legacy/package.json +77 -0
- package/package.json +12 -17
- package/README.md +0 -245
- /package/dist/{src/index.d.ts → index.d.ts} +0 -0
- /package/{dist → legacy/dist}/src/analytics/apply.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analytics/client.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analytics/constants.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analytics/exit.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analytics/index.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analytics/normalize.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analytics/os.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analytics/session.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analytics/tracker.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analytics/types.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/composite-closure.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/composition/apply-mapping.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/composition/candidate-files.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/composition/composition-cache-key.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/composition/interchange-schema.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/composition/manifest-doc-evidence.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/composition/merge-edges.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/composition/parse-map-edges.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/composition/prompt-loader.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/composition/resolve-mapping-cli.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/composition/resolve-mapping.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/cycle-detection.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/cycle-view.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/extract-command.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/fuzzy-search.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/issue-inheritance.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/lineage.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/scope-gate-cascade.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/search-neighborhood.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/command.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/parser.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/persistence.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/preview-annotations.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/LegacySelectApp.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/ComponentDetail.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/ComponentRationalePanel.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/FieldEditor.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/FinalizeDialog.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/GotoBanner.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/GroupedSidebar.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/HelpOverlay.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/HighlightedLine.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/JsonEditor.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/JsonPanel.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/PreviewSummaryBar.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/QuitDialog.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/RationaleLine.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/RationalePanel.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/ScrollablePanel.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/Sidebar.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/SourcePanel.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/StatusBar.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/TokenReviewPanel.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/TopBar.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/removed-components-text.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/components/wrap-text.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/hooks/list-scroll-input.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/hooks/scroll-offset.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/hooks/useImmediateInput.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/hooks/useKeymap.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/hooks/useSession.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/hooks/useUndo.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/tui/theme.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/select/types.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/selection-cascade.d.ts +0 -0
- /package/{dist → legacy/dist}/src/analyze/slot-graph.d.ts +0 -0
- /package/{dist → legacy/dist}/src/apply/api-client.d.ts +0 -0
- /package/{dist → legacy/dist}/src/apply/command.d.ts +0 -0
- /package/{dist → legacy/dist}/src/apply/preview-utils.d.ts +0 -0
- /package/{dist → legacy/dist}/src/apply/tokens.d.ts +0 -0
- /package/{dist → legacy/dist}/src/apply/tui/ServerApplyView.d.ts +0 -0
- /package/{dist → legacy/dist}/src/apply/tui/ServerPreviewView.d.ts +0 -0
- /package/{dist → legacy/dist}/src/credentials-store.d.ts +0 -0
- /package/{dist → legacy/dist}/src/doctor/checks.d.ts +0 -0
- /package/{dist → legacy/dist}/src/doctor/command.d.ts +0 -0
- /package/{dist → legacy/dist}/src/doctor/report.d.ts +0 -0
- /package/{dist → legacy/dist}/src/generate/command.d.ts +0 -0
- /package/{dist → legacy/dist}/src/generate/tui/GenerateView.d.ts +0 -0
- /package/{dist → legacy/dist}/src/helpers/build-contentful-management-client.d.ts +0 -0
- /package/{dist → legacy/dist}/src/helpers/fetch-and-persist-existing-contentful-entities.d.ts +0 -0
- /package/{dist → legacy/dist}/src/helpers/fetch-existing-contentful-entities.d.ts +0 -0
- /package/{dist → legacy/dist}/src/helpers/find-nearly-matching-component.d.ts +0 -0
- /package/{dist → legacy/dist}/src/helpers/read-existing-contentful-entities-from-session.d.ts +0 -0
- /package/{dist → legacy/dist}/src/helpers/summarize-existing-contentful-entities.d.ts +0 -0
- /package/{dist → legacy/dist}/src/host-utils.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/agent-model-resolve.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/command.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/composition-options.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/cycle-auto-reject.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/path-utils.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/CustomPromptBanner.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/WizardApp.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/ai-flag.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/autocomplete.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/components/CompactControlBar.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/components/CounterStrip.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/components/LegendEntry.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/components/LivePreviewSummary.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/components/ReviewComponentPanel.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/components/ReviewDetailsEditor.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/components/ReviewDialogs.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/components/ReviewStatus.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/components/SearchMatchSummary.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/components/SpaceEnvironment.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/components/StepHeader.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/cycle-panel-scroll.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/group-collapse.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/history.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/hooks/review-input.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/hooks/sidebar-search-state.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/hooks/useOverlayPanel.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/hooks/useReviewEditor.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/hooks/useReviewPreview.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/hooks/useReviewSession.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/hooks/useReviewSurfaceState.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/lineage-layout.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/preview-confirmation-input.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/push-progress.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/run-print-files-helpers.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/run-selection-agent.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/run-teaser.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/runLivePreview.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/runScopeGate.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/scope-gate-columns.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/sidebar-help.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/sidebar-input.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/sidebar-navigation.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/sidebar-width.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/spawn-generate.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/step-filters.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/steps/CredentialsStep.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/steps/DoneStep.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/steps/ErrorStep.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/steps/GateStep.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/steps/GenerateReviewStep.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/steps/PathValidationStep.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/steps/PreviewValidationErrorStep.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/steps/PushingStep.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/steps/RunningStep.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/steps/ScopeGateStep.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/steps/TokenInputStep.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/steps/WelcomeStep.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/steps/WizardPreviewStep.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/steps/auto-reject-decision.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/steps/breaking-change-format.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/steps/enumerate-cycle-breaks.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/steps/preview-diff.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/steps/review-details-panel.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/steps/review-json-panel.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/useFinalizePreview.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/useLivePreview.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/wizard-422-helpers.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/wizard-generate-progress.d.ts +0 -0
- /package/{dist → legacy/dist}/src/import/tui/wizard-state-transitions.d.ts +0 -0
- /package/{dist → legacy/dist}/src/lib/agent-definitions.d.ts +0 -0
- /package/{dist → legacy/dist}/src/lib/agent-model-options.d.ts +0 -0
- /package/{dist → legacy/dist}/src/lib/agent-output.d.ts +0 -0
- /package/{dist → legacy/dist}/src/lib/cli-errors.d.ts +0 -0
- /package/{dist → legacy/dist}/src/lib/cli-path.d.ts +0 -0
- /package/{dist → legacy/dist}/src/lib/command-options.d.ts +0 -0
- /package/{dist → legacy/dist}/src/lib/component-patch.d.ts +0 -0
- /package/{dist → legacy/dist}/src/lib/contentful-urls.d.ts +0 -0
- /package/{dist → legacy/dist}/src/lib/debug-logger.d.ts +0 -0
- /package/{dist → legacy/dist}/src/lib/debug-preamble.d.ts +0 -0
- /package/{dist → legacy/dist}/src/lib/error-parser.d.ts +0 -0
- /package/{dist → legacy/dist}/src/lib/path-exists.d.ts +0 -0
- /package/{dist → legacy/dist}/src/lib/prompt-overrides.d.ts +0 -0
- /package/{dist → legacy/dist}/src/lib/terminal-capabilities.d.ts +0 -0
- /package/{dist → legacy/dist}/src/lib/user-agent.d.ts +0 -0
- /package/{dist → legacy/dist}/src/map-tokens/apply.d.ts +0 -0
- /package/{dist → legacy/dist}/src/map-tokens/command.d.ts +0 -0
- /package/{dist → legacy/dist}/src/map-tokens/resolve-defaults.d.ts +0 -0
- /package/{dist → legacy/dist}/src/map-tokens/tui/MapTokensView.d.ts +0 -0
- /package/{dist → legacy/dist}/src/output/format.d.ts +0 -0
- /package/{dist → legacy/dist}/src/print/command.d.ts +0 -0
- /package/{dist → legacy/dist}/src/print/validate/tui/ValidateView.d.ts +0 -0
- /package/{dist → legacy/dist}/src/print/validate/validators/cdf-validator.d.ts +0 -0
- /package/{dist → legacy/dist}/src/print/validate/validators/dtcg-validator.d.ts +0 -0
- /package/{dist → legacy/dist}/src/print/validate/validators/format-errors.d.ts +0 -0
- /package/{dist → legacy/dist}/src/print/validate/validators/read-json-file.d.ts +0 -0
- /package/{dist → legacy/dist}/src/program.d.ts +0 -0
- /package/{dist → legacy/dist}/src/runs/fingerprint.d.ts +0 -0
- /package/{dist → legacy/dist}/src/runs/path-prompt.d.ts +0 -0
- /package/{dist → legacy/dist}/src/runs/save-path-resolver.d.ts +0 -0
- /package/{dist → legacy/dist}/src/runs/store.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/cache-keys.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/core/cdf/cdf-mappers.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/core/components/derive-component-id.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/core/components/hash-component-shape.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/core/shared/index-rows-by-key.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/core/tokens/build-dtcg-groups.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/core/tokens/build-dtcg-tokens.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/core/tokens/hash-token-content.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/db.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/migration.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/repositories/sessions/read.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/repositories/sessions/write.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/repositories/shared/with-transaction.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/repositories/steps/read.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/repositories/steps/write.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/repositories/tokens/read.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/repositories/tokens/write.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/resolve-session-id.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/services/session-resolver.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/services/tokens/apply-tool-calls.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/services/tokens/replace-raw-prop-token-paths.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/services/tokens/replace-raw-token-name-paths.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/services/tokens/store-dtcg-tokens.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/session-id.d.ts +0 -0
- /package/{dist → legacy/dist}/src/session/source-excerpt.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/SetupScreen.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/SetupStepper.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/command.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/lib/checks.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/lib/shell.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/steps/CodingAgentScreen.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/steps/ContentfulCredentialsScreen.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/steps/StepLayout.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/steps/preferences/AnalyticsScreen.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/steps/preferences/BooleanInput.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/steps/preferences/ColorPreferenceScreen.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/steps/preferences/CustomPromptScreen.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/steps/preferences/DebugLogsScreen.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/steps/preferences/PreferencesMenu.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/steps/prerequisites/PrerequisitesScreen.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/steps/prerequisites/build.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/steps/prerequisites/deps.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/steps/prerequisites/index.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/steps/prerequisites/node.d.ts +0 -0
- /package/{dist → legacy/dist}/src/setup/steps/prerequisites/pnpm.d.ts +0 -0
- /package/{dist → legacy/dist}/src/tui/CommandCompletionView.d.ts +0 -0
- /package/{dist → legacy/dist}/src/tui/render-with-goodbye.d.ts +0 -0
- /package/{dist → legacy/dist}/src/tui/use-blinking-cursor.d.ts +0 -0
- /package/{dist → legacy/dist}/src/tui/use-terminal-size.d.ts +0 -0
- /package/{dist → legacy/dist}/src/tui/use-timed-spinner.d.ts +0 -0
- /package/{dist → legacy/dist}/src/tui/windowed-panel.d.ts +0 -0
- /package/{dist → legacy/dist}/src/types.d.ts +0 -0
- /package/{prompts → legacy/prompts}/composition-edges.md +0 -0
- /package/{skills → legacy/skills}/generate-components.md +0 -0
- /package/{skills → legacy/skills}/generate-tokens.md +0 -0
- /package/{skills → legacy/skills}/map-tokens.md +0 -0
- /package/{skills → legacy/skills}/select-components.md +0 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@contentful/experience-design-system-cli",
|
|
3
|
+
"version": "2.35.1-dev-build-041b6e0a.0",
|
|
4
|
+
"description": "Contentful Experiences design system import CLI",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"experience-design-system-cli": "./bin/cli.js",
|
|
9
|
+
"experiences": "./bin/cli.js",
|
|
10
|
+
"exo": "./bin/cli.js"
|
|
11
|
+
},
|
|
12
|
+
"main": "./dist/index.js",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": "./dist/index.js",
|
|
15
|
+
"./app": {
|
|
16
|
+
"types": "./dist/app.d.ts",
|
|
17
|
+
"import": "./dist/app.js",
|
|
18
|
+
"node": "./dist/app.js"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"access": "public",
|
|
23
|
+
"registry": "https://npm.pkg.github.com/"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"bin/",
|
|
27
|
+
"dist/",
|
|
28
|
+
"legacy/"
|
|
29
|
+
],
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "nx build experience-design-system-cli",
|
|
32
|
+
"typecheck": "nx typecheck experience-design-system-cli",
|
|
33
|
+
"clean": "nx clean experience-design-system-cli",
|
|
34
|
+
"test": "nx test experience-design-system-cli",
|
|
35
|
+
"lint": "nx lint experience-design-system-cli",
|
|
36
|
+
"lint:fix": "nx lint:fix experience-design-system-cli"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@contentful/experience-design-system-types": "workspace:*",
|
|
40
|
+
"@inkjs/ui": "^2.0.0",
|
|
41
|
+
"@segment/analytics-node": "^3.0.0",
|
|
42
|
+
"@vue/compiler-sfc": "^3.5.31",
|
|
43
|
+
"commander": "^13.1.0",
|
|
44
|
+
"contentful-management": "^12.17.0",
|
|
45
|
+
"figures": "6.1.0",
|
|
46
|
+
"ink": "^5.2.1",
|
|
47
|
+
"react": "^18.3.1",
|
|
48
|
+
"react-devtools-core": "^4.19.1",
|
|
49
|
+
"semver": "^7.7.2",
|
|
50
|
+
"svelte": "^5.56.4",
|
|
51
|
+
"ts-morph": "^27.0.2",
|
|
52
|
+
"typescript": "^5.9.3"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@tsconfig/node24": "^24.0.4",
|
|
56
|
+
"@types/node": "^24.0.3",
|
|
57
|
+
"@types/react": "^18.3.24",
|
|
58
|
+
"@types/semver": "^7.7.1",
|
|
59
|
+
"eslint": "^9.39.5",
|
|
60
|
+
"eslint-config-prettier": "^10.1.8",
|
|
61
|
+
"eslint-plugin-prettier": "^5.5.6",
|
|
62
|
+
"typescript-eslint": "^8.67.0",
|
|
63
|
+
"vitest": "^4.0.16"
|
|
64
|
+
},
|
|
65
|
+
"repository": {
|
|
66
|
+
"type": "git",
|
|
67
|
+
"url": "git+https://github.com/contentful/experience-design-system-sdk-public.git",
|
|
68
|
+
"directory": "packages/experience-design-system-cli"
|
|
69
|
+
},
|
|
70
|
+
"homepage": "https://github.com/contentful/experience-design-system-sdk-public#readme",
|
|
71
|
+
"bugs": {
|
|
72
|
+
"url": "https://github.com/contentful/experience-design-system-sdk-public/issues"
|
|
73
|
+
},
|
|
74
|
+
"engines": {
|
|
75
|
+
"node": ">=24"
|
|
76
|
+
}
|
|
77
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/experience-design-system-cli",
|
|
3
|
-
"version": "2.35.0",
|
|
3
|
+
"version": "2.35.1-dev-build-041b6e0a.0",
|
|
4
4
|
"description": "Contentful Experiences design system import CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"experiences": "./bin/cli.js",
|
|
10
10
|
"exo": "./bin/cli.js"
|
|
11
11
|
},
|
|
12
|
-
"main": "./dist/
|
|
13
|
-
"types": "./dist/src/index.d.ts",
|
|
12
|
+
"main": "./dist/index.js",
|
|
14
13
|
"exports": {
|
|
15
|
-
".":
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
"
|
|
14
|
+
".": "./dist/index.js",
|
|
15
|
+
"./app": {
|
|
16
|
+
"types": "./dist/app.d.ts",
|
|
17
|
+
"import": "./dist/app.js",
|
|
18
|
+
"node": "./dist/app.js"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
@@ -25,8 +25,7 @@
|
|
|
25
25
|
"files": [
|
|
26
26
|
"bin/",
|
|
27
27
|
"dist/",
|
|
28
|
-
"
|
|
29
|
-
"skills/"
|
|
28
|
+
"legacy/"
|
|
30
29
|
],
|
|
31
30
|
"dependencies": {
|
|
32
31
|
"@inkjs/ui": "^2.0.0",
|
|
@@ -38,25 +37,22 @@
|
|
|
38
37
|
"ink": "^5.2.1",
|
|
39
38
|
"react": "^18.3.1",
|
|
40
39
|
"react-devtools-core": "^4.19.1",
|
|
40
|
+
"semver": "^7.7.2",
|
|
41
41
|
"svelte": "^5.56.4",
|
|
42
42
|
"ts-morph": "^27.0.2",
|
|
43
43
|
"typescript": "^5.9.3",
|
|
44
|
-
"@contentful/experience-design-system-
|
|
45
|
-
"@contentful/experience-design-system-types": "2.35.0"
|
|
44
|
+
"@contentful/experience-design-system-types": "2.35.1-dev-build-041b6e0a.0"
|
|
46
45
|
},
|
|
47
46
|
"devDependencies": {
|
|
48
47
|
"@tsconfig/node24": "^24.0.4",
|
|
49
48
|
"@types/node": "^24.0.3",
|
|
50
49
|
"@types/react": "^18.3.24",
|
|
50
|
+
"@types/semver": "^7.7.1",
|
|
51
51
|
"eslint": "^9.39.5",
|
|
52
52
|
"eslint-config-prettier": "^10.1.8",
|
|
53
53
|
"eslint-plugin-prettier": "^5.5.6",
|
|
54
|
-
"ink-testing-library": "^4.0.0",
|
|
55
54
|
"typescript-eslint": "^8.67.0",
|
|
56
|
-
"vitest": "^4.0.16"
|
|
57
|
-
"@contentful/experience-design-system-client": "2.35.0",
|
|
58
|
-
"@contentful/experience-design-system-generation": "2.35.0",
|
|
59
|
-
"@contentful/experience-design-system-extraction": "2.35.0"
|
|
55
|
+
"vitest": "^4.0.16"
|
|
60
56
|
},
|
|
61
57
|
"repository": {
|
|
62
58
|
"type": "git",
|
|
@@ -75,7 +71,6 @@
|
|
|
75
71
|
"typecheck": "nx typecheck experience-design-system-cli",
|
|
76
72
|
"clean": "nx clean experience-design-system-cli",
|
|
77
73
|
"test": "nx test experience-design-system-cli",
|
|
78
|
-
"test:watch": "nx test:watch experience-design-system-cli",
|
|
79
74
|
"lint": "nx lint experience-design-system-cli",
|
|
80
75
|
"lint:fix": "nx lint:fix experience-design-system-cli"
|
|
81
76
|
}
|
package/README.md
DELETED
|
@@ -1,245 +0,0 @@
|
|
|
1
|
-
# @contentful/experience-design-system-cli
|
|
2
|
-
|
|
3
|
-
CLI for extracting, reviewing, generating, validating, and pushing Contentful Experience Design System component definitions into Experiences.
|
|
4
|
-
|
|
5
|
-
## Binaries
|
|
6
|
-
|
|
7
|
-
The package installs three equivalent binaries:
|
|
8
|
-
|
|
9
|
-
| Binary | Notes |
|
|
10
|
-
| ------------------------------ | ----------------------------------------------------- |
|
|
11
|
-
| `experiences` | Preferred entry point — short and operator-facing |
|
|
12
|
-
| `exo` | Shorthand for Experience Orchestration |
|
|
13
|
-
| `experience-design-system-cli` | Full name; used in CI / scripts where clarity matters |
|
|
14
|
-
|
|
15
|
-
The rest of this README uses `experiences`.
|
|
16
|
-
|
|
17
|
-
## CLI Overview
|
|
18
|
-
|
|
19
|
-
The CLI has two primary workflows:
|
|
20
|
-
|
|
21
|
-
1. **`experiences import`** — the wizard. Drives the full pipeline (extract → AI select → scope-gate → generation → final-review → save and push) from a single command in a full-screen interactive TUI. **This is the recommended path for almost everyone.**
|
|
22
|
-
|
|
23
|
-
2. **`experiences apply <file>`** — applies a CDF file of component and token definitions to Contentful.
|
|
24
|
-
|
|
25
|
-
`experiences setup` and `experiences doctor` configure and check your environment. `experiences importv2` launches the newer v2 TUI, and `experiences build` rebuilds a local checkout and re-links the binaries.
|
|
26
|
-
|
|
27
|
-
The import wizard owns extraction, selection, generation, validation, and apply orchestration internally; those implementation stages are not exposed as public commands. Hidden internal commands (`__extract`, `__generate`, `map tokens`, `print`) are what the wizard runs in subprocesses.
|
|
28
|
-
|
|
29
|
-
All intermediate data flows through a local SQLite session database (`~/.contentful/experience-design-system-cli/pipeline.db`). No JSON files are written between steps — each pipeline step reads its inputs from the session and writes its outputs back to it.
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
## Composite components & composition
|
|
34
|
-
|
|
35
|
-
A **composite component** is one that renders other components inside it — a `Card` that slots a `Button` and an `Icon`, a `Tabs` that slots `Tab` panels. When you import composite components, the CLI can populate each slot's `$allowedComponents` so the parent→child relationships survive into Contentful.
|
|
36
|
-
|
|
37
|
-
All imports use composite mode: embedded-component relationships are resolved and preserved in the generated CDF.
|
|
38
|
-
|
|
39
|
-
### How composition is resolved
|
|
40
|
-
|
|
41
|
-
Relationships are resolved from the highest-confidence source available, in this precedence order:
|
|
42
|
-
|
|
43
|
-
1. **Typed slots (code)** — slots the source already declares, e.g. React `ReactElement<XProps>` / `children`, Svelte `Snippet<[XProps]>`, or an explicit `@allowedComponents` JSDoc tag. Fully deterministic; picked up automatically.
|
|
44
|
-
2. **Agent** — direct edge emission for codebases that encode composition in _code patterns_ rather than typed slots (common in real-world design systems). It is enabled automatically in composite mode and only runs when the deterministic sources above find nothing.
|
|
45
|
-
|
|
46
|
-
When more than one source speaks to the same relationship, the higher-precedence one wins (**code slots > agent**).
|
|
47
|
-
|
|
48
|
-
### The composition agent
|
|
49
|
-
|
|
50
|
-
The composition agent emits one structured edge per relationship. The CLI validates component names and merges those edges with deterministic sources by provenance and precedence.
|
|
51
|
-
|
|
52
|
-
- `--no-cache` — ignore caches and re-resolve composition from scratch, forcing the agent to run.
|
|
53
|
-
- `--agent <name>` — which coding agent runs composition, and the rest of the wizard's agent stages (`claude`, `codex`, `opencode`, `cursor`, `copilot`).
|
|
54
|
-
- `--prompt composition=<file-or-text>` — override the composition stage's prompt.
|
|
55
|
-
|
|
56
|
-
Because the agent path spawns a coding agent, it adds latency and cost and is best-effort.
|
|
57
|
-
|
|
58
|
-
### Slot cycles
|
|
59
|
-
|
|
60
|
-
If the resolved graph contains a circular slot dependency (A slots B, B slots A), it is detected before push. `apply` and the wizard's push path **refuse to send a manifest with cycles**; the cycle path is reported so you can break it.
|
|
61
|
-
|
|
62
|
-
---
|
|
63
|
-
|
|
64
|
-
## Prerequisites
|
|
65
|
-
|
|
66
|
-
### Coding agent
|
|
67
|
-
|
|
68
|
-
The import wizard's generation steps require a coding agent CLI in your `$PATH`. Choose one:
|
|
69
|
-
|
|
70
|
-
| Agent | Install | Auth |
|
|
71
|
-
| ------------------------------ | ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
72
|
-
| **Claude Code** (`claude`) | `npm install -g @anthropic-ai/claude-code` | `claude login` (browser OAuth) **or** set `ANTHROPIC_API_KEY` |
|
|
73
|
-
| **OpenAI Codex** (`codex`) | `npm install -g @openai/codex` | Set `OPENAI_API_KEY` |
|
|
74
|
-
| **OpenCode** (`opencode`) | `npm install -g opencode-ai` | Configure via `opencode auth` (supports multiple providers) |
|
|
75
|
-
| **Cursor** (`cursor`) | Install [Cursor](https://cursor.com) | Sign in to Cursor; exposes `cursor-agent` binary |
|
|
76
|
-
| **GitHub Copilot** (`copilot`) | `npm install -g @github/copilot` | Run `copilot` once to complete GitHub OAuth login. Free plan uses Auto model selection by default. Paid plans can pin a specific model via `EDS_AGENT_MODEL_COPILOT=<model-id>` (e.g. `claude-sonnet-4.6`) |
|
|
77
|
-
|
|
78
|
-
The CLI invokes the agent non-interactively in a subprocess. If the binary is not found in `$PATH`, the command exits 1 and prints manual fallback instructions.
|
|
79
|
-
|
|
80
|
-
`experiences setup` persists your chosen agent (and optional model + custom prompt paths) to `~/.config/experiences/credentials.json`; later commands pick them up automatically.
|
|
81
|
-
|
|
82
|
-
### Contentful credentials
|
|
83
|
-
|
|
84
|
-
`apply` and `import` (when pushing) require access to a Contentful space. Configure these environment variables or run `experiences setup`:
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
export CONTENTFUL_MANAGEMENT_TOKEN=<your-cma-token> # required
|
|
88
|
-
export CONTENTFUL_SPACE_ID=<your-space-id> # required
|
|
89
|
-
export CONTENTFUL_ENVIRONMENT_ID=master # required
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
Or run `experiences setup` once and they get saved to `credentials.json` and pre-filled in the wizard.
|
|
93
|
-
|
|
94
|
-
In the wizard's credentials step you can press `[s] Skip` to save-only without pushing — useful when you want a checked-in combined CDF file without a live push.
|
|
95
|
-
|
|
96
|
-
---
|
|
97
|
-
|
|
98
|
-
## The `import` wizard
|
|
99
|
-
|
|
100
|
-
```bash
|
|
101
|
-
experiences import [flags]
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
`experiences import` is the primary entry point and launches a full-screen wizard in a supported interactive terminal.
|
|
105
|
-
|
|
106
|
-
### Wizard step machine
|
|
107
|
-
|
|
108
|
-
The order below is the normal path. The first step depends on how the wizard is started: `--project` jumps straight to `token-input`, and `--tokens` jumps to `path-validation` (with `--project`) or `credentials` (without it).
|
|
109
|
-
|
|
110
|
-
```
|
|
111
|
-
welcome — project path
|
|
112
|
-
↓
|
|
113
|
-
token-input — optional raw token file; Enter on an empty field skips
|
|
114
|
-
↓ (token-generation and token-reuse-gate run here when a file is given)
|
|
115
|
-
path-validation — confirms the project path and how many files will be scanned
|
|
116
|
-
↓
|
|
117
|
-
credentials — space ID, environment, CMA token and API host, prefilled from
|
|
118
|
-
`experiences setup`; press [s] to skip and save files only
|
|
119
|
-
↓
|
|
120
|
-
extracting — composite relationships enabled; the selection agent runs here
|
|
121
|
-
once components are extracted
|
|
122
|
-
↓
|
|
123
|
-
scope-gate — single human review gate: confirm the AI selection, toggle components
|
|
124
|
-
↓
|
|
125
|
-
generating — component generation, then token mapping when a token file was given
|
|
126
|
-
↓
|
|
127
|
-
final-review — edit names, $description, $default, $allowedComponents per slot,
|
|
128
|
-
$values, with source and rationale panels
|
|
129
|
-
↓
|
|
130
|
-
path-prompt — where to save `components.json` (and `tokens.json`)
|
|
131
|
-
↓
|
|
132
|
-
previewing → preview-gate — diff against live Contentful; confirm to push
|
|
133
|
-
↓
|
|
134
|
-
pushing → done — the push emits a Contentful webapp view URL for the imported components
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
There is a single human review gate (`scope-gate`) before generation. Choosing to skip credentials still saves the files; it bypasses the preview and refuses to push.
|
|
138
|
-
|
|
139
|
-
### Save and push
|
|
140
|
-
|
|
141
|
-
After final-review the wizard always saves one combined `components.json` CDF (components and design tokens) and then, unless credentials were skipped, previews the diff and pushes it to Contentful. The wizard records each saved run in `~/.config/experiences/runs.json`.
|
|
142
|
-
|
|
143
|
-
### Custom skill prompts
|
|
144
|
-
|
|
145
|
-
Custom `.md` skill prompt paths can be saved via `experiences setup`; the CLI emits a banner at agent invocation when an override is active.
|
|
146
|
-
|
|
147
|
-
### Flag reference — `experiences import`
|
|
148
|
-
|
|
149
|
-
| Flag | Default | Description |
|
|
150
|
-
| ------------------------ | ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
151
|
-
| `--project <path>` | `.` | Project root to analyze |
|
|
152
|
-
| `--tokens <path>` | — | Raw token source file (SCSS, CSS variables, JS/TS, Style Dictionary, …) to classify and import alongside components; skips the interactive token prompt |
|
|
153
|
-
| `--agent <name>` | saved by setup / `claude` | Coding agent, with an optional model as `agent:model` or `"agent model"` |
|
|
154
|
-
| `--prompt <stage=value>` | — | Override a stage prompt (repeatable); value is a file path or literal text, e.g. `--prompt select=./p.md`. Stages used today: `composition`, `select`, `map-tokens` |
|
|
155
|
-
| `--no-cache` | cache on | Re-run all steps instead of reusing cached results |
|
|
156
|
-
|
|
157
|
-
`--model`, `--composition-map`, `--skip-map-tokens` and `--raw-tokens` were removed from `import`. Unknown flags are rejected. Pass the model through `--agent` instead, and use `--tokens` for a token file.
|
|
158
|
-
|
|
159
|
-
### Choosing the agent and model
|
|
160
|
-
|
|
161
|
-
`--agent` accepts `claude`, `codex`, `opencode`, `cursor` or `copilot`, optionally followed by a model: `--agent claude:sonnet` or `--agent "claude sonnet"`. The agent resolves in this order:
|
|
162
|
-
|
|
163
|
-
1. `--agent <name>` flag
|
|
164
|
-
2. `agent` field saved in `~/.config/experiences/credentials.json` by `experiences setup`
|
|
165
|
-
3. Built-in default, `claude`
|
|
166
|
-
|
|
167
|
-
The model resolves the same way: the model part of `--agent`, then the `agentModel` field in `credentials.json`, then the agent's own lightweight default. You can also set a model per agent with `EDS_AGENT_MODEL_<AGENT>` (for example `EDS_AGENT_MODEL_CLAUDE`).
|
|
168
|
-
|
|
169
|
-
---
|
|
170
|
-
|
|
171
|
-
### `apply`
|
|
172
|
-
|
|
173
|
-
This command is the non-wizard route to the same diff and push logic. It accepts one CDF file containing all component and design token definitions.
|
|
174
|
-
|
|
175
|
-
`apply` emits a Contentful webapp view URL for the imported components in its JSON summary (`viewUrl`) so callers can deep-link into the management UI after a successful push.
|
|
176
|
-
|
|
177
|
-
Design tokens are read from the same CDF file, so there is no separate token flag.
|
|
178
|
-
|
|
179
|
-
```bash
|
|
180
|
-
experiences apply <file>
|
|
181
|
-
```
|
|
182
|
-
|
|
183
|
-
`apply` is interactive and loads credentials from `experiences setup` or environment variables. Remote ComponentTypes and DesignTokens missing from the pushed manifest are always skipped.
|
|
184
|
-
|
|
185
|
-
Design tokens are written first (component types may reference token kinds). Each entity write is recorded in the session database atomically — interrupted pushes resume from where they left off.
|
|
186
|
-
|
|
187
|
-
---
|
|
188
|
-
|
|
189
|
-
## Session Database
|
|
190
|
-
|
|
191
|
-
All pipeline state is stored in `~/.contentful/experience-design-system-cli/pipeline.db` (SQLite). The path can be overridden with the `EDS_PIPELINE_DB_PATH` environment variable. The push-resumption database is at `~/.contentful/experience-design-system-cli/import.db` (override with `EDS_IMPORT_DB_PATH`).
|
|
192
|
-
|
|
193
|
-
---
|
|
194
|
-
|
|
195
|
-
## Terminal Compatibility
|
|
196
|
-
|
|
197
|
-
- The scope-gate step shows two columns at 100 or more terminal columns and one column below that; a wider terminal is more comfortable for the final-review editor
|
|
198
|
-
- `NO_COLOR=1` suppresses all ANSI color output
|
|
199
|
-
- Interactive views require both stdin and stdout to be TTYs and stdin to support raw mode.
|
|
200
|
-
- On Windows, use Windows Terminal with PowerShell. Older ConEmu and cmd.exe hosts may not provide the raw-mode support the interactive UI needs.
|
|
201
|
-
- `experiences import` does not provide a non-interactive execution mode.
|
|
202
|
-
|
|
203
|
-
---
|
|
204
|
-
|
|
205
|
-
## Usage data
|
|
206
|
-
|
|
207
|
-
The CLI collects **anonymous usage data** to help us understand which commands are used and where the import workflow succeeds or fails. This data does **not** include your source code, file paths, credentials, prompts, or any content you author.
|
|
208
|
-
|
|
209
|
-
What may be included:
|
|
210
|
-
|
|
211
|
-
- Command name and duration
|
|
212
|
-
- CLI, Node.js, and operating-system version
|
|
213
|
-
- Anonymous session identifiers that link steps within a single import run
|
|
214
|
-
- Structural counts (for example, how many components were extracted or accepted)
|
|
215
|
-
- Space and environment IDs you pass on the command line
|
|
216
|
-
- Contentful request IDs from API responses (to correlate failures with server logs)
|
|
217
|
-
|
|
218
|
-
You can turn this off two ways:
|
|
219
|
-
|
|
220
|
-
- Persistently: run `experiences setup`, open **Usage analytics** and choose "Don't share usage data". This writes `analyticsDisabled: true` to `~/.config/experiences/credentials.json`, which persists across invocations until you change it again — it will not silently re-enable itself.
|
|
221
|
-
- Per invocation:
|
|
222
|
-
|
|
223
|
-
```bash
|
|
224
|
-
DISABLE_ANALYTICS=1 experiences import --project ./my-app
|
|
225
|
-
```
|
|
226
|
-
|
|
227
|
-
Setting `DISABLE_ANALYTICS` to any value disables collection for that invocation. This is additive with the persisted opt-out — it can only disable, never re-enable, collection that setup has turned off.
|
|
228
|
-
|
|
229
|
-
---
|
|
230
|
-
|
|
231
|
-
## Development
|
|
232
|
-
|
|
233
|
-
```bash
|
|
234
|
-
# Install dependencies from repo root
|
|
235
|
-
pnpm install
|
|
236
|
-
|
|
237
|
-
# Build
|
|
238
|
-
pnpm -F @contentful/experience-design-system-cli build
|
|
239
|
-
|
|
240
|
-
# Run tests
|
|
241
|
-
pnpm -F @contentful/experience-design-system-cli test
|
|
242
|
-
|
|
243
|
-
# Typecheck
|
|
244
|
-
pnpm -F @contentful/experience-design-system-cli typecheck
|
|
245
|
-
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{dist → legacy/dist}/src/analyze/select/tui/components/ComponentRationalePanel.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{dist → legacy/dist}/src/analyze/select/tui/components/removed-components-text.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{dist → legacy/dist}/src/helpers/fetch-and-persist-existing-contentful-entities.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{dist → legacy/dist}/src/helpers/read-existing-contentful-entities-from-session.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|