-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mordechai Dror
committed
Dec 7, 2023
1 parent
f69b1ad
commit 95a14e2
Showing
14 changed files
with
67 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ description: | |
tags: | ||
- dart | ||
- programming | ||
platforms: | ||
publishedAt: | ||
coverImage: | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
packages/blog/src/content/posts/_typescript-monorepos-are-painful.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
--- | ||
title: TypeScript Monorepos are painful | ||
description: 'You know how they they "once you go black, you never go back"? I went through it with two things: TypeScript and Monopepos, but to set up them both simultaneously was... interesting to say the least. But in the end I now have a strong foundation for a projects of any size and scale, that I''d like to share with you' | ||
tags: | ||
- programming | ||
- typescript | ||
- node | ||
publishedAt: | ||
coverImage: | ||
related: | ||
isPinned: | ||
--- | ||
|
||
### Why TypeScript? | ||
|
||
### Why Monorepo? | ||
|
||
### Monorepo options | ||
|
||
npm workspaces vs yarn workspaces | ||
|
||
- yarn focus | ||
- workspace versioning | ||
- traversal run | ||
|
||
### Usual Polyrepo with TypeScript | ||
|
||
- prod with node | ||
- build with tsc | ||
- watch with nodemon & ts-node | ||
|
||
### Monorepo with TypeScript | ||
|
||
workspace deps in package.json -> +prod | ||
workspace reference in tsconfig.json -> +build | ||
watch? | ||
|
||
### TypeScript tooling ecosystem | ||
|
||
ts-node (tsc) esm problem, ts-node (tsc) references problem | ||
tsx (esbuild) references problem, tsx (esbuild) decorators problem | ||
tsx for unit tests | ||
nodemon (with tsc as 2nd process) problem | ||
|
||
### Keep it simple, stupid | ||
|
||
built-in watch mode (with tsc as 2nd process) sulution | ||
|
||
### What's next | ||
|
||
client-side mess (webpack, rollup, esbuild) | ||
|
||
### P.S. | ||
|
||
yarn pnp problem with tsc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters