create-repoctl 0.0.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 ice breaker
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,13 @@
1
+ # create-repoctl
2
+
3
+ `create-repoctl` 是 `create-icebreaker` 的 repoctl 品牌入口,方便用户用不同包管理器的 create 语法快速创建项目。
4
+
5
+ ## 使用方式
6
+
7
+ ```sh
8
+ npm create repoctl@latest
9
+ pnpm create repoctl
10
+ yarn create repoctl
11
+ ```
12
+
13
+ 这些命令会进入和 `create-icebreaker` 相同的脚手架流程:选择目标目录、选择保留模板,并在完成后提示 `pnpm setup` / `pnpm new` / `pnpm check` 等 repoctl onboarding 步骤。
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import '../dist/index.mjs'
@@ -0,0 +1 @@
1
+ export { };
package/dist/index.mjs ADDED
@@ -0,0 +1,2 @@
1
+ import "create-icebreaker";
2
+ export {};
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "create-repoctl",
3
+ "type": "module",
4
+ "version": "0.0.0",
5
+ "description": "Bootstrap repoctl monorepo projects via npm create, yarn create, or pnpm create",
6
+ "author": "ice breaker <hi@sonofmagic.top>",
7
+ "license": "MIT",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/sonofmagic/monorepo-template.git",
11
+ "directory": "packages/create-repoctl"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/sonofmagic/monorepo-template/issues"
15
+ },
16
+ "keywords": [
17
+ "repoctl",
18
+ "monorepo",
19
+ "create-app",
20
+ "template",
21
+ "scaffold"
22
+ ],
23
+ "sideEffects": false,
24
+ "bin": {
25
+ "create-repoctl": "bin/create-repoctl.js"
26
+ },
27
+ "files": [
28
+ "bin",
29
+ "dist"
30
+ ],
31
+ "engines": {
32
+ "node": ">=18.0.0"
33
+ },
34
+ "dependencies": {
35
+ "create-icebreaker": "1.0.2"
36
+ },
37
+ "publishConfig": {
38
+ "access": "public"
39
+ },
40
+ "scripts": {
41
+ "dev": "tsdown --watch --sourcemap",
42
+ "build": "tsdown",
43
+ "typecheck": "pnpm --filter create-icebreaker build && node ../../node_modules/typescript/bin/tsc -p tsconfig.json",
44
+ "lint": "eslint .",
45
+ "test": "vitest run --passWithNoTests"
46
+ }
47
+ }