edition-node-gulp icon indicating copy to clipboard operation
edition-node-gulp copied to clipboard

usage as dependency yields inconsistent experience than if otherwise cloned

Open cdaringe opened this issue 9 years ago • 1 comments

Expected Behavior
  • on npm install edition-node-gulp, my project should be bootstrapped with patternlab bits.
Actual Behavior
  • my project is not bootstrapped.
  • the docs here go into great detail of what npm is, how to use it, and install this package. however, what's missing is how to use it when installed as a dep. when installed as a dep, the gulpfile is buried in node_modules, and does not bootstrap the package you have just installed the gulp edition into.

cdaringe avatar Oct 14 '16 23:10 cdaringe

@cdaringe

Just tried it and you're right indeed. To bootstrap, you may need to perform the following two steps:

  1. Copy some config files
    cp node_modules/edition-node-gulp/patternlab-config.json .
    cp node_modules/edition-node-gulp/gulpfile.js .
    
  2. Install a starterkit

teehemkay avatar Oct 19 '16 15:10 teehemkay