Files
ocis/web
Matteo 3893ce2e5c feat(web): add per-project lint and typecheck targets (Phase 2a+2b)
Phase 2a - lint, via @nx/eslint/plugin (correct subpath; the bare
package name silently produces zero targets - same gotcha as
@nx/vitest before it). Despite there being only one shared root
eslint.config.js and no per-package configs, the plugin's glob also
matches every package.json, so it still creates a real per-project
"lint" target for all 26 projects, each scoped to just that project's
files. Root `lint` script untouched.

Verified: nx run-many -t lint succeeds for all 26 projects (exit 0 -
same "warnings don't fail the run" semantics as the existing root
lint); root `pnpm run lint`/`check:format` still pass unchanged.

Phase 2b - typecheck, via @nx/vite/plugin's typecheckTargetName
(a Vite-specific plugin, distinct from the build/serve/preview targets
it also wants to create - those are pointed at unused names, since
this repo builds everything through one root vite.config.ts rather
than per-package, so auto-generated per-package build/serve targets
would be noise, not signal).

This one is genuinely partial, matching the spec's own "fragile,
spike-gated" flag for this phase: the plugin only creates a typecheck
target for projects with their own real vite.config.ts - design-system,
web-client, web-pkg, web-test-helpers, web-test-helpers-core (5 of 27).
The other ~20 web-app-*/web-runtime projects only have a vitest.config.ts
(they're bundled together, not built independently), which this plugin
doesn't pick up for typecheck at all. Extending coverage to them would
mean either giving each its own vite.config.ts or splitting the shared
tsconfig into real TS project references - both bigger, riskier changes
not attempted here. Root `pnpm run check:types` (whole-repo vue-tsc,
unchanged) stays the one check that covers everything; the 5 new
per-project targets are an additive convenience on top, not a
replacement.

Verified: nx run-many -t typecheck succeeds for all 5 registered
projects; a deliberately injected type error in web-pkg/src/index.ts
was caught correctly (TS2322, exit 1) and reverted; root
`pnpm run check:types` (vue-tsc --noEmit, synchronous, real captured
exit code) still passes clean, 0 errors.
2026-09-21 17:45:46 +02:00
..
…
…
…

ownCloud Web

ownCloud Web is the next-generation frontend for ownCloud Infinite Scale, built as a single-page application with Vue.js and TypeScript. It provides a modern, accessible and themeable user interface for managing files, sharing, real-time collaboration and administration -- designed to be extensible through a plugin-based architecture that allows third-party developers to build custom apps and extensions.

Getting Started

Set up a local development environment for ownCloud Web:

Prerequisites

For the complete development setup, see the setup guide.

Structure

The web/packages directory contains the core modules:

  • client -- Generated TypeScript client for the oCIS Graph API
  • container -- Static assets and base files
  • extension-sdk -- Utilities for developing custom extensions
  • pkg -- Shared logic used across the codebase
  • runtime -- Authentication, routing, theming and application handling

Built-in apps (also in web/packages):

  • files -- Core file sync-and-share functionality
  • admin-settings -- User, group and space administration
  • activities -- Activity stream
  • app-store -- Browse and install extensions
  • epub-reader -- Ebook file viewer
  • external -- WOPI-based document editing (Collabora, ONLYOFFICE)
  • pdf-viewer -- PDF file viewer
  • preview -- Audio, video and image previewer
  • text-editor -- Plain text editor

Documentation