معرفی شرکت ها


safe-publish-latest-2.0.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Ensure that when you `npm publish`, the "latest" tag is only set for the truly latest version.
ویژگی مقدار
سیستم عامل -
نام فایل safe-publish-latest-2.0.0
نام safe-publish-latest
نسخه کتابخانه 2.0.0
نگهدارنده ['ljharb']
ایمیل نگهدارنده ['ljharb@gmail.com']
نویسنده Jordan Harband
ایمیل نویسنده ljharb@gmail.com
آدرس صفحه اصلی git://github.com/ljharb/safe-publish-latest.git
آدرس اینترنتی https://github.com/ljharb/safe-publish-latest#readme
مجوز MIT
# safe-publish-latest <sup>[![Version Badge][npm-version-svg]][package-url]</sup> [![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url] [![npm badge][npm-badge-png]][package-url] Ensure that when you `npm publish`, the "latest" tag is only set for the truly latest version. ## Usage Add "safe-publish-latest" to your `package.json`'s "prepublish" script, and install `in-publish`. It will only activate during an actual `npm publish` - it will silently do nothing during installs, and will error when run directly. Example `package.json` excerpt with no other prepublish commands: ```json { "scripts": { "prepublishOnly": "safe-publish-latest", "prepublish": "not-in-publish || npm run prepublishOnly" } } ``` Example `package.json` excerpt with another prepublish command: ```json { "scripts": { "prepublishOnly": "safe-publish-latest && npm run build", "prepublish": "not-in-publish || npm run prepublishOnly" } } ``` ## Tests Simply clone the repo, `npm install`, and run `npm test` [package-url]: https://npmjs.org/package/safe-publish-latest [npm-version-svg]: https://versionbadg.es/ljharb/safe-publish-latest.svg [deps-svg]: https://david-dm.org/ljharb/safe-publish-latest.svg [deps-url]: https://david-dm.org/ljharb/safe-publish-latest [dev-deps-svg]: https://david-dm.org/ljharb/safe-publish-latest/dev-status.svg [dev-deps-url]: https://david-dm.org/ljharb/safe-publish-latest#info=devDependencies [npm-badge-png]: https://nodei.co/npm/safe-publish-latest.png?downloads=true&stars=true [license-image]: https://img.shields.io/npm/l/safe-publish-latest.svg [license-url]: LICENSE [downloads-image]: https://img.shields.io/npm/dm/safe-publish-latest.svg [downloads-url]: https://npm-stat.com/charts.html?package=safe-publish-latest [codecov-image]: https://codecov.io/gh/ljharb/safe-publish-latest/branch/main/graphs/badge.svg [codecov-url]: https://app.codecov.io/gh/ljharb/safe-publish-latest/ [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/safe-publish-latest [actions-url]: https://github.com/ljharb/safe-publish-latest/actions


نیازمندی

مقدار نام
^2.0.1 in-publish
^7.3.5 semver
^17.2.1 yargs


زبان مورد نیاز

مقدار نام
16.11.1 Npm


نحوه نصب


نصب پکیج tgz safe-publish-latest-2.0.0:

    npm install safe-publish-latest-2.0.0.tgz