Skip to content

Commit c5b4b33

Browse files
authored
Merge pull request #1400 from OpenFn/portability-spec
Portability Spec
2 parents 2d87928 + 97f7b70 commit c5b4b33

90 files changed

Lines changed: 510 additions & 324 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

integration-tests/cli/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @openfn/integration-tests-cli
22

3+
## 1.0.21
4+
5+
### Patch Changes
6+
7+
- @openfn/lightning-mock@2.4.16
8+
- @openfn/project@0.15.1
9+
310
## 1.0.20
411

512
### Patch Changes

integration-tests/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@openfn/integration-tests-cli",
33
"private": true,
4-
"version": "1.0.20",
4+
"version": "1.0.21",
55
"description": "CLI integration tests",
66
"author": "Open Function Group <admin@openfn.org>",
77
"license": "ISC",

packages/cli/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @openfn/cli
22

3+
## 1.35.2
4+
5+
### Patch Changes
6+
7+
Update type interfaces to match new portability spec.
8+
9+
- Updated dependencies [728e6cb]
10+
- Updated dependencies [380bccd]
11+
- @openfn/lexicon@2.0.0
12+
- @openfn/runtime@1.9.3
13+
- @openfn/compiler@1.2.5
14+
- @openfn/project@0.15.1
15+
316
## 1.35.1
417

518
### Patch Changes

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openfn/cli",
3-
"version": "1.35.1",
3+
"version": "1.35.2",
44
"description": "CLI devtools for the OpenFn toolchain",
55
"engines": {
66
"node": ">=18",

packages/cli/src/compile/compile.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,8 @@ import compile, {
33
Options,
44
getExports,
55
} from '@openfn/compiler';
6-
import { getModulePath } from '@openfn/runtime';
7-
import type {
8-
ExecutionPlan,
9-
Job,
10-
SourceMapWithOperations,
11-
} from '@openfn/lexicon';
6+
import { getModulePath, type ExecutionPlan, type Job } from '@openfn/runtime';
7+
import type { SourceMapWithOperations } from '@openfn/lexicon';
128

139
import createLogger, { COMPILER, Logger } from '../util/logger';
1410
import abort from '../util/abort';

packages/cli/src/execute/apply-credential-map.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* and apply credentials to each step
44
*/
55

6-
import { ExecutionPlan } from '@openfn/lexicon';
6+
import { ExecutionPlan } from '@openfn/runtime';
77
import { Logger } from '../util';
88

99
type JobId = string;

packages/cli/src/execute/execute.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import run, { NOTIFY_JOB_COMPLETE, getNameAndVersion } from '@openfn/runtime';
2-
import type { ExecutionPlan, Job } from '@openfn/lexicon';
32
import type {
3+
ExecutionPlan,
4+
Job,
45
ModuleInfo,
56
ModuleInfoMap,
67
NotifyJobCompletePayload,

packages/cli/src/execute/get-autoinstall-targets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ExecutionPlan, Job } from '@openfn/lexicon';
1+
import { ExecutionPlan, Job } from '@openfn/runtime';
22

33
const getAutoinstallTargets = (plan: ExecutionPlan) => {
44
const adaptors = {} as Record<string, true>;

packages/cli/src/execute/handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ExecutionPlan } from '@openfn/lexicon';
1+
import type { ExecutionPlan } from '@openfn/runtime';
22
import path from 'node:path';
33

44
import type { ExecuteOptions } from './command';

packages/cli/src/metadata/handler.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ import { Logger } from '../util/logger';
22
import { MetadataOpts } from './command';
33
import loadState from '../util/load-state';
44
import * as cache from './cache';
5-
import { getModuleEntryPoint, registerEsmHook } from '@openfn/runtime';
6-
import { ExecutionPlan } from '@openfn/lexicon';
5+
import {
6+
getModuleEntryPoint,
7+
registerEsmHook,
8+
type ExecutionPlan,
9+
} from '@openfn/runtime';
710
import { install, removePackage } from '../repo/handler';
811

912
// Add created date stamp to the metadata object

0 commit comments

Comments
 (0)