diff --git a/_posts/2024-02-19-jco-1.0.md b/_posts/2024-02-19-jco-1.0.md index c9a0216..f4849bf 100644 --- a/_posts/2024-02-19-jco-1.0.md +++ b/_posts/2024-02-19-jco-1.0.md @@ -77,6 +77,7 @@ $ cd playground-jco # Enter the newly created project $ npm init -y # Setup a Node.js environment $ touch index.js # Create a JS entrypoint $ echo node_modules >> .gitignore # Add node_modules to our .gitignore file +$ cargo add wit_bindgen # add cargo crate dependencies ``` This should leave you with a structure that roughly looks like this: @@ -102,7 +103,7 @@ which takes a regular string, and converts it to [SHOUTING CASE!!1!](https://github.com/badboy/stdshout). ```wit -package my-org:wit-playground +package my-org:wit-playground; world playground { export scream: func(input: string) -> string;