Skip to content

Commit

Permalink
0.10.1
Browse files Browse the repository at this point in the history
use nodists/nodist for urls and namespaces
  • Loading branch information
Mairu committed Nov 22, 2023
1 parent 89f7226 commit 4b7d809
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 27 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
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nodist",
"version": "0.10.0",
"version": "0.10.1",
"description": "Natural node version manager for windows",
"keywords": [
"node",
Expand All @@ -10,14 +10,14 @@
"windows"
],
"author": "Marcel Klehr <mklehr@gmx.net>",
"homepage": "https://github.com/nullivex/nodist",
"homepage": "https://github.com/nodists/nodist",
"license": "MIT",
"bugs": {
"url": "https://github.com/nullivex/nodist/issues"
"url": "https://github.com/nodists/nodist/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/nullivex/nodist.git"
"url": "https://github.com/nodists/nodist.git"
},
"dependencies": {
"@octokit/rest": "^18.12.0",
Expand Down
2 changes: 1 addition & 1 deletion src/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/nullivex/nodist
module github.com/nodists/nodist

go 1.12

Expand Down
2 changes: 1 addition & 1 deletion src/shim-node.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os/exec"
"os/signal"
"syscall"
nodist "github.com/nullivex/nodist/lib"
nodist "github.com/nodists/nodist/lib"
)

import . "github.com/visionmedia/go-debug"
Expand Down
2 changes: 1 addition & 1 deletion src/shim-npm.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os/exec"
"os/signal"
"syscall"
nodist "github.com/nullivex/nodist/lib"
nodist "github.com/nodists/nodist/lib"
)

import . "github.com/visionmedia/go-debug"
Expand Down
2 changes: 1 addition & 1 deletion src/shim-npx.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os/exec"
"os/signal"
"syscall"
nodist "github.com/nullivex/nodist/lib"
nodist "github.com/nodists/nodist/lib"
)

import . "github.com/visionmedia/go-debug"
Expand Down

0 comments on commit 4b7d809

Please sign in to comment.