jeancroy / fuzz-aldrin-plus

Sublime text like fuzzy filtering - compatible with atom/fuzzaldrin
MIT License
269 stars 21 forks source link

Adding support to create and publish nuget package #30

Closed mdahamiwal closed 7 years ago

mdahamiwal commented 7 years ago

Changes:

  1. dist-browser contains versioned directory that should match version mentioned in package.json. We need this to avoid creating nuget package with latest dist-browser libs that are generated as part of npm install or npm publish. The libs directory under dist-browser are for latest source. This will also help if someone wants to directly depend on latest fuzzaldrin-plus.js.

  2. Added grunt tasks to pack and publish nuget. Since releases are not that frequent configuring appveyor and having a release branch will be a maintenance job.

Creating nuget package:

  1. Create a versioned folder under dist-browser as you bump version in package.json
  2. Copy dist-browser/ libs to a versioned folder. eg dist-browser/0.3.1
  3. run grunt packnuget

Publishing the created package: (configure nuget push API key in gruntfile before you publish). run grunt publishnuget

mdahamiwal commented 7 years ago

@jeancroy, can you have a look at the changes?