You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/get-started.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,26 @@
1
1
---
2
-
id: starthere
2
+
id: get-started
3
3
title: Getting Started
4
4
---
5
5
6
+
## Overview
7
+
8
+
Despite all the recent hype, setting up a new TypeScript (x React) library can be tough. Between [Rollup](https://github.com/rollup/rollup), [Jest](https://github.com/facebook/jest), `tsconfig`, [Yarn resolutions](https://yarnpkg.com/en/docs/selective-version-resolutions), ESLint, and getting VSCode to play nicely....there is just a whole lot of stuff to do (and things to screw up). TSDX is a zero-config CLI that helps you develop, test, and publish modern TypeScript packages with ease--so you can focus on your awesome new library and not waste another afternoon on the configuration.
9
+
10
+
## Features
11
+
12
+
TSDX comes with the "battery-pack included" and is part of a complete TypeScript breakfast:
13
+
14
+
- Bundles your code with [Rollup](https://github.com/rollup/rollup) and outputs multiple module formats (CJS & ESM by default, and also UMD if you want) plus development and production builds
15
+
- Comes with treeshaking, ready-to-rock lodash optimizations, and minification/compression
16
+
- Live reload / watch-mode
17
+
- Works with React
18
+
- Human readable error messages (and in VSCode-friendly format)
19
+
- Bundle size snapshots
20
+
- Opt-in to extract `invariant` error codes
21
+
- Jest test runner setup with sensible defaults via `tsdx test`
Copy file name to clipboardExpand all lines: website/docs/philosophy.md
+2-16Lines changed: 2 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,8 @@
1
1
---
2
-
id: features
3
-
title: Features
2
+
id: philosophy
3
+
title: Philosophy
4
4
---
5
5
6
-
## Features
7
-
8
-
TSDX comes with the "battery-pack included" and is part of a complete TypeScript breakfast:
9
-
10
-
- Bundles your code with [Rollup](https://github.com/rollup/rollup) and outputs multiple module formats (CJS & ESM by default, and also UMD if you want) plus development and production builds
11
-
- Comes with treeshaking, ready-to-rock lodash optimizations, and minification/compression
12
-
- Live reload / watch-mode
13
-
- Works with React
14
-
- Human readable error messages (and in VSCode-friendly format)
15
-
- Bundle size snapshots
16
-
- Opt-in to extract `invariant` error codes
17
-
- Jest test runner setup with sensible defaults via `tsdx test`
18
-
- Zero-config, single dependency
19
-
20
6
## Inspiration
21
7
22
8
TSDX is ripped out of [Formik's](https://github.com/jaredpalmer/formik) build tooling. TSDX is very similar to [@developit/microbundle](https://github.com/developit/microbundle), but that is because Formik's Rollup configuration and Microbundle's internals have converged around similar plugins over the last year or so.
0 commit comments