@conloca/cli 0.1.9 → 0.1.10
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.
- package/dist/conloca.js +6 -6
- package/package.json +2 -2
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 '@
|
|
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 '@
|
|
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 '@
|
|
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 '@
|
|
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 '@
|
|
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 '@
|
|
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.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
"!**/*.tsbuildinfo"
|
|
27
27
|
],
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@types/bun": "^1.3.
|
|
29
|
+
"@types/bun": "^1.3.9"
|
|
30
30
|
}
|
|
31
31
|
}
|