https://github.com/logto-io/ts-with-node-esm
Use TypeScript and Node.js in native ESM mode.
https://github.com/logto-io/ts-with-node-esm
esm esmodule javascript jest monore monorepo nodejs typescript
Last synced: 10 months ago
JSON representation
Use TypeScript and Node.js in native ESM mode.
- Host: GitHub
- URL: https://github.com/logto-io/ts-with-node-esm
- Owner: logto-io
- Archived: true
- Created: 2022-12-26T05:37:55.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-26T09:44:18.000Z (about 3 years ago)
- Last Synced: 2025-02-18T03:41:45.318Z (12 months ago)
- Topics: esm, esmodule, javascript, jest, monore, monorepo, nodejs, typescript
- Language: TypeScript
- Homepage: https://dev.to/gaosun/migrate-a-60k-loc-typescript-nodejs-repo-to-esm-and-testing-become-4x-faster-12-5f82
- Size: 31.3 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TypeScript with Node.js native ESM
This is the sample project of the series:
- [Migrate a 60k LOC TypeScript (NodeJS) repo to ESM and testing become 4x faster (1/2)](https://dev.to/gaosun/migrate-a-60k-loc-typescript-nodejs-repo-to-esm-and-testing-become-4x-faster-12-5f82)
- [Migrate a 60k LOC TypeScript (NodeJS) repo to ESM and testing become 4x faster (2/2)](https://dev.to/gaosun/migrate-a-60k-loc-typescript-nodejs-repo-to-esm-and-testing-become-4x-faster-22-4a4k)
## Try it
### Prerequisites
- Node.js ^16 ^18 ^19
- PNPM ^7
### Run the tests
```bash
pnpm i
pnpm -r build
pnpm -r test
```