Skip to content

Commit 5711970

Browse files
author
kaiyu.kong
committed
feat: enode
1 parent dcb1fb5 commit 5711970

File tree

11 files changed

+34
-34
lines changed

11 files changed

+34
-34
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
## Getting Started
22

33
```bash
4-
npx -p @ecode/create-project create-project
4+
npx -p @enode/create-project create-project
55
```
66

77
## 下载自定义模版
88

99
```bash
10-
npx -p @ecode/create-project create-project download [模板名称]
10+
npx -p @enode/create-project create-project download [模板名称]
1111
```
1212

1313
## 将项目转换为模版
1414

1515
先进入项目目录,再执行以下命令:
1616

1717
```bash
18-
npx -p @ecode/create-project create-project transform [模板名]
18+
npx -p @enode/create-project create-project transform [模板名]
1919

2020
```
2121

2222
模版存放目录(可选):
2323

2424
```bash
25-
npx -p @ecode/create-project create-project transform [模板名] <模版存放目录>
25+
npx -p @enode/create-project create-project transform [模板名] <模版存放目录>
2626
```
2727

2828
[文档](https://yicoding.github.io/create-project)

docs/download.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ nav:
1414
下载模版:
1515

1616
```bash
17-
npx -p @ecode/create-project create-project download [模板名称]
17+
npx -p @enode/create-project create-project download [模板名称]
1818
```
1919

2020
`or`
2121

2222
支持输入项目名称:
2323

2424
```bash
25-
npx -p @ecode/create-project create-project download [模板名称] [项目名称]
25+
npx -p @enode/create-project create-project download [模板名称] [项目名称]
2626
```
2727

2828
支持下载模版后替换内容:
2929

3030
```bash
31-
npx -p @ecode/create-project create-project download [模板名称] -r [旧内容] [新内容]
31+
npx -p @enode/create-project create-project download [模板名称] -r [旧内容] [新内容]
3232
```
3333

3434
## 要求的模版目录文件

docs/guide/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ v18.13.0
2828
```bash
2929
# 进入需要创建项目的目录
3030
# 脚手架创建项目,选择你需要的模板
31-
$ npx -p @ecode/create-project create-project
31+
$ npx -p @enode/create-project create-project
3232

3333
# 输入项目名称
3434
$ ? 请输入项目英文名称(小写字母或数字、中划线连接): vite-mobile

docs/publish.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ nav:
1818
`先进入项目目录,再执行以下命令:`
1919

2020
```bash
21-
npx -p @ecode/create-project create-project publish
21+
npx -p @enode/create-project create-project publish
2222
```
2323

2424
执行命令后会自动将模版发布到npm 中

packages/create-project/CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6-
## [0.3.1](https://gitlab.xxx.com/react-library/cli/create-project/compare/@ecode/[email protected]...@ecode/[email protected]) (2025-04-09)
6+
## [0.3.1](https://gitlab.xxx.com/react-library/cli/create-project/compare/@enode/[email protected]...@enode/[email protected]) (2025-04-09)
77

8-
**Note:** Version bump only for package @ecode/create-project
8+
**Note:** Version bump only for package @enode/create-project
99

10-
# [0.3.0](https://gitlab.xxx.com/react-library/cli/create-project/compare/@ecode/[email protected]...@ecode/[email protected]) (2025-04-09)
10+
# [0.3.0](https://gitlab.xxx.com/react-library/cli/create-project/compare/@enode/[email protected]...@enode/[email protected]) (2025-04-09)
1111

1212
### Features
1313

1414
- 发布权限 ([8fea420](https://gitlab.xxx.com/react-library/cli/create-project/commit/8fea420d78b3ca29cd364d352e3a584e32f91f04))
1515

16-
# [0.2.0](https://gitlab.xxx.com/react-library/cli/create-project/compare/@ecode/[email protected]...@ecode/[email protected]) (2025-04-09)
16+
# [0.2.0](https://gitlab.xxx.com/react-library/cli/create-project/compare/@enode/[email protected]...@enode/[email protected]) (2025-04-09)
1717

1818
### Features
1919

packages/create-project/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
## Getting Started
22

33
```bash
4-
npx -p @ecode/create-project create-project
4+
npx -p @enode/create-project create-project
55
```
66

77
## 下载自定义模版
88

99
```bash
10-
npx -p @ecode/create-project create-project download [模板名称]
10+
npx -p @enode/create-project create-project download [模板名称]
1111
```
1212

1313
## 将项目转换为模版
1414

1515
先进入项目目录,再执行以下命令:
1616

1717
```bash
18-
npx -p @ecode/create-project create-project transform [模板名]
18+
npx -p @enode/create-project create-project transform [模板名]
1919

2020
```
2121

2222
模版存放目录(可选):
2323

2424
```bash
25-
npx -p @ecode/create-project create-project transform [模板名] <模版存放目录>
25+
npx -p @enode/create-project create-project transform [模板名] <模版存放目录>
2626
```
2727

2828
[文档](https://yicoding.github.io/create-project)

packages/create-project/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@ecode/create-project",
3-
"version": "0.3.1",
2+
"name": "@enode/create-project",
3+
"version": "0.0.0",
44
"description": "用于快速创建项目的脚手架",
55
"bin": {
66
"create-project": "bin/index.js"
@@ -37,5 +37,5 @@
3737
"replace-in-file": "^6.3.5",
3838
"standard-version": "^9.5.0"
3939
},
40-
"gitHead": "25f92a15242397e4f91112f9583e9336a63a4505"
41-
}
40+
"gitHead": "dcb1fb554a84bfb427ba6288fc37e7684d4f01b1"
41+
}

packages/create-project/utils/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const REGISTRY_NPM = 'https://registry.npmjs.org';
66

77
const extraDir = ['node_modules', 'build', 'dist', '.git', 'dist-publish', 'es', 'lib'];
88

9-
const templateName = '@ecode/react-template';
9+
const templateName = '@enode/react-template';
1010

1111
module.exports = {
1212
regProject,

packages/react-template/CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6-
## [0.3.1](https://gitlab.xxx.com/react-library/cli/create-project/compare/@ecode/[email protected]...@ecode/[email protected]) (2025-04-09)
6+
## [0.3.1](https://gitlab.xxx.com/react-library/cli/create-project/compare/@enode/[email protected]...@enode/[email protected]) (2025-04-09)
77

8-
**Note:** Version bump only for package @ecode/react-template
8+
**Note:** Version bump only for package @enode/react-template
99

10-
# [0.3.0](https://gitlab.xxx.com/react-library/cli/create-project/compare/@ecode/[email protected]...@ecode/[email protected]) (2025-04-09)
10+
# [0.3.0](https://gitlab.xxx.com/react-library/cli/create-project/compare/@enode/[email protected]...@enode/[email protected]) (2025-04-09)
1111

1212
### Features
1313

1414
- 发布权限 ([8fea420](https://gitlab.xxx.com/react-library/cli/create-project/commit/8fea420d78b3ca29cd364d352e3a584e32f91f04))
1515

16-
# [0.2.0](https://gitlab.xxx.com/react-library/cli/create-project/compare/@ecode/[email protected]...@ecode/[email protected]) (2025-04-09)
16+
# [0.2.0](https://gitlab.xxx.com/react-library/cli/create-project/compare/@enode/[email protected]...@enode/[email protected]) (2025-04-09)
1717

1818
### Features
1919

packages/react-template/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
## Getting Started
22

33
```bash
4-
npx -p @ecode/create-project create-project
4+
npx -p @enode/create-project create-project
55
```
66

77
## 下载自定义模版
88

99
```bash
10-
npx -p @ecode/create-project create-project download [模板名称]
10+
npx -p @enode/create-project create-project download [模板名称]
1111
```
1212

1313
## 将项目转换为模版
1414

1515
先进入项目目录,再执行以下命令:
1616

1717
```bash
18-
npx -p @ecode/create-project create-project transform [模板名]
18+
npx -p @enode/create-project create-project transform [模板名]
1919

2020
```
2121

2222
模版存放目录(可选):
2323

2424
```bash
25-
npx -p @ecode/create-project create-project transform [模板名] <模版存放目录>
25+
npx -p @enode/create-project create-project transform [模板名] <模版存放目录>
2626
```
2727

2828
[文档](https://yicoding.github.io/create-project)

0 commit comments

Comments
 (0)