├── .editorconfig ├── .env ├── .env.production ├── .gitattributes ├── .github ├── task-definition.json └── workflows │ ├── pr-check.yml │ └── release.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .lintstagedrc.js ├── .nvmrc ├── .prettierrc.js ├── .run └── develop.run.xml ├── .stylelintrc.js ├── README.md ├── commitlint.config.js ├── eslint.config.js ├── package.json ├── public ├── favicon.ico ├── robots.txt └── vite.svg ├── release.config.js ├── src ├── app.tsx ├── assets │ ├── images │ │ └── react.svg │ └── styles │ │ └── index.css ├── client.ts ├── common │ ├── components │ │ ├── code-splitting │ │ │ └── index.tsx │ │ ├── default-suspense │ │ │ └── index.tsx │ │ ├── error-boundary-route │ │ │ └── index.tsx │ │ ├── error-boundary │ │ │ └── index.tsx │ │ ├── fallback │ │ │ ├── index.tsx │ │ │ └── styles.module.scss │ │ └── layouts │ │ │ └── app │ │ │ └── index.tsx │ └── services │ │ └── route-manager.ts ├── constants │ ├── index.ts │ └── state-key.ts ├── index.html ├── interfaces │ ├── cookies.ts │ └── user.ts ├── pages │ ├── details │ │ ├── index │ │ │ ├── components │ │ │ │ ├── placeholder │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── styles.module.scss │ │ │ │ └── user │ │ │ │ │ ├── index.stores.ts │ │ │ │ │ ├── index.tsx │ │ │ │ │ ├── stores │ │ │ │ │ └── main │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── styles.module.scss │ │ │ └── index.tsx │ │ └── user │ │ │ ├── index.stores.ts │ │ │ ├── index.tsx │ │ │ ├── stores │ │ │ └── main │ │ │ │ └── index.ts │ │ │ └── styles.module.scss │ ├── error-boundary │ │ ├── index.stores.ts │ │ ├── index.tsx │ │ └── stores │ │ │ └── main │ │ │ └── index.ts │ ├── home │ │ ├── index.tsx │ │ └── styles.module.scss │ ├── nested-suspense │ │ ├── components │ │ │ └── user │ │ │ │ ├── index.stores.ts │ │ │ │ ├── index.tsx │ │ │ │ └── stores │ │ │ │ └── main │ │ │ │ └── index.ts │ │ └── index.tsx │ ├── not-found │ │ ├── components │ │ │ ├── error │ │ │ │ └── index.tsx │ │ │ └── not-exist │ │ │ │ └── index.tsx │ │ └── index.tsx │ ├── not-lazy │ │ ├── index.tsx │ │ └── styles.module.scss │ ├── only-client-page │ │ └── index.tsx │ └── redirect │ │ └── index.tsx ├── routes │ ├── details │ │ └── index.ts │ └── index.ts ├── server.ts └── vite-env.d.ts ├── tsconfig.json ├── tsconfig.node.json ├── types └── node.d.ts └── vite.config.ts /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- 1 | VITE_API_GATEWAY=https://randomuser.me/api 2 | -------------------------------------------------------------------------------- /.env.production: -------------------------------------------------------------------------------- 1 | #NODE_ENV=development 2 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /.github/task-definition.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/.github/task-definition.json -------------------------------------------------------------------------------- /.github/workflows/pr-check.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/.github/workflows/pr-check.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npx lint-staged 5 | -------------------------------------------------------------------------------- /.lintstagedrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/.lintstagedrc.js -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 22.21.0 2 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /.run/develop.run.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/.run/develop.run.xml -------------------------------------------------------------------------------- /.stylelintrc.js: -------------------------------------------------------------------------------- 1 | export default { 2 | extends: ['@lomray/stylelint-config'], 3 | } 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/README.md -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | extends: ['@commitlint/config-conventional'], 3 | }; 4 | -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/eslint.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: / 3 | -------------------------------------------------------------------------------- /public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/public/vite.svg -------------------------------------------------------------------------------- /release.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/release.config.js -------------------------------------------------------------------------------- /src/app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/app.tsx -------------------------------------------------------------------------------- /src/assets/images/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/assets/images/react.svg -------------------------------------------------------------------------------- /src/assets/styles/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/assets/styles/index.css -------------------------------------------------------------------------------- /src/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/client.ts -------------------------------------------------------------------------------- /src/common/components/code-splitting/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/common/components/code-splitting/index.tsx -------------------------------------------------------------------------------- /src/common/components/default-suspense/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/common/components/default-suspense/index.tsx -------------------------------------------------------------------------------- /src/common/components/error-boundary-route/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/common/components/error-boundary-route/index.tsx -------------------------------------------------------------------------------- /src/common/components/error-boundary/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/common/components/error-boundary/index.tsx -------------------------------------------------------------------------------- /src/common/components/fallback/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/common/components/fallback/index.tsx -------------------------------------------------------------------------------- /src/common/components/fallback/styles.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/common/components/fallback/styles.module.scss -------------------------------------------------------------------------------- /src/common/components/layouts/app/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/common/components/layouts/app/index.tsx -------------------------------------------------------------------------------- /src/common/services/route-manager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/common/services/route-manager.ts -------------------------------------------------------------------------------- /src/constants/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/constants/index.ts -------------------------------------------------------------------------------- /src/constants/state-key.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/constants/state-key.ts -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/index.html -------------------------------------------------------------------------------- /src/interfaces/cookies.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/interfaces/cookies.ts -------------------------------------------------------------------------------- /src/interfaces/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/interfaces/user.ts -------------------------------------------------------------------------------- /src/pages/details/index/components/placeholder/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/details/index/components/placeholder/index.tsx -------------------------------------------------------------------------------- /src/pages/details/index/components/placeholder/styles.module.scss: -------------------------------------------------------------------------------- 1 | .container { 2 | display: block; 3 | } 4 | -------------------------------------------------------------------------------- /src/pages/details/index/components/user/index.stores.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/details/index/components/user/index.stores.ts -------------------------------------------------------------------------------- /src/pages/details/index/components/user/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/details/index/components/user/index.tsx -------------------------------------------------------------------------------- /src/pages/details/index/components/user/stores/main/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/details/index/components/user/stores/main/index.ts -------------------------------------------------------------------------------- /src/pages/details/index/components/user/styles.module.scss: -------------------------------------------------------------------------------- 1 | .col { 2 | padding: 5px; 3 | } 4 | -------------------------------------------------------------------------------- /src/pages/details/index/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/details/index/index.tsx -------------------------------------------------------------------------------- /src/pages/details/user/index.stores.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/details/user/index.stores.ts -------------------------------------------------------------------------------- /src/pages/details/user/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/details/user/index.tsx -------------------------------------------------------------------------------- /src/pages/details/user/stores/main/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/details/user/stores/main/index.ts -------------------------------------------------------------------------------- /src/pages/details/user/styles.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/details/user/styles.module.scss -------------------------------------------------------------------------------- /src/pages/error-boundary/index.stores.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/error-boundary/index.stores.ts -------------------------------------------------------------------------------- /src/pages/error-boundary/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/error-boundary/index.tsx -------------------------------------------------------------------------------- /src/pages/error-boundary/stores/main/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/error-boundary/stores/main/index.ts -------------------------------------------------------------------------------- /src/pages/home/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/home/index.tsx -------------------------------------------------------------------------------- /src/pages/home/styles.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/home/styles.module.scss -------------------------------------------------------------------------------- /src/pages/nested-suspense/components/user/index.stores.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/nested-suspense/components/user/index.stores.ts -------------------------------------------------------------------------------- /src/pages/nested-suspense/components/user/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/nested-suspense/components/user/index.tsx -------------------------------------------------------------------------------- /src/pages/nested-suspense/components/user/stores/main/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/nested-suspense/components/user/stores/main/index.ts -------------------------------------------------------------------------------- /src/pages/nested-suspense/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/nested-suspense/index.tsx -------------------------------------------------------------------------------- /src/pages/not-found/components/error/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/not-found/components/error/index.tsx -------------------------------------------------------------------------------- /src/pages/not-found/components/not-exist/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/not-found/components/not-exist/index.tsx -------------------------------------------------------------------------------- /src/pages/not-found/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/not-found/index.tsx -------------------------------------------------------------------------------- /src/pages/not-lazy/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/not-lazy/index.tsx -------------------------------------------------------------------------------- /src/pages/not-lazy/styles.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/not-lazy/styles.module.scss -------------------------------------------------------------------------------- /src/pages/only-client-page/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/only-client-page/index.tsx -------------------------------------------------------------------------------- /src/pages/redirect/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/pages/redirect/index.tsx -------------------------------------------------------------------------------- /src/routes/details/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/routes/details/index.ts -------------------------------------------------------------------------------- /src/routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/routes/index.ts -------------------------------------------------------------------------------- /src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/src/server.ts -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /types/node.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/types/node.d.ts -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lomray-Software/vite-template/HEAD/vite.config.ts --------------------------------------------------------------------------------