Skip to content

Commit

Permalink
0.10.1 (nodists#266)
Browse files Browse the repository at this point in the history
use nodists/nodist for urls and namespaces
  • Loading branch information
Mairu committed Nov 23, 2023
1 parent 89f7226 commit e4e67cd
Show file tree
Hide file tree
Showing 10 changed files with 130 additions and 151 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ C:\> nodist

Over the past months several problems have presented themselves, which are due to the way nodist works and are hard to fix:

* process signals: Nodist employs a wrapper executable to shim the functionality of Node. Since Windows doesn't have signals, sending a SIGTERM, or similar will probably not be propagated to the actual node process, but get stuck in the shim. (see [#173](https://github.com/marcelklehr/nodist/issues/173))
* process signals: Nodist employs a wrapper executable to shim the functionality of Node. Since Windows doesn't have signals, sending a SIGTERM, or similar will probably not be propagated to the actual node process, but get stuck in the shim. (see [#173](https://github.com/nodists/nodist/issues/173))
* native modules: Since the node version changes at the mercy of the shim executable, based on env vars, target directory and the global setting, and availability of node versions, it is possible that locally or globally installed node modules that depend on a specific version of node (usually native modules and downloaders) stop working. `npm rebuild` makes things work again in these cases.


Expand All @@ -38,7 +38,7 @@ Nodist was designed to replace any existing node.js installation, so *if node is

### with the installer

1. Download the installer [from the releases page](https://github.com/marcelklehr/nodist/releases)
1. Download the installer [from the releases page](https://github.com/nodists/nodist/releases)
2. Run the installer and follow the install wizard

### via chocolatey
Expand Down Expand Up @@ -126,7 +126,7 @@ Any instances of node invoked by npm/npx will be locked to the same version npm/

Currently, all node and npm versions share the same global npm module space.

If you have installed native modules (globally or locally) you may have to run `npm rebuild` after changing the node version (implicitly or explicitly). There is an [open issue](https://github.com/marcelklehr/nodist/issues/169) about how to avoid rebuilding globally installed native modules, feedback/input is welcome.
If you have installed native modules (globally or locally) you may have to run `npm rebuild` after changing the node version (implicitly or explicitly). There is an [open issue](https://github.com/nodists/nodist/issues/169) about how to avoid rebuilding globally installed native modules, feedback/input is welcome.

The npx shim will try to run the npx shipped with the currently selected npm version.

Expand Down Expand Up @@ -238,7 +238,7 @@ The global `node.exe` is a shim and chooses the right node version to run based
As the global node version will be subject to change, `nodist` comes with its own dedicated node binary.

## Got ideas? Doesn't work for you? Want to give feedback?
[File an issue](https://github.com/marcelklehr/nodist/issues) and tell me what you'd change or add or what doesn't work for you. Every issue is welcome!
[File an issue](https://github.com/nodists/nodist/issues) and tell me what you'd change or add or what doesn't work for you. Every issue is welcome!

## Malware warnings
Nodist is not a virus. Nonetheless, some malware detection tools report the Nodist installer
Expand Down Expand Up @@ -286,12 +286,12 @@ Afterwards you'll find the installer in `build/out/NodistSetup-vX.X.X.exe` and f
The chocolatey package will be in `build/out/package`, you can run `cpack` and `cpush --source https://chocolatey.org/` inside that directory (if you are a registered maintainer).

## Legal
Copyright (c) 2012-2022 by Marcel Klehr, Bryan Tong (@nullivex)
Copyright (c) 2012-2023 by Marcel Klehr, Bryan Tong (@nullivex)
MIT License

## Changelog

v0.10.0
v0.10.1
* Fix building shims (for newer go versions) by using go modules
* Add npx shim (works only for npm versions that ship with npx)
* Fix getting latest npm version
Expand Down
4 changes: 2 additions & 2 deletions build/Nodist.template.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

!define APP_NAME "Nodist"
!define COMP_NAME "Nodist"
!define WEB_SITE "https://github.com/nullivex/nodist"
!define WEB_SITE "https://github.com/nodists/nodist"
!define SHORT_VERSION ";VERSION;"
!define COPYRIGHT "Marcel Klehr © 2015-2022"
!define COPYRIGHT "Marcel Klehr © 2015-2023"
!define VERSION "${SHORT_VERSION}.0"
!define DESCRIPTION "Node Version Manager for Windows"
!define LICENSE_TXT "staging\LICENSE.txt"
Expand Down
16 changes: 8 additions & 8 deletions build/nodist.template.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
<authors>Marcel Klehr</authors>
<owners>Marcel Klehr</owners>
<summary>A Node.js version manager.</summary>
<description>A Node.js and io.js version manager. Inspired by n and nodenv. See github page https://github.com/nullivex/nodist for documentation.</description>
<projectUrl>https://github.com/nullivex/nodist</projectUrl>
<projectSourceUrl>https://github.com/nullivex/nodist</projectSourceUrl>
<docsUrl>https://raw.githubusercontent.com/nullivex/nodist/master/usage.txt</docsUrl>
<bugTrackerUrl>https://github.com/marcelklehr/nullivex/issues</bugTrackerUrl>
<description>A Node.js and io.js version manager. Inspired by n and nodenv. See github page https://github.com/nodists/nodist for documentation.</description>
<projectUrl>https://github.com/nodists/nodist</projectUrl>
<projectSourceUrl>https://github.com/nodists/nodist</projectSourceUrl>
<docsUrl>https://raw.githubusercontent.com/nodists/nodist/master/usage.txt</docsUrl>
<bugTrackerUrl>https://github.com/nodists/nodist/issues</bugTrackerUrl>
<tags>node nodejs javascript admin nvm version management</tags>
<copyright>2013-2022</copyright>
<licenseUrl>https://github.com/nullivex/nodist/blob/master/LICENSE.txt</licenseUrl>
<copyright>2013-2023</copyright>
<licenseUrl>https://github.com/nodists/nodist/blob/master/LICENSE.txt</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes>https://github.com/nullivex/nodist#changelog</releaseNotes>
<releaseNotes>https://github.com/nodists/nodist#changelog</releaseNotes>
</metadata>
<files>
<file src="tools\**" target="tools" />
Expand Down
2 changes: 1 addition & 1 deletion npm/bin/npm-cli.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This is a shim for the npm binary shim of Nodist.
It exists, so that WebStorm is happy.
See https://github.com/marcelklehr/nodist/issues/158
See https://github.com/nodists/nodist/issues/158
Instructions:
1. Create the following directory: `Nodist\bin\bin`
2. Place this file in the new directory
Expand Down
Loading

0 comments on commit e4e67cd

Please sign in to comment.