├── .gitignore ├── LICENSE ├── README.md ├── package.json ├── shared ├── jest.config.js ├── package.json ├── tsconfig.json └── utils │ ├── __tests__ │ └── calc.spec.tsx │ └── calc.ts ├── website ├── .eslintrc ├── __tests__ │ └── index.tsx ├── next-env.d.ts ├── next.config.js ├── package.json ├── pages │ └── index.tsx ├── tsconfig.json └── typings │ ├── declarations │ └── .keep │ ├── interface.ts │ └── overrides.ts └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martpie/monorepo-typescript-next-the-sane-way/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martpie/monorepo-typescript-next-the-sane-way/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martpie/monorepo-typescript-next-the-sane-way/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martpie/monorepo-typescript-next-the-sane-way/HEAD/package.json -------------------------------------------------------------------------------- /shared/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martpie/monorepo-typescript-next-the-sane-way/HEAD/shared/jest.config.js -------------------------------------------------------------------------------- /shared/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martpie/monorepo-typescript-next-the-sane-way/HEAD/shared/package.json -------------------------------------------------------------------------------- /shared/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martpie/monorepo-typescript-next-the-sane-way/HEAD/shared/tsconfig.json -------------------------------------------------------------------------------- /shared/utils/__tests__/calc.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martpie/monorepo-typescript-next-the-sane-way/HEAD/shared/utils/__tests__/calc.spec.tsx -------------------------------------------------------------------------------- /shared/utils/calc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martpie/monorepo-typescript-next-the-sane-way/HEAD/shared/utils/calc.ts -------------------------------------------------------------------------------- /website/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next" 3 | } 4 | -------------------------------------------------------------------------------- /website/__tests__/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martpie/monorepo-typescript-next-the-sane-way/HEAD/website/__tests__/index.tsx -------------------------------------------------------------------------------- /website/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martpie/monorepo-typescript-next-the-sane-way/HEAD/website/next-env.d.ts -------------------------------------------------------------------------------- /website/next.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | transpilePackages: ["shared"], 3 | }; 4 | -------------------------------------------------------------------------------- /website/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martpie/monorepo-typescript-next-the-sane-way/HEAD/website/package.json -------------------------------------------------------------------------------- /website/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martpie/monorepo-typescript-next-the-sane-way/HEAD/website/pages/index.tsx -------------------------------------------------------------------------------- /website/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martpie/monorepo-typescript-next-the-sane-way/HEAD/website/tsconfig.json -------------------------------------------------------------------------------- /website/typings/declarations/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /website/typings/interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martpie/monorepo-typescript-next-the-sane-way/HEAD/website/typings/interface.ts -------------------------------------------------------------------------------- /website/typings/overrides.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martpie/monorepo-typescript-next-the-sane-way/HEAD/website/typings/overrides.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martpie/monorepo-typescript-next-the-sane-way/HEAD/yarn.lock --------------------------------------------------------------------------------