create-tengits-app 1.0.1 → 1.0.3

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/bin/cli.js CHANGED
@@ -119,13 +119,6 @@ const createProject = async () => {
119
119
 
120
120
  fs.writeJsonSync(packageJsonPath, packageJson, { spaces: 2 });
121
121
 
122
- // 更新子包的 package.json
123
- const mainPackageJsonPath = path.join(targetDir, 'packages/main/package.json');
124
- if (fs.existsSync(mainPackageJsonPath)) {
125
- const mainPackageJson = fs.readJsonSync(mainPackageJsonPath);
126
- mainPackageJson.name = `${projectName}-app`;
127
- fs.writeJsonSync(mainPackageJsonPath, mainPackageJson, { spaces: 2 });
128
- }
129
122
 
130
123
  console.log('📦 正在安装依赖...');
131
124
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-tengits-app",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "🚀 快速创建基于 React + Rsbuild + TypeScript + Tailwind CSS + Antd 的现代前端项目脚手架",
5
5
  "author": "",
6
6
  "license": "MIT",
@@ -48,7 +48,10 @@
48
48
  "fs-extra": "^11.2.0",
49
49
  "i18next": "^25.0.2",
50
50
  "i18next-http-backend": "^3.0.2",
51
- "react-i18next": "^15.5.1"
51
+ "react-i18next": "^15.5.1",
52
+ "@tailwindcss/forms": "0.5.7",
53
+ "@tailwindcss/typography": "0.5.13",
54
+ "tailwindcss-animate": "1.0.7"
52
55
  },
53
56
  "devDependencies": {
54
57
  "@types/fs-extra": "^11.0.4"
@@ -1,34 +1,34 @@
1
1
  {
2
2
  "allFiles": [
3
- "/static/js/lib-react.js",
4
- "/static/js/vendors-node_modules_pnpm_rspack_core_1_4_8__swc_helpers_0_5_17_node_modules_rspack_core_dist-6d1c2b.js",
5
3
  "/static/js/async/node_modules_pnpm_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-ponyfill_js_lazy-co-6570d5.js",
6
4
  "/static/css/index.css",
7
5
  "/static/js/index.js",
6
+ "/static/js/lib-react.js",
7
+ "/static/js/vendors-node_modules_pnpm_rspack_core_1_4_8__swc_helpers_0_5_17_node_modules_rspack_core_dist-6d1c2b.js",
8
8
  "/index.html",
9
- "/static/js/lib-react.js.map",
10
- "/static/js/vendors-node_modules_pnpm_rspack_core_1_4_8__swc_helpers_0_5_17_node_modules_rspack_core_dist-6d1c2b.js.map",
11
9
  "/static/js/async/node_modules_pnpm_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-ponyfill_js_lazy-co-6570d5.js.map",
10
+ "/index.a77ae4993f7bf23d.hot-update.js.map",
12
11
  "/static/js/index.js.map",
13
- "/index.01f460e0ba2807e4.hot-update.js.map"
12
+ "/static/js/lib-react.js.map",
13
+ "/static/js/vendors-node_modules_pnpm_rspack_core_1_4_8__swc_helpers_0_5_17_node_modules_rspack_core_dist-6d1c2b.js.map"
14
14
  ],
15
15
  "entries": {
16
16
  "index": {
17
17
  "assets": [
18
- "static/js/index.js.map",
19
- "index.01f460e0ba2807e4.hot-update.js.map",
20
- "static/js/async/node_modules_pnpm_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-ponyfill_js_lazy-co-6570d5.js.map",
21
18
  "static/js/vendors-node_modules_pnpm_rspack_core_1_4_8__swc_helpers_0_5_17_node_modules_rspack_core_dist-6d1c2b.js.map",
22
- "static/js/lib-react.js.map"
19
+ "static/js/lib-react.js.map",
20
+ "index.a77ae4993f7bf23d.hot-update.js.map",
21
+ "static/js/index.js.map",
22
+ "static/js/async/node_modules_pnpm_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-ponyfill_js_lazy-co-6570d5.js.map"
23
23
  ],
24
24
  "html": [
25
25
  "/index.html"
26
26
  ],
27
27
  "initial": {
28
28
  "js": [
29
- "/static/js/index.js",
30
29
  "/static/js/vendors-node_modules_pnpm_rspack_core_1_4_8__swc_helpers_0_5_17_node_modules_rspack_core_dist-6d1c2b.js",
31
- "/static/js/lib-react.js"
30
+ "/static/js/lib-react.js",
31
+ "/static/js/index.js"
32
32
  ],
33
33
  "css": [
34
34
  "/static/css/index.css"
@@ -1,11 +1,11 @@
1
1
  {
2
- "name": "main-app",
2
+ "name": "main",
3
3
  "type": "module",
4
4
  "version": "1.0.1",
5
5
  "sideEffects": false,
6
6
  "main": "index.ts",
7
7
  "scripts": {
8
- "start": "rsbuild dev",
8
+ "start": "rsbuild dev --port 3013",
9
9
  "start:test": "rsbuild dev --env-mode test --port 3013",
10
10
  "start:pre": "rsbuild dev --env-mode pre --port 3013",
11
11
  "build": "rsbuild build",