diff --git a/.changeset/unified-version-0-5-0.md b/.changeset/unified-version-0-5-0.md new file mode 100644 index 000000000..c31e32a7d --- /dev/null +++ b/.changeset/unified-version-0-5-0.md @@ -0,0 +1,29 @@ +--- +"@objectstack/spec": minor +"@objectstack/client": minor +"@objectstack/driver-memory": minor +"@objectstack/objectql": minor +"@objectstack/plugin-hono-server": minor +"@objectstack/plugin-msw": minor +"@objectstack/runtime": minor +"@objectstack/types": minor +"@objectstack/ai-bridge": minor +"@objectstack/cli": minor +"@objectstack/core": minor +"@objectstack/docs": minor +"@objectstack/example-ai-sales": minor +"@objectstack/example-msw-react-crud": minor +"@objectstack/example-ai-codegen": minor +"@objectstack/example-todo": minor +"@objectstack/example-crm": minor +"@objectstack/example-ai-analyst": minor +"@objectstack/example-host": minor +"@objectstack/example-ai-support": minor +"@objectstack/plugin-bi": minor +--- + +Unified version bump to 0.5.0 + +- Standardized all package versions to 0.5.0 across the monorepo +- Fixed driver-memory package.json paths for proper module resolution +- Ensured all packages are in sync for the 0.5.0 release diff --git a/apps/docs/package.json b/apps/docs/package.json index 4fe34834b..70408b341 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/docs", - "version": "0.4.2", + "version": "0.5.0", "private": true, "description": "ObjectStack Protocol Documentation Site", "scripts": { diff --git a/examples/ai-analyst/package.json b/examples/ai-analyst/package.json index c05e2f7f7..ea5e3b341 100644 --- a/examples/ai-analyst/package.json +++ b/examples/ai-analyst/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/example-ai-analyst", - "version": "1.0.7", + "version": "0.5.0", "description": "AI-powered data analyst with natural language query capabilities", "private": true, "main": "objectstack.config.ts", diff --git a/examples/ai-codegen/package.json b/examples/ai-codegen/package.json index b57dba009..9904f5e8c 100644 --- a/examples/ai-codegen/package.json +++ b/examples/ai-codegen/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/example-ai-codegen", - "version": "1.0.7", + "version": "0.5.0", "description": "AI code generator - Generate ObjectStack apps from natural language", "private": true, "main": "objectstack.config.ts", diff --git a/examples/ai-sales/package.json b/examples/ai-sales/package.json index 5d3391ab5..346e98002 100644 --- a/examples/ai-sales/package.json +++ b/examples/ai-sales/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/example-ai-sales", - "version": "1.0.7", + "version": "0.5.0", "description": "AI-powered sales assistant with intelligent automation", "private": true, "main": "objectstack.config.ts", diff --git a/examples/ai-support/package.json b/examples/ai-support/package.json index 4d2022150..bc2cb2bc2 100644 --- a/examples/ai-support/package.json +++ b/examples/ai-support/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/example-ai-support", - "version": "1.0.7", + "version": "0.5.0", "description": "AI-powered customer support system with RAG knowledge base", "private": true, "main": "objectstack.config.ts", diff --git a/examples/crm/package.json b/examples/crm/package.json index 6db605869..597249b72 100644 --- a/examples/crm/package.json +++ b/examples/crm/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/example-crm", - "version": "1.0.9", + "version": "0.5.0", "description": "Example CRM implementation using ObjectStack Protocol", "private": true, "scripts": { diff --git a/examples/host/package.json b/examples/host/package.json index fa7ee91e4..490c0237c 100644 --- a/examples/host/package.json +++ b/examples/host/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/example-host", - "version": "0.1.9", + "version": "0.5.0", "private": true, "scripts": { "dev": "tsx src/index.ts", diff --git a/examples/msw-react-crud/package.json b/examples/msw-react-crud/package.json index 0a7bc9655..aed6cd1b0 100644 --- a/examples/msw-react-crud/package.json +++ b/examples/msw-react-crud/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/example-msw-react-crud", - "version": "1.0.2", + "version": "0.5.0", "description": "Complete MSW integration example with React CRUD components using ObjectStack Client", "private": true, "type": "module", diff --git a/examples/plugin-bi/package.json b/examples/plugin-bi/package.json index 3e0516273..680df9b66 100644 --- a/examples/plugin-bi/package.json +++ b/examples/plugin-bi/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/plugin-bi", - "version": "1.0.9", + "version": "0.5.0", "main": "src/index.ts", "license": "MIT", "private": true, diff --git a/examples/todo/package.json b/examples/todo/package.json index 4a37c0e7d..2c7e9d3a3 100644 --- a/examples/todo/package.json +++ b/examples/todo/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/example-todo", - "version": "1.0.9", + "version": "0.5.0", "description": "Example Todo App using ObjectStack Protocol", "private": true, "scripts": { diff --git a/package.json b/package.json index 519709eb7..cf7a9223e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/spec-monorepo", - "version": "0.4.2", + "version": "0.5.0", "private": true, "description": "ObjectStack Protocol & Specification - Monorepo for TypeScript Interfaces, JSON Schemas, and Convention Configurations", "scripts": { @@ -25,6 +25,7 @@ "devDependencies": { "@changesets/cli": "^2.27.1", "@types/node": "^20.10.0", + "tsx": "^4.21.0", "typescript": "^5.3.0" }, "dependencies": { diff --git a/packages/ai-bridge/package.json b/packages/ai-bridge/package.json index 00606c988..20dd95e7c 100644 --- a/packages/ai-bridge/package.json +++ b/packages/ai-bridge/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/ai-bridge", - "version": "0.4.2", + "version": "0.5.0", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { diff --git a/packages/cli/package.json b/packages/cli/package.json index 4a6c52816..d0abcfd39 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/cli", - "version": "0.4.2", + "version": "0.5.0", "description": "Command Line Interface for ObjectStack Protocol", "main": "dist/index.js", "bin": { diff --git a/packages/client/package.json b/packages/client/package.json index ed9577baf..975d76695 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/client", - "version": "0.4.2", + "version": "0.5.0", "description": "Official Client SDK for ObjectStack Protocol", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/core/package.json b/packages/core/package.json index 5a60d987b..76b080d08 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/core", - "version": "0.4.2", + "version": "0.5.0", "description": "Microkernel Core for ObjectStack", "type": "module", "main": "dist/index.js", diff --git a/packages/objectql/package.json b/packages/objectql/package.json index 448be8fc8..3d4bf35d1 100644 --- a/packages/objectql/package.json +++ b/packages/objectql/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/objectql", - "version": "0.4.2", + "version": "0.5.0", "description": "Isomorphic ObjectQL Engine for ObjectStack", "main": "src/index.ts", "types": "src/index.ts", diff --git a/packages/plugins/driver-memory/package.json b/packages/plugins/driver-memory/package.json index 492007317..a709e3db1 100644 --- a/packages/plugins/driver-memory/package.json +++ b/packages/plugins/driver-memory/package.json @@ -1,9 +1,9 @@ { "name": "@objectstack/driver-memory", - "version": "0.4.2", + "version": "0.5.0", "description": "In-Memory Driver for ObjectStack (Reference Implementation)", - "main": "dist/src/index.js", - "types": "dist/src/index.d.ts", + "main": "dist/index.js", + "types": "dist/index.d.ts", "scripts": { "build": "tsc", "dev": "tsc -w" diff --git a/packages/plugins/plugin-hono-server/package.json b/packages/plugins/plugin-hono-server/package.json index 6754beb4a..401b95ac6 100644 --- a/packages/plugins/plugin-hono-server/package.json +++ b/packages/plugins/plugin-hono-server/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/plugin-hono-server", - "version": "0.4.2", + "version": "0.5.0", "description": "Standard Hono Server Adapter for ObjectStack Runtime", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/plugins/plugin-msw/package.json b/packages/plugins/plugin-msw/package.json index 7e19ab078..949b6a96e 100644 --- a/packages/plugins/plugin-msw/package.json +++ b/packages/plugins/plugin-msw/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/plugin-msw", - "version": "0.4.2", + "version": "0.5.0", "description": "MSW (Mock Service Worker) Plugin for ObjectStack Runtime", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 05a4090c8..6109d0879 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/runtime", - "version": "0.4.2", + "version": "0.5.0", "description": "ObjectStack Core Runtime & Query Engine", "type": "module", "main": "dist/index.js", diff --git a/packages/spec/package.json b/packages/spec/package.json index d1a149326..3b2629359 100644 --- a/packages/spec/package.json +++ b/packages/spec/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/spec", - "version": "0.4.2", + "version": "0.5.0", "description": "ObjectStack Protocol & Specification - TypeScript Interfaces, JSON Schemas, and Convention Configurations", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/spec/src/system/plugin.zod.ts b/packages/spec/src/system/plugin.zod.ts index c5b5be3e5..d7d1178a9 100644 --- a/packages/spec/src/system/plugin.zod.ts +++ b/packages/spec/src/system/plugin.zod.ts @@ -79,8 +79,8 @@ export const PluginLifecycleSchema = z.object({ export type PluginLifecycleHooks = z.infer; export const PluginSchema = PluginLifecycleSchema.extend({ - id: z.string().min(1).describe('Unique Plugin ID (e.g. com.example.crm)'), - version: z.string().regex(/^\d+\.\d+\.\d+$/).describe('Semantic Version'), + id: z.string().min(1).optional().describe('Unique Plugin ID (e.g. com.example.crm)'), + version: z.string().regex(/^\d+\.\d+\.\d+$/).optional().describe('Semantic Version'), description: z.string().optional(), author: z.string().optional(), homepage: z.string().url().optional(), diff --git a/packages/types/package.json b/packages/types/package.json index 35b120379..66fc40d9a 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/types", - "version": "0.4.2", + "version": "0.5.0", "description": "Shared interfaces describing the ObjectStack Runtime environment", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0270c9021..042608acc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,6 +18,9 @@ importers: '@types/node': specifier: ^20.10.0 version: 20.19.30 + tsx: + specifier: ^4.21.0 + version: 4.21.0 typescript: specifier: ^5.3.0 version: 5.9.3 diff --git a/test-mini-kernel.ts b/test-micro-kernel.ts similarity index 97% rename from test-mini-kernel.ts rename to test-micro-kernel.ts index 5a1b130e6..1c0781131 100644 --- a/test-mini-kernel.ts +++ b/test-micro-kernel.ts @@ -1,7 +1,7 @@ /** - * MiniKernel Test Suite + * MicroKernel Test Suite * - * Tests the new ObjectKernel (MiniKernel) architecture: + * Tests the new ObjectKernel (MicroKernel) architecture: * 1. Basic plugin registration and lifecycle * 2. Service registry (registerService/getService) * 3. Dependency resolution @@ -262,7 +262,7 @@ async function testErrorHandling() { // Run all tests async function runAllTests() { - console.log('🧪 Starting MiniKernel Test Suite...\n'); + console.log('🧪 Starting MicroKernel Test Suite...\n'); try { await testBasicLifecycle(); @@ -273,7 +273,7 @@ async function runAllTests() { await testMultiplePlugins(); await testErrorHandling(); - console.log('\n✅ All MiniKernel tests passed!\n'); + console.log('\n✅ All MicroKernel tests passed!\n'); } catch (error) { console.error('\n❌ Test failed:', error); process.exit(1);