/monorepo-alle-example

alle-example

Primary LanguageJavaScriptMIT LicenseMIT

monorepo-alle-example

Example of monorepo in "alle" model

In this example we have vue components and an application that uses these components, the build is made with rollup

Reference

This example has been constructed as an example of this post blog post

scripts

Development view of a module

Operating systems:

# module-name shoulds be the name of a folder in ./packages/node_modules/<module-name>
$ MODULE_NAME=<module-name> npm run start

Windows:

# module-name shoulds be the name of a folder in ./packages/node_modules/<module-name>
$ set MODULE_NAME=<module-name>
$ npm run start

Build modules

$ npm run modules:build

Publish modules

  1. execute:
$ npm run modules:build
  1. Move to module folder and execute:
npm run publish

License

MIT @ Nicolas Quiceno