ut-tools is a suite of command-line interface (CLI) scripts designed for continuous integration, continuous delivery, and general automation tasks within JavaScript projects. It provides a pre-configured set of utilities for common CI/CD workflows, including generating changelogs (`ut-changelog`), running tests (`ut-test`), checking code coverage (`ut-cover`), linting JavaScript and CSS files (`ut-lint`, `ut-lint-js`, `ut-lint-css`), and automating release processes (`ut-release`, `ut-release-lerna`). Currently at version 7.13.2, the package has shifted its primary installation model since version 7, requiring global installation rather than being added to `devDependencies` to optimize `npm install` performance. It is intended for direct use within `package.json` scripts or as standalone CLI commands, not as a library for programmatic import.
npm install ut-toolsVerified import paths — ran on the pinned version, not inferred.
Demonstrates global installation and usage of ut-tools commands within package.json scripts.
Remove `ut-tools` from your `package.json` `devDependencies` and install it globally using `npm install -g ut-tools`.
Add the following to your VSCode settings (user or workspace): `"eslint.options": { "overrideConfigFile": "/path/to/global/npm/node_modules/ut-tools/eslint/.eslintrc.js" }, "eslint.nodePath": "/path/to/global/npm/node_modules/ut-tools/node_modules"`. Replace `/path/to/global/npm/node_modules` with your actual global npm modules path (e.g., `npm root -g`).Use the provided scripts as CLI commands in your `package.json` or directly from the terminal. For example, `npm run lint` or `ut-lint`.
Ensure `ut-tools` is installed globally by running `npm install -g ut-tools`. Verify your system's PATH includes the global npm bin directory.
Find the correct global installation path of `ut-tools` (e.g., `npm root -g`) and update your VSCode settings with the precise path to the `.eslintrc.js` file.
Remove `ut-tools` from your `devDependencies` in `package.json` and ensure it is installed globally (`npm install -g ut-tools`).