@icebreakers/monorepo-templates 2.0.1 → 2.0.2
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 +2 -2
- package/README.zh-CN.md +2 -2
- package/assets/.github/ISSUE_TEMPLATE/config.yml +1 -1
- package/assets/.github/workflows/release.yml +3 -0
- package/assets/CONTRIBUTING.md +1 -1
- package/assets/SECURITY.md +1 -1
- package/assets/package.json +7 -7
- package/assets/pnpm-workspace.yaml +1 -1
- package/assets/renovate.json +3 -0
- package/package.json +3 -3
- package/templates/cli/package.json +2 -2
- package/templates/client/package.json +6 -6
- package/templates/server/package.json +3 -3
- package/templates/tsdown/package.json +2 -2
- package/templates/vitepress/.vitepress/config.ts +3 -3
- package/templates/vitepress/.vitepress/seo.ts +2 -2
- package/templates/vitepress/ai/index.md +1 -1
- package/templates/vitepress/package.json +3 -3
- package/templates/vitepress/zh/learn/packages/modern/bundlers.md +3 -3
- package/templates/vitepress/zh/learn/packages/modern/index.md +1 -1
- package/templates/vue-lib/package.json +4 -4
package/README.md
CHANGED
|
@@ -26,5 +26,5 @@ The source workspaces under the repository's `templates/` directory are private.
|
|
|
26
26
|
## Project links
|
|
27
27
|
|
|
28
28
|
- Documentation: https://repoctl.icebreaker.top
|
|
29
|
-
- Repository: https://github.com/
|
|
30
|
-
- Issues: https://github.com/
|
|
29
|
+
- Repository: https://github.com/icelib/repoctl/tree/main/packages/monorepo-templates
|
|
30
|
+
- Issues: https://github.com/icelib/repoctl/issues
|
package/README.zh-CN.md
CHANGED
|
@@ -18,5 +18,5 @@ const vitepress = getTemplateDefinition('vitepress')
|
|
|
18
18
|
## 项目链接
|
|
19
19
|
|
|
20
20
|
- 文档:https://repoctl.icebreaker.top
|
|
21
|
-
- 仓库:https://github.com/
|
|
22
|
-
- 问题反馈:https://github.com/
|
|
21
|
+
- 仓库:https://github.com/icelib/repoctl/tree/main/packages/monorepo-templates
|
|
22
|
+
- 问题反馈:https://github.com/icelib/repoctl/issues
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
blank_issues_enabled: false
|
|
2
2
|
contact_links:
|
|
3
3
|
- name: Feature Request
|
|
4
|
-
url: https://github.com/
|
|
4
|
+
url: https://github.com/icelib/repoctl/discussions
|
|
5
5
|
about: Suggest new features for consideration
|
|
6
6
|
# - name: Discord Chat
|
|
7
7
|
# url: https://chat.vuejs.org
|
|
@@ -69,6 +69,9 @@ jobs:
|
|
|
69
69
|
cache: pnpm
|
|
70
70
|
registry-url: https://registry.npmjs.org
|
|
71
71
|
|
|
72
|
+
- name: Install npm with trusted publishing support
|
|
73
|
+
run: npm install --global npm@11.16.0 --registry=https://registry.npmjs.org
|
|
74
|
+
|
|
72
75
|
- name: Install Dependencies
|
|
73
76
|
run: pnpm install --frozen-lockfile
|
|
74
77
|
|
package/assets/CONTRIBUTING.md
CHANGED
|
@@ -31,4 +31,4 @@ The repository includes repoctl's CLI and monorepo engine, template assets, shar
|
|
|
31
31
|
|
|
32
32
|
When changing templates or managed root assets, update their source first and refresh packaged copies with `pnpm --filter @icebreakers/monorepo-templates sync:assets`.
|
|
33
33
|
|
|
34
|
-
Report bugs at https://github.com/
|
|
34
|
+
Report bugs at https://github.com/icelib/repoctl/issues and use discussions for design questions that do not yet have a concrete implementation.
|
package/assets/SECURITY.md
CHANGED
|
@@ -10,7 +10,7 @@ Security fixes are provided for the latest stable major release of `repoctl` and
|
|
|
10
10
|
|
|
11
11
|
Do not open a public issue for a suspected vulnerability. Use GitHub's private vulnerability reporting for `sonofmagic/repoctl`:
|
|
12
12
|
|
|
13
|
-
https://github.com/
|
|
13
|
+
https://github.com/icelib/repoctl/security/advisories/new
|
|
14
14
|
|
|
15
15
|
Include the affected version, environment, impact, reproduction steps, and any suggested mitigation. Maintainers will acknowledge a complete report as soon as practical and coordinate validation, remediation, and disclosure with the reporter.
|
|
16
16
|
|
package/assets/package.json
CHANGED
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
"type": "module",
|
|
4
4
|
"version": "0.0.0",
|
|
5
5
|
"private": true,
|
|
6
|
-
"packageManager": "pnpm@12.
|
|
6
|
+
"packageManager": "pnpm@12.5.1",
|
|
7
7
|
"description": "Source workspace for repoctl and Icebreaker's shared development packages",
|
|
8
8
|
"author": "ice breaker <hi@sonofmagic.top>",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"homepage": "https://repoctl.icebreaker.top",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/
|
|
13
|
+
"url": "git+https://github.com/icelib/repoctl.git"
|
|
14
14
|
},
|
|
15
15
|
"bugs": {
|
|
16
|
-
"url": "https://github.com/
|
|
16
|
+
"url": "https://github.com/icelib/repoctl/issues"
|
|
17
17
|
},
|
|
18
18
|
"keywords": [
|
|
19
19
|
"repoctl",
|
|
@@ -71,15 +71,15 @@
|
|
|
71
71
|
"--------": "----------------"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@commitlint/cli": "^21.2.
|
|
74
|
+
"@commitlint/cli": "^21.2.3",
|
|
75
75
|
"@eslint/config-inspector": "^3.5.0",
|
|
76
76
|
"@icebreakers/commitlint-config": "workspace:*",
|
|
77
77
|
"@icebreakers/eslint-config": "workspace:*",
|
|
78
78
|
"@icebreakers/monorepo": "workspace:*",
|
|
79
79
|
"@icebreakers/stylelint-config": "workspace:*",
|
|
80
|
-
"@types/node": "^26.6.
|
|
80
|
+
"@types/node": "^26.6.2",
|
|
81
81
|
"@vitest/coverage-v8": "~5.0.1",
|
|
82
|
-
"eslint": "^10.
|
|
82
|
+
"eslint": "^10.11.0",
|
|
83
83
|
"execa": "^10.0.1",
|
|
84
84
|
"husky": "^9.1.7",
|
|
85
85
|
"lint-staged": "^17.5.1",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"tailwindcss": "^4.3.3",
|
|
90
90
|
"tsd": "^0.33.0",
|
|
91
91
|
"tsdown": "0.23.0",
|
|
92
|
-
"turbo": "^2.
|
|
92
|
+
"turbo": "^2.11.3",
|
|
93
93
|
"typescript": "^6.0.3",
|
|
94
94
|
"vitest": "~5.0.1",
|
|
95
95
|
"yaml": "^2.9.1"
|
package/assets/renovate.json
CHANGED
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icebreakers/monorepo-templates",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.2",
|
|
5
5
|
"description": "Built-in project templates and managed workspace assets for repoctl",
|
|
6
6
|
"author": "ice breaker <hi@sonofmagic.top>",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"homepage": "https://repoctl.icebreaker.top",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/
|
|
11
|
+
"url": "git+https://github.com/icelib/repoctl.git",
|
|
12
12
|
"directory": "packages/monorepo-templates"
|
|
13
13
|
},
|
|
14
14
|
"bugs": {
|
|
15
|
-
"url": "https://github.com/
|
|
15
|
+
"url": "https://github.com/icelib/repoctl/issues"
|
|
16
16
|
},
|
|
17
17
|
"keywords": [
|
|
18
18
|
"repoctl",
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
"homepage": "https://repoctl.icebreaker.top",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/
|
|
12
|
+
"url": "git+https://github.com/icelib/repoctl.git",
|
|
13
13
|
"directory": "templates/cli"
|
|
14
14
|
},
|
|
15
15
|
"bugs": {
|
|
16
|
-
"url": "https://github.com/
|
|
16
|
+
"url": "https://github.com/icelib/repoctl/issues"
|
|
17
17
|
},
|
|
18
18
|
"keywords": [
|
|
19
19
|
"repoctl",
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
"homepage": "https://repoctl.icebreaker.top",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/
|
|
12
|
+
"url": "git+https://github.com/icelib/repoctl.git",
|
|
13
13
|
"directory": "templates/client"
|
|
14
14
|
},
|
|
15
15
|
"bugs": {
|
|
16
|
-
"url": "https://github.com/
|
|
16
|
+
"url": "https://github.com/icelib/repoctl/issues"
|
|
17
17
|
},
|
|
18
18
|
"keywords": [
|
|
19
19
|
"repoctl",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@faker-js/faker": "^10.6.0",
|
|
40
|
-
"@tanstack/vue-query": "^5.103.
|
|
41
|
-
"@tanstack/vue-query-devtools": "^6.2.
|
|
40
|
+
"@tanstack/vue-query": "^5.103.2",
|
|
41
|
+
"@tanstack/vue-query-devtools": "^6.2.4",
|
|
42
42
|
"@tanstack/vue-table": "^9.2.4",
|
|
43
43
|
"@tanstack/vue-virtual": "^3.13.39",
|
|
44
44
|
"@trpc/client": "^11.19.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"vue-router": "^5.3.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@cloudflare/vite-plugin": "^1.
|
|
54
|
+
"@cloudflare/vite-plugin": "^1.56.0",
|
|
55
55
|
"@hono/node-server": "^2.1.1",
|
|
56
56
|
"@hono/trpc-server": "^0.4.2",
|
|
57
57
|
"@tailwindcss/vite": "^4.3.3",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"vite-plugin-vue-devtools": "^8.2.1",
|
|
68
68
|
"vite-tsconfig-paths": "^6.1.1",
|
|
69
69
|
"vue-tsc": "3.3.11",
|
|
70
|
-
"wrangler": "^4.
|
|
70
|
+
"wrangler": "^4.135.0",
|
|
71
71
|
"zod": "^4.6.5"
|
|
72
72
|
}
|
|
73
73
|
}
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
"homepage": "https://repoctl.icebreaker.top",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/
|
|
12
|
+
"url": "git+https://github.com/icelib/repoctl.git",
|
|
13
13
|
"directory": "templates/server"
|
|
14
14
|
},
|
|
15
15
|
"bugs": {
|
|
16
|
-
"url": "https://github.com/
|
|
16
|
+
"url": "https://github.com/icelib/repoctl/issues"
|
|
17
17
|
},
|
|
18
18
|
"keywords": [
|
|
19
19
|
"repoctl",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"consola": "^3.4.2",
|
|
69
69
|
"hono": "^4.13.8",
|
|
70
70
|
"tsdown": "0.23.0",
|
|
71
|
-
"wrangler": "^4.
|
|
71
|
+
"wrangler": "^4.135.0",
|
|
72
72
|
"zod": "^4.6.5"
|
|
73
73
|
}
|
|
74
74
|
}
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
"homepage": "https://repoctl.icebreaker.top",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/
|
|
12
|
+
"url": "git+https://github.com/icelib/repoctl.git",
|
|
13
13
|
"directory": "templates/tsdown"
|
|
14
14
|
},
|
|
15
15
|
"bugs": {
|
|
16
|
-
"url": "https://github.com/
|
|
16
|
+
"url": "https://github.com/icelib/repoctl/issues"
|
|
17
17
|
},
|
|
18
18
|
"keywords": [
|
|
19
19
|
"repoctl",
|
|
@@ -28,7 +28,7 @@ export default withMermaid(defineConfig({
|
|
|
28
28
|
alt: 'repoctl',
|
|
29
29
|
},
|
|
30
30
|
search: { provider: 'local' },
|
|
31
|
-
socialLinks: [{ icon: 'github', link: 'https://github.com/
|
|
31
|
+
socialLinks: [{ icon: 'github', link: 'https://github.com/icelib/repoctl' }],
|
|
32
32
|
},
|
|
33
33
|
locales: {
|
|
34
34
|
root: {
|
|
@@ -41,7 +41,7 @@ export default withMermaid(defineConfig({
|
|
|
41
41
|
outline: { label: 'On This Page', level: [2, 3] },
|
|
42
42
|
sidebar: createSidebars('en'),
|
|
43
43
|
editLink: {
|
|
44
|
-
pattern: 'https://github.com/
|
|
44
|
+
pattern: 'https://github.com/icelib/repoctl/edit/main/templates/vitepress/:path',
|
|
45
45
|
text: 'Edit this page',
|
|
46
46
|
},
|
|
47
47
|
docFooter: { prev: 'Previous page', next: 'Next page' },
|
|
@@ -59,7 +59,7 @@ export default withMermaid(defineConfig({
|
|
|
59
59
|
outline: { label: '目录', level: [2, 3] },
|
|
60
60
|
sidebar: createSidebars('zh'),
|
|
61
61
|
editLink: {
|
|
62
|
-
pattern: 'https://github.com/
|
|
62
|
+
pattern: 'https://github.com/icelib/repoctl/edit/main/templates/vitepress/:path',
|
|
63
63
|
text: '为此页提供修改建议',
|
|
64
64
|
},
|
|
65
65
|
docFooter: { prev: '上一页', next: '下一页' },
|
|
@@ -32,8 +32,8 @@ export function createPageHead({ page, title, description }: TransformContext):
|
|
|
32
32
|
const jsonLd = {
|
|
33
33
|
'@context': 'https://schema.org',
|
|
34
34
|
'@graph': [
|
|
35
|
-
{ '@type': 'Organization', 'name': 'repoctl', 'url': siteOrigin, 'logo': `${siteOrigin}/brand/repoctl-mark.svg`, 'sameAs': ['https://github.com/
|
|
36
|
-
{ '@type': 'SoftwareApplication', 'name': 'repoctl', 'applicationCategory': 'DeveloperApplication', 'operatingSystem': 'macOS, Linux, Windows', 'url': siteOrigin, description, 'sameAs': ['https://github.com/
|
|
35
|
+
{ '@type': 'Organization', 'name': 'repoctl', 'url': siteOrigin, 'logo': `${siteOrigin}/brand/repoctl-mark.svg`, 'sameAs': ['https://github.com/icelib/repoctl', 'https://www.npmjs.com/package/repoctl'] },
|
|
36
|
+
{ '@type': 'SoftwareApplication', 'name': 'repoctl', 'applicationCategory': 'DeveloperApplication', 'operatingSystem': 'macOS, Linux, Windows', 'url': siteOrigin, description, 'sameAs': ['https://github.com/icelib/repoctl', 'https://www.npmjs.com/package/repoctl'], 'offers': { '@type': 'Offer', 'price': '0', 'priceCurrency': 'USD' } },
|
|
37
37
|
{ '@type': 'WebSite', 'name': 'repoctl', 'url': siteOrigin, 'potentialAction': { '@type': 'SearchAction', 'target': `${siteOrigin}/reference/commands?q={search_term_string}`, 'query-input': 'required name=search_term_string' } },
|
|
38
38
|
],
|
|
39
39
|
}
|
|
@@ -10,7 +10,7 @@ outline: deep
|
|
|
10
10
|
| ------------- | ---------------------------------------------------- |
|
|
11
11
|
| Product | repoctl, task-first CLI for monorepos |
|
|
12
12
|
| Official site | https://repoctl.icebreaker.top |
|
|
13
|
-
| Source | https://github.com/
|
|
13
|
+
| Source | https://github.com/icelib/repoctl |
|
|
14
14
|
| npm package | `repoctl` — https://www.npmjs.com/package/repoctl |
|
|
15
15
|
| Install | `pnpm add -D repoctl` |
|
|
16
16
|
| Core commands | `repo init`, `repo doctor`, `repo new`, `repo check` |
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
"homepage": "https://repoctl.icebreaker.top",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/
|
|
12
|
+
"url": "git+https://github.com/icelib/repoctl.git",
|
|
13
13
|
"directory": "templates/vitepress"
|
|
14
14
|
},
|
|
15
15
|
"bugs": {
|
|
16
|
-
"url": "https://github.com/
|
|
16
|
+
"url": "https://github.com/icelib/repoctl/issues"
|
|
17
17
|
},
|
|
18
18
|
"keywords": [
|
|
19
19
|
"repoctl",
|
|
@@ -52,6 +52,6 @@
|
|
|
52
52
|
"vitepress-plugin-llms": "^1.14.0",
|
|
53
53
|
"vitepress-plugin-mermaid": "^2.0.17",
|
|
54
54
|
"vue-tsc": "^3.3.11",
|
|
55
|
-
"wrangler": "^4.
|
|
55
|
+
"wrangler": "^4.135.0"
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
## tsdown
|
|
27
27
|
|
|
28
|
-
repoctl 当前的通用类库模板是 [tsdown](https://github.com/
|
|
28
|
+
repoctl 当前的通用类库模板是 [tsdown](https://github.com/icelib/repoctl/tree/main/templates/tsdown)
|
|
29
29
|
|
|
30
30
|
:::code-group
|
|
31
31
|
|
|
@@ -45,8 +45,8 @@ export default defineConfig({
|
|
|
45
45
|
|
|
46
46
|
## vite
|
|
47
47
|
|
|
48
|
-
repoctl 的内置模板之一 [vue-lib](https://github.com/
|
|
48
|
+
repoctl 的内置模板之一 [vue-lib](https://github.com/icelib/repoctl/tree/main/templates/vue-lib)
|
|
49
49
|
|
|
50
50
|
你可以在 [`vite` 库模式官方文档](https://vite.dev/guide/build.html#library-mode) 来查看打包 `vue` 组件的方式
|
|
51
51
|
|
|
52
|
-
这些能力已经配置在 [vue-lib](https://github.com/
|
|
52
|
+
这些能力已经配置在 [vue-lib](https://github.com/icelib/repoctl/tree/main/templates/vue-lib) 中
|
|
@@ -14,7 +14,7 @@ outline: [2, 4]
|
|
|
14
14
|
|
|
15
15
|
为此我们需要提升包的质量,具体的手段如下
|
|
16
16
|
|
|
17
|
-
此代码的演变用例见 [examples](https://github.com/
|
|
17
|
+
此代码的演变用例见 [examples](https://github.com/icelib/repoctl/tree/main/templates/vitepress/learn/packages/examples)
|
|
18
18
|
|
|
19
19
|
## 确定包的模块入口点
|
|
20
20
|
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
"homepage": "https://repoctl.icebreaker.top",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/
|
|
12
|
+
"url": "git+https://github.com/icelib/repoctl.git",
|
|
13
13
|
"directory": "templates/vue-lib"
|
|
14
14
|
},
|
|
15
15
|
"bugs": {
|
|
16
|
-
"url": "https://github.com/
|
|
16
|
+
"url": "https://github.com/icelib/repoctl/issues"
|
|
17
17
|
},
|
|
18
18
|
"keywords": [
|
|
19
19
|
"repoctl",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"@vitejs/plugin-vue": "^6.0.9",
|
|
63
63
|
"@vue/test-utils": "^2.5.1",
|
|
64
64
|
"@vue/tsconfig": "^0.9.1",
|
|
65
|
-
"jsdom": "^30.1.
|
|
65
|
+
"jsdom": "^30.1.1",
|
|
66
66
|
"vite": "^8.3.0",
|
|
67
|
-
"vite-plugin-dts": "^5.1.
|
|
67
|
+
"vite-plugin-dts": "^5.1.1",
|
|
68
68
|
"vue": "^3.5.43",
|
|
69
69
|
"vue-tsc": "^3.3.11"
|
|
70
70
|
}
|