* feat: allow custom weval bin
This commit enables specifying a custom `weval` binary to use when
performing AOT.
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
* chore: set node version to v20.18.0
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
* chore(ci): install weval during CI
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
* refactor(ci): get weval version dynamically
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
---------
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
* feat(examples): add documentation and walkthroughs for examples
This commit adds documentation along with walkthroughs for how to use
`jco` when building and deploying WebAssembly components.
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
* refactor(ci): use the all target for examples
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
* chore(ci): run examples on every push to main
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
---------
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
Co-authored-by: Guy Bedford <gbedford@fastly.com>
* chore(examples): add examples
This commit adds examples to the jco, some of which are/will be
referenced from the component-model book (https://component-model.bytecodealliance.org/).
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
* fix(examples): nodejs script target command chaining
Co-authored-by: Guy Bedford <guybedford@gmail.com>
* refactor(examples): inline reverseAndUppercase() in component
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
* refactor(examples): inline reverseString() in example
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
---------
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
Co-authored-by: Guy Bedford <guybedford@gmail.com>
* Updating build process to create ts declarations
* Added no-namespaced-exports to wasm component
* Adding namespace exports option to transpile cmd
Also adding a test for the `--no-namespaced-exports` option
* Moving tsc build step fully to package.json
And other changes to make the build work on Windows
* Update README with --no-namespaced-exports
* Adding another test of namespaced exports option