create-nextblock 0.12.1 → 0.12.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -51,6 +51,7 @@ const PACKAGE_VERSION_SOURCES = {
51
51
  '@nextblock-cms/db': resolve(REPO_ROOT, 'libs/db/package.json'),
52
52
  '@nextblock-cms/editor': resolve(REPO_ROOT, 'libs/editor/package.json'),
53
53
  '@nextblock-cms/sdk': resolve(REPO_ROOT, 'libs/sdk/package.json'),
54
+ '@nextblock-cms/cortex': resolve(REPO_ROOT, 'libs/cortex/package.json'),
54
55
  };
55
56
 
56
57
  program
@@ -2023,7 +2024,7 @@ function buildNextConfigContent(editorUtilNames) {
2023
2024
  // server' directives). Without db/sdk/ecommerce here, db/server's `import 'server-only'`
2024
2025
  // throws even from a Server Component, because Next treats the prebuilt package as an
2025
2026
  // external and skips the server-layer processing the monorepo gets for free from source.
2026
- " transpilePackages: ['@nextblock-cms/utils', '@nextblock-cms/ui', '@nextblock-cms/editor', '@nextblock-cms/db', '@nextblock-cms/sdk', '@nextblock-cms/ecommerce'],",
2027
+ " transpilePackages: ['@nextblock-cms/utils', '@nextblock-cms/ui', '@nextblock-cms/editor', '@nextblock-cms/db', '@nextblock-cms/sdk', '@nextblock-cms/ecommerce', '@nextblock-cms/cortex'],",
2027
2028
  ' webpack: (config, { isServer }) => {',
2028
2029
  ' config.resolve = config.resolve || {};',
2029
2030
  ' config.resolve.alias = {',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nextblock",
3
- "version": "0.12.1",
3
+ "version": "0.12.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -3,14 +3,14 @@ import { revalidatePath, revalidateTag } from 'next/cache';
3
3
 
4
4
  import { createClient, verifyPackageOnline } from '@nextblock-cms/db/server';
5
5
 
6
- import { generateCortexWidgetDefinition } from '@nextblock/cortex';
6
+ import { generateCortexWidgetDefinition } from '@nextblock-cms/cortex';
7
7
  import {
8
8
  cortexWidgetBuildRequestSchema,
9
- } from '@nextblock/cortex';
9
+ } from '@nextblock-cms/cortex';
10
10
  import {
11
11
  CortexWidgetRegistryInsertError,
12
12
  insertCortexWidgetDefinition,
13
- } from '@nextblock/cortex';
13
+ } from '@nextblock-cms/cortex';
14
14
  import {
15
15
  CUSTOM_BLOCK_DEFINITIONS_CACHE_TAG,
16
16
  getCustomBlockDefinitionCacheTag,
@@ -18,7 +18,7 @@ import {
18
18
  import {
19
19
  safeParseCortexAiModelSelection,
20
20
  summarizeCortexAiRoutingError,
21
- } from '@nextblock/cortex';
21
+ } from '@nextblock-cms/cortex';
22
22
 
23
23
  export const dynamic = 'force-dynamic';
24
24
 
@@ -5,11 +5,11 @@ import { createClient } from '@nextblock-cms/db/server';
5
5
  import {
6
6
  generateEditorHtmlFragment,
7
7
  generateEditorBlocksRequestSchema,
8
- } from '@nextblock/cortex';
8
+ } from '@nextblock-cms/cortex';
9
9
  import {
10
10
  safeParseCortexAiModelSelection,
11
11
  summarizeCortexAiRoutingError,
12
- } from '@nextblock/cortex';
12
+ } from '@nextblock-cms/cortex';
13
13
 
14
14
  export const dynamic = 'force-dynamic';
15
15