create-jnrs-vue 1.2.19 → 1.2.20

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 CHANGED
@@ -56,6 +56,7 @@ jnrs-vue/
56
56
  ├── .env.production # 生产环境变量
57
57
  ├── .gitignore # Git 忽略规则
58
58
  ├── .prettierrc.json # Prettier 格式化配置
59
+ ├── .cspell.json # Cspell 拼写检查
59
60
  ```
60
61
 
61
62
 
package/bin/create.mjs CHANGED
@@ -113,12 +113,6 @@ async function main() {
113
113
 
114
114
  await fs.cp(templateDir, root, { recursive: true })
115
115
 
116
- const dotGitignorePath = join(root, 'dot_gitignore')
117
- const gitignorePath = join(root, '.gitignore')
118
- if (existsSync(dotGitignorePath)) {
119
- await fs.rename(dotGitignorePath, gitignorePath)
120
- }
121
-
122
116
  // 定义可选的内部模块
123
117
  const allWorkspaceDeps = ['@jnrs/shared', '@jnrs/vue-core', '@jnrs/lingshu-smart']
124
118
  const defaultSelected = ['@jnrs/shared', '@jnrs/vue-core']
@@ -102,6 +102,8 @@ npm-debug.log*
102
102
  yarn-debug.log*
103
103
  yarn-error.log*
104
104
  .pnpm-debug.log*
105
+
106
+ # 显式包含模板中的 .gitignore
105
107
  !.gitignore
106
108
 
107
109
  # ===================================================================
@@ -42,6 +42,7 @@ jnrs-vue/
42
42
  ├── .env.production # 生产环境变量
43
43
  ├── .gitignore # Git 忽略规则
44
44
  ├── .prettierrc.json # Prettier 格式化配置
45
+ ├── .cspell.json # Cspell 拼写检查
45
46
  ```
46
47
 
47
48
  ## ⚠️ 注意事项
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jnrs-vue",
3
- "version": "1.2.19",
3
+ "version": "1.2.20",
4
4
  "description": "JNRS 信息化管理系统",
5
5
  "author": "talia_tan",
6
6
  "private": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-jnrs-vue",
3
- "version": "1.2.19",
3
+ "version": "1.2.20",
4
4
  "description": "巨能前端工程化开发,Vue 项目模板脚手架",
5
5
  "keywords": [
6
6
  "vue",
@@ -1,160 +0,0 @@
1
- # ===================================================================
2
- # 1. 构建产物 & 打包输出
3
- # ===================================================================
4
- dist/
5
- build/
6
- .out/
7
- .nitro/
8
- /dist
9
- /out
10
- /build
11
- /.vite
12
- /.nuxt
13
- /.output
14
-
15
- # Vite 临时缓存
16
- /node_modules/.vite
17
-
18
- # ===================================================================
19
- # 2. 依赖包
20
- # ===================================================================
21
- /node_modules
22
- /bower_components
23
- node_modules/
24
-
25
- # ===================================================================
26
- # 3. 环境变量(本地配置不提交)
27
- # ===================================================================
28
- .env.local
29
- .env.development.local
30
- .env.staging.local
31
- .env.production.local
32
- .env.test.local
33
-
34
- # 但保留模板文件(供团队参考)
35
- !.env.example
36
- !.env.template
37
-
38
- # ===================================================================
39
- # 4. 编辑器与 IDE 文件
40
- # ===================================================================
41
- # VS Code
42
- .vscode/*
43
- !.vscode/extensions.json # 可选:提交推荐插件
44
- !.vscode/settings.json # 可选:若需统一设置
45
-
46
- # Vim
47
- *.swp
48
- *.swo
49
- *.swn
50
- .*.sw[a-z]
51
-
52
- # Emacs
53
- *~
54
- \#*\#
55
- /.emacs.desktop
56
- /.emacs.desktop.lock
57
- *.elc
58
- auto-save-list
59
- tramp
60
- .\#*
61
-
62
- # IntelliJ (WebStorm, IDEA)
63
- .idea/
64
- *.iws
65
- *.iml
66
- *.ipr
67
-
68
- # Sublime Text
69
- *.sublime-project
70
- *.sublime-workspace
71
- /.sublime
72
-
73
- # ===================================================================
74
- # 5. 操作系统生成文件
75
- # ===================================================================
76
- # macOS
77
- .DS_Store
78
- .AppleDouble
79
- .LSOverride
80
- Icon?
81
- ._*
82
- .Spotlight-V100
83
- .Trashes
84
- .fseventsd
85
-
86
- # Windows
87
- Thumbs.db
88
- ehthumbs_vista.db
89
- Desktop.ini
90
- $RECYCLE.BIN/
91
- *.lnk
92
-
93
- # Linux
94
- *~
95
-
96
- # ===================================================================
97
- # 6. 日志与调试文件
98
- # ===================================================================
99
- logs
100
- *.log
101
- npm-debug.log*
102
- yarn-debug.log*
103
- yarn-error.log*
104
- .pnpm-debug.log*
105
-
106
- # ===================================================================
107
- # 7. 测试相关
108
- # ===================================================================
109
- coverage
110
- .nyc_output
111
- __pycache__
112
- *.pyc
113
-
114
- # ===================================================================
115
- # 8. CI/CD 与部署缓存
116
- # ===================================================================
117
- .vercel
118
- .netlify
119
- /.github/workflows/cache
120
- /.cache
121
- .cache/
122
-
123
- # ===================================================================
124
- # 9. 本地开发服务器证书(如 HTTPS)
125
- # ===================================================================
126
- localhost-key.pem
127
- localhost-cert.pem
128
-
129
- # ===================================================================
130
- # 10. 其他临时文件
131
- # ===================================================================
132
- .DS_Store?
133
- *.tmp
134
- *.temp
135
-
136
- # ===================================================================
137
- # 11. 数据库文件(如 SQLite)
138
- # ===================================================================
139
- *.sqlite
140
- *.db
141
- *.db3
142
-
143
- # ===================================================================
144
- # 12. 锁文件(可选提交,但某些临时锁不提交)
145
- # ===================================================================
146
- pnpm-lock.yaml
147
- # yarn.lock # ✅ 建议提交
148
- # package-lock.json # ✅ 建议提交
149
-
150
- # 但忽略临时锁
151
- /.pnpm/lock.yaml.swp
152
-
153
- # ===================================================================
154
- # 13. 语言与策略
155
- # ===================================================================
156
- # Turbo
157
- .turbo/
158
-
159
- # TypeScript build info
160
- *.tsbuildinfo