From 9edc005170aa3cbd2d81ceebe8122fb162a0251d Mon Sep 17 00:00:00 2001 From: David Herman Date: Mon, 3 Jun 2024 09:46:44 -0700 Subject: [PATCH] bump create-neon to 0.5.1 to publish - add `@latest` to recommended CLI syntax for `npm init neon` --- pkgs/create-neon/README.md | 6 ++++-- pkgs/create-neon/package.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/create-neon/README.md b/pkgs/create-neon/README.md index 04c306a4b..9b1158458 100644 --- a/pkgs/create-neon/README.md +++ b/pkgs/create-neon/README.md @@ -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 -- [ ...] my-project +$ npm init neon[@latest] -- [ ...] 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 @@ -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 -- [ ...] --lib [ ...] my-project +$ npm init neon[@latest] -- [ ...] --lib [ ...] my-project ``` **Note:** The initial `--` is necessary for `npm init` to pass any command-line options to Neon. diff --git a/pkgs/create-neon/package.json b/pkgs/create-neon/package.json index 21cea275f..3a5d87280 100644 --- a/pkgs/create-neon/package.json +++ b/pkgs/create-neon/package.json @@ -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",