- installing as a dev dependency
- npm install @mariomui/cans
- create an npm script
- cans : "cans"
- npm run cans
- this calls file located in bin
- the location is
lib/index.js - lib is the output folder of cans after it installs or
- the location is
- this calls file located in bin
- extract the
mversion aclcombo into their own little scripts forlistrcomposition - Spinnaker, replace scripts with spinnaker declarative yaml
-
user npm installs @mariomui/cans
-
node_modules/@mariomui/cans/lib folder is where file is.
-
because we
configgeda shortcut bin script- user can run cans within the npm context
- so create an cans script that just calls cans and then do npm run cans
- you can see this in the package json file
- I pointed it to
lib/index.jsas that is the production build - scripts running sequentially when you pub:patch
- packer ->
prepub:patch-> pub:patch preversion(git fetches) ->mversion(validation if you are on main branch) -> version (commit)->acl(record changelog) ->postversion(update cloud with versioning)
- packer ->