Downloads:

173,075

Downloads of v 0.0.5:

6,048

Last Update:

19 Sep 2020

Package Maintainer(s):

Software Author(s):

  • Meteor Development Group
  • Inc.

Tags:

meteor nodejs node javascript platform development dev foss

Meteor

0.0.5 | Updated: 19 Sep 2020

Downloads:

173,075

Downloads of v 0.0.5:

6,048

Software Author(s):

  • Meteor Development Group
  • Inc.

Meteor 0.0.5

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install Meteor, run the following command from the command line or from PowerShell:

>

To upgrade Meteor, run the following command from the command line or from PowerShell:

>

To uninstall Meteor, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade meteor -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade meteor -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure meteor installed
  win_chocolatey:
    name: meteor
    state: present
    version: 0.0.5
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'meteor' do
  action    :install
  version  '0.0.5'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: meteor,
    Version: 0.0.5,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller meteor
{
   Name     = 'meteor'
   Ensure   = 'Present'
   Version  = '0.0.5'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'meteor':
  provider => 'chocolatey',
  ensure   => '0.0.5',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install meteor version="0.0.5" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator flcdrg on 21 Sep 2020.

Description

Meteor is an ultra-simple environment for building modern web
applications.

With Meteor you write apps:

  • in modern JavaScript
  • that send data over the wire, rather than HTML
  • using your choice of popular open-source libraries

> As with the previous Meteor installer, Meteor will be installed into %LocalAppData%\.meteor, which also serves as a global cache for all Meteor packages. Re-installing or uninstalling Meteor will automatically purge this directory.


tools\chocolateyinstall.ps1
# Stop on all errors.
$ErrorActionPreference = 'Stop';

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
Import-Module -Force "$toolsDir\helpers.psm1"

$packageParameters = Get-PackageParameters

$bootstrapLinkUrl = 'https://packages.meteor.com/bootstrap-link'

$installerTempDir = Get-InstallerTempDirectory

Assert-LocalAppData

# If an installation from the (deprecated) installer was found, uninstall it.
Remove-OldMeteorInstallerIfDetected

# If the data from a previous install was found, delete it.
Remove-MeteorDataDirectory

# Start fresh with a new directory.
Initialize-MeteorDataDirectory

# Find the tar.gz, if it's locally available.  This is helpful
# if testing the package installer because the 200MB installer tar.gz
# can simply be placed in the tools directory.  It must match the
# pattern we're looking for and exist, otherwise we'll just download it.
$gciTarGzArgs = @{
  path    = $toolsDir
  filter  = 'meteor-bootstrap-os.windows.*.tar.gz'
}
$bootstrapTarGzFileName = Get-ChildItem @gciTarGzArgs | Select -First 1
$bootstrapTarGzPath = Join-Path $toolsDir $bootstrapTarGzFileName

# If we find it locally, we'll extract it from there, but otherwise
# we'll download it from the bootstrap provider.
if (Test-Path -LiteralPath $bootstrapTarGzPath -PathType 'Leaf') {
  $unzipLocalTarGzArgs = @{
    fileFullPath    = $bootstrapTarGzPath
    destination     = $installerTempDir
  }
  Get-ChocolateyUnzip @unzipLocalTarGzArgs
} else {
  $bootstrapQueryString64 = New-BootstrapLinkQueryString `
    -Arch 'os.windows.x86_64' `
    -Release $packageParameters.Release
  $installTarGzArgs = @{
    packageName   = $env:ChocolateyPackageName
    url64bit      = "${bootstrapLinkUrl}${bootstrapQueryString64}"
    unzipLocation = $installerTempDir
    checksum64 = Get-Checksum -Release $packageParameters.Release
    checksumType64 = "sha256"
  }
  Install-ChocolateyZipPackage @installTarGzArgs
}

# 7z only supports extracting one archive type at a time, so it's not
# possible to get the .tar and .gz extracted in a single pass.  So, we
# find the tarball which was extracted from the Gzip file.  It should
# be the only file with this pattern in this directory.
$gciTarArgs = @{
  path    = $installerTempDir
  filter  = 'meteor-bootstrap-os.windows.*.tar'
}
$bootstrapTarFileName = Get-ChildItem @gciTarArgs | Select -First 1
$bootstrapTarPath = Join-Path $installerTempDir $bootstrapTarFileName

# Stop if for whatever reason, we failed to find the tarball.
if (!(Test-Path -LiteralPath $bootstrapTarPath -PathType 'Leaf')) {
  throw "Couldn't find bootstrap tarball to extract"
}

$meteorDataDirectory = Get-MeteorDataDirectory

# Unzip the bootstrap tarball.
$unzipTarArgs = @{
  fileFullPath    = $bootstrapTarPath
  destination     = (Get-Item $meteorDataDirectory).parent.FullName
}

Get-ChocolateyUnzip @unzipTarArgs

# Remove the tarball now that it has been extracted.
Remove-Item $bootstrapTarPath

# Update $PATH so "meteor" is available on the command line anywhere.
$installPathArgs = @{
  pathToInstall = $meteorDataDirectory
  pathType      = 'User'
}

Install-ChocolateyPath @installPathArgs
# Since PATH has changed, we'll reload so the current shell can use it.
Update-SessionEnvironment

$messageGettingStarted = @"
***************************************

Meteor has been installed!

To get started fast:

  $ meteor create ~/my_cool_app
  $ cd ~/my_cool_app
  $ meteor

Or see the docs at:

  https://docs.meteor.com

***************************************
"@

Write-Host $messageGettingStarted -ForegroundColor Magenta
tools\chocolateyuninstall.ps1
# Stop on all errors.
$ErrorActionPreference = 'Stop';

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
Import-Module -Force "$toolsDir\helpers.psm1"

Write-Host "Removing the Meteor data directory..."
# The Meteor data holds all of the information about a Meteor install.
Remove-MeteorDataDirectory
tools\helpers.psm1
# Meteor Helpers
#
# "Temp" logic borrowed from Install-ChocolateyZipPackage: https://git.io/vdEZj
$chocTempDir = $env:TEMP
$tempDir = Join-Path $chocTempDir "$($env:chocolateyPackageName)"
if ($env:chocolateyPackageVersion -ne $null) {
  $tempDir = Join-Path $tempDir "$($env:chocolateyPackageVersion)";
}
$tempDir = $tempDir -replace '\\chocolatey\\chocolatey\\','\chocolatey\'

# The current user's %LOCALAPPDATA% directory.  We'll set it once, as
# it should not change.
$localAppData = [Environment]::GetFolderPath('LocalApplicationData')

<#
  .Synopsis
  Obtain a unique temporary directory, within the installer temporary directory.
#>
Function Get-InstallerTempDirectory {
  [System.IO.Directory]::CreateDirectory($tempDir) | Out-Null
  "$tempDir"
}

<#
  .Synopsis
  Obtain a unique temporary directory, within the installer temporary directory.
#>
Function New-TempDirectory {
  [string] $name = [System.Guid]::NewGuid()
  New-Item -ItemType Directory -Path (Join-Path $tempDir $name)
}

Function Assert-LocalAppData {
  if (!(Test-Path -LiteralPath $localAppData -PathType 'Container')) {
    throw "LocalAppData must be available to install in."
  }
}

<#
  .Synopsis
  Retrieve the path to the Meteor data directory.
#>
Function Get-MeteorDataDirectory {
  Join-Path $localAppData '.meteor'
}

<#
  .Synopsis
  Completely remove the Meteor data directory.
#>
Function Initialize-MeteorDataDirectory {
  Assert-LocalAppData
  $meteorLocalAppData = Get-MeteorDataDirectory
  [System.IO.Directory]::CreateDirectory($meteorLocalAppData) | Out-Null
}

<#
  .Synopsis
  Completely remove the Meteor data directory.
#>
Function Remove-MeteorDataDirectory {
  Remove-DirectoryRecursively $(Get-MeteorDataDirectory)
}

<#
  .Synopsis
  Obtain the query string parameters for the boostrap link
#>
Function New-BootstrapLinkQueryString {
  Param (
    [Parameter(Mandatory=$True, Position=0)]
    [string]$Arch,
    [Parameter(Position=1)]
    [string]$Release
  )

  $queryString = "?arch=${Arch}"
  if ($Release) {
    $queryString += "&release=${Release}"
  }
  $queryString
}

<#
  .Synopsis
  Remove longer directory paths in a more aggressive way.

  .Description
  Meteor directories are very long due to deeply nested npm 'node_modules'
  directories.  This assists with removing those deep folder trees.
#>
Function Remove-DirectoryRecursively {
  Param (
    [Parameter(Mandatory=$True, Position=0)]
    [string]$Path
  )
  if (Test-Path -LiteralPath $Path -PathType 'Container') {
    if (Get-Command "robocopy.exe" -ErrorAction SilentlyContinue) {
      # Quietly use Robocopy to sync the Path with an empty directory.
      $emptyTempDir = New-TempDirectory
      & robocopy.exe $emptyTempDir $Path /purge | Out-Null
      Remove-Item $Path -Recurse -Force
      Remove-Item $emptyTempDir -Force
    } else {
      [System.IO.Directory]::Delete($Path, $true)
    }
  }
}

<#
  .Synopsis
  Remove the old, Wix-based installer, which is no longer used.

  .Description
  Previously, Meteor was installed with a WiX-based installer.  This installer
  is no longer actively maintained and this removes any such install.
#>
Function Remove-OldMeteorInstallerIfDetected {
  [array]$existing = Get-UninstallRegistryKey -SoftwareName "Meteor"
  If ($existing.Count -And $existing.QuietUninstallString) {
    Write-Output "Removing exising Meteor installation with installer"

    # It should be much quicker to uninstall if we remove the data directory
    # using our own mechanism, without waiting for the installer, which may not
    # work properly with long file paths.
    Remove-MeteorDataDirectory

    Write-Output " => $($existing.QuietUninstallString)"
    & cmd /c $($existing.QuietUninstallString)
  }
}

<#
  .Synopsis
  Obtain a checksum by release
#>
Function Get-Checksum {
  Param (
    [Parameter(Position=0)]
    [string]$Release
  )
  switch ($Release) {
    '1.11' {
      $checksum = "25CEF0B5D7C59D4B2D0A45AC3B278C1F5257FEA3A92A578CFFEC9F115707CA22"
      break
    }
    '1.10.1' {
      $checksum = "4ED9946063CF2A4BFBBC11417C01CC45CF53853E545EE9407A1C86E1677B5D05"
      break
    }
    '1.9.3' {
      $checksum = "BC8058A2DCBC33B71F6F15D935C0E524CB56838DB2967DBC6493A82566D1AA6B"
      break
    }
    '1.9.2' {
      $checksum = "945A463010F160C0413BC1EE1964857A8F9244EED69858142F644A5C7E1EF018"
      break
    }
    '1.9.1' {
      $checksum = "57C65077022A1041E0C9579379312470E6353FF2F57A60D60B1895C57D2989F8"
      break
    }
    '1.9' {
      $checksum = "4CE976625F444DED91EC26337E0D7B1EC91A62FA9A078DE89567BF6141C18180"
      break
    }
    '1.8.3' {
      $checksum = "059E7B312657D53A99885C5BD4C1E833BC55BA841EE3C24F2028467EE79DB0F5"
      break
    }
    '1.8.2' {
      $checksum = "FB31A82A7B8E90E1FD7286874C9144B7E5B9F6CB89227294F9E51AF507A28B2C"
      break
    }
    '1.8.1' {
      $checksum = "05B37062FD251432F5469B42DD64A60F83593CF0A0C1968C5A1977F5F96AB199"
      break
    }
    '1.8.0.2' {
      $checksum = "FCB2499FE6F078F7568ADD60B20C5FA6E21139550C00ECA2E3987FC42D727A3E"
      break
    }
    '1.8.0.1' {
      $checksum = "22AD86E226919E8838C0383C10D68CE9E94A242F75F3EA8A91581588B2F1C80F"
      break
    }
    '1.8' {
      $checksum = "E2709312C0E389507E287E65487789198FE338854DBA0D5058A844EF90C76153"
      break
    }
    '1.7.0.5' {
      $checksum = "60D698EF2A4F48C7463FAA17D432D936C845EF743EBD5DC06E344F0AB952A4E1"
      break
    }
    '1.7.0.4' {
      $checksum = "AFA7172E3D98E63E83EA20DBE169FE5034087C9D9F725B9AEE3134CFB3831886"
      break
    }
    '1.7.0.3' {
      $checksum = "82BA4AE44919FC85C2911EC5C4A7B11927800BBBADF2B353FF98B7A57574336D"
      break
    }
    '1.7.0.2' {
      $checksum = "132F5C87577289680D805DB5DCE703C72F0481AADF34777DD6090E30C9B95DFC"
      break
    }
    '1.7.0.1' {
      $checksum = "1667D8473A333666799B91AC176CB58D0F32950137FFD995239A8F139C5C2276"
      break
    }
    '1.7' {
      $checksum = "8F956FB0BB9A6B0470AAE5D76A71E8708D907AA3662821A6F92417E090520644"
      break
    }
    '1.6-rc.15' {
      $checksum = "BBE7DFB435F19AD0D25A04A2B81DE7C7CCBDAEDF60684F88BC16D84E068D8E58"
      break
    }
    '1.6-rc.14' {
      $checksum = "C782E3465704873999F1A956270C55E42BC7AECB1EBA14086AFB3BA11C137DF4"
      break
    }
    '1.6-rc.13' {
      $checksum = "5F1BE7CE007D90767F4A6A89FCE228CA503FF79BB8767258E60A72D22397B5DB"
      break
    }
    '1.6.1.4' {
      $checksum = "FD64A981633D1DCBC87019F4F6899599A44BFD3A86579F34863FCFFAA2CB9BC4"
      break
    }
    '1.6.1.1' {
      $checksum = "D6A92DAA169D62E30F81644A50560C1FB80C3F5CA1A50522EE9D9B588230B01A"
      break
    }
    '1.6.0.1' {
      $checksum = "49B12E6BE26F93AE951209DBD979346C7677D490034184192B1CA95BBB78C0F0"
      break
    }
    '1.6.1' {
      $checksum = "12854CCAB3F0FC94AB428DECCA29D3C625FAB2D0FEC0E87F8809DAFF19140A10"
      break
    }
    '1.6' {
      $checksum = "9087FA9E26F1597481C87A69E7D991BA4F91584021F48F5A60D46C06633DFE83"
      break
    }
    default {
      # current release v 1.11.1
      $checksum = "2EAE676CEF07425FBE6A3F79F75A6984A8A6C3137E6961883DC8CF2D8D56A053"
    }
  }
}

Export-ModuleMember -Function `
  Assert-LocalAppData,
  Get-InstallerTempDirectory,
  Get-MeteorDataDirectory,
  Initialize-MeteorDataDirectory,
  New-BootstrapLinkQueryString,
  Get-Checksum,
  Remove-MeteorDataDirectory,
  Remove-OldMeteorInstallerIfDetected
tools\VERIFICATION.txt
This Chocolatey package, which provides the Meteor open-source
JavaScript platform, is maintained by the same maintainers of the Meteor
open-source source project itself, which is overseen by Meteor
Development Group, Inc.

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Meteor 0.0.4 2158 Tuesday, August 18, 2020 Approved
Meteor 0.0.2 151676 Thursday, November 16, 2017 Approved
Meteor 0.0.2-beta-2 255 Thursday, November 16, 2017 Exempted
Meteor 0.0.2-beta-1 626 Tuesday, November 7, 2017 Exempted
Meteor 0.0.1 10025 Thursday, October 19, 2017 Approved
Meteor 0.0.1-beta-5 243 Wednesday, October 18, 2017 Exempted
Meteor 0.0.1-beta-4 207 Wednesday, October 18, 2017 Exempted
Meteor 0.0.1-beta-3 204 Wednesday, October 18, 2017 Exempted
Discussion for the Meteor Package

Ground Rules:

  • This discussion is only about Meteor and the Meteor package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Meteor, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus