ims-template-config 1.13.0 → 1.15.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/README.md CHANGED
@@ -20,8 +20,6 @@ node 版本 v18.13.0
20
20
 
21
21
  [![ docs by dumi][dumi-url]](https://d.umijs.org/) [![Build With father][father-url]](https://github.com/umijs/father/)
22
22
 
23
- ![](https://github.com/othneildrew/Best-README-Template/raw/master/images/screenshot.png)
24
-
25
23
  <!-- gitpod url -->
26
24
 
27
25
  [gitpod-badge]: https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod
@@ -57,12 +55,7 @@ node 版本 v18.13.0
57
55
 
58
56
  ## 简介
59
57
 
60
- 这是一个 npm 项目的模板配置管理中心
61
-
62
- - 🏗️ **基于 father4 的构建工具**:本项目采用了基于 father4 的构建工具,可以更高效地构建项目,提高开发效率;
63
- - 📖 **基于 dumi2 的文档工具**:本项目采用了基于 dumi2 的文档工具,可以更方便地编写和管理文档,提高文档的可读性和可维护性;
64
- - 🚀 **基于 vercel 自动化触发文档站构建**:本项目使用 vercel 自动化触发文档站构建,可以更快地更新文档站,提高用户的使用体验;
65
- - 📦 **基于 semantic-release 实现 npm 包的自动化发布**:本项目使用 semantic-release 实现 npm 包的自动化发布,可以更方便地管理和发布 npm 包,提高开发效率。
58
+ 这是一个 ims 项目相关配置及脚本的管理中心
66
59
 
67
60
  ## 快速上手
68
61
 
@@ -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;;;;;;;;;;;;;;;;;;;IAkGlB,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,75 +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/".concat(repo)
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
- }, {
37
- title: '帮助',
38
- items: [{
39
- title: 'GitHub',
40
- url: 'https://github.com/eternallycyf/ims-view-pc',
41
- openExternal: true
42
- }, {
43
- title: '更新日志',
44
- url: '/changelog/ims-view-pc'
45
- }, {
46
- title: '讨论',
47
- url: 'https://github.com/eternallycyf/ims-view-pc/issues',
48
- openExternal: true
49
- }]
50
- }, {
51
- title: '模板及配置',
52
- items: [{
53
- title: 'ims-monorepo-template',
54
- description: 'monorepo模板',
55
- url: 'https://github.com/eternallycyf/ims-monorepo-template',
56
- openExternal: true
57
- }, {
58
- title: 'ims-template',
59
- description: 'npm模板',
60
- url: 'https://github.com/eternallycyf/ims-template',
61
- openExternal: true
62
- }, {
63
- title: 'ims-template-config',
64
- description: '配置',
65
- url: 'https://github.com/eternallycyf/ims-template-config',
66
- openExternal: true
67
- }]
68
- }, {
69
- title: '更多',
70
- items: [{
71
- title: 'lrxc-cli',
72
- url: 'https://github.com/eternallycyf/lrxc-cli',
73
- openExternal: true
74
- }]
75
- }];
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;;;;;;;;;;;;;;;;;;;IAkGlB,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: [
@@ -65,6 +65,11 @@ var footer = [
65
65
  title: "@ims-view/editor",
66
66
  url: "https://ims-editor.vercel.app/",
67
67
  openExternal: true
68
+ },
69
+ {
70
+ title: "ims-react-directive",
71
+ url: "https://github.com/eternallycyf/ims-react-directive",
72
+ openExternal: true
68
73
  }
69
74
  ]
70
75
  },
@@ -73,16 +78,16 @@ var footer = [
73
78
  items: [
74
79
  {
75
80
  title: "GitHub",
76
- url: "https://github.com/eternallycyf/ims-view-pc",
81
+ url: `https://github.com/eternallycyf/${repo}`,
77
82
  openExternal: true
78
83
  },
79
84
  {
80
85
  title: "更新日志",
81
- url: "/changelog/ims-view-pc"
86
+ url: `/changelog/${repo}`
82
87
  },
83
88
  {
84
89
  title: "讨论",
85
- url: "https://github.com/eternallycyf/ims-view-pc/issues",
90
+ url: `https://github.com/eternallycyf/${repo}/issues`,
86
91
  openExternal: true
87
92
  }
88
93
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ims-template-config",
3
- "version": "1.13.0",
3
+ "version": "1.15.0",
4
4
  "description": "ims 一些配置",
5
5
  "keywords": [
6
6
  "config"