diff --git a/.changeset/update-sdk.md b/.changeset/update-sdk.md new file mode 100644 index 00000000..8d5c5967 --- /dev/null +++ b/.changeset/update-sdk.md @@ -0,0 +1,5 @@ +--- +"@openworkflowspec/diagram-editor": minor +--- + +Update sdk package to new openworkflowspec package diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ca2d92bd..f1eff486 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -55,7 +55,7 @@ This project uses the following technology stack: - **Language**: [TypeScript](https://www.typescriptlang.org/) with strict mode enabled - **UI Library**: [React](https://react.dev/) - **Diagram Rendering**: [@xyflow/react](https://reactflow.dev/) (isolated in `src/react-flow/`) -- **Workflow SDK**: [@serverlessworkflow/sdk](https://github.com/serverlessworkflow/sdk-typescript) (isolated in `src/core/`) +- **Workflow SDK**: [@openworkflowspec/sdk](https://github.com/open-workflow-specification/sdk-typescript) (isolated in `src/core/`) - **Testing**: [Vitest](https://vitest.dev/) for unit tests, [Playwright](https://playwright.dev/) for E2E - **Linting**: [oxlint](https://oxc.rs/) with TypeScript, React, import, and jsx-a11y plugins - **Formatting**: [oxfmt](https://oxc.rs/) diff --git a/README.md b/README.md index a8536f51..59b68496 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,7 @@ The main visual diagram editor component built with: - **TypeScript** (strict mode) - **React** - **[@xyflow/react](https://reactflow.dev/)** for diagram rendering (isolated in `src/react-flow/`) -- **[@serverlessworkflow/sdk](https://github.com/serverlessworkflow/sdk-typescript)** (isolated in `src/core/`) +- **[@openworkflowspec/sdk](https://github.com/open-workflow-specification/sdk-typescript)** (isolated in `src/core/`) - **[shadcn/ui](https://ui.shadcn.com/)** for UI primitives (with `dec:` Tailwind prefix) - **[Storybook](https://storybook.js.org/)** for component development - **[Vitest](https://vitest.dev/)** and **[Playwright](https://playwright.dev/)** for testing @@ -154,7 +154,7 @@ Internationalization utilities used by the diagram editor. - **UI Framework**: [React](https://react.dev/) - **Diagram Library**: [@xyflow/react](https://reactflow.dev/) (React Flow) - **Auto Layout**: [ELK.js](https://eclipse.dev/elk/) -- **Workflow SDK**: [@serverlessworkflow/sdk](https://github.com/serverlessworkflow/sdk-typescript) +- **Workflow SDK**: [@openworkflowspec/sdk](https://github.com/open-workflow-specification/sdk-typescript) - **UI Components**: [shadcn/ui](https://ui.shadcn.com/) + [Radix UI](https://www.radix-ui.com/) - **Styling**: [Tailwind CSS](https://tailwindcss.com/) - **Testing**: [Vitest](https://vitest.dev/), [Playwright](https://playwright.dev/) @@ -232,4 +232,4 @@ This project is licensed under the [Apache License 2.0](LICENSE). ## Related Projects - [Open Workflow Specification](https://github.com/open-workflow-specification/specification) -- [Open Workflow SDK (TypeScript)](https://github.com/serverlessworkflow/sdk-typescript) +- [Open Workflow SDK (TypeScript)](https://github.com/open-workflow-specification/sdk-typescript) diff --git a/packages/open-workflow-diagram-editor/package.json b/packages/open-workflow-diagram-editor/package.json index 2650f8fc..5835a0f6 100644 --- a/packages/open-workflow-diagram-editor/package.json +++ b/packages/open-workflow-diagram-editor/package.json @@ -42,7 +42,7 @@ }, "dependencies": { "@openworkflowspec/i18n": "workspace:*", - "@serverlessworkflow/sdk": "catalog:", + "@openworkflowspec/sdk": "catalog:", "@xyflow/react": "catalog:", "class-variance-authority": "catalog:", "clsx": "catalog:", diff --git a/packages/open-workflow-diagram-editor/src/core/README.md b/packages/open-workflow-diagram-editor/src/core/README.md index 9cf3bd1d..920ec8da 100644 --- a/packages/open-workflow-diagram-editor/src/core/README.md +++ b/packages/open-workflow-diagram-editor/src/core/README.md @@ -26,7 +26,7 @@ The core layer serves as the abstraction boundary between the Open Workflow SDK ### SDK Abstraction -**Critical constraint**: This is the only layer allowed to directly import from `@serverlessworkflow/sdk`. All SDK interactions must go through this abstraction to keep the rest of the editor decoupled from SDK implementation details. Despite of that, type-only imports may still be used elsewhere when needed. +**Critical constraint**: This is the only layer allowed to directly import from `@openworkflowspec/sdk`. All SDK interactions must go through this abstraction to keep the rest of the editor decoupled from SDK implementation details. Despite of that, type-only imports may still be used elsewhere when needed. Responsibilities: diff --git a/packages/open-workflow-diagram-editor/src/core/graph.ts b/packages/open-workflow-diagram-editor/src/core/graph.ts index 85962414..460da067 100644 --- a/packages/open-workflow-diagram-editor/src/core/graph.ts +++ b/packages/open-workflow-diagram-editor/src/core/graph.ts @@ -14,7 +14,7 @@ * limitations under the License. */ -import { FlatGraph, FlatGraphNode, GraphNodeType } from "@serverlessworkflow/sdk"; +import { FlatGraph, FlatGraphNode, GraphNodeType } from "@openworkflowspec/sdk"; export function getNodesByType(graph: FlatGraph, type: GraphNodeType): FlatGraphNode[] { return graph.nodes.filter((node) => node.type === type); diff --git a/packages/open-workflow-diagram-editor/src/core/mermaidExport.ts b/packages/open-workflow-diagram-editor/src/core/mermaidExport.ts index 06b97338..a832afa4 100644 --- a/packages/open-workflow-diagram-editor/src/core/mermaidExport.ts +++ b/packages/open-workflow-diagram-editor/src/core/mermaidExport.ts @@ -14,8 +14,8 @@ * limitations under the License. */ -import { convertToMermaidCode } from "@serverlessworkflow/sdk"; -import type { Specification } from "@serverlessworkflow/sdk"; +import { convertToMermaidCode } from "@openworkflowspec/sdk"; +import type { Specification } from "@openworkflowspec/sdk"; /** * Converts a workflow model to Mermaid diagram code diff --git a/packages/open-workflow-diagram-editor/src/core/taskDetails.ts b/packages/open-workflow-diagram-editor/src/core/taskDetails.ts index b5e3eba2..1e849281 100644 --- a/packages/open-workflow-diagram-editor/src/core/taskDetails.ts +++ b/packages/open-workflow-diagram-editor/src/core/taskDetails.ts @@ -14,7 +14,7 @@ * limitations under the License. */ -import type { Specification } from "@serverlessworkflow/sdk"; +import type { Specification } from "@openworkflowspec/sdk"; /* TaskBase: Common fields every task inherits (none required) (metadata is dropped for now) */ const TASK_BASE_KEYS = new Set(["if", "input", "output", "export", "timeout", "then", "metadata"]); diff --git a/packages/open-workflow-diagram-editor/src/core/taskSubType.ts b/packages/open-workflow-diagram-editor/src/core/taskSubType.ts index 981a37b6..1f4a718d 100644 --- a/packages/open-workflow-diagram-editor/src/core/taskSubType.ts +++ b/packages/open-workflow-diagram-editor/src/core/taskSubType.ts @@ -14,7 +14,7 @@ * limitations under the License. */ -import type { Specification } from "@serverlessworkflow/sdk"; +import type { Specification } from "@openworkflowspec/sdk"; function getFirstKey(obj: unknown): string | undefined { return obj && typeof obj === "object" && !Array.isArray(obj) ? Object.keys(obj)[0] : undefined; diff --git a/packages/open-workflow-diagram-editor/src/core/workflowSdk.ts b/packages/open-workflow-diagram-editor/src/core/workflowSdk.ts index 611628f7..c5a4e496 100644 --- a/packages/open-workflow-diagram-editor/src/core/workflowSdk.ts +++ b/packages/open-workflow-diagram-editor/src/core/workflowSdk.ts @@ -15,7 +15,7 @@ */ import { load } from "js-yaml"; -import * as sdk from "@serverlessworkflow/sdk"; +import * as sdk from "@openworkflowspec/sdk"; import { fixNodesConnections } from "./graph"; /** diff --git a/packages/open-workflow-diagram-editor/src/react-flow/diagram/diagramBuilder.ts b/packages/open-workflow-diagram-editor/src/react-flow/diagram/diagramBuilder.ts index efb57cdf..4c831b1d 100644 --- a/packages/open-workflow-diagram-editor/src/react-flow/diagram/diagramBuilder.ts +++ b/packages/open-workflow-diagram-editor/src/react-flow/diagram/diagramBuilder.ts @@ -18,7 +18,7 @@ import * as RF from "@xyflow/react"; import { buildFlatGraph, getErrorNodeIds, type SdkError } from "../../core"; import { BaseNodeData, ReactFlowNodeTypes } from "../nodes/Nodes"; import { BaseEdgeData, EdgeTypes } from "../edges/Edges"; -import * as sdk from "@serverlessworkflow/sdk"; +import * as sdk from "@openworkflowspec/sdk"; import { getNodeSize } from "./autoLayout"; import { CATCH_CONTAINER_NODE_TYPE, isTerminalNodeType } from "../nodes/taskNodeConfig"; diff --git a/packages/open-workflow-diagram-editor/src/react-flow/nodes/Nodes.tsx b/packages/open-workflow-diagram-editor/src/react-flow/nodes/Nodes.tsx index 498bbebf..9345e4e4 100644 --- a/packages/open-workflow-diagram-editor/src/react-flow/nodes/Nodes.tsx +++ b/packages/open-workflow-diagram-editor/src/react-flow/nodes/Nodes.tsx @@ -15,7 +15,7 @@ */ import type React from "react"; -import { GraphNodeType, type Specification } from "@serverlessworkflow/sdk"; +import { GraphNodeType, type Specification } from "@openworkflowspec/sdk"; import * as RF from "@xyflow/react"; import { useI18n } from "@openworkflowspec/i18n"; import { diff --git a/packages/open-workflow-diagram-editor/src/react-flow/nodes/taskNodeConfig.ts b/packages/open-workflow-diagram-editor/src/react-flow/nodes/taskNodeConfig.ts index a28e23cf..192a2817 100644 --- a/packages/open-workflow-diagram-editor/src/react-flow/nodes/taskNodeConfig.ts +++ b/packages/open-workflow-diagram-editor/src/react-flow/nodes/taskNodeConfig.ts @@ -14,7 +14,7 @@ * limitations under the License. */ -import { GraphNodeType } from "@serverlessworkflow/sdk"; +import { GraphNodeType } from "@openworkflowspec/sdk"; import { AlertTriangle, ArrowRightLeft, diff --git a/packages/open-workflow-diagram-editor/src/side-panel/MermaidActions.tsx b/packages/open-workflow-diagram-editor/src/side-panel/MermaidActions.tsx index bdc381f9..25a6153f 100644 --- a/packages/open-workflow-diagram-editor/src/side-panel/MermaidActions.tsx +++ b/packages/open-workflow-diagram-editor/src/side-panel/MermaidActions.tsx @@ -21,7 +21,7 @@ import { Button } from "@/components/ui/button"; import { exportToMermaid } from "@/core"; import { copyToClipboard } from "@/lib/clipboard"; import { downloadFile } from "@/lib/download"; -import type { Specification } from "@serverlessworkflow/sdk"; +import type { Specification } from "@openworkflowspec/sdk"; import { toast } from "sonner"; export function MermaidActions({ model }: { model: Specification.Workflow }): React.JSX.Element { diff --git a/packages/open-workflow-diagram-editor/src/side-panel/WorkflowInfoView.tsx b/packages/open-workflow-diagram-editor/src/side-panel/WorkflowInfoView.tsx index 9c98f1fe..848d6a25 100644 --- a/packages/open-workflow-diagram-editor/src/side-panel/WorkflowInfoView.tsx +++ b/packages/open-workflow-diagram-editor/src/side-panel/WorkflowInfoView.tsx @@ -14,7 +14,7 @@ * limitations under the License. */ -import type { Specification } from "@serverlessworkflow/sdk"; +import type { Specification } from "@openworkflowspec/sdk"; import { useI18n } from "@openworkflowspec/i18n"; import { InlineField, SectionHeader, StackedField } from "./Fields"; import { useDiagramEditorContext } from "@/store/DiagramEditorContext"; diff --git a/packages/open-workflow-diagram-editor/src/store/DiagramEditorContext.tsx b/packages/open-workflow-diagram-editor/src/store/DiagramEditorContext.tsx index cb165455..0e9265db 100644 --- a/packages/open-workflow-diagram-editor/src/store/DiagramEditorContext.tsx +++ b/packages/open-workflow-diagram-editor/src/store/DiagramEditorContext.tsx @@ -14,7 +14,7 @@ * limitations under the License. */ -import type { Specification } from "@serverlessworkflow/sdk"; +import type { Specification } from "@openworkflowspec/sdk"; import * as React from "react"; import type * as RF from "@xyflow/react"; import type { SdkError } from "../core"; diff --git a/packages/open-workflow-diagram-editor/stories/README.md b/packages/open-workflow-diagram-editor/stories/README.md index 5c4de605..cc6aa845 100644 --- a/packages/open-workflow-diagram-editor/stories/README.md +++ b/packages/open-workflow-diagram-editor/stories/README.md @@ -75,4 +75,4 @@ The following features have been identified as potential additions for future it - [Storybook Documentation](https://storybook.js.org/docs/) - [Open Workflow Specification](https://github.com/open-workflow-specification/specification) -- [TypeScript SDK](https://github.com/serverlessworkflow/sdk-typescript) +- [TypeScript SDK](https://github.com/open-workflow-specification/sdk-typescript) diff --git a/packages/open-workflow-diagram-editor/stories/introduction/Welcome.mdx b/packages/open-workflow-diagram-editor/stories/introduction/Welcome.mdx index c8128c1a..272fd51d 100644 --- a/packages/open-workflow-diagram-editor/stories/introduction/Welcome.mdx +++ b/packages/open-workflow-diagram-editor/stories/introduction/Welcome.mdx @@ -50,7 +50,7 @@ Explore the **Examples** section in the sidebar to see the editor in action with - [Cloud Native Computing Foundation (CNCF)](https://www.cncf.io) - [CNCF Open Workflow Specification](https://serverlessworkflow.io) -- [Open Workflow TypeScript SDK](https://github.com/serverlessworkflow/sdk-typescript) +- [Open Workflow TypeScript SDK](https://github.com/open-workflow-specification/sdk-typescript) - [GitHub Repository](https://github.com/open-workflow-specification/editor) ## Contributing diff --git a/packages/open-workflow-diagram-editor/tests/core/__snapshots__/workflowSdk.integration.test.ts.snap b/packages/open-workflow-diagram-editor/tests/core/__snapshots__/workflowSdk.integration.test.ts.snap index 4bb13da5..bcc5fc23 100644 --- a/packages/open-workflow-diagram-editor/tests/core/__snapshots__/workflowSdk.integration.test.ts.snap +++ b/packages/open-workflow-diagram-editor/tests/core/__snapshots__/workflowSdk.integration.test.ts.snap @@ -690,7 +690,7 @@ exports[`parseWorkflow > returns model and errors for invalid but parseable 'JSO { "errors": [ { - "errorType": "'Workflow' is invalid", + "errorType": "Validation failed at '' (Workflow): 'Workflow' is invalid", "message": "The DSL version of the workflow 'undefined' does not satisfy the DSL version range supported by this SDK '>=1.0.0 <=1.0.3'.", }, ], @@ -712,7 +712,7 @@ exports[`parseWorkflow > returns model and errors for invalid but parseable 'YAM { "errors": [ { - "errorType": "'Workflow' is invalid", + "errorType": "Validation failed at '' (Workflow): 'Workflow' is invalid", "message": "The DSL version of the workflow 'undefined' does not satisfy the DSL version range supported by this SDK '>=1.0.0 <=1.0.3'.", }, ], @@ -733,7 +733,7 @@ exports[`parseWorkflow > returns model and errors for invalid but parseable 'YAM exports[`validateWorkflow > returns parsed validation errors for an invalid workflow 1`] = ` [ { - "errorType": "'Workflow' is invalid", + "errorType": "Validation failed at '' (Workflow): 'Workflow' is invalid", "message": "The DSL version of the workflow 'undefined' does not satisfy the DSL version range supported by this SDK '>=1.0.0 <=1.0.3'.", }, ] diff --git a/packages/open-workflow-diagram-editor/tests/core/graph.test.ts b/packages/open-workflow-diagram-editor/tests/core/graph.test.ts index a36189c2..0cbd707b 100644 --- a/packages/open-workflow-diagram-editor/tests/core/graph.test.ts +++ b/packages/open-workflow-diagram-editor/tests/core/graph.test.ts @@ -15,7 +15,7 @@ */ import { describe, it, expect } from "vitest"; -import { FlatGraphNode, GraphNodeType } from "@serverlessworkflow/sdk"; +import { FlatGraphNode, GraphNodeType } from "@openworkflowspec/sdk"; import { getNodesByType, fixNodesConnections, diff --git a/packages/open-workflow-diagram-editor/tests/core/taskDetails.test.ts b/packages/open-workflow-diagram-editor/tests/core/taskDetails.test.ts index f227d914..94fb6caa 100644 --- a/packages/open-workflow-diagram-editor/tests/core/taskDetails.test.ts +++ b/packages/open-workflow-diagram-editor/tests/core/taskDetails.test.ts @@ -14,7 +14,7 @@ * limitations under the License. */ -import type { Specification } from "@serverlessworkflow/sdk"; +import type { Specification } from "@openworkflowspec/sdk"; import { describe, expect, it } from "vitest"; import { getTaskDetails } from "../../src/core"; diff --git a/packages/open-workflow-diagram-editor/tests/core/taskSubType.test.ts b/packages/open-workflow-diagram-editor/tests/core/taskSubType.test.ts index 7cff5a11..1eeb2e53 100644 --- a/packages/open-workflow-diagram-editor/tests/core/taskSubType.test.ts +++ b/packages/open-workflow-diagram-editor/tests/core/taskSubType.test.ts @@ -14,7 +14,7 @@ * limitations under the License. */ -import type { Specification } from "@serverlessworkflow/sdk"; +import type { Specification } from "@openworkflowspec/sdk"; import { describe, expect, it } from "vitest"; import { getCallSubType, getListenSubType, getRunSubType } from "../../src/core"; diff --git a/packages/open-workflow-diagram-editor/tests/core/workflowSdk.integration.test.ts b/packages/open-workflow-diagram-editor/tests/core/workflowSdk.integration.test.ts index 47b71da2..c117c59a 100644 --- a/packages/open-workflow-diagram-editor/tests/core/workflowSdk.integration.test.ts +++ b/packages/open-workflow-diagram-editor/tests/core/workflowSdk.integration.test.ts @@ -30,7 +30,7 @@ import { EMPTY_WORKFLOW_JSON, PARSEABLE_INVALID_WORKFLOW_YAML, } from "../fixtures/workflows"; -import { Classes, Specification } from "@serverlessworkflow/sdk"; +import { Classes, Specification } from "@openworkflowspec/sdk"; describe("parseWorkflow", () => { it.each([ @@ -60,7 +60,7 @@ describe("parseWorkflow", () => { ])("returns null model with error for $description", ({ input }) => { const result = parseWorkflow(input); expect(result.model).toBeNull(); - expect(result.errors[0].message).toBe("Not a valid workflow"); + expect(result.errors[0].message).toContain("Not a valid workflow"); }); it("returns null model with errors for unparseable text", () => { diff --git a/packages/open-workflow-diagram-editor/tests/react-flow/diagram/diagramBuilder.test.ts b/packages/open-workflow-diagram-editor/tests/react-flow/diagram/diagramBuilder.test.ts index 05aa4d7c..b9992d6b 100644 --- a/packages/open-workflow-diagram-editor/tests/react-flow/diagram/diagramBuilder.test.ts +++ b/packages/open-workflow-diagram-editor/tests/react-flow/diagram/diagramBuilder.test.ts @@ -16,7 +16,7 @@ import { describe, it, expect, beforeAll } from "vitest"; import * as RF from "@xyflow/react"; -import { FlatGraphNode, GraphNodeType, Specification } from "@serverlessworkflow/sdk"; +import { FlatGraphNode, GraphNodeType, Specification } from "@openworkflowspec/sdk"; import { getEdgeType, edgeSourceAndTargetExist, diff --git a/packages/open-workflow-diagram-editor/tests/react-flow/nodes/Nodes.test.tsx b/packages/open-workflow-diagram-editor/tests/react-flow/nodes/Nodes.test.tsx index 538a47af..b7c87a4f 100644 --- a/packages/open-workflow-diagram-editor/tests/react-flow/nodes/Nodes.test.tsx +++ b/packages/open-workflow-diagram-editor/tests/react-flow/nodes/Nodes.test.tsx @@ -17,7 +17,7 @@ import { render, screen } from "@testing-library/react"; import { vi, it, expect, afterEach, describe } from "vitest"; import * as RF from "@xyflow/react"; -import { GraphNodeType } from "@serverlessworkflow/sdk"; +import { GraphNodeType } from "@openworkflowspec/sdk"; import { ReactFlowNodeTypes } from "../../../src/react-flow/nodes/Nodes"; import { containerNodeConfigMap, diff --git a/packages/open-workflow-diagram-editor/tests/react-flow/nodes/taskNodeConfig.test.ts b/packages/open-workflow-diagram-editor/tests/react-flow/nodes/taskNodeConfig.test.ts index b3563f82..37d66b68 100644 --- a/packages/open-workflow-diagram-editor/tests/react-flow/nodes/taskNodeConfig.test.ts +++ b/packages/open-workflow-diagram-editor/tests/react-flow/nodes/taskNodeConfig.test.ts @@ -15,7 +15,7 @@ */ import { it, expect, describe } from "vitest"; -import { GraphNodeType } from "@serverlessworkflow/sdk"; +import { GraphNodeType } from "@openworkflowspec/sdk"; import { CATCH_CONTAINER_NODE_TYPE, type ContainerNodeType, diff --git a/packages/open-workflow-diagram-editor/tests/side-panel/WorkflowInfoView.test.tsx b/packages/open-workflow-diagram-editor/tests/side-panel/WorkflowInfoView.test.tsx index 5e7b2272..c871ff6e 100644 --- a/packages/open-workflow-diagram-editor/tests/side-panel/WorkflowInfoView.test.tsx +++ b/packages/open-workflow-diagram-editor/tests/side-panel/WorkflowInfoView.test.tsx @@ -18,7 +18,7 @@ import { describe, it, expect } from "vitest"; import { screen } from "@testing-library/react"; import { WorkflowInfoView } from "../../src/side-panel/WorkflowInfoView"; import { renderWithProviders } from "../test-utils/render-helpers"; -import type { Specification } from "@serverlessworkflow/sdk"; +import type { Specification } from "@openworkflowspec/sdk"; const baseDocument: Specification.Document = { dsl: "1.0.3", diff --git a/packages/open-workflow-diagram-editor/tests/test-utils/graph-helpers.ts b/packages/open-workflow-diagram-editor/tests/test-utils/graph-helpers.ts index f6dc48e5..2bb71597 100644 --- a/packages/open-workflow-diagram-editor/tests/test-utils/graph-helpers.ts +++ b/packages/open-workflow-diagram-editor/tests/test-utils/graph-helpers.ts @@ -14,7 +14,7 @@ * limitations under the License. */ -import { FlatGraph, FlatGraphNode, GraphNodeType } from "@serverlessworkflow/sdk"; +import { FlatGraph, FlatGraphNode, GraphNodeType } from "@openworkflowspec/sdk"; export function createFlatGraph( nodes: FlatGraphNode[], diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6c0af055..e30385f0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,12 +15,12 @@ catalogs: '@chromatic-com/storybook': specifier: ^5.2.0 version: 5.2.1 + '@openworkflowspec/sdk': + specifier: ^1.0.3-alpha4 + version: 1.0.3-alpha4 '@playwright/test': specifier: ^1.61.1 version: 1.61.1 - '@serverlessworkflow/sdk': - specifier: ^1.0.3-alpha3 - version: 1.0.3-alpha3 '@storybook/addon-a11y': specifier: ^10.4.6 version: 10.4.6 @@ -212,9 +212,9 @@ importers: '@openworkflowspec/i18n': specifier: workspace:* version: link:../i18n - '@serverlessworkflow/sdk': + '@openworkflowspec/sdk': specifier: 'catalog:' - version: 1.0.3-alpha3 + version: 1.0.3-alpha4 '@xyflow/react': specifier: 'catalog:' version: 12.11.2(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) @@ -801,6 +801,10 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} + '@openworkflowspec/sdk@1.0.3-alpha4': + resolution: {integrity: sha512-9vlvtswhMzi4bhCR175S/oV6qax8aPPfyTrjHxXmK5gfSVB3h1VPsOpmt1GM2Q+V7qVbITO27L+iidBNvOF3NA==} + engines: {node: '>=22.0.0', npm: '>=10.0.0'} + '@oxc-parser/binding-android-arm-eabi@0.127.0': resolution: {integrity: sha512-0LC7ye4hvqbIKxAzThzvswgHLFu2AURKzYLeSVvLdu2TBOYWQDmHnTqPLeA597BcUCxiLqLsS4CJ5uoI5WYWCQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -2086,10 +2090,6 @@ packages: rollup: optional: true - '@serverlessworkflow/sdk@1.0.3-alpha3': - resolution: {integrity: sha512-rAI7bbEVc/OgA9X9Y0xZ/rdQhGwf+V9+BT/H/zqjVJfPqiMNduD28+RO90fTx0I56BII/nSlaKsgrnyJYH5/bA==} - engines: {node: '>=22.0.0', npm: '>=10.0.0'} - '@standard-schema/spec@1.1.0': resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==} @@ -4661,6 +4661,13 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.20.1 + '@openworkflowspec/sdk@1.0.3-alpha4': + dependencies: + ajv: 8.20.0 + ajv-formats: 3.0.1(ajv@8.20.0) + js-yaml: 5.2.1 + semver: 7.8.5 + '@oxc-parser/binding-android-arm-eabi@0.127.0': optional: true @@ -5713,13 +5720,6 @@ snapshots: estree-walker: 2.0.2 picomatch: 4.0.5 - '@serverlessworkflow/sdk@1.0.3-alpha3': - dependencies: - ajv: 8.20.0 - ajv-formats: 3.0.1(ajv@8.20.0) - js-yaml: 4.3.0 - semver: 7.8.5 - '@standard-schema/spec@1.1.0': {} '@storybook/addon-a11y@10.4.6(storybook@10.4.6(@testing-library/dom@10.4.1)(@types/react@19.2.17)(prettier@2.8.8)(react@19.2.7))': diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 6564d8a7..40abb65e 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -4,8 +4,8 @@ catalog: "@changesets/changelog-github": ^0.7.0 "@changesets/cli": ^2.31.0 "@chromatic-com/storybook": ^5.2.0 + "@openworkflowspec/sdk": "^1.0.3-alpha4" "@playwright/test": ^1.61.1 - "@serverlessworkflow/sdk": ^1.0.3-alpha3 "@storybook/addon-a11y": ^10.4.6 "@storybook/addon-docs": ^10.4.6 "@storybook/addon-vitest": ^10.4.6