ims-template-config 1.19.0 → 1.21.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.
@@ -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}()}));
@@ -1,159 +1,109 @@
1
- var __defProp = Object.defineProperty;
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
- // src/components/footer/index.tsx
20
- var footer_exports = {};
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
- },
71
- {
72
- title: "帮助",
73
- items: [
74
- {
75
- title: "GitHub",
76
- url: `https://github.com/eternallycyf/${repo}`,
77
- openExternal: true
78
- },
79
- {
80
- title: "更新日志",
81
- url: `/changelog`
82
- },
83
- {
84
- title: "讨论",
85
- url: `https://github.com/eternallycyf/${repo}/issues`,
86
- openExternal: true
87
- }
88
- ]
89
- },
90
- {
91
- title: "模板及配置",
92
- items: [
93
- {
94
- title: "ims-template",
95
- description: "npm模板",
96
- url: "https://github.com/eternallycyf/ims-template",
97
- openExternal: true
98
- },
99
- {
100
- title: "ims-monorepo-template",
101
- description: "monorepo模板",
102
- url: "https://github.com/eternallycyf/ims-monorepo-template",
103
- openExternal: true
104
- },
105
- {
106
- title: "ims-template-config",
107
- description: "配置",
108
- url: "https://github.com/eternallycyf/ims-template-config",
109
- openExternal: true
110
- },
111
- {
112
- title: "eslint-config",
113
- description: "eslint配置",
114
- url: "https://github.com/eternallycyf/eslint-config",
115
- openExternal: true
116
- },
117
- {
118
- title: "prettier-config",
119
- description: "prettier配置",
120
- url: "https://github.com/eternallycyf/prettier-config",
121
- openExternal: true
122
- }
123
- ]
124
- },
125
- {
126
- title: "更多",
127
- items: [
128
- {
129
- title: "mini-react",
130
- url: "https://www.npmjs.com/package/@ims-view/mini-react",
131
- openExternal: true
132
- },
133
- {
134
- title: "ims-zustand",
135
- url: "https://www.npmjs.com/package/ims-zustand",
136
- openExternal: true
137
- },
138
- {
139
- title: "lrxc-cli",
140
- url: "https://github.com/eternallycyf/lrxc-cli",
141
- openExternal: true
142
- },
143
- {
144
- title: "ims-keep-alive",
145
- url: "https://ims-keep-alive.vercel.app/",
146
- openExternal: true
147
- },
148
- {
149
- title: "ims-react-directive",
150
- url: "https://github.com/eternallycyf/ims-react-directive",
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
- var __defProp = Object.defineProperty;
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
- // src/index.tsx
20
- var src_exports = {};
21
- __export(src_exports, {
22
- footer: () => import_footer.footer
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
23
5
  });
24
- module.exports = __toCommonJS(src_exports);
25
- var import_footer = require("./components/footer");
26
- // Annotate the CommonJS export names for ESM import in node:
27
- 0 && (module.exports = {
28
- footer
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.19.0",
3
+ "version": "1.21.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": "lib/index.d.ts",
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",
@@ -82,7 +85,7 @@
82
85
  "conventional-changelog-gitmoji-config": "^1",
83
86
  "cross-env": "^7",
84
87
  "dumi": "^2",
85
- "dumi-theme-antd-style": "^0.29.5",
88
+ "dumi-theme-antd-style": "latest",
86
89
  "eslint": "^8",
87
90
  "father": "^4",
88
91
  "husky": "^8",