Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert to monorepo #803

Closed
22 of 23 tasks
Tracked by #31
bmuenzenmeyer opened this issue Feb 23, 2018 · 5 comments
Closed
22 of 23 tasks
Tracked by #31

Convert to monorepo #803

bmuenzenmeyer opened this issue Feb 23, 2018 · 5 comments
Assignees
Milestone

Comments

@bmuenzenmeyer
Copy link
Member

bmuenzenmeyer commented Feb 23, 2018

This is our "Target" for a hackday today.
Wish us luck!

Goals:

  • lerna.js | https://github.com/lerna/lerna
  • document repeatable pattern to convert existing repos into monorepo
  • move patternlab-node (this repo) with history
  • move edition-node-gulp with history
  • move edition-node with history
  • move patternengine-node-mustache
  • move patternengine-node-react
  • create uikit-default - https://github.com/pattern-lab/uikit-default
    • styleguidekit-mustache-default (history would be great here)
    • styleguidekit-assets-default (history would be great here)
  • fix links everywhere
  • update installation and contributing docs

Test

  • locally linked and runnable pattern lab node

Stretch

  • deployment procedures (https://github.com/atlassian/lerna-semantic-release ?)
  • move patternengine-node-underscore
  • move patternengine-node-handlebars
  • move patternengine-node-twig
  • move patternengine-node-liquid
  • move plugin-node-tab
  • move live-server
  • move patternlab-node-cli
  • move patternengine-node-nunjucks
  • move edition-node-grunt
@bradfrost
Copy link
Member

Good luck! I feel there needs to be a Transoformer-style mascot for MONOREPO

@bmuenzenmeyer
Copy link
Member Author

bmuenzenmeyer commented Feb 23, 2018

// one time, in the repo that will be the master
lerna init --independent --exact 

//move the master repo down into packages 
mv <<files>> packages/<<target/path>>.

// each package
lerna import <<path/to/local/git/repo>> --flatten

without flatten, any conflicts in the target repo would cause a rollback.

experiment with what we want to hoist up like .editorconfig, .prettierrc, etc

@geoffp
Copy link
Contributor

geoffp commented Feb 23, 2018

Huge success! We do still need to figure out how editions get installed, since you can’t just git clone ‘me anymore. But our sense is that the CLI should do this.

@bmuenzenmeyer
Copy link
Member Author

Omitted edition-node-grunt - it's obsolete unless someone wants to take it up.

pattern-lab/edition-node-grunt#31

@Ryuno-Ki
Copy link

Ryuno-Ki commented Mar 6, 2018

@bradfrost Autobot by Moonlily5 may be for you then :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants