@adobe/helix-deploy 6.2.11 → 6.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/cli.js +8 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [6.2.12](https://github.com/adobe/helix-deploy/compare/v6.2.11...v6.2.12) (2022-02-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add option to override env ([#382](https://github.com/adobe/helix-deploy/issues/382)) ([3fb9b26](https://github.com/adobe/helix-deploy/commit/3fb9b26e33564f814cfb6947e3ab2b22e07f914c))
|
|
7
|
+
|
|
1
8
|
## [6.2.11](https://github.com/adobe/helix-deploy/compare/v6.2.10...v6.2.11) (2022-02-26)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -49,6 +49,14 @@ export default class CLI {
|
|
|
49
49
|
prepare(args) {
|
|
50
50
|
const argv = this._yargs.parse(args);
|
|
51
51
|
|
|
52
|
+
// apply '!important' args (override env).
|
|
53
|
+
Object.entries(argv).forEach(([key, value]) => {
|
|
54
|
+
const idx = key.indexOf('!important');
|
|
55
|
+
if (idx > 0) {
|
|
56
|
+
argv[key.substring(0, idx)] = value;
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
|
|
52
60
|
if (argv.externals.length === 0) {
|
|
53
61
|
argv.externals = [/^openwhisk(\/.*)?$/];
|
|
54
62
|
}
|