-
Notifications
You must be signed in to change notification settings - Fork 80
Publishing to npm
Staś Małolepszy edited this page Feb 8, 2018
·
13 revisions
Individual Fluent packages are available on npm under their names. On this page, package-name is used as a placeholder for the actual name. In practice, it will be fluent, fluent-syntax, fluent-react etc.
To publish new versions, log in to npm with npm login.
-
Update
package.jsonandCHANGELOG.md. -
Commit and push:
$ git commit -m "package-name X.Y.X" $ git push -
Draft a new release on GitHub.
- Use
package-name@X.Y.Zfor the tag name. - Use
package-name X.Y.Z (Month DD, YYYY)for the release title. - Copy the relevant part of the CHANGELOG.
- Check the pre-release checkbox.
- Use
-
Publish:
$ cd package-name $ make clean && make dist $ npm publish