amaro 0.3.2 → 0.4.1
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 +1 -20
- package/dist/index.js +40 -35
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,28 +49,9 @@ node --experimental-transform-types --import="amaro/transform" script.ts
|
|
|
49
49
|
> Note that the "amaro/transform" loader should be used with `--experimental-transform-types` flag, or
|
|
50
50
|
> at least with `--enable-source-maps` flag, to preserve the original source maps.
|
|
51
51
|
|
|
52
|
-
### How to update SWC
|
|
53
|
-
|
|
54
|
-
To update the SWC version, run:
|
|
55
|
-
|
|
56
|
-
```shell
|
|
57
|
-
./tools/update-swc.sh
|
|
58
|
-
git add deps
|
|
59
|
-
git commit -m "chore: update swc to vX.Y.Z"
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
Once you have updated the rust source code we must build the wasm.
|
|
63
|
-
To build the wasm it is necessary to have Docker installed.
|
|
64
|
-
|
|
65
|
-
```shell
|
|
66
|
-
node ./tools/build-wasm.js
|
|
67
|
-
git add lib
|
|
68
|
-
git commit -m "chore: build wasm from swc vX.Y.Z"
|
|
69
|
-
```
|
|
70
|
-
|
|
71
52
|
### TypeScript Version
|
|
72
53
|
|
|
73
|
-
The supported TypeScript version is 5.5.4.
|
|
54
|
+
The supported TypeScript version is 5.5.4, except the stage 3 decorator proposal.
|
|
74
55
|
|
|
75
56
|
## License (MIT)
|
|
76
57
|
|