apm

所属分类:collect
开发工具:CoffeeScript
文件大小:0KB
下载次数:0
上传日期:2022-09-28 10:52:02
上 传 者sh-1993
说明:  Atom包管理器,
(Atom Package Manager,)

文件列表:
.npmignore (109, 2022-09-28)
.pairs (372, 2022-09-28)
BUNDLED_NODE_VERSION (9, 2022-09-28)
CONTRIBUTING.md (92, 2022-09-28)
ISSUE_TEMPLATE.md (1669, 2022-09-28)
LICENSE.md (1055, 2022-09-28)
PULL_REQUEST_TEMPLATE.md (1532, 2022-09-28)
appveyor.yml (64, 2022-09-28)
bin/ (0, 2022-09-28)
bin/apm (836, 2022-09-28)
bin/apm.cmd (724, 2022-09-28)
bin/npm (217, 2022-09-28)
bin/npm.cmd (184, 2022-09-28)
coffeelint.json (607, 2022-09-28)
deprecated-packages.json (38824, 2022-09-28)
native-module/ (0, 2022-09-28)
native-module/binding.gyp (119, 2022-09-28)
native-module/index.js (37, 2022-09-28)
native-module/package.json (64, 2022-09-28)
native-module/src/ (0, 2022-09-28)
native-module/src/native.cc (69, 2022-09-28)
package-lock.json (184452, 2022-09-28)
package.json (1764, 2022-09-28)
script/ (0, 2022-09-28)
script/bundled-node-version.js (562, 2022-09-28)
script/check-version.js (892, 2022-09-28)
script/download-node.js (3222, 2022-09-28)
script/postinstall.cmd (364, 2022-09-28)
script/postinstall.js (786, 2022-09-28)
script/postinstall.sh (221, 2022-09-28)
spec/ (0, 2022-09-28)
spec/apm-cli-spec.coffee (3589, 2022-09-28)
... ...

##### Atom and all repositories under Atom will be archived on December 15, 2022. Learn more in our [official announcement](https://github.blog/2022-06-08-sunsetting-atom/) # apm - Atom Package Manager ![Build Status](https://github.com/atom-ide-community/apm/workflows/CI/badge.svg) [![Dependency Status](https://david-dm.org/atom/apm.svg)](https://david-dm.org/atom/apm) Discover and install Atom packages powered by [atom.io](https://atom.io) You can configure apm by using the `apm config` command line option (recommended) or by manually editing the `~/.atom/.apmrc` file as per the [npm config](https://docs.npmjs.com/misc/config). ## Relation to npm apm bundles [npm](https://github.com/npm/npm) with it and spawns `npm` processes to install Atom packages. The major difference is that `apm` sets multiple command line arguments to `npm` to ensure that native modules are built against Chromium's v8 headers instead of node's v8 headers. The other major difference is that Atom packages are installed to `~/.atom/packages` instead of a local `node_modules` folder and Atom packages are published to and installed from GitHub repositories instead of [npmjs.com](https://www.npmjs.com/) Therefore you can think of `apm` as a simple `npm` wrapper that builds on top of the many strengths of `npm` but is customized and optimized to be used for Atom packages. ## Installing `apm` is bundled and installed automatically with Atom. You can run the _Atom > Install Shell Commands_ menu option to install it again if you aren't able to run it from a terminal (macOS only). ## Building * Clone the repository * :penguin: Install `libsecret-1-dev` (or the relevant `libsecret` development dependency) if you are on Linux * Run `npm install`; this will install the dependencies with your built-in version of Node/npm, and then rebuild them with the bundled versions. * Run `./bin/npm run build` to compile the CoffeeScript code (or `.\bin\npm.cmd run build` on Windows) * Run `./bin/npm test` to run the specs (or `.\bin\npm.cmd test` on Windows) ### Why `bin/npm` / `bin\npm.cmd`? `apm` includes `npm`, and spawns it for various processes. It also comes with a bundled version of Node, and this script ensures that npm uses the right version of Node for things like running the tests. If you're using the same version of Node as is listed in `BUNDLED_NODE_VERSION`, you can skip using this script. ## Using Run `apm help` to see all the supported commands and `apm help ` to learn more about a specific command. The common commands are `apm install ` to install a new package, `apm featured` to see all the featured packages, and `apm publish` to publish a package to [atom.io](https://atom.io). ## Two-factor authentication? If you have 2fa enabled on your GitHub account, you'll need to generate a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) and provide that when prompted for your password. ## Behind a firewall? If you are behind a firewall and seeing SSL errors when installing packages you can disable strict SSL by running: ``` apm config set strict-ssl false ``` ## Using a proxy? If you are using a HTTP(S) proxy you can configure `apm` to use it by running: ``` apm config set https-proxy https://9.0.2.1:0 ``` You can run `apm config get https-proxy` to verify it has been set correctly. ## Viewing configuration You can also run `apm config list` to see all the custom config settings.

近期下载者

相关文件


收藏者