amaro 1.1.5 → 1.1.6
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 +3 -3
- package/dist/index.js +5 -5
- package/dist/package.json +1 -1
- package/dist/register-transform.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,12 +32,12 @@ It is possible to use Amaro as an external loader to execute TypeScript files.
|
|
|
32
32
|
This allows the installed Amaro to override the Amaro version used by Node.js.
|
|
33
33
|
In order to use Amaro as an external loader, type stripping needs to be enabled.
|
|
34
34
|
|
|
35
|
-
In node v23 and later you can omit the `--experimental-strip-types` flag, as it is enabled by default.
|
|
36
|
-
|
|
37
35
|
```bash
|
|
38
|
-
node --
|
|
36
|
+
node --import="amaro/strip" file.ts
|
|
39
37
|
```
|
|
40
38
|
|
|
39
|
+
> In node v22.18.0 and later you can omit the `--experimental-strip-types` flag, as it is enabled by default.
|
|
40
|
+
|
|
41
41
|
Enabling TypeScript feature transformation:
|
|
42
42
|
|
|
43
43
|
```bash
|