Commit Graph

29 Commits

Author SHA1 Message Date
Alberto Arena d0cd2d8fa4 test: add Vitest and Phase 1 pure-helper suite
Introduce automated testing to a project that had no test runner, no
test script and no CI. Vitest fits the existing Vite setup with near-zero
config; a standalone vitest.config.ts wires the @/ alias via
vite-tsconfig-paths and runs in the node environment, avoiding the app's
Tailwind/React/WASM plugins that pure-logic tests do not need.

Cover the cheapest, highest-value surface first: pure helpers with no DOM,
WASM or database. getNextSequence and cloneField (field.ts), the
charset/collation and SQLite integer-column reordering plus enum naming
(render-uttils.ts), and orderTables including the CircularDependencyError
cycle path that backs the Foreign Key Cycle Detection feature.

The build's tsc step is unaffected (plain tsc no-ops on the root config)
and the new files typecheck clean under strict and lint clean.
2026-08-05 06:24:18 +02:00
Alberto Arena fe84e0d748 build: raise Node heap for production build
The production build renders thousands of modules and exceeds V8's
default heap ceiling, so `npm run build` fails with a JavaScript
heap out-of-memory error during "rendering chunks". Set
NODE_OPTIONS=--max-old-space-size=8192 on the Vite build step via
cross-env (kept portable for Windows), so a fresh clone builds
without any manual environment setup. Document the matching Docker
memory requirement in DOCKER.md, since the container build hits the
same limit when the Docker VM has too little RAM.
2026-08-04 18:06:11 +02:00
KarimTamani eb6c80417c 1.4.0 2026-06-10 22:12:23 +01:00
KarimTamani 5cce8cc03d 1.3.3 2026-06-10 22:12:05 +01:00
KarimTamani caa277577a Improved UI/UX + Lazy Loading 2026-06-10 21:43:46 +01:00
KarimTamani 6c3b431ee2 Add Oracle & MSSQL Support 2026-06-10 18:09:54 +01:00
dependabot[bot] ef27393d9a Bump the npm_and_yarn group across 1 directory with 9 updates
Bumps the npm_and_yarn group with 9 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [lodash](https://github.com/lodash/lodash) | `4.17.21` | `4.18.1` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `5.4.20` | `5.4.21` |
| [minimatch](https://github.com/isaacs/minimatch) | `3.1.2` | `3.1.5` |
| [esbuild](https://github.com/evanw/esbuild) | `0.21.5` | `removed` |
| [flatted](https://github.com/WebReflection/flatted) | `3.3.3` | `3.4.2` |
| [js-yaml](https://github.com/nodeca/js-yaml) | `4.1.0` | `4.1.1` |
| [picomatch](https://github.com/micromatch/picomatch) | `2.3.1` | `2.3.2` |
| [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) | `6.23.0` | `6.30.3` |
| [tar](https://github.com/isaacs/node-tar) | `7.5.1` | `7.5.13` |



Updates `lodash` from 4.17.21 to 4.18.1
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.21...4.18.1)

Updates `vite` from 5.4.20 to 5.4.21
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.21/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.21/packages/vite)

Updates `minimatch` from 3.1.2 to 3.1.5
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5)

Removes `esbuild`

Updates `flatted` from 3.3.3 to 3.4.2
- [Commits](https://github.com/WebReflection/flatted/compare/v3.3.3...v3.4.2)

Updates `js-yaml` from 4.1.0 to 4.1.1
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1)

Updates `picomatch` from 2.3.1 to 2.3.2
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/picomatch/compare/2.3.1...2.3.2)

Updates `react-router` from 6.23.0 to 6.30.3
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/react-router@6.30.3/packages/react-router/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router@6.30.3/packages/react-router)

Updates `tar` from 7.5.1 to 7.5.13
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.1...v7.5.13)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.18.1
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: vite
  dependency-version: 5.4.21
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: minimatch
  dependency-version: 3.1.5
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: esbuild
  dependency-version: 
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: flatted
  dependency-version: 3.4.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: react-router
  dependency-version: 6.30.3
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: tar
  dependency-version: 7.5.13
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-09 21:28:31 +01:00
KarimTamani 1d78d05468 V1.0.2 2026-01-01 15:51:17 +01:00
KarimTamani d9e5333f96 Mobile Responsivity 2026-01-01 15:49:48 +01:00
KarimTamani 7c443f0edf Release V1.0.1 2025-09-27 18:19:21 +01:00
KarimTamani 1348262649 Redesign the app using ShadCn UI + new feature (order tables) 2025-09-26 20:30:57 +01:00
KarimTamani cff1cce906 Add NavBar 2025-08-16 11:27:02 +01:00
KarimTamani 6ed6110111 Improved empty content deisgn , add a key for grouped datatypes in the table controller 2025-08-12 16:29:41 +01:00
KarimTamani 2c421a133e Translate some labels in the open database and create database modals 2025-08-02 19:30:31 +01:00
KarimTamani ba81bab88c Datatypes Seeded and Not Found page added 2025-07-20 16:04:51 +01:00
KarimTamani 9ecc2f9d56 Improved Performence , Re-Order Diagram whene import , Fix Database History Bug (stuck in undo or redo , foriegn keys constraint error) 2025-07-03 22:01:12 +01:00
KarimTamani f33d6f5123 Import Tables and relationships from Postgres SQL code is implemented successfully 2025-06-21 21:44:59 +01:00
KarimTamani 3ec28c3232 Mysql Datetime data types modifiers implemented 2025-06-16 19:25:02 +01:00
KarimTamani 12d2ac693e Field Modifiers integrated , extra options added to the field settings based on the data type of that field 2025-06-12 21:29:54 +01:00
KarimTamani 2c7765350d code editor implemented 2025-06-06 21:16:39 +01:00
KarimTamani b9a996ba7a Render sql from Diagram initialized 2025-06-05 23:27:12 +01:00
KarimTamani 1c831c9902 init the index schema 2025-05-27 16:42:43 +01:00
KarimTamani 6d41e73af8 Add network and syncing status and made the database controller resizebale 2025-05-26 15:04:05 +01:00
KarimTamani e0c31e0cb6 Add undo / redo functionalities 2025-05-20 15:59:26 +01:00
KarimTamani d9c260bfce dark theme implemented 2025-05-16 22:17:48 +01:00
KarimTamani 7f7779d579 Fix nodes re-render whene dragging 2025-05-16 01:23:28 +01:00
KarimTamani 2ad2105d9d table controller integrated with the Api 2025-05-08 17:27:58 +01:00
KarimTamani 1f42c07d92 Connect the frontend with the api and powersync service 2025-05-05 13:58:21 +01:00
KarimTamani d9905351bd Init Commit 2025-05-04 19:17:04 +01:00