Skip to content

Commit 0f83439

Browse files
authored
chore: bump vitepress to v1 rc (#176)
1 parent 53ebd70 commit 0f83439

File tree

18 files changed

+300
-318
lines changed

18 files changed

+300
-318
lines changed

.changeset/real-pears-remember.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"vue-qrcode": patch
3+
"vue-qrious": patch
4+
"vue-resizor": patch
5+
---
6+
7+
feat: add esm entries so that no jsx transformation required

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.*cache
44
.temp
55
.type-coverage
6+
.vitepress/cache
67
dist
78
coverage
89
lib
File renamed without changes.
File renamed without changes.
File renamed without changes.

.vitepress/components/VueQrcodeDemo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
</div>
170170
</template>
171171
<script lang="ts">
172-
import { pick } from 'lodash'
172+
import { pick } from 'lodash-es'
173173
import { defineComponent } from 'vue'
174174
175175
import VueQrcode, {

.vitepress/components/VueQriousDemo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
</div>
9393
</template>
9494
<script lang="ts">
95-
import { pick } from 'lodash'
95+
import { pick } from 'lodash-es'
9696
import { defineComponent } from 'vue'
9797
9898
import VueQrious, { LEVELS } from 'vue-qrious'

.vitepress/config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export default defineConfig({
88
description,
99
vite: {
1010
plugins: [
11-
// @ts-expect-error
1211
vueJsx(),
1312
],
1413
},

.vitepress/theme/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import DefaultTheme from 'vitepress/theme'
22
import { Theme } from 'vitepress'
33

4-
import * as components from '../components'
4+
import * as components from '../components/index.js'
55

66
const config: Theme = {
77
...DefaultTheme,

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ This repository is a monorepo managed by [Changesets][] what means we actually p
5050

5151
```shell
5252
# yarn
53-
yarn add vue-{qrcode,qrious}
53+
yarn add vue-{qrcode,qrious,resizor}
5454

5555
# npm
56-
npm i vue-{qrcode,qrious}
56+
npm i vue-{qrcode,qrious,resizor}
5757
```
5858

5959
## Sponsors

0 commit comments

Comments
 (0)