@powerlines/plugin-nodejs 0.1.623 → 0.1.626
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-builtin.cjs +2 -4
- package/dist/components/env-builtin.d.cts +0 -2
- package/dist/components/env-builtin.d.cts.map +1 -1
- package/dist/components/env-builtin.d.mts +0 -2
- package/dist/components/env-builtin.mjs +1 -2
- package/dist/components/env-builtin.mjs.map +1 -1
- package/dist/components/index.cjs +1 -1
- package/dist/index.cjs +2 -3
- package/dist/index.d.cts +0 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +0 -2
- package/dist/index.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.cjs +1 -1
- package/dist/types/plugin.d.cts +0 -2
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +0 -2
- package/package.json +11 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
2
|
+
// \0rolldown/runtime.js
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -25,7 +25,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
25
25
|
enumerable: true
|
|
26
26
|
}) : target, mod));
|
|
27
27
|
|
|
28
|
-
//#endregion
|
|
29
28
|
let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
30
29
|
let _alloy_js_core = require("@alloy-js/core");
|
|
31
30
|
let _alloy_js_typescript = require("@alloy-js/typescript");
|
|
@@ -38,7 +37,7 @@ let _stryke_string_format_title_case = require("@stryke/string-format/title-case
|
|
|
38
37
|
let defu = require("defu");
|
|
39
38
|
defu = __toESM(defu, 1);
|
|
40
39
|
|
|
41
|
-
|
|
40
|
+
// src/components/env-builtin.tsx
|
|
42
41
|
/**
|
|
43
42
|
* Generates the NodeJs environment configuration module for the Powerlines project.
|
|
44
43
|
*/
|
|
@@ -200,5 +199,4 @@ function NodeJsEnvBuiltin(props) {
|
|
|
200
199
|
}));
|
|
201
200
|
}
|
|
202
201
|
|
|
203
|
-
//#endregion
|
|
204
202
|
exports.NodeJsEnvBuiltin = NodeJsEnvBuiltin;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { EnvBuiltinProps } from "@powerlines/plugin-env/components/env-builtin";
|
|
2
|
-
//#region src/components/env-builtin.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Generates the NodeJs environment configuration module for the Powerlines project.
|
|
5
4
|
*/
|
|
6
5
|
declare function NodeJsEnvBuiltin(props: EnvBuiltinProps): import("@alloy-js/core").Children;
|
|
7
|
-
//#endregion
|
|
8
6
|
export { NodeJsEnvBuiltin };
|
|
9
7
|
//# sourceMappingURL=env-builtin.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"env-builtin.d.cts","names":[],"sources":["../../src/components/env-builtin.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"env-builtin.d.cts","names":[],"sources":["../../src/components/env-builtin.tsx"],"mappings":";;;;iBAsCgB,iBAAiB,OAAO,2CAAe"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { EnvBuiltinProps } from "@powerlines/plugin-env/components/env-builtin";
|
|
2
|
-
//#region src/components/env-builtin.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Generates the NodeJs environment configuration module for the Powerlines project.
|
|
5
4
|
*/
|
|
6
5
|
declare function NodeJsEnvBuiltin(props: EnvBuiltinProps): import("@alloy-js/core").Children;
|
|
7
|
-
//#endregion
|
|
8
6
|
export { NodeJsEnvBuiltin };
|
|
9
7
|
//# sourceMappingURL=env-builtin.d.mts.map
|
|
@@ -9,7 +9,7 @@ import { kebabCase } from "@stryke/string-format/kebab-case";
|
|
|
9
9
|
import { titleCase } from "@stryke/string-format/title-case";
|
|
10
10
|
import defu from "defu";
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
// src/components/env-builtin.tsx
|
|
13
13
|
/**
|
|
14
14
|
* Generates the NodeJs environment configuration module for the Powerlines project.
|
|
15
15
|
*/
|
|
@@ -171,6 +171,5 @@ function NodeJsEnvBuiltin(props) {
|
|
|
171
171
|
}));
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
//#endregion
|
|
175
174
|
export { NodeJsEnvBuiltin };
|
|
176
175
|
//# sourceMappingURL=env-builtin.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"env-builtin.mjs","names":[],"sources":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"env-builtin.mjs","names":["_$createComponent","_$mergeProps"],"sources":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_components_env_builtin = require(
|
|
2
|
+
const require_components_env_builtin = require("./env-builtin.cjs");
|
|
3
3
|
|
|
4
4
|
exports.NodeJsEnvBuiltin = require_components_env_builtin.NodeJsEnvBuiltin;
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
-
const require_components_env_builtin = require(
|
|
2
|
+
const require_components_env_builtin = require("./components/env-builtin.cjs");
|
|
3
3
|
let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
4
4
|
let _powerlines_core_lib_typescript = require("@powerlines/core/lib/typescript");
|
|
5
5
|
let _powerlines_plugin_alloy_render = require("@powerlines/plugin-alloy/render");
|
|
@@ -7,7 +7,7 @@ let _powerlines_plugin_babel = require("@powerlines/plugin-babel");
|
|
|
7
7
|
let _powerlines_plugin_env = require("@powerlines/plugin-env");
|
|
8
8
|
let _powerlines_plugin_env_helpers = require("@powerlines/plugin-env/helpers");
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
// src/index.tsx
|
|
11
11
|
/**
|
|
12
12
|
* A package containing a Powerlines plugin for building a NodeJs application.
|
|
13
13
|
*/
|
|
@@ -34,6 +34,5 @@ const plugin = (options = {}) => {
|
|
|
34
34
|
];
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
-
//#endregion
|
|
38
37
|
exports.default = plugin;
|
|
39
38
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeJsPluginContext, NodeJsPluginOptions, NodeJsPluginResolvedConfig, NodeJsPluginUserConfig } from "./types/plugin.cjs";
|
|
2
2
|
import "./types/index.cjs";
|
|
3
3
|
import { Plugin } from "powerlines";
|
|
4
|
-
//#region src/index.d.ts
|
|
5
4
|
declare module "powerlines" {
|
|
6
5
|
interface Config {
|
|
7
6
|
nodejs?: NodeJsPluginOptions;
|
|
@@ -11,6 +10,5 @@ declare module "powerlines" {
|
|
|
11
10
|
* A package containing a Powerlines plugin for building a NodeJs application.
|
|
12
11
|
*/
|
|
13
12
|
declare const plugin: <TContext extends NodeJsPluginContext = NodeJsPluginContext>(options?: NodeJsPluginOptions) => Plugin<TContext>[];
|
|
14
|
-
//#endregion
|
|
15
13
|
export { type NodeJsPluginContext, type NodeJsPluginOptions, type NodeJsPluginResolvedConfig, type NodeJsPluginUserConfig, plugin as default, plugin };
|
|
16
14
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"mappings":";;;;YA8BY;IACR,SAAS;;;;;;cAOA,SACX,iBAAiB,sBAAsB,qBAEvC,UAAS,wBACR,OAAO"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeJsPluginContext, NodeJsPluginOptions, NodeJsPluginResolvedConfig, NodeJsPluginUserConfig } from "./types/plugin.mjs";
|
|
2
2
|
import "./types/index.mjs";
|
|
3
3
|
import { Plugin } from "powerlines";
|
|
4
|
-
//#region src/index.d.ts
|
|
5
4
|
declare module "powerlines" {
|
|
6
5
|
interface Config {
|
|
7
6
|
nodejs?: NodeJsPluginOptions;
|
|
@@ -11,6 +10,5 @@ declare module "powerlines" {
|
|
|
11
10
|
* A package containing a Powerlines plugin for building a NodeJs application.
|
|
12
11
|
*/
|
|
13
12
|
declare const plugin: <TContext extends NodeJsPluginContext = NodeJsPluginContext>(options?: NodeJsPluginOptions) => Plugin<TContext>[];
|
|
14
|
-
//#endregion
|
|
15
13
|
export { type NodeJsPluginContext, type NodeJsPluginOptions, type NodeJsPluginResolvedConfig, type NodeJsPluginUserConfig, plugin as default, plugin };
|
|
16
14
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { plugin as plugin$1 } from "@powerlines/plugin-babel";
|
|
|
6
6
|
import { plugin as plugin$2 } from "@powerlines/plugin-env";
|
|
7
7
|
import { extractEnv } from "@powerlines/plugin-env/helpers";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
// src/index.tsx
|
|
10
10
|
/**
|
|
11
11
|
* A package containing a Powerlines plugin for building a NodeJs application.
|
|
12
12
|
*/
|
|
@@ -33,6 +33,5 @@ const plugin = (options = {}) => {
|
|
|
33
33
|
];
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
-
//#endregion
|
|
37
36
|
export { plugin as default, plugin };
|
|
38
37
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["babel","env","_$createComponent"],"sources":[],"mappings":""}
|
package/dist/types/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require(
|
|
1
|
+
require("./plugin.cjs");
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BabelPluginOptions } from "@powerlines/plugin-babel/types/plugin";
|
|
2
2
|
import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig } from "@powerlines/plugin-env/types/plugin";
|
|
3
|
-
//#region src/types/plugin.d.ts
|
|
4
3
|
interface NodeJsPluginOptions {
|
|
5
4
|
/**
|
|
6
5
|
* Options to pass to the [Babel plugin](https://npmjs.com/package/\@powerlines/plugin-babel).
|
|
@@ -14,6 +13,5 @@ interface NodeJsPluginOptions {
|
|
|
14
13
|
type NodeJsPluginUserConfig = EnvPluginUserConfig;
|
|
15
14
|
type NodeJsPluginResolvedConfig = EnvPluginResolvedConfig;
|
|
16
15
|
type NodeJsPluginContext<TResolvedConfig extends NodeJsPluginResolvedConfig = NodeJsPluginResolvedConfig> = EnvPluginContext<TResolvedConfig>;
|
|
17
|
-
//#endregion
|
|
18
16
|
export { NodeJsPluginContext, NodeJsPluginOptions, NodeJsPluginResolvedConfig, NodeJsPluginUserConfig };
|
|
19
17
|
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;UA0BiB;;;;EAIf,QAAQ,QAAQ;;;;EAKhB,MAAM,QAAQ,KAAK;;KAGT,yBAAyB;KAEzB,6BAA6B;KAE7B,oBACV,wBAAwB,6BACtB,8BACA,iBAAiB"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BabelPluginOptions } from "@powerlines/plugin-babel/types/plugin";
|
|
2
2
|
import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig } from "@powerlines/plugin-env/types/plugin";
|
|
3
|
-
//#region src/types/plugin.d.ts
|
|
4
3
|
interface NodeJsPluginOptions {
|
|
5
4
|
/**
|
|
6
5
|
* Options to pass to the [Babel plugin](https://npmjs.com/package/\@powerlines/plugin-babel).
|
|
@@ -14,6 +13,5 @@ interface NodeJsPluginOptions {
|
|
|
14
13
|
type NodeJsPluginUserConfig = EnvPluginUserConfig;
|
|
15
14
|
type NodeJsPluginResolvedConfig = EnvPluginResolvedConfig;
|
|
16
15
|
type NodeJsPluginContext<TResolvedConfig extends NodeJsPluginResolvedConfig = NodeJsPluginResolvedConfig> = EnvPluginContext<TResolvedConfig>;
|
|
17
|
-
//#endregion
|
|
18
16
|
export { NodeJsPluginContext, NodeJsPluginOptions, NodeJsPluginResolvedConfig, NodeJsPluginUserConfig };
|
|
19
17
|
//# sourceMappingURL=plugin.d.mts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-nodejs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.626",
|
|
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.
|
|
126
|
-
"@storm-software/config-tools": "^1.190.
|
|
127
|
-
"@stryke/string-format": "^0.17.
|
|
122
|
+
"@power-plant/alloy-js": "^0.0.95",
|
|
123
|
+
"@powerlines/plugin-alloy": "^0.26.314",
|
|
124
|
+
"@powerlines/plugin-babel": "^0.13.213",
|
|
125
|
+
"@powerlines/plugin-env": "^0.16.425",
|
|
126
|
+
"@storm-software/config-tools": "^1.190.151",
|
|
127
|
+
"@stryke/string-format": "^0.17.58",
|
|
128
128
|
"defu": "^6.1.7",
|
|
129
|
-
"powerlines": "^0.47.
|
|
129
|
+
"powerlines": "^0.47.216"
|
|
130
130
|
},
|
|
131
131
|
"devDependencies": {
|
|
132
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
133
|
-
"@types/node": "^25.9.
|
|
132
|
+
"@powerlines/plugin-plugin": "^0.12.629",
|
|
133
|
+
"@types/node": "^25.9.9"
|
|
134
134
|
},
|
|
135
135
|
"publishConfig": { "access": "public" },
|
|
136
136
|
"types": "./dist/index.d.cts",
|
|
137
|
-
"gitHead": "
|
|
137
|
+
"gitHead": "75efa1cc4eb8bc90093202669065576aa70fbfef"
|
|
138
138
|
}
|