Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Publishing Vue

Matt Higgins edited this page Nov 29, 2017 · 8 revisions

DEPRECATED

This is the old way of publishing vue.


Until Vue is appropriately named and publishable to npmjs.org, we are publishing the built output of Vue to a specific branch in the Vue repo. Here are the steps to publish a new version of Vue while this transition is still under progress.

Publish Vue

  1. git clone [email protected]:versionone/vue.git && cd vue
  2. git checkout master
  3. Make changes to Vue source and commit them as appropriate
    • if making SVG icon changes, be sure to run npm run build:icons and commit the built Icon related files
  4. npm version patch (or if minor/major version use those instead of patch)
  5. Once passing, push your changes to origin/master.
  6. Checkout the published branch via: git checkout published.
  7. Merge master into the published branch: git merge master --no-ff'
  8. Run npm run build to generate built output.
  9. Commit the deltas to the published branch.
  10. Push published branch to GitHub.

Do not rebase and force push to the published branch as this will remove the sha that core builds rely on

Update Reference in Core

  1. cd Core/VersionOne.Web
  2. ../npm install # get things installed according to current shrinkwrap
  3. rm npm-shrinkwrap.json
  4. ./../npm install => should install new version of Vue
  5. ./../npm shrinkwrap
  6. Commit npm-shrinkwrap.json file
  7. cd ../ && ./gulp
Clone this wiki locally