@conloca/cli 0.1.9 → 0.1.11

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.
Files changed (2) hide show
  1. package/dist/conloca.js +6 -6
  2. package/package.json +3 -3
package/dist/conloca.js CHANGED
@@ -57,7 +57,7 @@ Next steps:`);
57
57
  // src/commands/setup.ts
58
58
  import { mkdir as mkdir2, readFile as readFile2, writeFile as writeFile2 } from "node:fs/promises";
59
59
  import { join as join2, resolve as resolve2 } from "node:path";
60
- var LAYOUT_TEMPLATE = `import type { ComponentConfig, DefaultComponentProps, ObjectField } from '@measured/puck';
60
+ var LAYOUT_TEMPLATE = `import type { ComponentConfig, DefaultComponentProps, ObjectField } from '@puckeditor/core';
61
61
  import type { CSSProperties } from 'react';
62
62
  import { forwardRef, type ReactNode } from 'react';
63
63
 
@@ -288,7 +288,7 @@ export function HeadingComponent({ text, level = '2', size = 'm', align = 'left'
288
288
  );
289
289
  }
290
290
  `;
291
- var HEADING_TEMPLATE = `import type { ComponentConfig } from '@measured/puck';
291
+ var HEADING_TEMPLATE = `import type { ComponentConfig } from '@puckeditor/core';
292
292
  import React from 'react';
293
293
  import type { WithLayout } from '../Layout';
294
294
  import { withLayout } from '../Layout';
@@ -392,7 +392,7 @@ export function TextComponent({ text, size = 'm', color = 'default', align = 'le
392
392
  );
393
393
  }
394
394
  `;
395
- var TEXT_TEMPLATE = `import type { ComponentConfig } from '@measured/puck';
395
+ var TEXT_TEMPLATE = `import type { ComponentConfig } from '@puckeditor/core';
396
396
  import React from 'react';
397
397
  import type { WithLayout } from '../Layout';
398
398
  import { withLayout } from '../Layout';
@@ -457,7 +457,7 @@ const TextInner: ComponentConfig<TextProps> = {
457
457
 
458
458
  export const Text = withLayout(TextInner);
459
459
  `;
460
- var FLEX_TEMPLATE = `import type { ComponentConfig, Slot } from '@measured/puck';
460
+ var FLEX_TEMPLATE = `import type { ComponentConfig, Slot } from '@puckeditor/core';
461
461
  import React from 'react';
462
462
  import type { WithLayout } from '../Layout';
463
463
  import { withLayout } from '../Layout';
@@ -544,7 +544,7 @@ const FlexInternal: ComponentConfig<FlexProps> = {
544
544
 
545
545
  export const Flex = withLayout(FlexInternal);
546
546
  `;
547
- var GRID_TEMPLATE = `import type { ComponentConfig, Slot } from '@measured/puck';
547
+ var GRID_TEMPLATE = `import type { ComponentConfig, Slot } from '@puckeditor/core';
548
548
  import React from 'react';
549
549
  import { withLayout } from '../Layout';
550
550
  import { Section } from '../Section';
@@ -595,7 +595,7 @@ export const GridInternal: ComponentConfig<GridProps> = {
595
595
 
596
596
  export const Grid = withLayout(GridInternal);
597
597
  `;
598
- var PUCK_CONFIG_TEMPLATE = `import type { Config } from '@measured/puck';
598
+ var PUCK_CONFIG_TEMPLATE = `import type { Config } from '@puckeditor/core';
599
599
  import type { FlexProps } from './components/puck/Flex';
600
600
  import { Flex } from './components/puck/Flex';
601
601
  import type { GridProps } from './components/puck/Grid';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conloca/cli",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -10,7 +10,7 @@
10
10
  "directory": "packages/cli"
11
11
  },
12
12
  "dependencies": {
13
- "@conloca/content-api": "0.1.9",
13
+ "@conloca/content-api": "^0.1.11",
14
14
  "@node-rs/xxhash": "^1.7.6"
15
15
  },
16
16
  "bin": {
@@ -26,6 +26,6 @@
26
26
  "!**/*.tsbuildinfo"
27
27
  ],
28
28
  "devDependencies": {
29
- "@types/bun": "^1.3.1"
29
+ "@types/bun": "^1.3.9"
30
30
  }
31
31
  }