You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current pattern lab node is essentially the builder and test folders.
if I wanna to start an new project I get folders related to Pattern Lab Node, examples "test, builder, .github".
If I add my own dependecies it get mixed with pattern lab node, since it shares package.json.
If I wanna to update the project to a new Pattern Lab version I need know exactly which folder or file needs to be replaced or merged.
Proposal
Separate the Pattern Lab core fom assets files: everything that is not directed related to the project core goes to an folder blueprint, example of project structure:
├ builder
├ tests
├ blueprint
├── core/styleguide
├──── other folders and files...
├── source
├──── other folders and files...
├── Gruntfile.js
├── config.json
├── gulpfile.js
├── package.gulp.json
├── package.json
How will be using it:
Installing $ npm install -g patternlab-node
Generate the project at first time $ patternlab-node generate myproject --gulp
Current pattern lab node is essentially the builder and test folders.
Proposal
Separate the Pattern Lab core fom assets files: everything that is not directed related to the project core goes to an folder blueprint, example of project structure:
How will be using it:
Installing
$ npm install -g patternlab-node
Generate the project at first time
$ patternlab-node generate myproject --gulp
Running gulp or grunt server
$ patternlab-node run
Pattern lab is running on http://localhost:3000/
Questions
At package.json we add the follow key:
run:
npm install -g
run:
patternlab-node generate myproject --gulp
will basic copy the content of the blueprint folder.let me know if I was not clear,
Thanks :)
The text was updated successfully, but these errors were encountered: