Skip to content

Commit

Permalink
build: bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Aug 13, 2024
1 parent 23f5b5f commit 076fd83
Show file tree
Hide file tree
Showing 7 changed files with 843 additions and 765 deletions.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ footer: MIT Licensed | Copyright © 2018-present meteorlxy

Import and use it:

```js
```ts
import { createApp } from 'vue';
import { VueShowdownPlugin } from 'vue-showdown';
import App from './App.vue';
Expand Down
10 changes: 5 additions & 5 deletions docs/guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ npm install vue-showdown

Import vue-showdown as a vue plugin:

```js
```ts
// import as a Vue plugin
import { createApp } from 'vue';
import { VueShowdownPlugin } from 'vue-showdown';
Expand All @@ -40,7 +40,7 @@ app.use(VueShowdownPlugin, {

Or import vue-showdown as a vue component:

```js
```ts
// import as a Vue component
import { createApp } from 'vue';
import { VueShowdown } from 'vue-showdown';
Expand Down Expand Up @@ -95,7 +95,7 @@ Direct `<script>` import after `vue.js` and `showdown.js`. Then use `vue-showdow

## Plugin Options

```js
```ts
import { createApp } from 'vue';
import { VueShowdownPlugin } from 'vue-showdown';

Expand Down Expand Up @@ -274,7 +274,7 @@ export default defineComponent({

You can also import `showdown` itself from `vue-showdown` for advance usages.

```js
```ts
import { createApp } from 'vue';
import { VueShowdownPlugin, showdown } from 'vue-showdown';

Expand Down Expand Up @@ -318,7 +318,7 @@ export default defineComponent({

Alternatively, you can register extensions globally via `showdown.extension()`, and reference it in the `extension` prop directly by the name that you registered.

```js
```ts
import { createApp } from 'vue';
import { VueShowdownPlugin, showdown } from 'vue-showdown';

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ footer: MIT Licensed | Copyright © 2018-present meteorlxy

引入并使用:

```js
```ts
import { createApp } from 'vue';
import { VueShowdownPlugin } from 'vue-showdown';
import App from './App.vue';
Expand Down
10 changes: 5 additions & 5 deletions docs/zh/guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ npm install vue-showdown

将 vue-showdown 作为 Vue 插件引入:

```js
```ts
// 作为 Vue 插件引入
import { createApp } from 'vue';
import { VueShowdownPlugin } from 'vue-showdown';
Expand All @@ -40,7 +40,7 @@ app.use(VueShowdownPlugin, {

或者将 vue-showdown 作为 Vue 组件引入:

```js
```ts
// 作为 Vue 组件引入
import { createApp } from 'vue';
import { VueShowdown } from 'vue-showdown';
Expand Down Expand Up @@ -95,7 +95,7 @@ app.component('VueShowdown', VueShowdown);

## 插件选项

```js
```ts
import { createApp } from 'vue';
import { VueShowdownPlugin } from 'vue-showdown';

Expand Down Expand Up @@ -274,7 +274,7 @@ export default defineComponent({

你可以从 `vue-showdown` 中导入 `showdown` ,以便进行进阶配置。

```js
```ts
import { createApp } from 'vue';
import { VueShowdownPlugin, showdown } from 'vue-showdown';

Expand Down Expand Up @@ -318,7 +318,7 @@ export default defineComponent({

或者,你可以通过 `showdown.extension()` 全局注册 extensions,然后在 `extension` prop 中直接通过注册的名称引入。

```js
```ts
import { createApp } from 'vue';
import { VueShowdownPlugin, showdown } from 'vue-showdown';

Expand Down
4 changes: 1 addition & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@ import { meteorlxy } from '@meteorlxy/eslint-config';

export default meteorlxy(
{
typescript: {
tsconfigPath: ['./tsconfig.json', './dev/tsconfig.json'],
},
vue: true,
},
{
files: ['dev/dev.vue'],
rules: {
'vue/multi-word-component-names': 'off',
'no-useless-assignment': 'off', // TODO: eslint-plugin-vue false positive?
},
},
);
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,35 +63,35 @@
"dependencies": {
"@types/showdown": "^2.0.6",
"showdown": "^2.1.0",
"vue": "^3.4.31"
"vue": "^3.4.37"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@meteorlxy/eslint-config": "^3.8.0",
"@meteorlxy/prettier-config": "^3.8.0",
"@meteorlxy/tsconfig": "^3.8.0",
"@meteorlxy/eslint-config": "^4.0.0",
"@meteorlxy/prettier-config": "^4.0.0",
"@meteorlxy/tsconfig": "^4.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@vitejs/plugin-vue": "^5.0.5",
"@vitejs/plugin-vue": "^5.1.2",
"@vuepress/bundler-vite": "2.0.0-rc.14",
"@vuepress/theme-default": "2.0.0-rc.38",
"@vuepress/theme-default": "2.0.0-rc.40",
"conventional-changelog-cli": "^5.0.0",
"eslint": "^8.57.0",
"eslint": "^9.9.0",
"eslint-plugin-vue": "^9.27.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"husky": "^9.1.4",
"lint-staged": "^15.2.9",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"rollup": "^4.18.1",
"rollup": "^4.20.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-typescript2": "^0.36.0",
"sort-package-json": "^2.10.0",
"typescript": "^5.5.3",
"typescript": "^5.5.4",
"vite": "~5.3.3",
"vue-eslint-parser": "^9.4.3",
"vuepress": "2.0.0-rc.14"
},
"packageManager": "pnpm@9.5.0",
"packageManager": "pnpm@9.7.0",
"engines": {
"node": ">=18.16.0"
}
Expand Down
Loading

0 comments on commit 076fd83

Please sign in to comment.