Skip to content

Commit c0d0f69

Browse files
chore(actions): publish v3.21.0 to npm (#1015)
Signed-off-by: GitHub <[email protected]> Co-authored-by: mttrbrts <[email protected]>
1 parent b3c8ac2 commit c0d0f69

File tree

11 files changed

+43
-34
lines changed

11 files changed

+43
-34
lines changed

package-lock.json

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
],
2222
"name": "concerto",
2323
"description": "Define and introspect data models",
24-
"version": "3.20.4",
24+
"version": "3.21.0",
2525
"private": true,
2626
"scripts": {
2727
"coverage": "node ./scripts/coverage.js \"packages/concerto-*\" && nyc report -t coverage --cwd . --report-dir coverage --reporter=lcov && cat ./coverage/lcov.info",

packages/concerto-analysis/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@accordproject/concerto-analysis",
3-
"version": "3.20.4",
3+
"version": "3.21.0",
44
"description": "Analysis of Concerto model files",
55
"homepage": "https://github.com/accordproject/concerto",
66
"engines": {
@@ -31,11 +31,11 @@
3131
"author": "accordproject.org",
3232
"license": "Apache-2.0",
3333
"dependencies": {
34-
"@accordproject/concerto-core": "3.20.4",
34+
"@accordproject/concerto-core": "3.21.0",
3535
"semver": "7.6.3"
3636
},
3737
"devDependencies": {
38-
"@accordproject/concerto-cto": "3.20.4",
38+
"@accordproject/concerto-cto": "3.21.0",
3939
"@types/semver": "7.5.8",
4040
"@typescript-eslint/eslint-plugin": "8.16.0",
4141
"@typescript-eslint/parser": "8.16.0",

packages/concerto-core/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@accordproject/concerto-core",
3-
"version": "3.20.4",
3+
"version": "3.21.0",
44
"description": "Core Implementation for the Concerto Modeling Language",
55
"homepage": "https://github.com/accordproject/concerto",
66
"engines": {
@@ -64,9 +64,9 @@
6464
"yargs": "17.7.2"
6565
},
6666
"dependencies": {
67-
"@accordproject/concerto-cto": "3.20.4",
67+
"@accordproject/concerto-cto": "3.21.0",
6868
"@accordproject/concerto-metamodel": "3.11.0",
69-
"@accordproject/concerto-util": "3.20.4",
69+
"@accordproject/concerto-util": "3.21.0",
7070
"dayjs": "1.11.13",
7171
"debug": "4.3.7",
7272
"lorem-ipsum": "2.0.8",

packages/concerto-core/types/lib/decoratorextractor.d.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ declare class DecoratorExtractor {
2222
* @param {string} dcs_version - version string
2323
* @param {Object} sourceModelAst - the ast of source models
2424
* @param {int} [action=DecoratorExtractor.Action.EXTRACT_ALL] - the action to be performed
25-
* @param {boolean} enableDcsNamespaceTarget - flag to control applying namespace targeted decorators on top of the namespace instead of all declarations in that namespace
25+
* @param {object} [options] - decorator extractor options
26+
* @param {boolean} [options.enableDcsNamespaceTarget] - flag to control applying namespace targeted decorators on top of the namespace instead of all declarations in that namespace
2627
*/
27-
constructor(removeDecoratorsFromModel: boolean, locale: string, dcs_version: string, sourceModelAst: any, action?: int, enableDcsNamespaceTarget: boolean);
28+
constructor(removeDecoratorsFromModel: boolean, locale: string, dcs_version: string, sourceModelAst: any, action?: int, options?: {
29+
enableDcsNamespaceTarget?: boolean;
30+
});
2831
extractionDictionary: {};
2932
removeDecoratorsFromModel: boolean;
3033
locale: string;

packages/concerto-cto/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@accordproject/concerto-cto",
3-
"version": "3.20.4",
3+
"version": "3.21.0",
44
"description": "Parser for Concerto CTO files",
55
"homepage": "https://github.com/accordproject/concerto",
66
"engines": {
@@ -53,7 +53,7 @@
5353
},
5454
"dependencies": {
5555
"@accordproject/concerto-metamodel": "3.11.0",
56-
"@accordproject/concerto-util": "3.20.4"
56+
"@accordproject/concerto-util": "3.21.0"
5757
},
5858
"browserslist": "> 0.25%, not dead",
5959
"nyc": {

packages/concerto-types/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@accordproject/concerto-types",
3-
"version": "3.20.4",
3+
"version": "3.21.0",
44
"description": "Types for the Concerto Modeling Language",
55
"homepage": "https://github.com/accordproject/concerto",
66
"engines": {
@@ -33,8 +33,8 @@
3333
"license": "Apache-2.0",
3434
"devDependencies": {
3535
"@accordproject/concerto-codegen": "3.30.1",
36-
"@accordproject/concerto-core": "3.20.4",
37-
"@accordproject/concerto-util": "3.20.4",
36+
"@accordproject/concerto-core": "3.21.0",
37+
"@accordproject/concerto-util": "3.21.0",
3838
"eslint": "8.57.1",
3939
"jest": "29.7.0",
4040
"npm-run-all": "4.1.5",

packages/concerto-util/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@accordproject/concerto-util",
3-
"version": "3.20.4",
3+
"version": "3.21.0",
44
"description": "Utilities for Concerto Modeling Language",
55
"homepage": "https://github.com/accordproject/concerto",
66
"engines": {

packages/concerto-vocabulary/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@accordproject/concerto-vocabulary",
3-
"version": "3.20.4",
3+
"version": "3.21.0",
44
"description": "Associate human-readable text to model declarations",
55
"homepage": "https://github.com/accordproject/concerto",
66
"engines": {
@@ -34,7 +34,7 @@
3434
"author": "accordproject.org",
3535
"license": "Apache-2.0",
3636
"devDependencies": {
37-
"@accordproject/concerto-core": "3.20.4",
37+
"@accordproject/concerto-core": "3.21.0",
3838
"chai": "4.3.6",
3939
"chai-as-promised": "7.1.1",
4040
"chai-things": "0.2.0",

packages/concerto-vocabulary/types/lib/vocabulary.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ declare class Vocabulary {
4040
* @returns {Array} an array of objects
4141
*/
4242
getTerms(): any[];
43+
/**
44+
* Gets the terms of Namespace
45+
* @returns {string} the term or null if it does not exist
46+
* @private
47+
*/
48+
private getNamespaceTerms;
4349
/**
4450
* Gets the term for a concept, enum or property
4551
* @param {string} declarationName the name of a concept or enum

0 commit comments

Comments
 (0)