@giteeteam/apps-cli 0.2.4 → 0.2.5

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +2 -3
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ var execa__default = /*#__PURE__*/_interopDefaultLegacy(execa);
31
31
  var child_process__default = /*#__PURE__*/_interopDefaultLegacy(child_process);
32
32
  var chokidar__default = /*#__PURE__*/_interopDefaultLegacy(chokidar);
33
33
 
34
- var version = "0.2.4";
34
+ var version = "0.2.5";
35
35
 
36
36
  const packageApp = async ({ outputDir, manifest, copyFiles }) => {
37
37
  const { resources } = manifest;
@@ -399,7 +399,7 @@ class DockerService {
399
399
  await this.execPromise(command);
400
400
  }
401
401
  async removeContainer(containerName) {
402
- await this.execPromise(`docker rm -f ${containerName}`);
402
+ await this.execPromise(`docker rm -f ${containerName}`).catch(() => { });
403
403
  }
404
404
  execPromise(cmd) {
405
405
  return new Promise((resolve, reject) => {
@@ -443,7 +443,7 @@ const watchFiles = async (options) => {
443
443
  var _a, _b;
444
444
  const image = {
445
445
  repository: 'registry.baidubce.com/proxima/proxima-apps-runtime-server',
446
- tag: (_a = process.env.IMAGE_TAG) !== null && _a !== void 0 ? _a : '2.5.0-alpha-41',
446
+ tag: (_a = process.env.IMAGE_TAG) !== null && _a !== void 0 ? _a : '2.7.0-alpha-44',
447
447
  };
448
448
  const containerPort = Number((_b = process.env.CONTAINER_PORT) !== null && _b !== void 0 ? _b : 8455);
449
449
  const containerName = 'cli-dev-apps-runtime-server';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@giteeteam/apps-cli",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Giteeteam Apps cli",
5
5
  "keywords": [
6
6
  "typescript",
@@ -58,6 +58,5 @@
58
58
  "@types/fs-extra": "^9.0.13",
59
59
  "@types/inquirer": "^8.2.1",
60
60
  "@types/uuid": "^8.3.4"
61
- },
62
- "gitHead": "8f986a59969dc6e5902a17b1d608b2f27d46b559"
61
+ }
63
62
  }