mirror of
https://github.com/nocobase/nocobase.git
synced 2026-10-13 07:47:55 +08:00
Creation no longer writes config.yml or chooses a database. It produces a project that is ready to configure, and three commands in @nocobase/app-cli configure it: config:init writes the file, config:set changes it, and config:check verifies it. - create-app drops --dialect, writes an .npmrc recording a non-public registry, and returns the remaining procedure as nextCommands. - config:init writes config.yml from config.example.yml with generated secrets, installs nothing, reports a missing driver with the pnpm add that supplies it, reports an already configured application as unchanged, and works inside dist/. - config:check loads the configuration without starting the application, reports missing or placeholder secrets, an ephemeral session secret, unknown sections and unexpanded references, and connects to every database other than SQLite. - config:set edits the file in place, keeping comments, and reads secrets with --from-env. - pnpm dev and pnpm start stop on an unconfigured application and name pnpm config:init. - @nocobase/app-plugin-install and install mode are removed. - The templates declare @nocobase/db-sqlite, and Examples drops its unused MySQL, Oracle and PostgreSQL drivers. - A missing driver is reported for every connection at once. Supersedes #385.