@next-core/brick-container 2.92.2 → 2.92.3
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/index.html +1 -1
- package/dist/{main.41a1e3f42980984bd268.js → main.5f3a940b71f19963ebf2.js} +2 -2
- package/dist/{main.41a1e3f42980984bd268.js.map → main.5f3a940b71f19963ebf2.js.map} +1 -1
- package/dist/{main.e85f7a2965dbeeb6f9d7.css → main.c814546d1257c82a9a78.css} +1 -1
- package/dist/main.c814546d1257c82a9a78.css.map +1 -0
- package/dist/{preview.e7710f48f98a5746d50a.css → preview.d7c580cd31a9c96a53f7.css} +1 -1
- package/dist/preview.d7c580cd31a9c96a53f7.css.map +1 -0
- package/dist/preview.html +1 -1
- package/package.json +2 -2
- package/tools/report_installed_brick_next_package.py +2 -5
- package/dist/main.e85f7a2965dbeeb6f9d7.css.map +0 -1
- package/dist/preview.e7710f48f98a5746d50a.css.map +0 -1
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.
|
|
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.d7c580cd31a9c96a53f7.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.49218ca1.js"></script><script src="polyfill.5f60d909121d6c84d42d.js"></script><script src="preview.16f41cd133904776f25f.js"></script></body></html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/brick-container",
|
|
3
|
-
"version": "2.92.
|
|
3
|
+
"version": "2.92.3",
|
|
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": "
|
|
76
|
+
"gitHead": "98c3cd957f816c8ced8e9de711f88a534a712326"
|
|
77
77
|
}
|
|
@@ -166,16 +166,13 @@ def collect_stories(install_path):
|
|
|
166
166
|
examples_path = os.path.join(install_path, "dist", "examples.json")
|
|
167
167
|
types_path = os.path.join(install_path, "dist", "types.json")
|
|
168
168
|
bricks_path = os.path.join(install_path, "dist", "bricks.json")
|
|
169
|
-
with open(bricks_path) as bricks_file:
|
|
170
|
-
bricks_content = simplejson.load(bricks_file)
|
|
171
|
-
isV3Brick = "id" in bricks_content
|
|
172
169
|
with open(stories_path) as stories_file:
|
|
173
170
|
stories_content = simplejson.load(stories_file)
|
|
174
171
|
# v2 brick
|
|
175
|
-
if
|
|
172
|
+
if not os.path.exists(manifest_path):
|
|
176
173
|
return stories_content
|
|
177
174
|
# v3 brick
|
|
178
|
-
elif
|
|
175
|
+
elif os.path.exists(manifest_path):
|
|
179
176
|
stories_list = []
|
|
180
177
|
with open(manifest_path) as manifest_file:
|
|
181
178
|
manifest_content = simplejson.load(manifest_file)
|