create-jnrs-vue 1.2.17 → 1.2.18

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/create.mjs CHANGED
@@ -112,10 +112,11 @@ async function main() {
112
112
  const templateDir = join(__dirname, '..', 'jnrs-vue')
113
113
 
114
114
  await fs.cp(templateDir, root, { recursive: true })
115
- const dotGitignore = join(root, 'dot_gitignore')
116
- const realGitignore = join(root, '.gitignore')
117
- if (existsSync(dotGitignore)) {
118
- await fs.rename(dotGitignore, realGitignore)
115
+
116
+ const dotGitignorePath = join(root, 'dot_gitignore')
117
+ const gitignorePath = join(root, '.gitignore')
118
+ if (existsSync(dotGitignorePath)) {
119
+ await fs.rename(dotGitignorePath, gitignorePath)
119
120
  }
120
121
 
121
122
  // 定义可选的内部模块
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jnrs-vue",
3
- "version": "1.2.17",
3
+ "version": "1.2.18",
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.17",
3
+ "version": "1.2.18",
4
4
  "description": "巨能前端工程化开发,Vue 项目模板脚手架",
5
5
  "keywords": [
6
6
  "vue",