Skip to content

Commit

Permalink
Publish 0.0.1 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
itowlson authored Nov 19, 2020
1 parent f5e12a7 commit 59cadbf
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 17 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Change Log

## 0.0.1

* Initial version
* Language support: Rust, C, AssemblyScript
* Registry support: ACR
43 changes: 26 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,15 @@
Generate WASM modules that can be pushed to OCI registries, for example
for use with [Krustlet](https://github.com/deislabs/krustlet).

**This generator is currently work in progress. You cannot yet install it using npm.**
If you would like to try it, you can clone
the repo and run `npm run compile && npm link` to hook it up to Yeoman so that you can run `yo wasm`.
Or let us know so that we're motivated to get it ready for a proper release!

## Installation

First, install [Yeoman](http://yeoman.io) using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).

**NOTE: You can't install `generator-wasm` using `npm install` yet - for now you need to run `npm run compile && npm link` as described above.** ~~Then install `generator-wasm` also using `npm`.~~
First, install [Yeoman](http://yeoman.io) using [npm](https://www.npmjs.com/)
(we assume you have pre-installed [node.js](https://nodejs.org/)).
Then install `generator-wasm` also using `npm`.

```bash
npm install -g yo
# npm install -g generator-wasm
# for now do instead:
npm install && npm run compile && npm link
npm install -g generator-wasm
```

Then generate your new project:
Expand Down Expand Up @@ -81,14 +74,30 @@ _NOTE: during testing we sometimes see that GitHub workflows do not run on the i
commit, or if you tag the initial commit. It usually works - but you **may** need to
push a change to `main` before the workflows will run._

## Code of Conduct
## Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.

This project has adopted the [Microsoft Open Source Code of
Conduct](https://opensource.microsoft.com/codeofconduct/).
## Running from source

For more information see the [Code of Conduct
FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact
[opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
If you would like to run the generator from source, or modify it, you can clone
the repo and run `npm install && npm run compile && npm link`
to hook it up to Yeoman so that you can run `yo wasm`.

```bash
npm install -g yo
npm install && npm run compile && npm link
```

[npm-image]: https://badge.fury.io/js/generator-wasm.svg
[npm-url]: https://npmjs.org/package/generator-wasm
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "generator-wasm",
"version": "0.0.1",
"preview": true,
"description": "Publish programs as WASM modules",
"homepage": "https://github.com/deislabs/generator-wasm",
"author": {
Expand Down

0 comments on commit 59cadbf

Please sign in to comment.