chore(release): release v0.21.11

This commit is contained in:
sealday 2024-04-15 23:04:43 +08:00
parent 27d43eee28
commit 2733e513d2
125 changed files with 156 additions and 191 deletions

View File

@ -1,7 +0,0 @@
---
"@hera/plugin-rental": patch
"@nocobase/client": patch
"@nocobase/utils": patch
---
support fuzzy search in cascader

View File

@ -1,5 +0,0 @@
---
"@hera/plugin-rental": patch
---
结算单增加订单数量字段

View File

@ -1,5 +0,0 @@
---
"@hera/plugin-rental": patch
---
合同结算单结束时间取当天的结束时间

View File

@ -1,5 +0,0 @@
---
"@hera/plugin-mobile": patch
---
修改mobile组件同名切换问题文本切换阈值时间范围

View File

@ -1,13 +1,18 @@
FROM node:20-bullseye as builder
ARG VERDACCIO_URL=https://npm.daoyoucloud.com/
FROM node:20-bullseye-slim as base
RUN apt-get update && apt-get install -y nginx
RUN rm -rf /etc/nginx/sites-enabled/default
COPY ./docker/nocobase/nocobase.conf /etc/nginx/sites-enabled/nocobase.conf
FROM node:20-bullseye as build-template-app
ARG NPM_REGISTRY=https://registry.npmjs.org/
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
WORKDIR /app
RUN cd /app && npx --registry $VERDACCIO_URL create-nocobase-app@0.21.6 my-nocobase-app -a -e APP_ENV=production
RUN pnpm config set registry $VERDACCIO_URL
RUN cd /app && npx --registry $NPM_REGISTRY create-tachybase-app@0.21.11 my-nocobase-app -a -e APP_ENV=production
RUN pnpm config set registry $NPM_REGISTRY
RUN --mount=type=cache,id=pnpm,target=/pnpm/store cd /app/my-nocobase-app && pnpm install --production
WORKDIR /app/my-nocobase-app
@ -17,12 +22,8 @@ RUN cd /app \
&& rm -rf nocobase.tar.gz \
&& tar -zcf ./nocobase.tar.gz -C /app/my-nocobase-app .
FROM node:20-bullseye-slim
RUN apt-get update && apt-get install -y nginx
RUN rm -rf /etc/nginx/sites-enabled/default
COPY ./docker/nocobase/nocobase.conf /etc/nginx/sites-enabled/nocobase.conf
COPY --from=builder /app/nocobase.tar.gz /app/nocobase.tar.gz
FROM base AS build-app
COPY --from=build-template-app /app/nocobase.tar.gz /app/nocobase.tar.gz
WORKDIR /app/nocobase
@ -33,6 +34,6 @@ COPY ./docker/nocobase/docker-entrypoint.sh /app/
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
RUN pnpm config set registry $VERDACCIO_URL
RUN pnpm config set registry $NPM_REGISTRY
CMD ["/app/docker-entrypoint.sh"]

View File

@ -1,43 +0,0 @@
FROM node:18-bullseye-slim as builder
WORKDIR /app
RUN cd /app \
&& yarn config set network-timeout 600000 -g \
&& yarn create nocobase-app my-nocobase-app -a -e APP_ENV=production \
&& cd /app/my-nocobase-app \
&& yarn install --production
RUN cd /app \
&& rm -rf nocobase.tar.gz \
&& tar -zcf ./nocobase.tar.gz -C /app/my-nocobase-app .
FROM node:18-bullseye-slim
# COPY ./sources.list /etc/apt/sources.list
RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
&& case "${dpkgArch##*-}" in \
amd64) ARCH='x64';; \
ppc64el) ARCH='ppc64le';; \
s390x) ARCH='s390x';; \
arm64) ARCH='arm64';; \
armhf) ARCH='armv7l';; \
i386) ARCH='x86';; \
*) echo "unsupported architecture"; exit 1 ;; \
esac \
&& set -ex \
# libatomic1 for arm
&& apt-get update && apt-get install -y nginx
RUN rm -rf /etc/nginx/sites-enabled/default
COPY --from=builder /app/nocobase.tar.gz /app/nocobase.tar.gz
WORKDIR /app/nocobase
COPY docker-entrypoint.sh /app/
# COPY docker-entrypoint.sh /usr/local/bin/
# ENTRYPOINT ["docker-entrypoint.sh"]
EXPOSE 80/tcp
CMD ["/app/docker-entrypoint.sh"]

View File

@ -1,8 +0,0 @@
deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch main non-free contrib
deb http://mirrors.aliyun.com/debian-security stretch/updates main
deb-src http://mirrors.aliyun.com/debian-security stretch/updates main
deb http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib
#deb http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib
#deb-src http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib

View File

@ -1,6 +1,6 @@
{
"name": "tachybase",
"version": "0.21.7",
"version": "0.21.11",
"private": true,
"license": "Apache-2.0",
"scripts": {

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/acl",
"version": "0.21.7",
"version": "0.21.11",
"description": "",
"repository": {
"type": "git",

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/actions",
"version": "0.21.7",
"version": "0.21.11",
"description": "",
"repository": {
"type": "git",

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/app",
"version": "0.21.7",
"version": "0.21.11",
"description": "",
"repository": {
"type": "git",

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/auth",
"version": "0.21.7",
"version": "0.21.11",
"description": "",
"repository": {
"type": "git",

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/build",
"version": "0.21.7",
"version": "0.21.11",
"description": "Library build tool based on rollup.",
"license": "Apache-2.0",
"main": "lib/index.js",

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/cache",
"version": "0.21.7",
"version": "0.21.11",
"description": "",
"repository": {
"type": "git",

View File

@ -1,6 +1,6 @@
{
"name": "@tachybase/cli",
"version": "0.21.7",
"version": "0.21.11",
"description": "",
"license": "Apache-2.0",
"type": "module",
@ -19,6 +19,7 @@
"@nocobase/utils": "workspace:*",
"@types/fs-extra": "^11.0.1",
"@umijs/utils": "3.5.20",
"axios": "^1.6.8",
"chalk": "^5.3.0",
"commander": "^12.0.0",
"dotenv": "^16.0.0",

View File

@ -44,7 +44,8 @@ const configs = defineConfig([
dir: 'dist',
format: 'esm',
entryFileNames: '[name].mjs',
chunkFileNames: 'chunk-[name].mjs',
preserveModules: true,
preserveModulesRoot: './src',
},
external,
plugins,
@ -58,6 +59,8 @@ if (!process.env.BUILD_NO_DTS) {
output: {
dir: 'dist',
entryFileNames: '[name].d.ts',
preserveModules: true,
preserveModulesRoot: './src',
format: 'esm',
},
external,

View File

@ -1,6 +1,9 @@
import { resolve } from 'path';
import { Command } from 'commander';
import { readFileSync, writeFileSync } from 'fs';
import { URL } from 'url';
const __dirname = new URL('.', import.meta.url).pathname;
export default (cli: Command) => {
cli.command('create-nginx-conf').action(async (name, options) => {

View File

@ -5,6 +5,9 @@ import { Generator } from '@umijs/utils';
import { readFile } from 'fs/promises';
import { genTsConfigPaths } from './util';
import { execa } from 'execa';
import { URL } from 'url';
const __dirname = new URL('.', import.meta.url).pathname;
function camelize(str: string) {
return str.trim().replace(/[-_\s]+(.)?/g, (match, c) => c.toUpperCase());

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/client",
"version": "0.21.7",
"version": "0.21.11",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.mjs",

View File

@ -1,15 +1,10 @@
{
"name": "create-nocobase-app",
"version": "0.21.7",
"repository": {
"type": "git",
"url": "git+https://github.com/nocobase/nocobase.git",
"directory": "packages/core/create-nocobase-app"
},
"name": "create-tachybase-app",
"version": "0.21.11",
"license": "Apache-2.0",
"main": "src/index.js",
"bin": {
"create-nocobase-app": "./bin/index.js"
"create-tachybase-app": "./bin/index.js"
},
"dependencies": {
"@umijs/utils": "3.5.20",

View File

@ -5,16 +5,17 @@
"node": ">=18"
},
"scripts": {
"nocobase": "nocobase",
"pm": "nocobase pm",
"dev": "nocobase dev",
"start": "nocobase start",
"clean": "nocobase clean",
"build": "nocobase build",
"test": "nocobase test",
"e2e": "nocobase e2e",
"tar": "nocobase tar",
"postinstall": "nocobase postinstall",
"tachybase": "tachybase",
"tb": "tachybase",
"pm": "tachybase pm",
"dev": "tachybase dev",
"start": "tachybase start",
"clean": "tachybase clean",
"build": "tachybase build",
"test": "tachybase test",
"e2e": "tachybase e2e",
"tar": "tachybase tar",
"postinstall": "tachybase postinstall",
"lint": "eslint ."
},
"resolutions": {
@ -25,7 +26,7 @@
"pm2": "^5.2.0",
"@tachybase/preset-tachybase": "{{{version}}}",
"@nocobase/build": "{{{version}}}",
"@tachycode/cli": "{{{version}}}",
"@tachybase/cli": "{{{version}}}",
{{{dependencies}}}
},
"devDependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/data-source-manager",
"version": "0.21.7",
"version": "0.21.11",
"description": "",
"repository": {
"type": "git",

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/database",
"version": "0.21.7",
"version": "0.21.11",
"description": "",
"repository": {
"type": "git",

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/devtools",
"version": "0.21.7",
"version": "0.21.11",
"description": "",
"repository": {
"type": "git",

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/evaluators",
"version": "0.21.7",
"version": "0.21.11",
"description": "",
"repository": {
"type": "git",

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/logger",
"version": "0.21.7",
"version": "0.21.11",
"description": "nocobase logging library",
"repository": {
"type": "git",

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/resourcer",
"version": "0.21.7",
"version": "0.21.11",
"description": "",
"repository": {
"type": "git",

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/schema",
"version": "0.21.7",
"version": "0.21.11",
"license": "Apache-2.0",
"main": "lib/index.js",
"types": "lib/index.d.ts",

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/sdk",
"version": "0.21.7",
"version": "0.21.11",
"license": "Apache-2.0",
"main": "lib/index.js",
"types": "lib/index.d.ts",

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/server",
"version": "0.21.7",
"version": "0.21.11",
"license": "Apache-2.0",
"main": "lib/index.js",
"types": "./lib/index.d.ts",

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/telemetry",
"version": "0.21.7",
"version": "0.21.11",
"description": "nocobase telemetry library",
"repository": {
"type": "git",

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/test",
"version": "0.21.7",
"version": "0.21.11",
"license": "Apache-2.0",
"exports": {
".": {

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/utils",
"version": "0.21.7",
"version": "0.21.11",
"license": "Apache-2.0",
"main": "lib/index.js",
"types": "./lib/index.d.ts",

View File

@ -1,7 +1,7 @@
{
"name": "@hera/plugin-approval",
"displayName": "Workflow: Approval Center",
"version": "0.1.1",
"version": "0.1.5",
"description": "Can configure a universal approval process to complete the complete approval process in the approval center.",
"main": "dist/server/index.js",
"devDependencies": {

View File

@ -1,7 +1,7 @@
{
"name": "@hera/plugin-audit-logs",
"displayName": "Audit logs",
"version": "1.0.10",
"version": "1.0.14",
"description": "Audit logs.",
"keywords": [
"System management"

View File

@ -1,7 +1,7 @@
{
"name": "@hera/plugin-core",
"displayName": "Hera platform",
"version": "1.7.10",
"version": "1.7.14",
"description": "Hera platform as nocobase plugin.",
"keywords": [
"System management"

View File

@ -1,7 +1,7 @@
{
"name": "@hera/plugin-mobile",
"displayName": "Mobile client: Customization",
"version": "1.1.2",
"version": "1.1.6",
"description": "Provides the ability to configure mobile pages,more professional.",
"main": "dist/server/index.js",
"devDependencies": {

View File

@ -1,7 +1,7 @@
{
"name": "@hera/plugin-rental",
"displayName": "professional construction materials rental system - customized based on hera",
"version": "1.7.14",
"version": "1.7.18",
"description": "Offering a standardized leasing management system, encompassing comprehensive administration from materials to contracts to labor personnel, while providing a robust financial management mechanism, and real-time monitoring of the operational capacity of the leasing system.",
"keywords": [
"System management"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-acl",
"displayName": "Access control",
"version": "0.21.7",
"version": "0.21.11",
"description": "Based on roles, resources, and actions, access control can precisely manage interface configuration permissions, data operation permissions, menu access permissions, and plugin permissions.",
"keywords": [
"Users & permissions"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-action-bulk-edit",
"displayName": "Action: Batch edit",
"version": "0.21.7",
"version": "0.21.11",
"description": "Batch edit all records or selected records.",
"keywords": [
"Actions"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-action-bulk-update",
"displayName": "Action: Batch update",
"version": "0.21.7",
"version": "0.21.11",
"description": "Batch update all records or selected records.",
"keywords": [
"Actions"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-action-duplicate",
"displayName": "Action: Duplicate record",
"version": "0.21.7",
"version": "0.21.11",
"description": "Duplicate a record, you can either duplicate it into a form and edit it before saving it, or you can duplicate it directly to generate a new record.",
"keywords": [
"Actions"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-action-print",
"displayName": "Action: Print",
"version": "0.21.7",
"version": "0.21.11",
"description": "Calls the browser's print function to print a record.",
"keywords": [
"Actions"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-api-doc",
"displayName": "API documentation",
"version": "0.21.7",
"version": "0.21.11",
"description": "An OpenAPI documentation generator for NocoBase HTTP API.",
"homepage": "https://docs.nocobase.com/handbook/api-doc",
"repository": {

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-api-keys",
"displayName": "Auth: API keys",
"version": "0.21.7",
"version": "0.21.11",
"description": "Allows users to use API key to access application's HTTP API",
"keywords": [
"Authentication"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-auth",
"displayName": "Authentication",
"version": "0.21.7",
"version": "0.21.11",
"description": "User authentication management, including password, SMS, and support for Single Sign-On (SSO) protocols, with extensibility.",
"keywords": [
"Authentication"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-backup-restore",
"displayName": "App backup & restore",
"version": "0.21.7",
"version": "0.21.11",
"description": "Backup and restore applications for scenarios such as application replication, migration, and upgrades.",
"keywords": [
"System management"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-calendar",
"displayName": "Calendar",
"version": "0.21.7",
"version": "0.21.11",
"description": "Provides callendar collection template and block for managing date data, typically for date/time related information such as events, appointments, tasks, and so on.",
"keywords": [
"Collections",

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-cas",
"displayName": "Auth: CAS",
"version": "0.21.7",
"version": "0.21.11",
"description": "CAS authentication.",
"keywords": [
"Authentication"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-charts",
"displayName": "Charts (deprecated)",
"version": "0.21.7",
"version": "0.21.11",
"description": "The plugin has been deprecated, please use the data visualization plugin instead.",
"license": "AGPL-3.0",
"main": "./dist/server/index.js",

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-china-region",
"displayName": "Administrative divisions of China",
"version": "0.21.7",
"version": "0.21.11",
"description": "Provides data and field type for administrative divisions of China.",
"keywords": [
"Fields"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-client",
"displayName": "WEB client",
"version": "0.21.7",
"version": "0.21.11",
"description": "Provides a client interface for the NocoBase server",
"license": "AGPL-3.0",
"main": "./dist/server/index.js",

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-collection-manager",
"displayName": "Data source: Main",
"version": "0.21.7",
"version": "0.21.11",
"description": "NocoBase main database, supports relational databases such as MySQL, PostgreSQL, SQLite and so on.",
"keywords": [
"Data sources"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-custom-request",
"displayName": "Action: Custom request",
"version": "0.21.7",
"version": "0.21.11",
"description": "Sending a request to any HTTP service supports sending context data to the target service.",
"keywords": [
"Actions"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-data-source-manager",
"displayName": "Data source manager",
"version": "0.21.7",
"version": "0.21.11",
"description": "Manage data sources, including the built-in Master database, external databases, APIs, etc.",
"keywords": [
"Data model tools"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-data-visualization",
"displayName": "Data visualization",
"version": "0.21.7",
"version": "0.21.11",
"description": "Provides data visualization feature, including chart block and chart filter block, support line charts, area charts, bar charts and more than a dozen kinds of charts, you can also extend more chart types.",
"keywords": [
"Blocks"

View File

@ -1,6 +1,6 @@
{
"name": "@nocobase/plugin-disable-pm-add",
"version": "0.21.7",
"version": "0.21.11",
"keywords": [
"system"
],

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-error-handler",
"displayName": "Error handler",
"version": "0.21.7",
"version": "0.21.11",
"description": "Handling application errors and exceptions.",
"repository": {
"type": "git",

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-export",
"displayName": "Action: Export records",
"version": "0.21.7",
"version": "0.21.11",
"description": "Export filtered records to excel, you can configure which fields to export.",
"keywords": [
"Actions"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-file-manager",
"displayName": "File manager",
"version": "0.21.7",
"version": "0.21.11",
"description": "Provides files storage services with files collection template and attachment field.",
"keywords": [
"Collections",

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-formula-field",
"displayName": "Collection field: Formula",
"version": "0.21.7",
"version": "0.21.11",
"description": "Configure and store the results of calculations between multiple field values in the same record, supporting both Math.js and Excel formula functions.",
"keywords": [
"Collection fields"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-gantt",
"displayName": "Block: Gantt",
"version": "0.21.7",
"version": "0.21.11",
"description": "Provides Gantt block.",
"keywords": [
"Blocks"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-graph-collection-manager",
"displayName": "Graph collection manager",
"version": "0.21.7",
"version": "0.21.11",
"description": "An ER diagram-like tool. Currently only the Master database is supported.",
"keywords": [
"Data model tools"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-iframe-block",
"displayName": "Block: iframe",
"version": "0.21.7",
"version": "0.21.11",
"description": "Create an iframe block on the page to embed and display external web pages or content.",
"keywords": [
"Blocks"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-import",
"displayName": "Action: Import records",
"version": "0.21.7",
"version": "0.21.11",
"description": "Import records using excel templates. You can configure which fields to import and templates will be generated automatically.",
"keywords": [
"Actions"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-kanban",
"displayName": "Block: Kanban",
"version": "0.21.7",
"version": "0.21.11",
"description": "Provides kanban block.",
"keywords": [
"Blocks"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-localization-management",
"displayName": "Localization",
"version": "0.21.7",
"version": "0.21.11",
"description": "Allows to manage localization resources of the application.",
"keywords": [
"System management"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-logger",
"displayName": "Logger",
"version": "0.21.7",
"version": "0.21.11",
"description": "Server-side logs, mainly including API request logs and system runtime logs, and allows to package and download log files.",
"keywords": [
"Logging and monitoring"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-map",
"displayName": "Block: Map",
"version": "0.21.7",
"version": "0.21.11",
"description": "Map block, support Gaode map and Google map, you can also extend more map types.",
"keywords": [
"Blocks"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-mobile-client",
"displayName": "Mobile client",
"version": "0.21.7",
"version": "0.21.11",
"description": "Provides the ability to configure mobile pages.",
"homepage": "https://docs.nocobase.com/handbook/mobile-client",
"license": "AGPL-3.0",

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-mock-collections",
"displayName": "mock-collections",
"version": "0.21.7",
"version": "0.21.11",
"description": "mock-collections",
"license": "AGPL-3.0",
"main": "./dist/server/index.js",

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-multi-app-manager",
"displayName": "Multi-app manager",
"version": "0.21.7",
"version": "0.21.11",
"description": "Dynamically create multiple apps without separate deployments.",
"keywords": [
"system"

View File

@ -1,7 +1,7 @@
{
"name": "@nocobase/plugin-multi-app-share-collection",
"displayName": "Multi-app share collection",
"version": "0.21.7",
"version": "0.21.11",
"description": "",
"keywords": [
"System management"

Some files were not shown because too many files have changed in this diff Show More