Skip to content

Commit

Permalink
feat: introducing bumpp to help releasing
Browse files Browse the repository at this point in the history
Signed-off-by: Neko Ayaka <[email protected]>
  • Loading branch information
nekomeowww committed Oct 9, 2024
1 parent c7ed51c commit b7e9ad8
Show file tree
Hide file tree
Showing 7 changed files with 198 additions and 62 deletions.
6 changes: 6 additions & 0 deletions bump.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { defineConfig } from 'bumpp'

export default defineConfig({
recursive: true,
commit: 'release: v%s',
})
30 changes: 21 additions & 9 deletions docs/pages/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ features:
details: From the perspective of documentation engineering, solve and simplify some UX/DX problems, aiming to let creators focus on writing documents, notes, making cards and GTD!
---

<script setup>
import biDirectionalLinksPackageJSON from '~/packages/markdown-it-bi-directional-links/package.json'
import elementTransform from '~/packages/markdown-it-element-transform/package.json'
import unlazyImg from '~/packages/markdown-it-unlazy-img/package.json'
import enhancedReadabilities from '~/packages/vitepress-plugin-enhanced-readabilities/package.json'
import inlineLinkPreview from '~/packages/vitepress-plugin-inline-link-preview/package.json'
import highlightTargetedHeading from '~/packages/vitepress-plugin-highlight-targeted-heading/package.json'
import gitChangelog from '~/packages/vitepress-plugin-git-changelog/package.json'
import enhancedMark from '~/packages/vitepress-plugin-enhanced-mark/package.json'
import thumbnailHash from '~/packages/vitepress-plugin-thumbnail-hash/package.json'
</script>

<HomeContent>

## Integrations List
Expand All @@ -43,43 +55,43 @@ Nólëbase Integrations project provides a variety of integrations, plugins, com
<div class="grid gap-5 lg:grid-cols-2 max-w-172 lg:max-w-none mx-auto">
<IntegrationCard type="markdown-it" title="Bi-Directional Links" package="markdown-it-bi-directional-links">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${biDirectionalLinksPackageJSON.version}`" />
</template>
</IntegrationCard>

<IntegrationCard type="markdown-it" title="Elements Transformation" package="markdown-it-element-transform">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${elementTransform.version}`" />
</template>
</IntegrationCard>

<IntegrationCard type="markdown-it" title="Lazy loading blurred thumbnails" package="markdown-it-unlazy-img">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${unlazyImg.version}`" />
</template>
</IntegrationCard>

<IntegrationCard type="vitepress" title="Enhanced Readabilities" package="vitepress-plugin-enhanced-readabilities">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${enhancedReadabilities.version}`" />
</template>
</IntegrationCard>

<IntegrationCard type="vitepress" title="Inline Link Previewing" package="vitepress-plugin-inline-link-preview">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${inlineLinkPreview.version}`" />
</template>
</IntegrationCard>

<IntegrationCard type="vitepress" title="Blinking highlight targeted heading" package="vitepress-plugin-highlight-targeted-heading">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${highlightTargetedHeading.version}`" />
</template>
</IntegrationCard>

<IntegrationCard type="vitepress" title="Git-based page histories" package="vitepress-plugin-git-changelog">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${gitChangelog.version}`" />
</template>
</IntegrationCard>

Expand Down Expand Up @@ -109,13 +121,13 @@ Nólëbase Integrations project provides a variety of integrations, plugins, com
Enhanced <code>&lt;mark&gt;</code> elements
</template>
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${enhancedMark.version}`" />
</template>
</IntegrationCard>

<IntegrationCard type="vitepress" title="Thumbnail hashing for images" package="vitepress-plugin-thumbnail-hash">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${thumbnailHash.version}`" />
</template>
</IntegrationCard>

Expand Down
30 changes: 21 additions & 9 deletions docs/pages/en/integrations/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
<script setup>
import biDirectionalLinksPackageJSON from '~/packages/markdown-it-bi-directional-links/package.json'
import elementTransform from '~/packages/markdown-it-element-transform/package.json'
import unlazyImg from '~/packages/markdown-it-unlazy-img/package.json'
import enhancedReadabilities from '~/packages/vitepress-plugin-enhanced-readabilities/package.json'
import inlineLinkPreview from '~/packages/vitepress-plugin-inline-link-preview/package.json'
import highlightTargetedHeading from '~/packages/vitepress-plugin-highlight-targeted-heading/package.json'
import gitChangelog from '~/packages/vitepress-plugin-git-changelog/package.json'
import enhancedMark from '~/packages/vitepress-plugin-enhanced-mark/package.json'
import thumbnailHash from '~/packages/vitepress-plugin-thumbnail-hash/package.json'
</script>

# Integrations

Welcome to the integrations section of the documentation!
Expand All @@ -8,55 +20,55 @@ Nólëbase Integrations project provides a variety of integrations, plugins, com

<IntegrationCard type="markdown-it" title="Bi-Directional Links" package="markdown-it-bi-directional-links">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${biDirectionalLinksPackageJSON.version}`" />
</template>
</IntegrationCard>

<br />

<IntegrationCard type="markdown-it" title="Elements Transformation" package="markdown-it-element-transform">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${elementTransform.version}`" />
</template>
</IntegrationCard>

<br />

<IntegrationCard type="markdown-it" title="Lazy loading blurred thumbnails" package="markdown-it-unlazy-img">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${unlazyImg.version}`" />
</template>
</IntegrationCard>

<br />

<IntegrationCard type="vitepress" title="Enhanced Readabilities" package="vitepress-plugin-enhanced-readabilities">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${enhancedReadabilities.version}`" />
</template>
</IntegrationCard>

<br />

<IntegrationCard type="vitepress" title="Inline Link Previewing" package="vitepress-plugin-inline-link-preview">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${inlineLinkPreview.version}`" />
</template>
</IntegrationCard>

<br />

<IntegrationCard type="vitepress" title="Blinking highlight targeted heading" package="vitepress-plugin-highlight-targeted-heading">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${highlightTargetedHeading.version}`" />
</template>
</IntegrationCard>

<br />

<IntegrationCard type="vitepress" title="Git-based page histories" package="vitepress-plugin-git-changelog">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${gitChangelog.version}`" />
</template>
</IntegrationCard>

Expand Down Expand Up @@ -94,15 +106,15 @@ Nólëbase Integrations project provides a variety of integrations, plugins, com
Enhanced <code>&lt;mark&gt;</code> elements
</template>
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${enhancedMark.version}`" />
</template>
</IntegrationCard>

<br />

<IntegrationCard type="vitepress" title="Thumbnail hashing for images" package="vitepress-plugin-thumbnail-hash">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${thumbnailHash.version}`" />
</template>
</IntegrationCard>

Expand Down
30 changes: 21 additions & 9 deletions docs/pages/zh-CN/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ features:
details: 从文档工程的角度出发,解决和简化若干 UX/DX 的问题和困境,旨在让创作者更好地专注于撰写文档、笔记、制作卡片以及 GTD。
---

<script setup>
import biDirectionalLinksPackageJSON from '~/packages/markdown-it-bi-directional-links/package.json'
import elementTransform from '~/packages/markdown-it-element-transform/package.json'
import unlazyImg from '~/packages/markdown-it-unlazy-img/package.json'
import enhancedReadabilities from '~/packages/vitepress-plugin-enhanced-readabilities/package.json'
import inlineLinkPreview from '~/packages/vitepress-plugin-inline-link-preview/package.json'
import highlightTargetedHeading from '~/packages/vitepress-plugin-highlight-targeted-heading/package.json'
import gitChangelog from '~/packages/vitepress-plugin-git-changelog/package.json'
import enhancedMark from '~/packages/vitepress-plugin-enhanced-mark/package.json'
import thumbnailHash from '~/packages/vitepress-plugin-thumbnail-hash/package.json'
</script>

<HomeContent>

## 集成列表
Expand All @@ -43,43 +55,43 @@ Nólëbase 集成项目提供多种不同的集成、插件、组件和库来方
<div class="grid gap-5 lg:grid-cols-2 max-w-172 lg:max-w-none mx-auto">
<IntegrationCard type="markdown-it" title="双向链接" package="markdown-it-bi-directional-links">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${biDirectionalLinksPackageJSON.version}`" />
</template>
</IntegrationCard>

<IntegrationCard type="markdown-it" title="元素转换" package="markdown-it-element-transform">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${elementTransform.version}`" />
</template>
</IntegrationCard>

<IntegrationCard type="markdown-it" title="懒加载模糊缩略图" package="markdown-it-unlazy-img">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${unlazyImg.version}`" />
</template>
</IntegrationCard>

<IntegrationCard type="vitepress" title="阅读增强" package="vitepress-plugin-enhanced-readabilities">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${enhancedReadabilities.version}`" />
</template>
</IntegrationCard>

<IntegrationCard type="vitepress" title="行内链接预览" package="vitepress-plugin-inline-link-preview">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${inlineLinkPreview.version}`" />
</template>
</IntegrationCard>

<IntegrationCard type="vitepress" title="闪烁高亮当前的目标标题" package="vitepress-plugin-highlight-targeted-heading">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${highlightTargetedHeading.version}`" />
</template>
</IntegrationCard>

<IntegrationCard type="vitepress" title="基于 Git 的页面历史" package="vitepress-plugin-git-changelog">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${gitChangelog.version}`" />
</template>
</IntegrationCard>

Expand Down Expand Up @@ -109,13 +121,13 @@ Nólëbase 集成项目提供多种不同的集成、插件、组件和库来方
<code>&lt;mark&gt;</code> 元素增强
</template>
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${enhancedMark.version}`" />
</template>
</IntegrationCard>

<IntegrationCard type="vitepress" title="缩略图模糊哈希生成" package="vitepress-plugin-thumbnail-hash">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${thumbnailHash.version}`" />
</template>
</IntegrationCard>

Expand Down
30 changes: 21 additions & 9 deletions docs/pages/zh-CN/integrations/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
<script setup>
import biDirectionalLinksPackageJSON from '~/packages/markdown-it-bi-directional-links/package.json'
import elementTransform from '~/packages/markdown-it-element-transform/package.json'
import unlazyImg from '~/packages/markdown-it-unlazy-img/package.json'
import enhancedReadabilities from '~/packages/vitepress-plugin-enhanced-readabilities/package.json'
import inlineLinkPreview from '~/packages/vitepress-plugin-inline-link-preview/package.json'
import highlightTargetedHeading from '~/packages/vitepress-plugin-highlight-targeted-heading/package.json'
import gitChangelog from '~/packages/vitepress-plugin-git-changelog/package.json'
import enhancedMark from '~/packages/vitepress-plugin-enhanced-mark/package.json'
import thumbnailHash from '~/packages/vitepress-plugin-thumbnail-hash/package.json'
</script>

# 集成

欢迎来到集成页面!
Expand All @@ -8,55 +20,55 @@ Nólëbase 集成项目提供多种不同的集成、插件、组件和库来方

<IntegrationCard type="markdown-it" title="双向链接" package="markdown-it-bi-directional-links">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${biDirectionalLinksPackageJSON.version}`" />
</template>
</IntegrationCard>

<br />

<IntegrationCard type="markdown-it" title="元素转换" package="markdown-it-element-transform">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${elementTransform.version}`" />
</template>
</IntegrationCard>

<br />

<IntegrationCard type="markdown-it" title="懒加载模糊缩略图" package="markdown-it-unlazy-img">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${unlazyImg.version}`" />
</template>
</IntegrationCard>

<br />

<IntegrationCard type="vitepress" title="阅读增强" package="vitepress-plugin-enhanced-readabilities">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${enhancedReadabilities.version}`" />
</template>
</IntegrationCard>

<br />

<IntegrationCard type="vitepress" title="行内链接预览" package="vitepress-plugin-inline-link-preview">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${inlineLinkPreview.version}`" />
</template>
</IntegrationCard>

<br />

<IntegrationCard type="vitepress" title="闪烁高亮当前的目标标题" package="vitepress-plugin-highlight-targeted-heading">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${highlightTargetedHeading.version}`" />
</template>
</IntegrationCard>

<br />

<IntegrationCard type="vitepress" title="基于 Git 的页面历史" package="vitepress-plugin-git-changelog">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${gitChangelog.version}`" />
</template>
</IntegrationCard>

Expand Down Expand Up @@ -94,15 +106,15 @@ Nólëbase 集成项目提供多种不同的集成、插件、组件和库来方
<code>&lt;mark&gt;</code> 元素增强
</template>
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${enhancedMark.version}`" />
</template>
</IntegrationCard>

<br />

<IntegrationCard type="vitepress" title="缩略图模糊哈希生成" package="vitepress-plugin-thumbnail-hash">
<template v-slot:badge>
<Badge type="tip" text="v2.5.0" />
<Badge type="tip" :text="`v${thumbnailHash.version}`" />
</template>
</IntegrationCard>

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"@vueuse/core": "^10.11.0",
"bumpp": "^9.5.2",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"less": "^4.2.0",
Expand Down
Loading

0 comments on commit b7e9ad8

Please sign in to comment.