diff --git a/apps/playground/eslint.config.mjs b/apps/playground/eslint.config.mjs new file mode 100644 index 0000000..f2ac8a1 --- /dev/null +++ b/apps/playground/eslint.config.mjs @@ -0,0 +1,16 @@ +import reactConfig from '@tpmjs/eslint-config/react.js'; + +export default [ + { + ignores: [ + '.next/**', + '.turbo/**', + 'node_modules/**', + '*.config.js', + '*.config.ts', + 'next-env.d.ts', + 'eslint.config.mjs', + ], + }, + ...reactConfig, +]; diff --git a/apps/playground/postcss.config.mjs b/apps/playground/postcss.config.mjs index 2aa7205..a982c64 100644 --- a/apps/playground/postcss.config.mjs +++ b/apps/playground/postcss.config.mjs @@ -1,6 +1,8 @@ -export default { +const config = { plugins: { tailwindcss: {}, autoprefixer: {}, }, }; + +export default config; diff --git a/apps/playground/src/components/chat/ChatMessages.tsx b/apps/playground/src/components/chat/ChatMessages.tsx index 21ffa23..ce7f887 100644 --- a/apps/playground/src/components/chat/ChatMessages.tsx +++ b/apps/playground/src/components/chat/ChatMessages.tsx @@ -26,7 +26,7 @@ export function ChatMessages({
🐟

Start chatting to test TPMJS tools

-

Try asking: "Tell me a fish joke"

+

Try asking: “Tell me a fish joke”

); diff --git a/packages/ui/src/Input/Input.test.tsx b/packages/ui/src/Input/Input.test.tsx index f9d18a1..93c89a2 100644 --- a/packages/ui/src/Input/Input.test.tsx +++ b/packages/ui/src/Input/Input.test.tsx @@ -342,7 +342,7 @@ describe('Input', () => { expect(input.className).toContain('font-sans'); expect(input.className).toContain('rounded-md'); expect(input.className).toContain('border'); - expect(input.className).toContain('bg-background'); + expect(input.className).toContain('bg-surface'); }); it('includes transition classes', () => { diff --git a/packages/ui/src/Select/Select.test.tsx b/packages/ui/src/Select/Select.test.tsx index feb92e3..99e47a4 100644 --- a/packages/ui/src/Select/Select.test.tsx +++ b/packages/ui/src/Select/Select.test.tsx @@ -436,7 +436,7 @@ describe('Select', () => { it('should include border and background classes', () => { render(