Skip to content

Commit 2787f17

Browse files
committed
chore(build) 0.11.0
1 parent c3f6d62 commit 2787f17

File tree

8 files changed

+3660
-3631
lines changed

8 files changed

+3660
-3631
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# forms-angular
22

3+
## 0.11.0
4+
* Menu options can now be added after a promise is resolved by creating a contextMenuPromise on the controller $scope which resolves to a contextMenu array.
5+
* Added new registerAction method on the routing service (used by the fng-audit plugin)
6+
* Replaced underscore with lodash
7+
* Numerous small fixes (mostly to code that interacts with plugins)
8+
* Improved styling of invalid fields
9+
10+
11+
## 0.10.x
12+
Skipped to keep version numbers in sync with plugins
13+
314
## 0.8.x to 0.9.0
415
* Remove support for (long deprecated) [fng-select2](https://github.com/forms-angular/fng-select2) in favour of (improved)
516
[fng-ui-select](https://github.com/forms-angular/fng-ui-select).

bower.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "forms-angular",
33
"author": "Mark Chapman <support@forms-angular.org>",
4-
"version": "0.9.0",
4+
"version": "0.11.0",
55
"homepage": "https://github.com/forms-angular/forms-angular",
66
"description": "No nonsense forms for the MEAN stack",
77
"keywords": [
@@ -18,16 +18,16 @@
1818
"dist/forms-angular.js"
1919
],
2020
"dependencies": {
21-
"angular": "1.6.3",
22-
"angular-sanitize": "1.6.3",
23-
"angular-messages": "1.6.3",
24-
"angular-ui-bootstrap-bower": "1.3.2",
21+
"angular": "1.6.7",
22+
"angular-sanitize": "1.6.7",
23+
"angular-messages": "1.6.7",
24+
"angular-ui-bootstrap-bower": "1.3.2 || 2.5.0",
2525
"lodash": "4.17.4",
2626
"ngInfiniteScroll": "1.3.4",
2727
"angular-elastic": "2.5.1"
2828
},
2929
"devDependencies": {
30-
"angular-mocks": "1.6.3",
30+
"angular-mocks": "1.6.7",
3131
"bootstrap-3-3-5": "git://github.com/twbs/bootstrap.git#v3.3.5",
3232
"bootstrap-2-3-2": "git://github.com/twbs/bootstrap.git#v2.3.2"
3333
},

dist/forms-angular.debug.js

Lines changed: 3619 additions & 0 deletions
Large diffs are not rendered by default.

dist/forms-angular.js

Lines changed: 1 addition & 3619 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
var gulp = require('gulp');
22
var runSequence = require('run-sequence');
33
var del = require('del');
4+
var rename = require('gulp-rename');
45
var Server = require('karma').Server;
56
var typeScriptCompiler = require('gulp-tsc');
67
var uglify = require('gulp-uglify');
@@ -51,6 +52,7 @@ gulp.task('build', function(callback) {
5152
'concatTemplates',
5253
'annotate',
5354
'tidy',
55+
'saveDebug',
5456
'uglify',
5557
'less',
5658
callback);
@@ -158,11 +160,18 @@ gulp.task('apiTest', function () {
158160
//});
159161
//
160162

163+
gulp.task('saveDebug', function () {
164+
gulp.src('dist/forms-angular.js')
165+
.pipe(rename('forms-angular.debug.js'))
166+
.pipe(gulp.dest('dist'));
167+
});
168+
169+
161170
gulp.task('uglify', function(cb) {
162171
pump([
163172
gulp.src('dist/forms-angular.js'),
164173
uglify(),
165-
gulp.dest('dist/forms-angular.min.js')
174+
gulp.dest('dist')
166175
],
167176
cb
168177
);

package-lock.json

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"author": "Mark Chapman <support@forms-angular.org>",
44
"description": "A form builder that sits on top of Angular.js, Twitter Bootstrap, jQuery UI, Angular-UI, Express and Mongoose. Opinionated or what?",
55
"homepage": "http://forms-angular.org",
6-
"version": "0.9.0",
6+
"version": "0.11.0",
77
"engines": {
88
"node": ">=4.x",
99
"npm": ">=3.x"
@@ -55,6 +55,7 @@
5555
"gulp-less": "3.3.2",
5656
"gulp-mocha": "4.3.1",
5757
"gulp-ng-annotate": "2.0.0",
58+
"gulp-rename": "^1.2.2",
5859
"gulp-tsc": "1.3.2",
5960
"gulp-uglify": "^3.0.0",
6061
"gulp-umd": "0.2.1",

test/api/ControlAPISpec.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ describe('original API', function () {
2121

2222
mongoose.connect('mongodb://localhost/forms-ng_test', {
2323
useMongoClient: true,
24-
server: { socketOptions: { keepAlive: 1, connectTimeoutMS: 30000 } },
25-
replset: { socketOptions: { keepAlive: 1, connectTimeoutMS: 30000 } },
26-
options: { keepAlive: 1, connectTimeoutMS: 30000, reconnectTries: 30, reconnectInterval: 5000 }
24+
keepAlive: 1,
25+
connectTimeoutMS: 30000,
26+
reconnectTries: 30,
27+
reconnectInterval: 5000
2728
});
2829
mongoose.connection.on('error', function () {
2930
console.error('connection error', arguments);

0 commit comments

Comments
 (0)