@powerlines/plugin-nodejs 0.1.136 → 0.1.138
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/dist/components/env.cjs +2 -185
- package/dist/components/env.d.cts +1 -9
- package/dist/components/env.d.mts +1 -9
- package/dist/components/env.mjs +1 -182
- package/dist/components/index.cjs +3 -2
- package/dist/components/index.d.cts +2 -1
- package/dist/components/index.d.mts +2 -1
- package/dist/components/index.mjs +2 -1
- package/dist/components-BWLXb7a2.cjs +0 -0
- package/dist/components-kh0CpIG2.mjs +1 -0
- package/dist/env--9rS0L72.cjs +223 -0
- package/dist/env-BbWlIivm.d.mts +11 -0
- package/dist/env-BbWlIivm.d.mts.map +1 -0
- package/dist/env-CNIW9dZh.mjs +185 -0
- package/dist/env-CNIW9dZh.mjs.map +1 -0
- package/dist/env-i5491Gd4.d.cts +11 -0
- package/dist/env-i5491Gd4.d.cts.map +1 -0
- package/dist/index-9iG2qHLe.d.mts +1 -0
- package/dist/index-D-CYNcT9.d.mts +1 -0
- package/dist/index-D4ELpJXS.d.cts +1 -0
- package/dist/index-DLoAMD9J.d.cts +1 -0
- package/dist/index.cjs +8 -7
- package/dist/index.d.cts +6 -5
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +6 -5
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +6 -3
- package/dist/index.mjs.map +1 -0
- package/dist/plugin-DIMmxDo0.d.cts +24 -0
- package/dist/plugin-DIMmxDo0.d.cts.map +1 -0
- package/dist/plugin-ifZVa20V.mjs +1 -0
- package/dist/plugin-pBKbb5K9.cjs +0 -0
- package/dist/plugin-w7U9e4U2.d.mts +24 -0
- package/dist/plugin-w7U9e4U2.d.mts.map +1 -0
- package/dist/types/index.cjs +2 -0
- package/dist/types/index.d.cts +2 -1
- package/dist/types/index.d.mts +2 -1
- package/dist/types/index.mjs +3 -0
- package/dist/types/plugin.cjs +1 -0
- package/dist/types/plugin.d.cts +1 -22
- package/dist/types/plugin.d.mts +1 -22
- package/dist/types/plugin.mjs +2 -0
- package/dist/types-U3zd8PTP.mjs +1 -0
- package/dist/types-o3zWarRp.cjs +0 -0
- package/package.json +7 -7
- package/dist/_virtual/rolldown_runtime.cjs +0 -29
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-DIMmxDo0.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;UA0BiB,mBAAA;;AAAjB;;EAIU,KAAA,CAAA,EAAA,OAAA,CAAQ,kBAAR,CAAA;EAKW;;;EAAN,GAAA,CAAA,EAAP,OAAO,CAAC,IAAD,CAAM,gBAAN,EAAA,OAAA,CAAA,CAAA;AAGf;AAEY,KAFA,sBAAA,GAAyB,mBAEI;AAE7B,KAFA,0BAAA,GAA6B,uBAEV;AACL,KADd,mBACc,CAAA,wBAAA,0BAAA,GACtB,0BADsB,CAAA,GAEtB,gBAFsB,CAEL,eAFK,CAAA;AACtB,sCAAA,GAAA,EAAA;AACiB,yCAAA,GAAA,EAAA;AAAjB,6CAAA,GAAA,EAAA;AAAgB,sCAAA,GAAA,EAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BabelPluginOptions } from "@powerlines/plugin-babel/types/plugin";
|
|
2
|
+
import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig } from "@powerlines/plugin-env/types/plugin";
|
|
3
|
+
|
|
4
|
+
//#region src/types/plugin.d.ts
|
|
5
|
+
interface NodeJsPluginOptions {
|
|
6
|
+
/**
|
|
7
|
+
* Options to pass to the [Babel plugin](https://npmjs.com/package/\@powerlines/plugin-babel).
|
|
8
|
+
*/
|
|
9
|
+
babel?: Partial<BabelPluginOptions>;
|
|
10
|
+
/**
|
|
11
|
+
* Options to pass to the [Env plugin](https://npmjs.com/package/\@powerlines/plugin-env).
|
|
12
|
+
*/
|
|
13
|
+
env?: Partial<Omit<EnvPluginOptions, "babel">>;
|
|
14
|
+
}
|
|
15
|
+
type NodeJsPluginUserConfig = EnvPluginUserConfig;
|
|
16
|
+
type NodeJsPluginResolvedConfig = EnvPluginResolvedConfig;
|
|
17
|
+
type NodeJsPluginContext<TResolvedConfig extends NodeJsPluginResolvedConfig = NodeJsPluginResolvedConfig> = EnvPluginContext<TResolvedConfig>;
|
|
18
|
+
declare type __ΩNodeJsPluginOptions = any[];
|
|
19
|
+
declare type __ΩNodeJsPluginUserConfig = any[];
|
|
20
|
+
declare type __ΩNodeJsPluginResolvedConfig = any[];
|
|
21
|
+
declare type __ΩNodeJsPluginContext = any[];
|
|
22
|
+
//#endregion
|
|
23
|
+
export { __ΩNodeJsPluginContext as a, __ΩNodeJsPluginUserConfig as c, NodeJsPluginUserConfig as i, NodeJsPluginOptions as n, __ΩNodeJsPluginOptions as o, NodeJsPluginResolvedConfig as r, __ΩNodeJsPluginResolvedConfig as s, NodeJsPluginContext as t };
|
|
24
|
+
//# sourceMappingURL=plugin-w7U9e4U2.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-w7U9e4U2.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;UA0BiB,mBAAA;;AAAjB;;EAIU,KAAA,CAAA,EAAA,OAAA,CAAQ,kBAAR,CAAA;EAKW;;;EAAN,GAAA,CAAA,EAAP,OAAO,CAAC,IAAD,CAAM,gBAAN,EAAA,OAAA,CAAA,CAAA;AAGf;AAEY,KAFA,sBAAA,GAAyB,mBAEI;AAE7B,KAFA,0BAAA,GAA6B,uBAEV;AACL,KADd,mBACc,CAAA,wBAAA,0BAAA,GACtB,0BADsB,CAAA,GAEtB,gBAFsB,CAEL,eAFK,CAAA;AACtB,sCAAA,GAAA,EAAA;AACiB,yCAAA,GAAA,EAAA;AAAjB,6CAAA,GAAA,EAAA;AAAgB,sCAAA,GAAA,EAAA"}
|
package/dist/types/index.cjs
CHANGED
package/dist/types/index.d.cts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { NodeJsPluginContext,
|
|
1
|
+
import { a as __ΩNodeJsPluginContext, c as __ΩNodeJsPluginUserConfig, i as NodeJsPluginUserConfig, n as NodeJsPluginOptions, o as __ΩNodeJsPluginOptions, r as NodeJsPluginResolvedConfig, s as __ΩNodeJsPluginResolvedConfig, t as NodeJsPluginContext } from "../plugin-DIMmxDo0.cjs";
|
|
2
|
+
import "../index-D4ELpJXS.cjs";
|
|
2
3
|
export { NodeJsPluginContext, NodeJsPluginOptions, NodeJsPluginResolvedConfig, NodeJsPluginUserConfig, __ΩNodeJsPluginContext, __ΩNodeJsPluginOptions, __ΩNodeJsPluginResolvedConfig, __ΩNodeJsPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { NodeJsPluginContext,
|
|
1
|
+
import { a as __ΩNodeJsPluginContext, c as __ΩNodeJsPluginUserConfig, i as NodeJsPluginUserConfig, n as NodeJsPluginOptions, o as __ΩNodeJsPluginOptions, r as NodeJsPluginResolvedConfig, s as __ΩNodeJsPluginResolvedConfig, t as NodeJsPluginContext } from "../plugin-w7U9e4U2.mjs";
|
|
2
|
+
import "../index-9iG2qHLe.mjs";
|
|
2
3
|
export { NodeJsPluginContext, NodeJsPluginOptions, NodeJsPluginResolvedConfig, NodeJsPluginUserConfig, __ΩNodeJsPluginContext, __ΩNodeJsPluginOptions, __ΩNodeJsPluginResolvedConfig, __ΩNodeJsPluginUserConfig };
|
package/dist/types/index.mjs
CHANGED
package/dist/types/plugin.cjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('../plugin-pBKbb5K9.cjs');
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,23 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig } from "@powerlines/plugin-env/types/plugin";
|
|
3
|
-
|
|
4
|
-
//#region src/types/plugin.d.ts
|
|
5
|
-
interface NodeJsPluginOptions {
|
|
6
|
-
/**
|
|
7
|
-
* Options to pass to the [Babel plugin](https://npmjs.com/package/\@powerlines/plugin-babel).
|
|
8
|
-
*/
|
|
9
|
-
babel?: Partial<BabelPluginOptions>;
|
|
10
|
-
/**
|
|
11
|
-
* Options to pass to the [Env plugin](https://npmjs.com/package/\@powerlines/plugin-env).
|
|
12
|
-
*/
|
|
13
|
-
env?: Partial<Omit<EnvPluginOptions, "babel">>;
|
|
14
|
-
}
|
|
15
|
-
type NodeJsPluginUserConfig = EnvPluginUserConfig;
|
|
16
|
-
type NodeJsPluginResolvedConfig = EnvPluginResolvedConfig;
|
|
17
|
-
type NodeJsPluginContext<TResolvedConfig extends NodeJsPluginResolvedConfig = NodeJsPluginResolvedConfig> = EnvPluginContext<TResolvedConfig>;
|
|
18
|
-
declare type __ΩNodeJsPluginOptions = any[];
|
|
19
|
-
declare type __ΩNodeJsPluginUserConfig = any[];
|
|
20
|
-
declare type __ΩNodeJsPluginResolvedConfig = any[];
|
|
21
|
-
declare type __ΩNodeJsPluginContext = any[];
|
|
22
|
-
//#endregion
|
|
1
|
+
import { a as __ΩNodeJsPluginContext, c as __ΩNodeJsPluginUserConfig, i as NodeJsPluginUserConfig, n as NodeJsPluginOptions, o as __ΩNodeJsPluginOptions, r as NodeJsPluginResolvedConfig, s as __ΩNodeJsPluginResolvedConfig, t as NodeJsPluginContext } from "../plugin-DIMmxDo0.cjs";
|
|
23
2
|
export { NodeJsPluginContext, NodeJsPluginOptions, NodeJsPluginResolvedConfig, NodeJsPluginUserConfig, __ΩNodeJsPluginContext, __ΩNodeJsPluginOptions, __ΩNodeJsPluginResolvedConfig, __ΩNodeJsPluginUserConfig };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,23 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig } from "@powerlines/plugin-env/types/plugin";
|
|
3
|
-
|
|
4
|
-
//#region src/types/plugin.d.ts
|
|
5
|
-
interface NodeJsPluginOptions {
|
|
6
|
-
/**
|
|
7
|
-
* Options to pass to the [Babel plugin](https://npmjs.com/package/\@powerlines/plugin-babel).
|
|
8
|
-
*/
|
|
9
|
-
babel?: Partial<BabelPluginOptions>;
|
|
10
|
-
/**
|
|
11
|
-
* Options to pass to the [Env plugin](https://npmjs.com/package/\@powerlines/plugin-env).
|
|
12
|
-
*/
|
|
13
|
-
env?: Partial<Omit<EnvPluginOptions, "babel">>;
|
|
14
|
-
}
|
|
15
|
-
type NodeJsPluginUserConfig = EnvPluginUserConfig;
|
|
16
|
-
type NodeJsPluginResolvedConfig = EnvPluginResolvedConfig;
|
|
17
|
-
type NodeJsPluginContext<TResolvedConfig extends NodeJsPluginResolvedConfig = NodeJsPluginResolvedConfig> = EnvPluginContext<TResolvedConfig>;
|
|
18
|
-
declare type __ΩNodeJsPluginOptions = any[];
|
|
19
|
-
declare type __ΩNodeJsPluginUserConfig = any[];
|
|
20
|
-
declare type __ΩNodeJsPluginResolvedConfig = any[];
|
|
21
|
-
declare type __ΩNodeJsPluginContext = any[];
|
|
22
|
-
//#endregion
|
|
1
|
+
import { a as __ΩNodeJsPluginContext, c as __ΩNodeJsPluginUserConfig, i as NodeJsPluginUserConfig, n as NodeJsPluginOptions, o as __ΩNodeJsPluginOptions, r as NodeJsPluginResolvedConfig, s as __ΩNodeJsPluginResolvedConfig, t as NodeJsPluginContext } from "../plugin-w7U9e4U2.mjs";
|
|
23
2
|
export { NodeJsPluginContext, NodeJsPluginOptions, NodeJsPluginResolvedConfig, NodeJsPluginUserConfig, __ΩNodeJsPluginContext, __ΩNodeJsPluginOptions, __ΩNodeJsPluginResolvedConfig, __ΩNodeJsPluginUserConfig };
|
package/dist/types/plugin.mjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-nodejs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.138",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for building a Node.js application.",
|
|
6
6
|
"repository": {
|
|
@@ -127,17 +127,17 @@
|
|
|
127
127
|
"dependencies": {
|
|
128
128
|
"@alloy-js/core": "^0.22.0",
|
|
129
129
|
"@alloy-js/typescript": "^0.22.0",
|
|
130
|
-
"@powerlines/plugin-alloy": "^0.19.
|
|
131
|
-
"@powerlines/plugin-babel": "^0.12.
|
|
132
|
-
"@powerlines/plugin-env": "^0.15.
|
|
133
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
130
|
+
"@powerlines/plugin-alloy": "^0.19.15",
|
|
131
|
+
"@powerlines/plugin-babel": "^0.12.249",
|
|
132
|
+
"@powerlines/plugin-env": "^0.15.143",
|
|
133
|
+
"@powerlines/plugin-plugin": "^0.12.191",
|
|
134
134
|
"@storm-software/config-tools": "^1.189.0",
|
|
135
135
|
"@stryke/string-format": "^0.13.6",
|
|
136
136
|
"defu": "^6.1.4",
|
|
137
|
-
"powerlines": "^0.38.
|
|
137
|
+
"powerlines": "^0.38.7"
|
|
138
138
|
},
|
|
139
139
|
"devDependencies": { "@types/node": "^24.10.9" },
|
|
140
140
|
"publishConfig": { "access": "public" },
|
|
141
141
|
"types": "./dist/index.d.cts",
|
|
142
|
-
"gitHead": "
|
|
142
|
+
"gitHead": "d389997536baee28d116675d7916d9bfa5596dce"
|
|
143
143
|
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
//#region rolldown:runtime
|
|
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 ? __defProp(target, "default", {
|
|
23
|
-
value: mod,
|
|
24
|
-
enumerable: true
|
|
25
|
-
}) : target, mod));
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
|
|
29
|
-
exports.__toESM = __toESM;
|