portable-packages

Installs and creates portable Atom packages

idleberg

432

1

Bug Reports

0.3.3

MIT

GitHub

portable-packages

apm apm apm CircleCI David

Description

Installs and creates portable Atom packages

Installation

apm

Install portable-packages from Atom's Package Manager or the command-line equivalent:

$ apm install portable-packages

Using Git

Change to your Atom packages directory:

Windows

$ cd %USERPROFILE%\.atom\packages

Linux & macOS

$ cd ~/.atom/packages/

Clone the repository as portable-packages:

$ git clone https://github.com/idleberg/atom-portable-packages portable-packages

Install dependencies:

cd portable-packages && npm install

Usage

Install Portable Package

To install packages, simply drag them onto the Atom window. Alternatively, you can configure Atom as the default application for .atom-package files or open them from the command-line (e.g. atom teletype.atom-package).

Create Portable Package

Run the Portable Packages: Create from the Command Palette and select which installed package you would like to compress. Upon creation, the portable package will be revealed in your file browser.

FAQ

What are portable packages?

A portable package is a simple Zip-file with the file-extension .atom-package. By default, these include Node dependencies and can be installed without the need of an internet connection.

How can I exclude files from my package?

You can place an .atomignore file inside your package that works like a standard .gitignore file. In the settings, you can change the ignore file to a standard .gitignoreor .npmignore. Take note, that global .gitignore files are not considered.

Why does my portable package not work?

Some Node dependencies are compiled into native code, thus they might not be portable across platforms. In all other cases, feel free to post an issue.

License

This work is licensed under the MIT License