@varlet/cli 3.3.5-alpha.1720530125141 → 3.3.6-alpha.1720620017198

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.
@@ -173,5 +173,5 @@ export interface VarletConfig {
173
173
  _cf?: string[];
174
174
  }
175
175
  export declare function defineConfig(config: VarletConfig): VarletConfig;
176
- export declare function mergeStrategy(_: any, srcValue: any, key: any, _object: any, _source: any): any[] | undefined;
176
+ export declare function mergeStrategy(_: any, srcValue: any, key: any): any[] | undefined;
177
177
  export declare function getVarletConfig(emit?: boolean): Promise<Required<VarletConfig>>;
@@ -7,7 +7,7 @@ const { pathExistsSync, statSync } = fse;
7
7
  export function defineConfig(config) {
8
8
  return config;
9
9
  }
10
- export function mergeStrategy(_, srcValue, key, _object, _source) {
10
+ export function mergeStrategy(_, srcValue, key) {
11
11
  const keys = ['features', 'members'];
12
12
  if (keys.includes(key) && isArray(srcValue)) {
13
13
  return srcValue;
@@ -468,6 +468,19 @@ export default defineConfig({
468
468
  },
469
469
  currentVersion: 'v3.x',
470
470
  versions: [
471
+ {
472
+ name: 'varletjs.org',
473
+ items: [
474
+ {
475
+ label: 'v3.x',
476
+ link: 'https://varletjs.org',
477
+ },
478
+ {
479
+ label: 'v2.x',
480
+ link: 'https://varletjs.org/v2',
481
+ },
482
+ ],
483
+ },
471
484
  {
472
485
  name: 'varlet.pages.dev',
473
486
  items: [
@@ -486,7 +499,7 @@ export default defineConfig({
486
499
  items: [
487
500
  {
488
501
  label: 'v3.x',
489
- link: 'varlet-varletjs.vercel.app',
502
+ link: 'https://varlet-varletjs.vercel.app',
490
503
  },
491
504
  {
492
505
  label: 'v2.x',
@@ -497,7 +510,7 @@ export default defineConfig({
497
510
  ],
498
511
  github: 'https://github.com/varletjs/varlet',
499
512
  changelog: 'https://github.com/varletjs/varlet/blob/main/CHANGELOG.md',
500
- playground: 'https://varletjs.github.io/varlet/playground',
513
+ playground: 'https://varletjs.org/playground',
501
514
  themes: [
502
515
  { 'zh-CN': 'Md2 亮色', 'en-US': 'Md2 Light', value: 'lightTheme' },
503
516
  { 'zh-CN': 'Md2 暗色', 'en-US': 'Md2 Dark', value: 'darkTheme' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/cli",
3
- "version": "3.3.5-alpha.1720530125141",
3
+ "version": "3.3.6-alpha.1720620017198",
4
4
  "type": "module",
5
5
  "description": "cli of varlet",
6
6
  "bin": {
@@ -64,8 +64,8 @@
64
64
  "vite": "5.0.10",
65
65
  "vitest": "1.1.0",
66
66
  "vue": "3.4.21",
67
- "@varlet/shared": "3.3.5-alpha.1720530125141",
68
- "@varlet/vite-plugins": "3.3.5-alpha.1720530125141"
67
+ "@varlet/shared": "3.3.6-alpha.1720620017198",
68
+ "@varlet/vite-plugins": "3.3.6-alpha.1720620017198"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@types/babel__core": "^7.20.1",
@@ -80,9 +80,9 @@
80
80
  "@types/semver": "^7.3.9",
81
81
  "@types/sharp": "0.31.1",
82
82
  "rimraf": "^5.0.1",
83
- "@varlet/ui": "3.3.5-alpha.1720530125141",
84
- "@varlet/touch-emulator": "3.3.5-alpha.1720530125141",
85
- "@varlet/icons": "3.3.5-alpha.1720530125141"
83
+ "@varlet/ui": "3.3.6-alpha.1720620017198",
84
+ "@varlet/icons": "3.3.6-alpha.1720620017198",
85
+ "@varlet/touch-emulator": "3.3.6-alpha.1720620017198"
86
86
  },
87
87
  "peerDependencies": {
88
88
  "@vitest/coverage-istanbul": "1.1.0",
@@ -94,9 +94,9 @@
94
94
  "lodash-es": "^4.17.21",
95
95
  "vue": "3.4.21",
96
96
  "vue-router": "4.2.0",
97
- "@varlet/icons": "3.3.5-alpha.1720530125141",
98
- "@varlet/touch-emulator": "3.3.5-alpha.1720530125141",
99
- "@varlet/ui": "3.3.5-alpha.1720530125141"
97
+ "@varlet/icons": "3.3.6-alpha.1720620017198",
98
+ "@varlet/ui": "3.3.6-alpha.1720620017198",
99
+ "@varlet/touch-emulator": "3.3.6-alpha.1720620017198"
100
100
  },
101
101
  "scripts": {
102
102
  "dev": "tsc --watch",