@varlet/cli 2.1.0-alpha.1667220413211 → 2.1.0

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.
@@ -65,6 +65,7 @@ export async function gen(options) {
65
65
  logger.success('✨ Application generated successfully!');
66
66
  logger.info(`\
67
67
  cd ${name}
68
+ git init (Generating .git folder to init git hooks)
68
69
  pnpm install
69
70
  pnpm dev`);
70
71
  logger.success(`\
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/cli",
3
- "version": "2.1.0-alpha.1667220413211",
3
+ "version": "2.1.0",
4
4
  "type": "module",
5
5
  "description": "cli of varlet",
6
6
  "bin": {
@@ -40,8 +40,8 @@
40
40
  "@babel/preset-env": "^7.14.8",
41
41
  "@babel/preset-typescript": "^7.14.5",
42
42
  "@types/inquirer": "^9.0.2",
43
- "@varlet/markdown-vite-plugin": "2.1.0-alpha.1667220413211",
44
- "@varlet/shared": "2.1.0-alpha.1667220413211",
43
+ "@varlet/markdown-vite-plugin": "2.1.0",
44
+ "@varlet/shared": "2.1.0",
45
45
  "@vitejs/plugin-vue": "3.0.1",
46
46
  "@vitejs/plugin-vue-jsx": "2.0.0",
47
47
  "@vue/babel-plugin-jsx": "1.1.1",
@@ -80,12 +80,12 @@
80
80
  "@types/lodash-es": "^4.17.5",
81
81
  "@types/node": "^18.7.20",
82
82
  "@types/semver": "^7.3.9",
83
- "@varlet/icons": "2.1.0-alpha.1667220413211",
84
- "@varlet/touch-emulator": "2.1.0-alpha.1667220413211"
83
+ "@varlet/icons": "2.1.0",
84
+ "@varlet/touch-emulator": "2.1.0"
85
85
  },
86
86
  "peerDependencies": {
87
- "@varlet/icons": "2.1.0-alpha.1667220413211",
88
- "@varlet/touch-emulator": "2.1.0-alpha.1667220413211",
87
+ "@varlet/icons": "2.1.0",
88
+ "@varlet/touch-emulator": "2.1.0",
89
89
  "@vue/runtime-core": "3.2.16",
90
90
  "@vue/test-utils": "^2.0.2",
91
91
  "clipboard": "^2.0.6",
@@ -1,7 +1,7 @@
1
1
  module.exports = {
2
2
  presets: [
3
3
  [
4
- '@varlet/cli/preset',
4
+ '@varlet/cli/preset.cjs',
5
5
  {
6
6
  loose: process.env.NODE_ENV === 'compile',
7
7
  },