@fe-free/core 2.5.1 → 2.5.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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @fe-free/core
2
2
 
3
+ ## 2.5.3
4
+
5
+ ### Patch Changes
6
+
7
+ - feat: core app
8
+ - @fe-free/tool@2.5.3
9
+
10
+ ## 2.5.2
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+ - @fe-free/tool@2.5.2
16
+
3
17
  ## 2.5.1
4
18
 
5
19
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fe-free/core",
3
- "version": "2.5.1",
3
+ "version": "2.5.3",
4
4
  "description": "",
5
5
  "main": "./src/index.ts",
6
6
  "author": "",
@@ -41,7 +41,7 @@
41
41
  "remark-gfm": "^4.0.1",
42
42
  "vanilla-jsoneditor": "^0.23.1",
43
43
  "zustand": "^4.5.4",
44
- "@fe-free/tool": "2.5.1"
44
+ "@fe-free/tool": "2.5.3"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@ant-design/pro-components": "2.8.9",
@@ -18,7 +18,7 @@ function CheckUpdate({ basename }: { basename: string }) {
18
18
  }
19
19
 
20
20
  async function getMainScriptSrc() {
21
- const res = await fetch(basename);
21
+ const res = await fetch(`${basename}?r=${Date.now()}`);
22
22
  const html = await res.text();
23
23
  const parser = new DOMParser();
24
24
  const doc = parser.parseFromString(html, 'text/html');
@@ -1,9 +1,9 @@
1
- import { FileCard } from '@fe-free/tool';
1
+ import { FileCard } from '@fe-free/core';
2
2
  import type { StoryObj } from '@storybook/react-vite';
3
3
  import { PRESET_FILE_ICONS } from './helper';
4
4
 
5
5
  const meta = {
6
- title: '@fe-free/file/FileCard',
6
+ title: '@fe-free/core/FileCard',
7
7
  component: FileCard,
8
8
  tags: ['autodocs'],
9
9
  };
@@ -48,9 +48,9 @@ export const Default: Story = {
48
48
  title: '资料2',
49
49
  key: '1-1',
50
50
  children: [
51
- { title: '资料2-1资料2-1资料2-1资料2-1', key: '1-1-0' },
52
- { title: '资料2-2', key: '1-1-1' },
53
- { title: '资料2-3', key: '1-1-2' },
51
+ { title: '资料2-1资料2-1资料2-1资料2-1', key: '1-1-0', children: [] },
52
+ { title: '资料2-2', key: '1-1-1', children: [] },
53
+ { title: '资料2-3', key: '1-1-2', children: [] },
54
54
  ],
55
55
  },
56
56
 
@@ -66,9 +66,9 @@ export const Default: Story = {
66
66
  title: '资料2',
67
67
  key: '2-1',
68
68
  children: [
69
- { title: '资料2-1', key: '2-1-0' },
70
- { title: '资料2-2', key: '2-1-1' },
71
- { title: '资料2-3', key: '2-1-2' },
69
+ { title: '资料2-1', key: '2-1-0', children: [] },
70
+ { title: '资料2-2', key: '2-1-1', children: [] },
71
+ { title: '资料2-3', key: '2-1-2', children: [] },
72
72
  ],
73
73
  },
74
74
  { title: '资料3', key: '2-0-2', children: [] },