From c7dbfc9dbb53eff8c76ca711508ebeef958d635e Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Tue, 27 Jan 2026 11:47:16 +0000 Subject: [PATCH] chore: move files in ee --- .gitignore | 3 +- CLAUDE.md | 132 ----- .../dlg/ManagedApp/DraftOrPublish.vue | 249 --------- .../components/dlg/ManagedApp/Header.vue | 60 --- .../components/dlg/ManagedApp/Index.vue | 63 --- .../dlg/ManagedApp/VersionDeployments.vue | 493 ------------------ .../dlg/ManagedApp/VersionHistory.vue | 357 ------------- .../topbar/ManagedAppStatus/MenuItem.vue | 52 -- .../topbar/ManagedAppStatus/index.vue | 283 +--------- .../workspace/project/create/ManagedApp.vue | 241 +-------- 10 files changed, 5 insertions(+), 1928 deletions(-) delete mode 100644 CLAUDE.md delete mode 100644 packages/nc-gui/components/dlg/ManagedApp/DraftOrPublish.vue delete mode 100644 packages/nc-gui/components/dlg/ManagedApp/Header.vue delete mode 100644 packages/nc-gui/components/dlg/ManagedApp/Index.vue delete mode 100644 packages/nc-gui/components/dlg/ManagedApp/VersionDeployments.vue delete mode 100644 packages/nc-gui/components/dlg/ManagedApp/VersionHistory.vue delete mode 100644 packages/nc-gui/components/smartsheet/topbar/ManagedAppStatus/MenuItem.vue diff --git a/.gitignore b/.gitignore index 7adaaf1344..a544be5c5b 100644 --- a/.gitignore +++ b/.gitignore @@ -104,4 +104,5 @@ result # Temp migrate-colors.js -antd.variable.css \ No newline at end of file +antd.variable.css +CLAUDE.md \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 100644 index 4a40249591..0000000000 --- a/CLAUDE.md +++ /dev/null @@ -1,132 +0,0 @@ -# CLAUDE.md - -This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. - -## Documentation - -For comprehensive product documentation, features, and API references: https://nocodb.com/llms.txt - -## Project Overview - -NocoDB is an open-source Airtable alternative that turns any database into a smart spreadsheet. This is the enterprise edition (EE) monorepo. - -Key capabilities: -- Transforms MySQL, PostgreSQL, SQL Server, SQLite & MariaDB into collaborative spreadsheets -- Rich field types: text, numerical, date-time, relational (Links), formula-based -- Multiple views: Grid, Form, Calendar, Kanban, Gallery, Map -- Auto-generated REST APIs -- Automation: workflows, webhooks, scripts -- NocoAI for AI capabilities, NocoSync for external data integration -- MCP (Model Context Protocol) server support - -## Monorepo Structure - -- **packages/nocodb** - Backend (NestJS + TypeScript) -- **packages/nc-gui** - Frontend (Nuxt 3 + Vue 3) -- **packages/nocodb-sdk** - JavaScript/TypeScript SDK -- **packages/nocodb-sdk-v2** - V2 SDK -- **packages/nc-sql-executor** - SQL execution service -- **packages/noco-integrations** - Integration plugins (Slack, Discord, AWS, etc.) -- **packages/nc-knex-dialects** - Custom Knex dialects (Snowflake, Databricks) -- **tests/playwright** - E2E testing suite - -## Essential Commands - -```bash -# Installation (pnpm is enforced - npm/yarn will fail) -pnpm bootstrap # Full EE bootstrap -pnpm bootstrap:ce # Community Edition bootstrap - -# Development -pnpm start:backend # Backend at http://localhost:8080 -pnpm start:frontend # Frontend at http://localhost:3000 -pnpm start:sql-executor # SQL executor service - -# Database containers for testing -pnpm start:pg # Start PostgreSQL -pnpm stop:pg -pnpm start:mysql # Start MySQL -pnpm stop:mysql - -# E2E Testing -pnpm start:playwright:pg # Backend + Frontend for E2E (PostgreSQL) -pnpm start:playwright:pg:ee # Enterprise Edition E2E -``` - -### Backend (packages/nocodb) - -```bash -pnpm start # Dev mode with watch -pnpm watch:run:ee # EE dev build -pnpm build:ee # Production EE build -pnpm lint # ESLint -pnpm test:unit # Mocha unit tests -pnpm test:unit:pg:ee # Unit tests with PostgreSQL + EE -``` - -### Frontend (packages/nc-gui) - -```bash -pnpm dev # Nuxt dev server -pnpm dev:ee # EE frontend dev -pnpm build:ee # Production EE build -pnpm lint # ESLint -pnpm test # Vitest unit tests -``` - -## Architecture - -### Backend (NestJS) - -- **src/controllers/** - REST API controllers (~98 controllers) -- **src/models/** - Data models (Base, Model, View, Column, User, Integration, etc.) -- **src/services/** - Business logic -- **src/db/** - Database layer with BaseModelSqlv2, CustomKnex, formula evaluation -- **src/ee/, src/ee-on-prem/, src/ee-cloud/** - Enterprise Edition code -- **src/run/** - Entry points - -### Frontend (Nuxt + Vue) - -- **pages/** - Route-based pages -- **components/** - Vue components (~34 directories) -- **composables/** - Vue composables (~95 files) -- **store/** - Pinia stores -- **lang/** - i18n (42+ languages) -- **ee/** - Enterprise Edition features -- Uses hash-based routing (SPA mode) - -### Database Model Hierarchy - -``` -Workspace → Base → Model (Table) → Column - → View (Grid, Gallery, Form, Kanban, Calendar, Map) -``` - -## Key Environment Variables - -- `NC_DB` - Database connection string -- `EE=true` - Enable Enterprise Edition -- `NC_AUTH_JWT_SECRET` - JWT secret -- `NC_DISABLE_TELE` - Disable telemetry - -## Build Memory Issues - -For large builds that run out of memory: -```bash -NODE_OPTIONS="--max-old-space-size=8192" pnpm build:ee -``` - -## Git Workflow - -- **develop** - Main development branch (target for PRs) -- **master** - Stable release snapshots only -- Branch naming: `feat/`, `fix/`, `enhancement/` -- Commits follow [Conventional Commits](https://www.conventionalcommits.org/): `feat:`, `fix:`, `docs:`, `chore:`, etc. - -## Tech Stack - -- **Backend**: NestJS, Knex, Socket.io, Bull (job queue), Redis -- **Frontend**: Nuxt 3, Vue 3, Pinia, WindiCSS, Ant Design Vue -- **Databases**: SQLite (default), PostgreSQL, MySQL, Snowflake, Databricks -- **Build**: Rspack (backend), Vite (frontend) -- **Testing**: Mocha (backend unit), Vitest (frontend unit), Playwright (E2E) diff --git a/packages/nc-gui/components/dlg/ManagedApp/DraftOrPublish.vue b/packages/nc-gui/components/dlg/ManagedApp/DraftOrPublish.vue deleted file mode 100644 index 56bfb0cda1..0000000000 --- a/packages/nc-gui/components/dlg/ManagedApp/DraftOrPublish.vue +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - - diff --git a/packages/nc-gui/components/dlg/ManagedApp/Header.vue b/packages/nc-gui/components/dlg/ManagedApp/Header.vue deleted file mode 100644 index 3c14a7cf11..0000000000 --- a/packages/nc-gui/components/dlg/ManagedApp/Header.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - - - diff --git a/packages/nc-gui/components/dlg/ManagedApp/Index.vue b/packages/nc-gui/components/dlg/ManagedApp/Index.vue deleted file mode 100644 index 544a103a99..0000000000 --- a/packages/nc-gui/components/dlg/ManagedApp/Index.vue +++ /dev/null @@ -1,63 +0,0 @@ - - - - - diff --git a/packages/nc-gui/components/dlg/ManagedApp/VersionDeployments.vue b/packages/nc-gui/components/dlg/ManagedApp/VersionDeployments.vue deleted file mode 100644 index 5fe131618d..0000000000 --- a/packages/nc-gui/components/dlg/ManagedApp/VersionDeployments.vue +++ /dev/null @@ -1,493 +0,0 @@ - - - - - diff --git a/packages/nc-gui/components/dlg/ManagedApp/VersionHistory.vue b/packages/nc-gui/components/dlg/ManagedApp/VersionHistory.vue deleted file mode 100644 index 660d9f4410..0000000000 --- a/packages/nc-gui/components/dlg/ManagedApp/VersionHistory.vue +++ /dev/null @@ -1,357 +0,0 @@ - - - - - diff --git a/packages/nc-gui/components/smartsheet/topbar/ManagedAppStatus/MenuItem.vue b/packages/nc-gui/components/smartsheet/topbar/ManagedAppStatus/MenuItem.vue deleted file mode 100644 index eb9640dbdb..0000000000 --- a/packages/nc-gui/components/smartsheet/topbar/ManagedAppStatus/MenuItem.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - - - diff --git a/packages/nc-gui/components/smartsheet/topbar/ManagedAppStatus/index.vue b/packages/nc-gui/components/smartsheet/topbar/ManagedAppStatus/index.vue index b68d193672..7c3f5c658a 100644 --- a/packages/nc-gui/components/smartsheet/topbar/ManagedAppStatus/index.vue +++ b/packages/nc-gui/components/smartsheet/topbar/ManagedAppStatus/index.vue @@ -1,284 +1,3 @@ - - - - diff --git a/packages/nc-gui/components/workspace/project/create/ManagedApp.vue b/packages/nc-gui/components/workspace/project/create/ManagedApp.vue index 8bfcc57623..98f11b061a 100644 --- a/packages/nc-gui/components/workspace/project/create/ManagedApp.vue +++ b/packages/nc-gui/components/workspace/project/create/ManagedApp.vue @@ -1,7 +1,4 @@