@next-core/brick-container 2.94.5 → 2.94.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/dist/preview.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="zh-CN" data-theme="light" data-mode="default"><head><meta charset="utf-8"/><base href="<!--# echo var='base_href' default='/' -->"/><script>window.DEVELOPER_PREVIEW = true;</script><link href="preview.79c60022fb7aa31acff7.css" rel="stylesheet"></head><body><div id="preview-root"><div id="main-mount-point"></div><div id="bg-mount-point" style="display: none"></div><div id="portal-mount-point"></div></div><script src="dll.be08f567.js"></script><script src="polyfill.5f60d909121d6c84d42d.js"></script><script src="preview.e567ac2e3de7bb4a6d0a.js"></script></body></html>
1
+ <!doctype html><html lang="zh-CN" data-theme="light" data-mode="default"><head><meta charset="utf-8"/><base href="<!--# echo var='base_href' default='/' -->"/><script>window.DEVELOPER_PREVIEW = true;</script><link href="preview.169f79b5c16f9d480543.css" rel="stylesheet"></head><body><div id="preview-root"><div id="main-mount-point"></div><div id="bg-mount-point" style="display: none"></div><div id="portal-mount-point"></div></div><script src="dll.be08f567.js"></script><script src="polyfill.5f60d909121d6c84d42d.js"></script><script src="preview.e567ac2e3de7bb4a6d0a.js"></script></body></html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-core/brick-container",
3
- "version": "2.94.5",
3
+ "version": "2.94.6",
4
4
  "description": "Brick Container Server",
5
5
  "homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/brick-container",
6
6
  "license": "GPL-3.0",
@@ -73,5 +73,5 @@
73
73
  "webpack-dev-server": "^4.11.1",
74
74
  "webpack-merge": "^5.8.0"
75
75
  },
76
- "gitHead": "4130cfa56ebb8b0938cc37f878ce2e9ed29dd4f9"
76
+ "gitHead": "4b9388f46079189ece2e8cbe7aceeaa7976f8098"
77
77
  }
@@ -43,13 +43,15 @@ def get_version(install_path):
43
43
 
44
44
  def collect_app_info(app_path, report_app_id, version):
45
45
  if not os.path.exists(app_path):
46
- raise Exception("could not find app path {}".format(app_path))
46
+ print u"could not find app path {}".format(app_path)
47
+ return
47
48
  bootstrap_file_name = ""
48
49
  for f in os.listdir(app_path):
49
50
  if f.startswith("bootstrap-mini.") and f.endswith(".json"):
50
51
  bootstrap_file_name = f
51
52
  if bootstrap_file_name is "":
52
- raise Exception("bootstrap-mini.*.json not found in dir {}".format(app_path))
53
+ print u"bootstrap-mini.*.json not found in dir {}".format(app_path)
54
+ return
53
55
  bootstrap_file = os.path.join(app_path, bootstrap_file_name)
54
56
  print u"report app: {}, bootstrap_file: {}".format(report_app_id, bootstrap_file)
55
57
  with open(bootstrap_file) as f: