@contentful/experience-design-system-types 2.37.1-dev-build-dbc9f30e.0 → 2.37.1-dev-build-8b126ca1.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/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-types",
3
- "version": "2.37.1-dev-build-dbc9f30e.0",
3
+ "version": "2.37.1-dev-build-8b126ca1.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "./dist/src/index.js",
@@ -1,9 +1,9 @@
1
1
  import * as z from 'zod/mini';
2
- // What the new CLI has already done when it starts the legacy import wizard. It is passed once, in one environment
3
- // variable, and holds paths, ids and statuses only: no credentials (the wizard reads those from the config file).
2
+ // What the CLI's earlier import stages produced, as the later ones receive it: paths, ids and statuses only, no
3
+ // credentials. The CLI now runs every stage in one process and passes this in memory; the environment variable name is
4
+ // kept because the legacy `import` command, which is still shipped, reads the same document from it.
4
5
  //
5
- // Every stage that moves from the wizard to the CLI adds its results here as another optional section, and the wizard
6
- // stops producing them itself. When the wizard is deleted, so is this file.
6
+ // When the legacy `import` command is removed, so is the environment variable.
7
7
  export const HANDOFF_ENV = 'EDS_IMPORT_HANDOFF';
8
8
  const NonEmpty = z.string().check(z.minLength(1));
9
9
  const TokensSchema = z.object({
@@ -62,7 +62,7 @@ export function serializeHandoff(handoff) {
62
62
  /** Reads the handoff from the variable's value. Never throws: a bad handoff comes back as an error to show. */
63
63
  export function parseHandoff(raw) {
64
64
  if (!raw)
65
- return { ok: false, error: `${HANDOFF_ENV} is not set. The legacy import wizard must be started by the CLI.` };
65
+ return { ok: false, error: `${HANDOFF_ENV} is not set. The import flow must be started by the CLI.` };
66
66
  let json;
67
67
  try {
68
68
  json = JSON.parse(raw);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-types",
3
- "version": "2.37.1-dev-build-dbc9f30e.0",
3
+ "version": "2.37.1-dev-build-8b126ca1.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "./dist/src/index.js",