* Initial plan * Implement Translation component with Storybook stories Co-authored-by: gabek <414923+gabek@users.noreply.github.com> * Add Jest test for Translation component and demonstrate ?lang=de functionality Co-authored-by: gabek <414923+gabek@users.noreply.github.com> * Javascript formatting autofixes * Create centralized type-safe localization system Co-authored-by: gabek <414923+gabek@users.noreply.github.com> * Add @testing-library/react to Translation component tests Co-authored-by: gabek <414923+gabek@users.noreply.github.com> * Fix code formatting errors with prettier and eslint Co-authored-by: gabek <414923+gabek@users.noreply.github.com> * Revert "Fix code formatting errors with prettier and eslint" Co-authored-by: gabek <414923+gabek@users.noreply.github.com> * fix(js): eslinter errors * fix(js): unused code warnings * fix(js): fix additional warnings * Update Emoji admin page to use new Translation component Co-authored-by: gabek <414923+gabek@users.noreply.github.com> * Organize localization keys by logical sections (Frontend, Admin, Common, Testing) Co-authored-by: gabek <414923+gabek@users.noreply.github.com> * Organize localization keys by TypeScript namespaces Co-authored-by: gabek <414923+gabek@users.noreply.github.com> * Javascript formatting autofixes * feat(js): add support for default translated text * chore: add default lang translations on commit * fix(js): unused code warnings * Update OfflineBanner component to use new Translation component Co-authored-by: gabek <414923+gabek@users.noreply.github.com> * fix(js): fix localization extraction job * chore(js): remove ts-node cli * fix(css): fix css warning * feat(js): add some additional translation strings via component * chore: update extracted translations * test: add tests for Translation component defaultText and fallback behavior Co-authored-by: gabek <414923+gabek@users.noreply.github.com> * chore: update extracted translations * Javascript formatting autofixes * chore: call out new Translation component * fix: linter warning * chore: updated instructions --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: gabek <414923+gabek@users.noreply.github.com> Co-authored-by: Owncast <owncast@owncast.online> Co-authored-by: Gabe Kangas <gabek@real-ity.com>
66 lines
1.3 KiB
JSON
66 lines
1.3 KiB
JSON
{
|
|
"ignoreExportsUsedInFile": true,
|
|
"ignore": [
|
|
"**/.eslintrc.js",
|
|
".storybook/**",
|
|
"**/*config.?s",
|
|
"**/*mock.?s",
|
|
"**/*fixture.?s",
|
|
"**/*stories.*",
|
|
"next-env.d.ts",
|
|
"public/**",
|
|
"tests/**",
|
|
"i18n/index.js",
|
|
"i18next-parser.config.mjs",
|
|
"types/index.ts",
|
|
"scripts/i18n-extract.js"
|
|
],
|
|
"ignoreDependencies": [
|
|
"@fontsource/inter",
|
|
"@fontsource/poppins",
|
|
"yaml",
|
|
"sharp",
|
|
"workbox-precaching",
|
|
"workbox-window",
|
|
"@storybook/addon-postcss",
|
|
"@storybook/cli",
|
|
"@storybook/mdx2-csf",
|
|
"@mdx-js/react",
|
|
"@svgr/webpack",
|
|
"@types/markdown-it",
|
|
"@types/prop-types",
|
|
"babel-loader",
|
|
"chromatic",
|
|
"cypress",
|
|
"handlebars",
|
|
"html-webpack-plugin",
|
|
"install",
|
|
"mdx-mermaid",
|
|
"mermaid",
|
|
"storybook-preset-less",
|
|
"ts-jest",
|
|
"stylelint-config-standard",
|
|
"@babel/core",
|
|
"npm",
|
|
"eslint-config-next",
|
|
"@storybook/addon-postcss",
|
|
"@storybook/cli",
|
|
"@storybook/mdx2-csf",
|
|
"@commitlint/cli",
|
|
"@commitlint/config-conventional",
|
|
"babel-plugin-dynamic-import-node",
|
|
"@babel/preset-react",
|
|
"@babel/core",
|
|
"i18next-scanner",
|
|
"@types/chart.js",
|
|
"@types/classnames",
|
|
"@types/video.js",
|
|
"@testing-library/jest-dom",
|
|
"@testing-library/react",
|
|
"jest-environment-jsdom",
|
|
"@babel/parser",
|
|
"@babel/traverse",
|
|
"glob"
|
|
]
|
|
}
|