Skip to content

Commit 56178a2

Browse files
committed
renamed files in admin design system to kebab-case
1 parent 236f908 commit 56178a2

File tree

160 files changed

+486
-485
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+486
-485
lines changed

apps/admin-x-design-system/.eslintrc.cjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ module.exports = {
3030
'react/no-array-index-key': 'error',
3131
'react/jsx-key': 'off',
3232

33+
// Enforce kebab-case (lowercase with hyphens) for all filenames
34+
'ghost/filenames/match-regex': ['error', '^[a-z0-9.-]+$', false],
35+
3336
'tailwindcss/classnames-order': ['error', {config: 'tailwind.config.cjs'}],
3437
'tailwindcss/enforces-negative-arbitrary-values': ['warn', {config: 'tailwind.config.cjs'}],
3538
'tailwindcss/enforces-shorthand': ['warn', {config: 'tailwind.config.cjs'}],

apps/admin-x-design-system/.storybook/preview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import '../styles.css';
44
import './storybook.css';
55

66
import type { Preview } from "@storybook/react";
7-
import DesignSystemProvider from '../src/providers/DesignSystemProvider';
7+
import DesignSystemProvider from '../src/providers/design-system-provider';
88
import adminxTheme from './adminx-theme';
99

1010
// import { MINIMAL_VIEWPORTS } from '@storybook/addon-viewport';

apps/admin-x-design-system/README.md

Lines changed: 0 additions & 6 deletions

apps/admin-x-design-system/src/Boilerplate.stories.tsx renamed to apps/admin-x-design-system/src/boilerplate.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type {Meta, StoryObj} from '@storybook/react';
22

3-
import BoilerPlate from './Boilerplate';
3+
import BoilerPlate from './boilerplate';
44

55
const meta = {
66
title: 'Meta / Boilerplate',
File renamed without changes.

apps/admin-x-design-system/src/DesignSystemApp.tsx renamed to apps/admin-x-design-system/src/design-system-app.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import clsx from 'clsx';
22
import React from 'react';
3-
import {FetchKoenigLexical} from './global/form/HtmlEditor';
4-
import DesignSystemProvider from './providers/DesignSystemProvider';
3+
import {FetchKoenigLexical} from './global/form/html-editor';
4+
import DesignSystemProvider from './providers/design-system-provider';
55

66
export interface DesignSystemAppProps extends React.HTMLProps<HTMLDivElement> {
77
darkMode: boolean;

apps/admin-x-design-system/src/global/Avatar.stories.tsx renamed to apps/admin-x-design-system/src/global/avatar.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type {Meta, StoryObj} from '@storybook/react';
22

3-
import Avatar from './Avatar';
3+
import Avatar from './avatar';
44

55
const meta = {
66
title: 'Global / Avatar',
@@ -66,4 +66,4 @@ export const ExtraLarge: Story = {
6666
labelColor: 'white',
6767
size: 'xl'
6868
}
69-
};
69+
};
File renamed without changes.

apps/admin-x-design-system/src/global/Banner.stories.tsx renamed to apps/admin-x-design-system/src/global/banner.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type {Meta, StoryObj} from '@storybook/react';
22

3-
import Banner from './Banner';
3+
import Banner from './banner';
44

55
const meta = {
66
title: 'Global / Banner',
File renamed without changes.

0 commit comments

Comments
 (0)