diff --git a/apps/blocks/registry.json b/apps/blocks/registry.json index 2483e58..f169df0 100644 --- a/apps/blocks/registry.json +++ b/apps/blocks/registry.json @@ -269,7 +269,7 @@ ], "docs": "## Usage\n\nCreate one registry for the application, adapt navigation at the host boundary, and render the palette near the root layout. Pages can register commands while mounted with `usePageCommands`.\n\n```tsx\nimport { createCommandRegistry, kbd } from '@constructive-io/command-palette';\nimport { CommandPalette } from '@/blocks/command-palette/command-palette';\n\nconst registry = createCommandRegistry({\n groups: [{ id: 'navigation', label: 'Navigation', priority: 1 }],\n commands: [{\n id: 'settings',\n label: 'Open settings',\n type: 'navigation',\n group: 'navigation',\n href: '/settings',\n shortcut: kbd(',', 'mod')\n }]\n});\n\n router.push(href)} />;\n```\n\nThe installed block owns presentation and keyboard interaction. The headless package owns command registration, execution, multi-step state, and background-task lifecycle. Route authorization, action permissions, errors, and business workflows remain the host application's responsibility.", "dependencies": [ - "@constructive-io/command-palette@^0.5.0", + "@constructive-io/command-palette@^0.6.0", "lucide-react", "motion" ], @@ -436,7 +436,7 @@ "description": "The leaf-independent Console Kit shell, runtime, discovery, and single modular Zustand store.", "docs": "`console-kit-core` installed the shell, runtime, semantic routing, callback boundary, and one per-instance modular Zustand store. Core intentionally includes no feature view, so add selected `console-module-*` items.\n\nDegraded states: explicit endpoint, current `_meta`, introspection, capability, and adapter evidence fail closed independently; installation never grants authority.\n\nGuide: https://constructive-io.github.io/blocks/blocks/console-kit/", "dependencies": [ - "@constructive-io/data@^0.7.0", + "@constructive-io/data@^0.8.0", "@tanstack/react-query", "graphql", "lucide-react", @@ -566,7 +566,7 @@ "description": "A current-_meta-only application data explorer with application-table filtering and spreadsheet CRUD.", "docs": "`feature-pack-data` installed a provider-neutral view and `.constructive/feature-packs/data.json`. Import from `@/blocks/feature-packs/data/data-feature-pack`. The host must supply the view resource, policy, and actions; add `console-module-data` when Console Kit should own discovery and Constructive integration.\n\nDegraded states: The host owns Sheets state and endpoint binding; incompatible metadata stays explicit, and PostgreSQL privileges and RLS decide every query and mutation.\n\nGuide: https://constructive-io.github.io/blocks/blocks/features/data/", "dependencies": [ - "@constructive-io/data@^0.7.0", + "@constructive-io/data@^0.8.0", "lucide-react" ], "registryDependencies": [ diff --git a/apps/registry/scripts/compiler.ts b/apps/registry/scripts/compiler.ts index ec716a7..d579ce5 100644 --- a/apps/registry/scripts/compiler.ts +++ b/apps/registry/scripts/compiler.ts @@ -5,8 +5,8 @@ export const CONSTRUCTIVE_UI_PACKAGE = '@constructive-io/ui'; export const CONSTRUCTIVE_SHEETS_PACKAGE = '@constructive-io/sheets'; export const CONSTRUCTIVE_NAMESPACE = '@constructive/'; export const CONSTRUCTIVE_THEME_DEPENDENCY = '@constructive/constructive-theme'; -export const CONSTRUCTIVE_DATA_DEPENDENCY = '@constructive-io/data@^0.7.0'; -export const CONSTRUCTIVE_COMMAND_PALETTE_DEPENDENCY = '@constructive-io/command-palette@^0.5.0'; +export const CONSTRUCTIVE_DATA_DEPENDENCY = '@constructive-io/data@^0.8.0'; +export const CONSTRUCTIVE_COMMAND_PALETTE_DEPENDENCY = '@constructive-io/command-palette@^0.6.0'; export const NODE_TYPE_REGISTRY_DEPENDENCY = 'node-type-registry@^1.11.0'; export const FEATURE_PACK_IDS = [ diff --git a/packages/blocks-renderer/package.json b/packages/blocks-renderer/package.json index b569e16..e662576 100644 --- a/packages/blocks-renderer/package.json +++ b/packages/blocks-renderer/package.json @@ -24,6 +24,7 @@ "scripts": { "build": "makage clean && makage build-ts && makage assets", "build:dev": "makage clean && makage build-ts --dev && makage assets", + "prepack": "npm run build", "lint:types": "tsc --noEmit -p tsconfig.lint.json", "test": "vitest run", "test:watch": "vitest", diff --git a/packages/blocks-schema/package.json b/packages/blocks-schema/package.json index d9a95b1..9445b84 100644 --- a/packages/blocks-schema/package.json +++ b/packages/blocks-schema/package.json @@ -24,6 +24,7 @@ "scripts": { "build": "makage clean && makage build-ts && makage assets", "build:dev": "makage clean && makage build-ts --dev && makage assets", + "prepack": "npm run build", "lint:types": "tsc --noEmit -p tsconfig.lint.json", "test": "vitest run", "test:watch": "vitest", diff --git a/packages/flow-to-blocks/package.json b/packages/flow-to-blocks/package.json index db1c81b..5db5504 100644 --- a/packages/flow-to-blocks/package.json +++ b/packages/flow-to-blocks/package.json @@ -24,6 +24,7 @@ "scripts": { "build": "makage clean && makage build-ts && makage assets", "build:dev": "makage clean && makage build-ts --dev && makage assets", + "prepack": "npm run build", "lint:types": "tsc --noEmit -p tsconfig.lint.json", "test": "vitest run", "test:watch": "vitest", diff --git a/packages/json-renderer/package.json b/packages/json-renderer/package.json index d253669..92b4075 100644 --- a/packages/json-renderer/package.json +++ b/packages/json-renderer/package.json @@ -24,6 +24,7 @@ "scripts": { "build": "makage build", "build:dev": "makage build --dev", + "prepack": "npm run build", "lint:types": "tsc --noEmit -p tsconfig.lint.json", "test": "vitest run", "test:watch": "vitest", diff --git a/packages/json-schema-to-blocks/package.json b/packages/json-schema-to-blocks/package.json index 24c0452..e78458d 100644 --- a/packages/json-schema-to-blocks/package.json +++ b/packages/json-schema-to-blocks/package.json @@ -24,6 +24,7 @@ "scripts": { "build": "makage clean && makage build-ts && makage assets", "build:dev": "makage clean && makage build-ts --dev && makage assets", + "prepack": "npm run build", "lint:types": "tsc --noEmit -p tsconfig.lint.json", "test": "vitest run", "test:watch": "vitest", diff --git a/packages/meta-to-blocks/package.json b/packages/meta-to-blocks/package.json index b200c18..3cad143 100644 --- a/packages/meta-to-blocks/package.json +++ b/packages/meta-to-blocks/package.json @@ -24,6 +24,7 @@ "scripts": { "build": "makage clean && makage build-ts && makage assets", "build:dev": "makage clean && makage build-ts --dev && makage assets", + "prepack": "npm run build", "lint:types": "tsc --noEmit -p tsconfig.lint.json", "test": "vitest run", "test:watch": "vitest", diff --git a/packages/schema-builder/registry.json b/packages/schema-builder/registry.json index 7e2262c..75e94e0 100644 --- a/packages/schema-builder/registry.json +++ b/packages/schema-builder/registry.json @@ -14,7 +14,7 @@ "schema" ], "dependencies": [ - "@constructive-io/data@^0.7.0", + "@constructive-io/data@^0.8.0", "@dnd-kit/core", "@dnd-kit/utilities", "@fluentui/react-context-selector", diff --git a/packages/sheets/registry.json b/packages/sheets/registry.json index 64d6c1d..e0f5ba3 100644 --- a/packages/sheets/registry.json +++ b/packages/sheets/registry.json @@ -14,7 +14,7 @@ "data" ], "dependencies": [ - "@constructive-io/data@^0.7.0", + "@constructive-io/data@^0.8.0", "@internationalized/date", "@remixicon/react", "@tanstack/react-form",