Skip to content

rmlevangelio/monorepo-lerna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Commands

  • All dependency packages are downloaded under the repository root node_modules directory:
yarn install
yarn dev
  • Build babel & webpack across all packages
yarn build
  • Creates a new release of the packages that have been updated. Prompts for a new ver sion. Creates a new git commit/tag in the process of publishing to npm.

    if problems try tag commit: git tag -a v0.0.x -m "my version x'

yarn release
yarn deploy

Directory structure

.
├── README.md
├── lerna.json
├── package.json
├── packages
│   ├── app0 ...app1          // Asynchronously loaded packages (via webpack chunks) -> local
│   │   ├── package.json
│   │   └── src
│   │       └── index.jsx
│   ├── app2-npm ...app4-npm  // Asynchronously loaded packages (via webpack chunks) -> local + published to npm
│   │   ├── package.json
│   │   └── src
│   │       └── index.jsx
│   └── home               // Web apps main manager package
│       ├── package.json
│       ├── src
│       │   ├── index.html
│       │   └── index.jsx
│       └── webpack.config.js
└── yarn.lock

TODO:

  • service workers (caching)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published