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: updated deps, fixed markdown-it plugin type errors #240

Merged
merged 2 commits into from
Jun 23, 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
2 changes: 1 addition & 1 deletion .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: '9.1.2'
version: '9.4.0'
run_install: false

- name: Get pnpm store directory
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: '9.1.2'
version: '9.4.0'
run_install: false

- name: Get pnpm store directory
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: '9.1.2'
version: '9.4.0'
run_install: false

- name: Get pnpm store directory
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: '9.1.2'
version: '9.4.0'
run_install: false

- name: Get pnpm store directory
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview-docs-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: '9.1.2'
version: '9.4.0'
run_install: false

- name: Get pnpm store directory
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/production-docs-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: '9.1.2'
version: '9.4.0'
run_install: false

- name: Get pnpm store directory
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: '9.1.2'
version: '9.4.0'
run_install: false

- name: Get pnpm store directory
Expand Down
6 changes: 1 addition & 5 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { transformerTwoslash } from '@shikijs/vitepress-twoslash'
import { BiDirectionalLinks } from '@nolebase/markdown-it-bi-directional-links'
import { InlineLinkPreviewElementTransform } from '@nolebase/vitepress-plugin-inline-link-preview/markdown-it'
import { buildEndGenerateOpenGraphImages } from '@nolebase/vitepress-plugin-og-image/vitepress'
import type { UnlazyImagesOptions } from '@nolebase/markdown-it-unlazy-img'
import { UnlazyImages } from '@nolebase/markdown-it-unlazy-img'
import { transformHeadMeta } from '@nolebase/vitepress-plugin-meta/vitepress'

Expand Down Expand Up @@ -410,18 +409,15 @@ export default defineConfig({
}),
],
preConfig(md) {
// @ts-expect-error unmatched types for vitepress
md.use(BiDirectionalLinks({
dir: cwd(),
}))
// @ts-expect-error unmatched types for vitepress
md.use(UnlazyImages(), {
imgElementTag: 'NolebaseUnlazyImg',
} as UnlazyImagesOptions)
})
},
config(md) {
md.use(MarkdownItFootnote)
// @ts-expect-error unmatched types for vitepress
md.use(InlineLinkPreviewElementTransform)
},
},
Expand Down
20 changes: 10 additions & 10 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"docs:preview": "vitepress preview"
},
"devDependencies": {
"@iconify-json/carbon": "^1.1.34",
"@iconify-json/carbon": "^1.1.36",
"@iconify-json/fluent-emoji": "^1.1.18",
"@iconify-json/icon-park-outline": "^1.1.15",
"@iconify-json/octicon": "^1.1.54",
"@iconify-json/octicon": "^1.1.55",
"@iconify-json/svg-spinners": "^1.1.2",
"@nolebase/markdown-it-bi-directional-links": "workspace:^",
"@nolebase/markdown-it-element-transform": "workspace:^",
Expand All @@ -33,19 +33,19 @@
"@nolebase/vitepress-plugin-og-image": "workspace:^",
"@nolebase/vitepress-plugin-page-properties": "workspace:^",
"@nolebase/vitepress-plugin-thumbnail-hash": "workspace:^",
"@rive-app/canvas": "^2.16.0",
"@rive-app/canvas": "^2.18.0",
"@rollup/plugin-yaml": "^4.1.2",
"@shikijs/vitepress-twoslash": "^1.6.1",
"@types/markdown-it": "^14.0.0",
"@shikijs/vitepress-twoslash": "^1.9.0",
"@types/markdown-it": "^14.1.1",
"@types/markdown-it-footnote": "^3.0.4",
"@vueuse/motion": "^2.1.0",
"asciinema-player": "^3.7.1",
"@vueuse/motion": "^2.2.3",
"asciinema-player": "^3.8.0",
"colorette": "^2.0.20",
"markdown-it": "^14.0.0",
"markdown-it": "^14.1.0",
"markdown-it-footnote": "^4.0.0",
"motion": "^10.17.0",
"motion": "^10.18.0",
"thumbhash": "^0.1.1",
"unlazy": "^0.11.3",
"vite-plugin-vue-devtools": "^7.1.3"
"vite-plugin-vue-devtools": "^7.3.4"
}
}
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": "@nolebase/integrations",
"type": "module",
"version": "2.1.2",
"packageManager": "pnpm@9.1.2",
"packageManager": "pnpm@9.4.0",
"description": "A collection of diverse documentation engineering tools.",
"author": {
"name": "Nólëbase",
Expand Down Expand Up @@ -36,29 +36,29 @@
"test:run": "vitest run"
},
"devDependencies": {
"@antfu/eslint-config": "^2.18.1",
"@antfu/eslint-config": "^2.21.1",
"@antfu/ni": "^0.21.12",
"@types/node": "^20.12.12",
"@types/node": "^20.14.8",
"@unocss/cli": "^0.59.4",
"@unocss/eslint-config": "^0.58.9",
"@unocss/eslint-plugin": "^0.58.9",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue": "^5.0.5",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"@vueuse/core": "^10.9.0",
"@vueuse/core": "^10.11.0",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"less": "^4.2.0",
"rimraf": "^5.0.7",
"typescript": "^5.4.5",
"typescript": "^5.5.2",
"unbuild": "^2.0.0",
"unocss": "^0.57.7",
"unplugin-vue-macros": "^2.9.2",
"vite": "5.2.11",
"unplugin-vue-macros": "^2.9.5",
"vite": "^5.3.1",
"vite-plugin-inspect": "^0.8.4",
"vitepress": "^1.2.2",
"vitepress": "^1.2.3",
"vitest": "^1.6.0",
"vue": "^3.4.27",
"vue": "^3.4.30",
"vue-tsc": "^1.8.27"
},
"workspaces": [
Expand Down
6 changes: 3 additions & 3 deletions packages/markdown-it-bi-directional-links/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@
},
"dependencies": {
"colorette": "^2.0.20",
"debug": "^4.3.4",
"glob": "^10.4.1"
"debug": "^4.3.5",
"glob": "^10.4.2"
},
"devDependencies": {
"@types/debug": "^4.1.12",
"@types/markdown-it": "^14.0.0"
"@types/markdown-it": "^14.1.1"
}
}
2 changes: 1 addition & 1 deletion packages/markdown-it-element-transform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@
"markdown-it": ">=14.0.0"
},
"devDependencies": {
"@types/markdown-it": "^14.0.0"
"@types/markdown-it": "^14.1.1"
}
}
6 changes: 3 additions & 3 deletions packages/markdown-it-unlazy-img/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
},
"dependencies": {
"colorette": "^2.0.20",
"glob": "^10.4.1",
"vite": "5.2.11"
"glob": "^10.4.2",
"vite": "^5.3.1"
},
"devDependencies": {
"@types/markdown-it": "^14.0.0"
"@types/markdown-it": "^14.1.1"
}
}
13 changes: 4 additions & 9 deletions packages/ui-asciinema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,12 @@
"package:publish": "pnpm build && pnpm publish --access public --no-git-checks"
},
"peerDependencies": {
"asciinema-player": "^3.7.1",
"vitepress": "^1.2.2",
"vue": "^3.4.27"
},
"peerDependenciesMeta": {
"vitepress": {
"optional": true
}
"asciinema-player": "^3.7.1"
},
"dependencies": {
"less": "^4.2.0"
"less": "^4.2.0",
"vitepress": "^1.2.3",
"vue": "^3.4.27"
},
"devDependencies": {
"@vue/tsconfig": "^0.5.1"
Expand Down
13 changes: 4 additions & 9 deletions packages/ui-rive-canvas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,12 @@
"package:publish": "pnpm build && pnpm publish --access public --no-git-checks"
},
"peerDependencies": {
"@rive-app/canvas": "^2.11.1",
"vitepress": "^1.2.2",
"vue": "^3.4.27"
},
"peerDependenciesMeta": {
"vitepress": {
"optional": true
}
"@rive-app/canvas": "^2.11.1"
},
"dependencies": {
"less": "^4.2.0"
"less": "^4.2.0",
"vitepress": "^1.2.3",
"vue": "^3.4.27"
},
"devDependencies": {
"@vue/tsconfig": "^0.5.1"
Expand Down
15 changes: 4 additions & 11 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,11 @@
"build": "unbuild",
"package:publish": "pnpm build && pnpm publish --access public --no-git-checks"
},
"peerDependencies": {
"vitepress": "^1.2.2",
"vue": "^3.4.27"
},
"peerDependenciesMeta": {
"vitepress": {
"optional": true
}
},
"dependencies": {
"@iconify-json/octicon": "^1.1.54",
"less": "^4.2.0"
"@iconify-json/octicon": "^1.1.55",
"less": "^4.2.0",
"vitepress": "^1.2.3",
"vue": "^3.4.27"
},
"devDependencies": {
"@vue/tsconfig": "^0.5.1"
Expand Down
6 changes: 2 additions & 4 deletions packages/unconfig-vitepress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@
"stub": "unbuild --stub",
"build": "unbuild"
},
"peerDependencies": {
"vitepress": "^1.2.2"
},
"dependencies": {
"@nolebase/vitepress-plugin-enhanced-mark": "workspace:^",
"@nolebase/vitepress-plugin-enhanced-readabilities": "workspace:^",
Expand All @@ -65,7 +62,8 @@
"@nolebase/vitepress-plugin-highlight-targeted-heading": "workspace:^",
"@nolebase/vitepress-plugin-inline-link-preview": "workspace:^",
"@nolebase/vitepress-plugin-page-properties": "workspace:^",
"@nolebase/vitepress-plugin-thumbnail-hash": "workspace:^"
"@nolebase/vitepress-plugin-thumbnail-hash": "workspace:^",
"vitepress": "^1.2.3"
},
"devDependencies": {
"builtin-modules": "^3.3.0"
Expand Down
6 changes: 2 additions & 4 deletions packages/vitepress-plugin-enhanced-mark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,8 @@
"build": "unbuild",
"package:publish": "pnpm build && pnpm publish --access public --no-git-checks"
},
"peerDependencies": {
"vitepress": "^1.2.2"
},
"dependencies": {
"less": "^4.2.0"
"less": "^4.2.0",
"vitepress": "^1.2.3"
}
}
8 changes: 3 additions & 5 deletions packages/vitepress-plugin-enhanced-readabilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,12 @@
"build": "unbuild",
"package:publish": "pnpm build && pnpm publish --access public --no-git-checks"
},
"peerDependencies": {
"vitepress": "^1.2.2"
},
"dependencies": {
"@iconify-json/carbon": "^1.1.34",
"@iconify-json/carbon": "^1.1.36",
"@iconify-json/icon-park-outline": "^1.1.15",
"@nolebase/ui": "workspace:^",
"less": "^4.2.0"
"less": "^4.2.0",
"vitepress": "^1.2.3"
},
"devDependencies": {
"@rollup/plugin-yaml": "^4.1.2"
Expand Down
8 changes: 3 additions & 5 deletions packages/vitepress-plugin-git-changelog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,8 @@
"build": "unbuild",
"package:publish": "pnpm build && pnpm publish --access public --no-git-checks"
},
"peerDependencies": {
"vitepress": "^1.2.2"
},
"dependencies": {
"@iconify-json/octicon": "^1.1.54",
"@iconify-json/octicon": "^1.1.55",
"@nolebase/ui": "workspace:^",
"colorette": "^2.0.20",
"date-fns": "^3.6.0",
Expand All @@ -84,7 +81,8 @@
"gray-matter": "^4.0.3",
"less": "^4.2.0",
"ora": "^8.0.1",
"uncrypto": "^0.1.3"
"uncrypto": "^0.1.3",
"vitepress": "^1.2.3"
},
"devDependencies": {
"@rollup/plugin-yaml": "^4.1.2",
Expand Down
10 changes: 4 additions & 6 deletions packages/vitepress-plugin-graph-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,18 @@
"stub": "unbuild --stub",
"build": "unbuild"
},
"peerDependencies": {
"vitepress": "^1.2.2"
},
"dependencies": {
"colorette": "^2.0.20",
"d3": "^7.9.0",
"d3-force": "^3.0.0",
"glob": "^10.4.1",
"glob": "^10.4.2",
"less": "^4.2.0",
"ora": "^8.0.1"
"ora": "^8.0.1",
"vitepress": "^1.2.3"
},
"devDependencies": {
"@types/d3": "^7.4.3",
"@types/d3-force": "^3.0.9",
"@types/d3-force": "^3.0.10",
"builtin-modules": "^3.3.0",
"fs-extra": "^11.2.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,8 @@
"build": "unbuild",
"package:publish": "pnpm build && pnpm publish --access public --no-git-checks"
},
"peerDependencies": {
"vitepress": "^1.2.2"
},
"dependencies": {
"less": "^4.2.0"
"less": "^4.2.0",
"vitepress": "^1.2.3"
}
}
Loading
Loading