Gathering detailed insights and metrics for @auto-it/npm
Gathering detailed insights and metrics for @auto-it/npm
Gathering detailed insights and metrics for @auto-it/npm
Gathering detailed insights and metrics for @auto-it/npm
auto-analysis
auto-analysis is an npm package that provides a convenient solution to process XML test results and generate a PDF document presenting a tabular analysis of failed assertions. It is designed to be used through the command-line interface and is intended to
react-textarea-auto-resize
The react-textarea-auto-resize npm package is a utility that provides an auto-resizing feature for textarea components in React. It automatically adjusts the height of a textarea based on its content, allowing it to grow or shrink dynamically as the user
renew-it
auto bump version (use semver), push commit and tag
save-file-npm
With this incredible package, managing file uploads has never been easier! You can now simply use the saveFile() method with your inputs and directory, and watch as it handles all the logic for you. The inputs can be of any type - file-object (image, PDF,
Generate releases based on semantic version labels on pull requests.
npm install @auto-it/npm
Typescript
Module System
Node Version
NPM Version
TypeScript (98.9%)
JavaScript (1.01%)
Ruby (0.09%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2,353 Stars
6,357 Commits
210 Forks
17 Watchers
49 Branches
96 Contributors
Updated on Jul 16, 2025
Latest Version
11.3.0
Package Id
@auto-it/npm@11.3.0
Unpacked Size
113.23 kB
Size
27.56 kB
File Count
15
NPM Version
lerna/7.1.4/node@v16.18.1+x64 (linux)
Node Version
16.18.1
Published on
Oct 25, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Publish to NPM.
Works in both a monorepo setting and for a single package.
This plugin is loaded by default when auto
is installed through npm
.
If you configure auto
to use any other plugin this will be lost.
So you must add the npm
plugin to your plugins array if you still want NPM functionality.
To publish to npm you will need an NPM_TOKEN
set in your environment.
Warning! Avoid using the
prepublishOnly
script as it can lead to errors. Read more here.
This plugin is included with the auto
CLI so you do not have to install it. To install if you are using the auto
API directly:
1npm i --save-dev @auto-it/npm 2# or 3yarn add -D @auto-it/npm
WARNING: You can only use one "package manager" at a time! Mixing them will lead to undesired results.
1{ 2 "plugins": [ 3 "npm", 4 // or with options 5 ["npm", { "forcePublish": false }] 6 // other plugins 7 ] 8}
If you're using the
noVersionPrefix
option you will also need to addtag-version-prefix=""
to your.npmrc
. Otherwise when npm versions your code the tag it creates will have thev
andauto
will get confused.
The npm
plugin works out of the box with lerna
in both independent
and fixed
mode.
auto
works on a repo basis and should be run from the root of the repo, not on each sub-package.
No additional setup is required.
Do you have a package in your monorepo you don't want to publish but still want versioned? Just set that
"private": true
you that package'spackage.json
!
When running the shipit
command auto will try to set your .npmrc
token while publishing. To disable this feature you must set the setRcToken
to false.
1{ 2 "plugins": [ 3 [ 4 "npm", 5 { 6 "setRcToken": false 7 } 8 ] 9 ] 10}
By default auto
will force publish all packages for monorepos. To disable this behavior you must set the forcePublish
to false.
1{ 2 "plugins": [ 3 [ 4 "npm", 5 { 6 "forcePublish": false 7 } 8 ] 9 ] 10}
To force all packages publish with exact versions.
1{ 2 "plugins": [ 3 [ 4 "npm", 5 { 6 "exact": true 7 } 8 ] 9 ] 10}
auto
will create a changelog for each sub-package in a monorepo.
You can disable this behavior by using the subPackageChangelogs
option.
1{ 2 "plugins": [ 3 [ 4 "npm", 5 { 6 "subPackageChangelogs": false 7 } 8 ] 9 ] 10}
auto
will group changelog lines by sub-packages in a monorepo.
You can disable this behavior by using the monorepoChangelog
option.
1{ 2 "plugins": [ 3 [ 4 "npm", 5 { 6 "monorepoChangelog": false 7 } 8 ] 9 ] 10}
Whether to create a commit for "next" version. The default behavior will only create the tags.
1{ 2 "plugins": [ 3 [ 4 "npm", 5 { 6 "commitNextVersion": true 7 } 8 ] 9 ] 10}
When publishing packages that require authentication but you are working with an internally hosted npm registry that only uses the legacy Base64 version of username:password. This is the same as the NPM publish _auth flag.
For security this option only accepts a boolean.
When this option is set true auto
will pass --_auth $NPM_TOKEN
to the publish command.
Set $NPM_TOKEN
to the "Base64 version of username:password".
1{ 2 "plugins": [ 3 [ 4 "npm", 5 { 6 "legacyAuth": true 7 } 8 ] 9 ] 10}
When publishing packages from a folder other than the project root the publishFolder
config can be set.
When used with npm
generates command similar to npm publish <publishFolder> ...
more info can be found here: npm-publish.
When used with lerna
in a monorepo, this functionality implements the --contents <publishFolder>
flag, more info can be found here: lerna publish --contents.
:exclamation: NOTE: This functionality should be combined with a valid npm Life Cycle script, otherwise the
version
of the produced package will not align with the calculated/expected version generated byauto
. See Life Cycle Scripts for additional info.
1{ 2 "plugins": [ 3 [ 4 "npm", 5 { 6 "publishFolder": "./dist/some-dir" 7 } 8 ] 9 ] 10}
During the publish routine, this plugin will execute (npm version
|npx lerna version
), and then immediately follow-up with (npm publish
|npx lerna publish
). If you're attempting to publish a package from a directory other than the project root, its likely you're doing some sort of repository or package.json manipulation in an attempt to cleanup (remove devDependencies, scripts, fields) or otherwise manually construct your published package. Since this process is likely invoked prior to the version
and publish
event enacted by this plugin, the version
in your processed package.json
would not match the new version
the plugin is attempting to publish (unless you've accounted for this in some other fashion). This simply means we need to insert ourselves between the version
and publish
stages of this plugin and re-process or otherwise update the package.json
file in our publishFolder
.
Appropriate life cycle scripts (which operate after version
but before publish
) would include [postversion
, prepublishOnly
, or prepack
]. Its worth noting the postversion
life cycle script will be enacted in the context of your root package.json
file, while prepublishOnly
and prepack
would be enacted in the context of your publishFolder
package.json
file.
Example life cycle script which is triggered after (npm version
|npx lerna version
) and before (npm publish
|npx lerna publish
):
{
"scripts": {
"postversion": "cd <publishFolder> && npm version $npm_package_version --no-git-tag-version --no-commit-hooks --ignore-scripts",
}
}
:warning: Warning! Use caution when pairing long-running life cyle scripts with auto. Read more here.
Publishing canary versions comes with some security risks. If your project is private you have nothing to worry about and can skip these, but if your project is open source there are some security holes.
:warning: This feature works pretty easily/well for single packages. In a monorepo we have to deal with a lot more, and this options should be treated as experimental.
@auto-canary
or @auto-test
)NPM_TOKEN
to a token that can publish to that scope (this is used for any pull request)secure
token that is only accessible on the main fork (still named NPM_TOKEN
)Step 3 might not be possible on your build platform.
The following are the ways the auto
team knows how to do it.
If you do not see the method for you build platform, please make a pull request!
Platform Solutions:
1{ 2 "plugins": [ 3 [ 4 "npm", 5 { 6 "canaryScope": "@auto-canary" 7 } 8 ] 9 ] 10}
If you are managing a non-monorepo you do not have to do anything for this step! If you manage a monorepo we still have to do handle our packages importing each other. Since we just changed the name of the package all imports to our packages are now broken!
There are multiple ways to make this work and the solution might be different depending on your build target.
auto
uses). Useful for node packagesThis error will occur when you do not have a NPM_TOKEN
set.
Make sure that npm
is trying to publish to the correct registry. Force npm
/lerna
to use the public registry by adding the following to your package.json:
1{ 2 "publishConfig": { 3 "registry": "https://registry.npmjs.org/", 4 "access": "public" 5 } 6}
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 3/5 approved changesets -- score normalized to 6
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
86 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More