Merge pull request #1700 from atom/ks-single-apm

Remove apm from node_modules
This commit is contained in:
Kevin Sawicki
2014-03-04 17:57:08 -08:00
3 changed files with 4 additions and 6 deletions

View File

@@ -82,9 +82,9 @@
"markdown-preview": "0.44.0",
"metrics": "0.30.0",
"open-on-github": "0.23.0",
"package-generator": "0.29.0",
"package-generator": "0.30.0",
"release-notes": "0.26.0",
"settings-view": "0.88.0",
"settings-view": "0.89.0",
"snippets": "0.33.0",
"spell-check": "0.26.0",
"status-bar": "0.35.0",
@@ -93,7 +93,7 @@
"tabs": "0.27.0",
"timecop": "0.17.0",
"tree-view": "0.74.0",
"update-package-dependencies": "0.4.0",
"update-package-dependencies": "0.5.0",
"welcome": "0.11.0",
"whitespace": "0.16.0",
"wrap-guide": "0.16.0",

View File

@@ -36,8 +36,6 @@ var commands = [
{command: npmCommand + 'install --quiet', options: {cwd: path.resolve(__dirname, '..', 'build'), ignoreStdout: true}},
{command: npmCommand + 'install --quiet', options: {cwd: apmVendorPath, ignoreStdout: true}},
{command: npmCommand + 'install --quiet ' + apmVendorPath, options: {cwd: apmInstallPath, ignoreStdout: true}},
{command: npmCommand + 'install --quiet ' + apmVendorPath, options: {ignoreStdout: true}},
{command: '../../' + apmPath + ' rebuild', options: {cwd: path.resolve('node_modules', 'atom-package-manager'), ignoreStdout: true}},
echoNewLine,
apmPath + ' clean ' + apmFlags,
apmPath + ' install --quiet ' + apmFlags,

View File

@@ -41,7 +41,7 @@ class PackageManager
# Public: Get the path to the apm command
getApmPath: ->
@apmPath ?= require.resolve('atom-package-manager/lib/cli')
@apmPath ?= path.resolve(__dirname, '..', 'apm', 'node_modules', 'atom-package-manager', 'bin', 'apm')
# Public: Get the paths being used to look for packages.
#