utiller 1.0.388 → 1.0.390

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.
@@ -74,7 +74,8 @@ var NodeUtiller = /*#__PURE__*/function (_Utiller) {
74
74
  return _context.abrupt("return", new Promise(function (resolve, reject) {
75
75
  // 核心改動:將執行路徑作為 options 物件的 cwd 屬性傳遞
76
76
  _child_process["default"].exec(command, {
77
- cwd: executionPath
77
+ cwd: executionPath,
78
+ shell: "/bin/bash"
78
79
  },
79
80
  // ⬅️ 新增的 options 物件,指定 cwd
80
81
  function (error, stdout, stderr) {
@@ -1145,7 +1146,7 @@ var NodeUtiller = /*#__PURE__*/function (_Utiller) {
1145
1146
  release = _this7.persistByPath(_path4["default"].join(path, "release"));
1146
1147
  /** 利用babel 產生出 es5相容性高的src file */
1147
1148
  _context13.next = 8;
1148
- return _this7.executeCommandLine("npx babel ./temp --out-dir ./release/lib", path);
1149
+ return _this7.executeCommandLine("npm run build:temp", path);
1149
1150
  case 8:
1150
1151
  pathOfPackageJson = _path4["default"].join(path, "package.json");
1151
1152
  _context13.prev = 9;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utiller",
3
- "version": "1.0.388",
3
+ "version": "1.0.390",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -11,7 +11,7 @@
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
13
  "configerer": "^1.0.23",
14
- "utiller": "^1.0.387",
14
+ "utiller": "^1.0.389",
15
15
  "linepayer": "^1.0.15",
16
16
  "databazer": "^1.0.17",
17
17
  "lodash": "^4.17.20",