diff --git a/barker/barker/__version__.py b/barker/barker/__version__.py index 3a223dd..0d72820 100644 --- a/barker/barker/__version__.py +++ b/barker/barker/__version__.py @@ -1 +1 @@ -__version__ = "5.0.2" +__version__ = "5.1.0" diff --git a/barker/pyproject.toml b/barker/pyproject.toml index 5489b64..0040ed8 100644 --- a/barker/pyproject.toml +++ b/barker/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "barker" -version = "5.0.2" +version = "5.1.0" description = "Point of Sale for a restaurant" authors = ["tanshu "] diff --git a/bookie/.browserslistrc b/bookie/.browserslistrc index 0ccadaf..427441d 100644 --- a/bookie/.browserslistrc +++ b/bookie/.browserslistrc @@ -14,5 +14,4 @@ last 2 Edge major versions last 2 Safari major versions last 2 iOS major versions Firefox ESR -not IE 9-10 # Angular support for IE 9-10 has been deprecated and will be removed as of Angular v11. To opt-in, remove the 'not' prefix on this line. not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line. diff --git a/bookie/karma.conf.js b/bookie/karma.conf.js index b238a01..a71f775 100644 --- a/bookie/karma.conf.js +++ b/bookie/karma.conf.js @@ -15,10 +15,16 @@ module.exports = function (config) { client: { clearContext: false // leave Jasmine Spec Runner output visible in browser }, - coverageIstanbulReporter: { + jasmineHtmlReporter: { + suppressAll: true // removes the duplicated traces + }, + coverageReporter: { dir: require('path').join(__dirname, './coverage/bookie'), - reports: ['html', 'lcovonly'], - fixWebpackSourcePaths: true + subdir: '.', + reporters: [ + { type: 'html' }, + { type: 'text-summary' } + ] }, reporters: ['progress', 'kjhtml'], port: 9876, @@ -26,6 +32,7 @@ module.exports = function (config) { logLevel: config.LOG_INFO, autoWatch: true, browsers: ['Chrome'], - singleRun: false + singleRun: false, + restartOnFileChange: true }); }; diff --git a/bookie/package.json b/bookie/package.json index 1f3e149..a314db3 100644 --- a/bookie/package.json +++ b/bookie/package.json @@ -1,6 +1,6 @@ { "name": "bookie", - "version": "5.0.2", + "version": "5.1.0", "scripts": { "ng": "ng", "start": "ng serve", diff --git a/bookie/src/environments/environment.prod.ts b/bookie/src/environments/environment.prod.ts index f3a8514..d6c24b5 100644 --- a/bookie/src/environments/environment.prod.ts +++ b/bookie/src/environments/environment.prod.ts @@ -1,5 +1,5 @@ export const environment = { production: true, ACCESS_TOKEN_REFRESH_MINUTES: 10, // refresh token 10 minutes before expiry - version: '5.0.2', + version: '5.1.0', }; diff --git a/bookie/src/environments/environment.ts b/bookie/src/environments/environment.ts index 98b3f44..6ab3be9 100644 --- a/bookie/src/environments/environment.ts +++ b/bookie/src/environments/environment.ts @@ -5,7 +5,7 @@ export const environment = { production: false, ACCESS_TOKEN_REFRESH_MINUTES: 10, // refresh token 10 minutes before expiry - version: '5.0.2', + version: '5.1.0', }; /* diff --git a/bookie/src/polyfills.ts b/bookie/src/polyfills.ts index 2f258e5..52a7ba1 100644 --- a/bookie/src/polyfills.ts +++ b/bookie/src/polyfills.ts @@ -18,7 +18,7 @@ * BROWSER POLYFILLS */ -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +/** IE11 requires the following for NgClass support on SVG elements */ // import 'classlist.js'; // Run `npm install --save classlist.js`. /** @@ -57,6 +57,7 @@ */ import 'zone.js/dist/zone'; // Included with Angular CLI. + /*************************************************************************************************** * APPLICATION IMPORTS */ diff --git a/bookie/tsconfig.spec.json b/bookie/tsconfig.spec.json index 1709b3d..9f661ff 100644 --- a/bookie/tsconfig.spec.json +++ b/bookie/tsconfig.spec.json @@ -1,3 +1,4 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ { "extends": "./tsconfig.json", "compilerOptions": { @@ -12,7 +13,7 @@ "src/polyfills.ts" ], "include": [ - "**/*.spec.ts", - "**/*.d.ts" + "src/**/*.spec.ts", + "src/**/*.d.ts" ] }