From 1cecc6fb723efb5ab28557804deaa05c4d0ac539 Mon Sep 17 00:00:00 2001 From: p-sw Date: Fri, 7 Jun 2024 00:49:25 +0900 Subject: [PATCH] refactor(cli): update shared file extension The shared file extension has been updated from .ts to .tsx in the path constants and the default configuration within the CLI package. This change aligns with our efforts to standardize the file types across the project. --- packages/cli/src/const.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/const.ts b/packages/cli/src/const.ts index 1503714..726d3d9 100644 --- a/packages/cli/src/const.ts +++ b/packages/cli/src/const.ts @@ -15,7 +15,7 @@ export interface Config { */ paths?: { components?: 'src/pswui/components' | string - shared?: 'src/pswui/shared.ts' | string + shared?: 'src/pswui/shared.tsx' | string } /** * Absolute path that will used for import in component @@ -31,7 +31,7 @@ export type ResolvedConfig = { export const DEFAULT_CONFIG = { paths: { components: 'src/pswui/components', - shared: 'src/pswui/shared.ts', + shared: 'src/pswui/shared.tsx', }, import: { shared: '@pswui-shared',