ims-template-config 1.18.0 → 1.20.0
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/ims-template-config.min.js +1 -0
- package/es/components/footer/index.js +9 -9
- package/lib/components/footer/index.js +107 -157
- package/lib/index.js +9 -26
- package/package.json +6 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var i=e();for(var n in i)("object"==typeof exports?exports:t)[n]=i[n]}}(self,(function(){return function(){"use strict";var t={d:function(e,i){for(var n in i)t.o(i,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:i[n]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r:function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{footer:function(){return i}});var i=function(t){return[{title:"相关依赖",items:[{title:"ims-view-pc",url:"https://ims-view.site/components",openExternal:!0},{title:"@ims-view/hooks",url:"https://ims-view.site/hooks",openExternal:!0},{title:"@ims-view/utils",url:"https://ims-view.site/utils",openExternal:!0},{title:"@ims-view/chart",url:"https://ims-view.site/charts",openExternal:!0},{title:"@ims-view/components",url:"https://github.com/eternallycyf/components",openExternal:!0},{title:"ims-graph",url:"https://ims-graph.vercel.app/components/graph-chart",openExternal:!0},{title:"ims-indexed-db",url:"https://ims-indexed-db.vercel.app/",openExternal:!0},{title:"@ims-view/editor",url:"https://ims-editor.vercel.app/",openExternal:!0}]},{title:"帮助",items:[{title:"GitHub",url:"https://github.com/eternallycyf/".concat(t),openExternal:!0},{title:"更新日志",url:"/changelog"},{title:"讨论",url:"https://github.com/eternallycyf/".concat(t,"/issues"),openExternal:!0}]},{title:"模板及配置",items:[{title:"ims-template",description:"npm模板",url:"https://github.com/eternallycyf/ims-template",openExternal:!0},{title:"ims-monorepo-template",description:"monorepo模板",url:"https://github.com/eternallycyf/ims-monorepo-template",openExternal:!0},{title:"ims-template-config",description:"配置",url:"https://github.com/eternallycyf/ims-template-config",openExternal:!0},{title:"eslint-config",description:"eslint配置",url:"https://github.com/eternallycyf/eslint-config",openExternal:!0},{title:"prettier-config",description:"prettier配置",url:"https://github.com/eternallycyf/prettier-config",openExternal:!0}]},{title:"更多",items:[{title:"mini-react",url:"https://www.npmjs.com/package/@ims-view/mini-react",openExternal:!0},{title:"ims-zustand",url:"https://www.npmjs.com/package/ims-zustand",openExternal:!0},{title:"lrxc-cli",url:"https://github.com/eternallycyf/lrxc-cli",openExternal:!0},{title:"ims-keep-alive",url:"https://ims-keep-alive.vercel.app/",openExternal:!0},{title:"ims-react-directive",url:"https://github.com/eternallycyf/ims-react-directive",openExternal:!0}]}]};return e}()}));
|
|
@@ -33,10 +33,6 @@ export var footer = function footer(repo) {
|
|
|
33
33
|
title: '@ims-view/editor',
|
|
34
34
|
url: 'https://ims-editor.vercel.app/',
|
|
35
35
|
openExternal: true
|
|
36
|
-
}, {
|
|
37
|
-
title: 'ims-react-directive',
|
|
38
|
-
url: 'https://github.com/eternallycyf/ims-react-directive',
|
|
39
|
-
openExternal: true
|
|
40
36
|
}]
|
|
41
37
|
}, {
|
|
42
38
|
title: '帮助',
|
|
@@ -55,15 +51,15 @@ export var footer = function footer(repo) {
|
|
|
55
51
|
}, {
|
|
56
52
|
title: '模板及配置',
|
|
57
53
|
items: [{
|
|
58
|
-
title: 'ims-monorepo-template',
|
|
59
|
-
description: 'monorepo模板',
|
|
60
|
-
url: 'https://github.com/eternallycyf/ims-monorepo-template',
|
|
61
|
-
openExternal: true
|
|
62
|
-
}, {
|
|
63
54
|
title: 'ims-template',
|
|
64
55
|
description: 'npm模板',
|
|
65
56
|
url: 'https://github.com/eternallycyf/ims-template',
|
|
66
57
|
openExternal: true
|
|
58
|
+
}, {
|
|
59
|
+
title: 'ims-monorepo-template',
|
|
60
|
+
description: 'monorepo模板',
|
|
61
|
+
url: 'https://github.com/eternallycyf/ims-monorepo-template',
|
|
62
|
+
openExternal: true
|
|
67
63
|
}, {
|
|
68
64
|
title: 'ims-template-config',
|
|
69
65
|
description: '配置',
|
|
@@ -98,6 +94,10 @@ export var footer = function footer(repo) {
|
|
|
98
94
|
title: 'ims-keep-alive',
|
|
99
95
|
url: 'https://ims-keep-alive.vercel.app/',
|
|
100
96
|
openExternal: true
|
|
97
|
+
}, {
|
|
98
|
+
title: 'ims-react-directive',
|
|
99
|
+
url: 'https://github.com/eternallycyf/ims-react-directive',
|
|
100
|
+
openExternal: true
|
|
101
101
|
}]
|
|
102
102
|
}];
|
|
103
103
|
};
|
|
@@ -1,159 +1,109 @@
|
|
|
1
|
-
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
1
|
+
"use strict";
|
|
18
2
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
__export(footer_exports, {
|
|
22
|
-
footer: () => footer
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(footer_exports);
|
|
25
|
-
var footer = (repo) => [
|
|
26
|
-
{
|
|
27
|
-
title: "相关依赖",
|
|
28
|
-
items: [
|
|
29
|
-
{
|
|
30
|
-
title: "ims-view-pc",
|
|
31
|
-
url: "https://ims-view.site/components",
|
|
32
|
-
openExternal: true
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
title: "@ims-view/hooks",
|
|
36
|
-
url: "https://ims-view.site/hooks",
|
|
37
|
-
openExternal: true
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
title: "@ims-view/utils",
|
|
41
|
-
url: "https://ims-view.site/utils",
|
|
42
|
-
openExternal: true
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
title: "@ims-view/chart",
|
|
46
|
-
url: "https://ims-view.site/charts",
|
|
47
|
-
openExternal: true
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
title: "@ims-view/components",
|
|
51
|
-
url: "https://github.com/eternallycyf/components",
|
|
52
|
-
openExternal: true
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
title: "ims-graph",
|
|
56
|
-
url: "https://ims-graph.vercel.app/components/graph-chart",
|
|
57
|
-
openExternal: true
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
title: "ims-indexed-db",
|
|
61
|
-
url: "https://ims-indexed-db.vercel.app/",
|
|
62
|
-
openExternal: true
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
title: "@ims-view/editor",
|
|
66
|
-
url: "https://ims-editor.vercel.app/",
|
|
67
|
-
openExternal: true
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
title: "ims-react-directive",
|
|
71
|
-
url: "https://github.com/eternallycyf/ims-react-directive",
|
|
72
|
-
openExternal: true
|
|
73
|
-
}
|
|
74
|
-
]
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
title: "帮助",
|
|
78
|
-
items: [
|
|
79
|
-
{
|
|
80
|
-
title: "GitHub",
|
|
81
|
-
url: `https://github.com/eternallycyf/${repo}`,
|
|
82
|
-
openExternal: true
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
title: "更新日志",
|
|
86
|
-
url: `/changelog`
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
title: "讨论",
|
|
90
|
-
url: `https://github.com/eternallycyf/${repo}/issues`,
|
|
91
|
-
openExternal: true
|
|
92
|
-
}
|
|
93
|
-
]
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
title: "模板及配置",
|
|
97
|
-
items: [
|
|
98
|
-
{
|
|
99
|
-
title: "ims-monorepo-template",
|
|
100
|
-
description: "monorepo模板",
|
|
101
|
-
url: "https://github.com/eternallycyf/ims-monorepo-template",
|
|
102
|
-
openExternal: true
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
title: "ims-template",
|
|
106
|
-
description: "npm模板",
|
|
107
|
-
url: "https://github.com/eternallycyf/ims-template",
|
|
108
|
-
openExternal: true
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
title: "ims-template-config",
|
|
112
|
-
description: "配置",
|
|
113
|
-
url: "https://github.com/eternallycyf/ims-template-config",
|
|
114
|
-
openExternal: true
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
title: "eslint-config",
|
|
118
|
-
description: "eslint配置",
|
|
119
|
-
url: "https://github.com/eternallycyf/eslint-config",
|
|
120
|
-
openExternal: true
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
title: "prettier-config",
|
|
124
|
-
description: "prettier配置",
|
|
125
|
-
url: "https://github.com/eternallycyf/prettier-config",
|
|
126
|
-
openExternal: true
|
|
127
|
-
}
|
|
128
|
-
]
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
title: "更多",
|
|
132
|
-
items: [
|
|
133
|
-
{
|
|
134
|
-
title: "mini-react",
|
|
135
|
-
url: "https://www.npmjs.com/package/@ims-view/mini-react",
|
|
136
|
-
openExternal: true
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
title: "ims-zustand",
|
|
140
|
-
url: "https://www.npmjs.com/package/ims-zustand",
|
|
141
|
-
openExternal: true
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
title: "lrxc-cli",
|
|
145
|
-
url: "https://github.com/eternallycyf/lrxc-cli",
|
|
146
|
-
openExternal: true
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
title: "ims-keep-alive",
|
|
150
|
-
url: "https://ims-keep-alive.vercel.app/",
|
|
151
|
-
openExternal: true
|
|
152
|
-
}
|
|
153
|
-
]
|
|
154
|
-
}
|
|
155
|
-
];
|
|
156
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
157
|
-
0 && (module.exports = {
|
|
158
|
-
footer
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
159
5
|
});
|
|
6
|
+
exports.footer = void 0;
|
|
7
|
+
var footer = exports.footer = function footer(repo) {
|
|
8
|
+
return [{
|
|
9
|
+
title: '相关依赖',
|
|
10
|
+
items: [{
|
|
11
|
+
title: 'ims-view-pc',
|
|
12
|
+
url: 'https://ims-view.site/components',
|
|
13
|
+
openExternal: true
|
|
14
|
+
}, {
|
|
15
|
+
title: '@ims-view/hooks',
|
|
16
|
+
url: 'https://ims-view.site/hooks',
|
|
17
|
+
openExternal: true
|
|
18
|
+
}, {
|
|
19
|
+
title: '@ims-view/utils',
|
|
20
|
+
url: 'https://ims-view.site/utils',
|
|
21
|
+
openExternal: true
|
|
22
|
+
}, {
|
|
23
|
+
title: '@ims-view/chart',
|
|
24
|
+
url: 'https://ims-view.site/charts',
|
|
25
|
+
openExternal: true
|
|
26
|
+
}, {
|
|
27
|
+
title: '@ims-view/components',
|
|
28
|
+
url: 'https://github.com/eternallycyf/components',
|
|
29
|
+
openExternal: true
|
|
30
|
+
}, {
|
|
31
|
+
title: 'ims-graph',
|
|
32
|
+
url: 'https://ims-graph.vercel.app/components/graph-chart',
|
|
33
|
+
openExternal: true
|
|
34
|
+
}, {
|
|
35
|
+
title: 'ims-indexed-db',
|
|
36
|
+
url: 'https://ims-indexed-db.vercel.app/',
|
|
37
|
+
openExternal: true
|
|
38
|
+
}, {
|
|
39
|
+
title: '@ims-view/editor',
|
|
40
|
+
url: 'https://ims-editor.vercel.app/',
|
|
41
|
+
openExternal: true
|
|
42
|
+
}]
|
|
43
|
+
}, {
|
|
44
|
+
title: '帮助',
|
|
45
|
+
items: [{
|
|
46
|
+
title: 'GitHub',
|
|
47
|
+
url: "https://github.com/eternallycyf/".concat(repo),
|
|
48
|
+
openExternal: true
|
|
49
|
+
}, {
|
|
50
|
+
title: '更新日志',
|
|
51
|
+
url: "/changelog"
|
|
52
|
+
}, {
|
|
53
|
+
title: '讨论',
|
|
54
|
+
url: "https://github.com/eternallycyf/".concat(repo, "/issues"),
|
|
55
|
+
openExternal: true
|
|
56
|
+
}]
|
|
57
|
+
}, {
|
|
58
|
+
title: '模板及配置',
|
|
59
|
+
items: [{
|
|
60
|
+
title: 'ims-template',
|
|
61
|
+
description: 'npm模板',
|
|
62
|
+
url: 'https://github.com/eternallycyf/ims-template',
|
|
63
|
+
openExternal: true
|
|
64
|
+
}, {
|
|
65
|
+
title: 'ims-monorepo-template',
|
|
66
|
+
description: 'monorepo模板',
|
|
67
|
+
url: 'https://github.com/eternallycyf/ims-monorepo-template',
|
|
68
|
+
openExternal: true
|
|
69
|
+
}, {
|
|
70
|
+
title: 'ims-template-config',
|
|
71
|
+
description: '配置',
|
|
72
|
+
url: 'https://github.com/eternallycyf/ims-template-config',
|
|
73
|
+
openExternal: true
|
|
74
|
+
}, {
|
|
75
|
+
title: 'eslint-config',
|
|
76
|
+
description: 'eslint配置',
|
|
77
|
+
url: 'https://github.com/eternallycyf/eslint-config',
|
|
78
|
+
openExternal: true
|
|
79
|
+
}, {
|
|
80
|
+
title: 'prettier-config',
|
|
81
|
+
description: 'prettier配置',
|
|
82
|
+
url: 'https://github.com/eternallycyf/prettier-config',
|
|
83
|
+
openExternal: true
|
|
84
|
+
}]
|
|
85
|
+
}, {
|
|
86
|
+
title: '更多',
|
|
87
|
+
items: [{
|
|
88
|
+
title: 'mini-react',
|
|
89
|
+
url: 'https://www.npmjs.com/package/@ims-view/mini-react',
|
|
90
|
+
openExternal: true
|
|
91
|
+
}, {
|
|
92
|
+
title: 'ims-zustand',
|
|
93
|
+
url: 'https://www.npmjs.com/package/ims-zustand',
|
|
94
|
+
openExternal: true
|
|
95
|
+
}, {
|
|
96
|
+
title: 'lrxc-cli',
|
|
97
|
+
url: 'https://github.com/eternallycyf/lrxc-cli',
|
|
98
|
+
openExternal: true
|
|
99
|
+
}, {
|
|
100
|
+
title: 'ims-keep-alive',
|
|
101
|
+
url: 'https://ims-keep-alive.vercel.app/',
|
|
102
|
+
openExternal: true
|
|
103
|
+
}, {
|
|
104
|
+
title: 'ims-react-directive',
|
|
105
|
+
url: 'https://github.com/eternallycyf/ims-react-directive',
|
|
106
|
+
openExternal: true
|
|
107
|
+
}]
|
|
108
|
+
}];
|
|
109
|
+
};
|
package/lib/index.js
CHANGED
|
@@ -1,29 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
1
|
+
"use strict";
|
|
18
2
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
__export(src_exports, {
|
|
22
|
-
footer: () => import_footer.footer
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
23
5
|
});
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
6
|
+
Object.defineProperty(exports, "footer", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _footer.footer;
|
|
10
|
+
}
|
|
29
11
|
});
|
|
12
|
+
var _footer = require("./components/footer");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ims-template-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
4
4
|
"description": "ims 一些配置",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"config"
|
|
@@ -19,11 +19,13 @@
|
|
|
19
19
|
"**/*.less"
|
|
20
20
|
],
|
|
21
21
|
"main": "lib/index.js",
|
|
22
|
+
"unpkg": "dist/index.js",
|
|
22
23
|
"module": "es/index.js",
|
|
23
|
-
"types": "
|
|
24
|
+
"types": "es/index.d.ts",
|
|
24
25
|
"files": [
|
|
25
26
|
"lib",
|
|
26
|
-
"es"
|
|
27
|
+
"es",
|
|
28
|
+
"dist"
|
|
27
29
|
],
|
|
28
30
|
"scripts": {
|
|
29
31
|
"build": "father build",
|
|
@@ -75,6 +77,7 @@
|
|
|
75
77
|
"@umijs/lint": "^4",
|
|
76
78
|
"@vitest/coverage-v8": "latest",
|
|
77
79
|
"antd": "^5.9.4",
|
|
80
|
+
"babel-plugin-add-module-exports": "^1",
|
|
78
81
|
"babel-plugin-antd-style": "^1.0.4",
|
|
79
82
|
"commitlint": "^17",
|
|
80
83
|
"commitlint-config-gitmoji": "^2",
|