Skip to content

Commit

Permalink
fix(plugin-rtl): correct plugin name
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Feb 1, 2024
1 parent 8b92cbe commit 4b1ca32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions plugins/plugin-rtl/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "vuepress-plugin-rtl",
"name": "@vuepress/plugin-rtl",
"version": "2.0.0-rc.0",
"description": "VuePress plugin - rtl",
"keywords": [
Expand Down Expand Up @@ -35,8 +35,7 @@
],
"scripts": {
"build": "tsc -b tsconfig.build.json",
"clean": "rimraf --glob ./lib ./*.tsbuildinfo",
"copy": "cpx \"src/**/*.{d.ts,css,svg}\" lib"
"clean": "rimraf --glob ./lib ./*.tsbuildinfo"
},
"dependencies": {
"vue": "^3.4.15"
Expand Down
2 changes: 1 addition & 1 deletion plugins/plugin-rtl/src/node/rtlPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface RTLPluginOptions {
const __dirname = getDirname(import.meta.url)

export const rltPlugin = (options: RTLPluginOptions = {}): PluginObject => ({
name: 'vuepress-plugin-rtl',
name: '@vuepress/plugin-rtl',

define: {
__RTL_LOCALES__: Array.isArray(options.locales) ? options.locales : ['/'],
Expand Down

0 comments on commit 4b1ca32

Please sign in to comment.