Skip to content

Commit

Permalink
bump create-neon to 0.5.1 to publish
Browse files Browse the repository at this point in the history
- add `@latest` to recommended CLI syntax for `npm init neon`
  • Loading branch information
dherman committed Jun 3, 2024
1 parent f2f19d4 commit 9edc005
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions pkgs/create-neon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ You can conveniently use this tool with the [`npm init`](https://docs.npmjs.com/
To create a simple Neon project that consists purely of Rust code:

```sh
$ npm init neon -- [<opts> ...] my-project
$ npm init neon[@latest] -- [<opts> ...] my-project
```

**Note:** The initial `--` is necessary for `npm init` to pass any command-line options to Neon.

**Note:** The `@latest` ensures that npm uses the latest version of this tool.

#### Global Options

```sh
Expand All @@ -29,7 +31,7 @@ Neon also makes it easy to create **portable, cross-platform libraries** by publ
To create a portable npm library with pre-built binaries:

```sh
$ npm init neon -- [<opts> ...] --lib [<lib-opts> ...] my-project
$ npm init neon[@latest] -- [<opts> ...] --lib [<lib-opts> ...] my-project
```

**Note:** The initial `--` is necessary for `npm init` to pass any command-line options to Neon.
Expand Down
2 changes: 1 addition & 1 deletion pkgs/create-neon/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-neon",
"version": "0.5.0",
"version": "0.5.1",
"description": "Create Neon projects with no build configuration.",
"type": "module",
"exports": "./dist/src/bin/create-neon.js",
Expand Down

0 comments on commit 9edc005

Please sign in to comment.