@adobe/helix-deploy 6.2.0 → 6.2.1

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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [6.2.1](https://github.com/adobe/helix-deploy/compare/v6.2.0...v6.2.1) (2022-01-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * properly export development server ([a3b60d8](https://github.com/adobe/helix-deploy/commit/a3b60d8107285a93ba72ed99ec21112b1ee565ed))
7
+
1
8
  # [6.2.0](https://github.com/adobe/helix-deploy/compare/v6.1.0...v6.2.0) (2022-01-28)
2
9
 
3
10
 
package/index.js CHANGED
@@ -9,16 +9,8 @@
9
9
  * OF ANY KIND, either express or implied. See the License for the specific language
10
10
  * governing permissions and limitations under the License.
11
11
  */
12
- const ActionBuilder = require('./src/ActionBuilder.js');
13
- const Bundler = require('./src/bundler/WebpackBundler.js');
14
- const BaseConfig = require('./src/BaseConfig.js');
15
- const CLI = require('./src/cli.js');
16
- const DevelopmentServer = require('./src/DevelopmentServer.js');
17
-
18
- module.exports = {
19
- ActionBuilder,
20
- Bundler,
21
- BaseConfig,
22
- CLI,
23
- DevelopmentServer,
24
- };
12
+ export { default as ActionBuilder } from './src/ActionBuilder.js';
13
+ export { default as Bundler } from './src/bundler/WebpackBundler.js';
14
+ export { default as BaseConfig } from './src/BaseConfig.js';
15
+ export { default as CLI } from './src/cli.js';
16
+ export { default as DevelopmentServer } from './src/DevelopmentServer.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-deploy",
3
- "version": "6.2.0",
3
+ "version": "6.2.1",
4
4
  "description": "Library and Commandline Tools to build and deploy OpenWhisk Actions",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/adobe/helix-deploy#readme",
@@ -223,8 +223,8 @@ export default class GoogleDeployer extends BaseDeployer {
223
223
  },
224
224
  });
225
225
  } catch (err) {
226
- this.log.error(chalk`{red error:} bad request: ${err.metadata.internalRepr.get('google.rpc.badrequest-bin').toString()}`);
227
- this.log.error(chalk`{red error:} details: ${err.metadata.internalRepr.get('grpc-status-details-bin').toString()}`);
226
+ this.log.error(chalk`{red error:} bad request: ${err.metadata.internalRepr?.get('google.rpc.badrequest-bin')?.toString()}`);
227
+ this.log.error(chalk`{red error:} details: ${err.metadata.internalRepr?.get('grpc-status-details-bin')?.toString()}`);
228
228
  throw err;
229
229
  }
230
230
 
package/src/index.js CHANGED
@@ -11,7 +11,6 @@
11
11
  * OF ANY KIND, either express or implied. See the License for the specific language
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
-
15
14
  import CLI from './cli.js';
16
15
 
17
16
  new CLI().run(process.argv.slice(2));