chore: Update all imports to zod/v3

Signed-off-by: Gabriel Dugny <gabriel.dugny@believe.com>
This commit is contained in:
Gabriel Dugny
2026-01-11 21:55:47 +01:00
committed by Fredrik Adelöw
parent 5d8b4cddb9
commit 49171c9de4
111 changed files with 113 additions and 114 deletions
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { z } from 'zod';
import { z } from 'zod/v3';
import fs from 'fs-extra';
import recursiveReaddir from 'recursive-readdir';
import { resolve as resolvePath, relative as relativePath } from 'node:path';
@@ -25,7 +25,7 @@ import {
TEMPLATE_FILE_NAME,
} from '../types';
import { parse as parseYaml } from 'yaml';
import { z } from 'zod';
import { z } from 'zod/v3';
import { fromZodError } from 'zod-validation-error/v3';
import { ForwardedError } from '@backstage/errors';