You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: update dev workflow config and docs for plugin-query/plugin-optimizations decomposition
- tsconfig.json: Add missing TypeScript project references for all new packages
- .changeset/config.json: Add new packages to fixed version group
- README.md: Update Architecture table and Development section
- docs/DESIGN_CORE_REFACTOR.md: Mark as completed (PR #373)
- docs/ROADMAP_NEXT_PHASE.md: Update optimization module paths
- docs/WORK_PLAN_2026_Q1_P2.md: Update Package Matrix and platform versions
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
|**[`@objectql/plugin-security`](./packages/foundation/plugin-security)**| Universal |**Security Plugin.** Comprehensive RBAC, Field-Level Security (FLS), and Row-Level Security (RLS) with AST-level enforcement. |
42
+
|**[`@objectql/plugin-validator`](./packages/foundation/plugin-validator)**| Universal |**Validation Plugin.** 5-type validation engine: field, cross-field, state machine, unique, and business rule. |
43
+
|**[`@objectql/plugin-formula`](./packages/foundation/plugin-formula)**| Universal |**Formula Plugin.** Computed fields with JavaScript expressions in a sandboxed evaluator. |
44
+
|**[`@objectql/platform-node`](./packages/foundation/platform-node)**| Node.js | Node.js platform utilities for file system integration, YAML loading, and plugin management. |
41
45
42
46
### Driver Layer
43
47
@@ -357,21 +361,41 @@ If you fork or clone the repository to contribute or run examples from source:
You must build the core libraries before running examples, as they rely on local workspace builds.
371
+
You must build all packages before running examples or the dev server, as they rely on local workspace builds.
368
372
```bash
369
373
pnpm build
370
374
```
371
375
372
-
3.**Run Examples**
376
+
3.**Run Dev Server**
377
+
Start the full-stack development server with all plugins (ObjectQL + Security + GraphQL + OData + JSON-RPC):
378
+
```bash
379
+
pnpm dev
380
+
# Starts ObjectStack kernel at http://localhost:5050
381
+
# Loads project-tracker example metadata
382
+
```
383
+
384
+
4.**Run Tests**
385
+
```bash
386
+
# Run all tests
387
+
npx vitest run
388
+
389
+
# Run tests for a specific package
390
+
npx vitest run packages/foundation/core
391
+
392
+
# Run tests in watch mode
393
+
npx vitest --watch
394
+
```
395
+
396
+
5.**Run Examples**
373
397
374
-
These examples run as **scripts** to demonstrate the ObjectQL Core Engine capabilities (Validation, CRUD, Logic Hooks). They use an in-memory SQLite database.
398
+
These examples run as **scripts** to demonstrate the ObjectQL Core Engine capabilities (Validation, CRUD, Logic Hooks). They use an in-memory database.
375
399
376
400
**Starter (Project Tracker):**
377
401
```bash
@@ -387,6 +411,24 @@ If you fork or clone the repository to contribute or run examples from source:
`@objectql/core` re-exports these modules with `@deprecated` tags for backward compatibility. **New code should import directly from the plugin packages:**
The optimization modules have been extracted into `@objectql/plugin-optimizations` (see [PR #373](https://github.com/objectstack-ai/objectql/pull/373)):
368
+
369
+
| Module |Package |Status | Action |
370
+
|--------|---------|--------|--------|
371
+
|`GlobalConnectionPool.ts`|`@objectql/plugin-optimizations`|✅ Implemented | Benchmark and tune pool sizes |
0 commit comments