NPM recently introduced @ scopes / organization modules for modules. Is there a good way to port existing modules to the organization? Are there any tools to automate it for a large number of packages? Does NPM support support redirection, so that other software can still use the old name, but receive notification of its update?
You can change your .json package from:
"name": "project-name"
so that:
"name": "@scope/project-name"
and publish the package:
npm publish --access=public
. , , --access=public --access=public --access=public . access "public" publishConfig package.json:
--access=public
access
"public"
publishConfig
package.json
"publishConfig": { "access": "public" }
( , !)
. Https://docs.npmjs.com/getting-started/scoped-packages.
Npm , :
npm deprecate <pkg>[@<version>] <message>
, , , .
. Https://docs.npmjs.com/cli/deprecate.
, , - - npm ( ""). .
, , .
Source: https://habr.com/ru/post/1673157/More articles:Reject pushed view controller - iosIs there a pythonic way to get the difference between a data frame? - pythonDividing long time series into multiple panels with ggplot2 - rPython OOP programming - pythonstandard SQL query to get the corresponding record field with another table (Google BigQuery) - sqlAngular: ng-show and functions - angularjsJDBC error when moving JAR from $ HOME / jre / lib / ext to Gradle - javaNgbTypeahead selectItem get clicked item ngBootstrap angular2 - angularSplit an image into an array of images with fast - iosng-bootstrap NgbTypeahead How to respond to a choice? - angularAll Articles