ims-template-config 1.14.0 → 1.15.1

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.
@@ -1,4 +1,4 @@
1
- export declare const footer: ({
1
+ export declare const footer: (repo: string) => ({
2
2
  title: string;
3
3
  items: ({
4
4
  title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/footer/index.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;IAuGlB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/footer/index.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,SAAU,MAAM;;;;;;;;;;;;;;;;;;;IAuGlC,CAAC"}
@@ -1,79 +1,81 @@
1
- export var footer = [{
2
- title: '相关依赖',
3
- items: [{
4
- title: 'ims-view-pc',
5
- url: 'https://ims-view.site/components',
6
- openExternal: true
1
+ export var footer = function footer(repo) {
2
+ return [{
3
+ title: '相关依赖',
4
+ items: [{
5
+ title: 'ims-view-pc',
6
+ url: 'https://ims-view.site/components',
7
+ openExternal: true
8
+ }, {
9
+ title: '@ims-view/hooks',
10
+ url: 'https://ims-view.site/hooks',
11
+ openExternal: true
12
+ }, {
13
+ title: '@ims-view/utils',
14
+ url: 'https://ims-view.site/utils',
15
+ openExternal: true
16
+ }, {
17
+ title: '@ims-view/chart',
18
+ url: 'https://ims-view.site/charts',
19
+ openExternal: true
20
+ }, {
21
+ title: 'ims-graph',
22
+ url: 'https://ims-graph.vercel.app/components/graph-chart',
23
+ openExternal: true
24
+ }, {
25
+ title: 'ims-indexed-db',
26
+ url: 'https://ims-indexed-db.vercel.app/',
27
+ openExternal: true
28
+ }, {
29
+ title: '@ims-view/components',
30
+ url: 'https://github.com/eternallycyf/components',
31
+ openExternal: true
32
+ }, {
33
+ title: '@ims-view/editor',
34
+ url: 'https://ims-editor.vercel.app/',
35
+ openExternal: true
36
+ }, {
37
+ title: 'ims-react-directive',
38
+ url: 'https://github.com/eternallycyf/ims-react-directive',
39
+ openExternal: true
40
+ }]
7
41
  }, {
8
- title: '@ims-view/hooks',
9
- url: 'https://ims-view.site/hooks',
10
- openExternal: true
42
+ title: '帮助',
43
+ items: [{
44
+ title: 'GitHub',
45
+ url: "https://github.com/eternallycyf/".concat(repo),
46
+ openExternal: true
47
+ }, {
48
+ title: '更新日志',
49
+ url: "/changelog"
50
+ }, {
51
+ title: '讨论',
52
+ url: "https://github.com/eternallycyf/".concat(repo, "/issues"),
53
+ openExternal: true
54
+ }]
11
55
  }, {
12
- title: '@ims-view/utils',
13
- url: 'https://ims-view.site/utils',
14
- openExternal: true
56
+ title: '模板及配置',
57
+ items: [{
58
+ title: 'ims-monorepo-template',
59
+ description: 'monorepo模板',
60
+ url: 'https://github.com/eternallycyf/ims-monorepo-template',
61
+ openExternal: true
62
+ }, {
63
+ title: 'ims-template',
64
+ description: 'npm模板',
65
+ url: 'https://github.com/eternallycyf/ims-template',
66
+ openExternal: true
67
+ }, {
68
+ title: 'ims-template-config',
69
+ description: '配置',
70
+ url: 'https://github.com/eternallycyf/ims-template-config',
71
+ openExternal: true
72
+ }]
15
73
  }, {
16
- title: '@ims-view/chart',
17
- url: 'https://ims-view.site/charts',
18
- openExternal: true
19
- }, {
20
- title: 'ims-graph',
21
- url: 'https://ims-graph.vercel.app/components/graph-chart',
22
- openExternal: true
23
- }, {
24
- title: 'ims-indexed-db',
25
- url: 'https://ims-indexed-db.vercel.app/',
26
- openExternal: true
27
- }, {
28
- title: '@ims-view/components',
29
- url: 'https://github.com/eternallycyf/components',
30
- openExternal: true
31
- }, {
32
- title: '@ims-view/editor',
33
- url: 'https://ims-editor.vercel.app/',
34
- openExternal: true
35
- }, {
36
- title: 'ims-react-directive',
37
- url: 'https://github.com/eternallycyf/ims-react-directive',
38
- openExternal: true
39
- }]
40
- }, {
41
- title: '帮助',
42
- items: [{
43
- title: 'GitHub',
44
- url: 'https://github.com/eternallycyf/ims-view-pc',
45
- openExternal: true
46
- }, {
47
- title: '更新日志',
48
- url: '/changelog/ims-view-pc'
49
- }, {
50
- title: '讨论',
51
- url: 'https://github.com/eternallycyf/ims-view-pc/issues',
52
- openExternal: true
53
- }]
54
- }, {
55
- title: '模板及配置',
56
- items: [{
57
- title: 'ims-monorepo-template',
58
- description: 'monorepo模板',
59
- url: 'https://github.com/eternallycyf/ims-monorepo-template',
60
- openExternal: true
61
- }, {
62
- title: 'ims-template',
63
- description: 'npm模板',
64
- url: 'https://github.com/eternallycyf/ims-template',
65
- openExternal: true
66
- }, {
67
- title: 'ims-template-config',
68
- description: '配置',
69
- url: 'https://github.com/eternallycyf/ims-template-config',
70
- openExternal: true
71
- }]
72
- }, {
73
- title: '更多',
74
- items: [{
75
- title: 'lrxc-cli',
76
- url: 'https://github.com/eternallycyf/lrxc-cli',
77
- openExternal: true
78
- }]
79
- }];
74
+ title: '更多',
75
+ items: [{
76
+ title: 'lrxc-cli',
77
+ url: 'https://github.com/eternallycyf/lrxc-cli',
78
+ openExternal: true
79
+ }]
80
+ }];
81
+ };
@@ -1,4 +1,4 @@
1
- export declare const footer: ({
1
+ export declare const footer: (repo: string) => ({
2
2
  title: string;
3
3
  items: ({
4
4
  title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/footer/index.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;IAuGlB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/footer/index.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,SAAU,MAAM;;;;;;;;;;;;;;;;;;;IAuGlC,CAAC"}
@@ -22,7 +22,7 @@ __export(footer_exports, {
22
22
  footer: () => footer
23
23
  });
24
24
  module.exports = __toCommonJS(footer_exports);
25
- var footer = [
25
+ var footer = (repo) => [
26
26
  {
27
27
  title: "相关依赖",
28
28
  items: [
@@ -78,16 +78,16 @@ var footer = [
78
78
  items: [
79
79
  {
80
80
  title: "GitHub",
81
- url: "https://github.com/eternallycyf/ims-view-pc",
81
+ url: `https://github.com/eternallycyf/${repo}`,
82
82
  openExternal: true
83
83
  },
84
84
  {
85
85
  title: "更新日志",
86
- url: "/changelog/ims-view-pc"
86
+ url: `/changelog`
87
87
  },
88
88
  {
89
89
  title: "讨论",
90
- url: "https://github.com/eternallycyf/ims-view-pc/issues",
90
+ url: `https://github.com/eternallycyf/${repo}/issues`,
91
91
  openExternal: true
92
92
  }
93
93
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ims-template-config",
3
- "version": "1.14.0",
3
+ "version": "1.15.1",
4
4
  "description": "ims 一些配置",
5
5
  "keywords": [
6
6
  "config"