From 956805575d6c91d0ca51d6bbdbe6f2f5068aa4ff Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 4 Jul 2023 14:33:21 +0100 Subject: [PATCH] chore(actions): publish v0.16.11 to npm (#546) Signed-off-by: GitHub Co-authored-by: dselman --- lerna.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- packages/dingus/package-lock.json | 2 +- packages/dingus/package.json | 4 ++-- packages/markdown-cicero/package-lock.json | 2 +- packages/markdown-cicero/package.json | 6 +++--- packages/markdown-cli/package.json | 2 +- packages/markdown-common/package-lock.json | 2 +- packages/markdown-common/package.json | 2 +- packages/markdown-docx/package.json | 2 +- packages/markdown-html/package.json | 2 +- packages/markdown-it-cicero/package.json | 2 +- packages/markdown-it-template/package-lock.json | 2 +- packages/markdown-it-template/package.json | 2 +- packages/markdown-pdf/package.json | 2 +- packages/markdown-slate/package.json | 2 +- .../lib/fromtemplatemarkrules.js | 6 ++++-- packages/markdown-template/lib/templaterules.js | 6 ++++-- packages/markdown-template/package-lock.json | 2 +- packages/markdown-template/package.json | 4 ++-- packages/markdown-transform/package.json | 16 ++++++++-------- 22 files changed, 40 insertions(+), 36 deletions(-) diff --git a/lerna.json b/lerna.json index 98de309e..92ebcd58 100644 --- a/lerna.json +++ b/lerna.json @@ -2,6 +2,6 @@ "packages": [ "packages/*" ], - "version": "0.16.8", + "version": "0.16.11", "hoist": true } diff --git a/package-lock.json b/package-lock.json index 568904fb..8607701f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "markdown-transform", - "version": "0.16.10", + "version": "0.16.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "markdown-transform", - "version": "0.16.10", + "version": "0.16.11", "license": "Apache-2.0", "dependencies": { "@accordproject/concerto-cto": "3.7.0", diff --git a/package.json b/package.json index 31dcb914..c98526c7 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ }, "name": "markdown-transform", "description": "A framework for transforming markdown", - "version": "0.16.10", + "version": "0.16.11", "private": true, "scripts": { "dingus": "lerna exec --scope dingus -- npm run dingus", diff --git a/packages/dingus/package-lock.json b/packages/dingus/package-lock.json index dc4ba432..c16167c5 100644 --- a/packages/dingus/package-lock.json +++ b/packages/dingus/package-lock.json @@ -1,6 +1,6 @@ { "name": "dingus", - "version": "0.16.8", + "version": "0.16.11", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/packages/dingus/package.json b/packages/dingus/package.json index 4ea88332..07ef2a72 100644 --- a/packages/dingus/package.json +++ b/packages/dingus/package.json @@ -1,6 +1,6 @@ { "name": "dingus", - "version": "0.16.8", + "version": "0.16.11", "description": "Markdown Transform Dingus", "keywords": [ "accord-project", @@ -22,7 +22,7 @@ "@accordproject/markdown-cicero": "0.16.8", "@accordproject/markdown-common": "0.16.8", "@accordproject/markdown-it-cicero": "0.16.8", - "@accordproject/markdown-it-template": "0.16.8", + "@accordproject/markdown-it-template": "0.16.11", "@accordproject/markdown-pdf": "0.16.8", "@accordproject/markdown-template": "0.16.8", "@babel/core": "7.17.5", diff --git a/packages/markdown-cicero/package-lock.json b/packages/markdown-cicero/package-lock.json index 0eb06880..402495ea 100644 --- a/packages/markdown-cicero/package-lock.json +++ b/packages/markdown-cicero/package-lock.json @@ -1,6 +1,6 @@ { "name": "@accordproject/markdown-cicero", - "version": "0.16.8", + "version": "0.16.11", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/packages/markdown-cicero/package.json b/packages/markdown-cicero/package.json index c70a73f7..42705bfe 100644 --- a/packages/markdown-cicero/package.json +++ b/packages/markdown-cicero/package.json @@ -1,6 +1,6 @@ { "name": "@accordproject/markdown-cicero", - "version": "0.16.10", + "version": "0.16.11", "description": "A framework for transforming markdown", "engines": { "node": ">=14", @@ -52,8 +52,8 @@ }, "dependencies": { "@accordproject/concerto-core": "3.7.0", - "@accordproject/markdown-common": "0.16.10", - "@accordproject/markdown-it-cicero": "0.16.10", + "@accordproject/markdown-common": "0.16.11", + "@accordproject/markdown-it-cicero": "0.16.11", "markdown-it": "^13.0.1", "winston": "3.2.1" }, diff --git a/packages/markdown-cli/package.json b/packages/markdown-cli/package.json index b38546d6..7f2cc719 100644 --- a/packages/markdown-cli/package.json +++ b/packages/markdown-cli/package.json @@ -1,6 +1,6 @@ { "name": "@accordproject/markdown-cli", - "version": "0.16.8", + "version": "0.16.11", "description": "A framework for transforming markdown", "engines": { "node": ">=14", diff --git a/packages/markdown-common/package-lock.json b/packages/markdown-common/package-lock.json index a94b7739..e13c28f2 100644 --- a/packages/markdown-common/package-lock.json +++ b/packages/markdown-common/package-lock.json @@ -1,6 +1,6 @@ { "name": "@accordproject/markdown-common", - "version": "0.16.8", + "version": "0.16.11", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/packages/markdown-common/package.json b/packages/markdown-common/package.json index dcfc0918..e836c5fb 100644 --- a/packages/markdown-common/package.json +++ b/packages/markdown-common/package.json @@ -1,6 +1,6 @@ { "name": "@accordproject/markdown-common", - "version": "0.16.10", + "version": "0.16.11", "description": "A framework for transforming markdown", "engines": { "node": ">=15", diff --git a/packages/markdown-docx/package.json b/packages/markdown-docx/package.json index 98d8764c..bda1aacd 100644 --- a/packages/markdown-docx/package.json +++ b/packages/markdown-docx/package.json @@ -1,6 +1,6 @@ { "name": "@accordproject/markdown-docx", - "version": "0.16.10", + "version": "0.16.11", "description": "Transform DOCX to CiceroMark DOM", "engines": { "node": ">=14", diff --git a/packages/markdown-html/package.json b/packages/markdown-html/package.json index 9b88ef00..844c2b78 100644 --- a/packages/markdown-html/package.json +++ b/packages/markdown-html/package.json @@ -1,6 +1,6 @@ { "name": "@accordproject/markdown-html", - "version": "0.16.10", + "version": "0.16.11", "description": "Transform CiceroDOM to HTML", "engines": { "node": ">=14", diff --git a/packages/markdown-it-cicero/package.json b/packages/markdown-it-cicero/package.json index ad7163be..cc4dc97f 100644 --- a/packages/markdown-it-cicero/package.json +++ b/packages/markdown-it-cicero/package.json @@ -1,6 +1,6 @@ { "name": "@accordproject/markdown-it-cicero", - "version": "0.16.10", + "version": "0.16.11", "description": "Plugin to introduce cicero blocks and inlines for the markdown-it markdown parser", "engines": { "node": ">=14", diff --git a/packages/markdown-it-template/package-lock.json b/packages/markdown-it-template/package-lock.json index ff9e0356..6bd6b638 100644 --- a/packages/markdown-it-template/package-lock.json +++ b/packages/markdown-it-template/package-lock.json @@ -1 +1 @@ -{"name":"@accordproject/markdown-it-template","version":"0.16.8","lockfileVersion":3,"requires":true,"packages":{"":{"name":"@accordproject/markdown-it-template","version":"0.16.2","license":"Apache-2.0","dependencies":{"markdown-it":"^13.0.1"},"engines":{"node":">=14","npm":">=6"}},"node_modules/argparse":{"version":"2.0.1","resolved":"https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz","integrity":"sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="},"node_modules/entities":{"version":"3.0.1","resolved":"https://registry.npmjs.org/entities/-/entities-3.0.1.tgz","integrity":"sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==","engines":{"node":">=0.12"},"funding":{"url":"https://github.com/fb55/entities?sponsor=1"}},"node_modules/linkify-it":{"version":"4.0.1","resolved":"https://registry.npmjs.org/linkify-it/-/linkify-it-4.0.1.tgz","integrity":"sha512-C7bfi1UZmoj8+PQx22XyeXCuBlokoyWQL5pWSP+EI6nzRylyThouddufc2c1NDIcP9k5agmN9fLpA7VNJfIiqw==","dependencies":{"uc.micro":"^1.0.1"}},"node_modules/markdown-it":{"version":"13.0.1","resolved":"https://registry.npmjs.org/markdown-it/-/markdown-it-13.0.1.tgz","integrity":"sha512-lTlxriVoy2criHP0JKRhO2VDG9c2ypWCsT237eDiLqi09rmbKoUetyGHq2uOIRoRS//kfoJckS0eUzzkDR+k2Q==","dependencies":{"argparse":"^2.0.1","entities":"~3.0.1","linkify-it":"^4.0.1","mdurl":"^1.0.1","uc.micro":"^1.0.5"},"bin":{"markdown-it":"bin/markdown-it.js"}},"node_modules/mdurl":{"version":"1.0.1","resolved":"https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz","integrity":"sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g=="},"node_modules/uc.micro":{"version":"1.0.6","resolved":"https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz","integrity":"sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA=="}}} \ No newline at end of file +{"name":"@accordproject/markdown-it-template","version":"0.16.11","lockfileVersion":3,"requires":true,"packages":{"":{"name":"@accordproject/markdown-it-template","version":"0.16.2","license":"Apache-2.0","dependencies":{"markdown-it":"^13.0.1"},"engines":{"node":">=14","npm":">=6"}},"node_modules/argparse":{"version":"2.0.1","resolved":"https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz","integrity":"sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="},"node_modules/entities":{"version":"3.0.1","resolved":"https://registry.npmjs.org/entities/-/entities-3.0.1.tgz","integrity":"sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==","engines":{"node":">=0.12"},"funding":{"url":"https://github.com/fb55/entities?sponsor=1"}},"node_modules/linkify-it":{"version":"4.0.1","resolved":"https://registry.npmjs.org/linkify-it/-/linkify-it-4.0.1.tgz","integrity":"sha512-C7bfi1UZmoj8+PQx22XyeXCuBlokoyWQL5pWSP+EI6nzRylyThouddufc2c1NDIcP9k5agmN9fLpA7VNJfIiqw==","dependencies":{"uc.micro":"^1.0.1"}},"node_modules/markdown-it":{"version":"13.0.1","resolved":"https://registry.npmjs.org/markdown-it/-/markdown-it-13.0.1.tgz","integrity":"sha512-lTlxriVoy2criHP0JKRhO2VDG9c2ypWCsT237eDiLqi09rmbKoUetyGHq2uOIRoRS//kfoJckS0eUzzkDR+k2Q==","dependencies":{"argparse":"^2.0.1","entities":"~3.0.1","linkify-it":"^4.0.1","mdurl":"^1.0.1","uc.micro":"^1.0.5"},"bin":{"markdown-it":"bin/markdown-it.js"}},"node_modules/mdurl":{"version":"1.0.1","resolved":"https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz","integrity":"sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g=="},"node_modules/uc.micro":{"version":"1.0.6","resolved":"https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz","integrity":"sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA=="}}} \ No newline at end of file diff --git a/packages/markdown-it-template/package.json b/packages/markdown-it-template/package.json index 6e0e8020..11cc3f25 100644 --- a/packages/markdown-it-template/package.json +++ b/packages/markdown-it-template/package.json @@ -1,6 +1,6 @@ { "name": "@accordproject/markdown-it-template", - "version": "0.16.8", + "version": "0.16.11", "description": "Plugin to introduce template blocks and inlines for the markdown-it markdown parser", "engines": { "node": ">=14", diff --git a/packages/markdown-pdf/package.json b/packages/markdown-pdf/package.json index 0612c4b0..189cccea 100644 --- a/packages/markdown-pdf/package.json +++ b/packages/markdown-pdf/package.json @@ -1,6 +1,6 @@ { "name": "@accordproject/markdown-pdf", - "version": "0.16.10", + "version": "0.16.11", "description": "Transform PDF to/from CiceroMark DOM", "engines": { "node": ">=14", diff --git a/packages/markdown-slate/package.json b/packages/markdown-slate/package.json index a5380b04..4571ac14 100644 --- a/packages/markdown-slate/package.json +++ b/packages/markdown-slate/package.json @@ -1,6 +1,6 @@ { "name": "@accordproject/markdown-slate", - "version": "0.16.10", + "version": "0.16.11", "description": "Transform markdown to/from CommonMark AST", "engines": { "node": ">=14", diff --git a/packages/markdown-template/lib/fromtemplatemarkrules.js b/packages/markdown-template/lib/fromtemplatemarkrules.js index ec8f15ae..1ff043e5 100644 --- a/packages/markdown-template/lib/fromtemplatemarkrules.js +++ b/packages/markdown-template/lib/fromtemplatemarkrules.js @@ -69,8 +69,10 @@ rules.WithDefinition = (visitor, thing, children, parameters, resultString, resu }; rules.JoinDefinition = (visitor, thing, children, parameters, resultString, resultSeq) => { var sepAttr = thing.separator ? ' separator="' + thing.separator + '"' : ''; - var lastSepAttr = thing.lastSeparator ? ' lastSeparator="' + thing.lastSeparator + '"' : ''; - var next1 = "{{#join ".concat(thing.name).concat(sepAttr).concat(lastSepAttr, "}}"); + var localeAttr = thing.locale ? ' locale="' + thing.locale + '"' : ''; + var typeAttr = thing.type ? ' type="' + thing.type + '"' : ''; + var styleAttr = thing.style ? ' style="' + thing.style + '"' : ''; + var next1 = "{{#join ".concat(thing.name).concat(sepAttr).concat(localeAttr).concat(typeAttr).concat(styleAttr, "}}"); var next2 = '{{/join}}'; var result = [resultString(next1), children, resultString(next2)]; resultSeq(parameters, result); diff --git a/packages/markdown-template/lib/templaterules.js b/packages/markdown-template/lib/templaterules.js index 2d7bade8..13e63df5 100644 --- a/packages/markdown-template/lib/templaterules.js +++ b/packages/markdown-template/lib/templaterules.js @@ -180,8 +180,10 @@ var joinOpenRule = { close: false, enter: (node, token, callback) => { node.name = getAttr(token.attrs, 'name', null); - node.separator = getAttr(token.attrs, 'separator', ','); - node.lastSeparator = getAttr(token.attrs, 'lastSeparator', null); + node.separator = getAttr(token.attrs, 'separator', null); + node.locale = getAttr(token.attrs, 'locale', null); + node.type = getAttr(token.attrs, 'type', null); + node.style = getAttr(token.attrs, 'style', null); }, skipEmpty: false }; diff --git a/packages/markdown-template/package-lock.json b/packages/markdown-template/package-lock.json index d243d7be..2c3e6acc 100644 --- a/packages/markdown-template/package-lock.json +++ b/packages/markdown-template/package-lock.json @@ -1,6 +1,6 @@ { "name": "@accordproject/markdown-template", - "version": "0.16.8", + "version": "0.16.11", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/packages/markdown-template/package.json b/packages/markdown-template/package.json index 0be563f0..2377030c 100644 --- a/packages/markdown-template/package.json +++ b/packages/markdown-template/package.json @@ -1,6 +1,6 @@ { "name": "@accordproject/markdown-template", - "version": "0.16.10", + "version": "0.16.11", "description": "A framework for transforming markdown", "engines": { "node": ">=14", @@ -88,7 +88,7 @@ "@accordproject/concerto-cto": "3.7.0", "@accordproject/markdown-cicero": "0.16.8", "@accordproject/markdown-common": "0.16.8", - "@accordproject/markdown-it-template": "0.16.8", + "@accordproject/markdown-it-template": "0.16.11", "dayjs": "1.10.8", "markdown-it": "^13.0.1", "uuid": "8.3.2" diff --git a/packages/markdown-transform/package.json b/packages/markdown-transform/package.json index c0e5e1fa..4e1fd7b1 100644 --- a/packages/markdown-transform/package.json +++ b/packages/markdown-transform/package.json @@ -1,6 +1,6 @@ { "name": "@accordproject/markdown-transform", - "version": "0.16.10", + "version": "0.16.11", "description": "API for transforming markdown data", "engines": { "node": ">=14", @@ -88,13 +88,13 @@ }, "dependencies": { "@accordproject/concerto-core": "3.7.0", - "@accordproject/markdown-cicero": "0.16.10", - "@accordproject/markdown-common": "0.16.10", - "@accordproject/markdown-docx": "0.16.10", - "@accordproject/markdown-html": "0.16.10", - "@accordproject/markdown-pdf": "0.16.10", - "@accordproject/markdown-slate": "0.16.10", - "@accordproject/markdown-template": "0.16.10", + "@accordproject/markdown-cicero": "0.16.11", + "@accordproject/markdown-common": "0.16.11", + "@accordproject/markdown-docx": "0.16.11", + "@accordproject/markdown-html": "0.16.11", + "@accordproject/markdown-pdf": "0.16.11", + "@accordproject/markdown-slate": "0.16.11", + "@accordproject/markdown-template": "0.16.11", "dijkstrajs": "^1.0.2" }, "license-check-and-add-config": {