update npmrx path
This commit is contained in:
parent
bc3679d614
commit
baea86e087
@ -16,8 +16,8 @@ export let install = (versionArg) => {
|
|||||||
" nvm alias default " + version
|
" nvm alias default " + version
|
||||||
);
|
);
|
||||||
plugins.beautylog.success("Node version " + version + " successfully installed!");
|
plugins.beautylog.success("Node version " + version + " successfully installed!");
|
||||||
plugins.shelljs.exec("node -v");
|
bash("node -v");
|
||||||
plugins.shelljs.exec("npm -v");
|
bash("npm -v");
|
||||||
done.resolve();
|
done.resolve();
|
||||||
return done.promise;
|
return done.promise;
|
||||||
}
|
}
|
@ -10,7 +10,7 @@ let npmrcFileString = npmrcPrefix + npmToken;
|
|||||||
export let publish = () => {
|
export let publish = () => {
|
||||||
let done = plugins.q.defer();
|
let done = plugins.q.defer();
|
||||||
plugins.beautylog.ok("Tests passed, now publishing to npm!");
|
plugins.beautylog.ok("Tests passed, now publishing to npm!");
|
||||||
plugins.smartfile.memory.toFs(npmrcFileString,{fileName:".npmrc",filePath:"/root/"});
|
plugins.smartfile.memory.toFs(npmrcFileString,{fileName:".npmrc",filePath:"/usr/local/"});
|
||||||
bash("npm publish");
|
bash("npm publish");
|
||||||
plugins.beautylog.ok("Done!")
|
plugins.beautylog.ok("Done!")
|
||||||
return done.promise;
|
return done.promise;
|
||||||
|
Loading…
Reference in New Issue
Block a user