# npm tips and tricks ## Bumping package version Command below can be used to update only the package version on both `package.json` and `package-lock.json` without altering other things. `npm ci` or `npm install` cannot be used to do that. ``` npm version --allow-same-version --no-commit-hooks --no-git-tag-version 0.5.0 ``` :question: How to use ci/linting to ensure versions do not get out of sync accidentally? ## "editable installs" In the project root, just run: ```console # link als into extension vscode-ansible$ npm link ../ansible-language-server # build als ansible-language-server$ npm run compile # rebuild extension vscode-ansible$ npm run package # install .vsix file ``` ## setting a breakpoint in language server? how?