@power-plant/handlebars 0.0.8 → 0.0.12
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 +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +6 -6
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
|
-
[](https://docs.stormsoftware.com/projects/power-plant) [](http://commitizen.github.io/cz-cli/)  
|
|
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),
|
|
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),
|
|
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.
|
|
3
|
+
"version": "0.0.12",
|
|
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.
|
|
71
|
-
"@power-plant/schema": "^0.0.
|
|
70
|
+
"@power-plant/core": "^0.0.16",
|
|
71
|
+
"@power-plant/schema": "^0.0.16",
|
|
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.
|
|
80
|
+
"@powerlines/plugin-tsdown": "^0.1.545",
|
|
81
81
|
"@types/node": "^25.9.5",
|
|
82
|
-
"powerlines": "^0.47.
|
|
82
|
+
"powerlines": "^0.47.144"
|
|
83
83
|
},
|
|
84
84
|
"publishConfig": { "access": "public" },
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "8cb4ebd50961de43b9482885f5ba5779b8ded913"
|
|
86
86
|
}
|