Skip to content

Commit

Permalink
fix(Concerto) Switch to Concerto 0.81 with ergo serializer, remove Co…
Browse files Browse the repository at this point in the history
…ncerto hack

Signed-off-by: Jerome Simeon <[email protected]>
  • Loading branch information
jeromesimeon committed Oct 6, 2019
1 parent f743a23 commit 698f739
Show file tree
Hide file tree
Showing 16 changed files with 885 additions and 5,445 deletions.
1,691 changes: 864 additions & 827 deletions package-lock.json

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions packages/ergo-compiler/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,11 @@
* @module ergo-compiler
*/

module.exports.ComposerConcerto = require('@accordproject/concerto');
module.exports.ComposerConcertoTools = require('@accordproject/concerto-tools');

module.exports.APModelManager = require('./lib/apmodelmanager.js');
module.exports.Compiler = require('./lib/compiler.js');
module.exports.CompilerException = require('./lib/compilerexception.js');
module.exports.LogicManager = require('./lib/logicmanager.js');
module.exports.Logger = require('@accordproject/markdown-common').Logger;
module.exports.Logger = require('@accordproject/concerto-core').Logger;
module.exports.ScriptManager = require('./lib/scriptmanager.js');
module.exports.TypeException = require('./lib/typeexception.js');
module.exports.Util = require('./lib/util.js');
Expand Down
2 changes: 1 addition & 1 deletion packages/ergo-compiler/lib/apmodelmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

const fsPath = require('path');

const ModelManager = require('@accordproject/concerto').ModelManager;
const ModelManager = require('@accordproject/concerto-core').ModelManager;
const Builtin = require('./builtin');

/**
Expand Down
4 changes: 2 additions & 2 deletions packages/ergo-compiler/lib/compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
'use strict';

const CompilerCore=require('../extracted/compilercore');
const CTOParser = require('@accordproject/concerto/lib/introspect/parser');
const Logger = require('@accordproject/markdown-common').Logger;
const CTOParser = require('@accordproject/concerto-core/lib/introspect/parser');
const Logger = require('@accordproject/concerto-core').Logger;

/**
* <p>
Expand Down
2 changes: 1 addition & 1 deletion packages/ergo-compiler/lib/compilerexception.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

'use strict';

const BaseFileException = require('@accordproject/concerto').BaseFileException;
const BaseFileException = require('@accordproject/concerto-core').BaseFileException;

/**
* Exception throws when ergo compilation fails
Expand Down
275 changes: 0 additions & 275 deletions packages/ergo-compiler/lib/ergojsongenerator.js

This file was deleted.

Loading

0 comments on commit 698f739

Please sign in to comment.