@powerlines/plugin-plugin 0.12.619 → 0.12.621

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 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`,/^@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;
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:!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,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`,/^@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};
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:!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 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.619",
3
+ "version": "0.12.621",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
6
6
  "repository": {
@@ -122,12 +122,12 @@
122
122
  "files": ["dist/**/*"],
123
123
  "keywords": ["powerlines", "storm-software", "powerlines-plugin"],
124
124
  "dependencies": {
125
- "@powerlines/plugin-tsdown": "^0.1.608",
125
+ "@powerlines/plugin-tsdown": "^0.1.609",
126
126
  "@stryke/path": "^0.29.35",
127
127
  "@stryke/types": "^0.12.36",
128
- "powerlines": "^0.47.207"
128
+ "powerlines": "^0.47.208"
129
129
  },
130
130
  "devDependencies": { "@types/node": "^25.9.5" },
131
131
  "publishConfig": { "access": "public" },
132
- "gitHead": "69c1cff402a9eb0300bdd49ce2bdc5384e1396ff"
132
+ "gitHead": "a060bb776b719e7628c30f82d4fb4305fbcd1581"
133
133
  }