@powerlines/plugin-nodejs 0.1.5 → 0.1.7
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.
|
@@ -19,7 +19,9 @@ let __stryke_type_checks_is_empty_object = require("@stryke/type-checks/is-empty
|
|
|
19
19
|
* @returns The runtime type definition file for the environment variables.
|
|
20
20
|
*/
|
|
21
21
|
async function resolveRuntimeTypeFile(context) {
|
|
22
|
-
|
|
22
|
+
const resolved = await context.fs.resolve("@powerlines/plugin-env/types/runtime");
|
|
23
|
+
if (!resolved) throw new Error(`Failed to resolve the runtime type definition file for the environment variables. Please ensure that the "@powerlines/plugin-env" package is installed.`);
|
|
24
|
+
return resolved;
|
|
23
25
|
}
|
|
24
26
|
/**
|
|
25
27
|
* Gets the default type definition for the environment variables.
|
|
@@ -17,7 +17,9 @@ import { isEmptyObject } from "@stryke/type-checks/is-empty-object";
|
|
|
17
17
|
* @returns The runtime type definition file for the environment variables.
|
|
18
18
|
*/
|
|
19
19
|
async function resolveRuntimeTypeFile(context) {
|
|
20
|
-
|
|
20
|
+
const resolved = await context.fs.resolve("@powerlines/plugin-env/types/runtime");
|
|
21
|
+
if (!resolved) throw new Error(`Failed to resolve the runtime type definition file for the environment variables. Please ensure that the "@powerlines/plugin-env" package is installed.`);
|
|
22
|
+
return resolved;
|
|
21
23
|
}
|
|
22
24
|
/**
|
|
23
25
|
* Gets the default type definition for the environment variables.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-nodejs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for building a Node.js application.",
|
|
6
6
|
"repository": {
|
|
@@ -135,15 +135,15 @@
|
|
|
135
135
|
"@alloy-js/json": "^0.22.0",
|
|
136
136
|
"@alloy-js/markdown": "^0.22.0",
|
|
137
137
|
"@alloy-js/typescript": "^0.22.0",
|
|
138
|
-
"@powerlines/plugin-alloy": "^0.18.
|
|
139
|
-
"@powerlines/plugin-babel": "^0.12.
|
|
140
|
-
"@powerlines/plugin-env": "^0.15.
|
|
138
|
+
"@powerlines/plugin-alloy": "^0.18.9",
|
|
139
|
+
"@powerlines/plugin-babel": "^0.12.136",
|
|
140
|
+
"@powerlines/plugin-env": "^0.15.12",
|
|
141
141
|
"@storm-software/config-tools": "^1.188.75",
|
|
142
142
|
"@stryke/string-format": "^0.12.30",
|
|
143
143
|
"defu": "^6.1.4",
|
|
144
|
-
"powerlines": "^0.37.
|
|
144
|
+
"powerlines": "^0.37.1"
|
|
145
145
|
},
|
|
146
146
|
"devDependencies": { "@babel/core": "^7.28.5", "@types/node": "^24.10.4" },
|
|
147
147
|
"publishConfig": { "access": "public" },
|
|
148
|
-
"gitHead": "
|
|
148
|
+
"gitHead": "9567467b551ffd217efb054b6eee482a880bc672"
|
|
149
149
|
}
|