@powerlines/plugin-nodejs 0.1.618 → 0.1.620
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.
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
2
|
+
//#region \0rolldown/runtime.js
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
12
|
+
key = keys[i];
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
14
|
+
__defProp(to, key, {
|
|
15
|
+
get: ((k) => from[k]).bind(null, key),
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
22
|
+
};
|
|
23
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
24
|
+
value: mod,
|
|
25
|
+
enumerable: true
|
|
26
|
+
}) : target, mod));
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
3
29
|
let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
4
30
|
let _alloy_js_core = require("@alloy-js/core");
|
|
5
31
|
let _alloy_js_typescript = require("@alloy-js/typescript");
|
|
@@ -10,7 +36,7 @@ let _powerlines_plugin_env_components_env_builtin = require("@powerlines/plugin-
|
|
|
10
36
|
let _stryke_string_format_kebab_case = require("@stryke/string-format/kebab-case");
|
|
11
37
|
let _stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
12
38
|
let defu = require("defu");
|
|
13
|
-
defu =
|
|
39
|
+
defu = __toESM(defu, 1);
|
|
14
40
|
|
|
15
41
|
//#region src/components/env-builtin.tsx
|
|
16
42
|
/**
|
package/dist/index.cjs
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
-
const require_rolldown_runtime = require('./rolldown-runtime-C24Yb2bl.cjs');
|
|
3
2
|
const require_components_env_builtin = require('./components/env-builtin.cjs');
|
|
4
3
|
let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
5
4
|
let _powerlines_core_lib_typescript = require("@powerlines/core/lib/typescript");
|
|
6
5
|
let _powerlines_plugin_alloy_render = require("@powerlines/plugin-alloy/render");
|
|
7
6
|
let _powerlines_plugin_babel = require("@powerlines/plugin-babel");
|
|
8
|
-
_powerlines_plugin_babel = require_rolldown_runtime.__toESM(_powerlines_plugin_babel, 1);
|
|
9
7
|
let _powerlines_plugin_env = require("@powerlines/plugin-env");
|
|
10
|
-
_powerlines_plugin_env = require_rolldown_runtime.__toESM(_powerlines_plugin_env, 1);
|
|
11
8
|
let _powerlines_plugin_env_helpers = require("@powerlines/plugin-env/helpers");
|
|
12
9
|
|
|
13
10
|
//#region src/index.tsx
|
|
@@ -16,8 +13,8 @@ let _powerlines_plugin_env_helpers = require("@powerlines/plugin-env/helpers");
|
|
|
16
13
|
*/
|
|
17
14
|
const plugin = (options = {}) => {
|
|
18
15
|
return [
|
|
19
|
-
(0, _powerlines_plugin_babel.
|
|
20
|
-
(0, _powerlines_plugin_env.
|
|
16
|
+
(0, _powerlines_plugin_babel.plugin)(options.babel),
|
|
17
|
+
(0, _powerlines_plugin_env.plugin)(options.env),
|
|
21
18
|
{
|
|
22
19
|
name: "nodejs",
|
|
23
20
|
configResolved() {
|
package/dist/index.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { NodeJsEnvBuiltin } from "./components/env-builtin.mjs";
|
|
|
2
2
|
import { createComponent } from "@alloy-js/core/jsx-runtime";
|
|
3
3
|
import { isMatchFound } from "@powerlines/core/lib/typescript";
|
|
4
4
|
import { render } from "@powerlines/plugin-alloy/render";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import { plugin as plugin$1 } from "@powerlines/plugin-babel";
|
|
6
|
+
import { plugin as plugin$2 } from "@powerlines/plugin-env";
|
|
7
7
|
import { extractEnv } from "@powerlines/plugin-env/helpers";
|
|
8
8
|
|
|
9
9
|
//#region src/index.tsx
|
|
@@ -12,8 +12,8 @@ import { extractEnv } from "@powerlines/plugin-env/helpers";
|
|
|
12
12
|
*/
|
|
13
13
|
const plugin = (options = {}) => {
|
|
14
14
|
return [
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
plugin$1(options.babel),
|
|
16
|
+
plugin$2(options.env),
|
|
17
17
|
{
|
|
18
18
|
name: "nodejs",
|
|
19
19
|
configResolved() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-nodejs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.620",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for building a Node.js application.",
|
|
6
6
|
"repository": {
|
|
@@ -119,20 +119,20 @@
|
|
|
119
119
|
"dependencies": {
|
|
120
120
|
"@alloy-js/core": "^0.24.1",
|
|
121
121
|
"@alloy-js/typescript": "^0.24.0",
|
|
122
|
-
"@power-plant/alloy-js": "^0.0.
|
|
123
|
-
"@powerlines/plugin-alloy": "^0.26.
|
|
124
|
-
"@powerlines/plugin-babel": "^0.13.
|
|
125
|
-
"@powerlines/plugin-env": "^0.16.
|
|
122
|
+
"@power-plant/alloy-js": "^0.0.86",
|
|
123
|
+
"@powerlines/plugin-alloy": "^0.26.308",
|
|
124
|
+
"@powerlines/plugin-babel": "^0.13.207",
|
|
125
|
+
"@powerlines/plugin-env": "^0.16.419",
|
|
126
126
|
"@storm-software/config-tools": "^1.190.133",
|
|
127
127
|
"@stryke/string-format": "^0.17.50",
|
|
128
128
|
"defu": "^6.1.7",
|
|
129
|
-
"powerlines": "^0.47.
|
|
129
|
+
"powerlines": "^0.47.210"
|
|
130
130
|
},
|
|
131
131
|
"devDependencies": {
|
|
132
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
132
|
+
"@powerlines/plugin-plugin": "^0.12.623",
|
|
133
133
|
"@types/node": "^25.9.5"
|
|
134
134
|
},
|
|
135
135
|
"publishConfig": { "access": "public" },
|
|
136
136
|
"types": "./dist/index.d.cts",
|
|
137
|
-
"gitHead": "
|
|
137
|
+
"gitHead": "4ee69b33975e2fa912d2c73700dc7e949f25b2d4"
|
|
138
138
|
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
-
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
-
key = keys[i];
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
13
|
-
__defProp(to, key, {
|
|
14
|
-
get: ((k) => from[k]).bind(null, key),
|
|
15
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
return to;
|
|
21
|
-
};
|
|
22
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
23
|
-
value: mod,
|
|
24
|
-
enumerable: true
|
|
25
|
-
}) : target, mod));
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
Object.defineProperty(exports, '__toESM', {
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: function () {
|
|
31
|
-
return __toESM;
|
|
32
|
-
}
|
|
33
|
-
});
|