Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
ntnyq committed Sep 23, 2024
1 parent 8d70a86 commit 8092250
Show file tree
Hide file tree
Showing 8 changed files with 1,803 additions and 797 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npx nano-staged
nano-staged
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
lts-latest
15 changes: 12 additions & 3 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
import { defineUserConfig } from 'vuepress'
import { defaultTheme } from '@vuepress/theme-default'
import path from 'node:path'
import { fileURLToPath, URL } from 'node:url'
import { viteBundler } from '@vuepress/bundler-vite'
import { shikiPlugin } from '@vuepress/plugin-shiki'
import { googleAnalyticsPlugin } from '@vuepress/plugin-google-analytics'
import { shikiPlugin } from '@vuepress/plugin-shiki'
import { defaultTheme } from '@vuepress/theme-default'
import { defineUserConfig } from 'vuepress'
import { iconifyPlugin } from 'vuepress-plugin-iconify'

const __dirname = fileURLToPath(new URL('.', import.meta.url))
const resolve = (...args: string[]) => path.resolve(__dirname, '..', ...args)

export default defineUserConfig({
title: 'vuepress-plugin-iconify',

description: 'Using icons more easier in VuePress',

bundler: viteBundler(),

alias: {
'@vuepress/plugin-palette/style': resolve('.vuepress/styles/index.scss'),
},

head: [
[
'link',
Expand Down
5 changes: 3 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
"devDependencies": {
"@vuepress/bundler-vite": "^2.0.0-rc.15",
"@vuepress/plugin-google-analytics": "^2.0.0-rc.42",
"@vuepress/plugin-shiki": "^2.0.0-rc.42",
"@vuepress/theme-default": "^2.0.0-rc.42",
"@vuepress/plugin-shiki": "^2.0.0-rc.47",
"@vuepress/theme-default": "^2.0.0-rc.47",
"sass-embedded": "^1.79.3",
"vuepress-plugin-iconify": "workspace:*"
}
}
8 changes: 2 additions & 6 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/**
* @file ESLint config
*/
import { defineESLintConfig } from '@ntnyq/eslint-config'

import { ntnyq } from '@ntnyq/eslint-config'

export default ntnyq()
export default defineESLintConfig()
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vuepress-plugin-iconify",
"type": "module",
"version": "0.6.0",
"packageManager": "pnpm@9.8.0",
"packageManager": "pnpm@9.11.0",
"description": "Using icons more easier in VuePress",
"keywords": [
"vuepress",
Expand Down Expand Up @@ -52,21 +52,21 @@
},
"dependencies": {
"@iconify/vue": "^4.1.2",
"vue": "^3.4.38"
"vue": "^3.5.8"
},
"devDependencies": {
"@ntnyq/eslint-config": "^3.0.0-beta.3",
"@ntnyq/prettier-config": "^1.21.2",
"@types/node": "^22.5.0",
"@ntnyq/eslint-config": "^3.0.0-beta.17",
"@ntnyq/prettier-config": "^1.21.3",
"@types/node": "^22.5.5",
"bumpp": "^9.5.2",
"eslint": "^9.9.1",
"husky": "^9.1.5",
"eslint": "^9.11.0",
"husky": "^9.1.6",
"nano-staged": "^0.8.0",
"npm-run-all2": "^6.2.2",
"pnpm": "^9.8.0",
"npm-run-all2": "^6.2.3",
"pnpm": "^9.11.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"vuepress": "^2.0.0-rc.15"
},
"prettier": "@ntnyq/prettier-config",
Expand Down
Loading

0 comments on commit 8092250

Please sign in to comment.