@octonodes/cli 0.1.11 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/runtime/plugin-lifecycle.cjs +1 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octonodes/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "Octonode API and plugin development CLI.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"prepack": "tsc -b"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@octonodes/sdk": "0.1.
|
|
24
|
+
"@octonodes/sdk": "0.1.12",
|
|
25
25
|
"@supabase/supabase-js": "2.107.0",
|
|
26
26
|
"esbuild": "0.28.1",
|
|
27
27
|
"tar": "7.5.22",
|
|
@@ -11895,15 +11895,6 @@ var require_runner = __commonJS({
|
|
|
11895
11895
|
}
|
|
11896
11896
|
});
|
|
11897
11897
|
|
|
11898
|
-
// packages/common/environment.cjs
|
|
11899
|
-
var require_environment = __commonJS({
|
|
11900
|
-
"packages/common/environment.cjs"(exports2) {
|
|
11901
|
-
"use strict";
|
|
11902
|
-
exports2.PROCESS_ENV = process.env;
|
|
11903
|
-
exports2.NODE_ENV = process.env.NODE_ENV;
|
|
11904
|
-
}
|
|
11905
|
-
});
|
|
11906
|
-
|
|
11907
11898
|
// packages/plugin-runtime/dist/plugin.js
|
|
11908
11899
|
var require_plugin2 = __commonJS({
|
|
11909
11900
|
"packages/plugin-runtime/dist/plugin.js"(exports2) {
|
|
@@ -11911,7 +11902,6 @@ var require_plugin2 = __commonJS({
|
|
|
11911
11902
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11912
11903
|
exports2.definePlugin = definePlugin;
|
|
11913
11904
|
exports2.startPlugin = startPlugin;
|
|
11914
|
-
var environment_cjs_1 = require_environment();
|
|
11915
11905
|
var schema_1 = require_dist();
|
|
11916
11906
|
var define_node_1 = require_define_node();
|
|
11917
11907
|
var runner_1 = require_runner();
|
|
@@ -11959,7 +11949,7 @@ var require_plugin2 = __commonJS({
|
|
|
11959
11949
|
(0, define_node_1.defineNode)({
|
|
11960
11950
|
...node,
|
|
11961
11951
|
run: (inputs, context) => {
|
|
11962
|
-
const missing = fields.filter(([name, field]) => field.required && !
|
|
11952
|
+
const missing = fields.filter(([name, field]) => field.required && !process.env[name]).map(([name]) => name);
|
|
11963
11953
|
if (missing.length)
|
|
11964
11954
|
throw new runner_1.NodeError(`Missing connection credentials: ${missing.join(", ")}`);
|
|
11965
11955
|
return nodeHandlers[node.id](inputs, context);
|