Skip to content

Commit

Permalink
fixup tutorials for cargo-component-component 0.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
b5 authored and ricochet committed Nov 6, 2024
1 parent 98a2717 commit d9ef934
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _posts/2024-02-19-jco-1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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;
Expand Down

0 comments on commit d9ef934

Please sign in to comment.