Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/console/src/components/PageView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function PageView() {
<SchemaRenderer
schema={{
...page,
type: 'page',
type: (page as any).type || 'page',
context: { ...(page as any).context, params }
}}
/>
Expand Down
8 changes: 7 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,10 @@ export default tseslint.config({ ignores: ['**/dist', '**/.next', '**/node_modul
'react-hooks/preserve-manual-memoization': 'warn',
'react-hooks/use-memo': 'warn',
},
}, storybook.configs["flat/recommended"]);
}, storybook.configs["flat/recommended"], {
// Override storybook rules that conflict with project conventions
files: ['**/*.stories.@(ts|tsx|js|jsx|mjs|cjs)'],
rules: {
'storybook/no-renderer-packages': 'off',
},
});
1 change: 0 additions & 1 deletion packages/plugin-list/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { ComponentRegistry } from '@object-ui/core';
import { ListView } from './ListView';
import { ViewSwitcher } from './ViewSwitcher';
import { ObjectGallery } from './ObjectGallery';
import type { ListViewSchema } from '@object-ui/types';

export { ListView, ViewSwitcher, ObjectGallery };
export type { ListViewProps } from './ListView';
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-list/src/registration.test.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { describe, it, expect, beforeAll } from 'vitest';
import { ComponentRegistry } from '@object-ui/core';
import { describe, it, expect } from 'vitest';
import { ListView } from './index';

describe('Plugin List Registration', () => {
Expand Down
1 change: 0 additions & 1 deletion packages/plugin-list/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/// <reference types="vitest" />
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import path from 'path';

export default defineConfig({
plugins: [react()],
Expand Down
1 change: 1 addition & 0 deletions packages/plugin-view/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default defineConfig({
dts({
insertTypesEntry: true,
include: ['src'],
exclude: ['**/*.test.ts', '**/*.test.tsx'],
}),
],
build: {
Expand Down