This PR extends the build pipeline of the www service to support locale-prefixed static builds (EN/RU) with build-time SSG output injection, while also refactoring UI typography to a tokenized Tailwind v4 @theme-driven approach. Changes: - Add build-time SSG plugin to @ermnvldmr/rsbuild-config and wire multi-locale builds (/en/, /ru/) into services/www. - Introduce new @ermnvldmr/i18n package (locale constants, path helpers, keysets, pluralization) and apply it to www navigation/text. - Refactor ui typography to a shared getTypographyClassNames utility + Tailwind token definitions, with stl/cn updated for correct Tailwind-merge behavior.
32 lines
729 B
JSON
32 lines
729 B
JSON
{
|
|
"name": "@ermnvldmr/rsbuild-config",
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"exports": {
|
|
"./dev": "./dist/dev.js",
|
|
"./testing": "./dist/testing.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc"
|
|
},
|
|
"dependencies": {
|
|
"@rsbuild/plugin-react": "^1.1.1",
|
|
"@rsbuild/plugin-type-check": "^1.1.1",
|
|
"critters": "^0.0.25",
|
|
"fast-glob": "^3.3.3",
|
|
"jsdom": "^28.0.0",
|
|
"react": "^19.1.0",
|
|
"rsbuild-plugin-dts": "^0.19.5"
|
|
},
|
|
"devDependencies": {
|
|
"@rsbuild/core": "^1.7.3",
|
|
"@types/jsdom": "^27.0.0",
|
|
"@types/react": "^19.1.2",
|
|
"@types/react-dom": "^19.1.2",
|
|
"react-dom": "^19.1.0",
|
|
"typescript": "^5.8.2",
|
|
"vite-tsconfig-paths": "^6.1.1",
|
|
"vitest": "^4.0.18"
|
|
}
|
|
}
|