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
@@ -17,7 +17,7 @@ import {
createExtensionBlueprint,
createExtensionDataRef,
} from '@backstage/frontend-plugin-api';
import { z } from 'zod';
import { z } from 'zod/v3';
import { OpaqueFormField } from '@internal/scaffolder';
import { FormFieldExtensionData } from './types';
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { z } from 'zod';
import { z } from 'zod/v3';
import {
CustomFieldValidator,
FieldExtensionComponentProps,
@@ -16,7 +16,7 @@
import { AnyApiRef } from '@backstage/core-plugin-api';
import { JsonObject, JsonValue } from '@backstage/types';
import { OpaqueFormDecorator } from '@internal/scaffolder';
import { z } from 'zod';
import { z } from 'zod/v3';
/** @alpha */
export type ScaffolderFormDecoratorContext<
+1 -1
View File
@@ -16,7 +16,7 @@
import zodToJsonSchema from 'zod-to-json-schema';
import { JSONSchema7 } from 'json-schema';
import { z } from 'zod';
import { z } from 'zod/v3';
import {
CustomFieldExtensionSchema,
FieldExtensionComponentProps,