mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
Merge branch 'main' into next
This commit is contained in:
commit
e91e507cc9
4
.github/workflows/changelog-and-release.yml
vendored
4
.github/workflows/changelog-and-release.yml
vendored
@ -89,7 +89,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install
|
||||||
- name: Run script
|
- name: Run script
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@ -101,6 +101,6 @@ jobs:
|
|||||||
if: ${{ steps.get-info.outputs.version == 'rc' }}
|
if: ${{ steps.get-info.outputs.version == 'rc' }}
|
||||||
run: |
|
run: |
|
||||||
git pull origin main
|
git pull origin main
|
||||||
git add .
|
git add CHANGELOG.md CHANGELOG.zh-CN.md
|
||||||
git commit -m "docs: update changelogs"
|
git commit -m "docs: update changelogs"
|
||||||
git push origin main
|
git push origin main
|
||||||
|
11
.github/workflows/manual-release-develop.yml
vendored
11
.github/workflows/manual-release-develop.yml
vendored
@ -55,12 +55,15 @@ jobs:
|
|||||||
do
|
do
|
||||||
git clone -b develop https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/nocobase/$repo.git packages/pro-plugins/@nocobase/$repo
|
git clone -b develop https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/nocobase/$repo.git packages/pro-plugins/@nocobase/$repo
|
||||||
done
|
done
|
||||||
- name: Set Node.js 18
|
- name: Set Node.js 20
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
- name: Install Lerna
|
- name: yarn install and build
|
||||||
run: npm install -g lerna@4 auto-changelog@2
|
run: |
|
||||||
|
yarn config set registry https://registry.npmjs.org/
|
||||||
|
yarn install
|
||||||
|
yarn build
|
||||||
- name: Run release.sh
|
- name: Run release.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
11
.github/workflows/manual-release-next.yml
vendored
11
.github/workflows/manual-release-next.yml
vendored
@ -100,12 +100,15 @@ jobs:
|
|||||||
do
|
do
|
||||||
git clone -b next https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/nocobase/$repo.git packages/pro-plugins/@nocobase/$repo
|
git clone -b next https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/nocobase/$repo.git packages/pro-plugins/@nocobase/$repo
|
||||||
done
|
done
|
||||||
- name: Set Node.js 18
|
- name: Set Node.js 20
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
- name: Install Lerna
|
- name: yarn install and build
|
||||||
run: npm install -g lerna@4 auto-changelog@2
|
run: |
|
||||||
|
yarn config set registry https://registry.npmjs.org/
|
||||||
|
yarn install
|
||||||
|
yarn build
|
||||||
- name: Run release.sh
|
- name: Run release.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
11
.github/workflows/manual-release.yml
vendored
11
.github/workflows/manual-release.yml
vendored
@ -94,12 +94,15 @@ jobs:
|
|||||||
do
|
do
|
||||||
git clone -b main https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/nocobase/$repo.git packages/pro-plugins/@nocobase/$repo
|
git clone -b main https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/nocobase/$repo.git packages/pro-plugins/@nocobase/$repo
|
||||||
done
|
done
|
||||||
- name: Set Node.js 18
|
- name: Set Node.js 20
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
- name: Install Lerna
|
- name: yarn install and build
|
||||||
run: npm install -g lerna@4 auto-changelog@2
|
run: |
|
||||||
|
yarn config set registry https://registry.npmjs.org/
|
||||||
|
yarn install
|
||||||
|
yarn build
|
||||||
- name: Run release.sh
|
- name: Run release.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
@ -398,7 +398,7 @@ export const DataBlockInitializer: FC<DataBlockInitializerProps> = (props) => {
|
|||||||
] as MenuProps['items'];
|
] as MenuProps['items'];
|
||||||
}, [searchedChildren, hideChildrenIfSingleCollection, name, compile, title, icon, onClick, props]);
|
}, [searchedChildren, hideChildrenIfSingleCollection, name, compile, title, icon, onClick, props]);
|
||||||
|
|
||||||
if (childItems.length > 1 || (childItems.length === 1 && childItems[0].children?.length > 0)) {
|
if (childItems.length > 1 || (childItems.length === 1 && childItems[0].children)) {
|
||||||
return (
|
return (
|
||||||
<SchemaInitializerMenu
|
<SchemaInitializerMenu
|
||||||
onOpenChange={(keys) => {
|
onOpenChange={(keys) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user