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.
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:
Create a versioned folder under dist-browser as you bump version in package.json
Copy dist-browser/ libs to a versioned folder. eg dist-browser/0.3.1
run grunt packnuget
Publishing the created package: (configure nuget push API key in gruntfile before you publish).
run grunt publishnuget
Changes:
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.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:
dist-browser/0.3.1
grunt packnuget
Publishing the created package: (configure nuget push API key in gruntfile before you publish). run
grunt publishnuget