From 50034b3ac1befa0c3473dc388d1261ef52284d9f Mon Sep 17 00:00:00 2001 From: hunghg255 Date: Thu, 18 Jul 2024 00:50:03 +0700 Subject: [PATCH] docs: update --- .github/workflows/prepublish.yml | 27 --------------------------- docs/.vitepress/locale.ts | 8 ++++++++ 2 files changed, 8 insertions(+), 27 deletions(-) delete mode 100644 .github/workflows/prepublish.yml diff --git a/.github/workflows/prepublish.yml b/.github/workflows/prepublish.yml deleted file mode 100644 index 8970801..0000000 --- a/.github/workflows/prepublish.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Publish Any Commit - -on: [pull_request] - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - pr-release: - runs-on: ubuntu-latest - - steps: - - name: Checkout Repo - uses: actions/checkout@v4 - - - name: Setup Continuous integration - uses: ./.github/cache - - - name: Enable corepack - run: corepack enable - - - name: Build - run: pnpm run build - - - name: Release for Pull request - run: pnpx pkg-pr-new publish diff --git a/docs/.vitepress/locale.ts b/docs/.vitepress/locale.ts index 708581e..5416c4a 100644 --- a/docs/.vitepress/locale.ts +++ b/docs/.vitepress/locale.ts @@ -148,11 +148,19 @@ export function getLocaleConfig(lang: string) { { text: t('Predicates'), items: [ + { text: 'isBoolean', link: '/reference/predicate/isBoolean' }, + { text: 'isDate', link: '/reference/predicate/isDate' }, { text: 'isEqual', link: '/reference/predicate/isEqual' }, + { text: 'isFunction', link: '/reference/predicate/isFunction' }, { text: 'isNil', link: '/reference/predicate/isNil' }, { text: 'isNotNil', link: '/reference/predicate/isNotNil' }, { text: 'isNull', link: '/reference/predicate/isNull' }, + { text: 'isNumber', link: '/reference/predicate/isNumber' }, + { text: 'isObject', link: '/reference/predicate/isObject' }, + { text: 'isRegExp', link: '/reference/predicate/isRegExp' }, + { text: 'isString', link: '/reference/predicate/isString' }, { text: 'isUndefined', link: '/reference/predicate/isUndefined' }, + { text: 'isWindow', link: '/reference/predicate/isWindow' }, ], }, {