diff --git a/README.md b/README.md index f2d52e7..f3cb286 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ ## Usage -1. Install the theme using `npm install 42willow/vitepress#main` +1. Install the theme using `npm install 42willow/vitepress` 2. Import the theme as shown [here](./example/.vitepress/theme/index.ts) 3. Add your preferred accent overrides to an `override.css` file as shown [here](./example/.vitepress/theme/override.css) diff --git a/example/bun.lockb b/example/bun.lockb index 2677b83..0d850e1 100755 Binary files a/example/bun.lockb and b/example/bun.lockb differ diff --git a/example/package.json b/example/package.json index 6f3e8a7..fc97921 100644 --- a/example/package.json +++ b/example/package.json @@ -1,20 +1,18 @@ { - "description": "📝 Soothing pastel theme for VitePress", "author": "willow <42willow@pm.me>", - "license": "MIT", - "scripts": { - "build": "vitepress build", - "dev": "vitepress dev", - "preview": "vitepress preview" - }, "devDependencies": { + "@catppuccin/vitepress": "github:42willow/vitepress", "@types/bun": "latest", "vitepress": "^1.2.3" }, "peerDependencies": { "typescript": "^5.0.0" }, - "dependencies": { - "@catppuccin/vitepress": "../" + "description": "📝 Soothing pastel theme for VitePress", + "license": "MIT", + "scripts": { + "build": "vitepress build", + "dev": "vitepress dev", + "preview": "vitepress preview" } } diff --git a/example/src/install.md b/example/src/install.md index 5fbd7c9..5d8ccd4 100644 --- a/example/src/install.md +++ b/example/src/install.md @@ -4,16 +4,16 @@ ::: code-group ```bash [npm] - npm install 42willow/vitepress#main + npm install 42willow/vitepress ``` ```bash [Yarn] - yarn add 42willow/vitepress#main + yarn add git+https://github.com/42willow/vitepress.git ``` ```bash [pnpm] - pnpm add 42willow/vitepress#main + pnpm add github:42willow/vitepress ``` ```bash [Bun] - bun add 42willow/vitepress#main + bun add github:42willow/vitepress ``` :::