https://github.com/elbakerino/lerna-packer
Lerna monorepo thing - multi app and packages serving, building, linting, testing and publishing without the hustle to wire it up manually.
https://github.com/elbakerino/lerna-packer
babel esnext lerna monorepo react webpack
Last synced: 2 months ago
JSON representation
Lerna monorepo thing - multi app and packages serving, building, linting, testing and publishing without the hustle to wire it up manually.
- Host: GitHub
- URL: https://github.com/elbakerino/lerna-packer
- Owner: elbakerino
- License: mit
- Created: 2020-09-14T17:04:21.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-12-06T20:35:45.000Z (6 months ago)
- Last Synced: 2025-03-24T08:08:16.679Z (3 months ago)
- Topics: babel, esnext, lerna, monorepo, react, webpack
- Language: JavaScript
- Homepage:
- Size: 2.96 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lerna Packer
[](https://github.com/ui-schema/ui-schema/blob/master/LICENSE)
[](https://www.npmjs.com/package/lerna-packer)React multi-app and package build handling for [lerna](https://github.com/lerna/lerna) monorepos.
**App**: webpack serving and building, scss/css support, public folder etc. - similar to create-react-app.
**Backends**: NodeJS backend server, watching and production build with babel, dev serving with nodemon.
**Packages**: publishable packages, can be used by apps/backends directly, production built with babel.
**Supports**: ESNext, React, TypeScript, d.ts Generation, Sass, Code Split compatible, es-modules and commonjs, Jest and Testing Library, ...
npm init
npm i --save lerna lerna-packer> **experimental**, fix the version without any modifier
Add `packerConfig.js` with configs for apps and packages (e.g. component libraries, shared universal JS).
> [check typescript definition](https://github.com/elbakerino/lerna-packer/blob/master/index.d.ts) for full configuration options
**Usage examples, check the `packerConfig.js` there:**
- [UI Schema](https://github.com/ui-schema/ui-schema)
- [Control UI](https://github.com/control-ui/control-ui)
- [Icon1](https://github.com/bemit/icon1), incl. `backends`## License
This project is free software distributed under the **MIT License**.
See: [LICENSE](LICENSE).
© 2024 [Michael Becker](https://i-am-digital.eu)
### Contributors
By committing your code/creating a pull request to this repository you agree to release the code under the MIT License attached to the repository.