yavascript 0.0.8 → 0.0.10

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.
Files changed (31) hide show
  1. package/README.md +7 -7
  2. package/bin/aarch64-apple-darwin/yavascript +0 -0
  3. package/bin/aarch64-apple-darwin/yavascript-bootstrap +0 -0
  4. package/bin/aarch64-unknown-linux-gnu/yavascript +0 -0
  5. package/bin/aarch64-unknown-linux-gnu/yavascript-bootstrap +0 -0
  6. package/bin/aarch64-unknown-linux-musl/yavascript +0 -0
  7. package/bin/aarch64-unknown-linux-musl/yavascript-bootstrap +0 -0
  8. package/bin/aarch64-unknown-linux-static/yavascript +0 -0
  9. package/bin/aarch64-unknown-linux-static/yavascript-bootstrap +0 -0
  10. package/bin/x86_64-apple-darwin/yavascript +0 -0
  11. package/bin/x86_64-apple-darwin/yavascript-bootstrap +0 -0
  12. package/bin/x86_64-pc-windows-static/yavascript-bootstrap.exe +0 -0
  13. package/bin/x86_64-pc-windows-static/yavascript.exe +0 -0
  14. package/bin/x86_64-unknown-linux-gnu/yavascript +0 -0
  15. package/bin/x86_64-unknown-linux-gnu/yavascript-bootstrap +0 -0
  16. package/bin/x86_64-unknown-linux-musl/yavascript +0 -0
  17. package/bin/x86_64-unknown-linux-musl/yavascript-bootstrap +0 -0
  18. package/bin/x86_64-unknown-linux-static/yavascript +0 -0
  19. package/bin/x86_64-unknown-linux-static/yavascript-bootstrap +0 -0
  20. package/dist/index-arm64.js +66737 -0
  21. package/dist/index-x86_64.js +66737 -0
  22. package/dist/primordials-arm64.js +65803 -0
  23. package/dist/primordials-x86_64.js +65803 -0
  24. package/lib/binary-path.js +5 -5
  25. package/package.json +1 -1
  26. package/yavascript.d.ts +1931 -323
  27. package/bin/darwin-arm64/yavascript +0 -0
  28. package/bin/darwin-x86_64/yavascript +0 -0
  29. package/bin/linux-aarch64/yavascript +0 -0
  30. package/bin/linux-amd64/yavascript +0 -0
  31. package/bin/windows-x86_64/yavascript.exe +0 -0
package/README.md CHANGED
@@ -85,17 +85,17 @@ supporting the ES2020 specification.
85
85
 
86
86
  ## Compiling
87
87
 
88
- ### Binaries (all platforms)
88
+ You'll need to install these prerequisites:
89
89
 
90
- You will need docker installed, then run `meta/docker/build-all.sh`.
90
+ - [node.js](https://nodejs.org/en)
91
+ - [ninja](https://ninja-build.org/)
92
+ - [bat](https://github.com/sharkdp/bat)
91
93
 
92
- ### Binaries (just for your machine)
94
+ Then run `meta/build.sh` to build binaries for the current platform (will be output in `dist`), or `meta/build-all.sh` to build binaries for all platforms (will be output in `bin`).
93
95
 
94
- You will need node.js and ninja installed, then run `meta/build.sh`.
96
+ ### Building the Docker image
95
97
 
96
- ### Docker image
97
-
98
- You will need docker installed, then run `docker build -t yourusername/yavascript .`.
98
+ You will need docker installed. After building binaries for all platforms, ensure yavascript is in your PATH, then run `meta/docker/build-image.sh`.
99
99
 
100
100
  ---
101
101