Skip to content

Conversation

Copy link

Copilot AI commented Jan 9, 2026

Migrates the schema package dependency from the deprecated @layer5/schemas to @meshery/schemas@latest and relocates it to peerDependencies, allowing consuming applications to control the version.

Changes

  • package.json: Moved @meshery/schemas@^0.8.107 from dependencies to peerDependencies, removed @layer5/schemas@^0.0.6-16
  • Import statements: Updated 4 schema files to import from @meshery/schemas:
    • createAndEditEnvironment/schema.tsx
    • createAndEditWorkspace/schema.tsx
    • importModel/schema.tsx
    • importDesign/schema.tsx

Impact

Consuming applications must now explicitly install @meshery/schemas@^0.8.107 as it's a peer dependency. All schema definitions (EnvironmentDefinitionV1Beta1OpenApiSchema, WorkspaceDefinitionV1Beta1OpenApiSchema, ModelDefinitionV1Beta1OpenApiSchema, DesignDefinitionV1Beta1OpenApiSchema) remain compatible with identical exports in the new package.

// Before
import { ModelDefinitionV1Beta1OpenApiSchema } from '@layer5/schemas';

// After
import { ModelDefinitionV1Beta1OpenApiSchema } from '@meshery/schemas';
Original prompt

This section details on the original issue you should resolve

<issue_title>Migrate the @layer5/schemas to @meshery/schemas@latest and move to peerDependency</issue_title>
<issue_description>#### Current Behavior

Desired Behavior

Implementation

Acceptance Tests

Mockups


Contributor Guide

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Migrate the @layer5/schemas to @meshery/schemas@latest Migrate from @layer5/schemas to @meshery/schemas and move to peerDependencies Jan 9, 2026
Copilot AI requested a review from aabidsofi19 January 9, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate the @layer5/schemas to @meshery/schemas@latest and move to peerDependency

2 participants