Skip to content

Commit d9ef934

Browse files
b5ricochet
authored andcommitted
fixup tutorials for cargo-component-component 0.10.1
1 parent 98a2717 commit d9ef934

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

_posts/2024-02-19-jco-1.0.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ $ cd playground-jco # Enter the newly created project
7777
$ npm init -y # Setup a Node.js environment
7878
$ touch index.js # Create a JS entrypoint
7979
$ echo node_modules >> .gitignore # Add node_modules to our .gitignore file
80+
$ cargo add wit_bindgen # add cargo crate dependencies
8081
```
8182

8283
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
102103
CASE!!1!](https://github.com/badboy/stdshout).
103104

104105
```wit
105-
package my-org:wit-playground
106+
package my-org:wit-playground;
106107
107108
world playground {
108109
export scream: func(input: string) -> string;

0 commit comments

Comments
 (0)