Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
2.8 KiB

  1. npm-publish(1) -- Publish a package
  2. ===================================
  3. ## SYNOPSIS
  4. npm publish [<tarball>|<folder>] [--tag <tag>] [--access <public|restricted>] [--otp otpcode] [--dry-run]
  5. Publishes '.' if no argument supplied
  6. Sets tag 'latest' if no --tag specified
  7. ## DESCRIPTION
  8. Publishes a package to the registry so that it can be installed by name. All
  9. files in the package directory are included if no local `.gitignore` or
  10. `.npmignore` file exists. If both files exist and a file is ignored by
  11. `.gitignore` but not by `.npmignore` then it will be included. See
  12. `npm-developers(7)` for full details on what's included in the published
  13. package, as well as details on how the package is built.
  14. By default npm will publish to the public registry. This can be overridden by
  15. specifying a different default registry or using a `npm-scope(7)` in the name
  16. (see `package.json(5)`).
  17. * `<folder>`:
  18. A folder containing a package.json file
  19. * `<tarball>`:
  20. A url or file path to a gzipped tar archive containing a single folder
  21. with a package.json file inside.
  22. * `[--tag <tag>]`
  23. Registers the published package with the given tag, such that `npm install
  24. <name>@<tag>` will install this version. By default, `npm publish` updates
  25. and `npm install` installs the `latest` tag. See `npm-dist-tag(1)` for
  26. details about tags.
  27. * `[--access <public|restricted>]`
  28. Tells the registry whether this package should be published as public or
  29. restricted. Only applies to scoped packages, which default to `restricted`.
  30. If you don't have a paid account, you must publish with `--access public`
  31. to publish scoped packages.
  32. * `[--otp <otpcode>]`
  33. If you have two-factor authentication enabled in `auth-and-writes` mode
  34. then you can provide a code from your authenticator with this. If you
  35. don't include this and you're running from a TTY then you'll be prompted.
  36. * `[--dry-run]`
  37. Does everything publish would do except actually publishing to the registry.
  38. Reports the details of what would have been published.
  39. Fails if the package name and version combination already exists in
  40. the specified registry.
  41. Once a package is published with a given name and version, that
  42. specific name and version combination can never be used again, even if
  43. it is removed with npm-unpublish(1).
  44. As of `npm@5`, both a sha1sum and an integrity field with a sha512sum of the
  45. tarball will be submitted to the registry during publication. Subsequent
  46. installs will use the strongest supported algorithm to verify downloads.
  47. Similar to `--dry-run` see `npm-pack(1)`, which figures out the files to be
  48. included and packs them into a tarball to be uploaded to the registry.
  49. ## SEE ALSO
  50. * npm-registry(7)
  51. * npm-scope(7)
  52. * npm-adduser(1)
  53. * npm-owner(1)
  54. * npm-deprecate(1)
  55. * npm-dist-tag(1)
  56. * npm-pack(1)
  57. * npm-profile(1)