@tsmodule/tsmodule 27.0.0 → 27.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -4
- package/package.json +1 -1
package/README.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
---
|
7
7
|
|
8
|
-
|
8
|
+
#### Quickly create TypeScript projects with **`tsmodule create`**
|
9
9
|
|
10
10
|
Supports React via TSX/JSX. Ready with zero config:
|
11
11
|
|
@@ -13,16 +13,16 @@ Supports React via TSX/JSX. Ready with zero config:
|
|
13
13
|
- ESLint + TypeScript configs
|
14
14
|
- CI/CD with GitHub Actions
|
15
15
|
|
16
|
-
|
16
|
+
#### Build TypeScript to pure ESM with **`tsmodule build`**
|
17
17
|
|
18
18
|
- No more polyfilling to CJS or older featuresets
|
19
19
|
- Use latest syntax in source, leave backporting to downstream consumers
|
20
20
|
|
21
|
-
|
21
|
+
#### Dev mode with **`tsmodule dev`**
|
22
22
|
|
23
23
|
- Build and watch for changes
|
24
24
|
|
25
|
-
|
25
|
+
#### Run TypeScript directly with **`tsmodule <file>`**
|
26
26
|
|
27
27
|
- Uses Node module loader to resolve TS at runtime
|
28
28
|
- Executable TypeScript files with `#!/usr/bin/env tsmodule`
|
@@ -133,6 +133,11 @@ And conditional exports in package.json will be configured like so, such that
|
|
133
133
|
This has no restriction on internal imports between files, only the default
|
134
134
|
configuration for how downstream consumers can import from module subpaths.
|
135
135
|
|
136
|
+
#### Package.json export
|
137
|
+
|
138
|
+
For information on why the `"./package.json": "./package.json"` export is
|
139
|
+
specified, see [#1](https://github.com/tsmodule/tsmodule/issues/1#issuecomment-1065500448).
|
140
|
+
|
136
141
|
## License
|
137
142
|
|
138
143
|
MIT © [C. Lewis](https://ctjlewis.com)
|