@varlet/cli 1.26.0 → 1.26.1-alpha.1644652196468

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/cli",
3
- "version": "1.26.0",
3
+ "version": "1.26.1-alpha.1644652196468",
4
4
  "description": "cli of varlet",
5
5
  "bin": {
6
6
  "varlet-cli": "./lib/index.js"
@@ -33,13 +33,14 @@
33
33
  "@babel/helper-plugin-utils": "^7.14.5",
34
34
  "@babel/preset-env": "^7.14.8",
35
35
  "@babel/preset-typescript": "^7.14.5",
36
- "@varlet/icons": "1.26.0",
37
- "@varlet/markdown-vite-plugin": "1.26.0",
38
- "@varlet/touch-emulator": "1.26.0",
39
- "@vitejs/plugin-vue": "1.9.2",
40
- "@vitejs/plugin-vue-jsx": "1.1.8",
41
- "@vue/babel-plugin-jsx": "1.0.7",
42
- "@vue/compiler-sfc": "3.2.16",
36
+ "@varlet/icons": "1.26.1-alpha.1644652196468",
37
+ "@varlet/markdown-vite-plugin": "1.26.1-alpha.1644652196468",
38
+ "@varlet/touch-emulator": "1.26.1-alpha.1644652196468",
39
+ "@vitejs/plugin-vue": "2.2.0",
40
+ "@vitejs/plugin-vue-jsx": "1.3.5",
41
+ "@vue/babel-plugin-jsx": "1.1.1",
42
+ "@vue/compiler-sfc": "3.2.25",
43
+ "@vue/runtime-core": "3.2.25",
43
44
  "babel-jest": "26.6.3",
44
45
  "chalk": "^4.1.0",
45
46
  "chokidar": "^3.5.2",
@@ -59,9 +60,9 @@
59
60
  "slash": "^3.0.0",
60
61
  "ts-jest": "^26.5.1",
61
62
  "typescript": "^4.4.4",
62
- "vite": "2.6.5",
63
+ "vite": "2.8.1",
63
64
  "vite-plugin-html": "^2.1.0",
64
- "vue": "3.2.16",
65
+ "vue": "3.2.25",
65
66
  "vue-jest": "^5.0.0-alpha.8"
66
67
  },
67
68
  "devDependencies": {
@@ -74,12 +75,13 @@
74
75
  "@types/semver": "^7.3.9"
75
76
  },
76
77
  "peerDependencies": {
77
- "@varlet/touch-emulator": "1.26.0",
78
+ "@varlet/touch-emulator": "1.26.1-alpha.1644652196468",
78
79
  "@vue/test-utils": "^2.0.0-rc.6",
79
80
  "clipboard": "^2.0.6",
80
81
  "live-server": "^1.2.1",
81
82
  "lodash-es": "^4.17.21",
82
- "vue": "3.2.16",
83
+ "vue": "3.2.25",
84
+ "@vue/runtime-core": "3.2.16",
83
85
  "vue-router": "4.0.12"
84
86
  },
85
87
  "scripts": {
@@ -82,7 +82,7 @@ export default defineComponent({
82
82
 
83
83
  const { offsetHeight } = code.value as HTMLElement
84
84
  disabledFold.value = offsetHeight - fold.value.foldHeight < offset
85
- height.value = fold.value?.defaultFold ? fold.value?.foldHeight : -1
85
+ height.value = fold.value?.defaultFold ? fold.value?.foldHeight : offsetHeight
86
86
  })
87
87
 
88
88
  return {
@@ -38,7 +38,7 @@ module.exports = {
38
38
  'en-US': 'The code has been copied to the clipboard',
39
39
  },
40
40
  fold: {
41
- defaultFold: true,
41
+ defaultFold: false,
42
42
  foldHeight: 60,
43
43
  },
44
44
  },