@powerlines/plugin-plugin 0.12.605 → 0.12.606
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.mjs +1 -1
- package/package.json +11 -6
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,s)=>(s=n==null?{}:e(i(n)),o(r||!n||!n.__esModule||!a.call(n,`default`)?t(s,`default`,{value:n,enumerable:!0}):s,n));let c=require("@powerlines/plugin-tsdown");c=s(c,1);let l=require("@stryke/path/append");const u=(e={})=>[(0,c.default)(e),{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
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,s)=>(s=n==null?{}:e(i(n)),o(r||!n||!n.__esModule||!a.call(n,`default`)?t(s,`default`,{value:n,enumerable:!0}):s,n));let c=require("@powerlines/plugin-tsdown");c=s(c,1);let l=require("@stryke/path/append");const u=(e={})=>[(0,c.default)(e),{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:!0}}},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,l.appendPath)(e,this.config.root))||(e=`src/index.ts`),this.config.input=e}}}}];exports.default=u,exports.plugin=u;
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import 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
|
|
1
|
+
import 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:!0}}},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 default,n as plugin};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-plugin",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.606",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"repository": {
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"exports": {
|
|
44
44
|
"./package.json": "./package.json",
|
|
45
45
|
".": {
|
|
46
|
+
"types": "./src/index.ts",
|
|
46
47
|
"import": {
|
|
47
48
|
"types": "./dist/index.d.mts",
|
|
48
49
|
"default": "./dist/index.mjs"
|
|
@@ -57,6 +58,7 @@
|
|
|
57
58
|
}
|
|
58
59
|
},
|
|
59
60
|
"./index": {
|
|
61
|
+
"types": "./src/index.ts",
|
|
60
62
|
"import": {
|
|
61
63
|
"types": "./dist/index.d.mts",
|
|
62
64
|
"default": "./dist/index.mjs"
|
|
@@ -71,6 +73,7 @@
|
|
|
71
73
|
}
|
|
72
74
|
},
|
|
73
75
|
"./plugin": {
|
|
76
|
+
"types": "./src/plugin/index.ts",
|
|
74
77
|
"import": {
|
|
75
78
|
"types": "./dist/index.d.mts",
|
|
76
79
|
"default": "./dist/index.mjs"
|
|
@@ -85,6 +88,7 @@
|
|
|
85
88
|
}
|
|
86
89
|
},
|
|
87
90
|
"./types": {
|
|
91
|
+
"types": "./src/types/index.ts",
|
|
88
92
|
"import": {
|
|
89
93
|
"types": "./dist/types/index.d.mts",
|
|
90
94
|
"default": "./dist/types/index.mjs"
|
|
@@ -99,6 +103,7 @@
|
|
|
99
103
|
}
|
|
100
104
|
},
|
|
101
105
|
"./types/*": {
|
|
106
|
+
"types": "./src/types/*/index.ts",
|
|
102
107
|
"import": {
|
|
103
108
|
"types": "./dist/types/*.d.mts",
|
|
104
109
|
"default": "./dist/types/*.mjs"
|
|
@@ -117,12 +122,12 @@
|
|
|
117
122
|
"files": ["dist/**/*"],
|
|
118
123
|
"keywords": ["powerlines", "storm-software", "powerlines-plugin"],
|
|
119
124
|
"dependencies": {
|
|
120
|
-
"@powerlines/plugin-tsdown": "
|
|
121
|
-
"@stryke/path": "^0.29.
|
|
122
|
-
"@stryke/types": "^0.12.
|
|
123
|
-
"powerlines": "
|
|
125
|
+
"@powerlines/plugin-tsdown": "0.1.595",
|
|
126
|
+
"@stryke/path": "^0.29.34",
|
|
127
|
+
"@stryke/types": "^0.12.35",
|
|
128
|
+
"powerlines": "0.47.194"
|
|
124
129
|
},
|
|
125
130
|
"devDependencies": { "@types/node": "^25.9.5" },
|
|
126
131
|
"publishConfig": { "access": "public" },
|
|
127
|
-
"gitHead": "
|
|
132
|
+
"gitHead": "ca37aa95827eddaaa3b5c8cb750249cc9045ac29"
|
|
128
133
|
}
|