flex-dev-utils
Advanced tools
Comparing version 4.3.6-beta.0 to 4.3.9-beta.0
@@ -372,5 +372,5 @@ "use strict"; | ||
} | ||
var index = args.indexOf('--core-cwd'); | ||
if (index !== -1) { | ||
var coreCwd = args[index + 1]; | ||
var indexCoreCwd = args.indexOf('--core-cwd'); | ||
if (indexCoreCwd !== -1) { | ||
var coreCwd = args[indexCoreCwd + 1]; | ||
if (coreCwd) { | ||
@@ -380,4 +380,13 @@ exports.setCoreCwd(coreCwd); | ||
} | ||
// This is to setup the app environment | ||
exports.setCwd(exports.getCwd()); | ||
var indexCwd = args.indexOf('--core-cwd'); | ||
if (indexCwd !== -1) { | ||
var cwd = args[indexCwd + 1]; | ||
if (cwd) { | ||
exports.setCwd(cwd); | ||
} | ||
} | ||
else { | ||
// This is to setup the app environment | ||
exports.setCwd(exports.getCwd()); | ||
} | ||
}; | ||
@@ -384,0 +393,0 @@ /** |
@@ -14,3 +14,3 @@ export { default as fs } from './fs'; | ||
export { default as validators } from './validators'; | ||
export { default as spawn } from './spawn'; | ||
export { default as spawn, SpawnPromise } from './spawn'; | ||
export { default as axios } from './axios'; | ||
@@ -17,0 +17,0 @@ export { default as prints } from './prints'; |
@@ -1,1 +0,1 @@ | ||
export { spawn as default } from 'flex-plugins-utils-spawn'; | ||
export { spawn as default, SpawnPromise } from 'flex-plugins-utils-spawn'; |
{ | ||
"name": "flex-dev-utils", | ||
"version": "4.3.6-beta.0", | ||
"version": "4.3.9-beta.0", | ||
"description": "Common development utility for creating a Flex plugin", | ||
@@ -41,5 +41,5 @@ "keywords": [ | ||
"copy-template-dir": "^1.4.0", | ||
"flex-plugins-utils-exception": "^0.17.1", | ||
"flex-plugins-utils-logger": "^0.17.1", | ||
"flex-plugins-utils-spawn": "^0.17.1", | ||
"flex-plugins-utils-exception": "^0.18.0", | ||
"flex-plugins-utils-logger": "^0.18.0", | ||
"flex-plugins-utils-spawn": "^0.18.2", | ||
"globby": "^11.0.1", | ||
@@ -73,3 +73,3 @@ "lodash": "^4.17.20", | ||
}, | ||
"gitHead": "102be9f7eb949d5eefae9d4cee6db3283fb4c94a" | ||
"gitHead": "a0272e22697f2d9972bd20494f2468704a9c08d1" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
129510
2270
+ Addedflex-plugins-utils-env@0.18.0(transitive)
+ Addedflex-plugins-utils-exception@0.18.0(transitive)
+ Addedflex-plugins-utils-logger@0.18.0(transitive)
+ Addedflex-plugins-utils-spawn@0.18.2(transitive)
+ Addednode-abi@3.74.0(transitive)
+ Addedobject-inspect@1.13.4(transitive)
+ Addedpossible-typed-array-names@1.1.0(transitive)
+ Addedsemver@7.7.1(transitive)
- Removedflex-plugins-utils-env@0.17.2(transitive)
- Removedflex-plugins-utils-exception@0.17.1(transitive)
- Removedflex-plugins-utils-logger@0.17.2(transitive)
- Removedflex-plugins-utils-spawn@0.17.2(transitive)
- Removednode-abi@3.73.0(transitive)
- Removedobject-inspect@1.13.3(transitive)
- Removedpossible-typed-array-names@1.0.0(transitive)
- Removedsemver@7.7.0(transitive)