grunt-nuget
    Overview
    Documentation
    Tutorials
    Chat
    Insights
    Code
    Dependencies
    Contributors
    Jobs

grunt-nuget

Grunt NuGet interface - Prepare, package and publish your application in NuGet gallery using Grunt JS

0.3.1  •  Updated 1 years ago  •  by spatools  •  MIT License

Grunt NuGet Interface - Create and publish your NuGet packages using GruntJS.

Getting Started

Install this grunt plugin next to your project’s gruntfile with: npm install grunt-nuget --save-dev

NOTE : if you are on a unix system, you should install Mono first.

Then add this line to your project’s Gruntfile.js :

grunt.loadNpmTasks('grunt-nuget');

Then specify your config:

grunt.initConfig({

For package creation : (more informations)

    nugetpack: {
        dist: {
            src: 'tests/Package.nuspec',
            dest: 'tests/'
        }
    }

For package publication : (more informations)

	nugetpush: {
		dist: {
			src: 'tests/*.nupkg',
 
			options: {
				apiKey: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'
			}
		}
	}

For package restore : (more informations)

	nugetrestore: {
		restore: {
			src: 'tests/packages.config',
			dest: 'packages/'
		}
	}

For project update : (more informations)

	nugetupdate: {
		update: {
			src: 'project.sln'
		}
	}
});

In order to avoid specifying your API Key inside your Gruntfile you can use command line task : (more informations)

grunt nugetkey --key=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

Release History

  • 0.1.0 Initial Release
  • 0.1.1 Fix issue with OutputDirectory in NuGet Push
  • 0.1.2
    • Update NuGet.exe to version 2.8
    • Add support for csproj files in nugetpack command.
  • 0.1.3
    • Add package restore command
    • Added mono support on platforms other than windows
    • Fix issue when nuget-pack destination directory does not exists
  • 0.1.4
    • Update NuGet.exe to version 2.8.2
    • Fix issue in options parsing.
  • 0.1.5
    • Update NuGet.exe to version 3.2.0
  • 0.1.6
    • Update NuGet.exe to version 3.4.4
    • Add default Source option in push task to allow backward compatibility
  • 0.1.7
    • Update NuGet.exe to version 3.5.0
  • 0.2.0
    • Add task nugetupdate
  • 0.3.0
    • Update NuGet.exe to version 4.1
  • 0.3.1
    • Update NuGet.exe to version 4.7.1

Popularity

Maintenance

Development

Last ver 1 year ago
Created 7 years ago
Last commit 1 year ago
2 months between commits

Technology

Node version: 10.9.0
5458.9K unpacked

Compliance

MIT License
OSI Approved
0 vulnerabilities

Contributors

7 contributors
Maxime LUCE
30 commits
Maxime LUCE
Maintainer, 13 commits, 5 merges
Works at Touchify
Chris Kirby
1 commits, 1 PRs
Works at bankrate RedVentures
mrjackdavis
1 commits, 1 PRs
Works at Trioxis
dkrainas87@gmail.com
1 commits, 1 PRs
Bas Bosman
1 commits, 1 PRs

Tags

gruntplugin
grunt
nuget
package
pack
spec
update
restore
publish
gallery
Openbase helps developers choose among and use millions of open-source packages, so they can build amazing products faster.
FacebookTwitterLinkedIn
© 2020 Devstore, Inc.