@power-plant/handlebars 0.0.11 → 0.0.13

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/README.md CHANGED
@@ -33,7 +33,7 @@ The Power Plant monorepo is a collection of packages that are designed to work t
33
33
 
34
34
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
35
35
 
36
- [![Version](https://img.shields.io/badge/version-0.0.8-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://docs.stormsoftware.com/projects/power-plant)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/power-plant/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
36
+ [![Version](https://img.shields.io/badge/version-0.0.12-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://docs.stormsoftware.com/projects/power-plant)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/power-plant/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
37
37
 
38
38
  <!-- prettier-ignore-start -->
39
39
  <!-- markdownlint-disable -->
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- 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,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let c=require("@power-plant/core"),l=require("@stryke/path/append"),u=require("handlebars");u=s(u,1);var d=(0,c.defineGenerator)({meta:{name:`handlebars`,description:`A generator that uses Handlebars to generate source code from a specification.`,version:`1.0`,tags:[`handlebars`],links:[{description:`Handlebars Repository`,href:`https://github.com/handlebars-lang/handlebars.js`},{description:`Handlebars Documentation`,href:`https://handlebarsjs.com/guide/`}]},generator:async(e,t)=>{let{template:n,outputFile:r,...i}=t,{cwd:a}=(0,c.useExecutionContext)(),o=u.default.compile(n,i)(e);return{[r]:{path:(0,l.appendPath)(r,a),source:[{content:o,meta:{}}]}}}});module.exports=d;
1
+ 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,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let c=require("@power-plant/core"),l=require("@stryke/path/append"),u=require("handlebars");u=s(u,1);var d=(0,c.defineGenerator)({meta:{name:`handlebars`,description:`A generator that uses Handlebars to generate source code from a specification.`,version:`1.0`,tags:[`handlebars`],links:[{description:`Handlebars Repository`,href:`https://github.com/handlebars-lang/handlebars.js`},{description:`Handlebars Documentation`,href:`https://handlebarsjs.com/guide/`}]},generator:async(e,t)=>{let{template:n,outputFile:r,...i}=t,{cwd:a}=(0,c.useExecutionContext)(),o=u.default.compile(n,i)(e);return{[r]:{path:(0,l.appendPath)(r,a),chunks:[{content:o,meta:{}}]}}}});module.exports=d;
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import{defineGenerator as e,useExecutionContext as t}from"@power-plant/core";import{appendPath as n}from"@stryke/path/append";import r from"handlebars";var i=e({meta:{name:`handlebars`,description:`A generator that uses Handlebars to generate source code from a specification.`,version:`1.0`,tags:[`handlebars`],links:[{description:`Handlebars Repository`,href:`https://github.com/handlebars-lang/handlebars.js`},{description:`Handlebars Documentation`,href:`https://handlebarsjs.com/guide/`}]},generator:async(e,i)=>{let{template:a,outputFile:o,...s}=i,{cwd:c}=t(),l=r.compile(a,s)(e);return{[o]:{path:n(o,c),source:[{content:l,meta:{}}]}}}});export{i as default};
1
+ import{defineGenerator as e,useExecutionContext as t}from"@power-plant/core";import{appendPath as n}from"@stryke/path/append";import r from"handlebars";var i=e({meta:{name:`handlebars`,description:`A generator that uses Handlebars to generate source code from a specification.`,version:`1.0`,tags:[`handlebars`],links:[{description:`Handlebars Repository`,href:`https://github.com/handlebars-lang/handlebars.js`},{description:`Handlebars Documentation`,href:`https://handlebarsjs.com/guide/`}]},generator:async(e,i)=>{let{template:a,outputFile:o,...s}=i,{cwd:c}=t(),l=r.compile(a,s)(e);return{[o]:{path:n(o,c),chunks:[{content:l,meta:{}}]}}}});export{i as default};
2
2
  //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@power-plant/handlebars",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "private": false,
5
5
  "description": "A Power Plant generator for using Handlebars to generate source code.",
6
6
  "keywords": [
@@ -67,8 +67,8 @@
67
67
  "typings": "dist/index.d.mts",
68
68
  "files": ["dist"],
69
69
  "dependencies": {
70
- "@power-plant/core": "^0.0.15",
71
- "@power-plant/schema": "^0.0.15",
70
+ "@power-plant/core": "^0.0.17",
71
+ "@power-plant/schema": "^0.0.17",
72
72
  "@stryke/convert": "^0.7.26",
73
73
  "@stryke/path": "^0.29.22",
74
74
  "@stryke/type-checks": "^0.6.28",
@@ -77,10 +77,10 @@
77
77
  "handlebars": "^4.7.9"
78
78
  },
79
79
  "devDependencies": {
80
- "@powerlines/plugin-tsdown": "^0.1.544",
80
+ "@powerlines/plugin-tsdown": "^0.1.545",
81
81
  "@types/node": "^25.9.5",
82
- "powerlines": "^0.47.143"
82
+ "powerlines": "^0.47.144"
83
83
  },
84
84
  "publishConfig": { "access": "public" },
85
- "gitHead": "53b9aaba951c67546a3774251f4ad973eccc3997"
85
+ "gitHead": "7346b39899095e30744680cd9994a6c229d4f16a"
86
86
  }