Sto usando Grunt con il plug-in grunt-contrib-copy. Recentemente è stata commessa una nuova versione (0.4.1) che ha una bella nuova funzionalità che vorrei sfruttare. Ma quando provo ad aggiornare usando npm update grunt-contrib-copy
, non succede nulla.Forza aggiornamento plugin grunt
Ecco la mia versione attuale:
$ sudo npm list grunt-contrib-copy
[email protected] /Users/username/src/project/UI
└── [email protected]
Ecco il mio tentativo di aggiornamento:
$ sudo npm update grunt-contrib-copy
Nessuna uscita - e npm list
mostra ancora 0.4.0.
Verifica l'ultima versione disponibile:
$ sudo npm info grunt-contrib-copy
npm http GET https://registry.npmjs.org/grunt-contrib-copy
npm http 200 https://registry.npmjs.org/grunt-contrib-copy
{ name: 'grunt-contrib-copy',
description: 'Copy files and folders.',
'dist-tags': { latest: '0.4.1' },
versions:
[ '0.2.0',
... other versions snipped ...
'0.4.0',
'0.4.1' ],
maintainers:
[ 'tkellen <[email protected]>',
'cowboy <[email protected]>',
'shama <[email protected]>' ],
time:
{ '0.2.0': '2012-09-10T22:26:15.048Z',
... other versions snipped ...
'0.4.0': '2013-02-18T17:24:36.757Z',
'0.4.1': '2013-03-26T20:08:14.079Z' },
author: 'Grunt Team (http://gruntjs.com/)',
repository:
{ type: 'git',
url: 'git://github.com/gruntjs/grunt-contrib-copy.git' },
version: '0.4.1',
... other config info snipped ...
dist:
{ shasum: 'f0753b40ae21bb706daefb0b299e03cdf5fa9d6e',
tarball: 'http://registry.npmjs.org/grunt-contrib-copy/-/grunt-contrib-copy-0.4.1.tgz' },
directories: {} }
Che cosa mi manca qui? Perché npm non aggiornerà questo plugin alla versione attualmente disponibile?
Utilizzare l'installazione ha fatto il trucco. Grazie per il puntatore al bug aperto. –
C'è un modo rapido per aggiornare tutte le devDependencies? – curtisblackwell