Skip to content

Commit

Permalink
feat!: Use new @vertigis/workflow package (#21)
Browse files Browse the repository at this point in the history
* Use new @vertigis/workflow package

* Update minimum version in README.md

5.31 is the earliest that supports the @vertigis/workflow package.

* Update requirements to better describe which versions are supported
  • Loading branch information
kenlyon authored Jan 13, 2023
1 parent 43a6f33 commit c06b316
Show file tree
Hide file tree
Showing 6 changed files with 102 additions and 100 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ This SDK makes it easy to create custom activity packs for [VertiGIS Studio Work

## Requirements

- VertiGIS Studio Workflow 5.20 or later if running on-premises
- The latest LTS version of [Node.js](https://nodejs.org/en/download/)
- A code editor of your choice. We recommend [Visual Studio Code](https://code.visualstudio.com/)
- A viewer using VertiGIS Studio Workflow 5.31 or later ([VertiGIS Product Installer Downloads](https://apps.vertigisstudio.com/downloads))
- VertiGIS Studio Web 5.22 or later
- Workflow 5.31 widget for ArcGIS Experience Builder or later

## Creating a new project

Expand Down
2 changes: 1 addition & 1 deletion lib/templates/activity.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { IActivityHandler } from "@geocortex/workflow/runtime";
import type { IActivityHandler } from "@vertigis/workflow/runtime";

/** An interface that defines the inputs of the activity. */
interface FooInputs {
Expand Down
2 changes: 1 addition & 1 deletion lib/templates/element.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from "react";
import {
FormElementProps,
FormElementRegistration,
} from "@geocortex/workflow/runtime";
} from "@vertigis/workflow/runtime";

/**
* The generic type argument provided to `FormElementProps<T>` controls the type
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
"yargs": "^16.2.0"
},
"devDependencies": {
"@geocortex/workflow": "^5.21.0",
"@types/jest": "^26.0.24",
"@types/node": "^16.11.32",
"@vertigis/workflow": "^5.31.0",
"conventional-changelog-conventionalcommits": "^4.5.0",
"cross-env": "^7.0.3",
"execa": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const installNpmDeps = (rootPath) => {
"install",
"--save-dev",
"--save-exact",
"@geocortex/workflow",
"@vertigis/workflow",
process.env.SDK_LOCAL_DEV === "true"
? process.cwd()
: `@vertigis/workflow-sdk@${selfVersion}`,
Expand Down
Loading

0 comments on commit c06b316

Please sign in to comment.