@varlet/cli 3.0.7 → 3.1.0-alpha.1709284240068

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": "3.0.7",
3
+ "version": "3.1.0-alpha.1709284240068",
4
4
  "type": "module",
5
5
  "description": "cli of varlet",
6
6
  "bin": {
@@ -64,8 +64,8 @@
64
64
  "slash": "^3.0.0",
65
65
  "typescript": "^5.1.5",
66
66
  "webfont": "11.2.26",
67
- "@varlet/shared": "3.0.7",
68
- "@varlet/vite-plugins": "3.0.7"
67
+ "@varlet/shared": "3.1.0-alpha.1709284240068",
68
+ "@varlet/vite-plugins": "3.1.0-alpha.1709284240068"
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.0.7",
84
- "@varlet/icons": "3.0.7",
85
- "@varlet/touch-emulator": "3.0.7"
83
+ "@varlet/ui": "3.1.0-alpha.1709284240068",
84
+ "@varlet/icons": "3.1.0-alpha.1709284240068",
85
+ "@varlet/touch-emulator": "3.1.0-alpha.1709284240068"
86
86
  },
87
87
  "peerDependencies": {
88
88
  "@vue/runtime-core": "3.4.15",
@@ -95,9 +95,9 @@
95
95
  "lodash-es": "^4.17.21",
96
96
  "vue": "3.4.15",
97
97
  "vue-router": "4.2.0",
98
- "@varlet/icons": "3.0.7",
99
- "@varlet/ui": "3.0.7",
100
- "@varlet/touch-emulator": "3.0.7"
98
+ "@varlet/ui": "3.1.0-alpha.1709284240068",
99
+ "@varlet/touch-emulator": "3.1.0-alpha.1709284240068",
100
+ "@varlet/icons": "3.1.0-alpha.1709284240068"
101
101
  },
102
102
  "scripts": {
103
103
  "dev": "tsc --watch",
@@ -1,6 +1,7 @@
1
1
  import <%- bigCamelizeName %> from '..'
2
2
  import { createApp } from 'vue'
3
3
  import { mount } from '@vue/test-utils'
4
+ import { expect, test } from 'vitest'
4
5
 
5
6
  test('test <%- kebabCaseName %> plugin', () => {
6
7
  const app = createApp({}).use(<%- bigCamelizeName %>)
@@ -1,6 +1,6 @@
1
1
  import Button from '..'
2
2
  import { createApp } from 'vue'
3
- import { expect } from 'vitest'
3
+ import { expect, test } from 'vitest'
4
4
 
5
5
  test('test button use', () => {
6
6
  const app = createApp({}).use(Button)
@@ -1,6 +1,6 @@
1
1
  import Button from '..'
2
2
  import { createApp } from 'vue'
3
- import { expect } from 'vitest'
3
+ import { expect, test } from 'vitest'
4
4
 
5
5
  test('test button use', () => {
6
6
  const app = createApp({}).use(Button)
@@ -1,6 +1,6 @@
1
1
  import Button from '../index'
2
2
  import { createApp } from 'vue'
3
- import { expect } from 'vitest'
3
+ import { expect, test } from 'vitest'
4
4
 
5
5
  test('test button use', () => {
6
6
  const app = createApp({}).use(Button)
@@ -1,6 +1,6 @@
1
1
  import enUS from '../en-US'
2
2
  import { useLocale } from '../index'
3
- import { expect, vi } from 'vitest'
3
+ import { expect, vi, test } from 'vitest'
4
4
 
5
5
  function mockConsole(method, fn = () => {}) {
6
6
  const originMethod = console[method]
@@ -1,6 +1,6 @@
1
1
  import Button from '../index'
2
2
  import { createApp } from 'vue'
3
- import { expect } from 'vitest'
3
+ import { expect, test } from 'vitest'
4
4
 
5
5
  test('test button use', () => {
6
6
  const app = createApp({}).use(Button)
@@ -1,6 +1,6 @@
1
1
  import enUS from '../en-US'
2
2
  import { useLocale } from '../index'
3
- import { expect, vi } from 'vitest'
3
+ import { expect, vi, test } from 'vitest'
4
4
 
5
5
  function mockConsole(method, fn = () => {}) {
6
6
  const originMethod = console[method]