Skip to content

Commit

Permalink
saving ocMinVersion if available
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardo-devis-agullo committed Feb 21, 2025
1 parent fcf5f81 commit a4e394d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/oc-generic-template-compiler/lib/createCompile.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ module.exports =
// Compile package.json
function (componentPackage, cb) {
componentPackage.oc.files.template.version = getInfo().version;
componentPackage.oc.files.template.minOcVersion = getInfo().minOcVersion;
componentPackage.oc.version = ocPackage.version;
componentPackage.oc.packaged = true;
componentPackage.oc.date = getUnixUtcTimestamp();
Expand Down
2 changes: 1 addition & 1 deletion packages/oc-generic-template-compiler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oc-generic-template-compiler",
"version": "2.1.4",
"version": "2.2.0",
"description": "OC-Generic-Template-Compiler",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit a4e394d

Please sign in to comment.