animo / aries-framework-javascript

Aries Framework JavaScript (Built using TypeScript)
https://wiki.hyperledger.org/display/ARIES/aries-framework-javascript
Apache License 2.0
0 stars 4 forks source link

build: fix typescript setup for demo project #3

Closed TimoGlastra closed 2 years ago

TimoGlastra commented 2 years ago

Fixes the typescript setup for the demo project to nicely work with the rest of the AFJ repo. Also adds the demo project to the eslint setup.

The problem was that the demo used typescript version 4.5.4, while the rest of AFJ is still using typescript version 4.30. We first need to update AFJ to support the latest typescript version: https://github.com/hyperledger/aries-framework-javascript/issues/594

Also there were issues with the package.json of the core package as a lot of recently added dependencies were removed again. I think a merge conflict or something, so I added those dependencies back in.

When running yarn annelein in the demo project I got:

    / \     _ __    _ __     ___  | |   ___  (_)  _ __  
   / _ \   | '_ \  | '_ \   / _ \ | |  / _ \ | | | '_ \ 
  / ___ \  | | | | | | | | |  __/ | | |  __/ | | | | | |
 /_/   \_\ |_| |_| |_| |_|  \___| |_|  \___| |_| |_| |_|

", 'Agent  annelein  created', "