create-esmx 3.0.0-rc.36 → 3.0.0-rc.38
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 +52 -0
- package/README.zh-CN.md +52 -0
- package/package.json +3 -3
- package/template/vue2/README.md +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="https://www.esmnext.com/logo.svg?t=2025" width="120" alt="Esmx Logo" />
|
|
3
|
+
<h1>create-esmx</h1>
|
|
4
|
+
|
|
5
|
+
<div>
|
|
6
|
+
<a href="https://www.npmjs.com/package/create-esmx">
|
|
7
|
+
<img src="https://img.shields.io/npm/v/create-esmx.svg" alt="npm version" />
|
|
8
|
+
</a>
|
|
9
|
+
<a href="https://github.com/esmnext/esmx/actions/workflows/build.yml">
|
|
10
|
+
<img src="https://github.com/esmnext/esmx/actions/workflows/build.yml/badge.svg" alt="Build" />
|
|
11
|
+
</a>
|
|
12
|
+
<a href="https://www.esmnext.com/coverage/">
|
|
13
|
+
<img src="https://img.shields.io/badge/coverage-live%20report-brightgreen" alt="Coverage Report" />
|
|
14
|
+
</a>
|
|
15
|
+
<a href="https://nodejs.org/">
|
|
16
|
+
<img src="https://img.shields.io/node/v/@esmx/core.svg" alt="node version" />
|
|
17
|
+
</a>
|
|
18
|
+
<a href="https://bundlephobia.com/package/create-esmx">
|
|
19
|
+
<img src="https://img.shields.io/bundlephobia/minzip/create-esmx" alt="size" />
|
|
20
|
+
</a>
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
<p>A scaffold tool for creating Esmx projects</p>
|
|
24
|
+
|
|
25
|
+
<p>
|
|
26
|
+
English | <a href="https://github.com/esmnext/esmx/blob/master/packages/create-esmx/README.zh-CN.md">中文</a>
|
|
27
|
+
</p>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
## Features
|
|
31
|
+
|
|
32
|
+
- Interactive command-line interface
|
|
33
|
+
- Support for multiple project templates
|
|
34
|
+
- Complete TypeScript support
|
|
35
|
+
- Automatic project structure configuration
|
|
36
|
+
|
|
37
|
+
## Usage
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
# Using npm
|
|
41
|
+
npm create esmx@latest my-project
|
|
42
|
+
|
|
43
|
+
# Using yarn
|
|
44
|
+
yarn create esmx my-project
|
|
45
|
+
|
|
46
|
+
# Using pnpm
|
|
47
|
+
pnpm create esmx my-project
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## License
|
|
51
|
+
|
|
52
|
+
MIT © Esmx Team
|
package/README.zh-CN.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="https://www.esmnext.com/logo.svg?t=2025" width="120" alt="Esmx Logo" />
|
|
3
|
+
<h1>create-esmx</h1>
|
|
4
|
+
|
|
5
|
+
<div>
|
|
6
|
+
<a href="https://www.npmjs.com/package/create-esmx">
|
|
7
|
+
<img src="https://img.shields.io/npm/v/create-esmx.svg" alt="npm version" />
|
|
8
|
+
</a>
|
|
9
|
+
<a href="https://github.com/esmnext/esmx/actions/workflows/build.yml">
|
|
10
|
+
<img src="https://github.com/esmnext/esmx/actions/workflows/build.yml/badge.svg" alt="Build" />
|
|
11
|
+
</a>
|
|
12
|
+
<a href="https://www.esmnext.com/coverage/">
|
|
13
|
+
<img src="https://img.shields.io/badge/coverage-live%20report-brightgreen" alt="Coverage Report" />
|
|
14
|
+
</a>
|
|
15
|
+
<a href="https://nodejs.org/">
|
|
16
|
+
<img src="https://img.shields.io/node/v/@esmx/core.svg" alt="node version" />
|
|
17
|
+
</a>
|
|
18
|
+
<a href="https://bundlephobia.com/package/create-esmx">
|
|
19
|
+
<img src="https://img.shields.io/bundlephobia/minzip/create-esmx" alt="size" />
|
|
20
|
+
</a>
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
<p>用于创建 Esmx 项目的脚手架工具</p>
|
|
24
|
+
|
|
25
|
+
<p>
|
|
26
|
+
<a href="https://github.com/esmnext/esmx/blob/master/packages/create-esmx/README.md">English</a> | 中文
|
|
27
|
+
</p>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
## 功能特性
|
|
31
|
+
|
|
32
|
+
- 交互式命令行界面
|
|
33
|
+
- 支持多种项目模板
|
|
34
|
+
- 完整的 TypeScript 支持
|
|
35
|
+
- 自动配置项目结构
|
|
36
|
+
|
|
37
|
+
## 安装使用
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
# 使用 npm
|
|
41
|
+
npm create esmx@latest my-project
|
|
42
|
+
|
|
43
|
+
# 使用 yarn
|
|
44
|
+
yarn create esmx my-project
|
|
45
|
+
|
|
46
|
+
# 使用 pnpm
|
|
47
|
+
pnpm create esmx my-project
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## 许可证
|
|
51
|
+
|
|
52
|
+
MIT © Esmx Team
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-esmx",
|
|
3
|
-
"version": "3.0.0-rc.
|
|
3
|
+
"version": "3.0.0-rc.38",
|
|
4
4
|
"description": "A scaffold tool for creating Esmx projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@biomejs/biome": "1.9.4",
|
|
26
|
-
"@esmx/lint": "3.0.0-rc.
|
|
26
|
+
"@esmx/lint": "3.0.0-rc.38",
|
|
27
27
|
"@types/minimist": "^1.2.5",
|
|
28
28
|
"@types/node": "^24.0.0",
|
|
29
29
|
"@vitest/coverage-v8": "3.2.4",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"url": "https://github.com/esmnext/esmx/issues"
|
|
69
69
|
},
|
|
70
70
|
"homepage": "https://github.com/esmnext/esmx#readme",
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "f90b5aae594164a5f62369d4999437ab49993c71"
|
|
72
72
|
}
|
package/template/vue2/README.md
CHANGED
|
@@ -60,7 +60,7 @@ Visit http://localhost:3000 to see the development environment.
|
|
|
60
60
|
│ │ └── hello-world.vue # Example component with counter functionality
|
|
61
61
|
│ ├── create-app.ts # Vue instance creation
|
|
62
62
|
│ ├── entry.client.ts # Client-side entry
|
|
63
|
-
│ ├── entry.node.ts #
|
|
63
|
+
│ ├── entry.node.ts # Node.js environment entry point
|
|
64
64
|
│ └── entry.server.ts # Server-side rendering functions
|
|
65
65
|
├── package.json
|
|
66
66
|
├── tsconfig.json
|