Skip to content

Commit

Permalink
AU: 2 updated - nodejs nodejs.install
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Sep 7, 2018
1 parent 4aaecb5 commit e386efc
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
8 changes: 4 additions & 4 deletions automatic/nodejs.install/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ in verifying that this package's contents are trustworthy.
The installer have been downloaded from GitHub and can be verified like this:

1. Download the following installers:
32-Bit: <https://nodejs.org/dist/v8.11.4/node-v8.11.4-x86.msi>
64-Bit: <https://nodejs.org/dist/v8.11.4/node-v8.11.4-x64.msi>
32-Bit: <https://nodejs.org/dist/v10.10.0/node-v10.10.0-x86.msi>
64-Bit: <https://nodejs.org/dist/v10.10.0/node-v10.10.0-x64.msi>
2. You can use one of the following methods to obtain the checksum
- Use powershell function 'Get-Filehash'
- Use chocolatey utility 'checksum.exe'

checksum type: sha256
checksum32: 2B6F4E2381976578A751EF3180D127205ABC0A13F61FE57A13F11E13410348E9
checksum64: 452A0FA9CBAC277558808FF888E0C924DEB5B51945FAD67E83FAD6C7391C1203
checksum32: E0D19EED4054BCBBEE5BC60A4E74E78DB921738C04BA73EA8415CE52427935DC
checksum64: 2AB622F855406120FB57405E384C82F108745188DC65E60635B4E195A1A94312

File 'LICENSE.txt' is obtained from <https://github.com/nodejs/node/blob/03023fa7ae060c082a014f792d5d1f481a599460/LICENSE>
3 changes: 2 additions & 1 deletion automatic/nodejs.install/nodejs.install.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@
"10.6": "10.6.0",
"10.7": "10.7.0",
"10.8": "10.8.0",
"10.9": "10.9.0"
"10.9": "10.9.0",
"10.10": "10.10.0"
}
2 changes: 1 addition & 1 deletion automatic/nodejs.install/nodejs.install.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>nodejs.install</id>
<title>Node JS (Install)</title>
<version>8.11.4</version>
<version>10.10.0</version>
<authors>Node.js Foundation</authors>
<owners>chocolatey, Rob Reynolds</owners>
<summary>Node JS - Evented I/O for v8 JavaScript.</summary>
Expand Down
4 changes: 2 additions & 2 deletions automatic/nodejs.install/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

$toolsPath = Split-Path $MyInvocation.MyCommand.Definition

$filePath32 = "$toolsPath\node-v8.11.4-x86.msi"
$filePath64 = "$toolsPath\node-v8.11.4-x64.msi"
$filePath32 = "$toolsPath\node-v10.10.0-x86.msi"
$filePath64 = "$toolsPath\node-v10.10.0-x64.msi"
$installFile = if ((Get-OSArchitectureWidth 64) -and $env:chocolateyForceX86 -ne 'true') {
Write-Host "Installing 64 bit version"; $filePath64 }
else { Write-Host "Installing 32 bit version"; $filePath32 }
Expand Down
3 changes: 2 additions & 1 deletion automatic/nodejs/nodejs.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@
"10.6": "10.6.0",
"10.7": "10.7.0",
"10.8": "10.8.0",
"10.9": "10.9.0"
"10.9": "10.9.0",
"10.10": "10.10.0"
}
4 changes: 2 additions & 2 deletions automatic/nodejs/nodejs.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>nodejs</id>
<title>Node JS</title>
<version>8.11.4</version>
<version>10.10.0</version>
<authors>Node.js Foundation</authors>
<owners>chocolatey, Rob Reynolds</owners>
<summary>Node JS - Evented I/O for v8 JavaScript.</summary>
Expand All @@ -28,7 +28,7 @@ While this package now provides both **Current** and **LTS** releases of Node.js
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>https://cdn.rawgit.com/chocolatey/chocolatey-coreteampackages/ba5adf020e09cd0e51107206ef3ec390035a6e90/icons/nodejs.png</iconUrl>
<dependencies>
<dependency id="nodejs.install" version="[8.11.4]" />
<dependency id="nodejs.install" version="[10.10.0]" />
</dependencies>
</metadata>
<files>
Expand Down

0 comments on commit e386efc

Please sign in to comment.