Skip to content

Commit 6e2331b

Browse files
author
Dana Greenberg
committed
fix: update bower.json and package.json to include files for current npm
chore: Release v3.2.4 chore: Release v3.2.5 fix: update bower.json and package.json to include files for current npm
1 parent 592be63 commit 6e2331b

File tree

4 files changed

+24
-11
lines changed

4 files changed

+24
-11
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
<a name="v3.2.5"></a>
2+
### v3.2.5 (2016-07-01)
3+
4+
* update for package.json creation for npm
5+
6+
<a name="v3.2.4"></a>
7+
### v3.2.4 (2016-06-30)
8+
9+
10+
#### Bug Fixes
11+
12+
* update bower.json and package.json to include files for current npm ([f7c6700d](http://github.com/angular-ui/ng-grid/commit/f7c6700dedacfa213eaa65838d127aab0bf24867))
13+
* **col-movable:** prevent hidden columns triggering unnecessary re-order event ([644b324b](http://github.com/angular-ui/ng-grid/commit/644b324b42e83cf8014ffcd05acc948084698aaa))
14+
115
<a name="v3.2.3"></a>
216
### v3.2.3 (2016-06-29)
317

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-ui-grid",
3-
"version": "3.2.3",
3+
"version": "3.2.5",
44
"homepage": "http://ui-grid.info",
55
"repository": {
66
"type": "git",

lib/grunt/plugins.js

+8-9
Original file line numberDiff line numberDiff line change
@@ -297,14 +297,11 @@ module.exports = function(grunt) {
297297

298298
// Get the list of files from the release directory
299299
var releaseFiles = fs.readdirSync(taggedReleaseDir)
300-
// Filter out minified files and the bower.json file, if it's there already
301-
.filter(function (f) {
302-
return !/\.min\./.test(f)
303-
&& !/^bower\.json$/.test(f)
304-
&& !/^package\.json$/.test(f);
305-
})
306-
// Preprend "./" to each file path
307-
.map(function (f) { return './' + f; });
300+
// Filter out the bower.json and package.json file, if it's there already
301+
.filter(function (f) {
302+
return !/^bower\.json$/.test(f)
303+
&& !/^package\.json$/.test(f);
304+
});
308305

309306
// Copy a README file
310307
var readme = path.resolve(projectPath, 'misc/publish/README.md');
@@ -330,8 +327,10 @@ module.exports = function(grunt) {
330327

331328
fs.writeFileSync(bowerJsonFile, JSON.stringify(json, null, 2));
332329

333-
// Add version for package.json
330+
// For package.json
334331
json.version = currentTag;
332+
json.main = "ui-grid.js";
333+
json.files = releaseFiles;
335334

336335
fs.writeFileSync(pkgJsonFile, JSON.stringify(json, null, 2));
337336
});

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ui-grid",
3-
"version": "3.2.3",
3+
"version": "3.2.5",
44
"description": "A data grid for Angular",
55
"directories": {
66
"test": "test"

0 commit comments

Comments
 (0)