Skip to content

Commit 85488d7

Browse files
committed
export pluginMachine
1 parent 16bca35 commit 85488d7

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plugin-machine",
3-
"version": "0.10.1",
3+
"version": "0.10.2",
44
"description": "A CLI for Plugin Machine",
55
"homepage": "https://pluginmachine.com/cli",
66
"repository": "github:imaginarymachines/plugin-machine-cli",

src/api.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,23 @@ import {
88
getAuthConfig
99
} from './lib/config'
1010
import pluginMachineApi from './lib/pluginMachineApi';
11+
import {
12+
pluginBuild,
13+
pluginZip,
14+
uploader
15+
} from './pluginMachine'
16+
1117
/**
1218
* Exporting api for when used as module
1319
*/
1420
export default {
21+
//Primary functions
22+
pluginMachine: {
23+
pluginBuild,
24+
pluginZip,
25+
uploader
26+
},
27+
//Lower-level build function
1528
builder: {
1629
buildPlugin,
1730
zipDirectory,

0 commit comments

Comments
 (0)