@pisell/common 0.0.57 → 0.0.58

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.
@@ -7,7 +7,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
7
7
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
8
8
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
9
9
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
10
- import { isAWSEnv } from "../aws";
10
+ import { isAWSEnv } from "../aws/index.js";
11
11
  import { isSsrMap, outPathMap } from "../constants/index.js";
12
12
  import { connectServer as _connectServer, getServerConfig, releaseProject } from "../utils/index.js";
13
13
 
@@ -11,7 +11,7 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
11
11
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
12
12
  import archiver from 'archiver';
13
13
  import path from 'path';
14
- import { isAWSEnv } from "../aws";
14
+ import { isAWSEnv } from "../aws/index.js";
15
15
  import { checkPackages, isSsrMap, outPathMap } from "../constants/index.js";
16
16
  import { checkPkgVersion, connectServer as _connectServer, getGitCurrentBranch, getServerConfig, isWorkingTreeClean, serverUnpack as _serverUnpack, serverUpload as _serverUpload } from "../utils/index.js";
17
17
 
@@ -13,7 +13,7 @@ import * as dotenv from 'dotenv';
13
13
  import npmCheck from 'npm-check';
14
14
  import path from 'path';
15
15
  import ssh2 from 'ssh2';
16
- import { isAWSEnv } from "../aws";
16
+ import { isAWSEnv } from "../aws/index.js";
17
17
 
18
18
  /**
19
19
  * @Title: 项目工作区是否干净
@@ -22,7 +22,7 @@ __export(release_exports, {
22
22
  default: () => release_default
23
23
  });
24
24
  module.exports = __toCommonJS(release_exports);
25
- var import_aws = require("../aws");
25
+ var import_aws = require("../aws/index.js");
26
26
  var import_constants = require("../constants/index.js");
27
27
  var import_utils = require("../utils/index.js");
28
28
  var Release = class {
@@ -34,7 +34,7 @@ __export(uploadCode_exports, {
34
34
  module.exports = __toCommonJS(uploadCode_exports);
35
35
  var import_archiver = __toESM(require("archiver"));
36
36
  var import_path = __toESM(require("path"));
37
- var import_aws = require("../aws");
37
+ var import_aws = require("../aws/index.js");
38
38
  var import_constants = require("../constants/index.js");
39
39
  var import_utils = require("../utils/index.js");
40
40
  var UploadCode = class {
@@ -49,7 +49,7 @@ var dotenv = __toESM(require("dotenv"));
49
49
  var import_npm_check = __toESM(require("npm-check"));
50
50
  var import_path = __toESM(require("path"));
51
51
  var import_ssh2 = __toESM(require("ssh2"));
52
- var import_aws = require("../aws");
52
+ var import_aws = require("../aws/index.js");
53
53
  var isWorkingTreeClean = async () => {
54
54
  const v = await $`git status --porcelain`;
55
55
  return v.stdout === "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/common",
3
- "version": "0.0.57",
3
+ "version": "0.0.58",
4
4
  "description": "A collection of reusable UI components for web development",
5
5
  "license": "MIT",
6
6
  "sideEffects": [