Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump vitepress to v1 rc #176

Merged
merged 5 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/real-pears-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"vue-qrcode": patch
"vue-qrious": patch
"vue-resizor": patch
---

feat: add esm entries so that no jsx transformation required
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
.*cache
.temp
.type-coverage
.vitepress/cache
dist
coverage
lib
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion .vitepress/components/VueQrcodeDemo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
</div>
</template>
<script lang="ts">
import { pick } from 'lodash'
import { pick } from 'lodash-es'
import { defineComponent } from 'vue'

import VueQrcode, {
Expand Down
2 changes: 1 addition & 1 deletion .vitepress/components/VueQriousDemo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
</div>
</template>
<script lang="ts">
import { pick } from 'lodash'
import { pick } from 'lodash-es'
import { defineComponent } from 'vue'

import VueQrious, { LEVELS } from 'vue-qrious'
Expand Down
1 change: 0 additions & 1 deletion .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export default defineConfig({
description,
vite: {
plugins: [
// @ts-expect-error
vueJsx(),
],
},
Expand Down
2 changes: 1 addition & 1 deletion .vitepress/theme/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import DefaultTheme from 'vitepress/theme'
import { Theme } from 'vitepress'

import * as components from '../components'
import * as components from '../components/index.js'

const config: Theme = {
...DefaultTheme,
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ This repository is a monorepo managed by [Changesets][] what means we actually p

```shell
# yarn
yarn add vue-{qrcode,qrious}
yarn add vue-{qrcode,qrious,resizor}

# npm
npm i vue-{qrcode,qrious}
npm i vue-{qrcode,qrious,resizor}
```

## Sponsors
Expand Down
4 changes: 2 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ This repository is a monorepo managed by [Changesets][] what means we actually p

```shell
# yarn
yarn add vue-{qrcode,qrious}
yarn add vue-{qrcode,qrious,resizor}

# npm
npm i vue-{qrcode,qrious}
npm i vue-{qrcode,qrious,resizor}
```

## Sponsors
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@rxts/vue",
"version": "0.0.0",
"type": "module",
"description": "Make Vue greater with RxTS.",
"repository": "[email protected]:rx-ts/vue.git",
"author": "JounQin (https://www.1stG.me) <[email protected]>",
Expand All @@ -12,7 +13,7 @@
"packageManager": "[email protected]",
"scripts": {
"build": "run-p build:*",
"build:r": "r -e named -f cjs --vue-jsx",
"build:r": "r -e named -f cjs,esm, --vue-jsx",
"build:styles": "lessc --source-map packages/vue-resizor/src/styles.less packages/vue-resizor/lib/styles.css",
"build:ts": "tsc -b",
"clean": "rimraf dist packages/*/{lib,*.tsbuildinfo}",
Expand All @@ -37,6 +38,7 @@
"@types/lodash-es": "^4.17.12",
"@types/node": "^18.19.8",
"@types/qrcode": "^1.5.5",
"@types/web": "^0.0.135",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"less": "^4.2.0",
"lodash-es": "^4.17.21",
Expand All @@ -48,8 +50,7 @@
"sass": "^1.70.0",
"type-coverage": "^2.27.1",
"typescript": "^5.3.3",
"vite": "^5.0.12",
"vitepress": "^0.22.4",
"vitepress": "^1.0.0-rc.40",
"vue": "^3.4.15",
"vue-tsc": "^1.8.27",
"yarn-deduplicate": "^6.0.2"
Expand Down
1 change: 1 addition & 0 deletions packages/vue-qrcode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.esm.mjs",
"require": "./lib/index.cjs",
"default": "./lib/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/vue-qrious/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.esm.mjs",
"require": "./lib/index.cjs",
"default": "./lib/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/vue-resizor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.esm.mjs",
"require": "./lib/index.cjs",
"default": "./lib/index.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-resizor/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from './bem.js'
export * from './helpers.js'
export { default, default as Resizor } from './Resizor'
export { default, default as Resizor } from './Resizor.jsx'
export * from './types.js'
2 changes: 1 addition & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@1stg/tsconfig/dom-lib",
"extends": "@1stg/tsconfig/node16",
"compilerOptions": {
"baseUrl": ".",
"jsxImportSource": "vue",
Expand Down
Loading
Loading