@antv/dumi-theme-antv 0.7.3-beta.4 → 0.7.4

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.
@@ -139,6 +139,12 @@ export default function ThemeAntVContextWrapper() {
139
139
  path: "examples",
140
140
  file: `${PAGES_DIR}/Examples`
141
141
  },
142
+ {
143
+ id: "dumi-theme-antv-example-list-en",
144
+ absPath: "/en/examples",
145
+ path: "en/examples",
146
+ file: `${PAGES_DIR}/Examples`
147
+ },
142
148
  {
143
149
  id: "dumi-theme-antv-example-list-lang",
144
150
  absPath: "/:language/examples",
package/dist/utils/env.js CHANGED
@@ -6,5 +6,6 @@ export var isBrowser = function isBrowser() {
6
6
  // 安全访问浏览器 API
7
7
  // eslint-disable-next-line no-unused-vars
8
8
  export var safeWindow = function safeWindow(fn) {
9
- if (isBrowser()) fn(window);
9
+ if (isBrowser()) return fn(window);
10
+ return undefined;
10
11
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/dumi-theme-antv",
3
- "version": "0.7.3-beta.4",
3
+ "version": "0.7.4",
4
4
  "description": "AntV website theme based on dumi2.",
5
5
  "keywords": [
6
6
  "dumi",
@@ -125,7 +125,7 @@
125
125
  "@types/styled-components": "^5.1.34",
126
126
  "@umijs/lint": "^4.3.34",
127
127
  "css-loader": "^7.1.2",
128
- "dumi": "^2.4.13",
128
+ "dumi": "2.4.18",
129
129
  "eslint": "^8.57.1",
130
130
  "father": "^4.5.1",
131
131
  "father-plugin-dumi-theme": "1.0.0-rc.1",
@@ -145,8 +145,7 @@
145
145
  "react-dom": ">=16.9.0"
146
146
  },
147
147
  "publishConfig": {
148
- "access": "public",
149
- "tag": "beta"
148
+ "access": "public"
150
149
  },
151
150
  "authors": [
152
151
  "dumi",