https://github.com/rhannachi/typescript-workspace
Yarn Workspaces and Typescript in a mono repo
https://github.com/rhannachi/typescript-workspace
workspaces yarn-workspaces
Last synced: 5 months ago
JSON representation
Yarn Workspaces and Typescript in a mono repo
- Host: GitHub
- URL: https://github.com/rhannachi/typescript-workspace
- Owner: rhannachi
- License: mit
- Created: 2022-10-13T20:00:38.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-18T19:36:55.000Z (about 3 years ago)
- Last Synced: 2025-03-01T19:47:43.818Z (10 months ago)
- Topics: workspaces, yarn-workspaces
- Language: TypeScript
- Homepage:
- Size: 130 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mono-repos Typescript
Scaling out TypeScript Mono-repos with Yarn Workspaces
```
.
├── packages
│ ├
│ ├── http-client
│ │ ├── package.json
│ │ ├── src
│ │ │ └── index.ts
│ │ └── tsconfig.json
│ ├
│ ├── marvel-client
│ │ ├── package.json
│ │ ├── src
│ │ │ └── index.ts
│ │ └── tsconfig.json
│ ├
│ └── marvel-services
│ ├── package.json
│ ├── src
│ │ └── index.ts
│ └── tsconfig.json
│
├── tsconfig.base.json
├── tsconfig.json
├── package.json
└── yarn.lock
```
# Start project
```
$ touch packages/marvel-services/.env
# add your public key
MARVEL_PUBLIC_KEY=xxxxxxxxxxxxxxxxx
# add your private key
MARVEL_PRIVATE_KEY=xxxxxxxxxxxxxxxxx
$ yarn install
$ yarn build
$ yarn marvel-client:dev
```