mirror of
https://github.com/ever-co/ever-gauzy.git
synced 2026-10-02 01:54:50 +08:00
Local runs after this commit: ui-core 45/45 suites, ui-auth 4/4, gauzy 29/29, desktop-ui-lib 41/41, gauzy-server 2/2, and every plugin UI project that was red (integration-ai/github/hubstaff/upwork-ui, job-employee/ matching/proposal/search-ui, jobs-ui) green. - jest.interop.js now patches every callable CommonJS package the code imports both ways (moment, randomcolor) with `default` + `__esModule`, so both import styles resolve to the function under either esModuleInterop. apps/gauzy's spec tsconfig turns esModuleInterop on (as ui-core, docs-ui and videos-ui do): ui-core's line chart default-imports chartjs-plugin-annotation and Chart.register received undefined. - jest.preset.js transforms d3-* / internmap (ESM-only, reached through @swimlane/ngx-charts). - desktop-ui-lib specs: section forms get the FormGroup their parent passes, cell renderers their rowData, dialogs their data; Settings/Setup/ ScreenCapture get the library's GAUZY_ENV and the time tracker the AuthStrategy/AuthService the desktop apps bootstrap; the task table a signed-in session. Two test-side overrides are documented in place: LanguageSelectorComponent binds [(ngModel)] without FormsModule (a dead binding in the app too), and the plugin source forms use <nb-hint> as a plain styled element (Nebular has no such component). - apps/gauzy: page specs get the date-picker config their route sets, the timesheet layout / job pages their route data, the task dialog a selected organization (its unguarded async read crashed the Jest worker) and a stand-in for docs-ui's links panel (docs-ui's entry point loads a PDF viewer that uses import.meta, which CommonJS Jest cannot parse). - integration-upwork-ui: two hand-written specs used jasmine spies (jest has none) and partial Router/TranslateService mocks the template could not render with; they use jest.fn() and the real services now. - gauzy-server's AppComponent spec was the 2021 CLI scaffold (title 'desktop-web-ui', a "Welcome" h1) and declared a standalone component; it now imports it and asserts what the shell does (router outlet, language bridge started on init), with the library entry mocked to its one token. - jobs-ui: the layout spec has asserted a main landmark since it was written; the layout now renders <main role="main"> around its outlet (the app shell defines no other main landmark). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ever Gauzy Server Application
Ever Gauzy Server is a cross-platform application built with nstudio/electron.
Prerequisites
- Node.js (version 20 or later recommended)
- Yarn (Package Manager)
- nstudio/electron
How to:
- install dependencies & bootstrap solution
yarn bootstrap
build executable for mac
build desktop
yarn build:desktop
build execute app
build:desktop:mac:quick
build execute app for windows
build desktop
yarn build:desktop
build execute app
build:desktop:windows:quick
uninstall gauzy desktop macOS
- delete app data
$ rm -rf ~/Library/Application Support/gauzy-server