- Update
package.json
, setversion
to a prerelease version, e.g.2.0.0-rc1
,3.1.5-rc4
, ... - Run
npm pack
to create package - Run
npm publish <package>.tgz --tag next
to publish the package under thenext
tag - Run
npm install --save package@next
to install prerelease package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Turn off autocomplete in Visual Studio Code | |
// http://code.visualstudio.com/ | |
// Add the following lines to user settings | |
// OPTIONAL WORD WRAPPING | |
// Controls if lines should wrap. The lines will wrap at min(editor.wrappingColumn, viewportWidthInColumns). | |
"editor.wordWrap": true, | |
// Controls the indentation of wrapped lines. Can be one of 'none', 'same' or 'indent'. | |
"editor.wrappingIndent": "indent", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#add 'node_modules' to .gitignore file | |
git rm -r --cached node_modules | |
git commit -m 'Remove the now ignored directory node_modules' | |
git push origin <branch-name> |