@powerlines/plugin-plugin 0.12.268 → 0.12.269
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/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/{plugin-BWGld0BS.d.mts → plugin-B53UwtG7.d.mts} +2 -2
- package/dist/{plugin-BWGld0BS.d.mts.map → plugin-B53UwtG7.d.mts.map} +1 -1
- package/dist/{plugin-DVXa9Zx4.d.cts → plugin-DfGt6jzp.d.cts} +2 -2
- package/dist/{plugin-DVXa9Zx4.d.cts.map → plugin-DfGt6jzp.d.cts.map} +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.mts +1 -1
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as PluginPluginOptions, t as PluginPluginContext } from "./plugin-
|
|
1
|
+
import { n as PluginPluginOptions, t as PluginPluginContext } from "./plugin-DfGt6jzp.cjs";
|
|
2
2
|
import { Plugin } from "powerlines";
|
|
3
3
|
|
|
4
4
|
//#region src/index.d.ts
|
|
5
|
-
declare module "
|
|
6
|
-
interface
|
|
5
|
+
declare module "powerlines" {
|
|
6
|
+
interface Config {
|
|
7
7
|
plugin?: PluginPluginOptions;
|
|
8
8
|
}
|
|
9
9
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as PluginPluginOptions, t as PluginPluginContext } from "./plugin-
|
|
1
|
+
import { n as PluginPluginOptions, t as PluginPluginContext } from "./plugin-B53UwtG7.mjs";
|
|
2
2
|
import { Plugin } from "powerlines";
|
|
3
3
|
|
|
4
4
|
//#region src/index.d.ts
|
|
5
|
-
declare module "
|
|
6
|
-
interface
|
|
5
|
+
declare module "powerlines" {
|
|
6
|
+
interface Config {
|
|
7
7
|
plugin?: PluginPluginOptions;
|
|
8
8
|
}
|
|
9
9
|
}
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport tsdown from \"@powerlines/plugin-tsdown\";\nimport { joinPaths } from \"@stryke/path/join\";\nimport { Plugin } from \"powerlines\";\nimport type { PluginPluginContext, PluginPluginOptions } from \"./types/plugin\";\n\ndeclare module \"
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport tsdown from \"@powerlines/plugin-tsdown\";\nimport { joinPaths } from \"@stryke/path/join\";\nimport { Plugin } from \"powerlines\";\nimport type { PluginPluginContext, PluginPluginOptions } from \"./types/plugin\";\n\ndeclare module \"powerlines\" {\n interface Config {\n plugin?: PluginPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to assist in developing other Powerlines plugins.\n */\nexport const plugin = <\n TContext extends PluginPluginContext = PluginPluginContext\n>(\n options: PluginPluginOptions = {}\n): Plugin<TContext>[] => {\n return [\n tsdown(options),\n {\n name: \"plugin\",\n config() {\n this.debug(\n \"Providing default configuration for the Powerlines plugin.\"\n );\n\n return {\n type: \"library\",\n output: {\n format: [\"cjs\", \"esm\"],\n dts: false\n },\n resolve: {\n external: [\"powerlines\", /^powerlines\\/.*$/, /^@powerlines\\//]\n },\n tsdown: {\n platform: \"node\",\n target: \"node22\",\n nodeProtocol: true,\n fixedExtension: true,\n minify: false,\n exports: {\n all: true\n },\n unbundle: true\n }\n };\n },\n async configResolved() {\n if (\n !this.config.input ||\n (Array.isArray(this.config.input) && this.config.input.length === 0)\n ) {\n let input = \"src/index.tsx\";\n if (!this.fs.existsSync(joinPaths(this.config.root, input))) {\n input = \"src/index.ts\";\n }\n\n this.config.input = input;\n }\n }\n }\n ];\n};\n\nexport default plugin;\n"],"mappings":"uFAgCA,MAAa,GAGX,EAA+B,EAAE,GAE1B,CACL,EAAO,EAAQ,CACf,CACE,KAAM,SACN,QAAS,CAKP,OAJA,KAAK,MACH,6DACD,CAEM,CACL,KAAM,UACN,OAAQ,CACN,OAAQ,CAAC,MAAO,MAAM,CACtB,IAAK,GACN,CACD,QAAS,CACP,SAAU,CAAC,aAAc,mBAAoB,iBAAiB,CAC/D,CACD,OAAQ,CACN,SAAU,OACV,OAAQ,SACR,aAAc,GACd,eAAgB,GAChB,OAAQ,GACR,QAAS,CACP,IAAK,GACN,CACD,SAAU,GACX,CACF,EAEH,MAAM,gBAAiB,CACrB,GACE,CAAC,KAAK,OAAO,OACZ,MAAM,QAAQ,KAAK,OAAO,MAAM,EAAI,KAAK,OAAO,MAAM,SAAW,EAClE,CACA,IAAI,EAAQ,gBACP,KAAK,GAAG,WAAW,EAAU,KAAK,OAAO,KAAM,EAAM,CAAC,GACzD,EAAQ,gBAGV,KAAK,OAAO,MAAQ,IAGzB,CACF,CAGH,IAAA,EAAe"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TsdownPluginContext, TsdownPluginOptions, TsdownPluginResolvedConfig, TsdownPluginUserConfig } from "@powerlines/plugin-tsdown
|
|
1
|
+
import { TsdownPluginContext, TsdownPluginOptions, TsdownPluginResolvedConfig, TsdownPluginUserConfig } from "@powerlines/plugin-tsdown";
|
|
2
2
|
import { TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
3
3
|
|
|
4
4
|
//#region src/types/plugin.d.ts
|
|
@@ -32,4 +32,4 @@ declare type __ΩPluginPluginResolvedConfig = any[];
|
|
|
32
32
|
declare type __ΩPluginPluginContext = any[];
|
|
33
33
|
//#endregion
|
|
34
34
|
export { PluginPluginUserConfig as a, __ΩPluginPluginResolvedConfig as c, PluginPluginTypesOptions as i, __ΩPluginPluginTypesOptions as l, PluginPluginOptions as n, __ΩPluginPluginContext as o, PluginPluginResolvedConfig as r, __ΩPluginPluginOptions as s, PluginPluginContext as t, __ΩPluginPluginUserConfig as u };
|
|
35
|
-
//# sourceMappingURL=plugin-
|
|
35
|
+
//# sourceMappingURL=plugin-B53UwtG7.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-
|
|
1
|
+
{"version":3,"file":"plugin-B53UwtG7.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;UA0BiB,wBAAA;;AAAjB;AAYA;EAOiB,OAAA,CAAA,EAfL,uBAe4B;EAIvB;AAIjB;;EAEI,UAAA,CAAA,EApBW,uBAoBX;;AACA,UAlBa,mBAAA,SAA4B,mBAkBzC,CAAA;EAAmB;;;UAdb;;UAGO,sBAAA,SAA+B;WACrC;;UAGM,0BAAA,SAAmC;UAC1C;;KAGE,4CACc,6BACtB,8BACA,oBAAoB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TsdownPluginContext, TsdownPluginOptions, TsdownPluginResolvedConfig, TsdownPluginUserConfig } from "@powerlines/plugin-tsdown
|
|
1
|
+
import { TsdownPluginContext, TsdownPluginOptions, TsdownPluginResolvedConfig, TsdownPluginUserConfig } from "@powerlines/plugin-tsdown";
|
|
2
2
|
import { TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
3
3
|
|
|
4
4
|
//#region src/types/plugin.d.ts
|
|
@@ -32,4 +32,4 @@ declare type __ΩPluginPluginResolvedConfig = any[];
|
|
|
32
32
|
declare type __ΩPluginPluginContext = any[];
|
|
33
33
|
//#endregion
|
|
34
34
|
export { PluginPluginUserConfig as a, __ΩPluginPluginResolvedConfig as c, PluginPluginTypesOptions as i, __ΩPluginPluginTypesOptions as l, PluginPluginOptions as n, __ΩPluginPluginContext as o, PluginPluginResolvedConfig as r, __ΩPluginPluginOptions as s, PluginPluginContext as t, __ΩPluginPluginUserConfig as u };
|
|
35
|
-
//# sourceMappingURL=plugin-
|
|
35
|
+
//# sourceMappingURL=plugin-DfGt6jzp.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-
|
|
1
|
+
{"version":3,"file":"plugin-DfGt6jzp.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;UA0BiB,wBAAA;;AAAjB;AAYA;EAOiB,OAAA,CAAA,EAfL,uBAe4B;EAIvB;AAIjB;;EAEI,UAAA,CAAA,EApBW,uBAoBX;;AACA,UAlBa,mBAAA,SAA4B,mBAkBzC,CAAA;EAAmB;;;UAdb;;UAGO,sBAAA,SAA+B;WACrC;;UAGM,0BAAA,SAAmC;UAC1C;;KAGE,4CACc,6BACtB,8BACA,oBAAoB"}
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PluginPluginUserConfig, c as __ΩPluginPluginResolvedConfig, i as PluginPluginTypesOptions, l as __ΩPluginPluginTypesOptions, n as PluginPluginOptions, o as __ΩPluginPluginContext, r as PluginPluginResolvedConfig, s as __ΩPluginPluginOptions, t as PluginPluginContext, u as __ΩPluginPluginUserConfig } from "../plugin-
|
|
1
|
+
import { a as PluginPluginUserConfig, c as __ΩPluginPluginResolvedConfig, i as PluginPluginTypesOptions, l as __ΩPluginPluginTypesOptions, n as PluginPluginOptions, o as __ΩPluginPluginContext, r as PluginPluginResolvedConfig, s as __ΩPluginPluginOptions, t as PluginPluginContext, u as __ΩPluginPluginUserConfig } from "../plugin-DfGt6jzp.cjs";
|
|
2
2
|
export { PluginPluginContext, PluginPluginOptions, PluginPluginResolvedConfig, PluginPluginTypesOptions, PluginPluginUserConfig, __ΩPluginPluginContext, __ΩPluginPluginOptions, __ΩPluginPluginResolvedConfig, __ΩPluginPluginTypesOptions, __ΩPluginPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PluginPluginUserConfig, c as __ΩPluginPluginResolvedConfig, i as PluginPluginTypesOptions, l as __ΩPluginPluginTypesOptions, n as PluginPluginOptions, o as __ΩPluginPluginContext, r as PluginPluginResolvedConfig, s as __ΩPluginPluginOptions, t as PluginPluginContext, u as __ΩPluginPluginUserConfig } from "../plugin-
|
|
1
|
+
import { a as PluginPluginUserConfig, c as __ΩPluginPluginResolvedConfig, i as PluginPluginTypesOptions, l as __ΩPluginPluginTypesOptions, n as PluginPluginOptions, o as __ΩPluginPluginContext, r as PluginPluginResolvedConfig, s as __ΩPluginPluginOptions, t as PluginPluginContext, u as __ΩPluginPluginUserConfig } from "../plugin-B53UwtG7.mjs";
|
|
2
2
|
export { PluginPluginContext, PluginPluginOptions, PluginPluginResolvedConfig, PluginPluginTypesOptions, PluginPluginUserConfig, __ΩPluginPluginContext, __ΩPluginPluginOptions, __ΩPluginPluginResolvedConfig, __ΩPluginPluginTypesOptions, __ΩPluginPluginUserConfig };
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PluginPluginUserConfig, c as __ΩPluginPluginResolvedConfig, i as PluginPluginTypesOptions, l as __ΩPluginPluginTypesOptions, n as PluginPluginOptions, o as __ΩPluginPluginContext, r as PluginPluginResolvedConfig, s as __ΩPluginPluginOptions, t as PluginPluginContext, u as __ΩPluginPluginUserConfig } from "../plugin-
|
|
1
|
+
import { a as PluginPluginUserConfig, c as __ΩPluginPluginResolvedConfig, i as PluginPluginTypesOptions, l as __ΩPluginPluginTypesOptions, n as PluginPluginOptions, o as __ΩPluginPluginContext, r as PluginPluginResolvedConfig, s as __ΩPluginPluginOptions, t as PluginPluginContext, u as __ΩPluginPluginUserConfig } from "../plugin-DfGt6jzp.cjs";
|
|
2
2
|
export { PluginPluginContext, PluginPluginOptions, PluginPluginResolvedConfig, PluginPluginTypesOptions, PluginPluginUserConfig, __ΩPluginPluginContext, __ΩPluginPluginOptions, __ΩPluginPluginResolvedConfig, __ΩPluginPluginTypesOptions, __ΩPluginPluginUserConfig };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PluginPluginUserConfig, c as __ΩPluginPluginResolvedConfig, i as PluginPluginTypesOptions, l as __ΩPluginPluginTypesOptions, n as PluginPluginOptions, o as __ΩPluginPluginContext, r as PluginPluginResolvedConfig, s as __ΩPluginPluginOptions, t as PluginPluginContext, u as __ΩPluginPluginUserConfig } from "../plugin-
|
|
1
|
+
import { a as PluginPluginUserConfig, c as __ΩPluginPluginResolvedConfig, i as PluginPluginTypesOptions, l as __ΩPluginPluginTypesOptions, n as PluginPluginOptions, o as __ΩPluginPluginContext, r as PluginPluginResolvedConfig, s as __ΩPluginPluginOptions, t as PluginPluginContext, u as __ΩPluginPluginUserConfig } from "../plugin-B53UwtG7.mjs";
|
|
2
2
|
export { PluginPluginContext, PluginPluginOptions, PluginPluginResolvedConfig, PluginPluginTypesOptions, PluginPluginUserConfig, __ΩPluginPluginContext, __ΩPluginPluginOptions, __ΩPluginPluginResolvedConfig, __ΩPluginPluginTypesOptions, __ΩPluginPluginUserConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-plugin",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.269",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"repository": {
|
|
@@ -118,10 +118,10 @@
|
|
|
118
118
|
"keywords": ["powerlines", "storm-software", "powerlines-plugin"],
|
|
119
119
|
"dependencies": {
|
|
120
120
|
"@stryke/path": "^0.26.15",
|
|
121
|
-
"powerlines": "^0.40.
|
|
122
|
-
"@powerlines/plugin-tsdown": "^0.1.
|
|
121
|
+
"powerlines": "^0.40.5",
|
|
122
|
+
"@powerlines/plugin-tsdown": "^0.1.269"
|
|
123
123
|
},
|
|
124
124
|
"devDependencies": { "@stryke/types": "^0.10.48", "@types/node": "^25.3.5" },
|
|
125
125
|
"publishConfig": { "access": "public" },
|
|
126
|
-
"gitHead": "
|
|
126
|
+
"gitHead": "842d89a4d59dd40606518bc727bfc31e3219b941"
|
|
127
127
|
}
|