Skip to content

Yeoman based generator for Symphony Bots and Applications

License

Notifications You must be signed in to change notification settings

symphony-jean-michael/generator-symphony

 
 

Repository files navigation

FINOS - Incubating npm version CircleCI

Symphony Generator

Yeoman based generator for Symphony Bots and Applications:

Installation

Install Yeoman command line utility

npm install -g yo

Install Symphony Generator

npm i -g generator-symphony

Usage example

Create a new directory and go into it

mkdir myBot && cd myBot

Run Symphony Generator and follow instructions on screen

yo symphony

Known issues

If you are using node 16.0.0 and encounter the following error when trying to run yo symphony or yo symphony 2.0:

/usr/local/lib/node_modules/yo/node_modules/editions/edition-es5/index.js:317

throw util_js_1.errtion(
^

Error: editions-autoloader-none-broadened: Unable to determine a suitable edition, even after broadening.
at new Errlop (/usr/local/lib/node_modules/yo/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/usr/local/lib/node_modules/yo/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/usr/local/lib/node_modules/yo/node_modules/editions/edition-es5/index.js:317:21)
at solicitEdition (/usr/local/lib/node_modules/yo/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/usr/local/lib/node_modules/yo/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/usr/local/lib/node_modules/yo/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1108:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Function.Module._load (node:internal/modules/cjs/loader:828:14)
↳ Error: editions-autoloader-none-suitable: Unable to determine a suitable edition, as none were suitable.
...

then please try to downgrade to node 15 or node 14 (seems to be linked with electron-userland/electron-builder#5668).

Contributing

  1. Fork it (https://github.com/SymphonyPlatformSolutions/generator-symphony/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Read our contribution guidelines and Community Code of Conduct
  4. Commit your changes (git commit -am 'Add some fooBar')
  5. Push to the branch (git push origin feature/fooBar)
  6. Create a new Pull Request

NOTE: Commits and pull requests to FINOS repositories will only be accepted from those contributors with an active, executed Individual Contributor License Agreement (ICLA) with FINOS OR who are covered under an existing and active Corporate Contribution License Agreement (CCLA) executed with FINOS. Commits from individuals not covered under an ICLA or CCLA will be flagged and blocked by the FINOS Clabot tool (or EasyCLA). Please note that some CCLAs require individuals/employees to be explicitly named on the CCLA.

Need an ICLA? Unsure if you are covered under an existing CCLA? Email [email protected]

Legacy generators

⚠️ It is not recommended using the legacy generators, as the underlying libraries are not maintained anymore.

To generate legacy projects (.NET, NodeJS and legacy Java/Python SDKs), please run the following command:

npm install [email protected]

or build your own version from the legacy branch.

License

Copyright 2021 Symphony LLC

Distributed under the Apache License, Version 2.0.

SPDX-License-Identifier: Apache-2.0

About

Yeoman based generator for Symphony Bots and Applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 42.8%
  • EJS 41.4%
  • HTML 7.2%
  • Python 4.7%
  • Smarty 1.7%
  • Java 1.1%
  • Other 1.1%