@powerlines/plugin-plugin 0.12.622 → 0.12.624
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.cjs +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +3 -2
- package/dist/index.mjs +1 -1
- package/dist/types/plugin.d.mts.map +1 -1
- package/package.json +20 -52
- package/dist/types/index.d.cjs +0 -1
- package/dist/types/plugin.d.cjs +0 -0
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("@powerlines/plugin-tsdown"),t=require("@stryke/path/append");const n=(n={})=>[(0,e.plugin)(n),{name:`plugin`,config(){return this.debug(`Providing default configuration for the Powerlines plugin.`),{type:`library`,platform:`node`,output:{format:[`cjs`,`esm`],dts:!0,minify:!1,types:!1},resolve:{external:[`powerlines`,/^@powerlines\//,/^@power-plant\//]},tsdown:{target:`esnext`,cjsDefault:!0,nodeProtocol:!0,fixedExtension:!0,unbundle:!1}}},configResolved:{order:`pre`,async handler(){if(!this.config.input||Array.isArray(this.config.input)&&this.config.input.length===0){let e=`src/index.tsx`;this.fs.existsSync((0,t.appendPath)(e,this.config.root))||(e=`src/index.ts`),this.config.input=e}}}}];exports.plugin=n;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { PluginPluginContext, PluginPluginOptions } from "./types/plugin.cjs";
|
|
1
|
+
import { PluginPluginContext, PluginPluginOptions, PluginPluginResolvedConfig, PluginPluginTypesOptions, PluginPluginUserConfig } from "./types/plugin.cjs";
|
|
2
|
+
import "./types/index.cjs";
|
|
2
3
|
import { Plugin } from "powerlines";
|
|
3
4
|
//#region src/index.d.ts
|
|
4
5
|
declare module "powerlines" {
|
|
@@ -11,5 +12,5 @@ declare module "powerlines" {
|
|
|
11
12
|
*/
|
|
12
13
|
declare const plugin: <TContext extends PluginPluginContext = PluginPluginContext>(options?: PluginPluginOptions) => Plugin<TContext>[];
|
|
13
14
|
//#endregion
|
|
14
|
-
export {
|
|
15
|
+
export { type PluginPluginContext, type PluginPluginOptions, type PluginPluginResolvedConfig, type PluginPluginTypesOptions, type PluginPluginUserConfig, plugin };
|
|
15
16
|
//# 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.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;YA0BY;IACR,SAAS;;;;;;cAOA,SACX,iBAAiB,sBAAsB,qBAEvC,UAAS,wBACR,OAAO"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { PluginPluginContext, PluginPluginOptions } from "./types/plugin.mjs";
|
|
1
|
+
import { PluginPluginContext, PluginPluginOptions, PluginPluginResolvedConfig, PluginPluginTypesOptions, PluginPluginUserConfig } from "./types/plugin.mjs";
|
|
2
|
+
import "./types/index.mjs";
|
|
2
3
|
import { Plugin } from "powerlines";
|
|
3
4
|
//#region src/index.d.ts
|
|
4
5
|
declare module "powerlines" {
|
|
@@ -11,5 +12,5 @@ declare module "powerlines" {
|
|
|
11
12
|
*/
|
|
12
13
|
declare const plugin: <TContext extends PluginPluginContext = PluginPluginContext>(options?: PluginPluginOptions) => Plugin<TContext>[];
|
|
13
14
|
//#endregion
|
|
14
|
-
export {
|
|
15
|
+
export { type PluginPluginContext, type PluginPluginOptions, type PluginPluginResolvedConfig, type PluginPluginTypesOptions, type PluginPluginUserConfig, plugin };
|
|
15
16
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e
|
|
1
|
+
import{plugin as e}from"@powerlines/plugin-tsdown";import{appendPath as t}from"@stryke/path/append";const n=(n={})=>[e(n),{name:`plugin`,config(){return this.debug(`Providing default configuration for the Powerlines plugin.`),{type:`library`,platform:`node`,output:{format:[`cjs`,`esm`],dts:!0,minify:!1,types:!1},resolve:{external:[`powerlines`,/^@powerlines\//,/^@power-plant\//]},tsdown:{target:`esnext`,cjsDefault:!0,nodeProtocol:!0,fixedExtension:!0,unbundle:!1}}},configResolved:{order:`pre`,async handler(){if(!this.config.input||Array.isArray(this.config.input)&&this.config.input.length===0){let e=`src/index.tsx`;this.fs.existsSync(t(e,this.config.root))||(e=`src/index.ts`),this.config.input=e}}}}];export{n as plugin};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.
|
|
1
|
+
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-plugin",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.624",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"repository": {
|
|
@@ -38,83 +38,50 @@
|
|
|
38
38
|
},
|
|
39
39
|
"license": "Apache-2.0",
|
|
40
40
|
"private": false,
|
|
41
|
-
"main": "dist/index.cjs",
|
|
42
|
-
"module": "dist/index.mjs",
|
|
41
|
+
"main": "./dist/index.cjs",
|
|
42
|
+
"module": "./dist/index.mjs",
|
|
43
43
|
"exports": {
|
|
44
|
-
"./package.json": "./package.json",
|
|
45
44
|
".": {
|
|
46
|
-
"types": "./src/index.ts",
|
|
47
|
-
"import": {
|
|
48
|
-
"types": "./dist/index.d.mts",
|
|
49
|
-
"default": "./dist/index.mjs"
|
|
50
|
-
},
|
|
51
45
|
"require": {
|
|
52
46
|
"types": "./dist/index.d.cts",
|
|
53
47
|
"default": "./dist/index.cjs"
|
|
54
48
|
},
|
|
55
|
-
"default": {
|
|
56
|
-
"types": "./dist/index.d.mts",
|
|
57
|
-
"default": "./dist/index.mjs"
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"./index": {
|
|
61
|
-
"types": "./src/index.ts",
|
|
62
49
|
"import": {
|
|
63
50
|
"types": "./dist/index.d.mts",
|
|
64
51
|
"default": "./dist/index.mjs"
|
|
65
52
|
},
|
|
66
|
-
"require": {
|
|
67
|
-
"types": "./dist/index.d.cts",
|
|
68
|
-
"default": "./dist/index.cjs"
|
|
69
|
-
},
|
|
70
53
|
"default": {
|
|
71
54
|
"types": "./dist/index.d.mts",
|
|
72
55
|
"default": "./dist/index.mjs"
|
|
73
56
|
}
|
|
74
57
|
},
|
|
75
|
-
"./
|
|
76
|
-
|
|
77
|
-
"import": {
|
|
78
|
-
"types": "./dist/index.d.mts",
|
|
79
|
-
"default": "./dist/index.mjs"
|
|
80
|
-
},
|
|
58
|
+
"./package.json": "./package.json",
|
|
59
|
+
"./types": {
|
|
81
60
|
"require": {
|
|
82
|
-
"types": "./dist/index.d.cts",
|
|
83
|
-
"default": "./dist/index.cjs"
|
|
61
|
+
"types": "./dist/types/index.d.cts",
|
|
62
|
+
"default": "./dist/types/index.cjs"
|
|
84
63
|
},
|
|
85
|
-
"default": {
|
|
86
|
-
"types": "./dist/index.d.mts",
|
|
87
|
-
"default": "./dist/index.mjs"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"./types": {
|
|
91
|
-
"types": "./src/types/index.ts",
|
|
92
64
|
"import": {
|
|
93
65
|
"types": "./dist/types/index.d.mts",
|
|
94
66
|
"default": "./dist/types/index.mjs"
|
|
95
67
|
},
|
|
96
|
-
"require": {
|
|
97
|
-
"types": "./dist/types/index.d.cts",
|
|
98
|
-
"default": "./dist/types/index.cjs"
|
|
99
|
-
},
|
|
100
68
|
"default": {
|
|
101
69
|
"types": "./dist/types/index.d.mts",
|
|
102
70
|
"default": "./dist/types/index.mjs"
|
|
103
71
|
}
|
|
104
72
|
},
|
|
105
|
-
"./types
|
|
106
|
-
"types": "./src/types/*/index.ts",
|
|
107
|
-
"import": {
|
|
108
|
-
"types": "./dist/types/*.d.mts",
|
|
109
|
-
"default": "./dist/types/*.mjs"
|
|
110
|
-
},
|
|
73
|
+
"./types/plugin": {
|
|
111
74
|
"require": {
|
|
112
|
-
"types": "./dist/types
|
|
113
|
-
"default": "./dist/types
|
|
75
|
+
"types": "./dist/types/plugin.d.cts",
|
|
76
|
+
"default": "./dist/types/plugin.cjs"
|
|
77
|
+
},
|
|
78
|
+
"import": {
|
|
79
|
+
"types": "./dist/types/plugin.d.mts",
|
|
80
|
+
"default": "./dist/types/plugin.mjs"
|
|
114
81
|
},
|
|
115
82
|
"default": {
|
|
116
|
-
"types": "./dist/types
|
|
117
|
-
"default": "./dist/types
|
|
83
|
+
"types": "./dist/types/plugin.d.mts",
|
|
84
|
+
"default": "./dist/types/plugin.mjs"
|
|
118
85
|
}
|
|
119
86
|
}
|
|
120
87
|
},
|
|
@@ -122,12 +89,13 @@
|
|
|
122
89
|
"files": ["dist/**/*"],
|
|
123
90
|
"keywords": ["powerlines", "storm-software", "powerlines-plugin"],
|
|
124
91
|
"dependencies": {
|
|
125
|
-
"@powerlines/plugin-tsdown": "^0.1.
|
|
92
|
+
"@powerlines/plugin-tsdown": "^0.1.612",
|
|
126
93
|
"@stryke/path": "^0.29.35",
|
|
127
94
|
"@stryke/types": "^0.12.36",
|
|
128
|
-
"powerlines": "^0.47.
|
|
95
|
+
"powerlines": "^0.47.211"
|
|
129
96
|
},
|
|
130
97
|
"devDependencies": { "@types/node": "^25.9.5" },
|
|
131
98
|
"publishConfig": { "access": "public" },
|
|
132
|
-
"
|
|
99
|
+
"types": "./dist/index.d.cts",
|
|
100
|
+
"gitHead": "b009e583e12f04c70454ada388ceaae84d7ae6db"
|
|
133
101
|
}
|
package/dist/types/index.d.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require("./plugin.cjs");
|
package/dist/types/plugin.d.cjs
DELETED
|
File without changes
|