Skip to content
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

Commit ce1a3d9

Browse files
committed
v7.2.3
2 parents 4d7e212 + 4dd9a55 commit ce1a3d9

File tree

10 files changed

+29
-25
lines changed

10 files changed

+29
-25
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* text=auto
1+
* text eol=lf

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ before_install:
1717
before_script:
1818
- npm prune
1919
script:
20-
- npm run test:ci
20+
- npm run test
2121
- npm run check-coverage
2222
after_success:
2323
- npm run report-coverage

dist/formly.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* angular-formly JavaScript Library v7.2.2
2+
* angular-formly JavaScript Library v7.2.3
33
*
44
* @license MIT (http://license.angular-formly.com)
55
*
@@ -153,7 +153,7 @@ return /******/ (function(modules) { // webpackBootstrap
153153

154154
ngModule.constant('formlyApiCheck', _providersFormlyApiCheck2['default']);
155155
ngModule.constant('formlyErrorAndWarningsUrlPrefix', _otherDocsBaseUrl2['default']);
156-
ngModule.constant('formlyVersion', ("7.2.2")); // <-- webpack variable
156+
ngModule.constant('formlyVersion', ("7.2.3")); // <-- webpack variable
157157

158158
ngModule.provider('formlyUsability', _providersFormlyUsability2['default']);
159159
ngModule.provider('formlyConfig', _providersFormlyConfig2['default']);
@@ -422,7 +422,7 @@ return /******/ (function(modules) { // webpackBootstrap
422422
Object.defineProperty(exports, "__esModule", {
423423
value: true
424424
});
425-
exports["default"] = "https://github.com/formly-js/angular-formly/blob/" + ("7.2.2") + "/other/ERRORS_AND_WARNINGS.md#";
425+
exports["default"] = "https://github.com/formly-js/angular-formly/blob/" + ("7.2.3") + "/other/ERRORS_AND_WARNINGS.md#";
426426
module.exports = exports["default"];
427427

428428
/***/ },
@@ -550,8 +550,7 @@ return /******/ (function(modules) { // webpackBootstrap
550550
ngModelAttrsManipulatorPreferUnbound: false,
551551
removeChromeAutoComplete: false,
552552
defaultHideDirective: 'ng-if',
553-
getFieldId: null,
554-
explicitAsync: false
553+
getFieldId: null
555554
},
556555
templateManipulators: {
557556
preWrapper: [],

dist/formly.min.js

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/formly.min.js.map

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

other/karma.conf.es6.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/* eslint-env node */
2+
require('./set-env')(process.argv);
23
const path = require('path');
34

45
process.env.NODE_ENV = process.env.NODE_ENV || 'test';

other/set-env.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = setEnv;
2+
const prefix = '--set-env-';
3+
4+
function setEnv(argv = []) {
5+
argv
6+
.filter(a => a.indexOf(prefix) === 0)
7+
.map(a => a.substring(prefix.length).split('='))
8+
.forEach(a => process.env[a[0]] = a[1]);
9+
}

other/webpack.config.es6.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/* eslint-env node */
2+
require('./set-env')(process.argv);
23
const packageJson = require('../package.json');
34

45
const here = require('path-here');
@@ -103,7 +104,6 @@ function getProdConfig() {
103104
function getTestConfig() {
104105
const coverage = process.env.COVERAGE === 'true';
105106
const ci = process.env.CI === 'true';
106-
console.log(process.env.CI);
107107
return {
108108
entry: './index.test.js',
109109
module: {

package.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-formly",
3-
"version": "7.2.2",
3+
"version": "7.2.3",
44
"author": "Astrism <[email protected]>",
55
"contributors": [
66
"Astrism <[email protected]>",
@@ -24,14 +24,12 @@
2424
"main": "dist/formly.js",
2525
"license": "MIT",
2626
"scripts": {
27-
"build:dist": "cross-env NODE_ENV=development webpack --progress --colors",
28-
"build:prod": "cross-env NODE_ENV=production webpack --progress --colors",
27+
"build:dist": "webpack --progress --colors --set-env-NODE_ENV=development",
28+
"build:prod": "webpack --progress --colors --set-env-NODE_ENV=production",
2929
"build": "npm run build:dist & npm run build:prod",
30-
"test": "cross-env COVERAGE=true NODE_ENV=test karma start --single-run",
31-
"test:ci": "CI=true COVERAGE=true NODE_ENV=test karma start --single-run",
32-
"test:watch": "cross-env COVERAGE=true NODE_ENV=test karma start",
33-
"test:debug": "cross-env NODE_ENV=test karma start --browsers Chrome",
34-
"start:mac": "npm run test:mac",
30+
"test": "karma start --single-run --set-env-COVERAGE=true --set-env-NODE_ENV=test",
31+
"test:watch": "karma start --set-env-COVERAGE=true --set-env-NODE_ENV=test",
32+
"test:debug": "karma start --browsers Chrome --set-env-NODE_ENV=test",
3533
"start": "npm run test:watch",
3634
"check-coverage": "istanbul check-coverage --statements 93 --branches 89 --functions 92 --lines 92",
3735
"report-coverage": "cat ./coverage/lcov.info | node_modules/.bin/codecov",
@@ -61,7 +59,6 @@
6159
"codecov.io": "0.1.6",
6260
"commitizen": "2.0.2",
6361
"cracks": "3.1.1",
64-
"cross-env": "1.0.1",
6562
"cz-conventional-changelog": "1.1.4",
6663
"deindent": "0.1.0",
6764
"eslint": "1.6.0",

src/providers/formlyConfig.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ function formlyConfig(formlyUsabilityProvider, formlyErrorAndWarningsUrlPrefix,
2828
ngModelAttrsManipulatorPreferUnbound: false,
2929
removeChromeAutoComplete: false,
3030
defaultHideDirective: 'ng-if',
31-
getFieldId: null,
32-
explicitAsync: false
31+
getFieldId: null
3332
},
3433
templateManipulators: {
3534
preWrapper: [],

0 commit comments

Comments
 (0)