@pisell/common 3.0.5 → 3.0.6

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,5 +1,11 @@
1
1
  # @pisell/common
2
2
 
3
+ ## 3.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - f5ad04b73: saas_admin saas_shop 不上传 cdn
8
+
3
9
  ## 3.0.5
4
10
 
5
11
  ### Patch Changes
@@ -173,7 +173,7 @@ function _init() {
173
173
  if (_fileName === 'admin') {
174
174
  _fileName = 'my_pisell_v2';
175
175
  }
176
- if (!(_fileName !== 'xzero')) {
176
+ if (['xzero', 'saas_admin', 'saas_shop'].includes(_fileName)) {
177
177
  _context.next = 42;
178
178
  break;
179
179
  }
@@ -153,7 +153,7 @@ async function init() {
153
153
  if (_fileName === "admin") {
154
154
  _fileName = "my_pisell_v2";
155
155
  }
156
- if (_fileName !== "xzero") {
156
+ if (!["xzero", "saas_admin", "saas_shop"].includes(_fileName)) {
157
157
  await (0, import_aws.uploadStaticToOSS)(_fileName);
158
158
  }
159
159
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/common",
3
- "version": "3.0.5",
3
+ "version": "3.0.6",
4
4
  "sideEffects": [
5
5
  "*.less"
6
6
  ],
@@ -146,7 +146,7 @@ async function init() {
146
146
  if (_fileName === 'admin') {
147
147
  _fileName = 'my_pisell_v2'
148
148
  }
149
- if (_fileName !== 'xzero') {
149
+ if (!['xzero','saas_admin','saas_shop'].includes(_fileName)) {
150
150
  // 上传oss
151
151
  await uploadStaticToOSS(_fileName);
152
152
  }