Skip to content

Commit af60c84

Browse files
authored
feat!: Upgrade to workflow 5.33.1 (#27)
* Upgrade to workflow 5.33.0 * Fix package reference * Use 5.33.1 instead of 5.33.0 This fixes a regression we'd rather not promote.
1 parent b88bdec commit af60c84

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

lib/templates/activity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { IActivityHandler } from "@vertigis/workflow/runtime";
1+
import type { IActivityHandler } from "@vertigis/workflow";
22

33
/** An interface that defines the inputs of the activity. */
44
interface FooInputs {

lib/templates/element.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
import * as React from "react";
2-
import {
3-
FormElementProps,
4-
FormElementRegistration,
5-
} from "@vertigis/workflow/runtime";
2+
import { FormElementProps, FormElementRegistration } from "@vertigis/workflow";
63

74
/**
85
* The generic type argument provided to `FormElementProps<T>` controls the type

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"devDependencies": {
5757
"@types/jest": "^26.0.24",
5858
"@types/node": "^16.11.32",
59-
"@vertigis/workflow": "^5.32.1",
59+
"@vertigis/workflow": "^5.33.1",
6060
"conventional-changelog-conventionalcommits": "^4.5.0",
6161
"cross-env": "^7.0.3",
6262
"execa": "^5.0.0",

test/unit/compilerUtils.test.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ describe("getProjectMetadata", () => {
589589
describe("elements", () => {
590590
it("passes basic sanity", () => {
591591
const activitySource = `
592-
import { FormElementProps, FormElementRegistration } from "@vertigis/workflow/runtime";
592+
import { FormElementProps, FormElementRegistration } from "@vertigis/workflow";
593593
import React from "react";
594594
595595
interface Props extends FormElementProps<string> {
@@ -677,7 +677,7 @@ describe("getProjectMetadata", () => {
677677

678678
it("includes elements with basic props interface", () => {
679679
const activitySource = `
680-
import { FormElementProps, FormElementRegistration } from "@vertigis/workflow/runtime";
680+
import { FormElementProps, FormElementRegistration } from "@vertigis/workflow";
681681
import React from "react";
682682
683683
interface Props extends FormElementProps<string> {}
@@ -718,7 +718,7 @@ describe("getProjectMetadata", () => {
718718

719719
it("throws error for invalid `component` value", () => {
720720
const activitySource = `
721-
import { FormElementProps, FormElementRegistration } from "@vertigis/workflow/runtime";
721+
import { FormElementProps, FormElementRegistration } from "@vertigis/workflow";
722722
723723
const Foo = 42;
724724
@@ -740,7 +740,7 @@ describe("getProjectMetadata", () => {
740740

741741
it("throws error for shorthand `id` expression", () => {
742742
const activitySource = `
743-
import { FormElementProps, FormElementRegistration } from "@vertigis/workflow/runtime";
743+
import { FormElementProps, FormElementRegistration } from "@vertigis/workflow";
744744
745745
const Foo = () => null;
746746
@@ -764,7 +764,7 @@ describe("getProjectMetadata", () => {
764764

765765
it("throws error for incorrect type of `id` value", () => {
766766
const activitySource = `
767-
import { FormElementProps, FormElementRegistration } from "@vertigis/workflow/runtime";
767+
import { FormElementProps, FormElementRegistration } from "@vertigis/workflow";
768768
769769
const Foo = () => null;
770770

0 commit comments

Comments
 (0)