Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Generate module cache during install #200

Merged
merged 36 commits into from
Oct 15, 2014
Merged

Generate module cache during install #200

merged 36 commits into from
Oct 15, 2014

Conversation

kevinsawicki
Copy link
Contributor

Generate module cache details when doing apm install and also improve install by warning about installing bundled packages, installing the latest compatible version, and warming the Coffee/CSON cache after installation.

Closes #168
Closes #169
Closes #196
Refs atom/atom#3672
Refs atom/atom#3761

@kevinsawicki kevinsawicki changed the title Cache modules across installed packages Generate module cache during install Oct 8, 2014
@ghost
Copy link

ghost commented Oct 9, 2014

Thanks. .

kevinsawicki added a commit that referenced this pull request Oct 15, 2014
Generate module cache during install
@kevinsawicki kevinsawicki merged commit ea11c0a into master Oct 15, 2014
@kevinsawicki kevinsawicki deleted the ks-install-cache branch October 15, 2014 22:02
@kevinsawicki
Copy link
Contributor Author

So apm install now adds cache details to the installed package's package.json file.

You can run apm rebuild-module-cache to generate this cache information for all installed packages.

This will be available once Atom 0.138 is out since it ships with apm 0.104

@austinbutler
Copy link

Sorry, but how do you run "apm rebuild-module-cache" on Windows?

Edit: Open cmd and cd to atom\resources\app\apm\node_modules\atom-package-manager\bin to run it.

@kevinsawicki
Copy link
Contributor Author

@austinbutler Did you install via chocolatey?

If so, apm should be on your path.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants