What exactly does “next” mean in package.json dependencies?

What exactly does next mean in package.json dependencies?

"dependencies": {
  "react": "^15.4.2",
  "react-dom": "^15.4.2",
  "react-router-dom": "next"
}
+6
source share
2 answers

The following tag is used by some projects to identify the upcoming version. By default, except for the last one, no tag has a special meaning for the new one.

NPM Documentation

+5
source

In particular, and according to the documentation, I found this useful:

npm npm ( - @ @specifier) ​​ . , "" , preleases.

.

, , npm.

, , , , npm npm ERR! : EACCES: , , npm ( 5.4.0):

npm install -g npm@5.3.0

npm , "" , , , " ", :

npm install -g npm@next

​​5.5.1

: npm show npm versions --json , , : [... "5.3.0", "5.4.0", "5.4.1", "5.4.2", "5.5.0", "5.5.1" ]

0

Source: https://habr.com/ru/post/1016269/


All Articles