@varlet/cli 2.7.5 → 2.8.0-alpha.1676441771603

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.
@@ -35,15 +35,15 @@ export const SITE_CONFIG = resolve(CWD, '.varlet/site.config.json');
35
35
  // template highlight
36
36
  export const HL_DIR = resolve(CWD, 'highlight');
37
37
  export const HL_COMPONENT_NAME_RE = /.*(\/|\\)(.+)(\/|\\)docs(\/|\\)/;
38
- export const HL_API_RE = /##\s*API\n+/;
39
- export const HL_EN_TITLE_ATTRIBUTES_RE = /###\s*Props\s*\n+/;
40
- export const HL_EN_TITLE_EVENTS_RE = /###\s*Events\s*\n+/;
41
- export const HL_EN_TITLE_SLOTS_RE = /###\s*Slots\s*\n+/;
38
+ export const HL_API_RE = /##\s*API(?:\r\n|\n)+/;
39
+ export const HL_EN_TITLE_ATTRIBUTES_RE = /###\s*Props(?:\r\n|\n)+/;
40
+ export const HL_EN_TITLE_EVENTS_RE = /###\s*Events(?:\r\n|\n)+/;
41
+ export const HL_EN_TITLE_SLOTS_RE = /###\s*Slots(?:\r\n|\n)+/;
42
42
  export const HL_EN_MD = 'en-US.md';
43
43
  export const HL_EN_WEB_TYPES_JSON = resolve(HL_DIR, 'web-types.en-US.json');
44
- export const HL_ZH_TITLE_ATTRIBUTES_RE = /###\s*属性\s*\n+/;
45
- export const HL_ZH_TITLE_EVENTS_RE = /###\s*事件\s*\n+/;
46
- export const HL_ZH_TITLE_SLOTS_RE = /###\s*插槽\s*\n+/;
44
+ export const HL_ZH_TITLE_ATTRIBUTES_RE = /###\s*属性(?:\r\n|\n)+/;
45
+ export const HL_ZH_TITLE_EVENTS_RE = /###\s*事件(?:\r\n|\n)+/;
46
+ export const HL_ZH_TITLE_SLOTS_RE = /###\s*插槽(?:\r\n|\n)+/;
47
47
  export const HL_ZH_MD = 'zh-CN.md';
48
48
  export const HL_ZH_WEB_TYPES_JSON = resolve(HL_DIR, 'web-types.zh-CN.json');
49
49
  // icons
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/cli",
3
- "version": "2.7.5",
3
+ "version": "2.8.0-alpha.1676441771603",
4
4
  "type": "module",
5
5
  "description": "cli of varlet",
6
6
  "bin": {
@@ -68,8 +68,8 @@
68
68
  "vite": "4.0.4",
69
69
  "vue": "3.2.25",
70
70
  "vue-jest": "^5.0.0-alpha.8",
71
- "@varlet/vite-plugins": "2.7.5",
72
- "@varlet/shared": "2.7.5"
71
+ "@varlet/vite-plugins": "2.8.0-alpha.1676441771603",
72
+ "@varlet/shared": "2.8.0-alpha.1676441771603"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@types/babel__core": "^7.1.12",
@@ -82,8 +82,8 @@
82
82
  "@types/semver": "^7.3.9",
83
83
  "@types/inquirer": "^9.0.2",
84
84
  "@types/sharp": "0.31.1",
85
- "@varlet/icons": "2.7.5",
86
- "@varlet/touch-emulator": "2.7.5"
85
+ "@varlet/icons": "2.8.0-alpha.1676441771603",
86
+ "@varlet/touch-emulator": "2.8.0-alpha.1676441771603"
87
87
  },
88
88
  "peerDependencies": {
89
89
  "@vue/runtime-core": "3.2.16",
@@ -93,8 +93,8 @@
93
93
  "lodash-es": "^4.17.21",
94
94
  "vue": "3.2.25",
95
95
  "vue-router": "4.0.12",
96
- "@varlet/icons": "2.7.5",
97
- "@varlet/touch-emulator": "2.7.5"
96
+ "@varlet/icons": "2.8.0-alpha.1676441771603",
97
+ "@varlet/touch-emulator": "2.8.0-alpha.1676441771603"
98
98
  },
99
99
  "scripts": {
100
100
  "dev": "tsc --watch",