From 82bf7ab9f2f001674774194bfadc4c506b918f0b Mon Sep 17 00:00:00 2001 From: christophercr Date: Thu, 2 Aug 2018 16:42:45 +0200 Subject: [PATCH] chore(stark-all): remove obsolete artifacts: rxPaths() mapping,'rxjs-compat' and 'greenkeeper-lockfile' deps. Set tslint 'import-blacklist' rule to prevent imports from '@angular/material' and 'lodash' --- .travis.yml | 5 -- package-lock.json | 68 ++++++++++--------- packages/rollup.config.common-data.js | 1 + packages/stark-build/config/build-utils.js | 18 ----- packages/stark-build/config/tslint.json | 2 +- packages/stark-build/config/webpack.common.js | 23 +------ packages/stark-build/package-lock.json | 54 +++++++-------- packages/stark-core/package-lock.json | 30 ++++---- packages/stark-core/package.json | 1 - packages/stark-testing/package-lock.json | 34 +++++----- packages/stark-ui/package-lock.json | 30 ++++---- packages/stark-ui/package.json | 1 - .../modules/action-bar/action-bar.module.ts | 5 +- .../components/action-bar.component.spec.ts | 4 +- .../components/date-picker.component.spec.ts | 19 ++++-- .../components/date-picker.component.ts | 2 +- .../modules/date-picker/date-picker.module.ts | 3 +- .../date-range-picker.component.spec.ts | 7 +- showcase/package-lock.json | 21 +++--- showcase/package.json | 9 ++- .../example-viewer.component.spec.ts | 4 +- starter/package-lock.json | 21 +++--- starter/package.json | 9 ++- 23 files changed, 169 insertions(+), 202 deletions(-) diff --git a/.travis.yml b/.travis.yml index eedede4280..8275dfcf41 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,6 @@ before_install: - echo $AUTHOR_NAME - export TZ=Europe/Brussels - npm i -g npm@5.8.0 - - npm i -g greenkeeper-lockfile@2.4.0 # This ensures that we are authenticated without requiring to have an actual .npmrc file within the project - 'echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc' @@ -44,9 +43,6 @@ cache: directories: - $HOME/.npm -before_script: - - greenkeeper-lockfile-update - # Not needed since we use Puppeteer in karma.conf.ci.js # It downloads Chrome itself and works with or without Travis #addons: @@ -63,4 +59,3 @@ script: after_success: - npm run test:ci:coveralls:combined - - greenkeeper-lockfile-upload diff --git a/package-lock.json b/package-lock.json index 35d7817488..01a9bd7a23 100644 --- a/package-lock.json +++ b/package-lock.json @@ -352,7 +352,7 @@ "convert-source-map": "1.6.0", "debug": "3.1.0", "json5": "0.5.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "resolve": "1.8.1", "semver": "5.5.1", "source-map": "0.5.7" @@ -383,7 +383,7 @@ "requires": { "@babel/types": "7.0.0", "jsesc": "2.5.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "source-map": "0.5.7", "trim-right": "1.0.1" }, @@ -486,7 +486,7 @@ "@babel/types": "7.0.0", "debug": "3.1.0", "globals": "11.7.0", - "lodash": "4.17.10" + "lodash": "4.17.11" }, "dependencies": { "debug": { @@ -513,7 +513,7 @@ "dev": true, "requires": { "esutils": "2.0.2", - "lodash": "4.17.10", + "lodash": "4.17.11", "to-fast-properties": "2.0.0" }, "dependencies": { @@ -720,7 +720,7 @@ "inside": "1.0.0", "json5": "2.0.1", "live-server": "1.1.0", - "lodash": "4.17.10", + "lodash": "4.17.11", "lunr": "2.3.2", "marked": "0.4.0", "os-name": "2.0.1", @@ -862,7 +862,7 @@ "debug": "3.1.0", "http-proxy-agent": "2.1.0", "https-proxy-agent": "2.2.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "node-fetch": "2.2.0", "url-template": "2.0.8" }, @@ -1370,7 +1370,7 @@ "convert-source-map": "1.6.0", "debug": "2.6.9", "json5": "0.5.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "minimatch": "3.0.4", "path-is-absolute": "1.0.1", "private": "0.1.8", @@ -1397,7 +1397,7 @@ "babel-types": "6.26.0", "detect-indent": "4.0.0", "jsesc": "1.3.0", - "lodash": "4.17.10", + "lodash": "4.17.11", "source-map": "0.5.7", "trim-right": "1.0.1" }, @@ -1442,7 +1442,7 @@ "babel-helper-function-name": "6.24.1", "babel-runtime": "6.26.0", "babel-types": "6.26.0", - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "babel-helper-explode-assignable-expression": { @@ -1507,7 +1507,7 @@ "requires": { "babel-runtime": "6.26.0", "babel-types": "6.26.0", - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "babel-helper-remap-async-to-generator": { @@ -1622,7 +1622,7 @@ "babel-template": "6.26.0", "babel-traverse": "6.26.0", "babel-types": "6.26.0", - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "babel-plugin-transform-es2015-classes": { @@ -1938,7 +1938,7 @@ "babel-runtime": "6.26.0", "core-js": "2.5.7", "home-or-tmp": "2.0.0", - "lodash": "4.17.10", + "lodash": "4.17.11", "mkdirp": "0.5.1", "source-map-support": "0.4.18" }, @@ -1974,7 +1974,7 @@ "babel-traverse": "6.26.0", "babel-types": "6.26.0", "babylon": "6.18.0", - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "babel-traverse": { @@ -1991,7 +1991,7 @@ "debug": "2.6.9", "globals": "9.18.0", "invariant": "2.2.4", - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "babel-types": { @@ -2002,7 +2002,7 @@ "requires": { "babel-runtime": "6.26.0", "esutils": "2.0.2", - "lodash": "4.17.10", + "lodash": "4.17.11", "to-fast-properties": "1.0.3" } }, @@ -2433,7 +2433,7 @@ "dom-serializer": "0.1.0", "entities": "1.1.1", "htmlparser2": "3.9.2", - "lodash": "4.17.10", + "lodash": "4.17.11", "parse5": "3.0.3" } }, @@ -2886,7 +2886,7 @@ "requires": { "add-stream": "1.0.0", "conventional-changelog": "2.0.3", - "lodash": "4.17.10", + "lodash": "4.17.11", "meow": "4.0.1", "tempfile": "1.1.1" }, @@ -2932,7 +2932,7 @@ "git-raw-commits": "2.0.0", "git-remote-origin-url": "2.0.0", "git-semver-tags": "2.0.0", - "lodash": "4.17.10", + "lodash": "4.17.11", "normalize-package-data": "2.4.0", "q": "1.5.1", "read-pkg": "1.1.0", @@ -2948,7 +2948,7 @@ "requires": { "JSONStream": "1.3.4", "is-text-path": "1.0.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "meow": "4.0.1", "split2": "2.2.0", "through2": "2.0.3", @@ -3174,7 +3174,7 @@ "dateformat": "3.0.3", "handlebars": "4.0.10", "json-stringify-safe": "5.0.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "meow": "4.0.1", "semver": "5.5.1", "split": "1.0.1", @@ -3224,7 +3224,7 @@ "requires": { "JSONStream": "1.3.4", "is-text-path": "1.0.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "meow": "4.0.1", "split2": "2.2.0", "through2": "2.0.3", @@ -3274,7 +3274,7 @@ "requires": { "JSONStream": "1.3.4", "is-text-path": "1.0.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "meow": "4.0.1", "split2": "2.2.0", "through2": "2.0.3", @@ -5486,7 +5486,7 @@ "cli-width": "2.2.0", "external-editor": "1.1.1", "figures": "1.7.0", - "lodash": "4.17.10", + "lodash": "4.17.11", "mute-stream": "0.0.6", "pinkie-promise": "2.0.1", "run-async": "2.3.0", @@ -6198,7 +6198,7 @@ "is-windows": "1.0.2", "jest-validate": "23.5.0", "listr": "0.14.2", - "lodash": "4.17.10", + "lodash": "4.17.11", "log-symbols": "2.2.0", "micromatch": "3.1.10", "npm-which": "3.0.1", @@ -6414,9 +6414,9 @@ } }, "lodash": { - "version": "4.17.10", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", - "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==", + "version": "4.17.11", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", + "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", "dev": true }, "lodash._reinterpolate": { @@ -7234,7 +7234,7 @@ "cli-width": "2.2.0", "external-editor": "2.2.0", "figures": "2.0.0", - "lodash": "4.17.10", + "lodash": "4.17.11", "mute-stream": "0.0.7", "run-async": "2.3.0", "rx": "4.1.0", @@ -7897,7 +7897,7 @@ "dev": true, "requires": { "chalk": "2.3.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "log-symbols": "2.2.0", "postcss": "6.0.23" }, @@ -8435,6 +8435,12 @@ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", "dev": true }, + "lodash": { + "version": "4.17.10", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", + "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==", + "dev": true + }, "mute-stream": { "version": "0.0.7", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", @@ -9571,7 +9577,7 @@ "import-lazy": "3.1.0", "imurmurhash": "0.1.4", "known-css-properties": "0.6.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "log-symbols": "2.2.0", "mathml-tag-names": "2.1.0", "meow": "5.0.0", @@ -9825,7 +9831,7 @@ "ajv": "6.4.0", "ajv-keywords": "3.2.0", "chalk": "2.3.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "slice-ansi": "1.0.0", "string-width": "2.1.1" }, diff --git a/packages/rollup.config.common-data.js b/packages/rollup.config.common-data.js index cfd0f3bc96..b599f6a943 100644 --- a/packages/rollup.config.common-data.js +++ b/packages/rollup.config.common-data.js @@ -19,6 +19,7 @@ const globals = { "@angular/material/button-toggle": "ngMaterial.buttonToggle", "@angular/material/checkbox": "ngMaterial.checkbox", "@angular/material/core": "ngMaterial.core", + "@angular/material/datepicker": "ngMaterial.datepicker", "@angular/material/dialog": "ngMaterial.dialog", "@angular/material/expansion": "ngMaterial.expansion", "@angular/material/icon": "ngMaterial.icon", diff --git a/packages/stark-build/config/build-utils.js b/packages/stark-build/config/build-utils.js index 806acb8f69..d9bdcff81a 100644 --- a/packages/stark-build/config/build-utils.js +++ b/packages/stark-build/config/build-utils.js @@ -91,23 +91,6 @@ function getEnvironmentFile(environment) { } } -/** - * Read the tsconfig to determine if we should prefer ES2015 modules. - * Load rxjs path aliases. - * https://github.com/ReactiveX/rxjs/blob/master/doc/pipeable-operators.md#build-and-treeshaking - * @param shouldSupportES2015 - Set to true when the output of typescript is >= ES6 - */ -function rxjsAlias(shouldSupportES2015) { - try { - const rxjsPathMappingImport = shouldSupportES2015 ? "rxjs/_esm2015/path-mapping" : "rxjs/_esm5/path-mapping"; - const rxPaths = require(rxjsPathMappingImport); - return rxPaths(); - } catch (e) { - console.warn(e); - return {}; - } -} - /** * Read the assets array in the angular.json file of each NationalBankBelgium package installed in node_modules and concatenate * them into one single array that will be provided to the CopyWebpackPlugin. @@ -232,6 +215,5 @@ exports.DEFAULT_METADATA = DEFAULT_METADATA; exports.supportES2015 = supportES2015; exports.readTsConfig = readTsConfig; exports.getEnvironmentFile = getEnvironmentFile; -exports.rxjsAlias = rxjsAlias; exports.getNbbAssetsConfig = getNbbAssetsConfig; exports.getApplicationAssetsConfig = getApplicationAssetsConfig; diff --git a/packages/stark-build/config/tslint.json b/packages/stark-build/config/tslint.json index 90dd621c27..25c76cf9a3 100644 --- a/packages/stark-build/config/tslint.json +++ b/packages/stark-build/config/tslint.json @@ -165,7 +165,7 @@ } ], "no-magic-numbers": false, - "import-blacklist": true, + "import-blacklist": [true, "@angular/material", "lodash"], "ordered-imports": false, "max-classes-per-file": false, // [true, 1], "prefer-for-of": true, diff --git a/packages/stark-build/config/webpack.common.js b/packages/stark-build/config/webpack.common.js index 9be08fdc65..7f2fa89a0d 100644 --- a/packages/stark-build/config/webpack.common.js +++ b/packages/stark-build/config/webpack.common.js @@ -126,28 +126,7 @@ module.exports = options => { /** * An array of directory names to be resolved to the current directory */ - modules: [helpers.root(buildUtils.ANGULAR_APP_CONFIG.sourceRoot), helpers.root("node_modules")], - - /** - * Add support for pipeable operators. - * - * For existing codebase a refactor is required. - * All rxjs operator imports (e.g. `import 'rxjs/add/operator/map'` or `import { map } from `rxjs/operator/map'` - * must change to `import { map } from 'rxjs/operators'` (note that all operators are now under that import. - * Additionally some operators have changed to to JS keyword constraints (do => tap, catch => catchError) - * - * Remember to use the `pipe()` method to chain operators, this functionally makes pipeable operators similar to - * the old operators usage paradigm. - * - * For more details see: - * https://github.com/ReactiveX/rxjs/blob/master/doc/pipeable-operators.md#build-and-treeshaking - * - * If you are not planning on refactoring your codebase (or not planning on using imports from `rxjs/operators` - * comment out this line. - * - * BE AWARE that not using pipeable operators will probably result in significant payload added to your bundle. - */ - alias: buildUtils.rxjsAlias(supportES2015) + modules: [helpers.root(buildUtils.ANGULAR_APP_CONFIG.sourceRoot), helpers.root("node_modules")] }, optimization: { diff --git a/packages/stark-build/package-lock.json b/packages/stark-build/package-lock.json index 6a11265a5d..ee8f6d9f1f 100644 --- a/packages/stark-build/package-lock.json +++ b/packages/stark-build/package-lock.json @@ -402,7 +402,7 @@ "convert-source-map": "1.6.0", "debug": "3.1.0", "json5": "0.5.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "resolve": "1.8.1", "semver": "5.5.1", "source-map": "0.5.7" @@ -433,7 +433,7 @@ "requires": { "@babel/types": "7.0.0", "jsesc": "2.5.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "source-map": "0.5.7", "trim-right": "1.0.1" }, @@ -526,7 +526,7 @@ "@babel/types": "7.0.0", "debug": "3.1.0", "globals": "11.7.0", - "lodash": "4.17.10" + "lodash": "4.17.11" }, "dependencies": { "debug": { @@ -550,7 +550,7 @@ "integrity": "sha512-5tPDap4bGKTLPtci2SUl/B7Gv8RnuJFuQoWx26RJobS0fFrz4reUA3JnwIM+HVHEmWE0C1mzKhDtTp8NsWY02Q==", "requires": { "esutils": "2.0.2", - "lodash": "4.17.10", + "lodash": "4.17.11", "to-fast-properties": "2.0.0" }, "dependencies": { @@ -1156,7 +1156,7 @@ "chalk": "2.4.1", "enhanced-resolve": "4.1.0", "loader-utils": "1.1.0", - "lodash": "4.17.10", + "lodash": "4.17.11", "micromatch": "3.1.10", "mkdirp": "0.5.1", "source-map-support": "0.5.9", @@ -1238,7 +1238,7 @@ "convert-source-map": "1.6.0", "debug": "2.6.9", "json5": "0.5.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "minimatch": "3.0.4", "path-is-absolute": "1.0.1", "private": "0.1.8", @@ -1256,7 +1256,7 @@ "babel-types": "6.26.0", "detect-indent": "4.0.0", "jsesc": "1.3.0", - "lodash": "4.17.10", + "lodash": "4.17.11", "source-map": "0.5.7", "trim-right": "1.0.1" } @@ -1287,7 +1287,7 @@ "babel-runtime": "6.26.0", "core-js": "2.5.7", "home-or-tmp": "2.0.0", - "lodash": "4.17.10", + "lodash": "4.17.11", "mkdirp": "0.5.1", "source-map-support": "0.4.18" }, @@ -1320,7 +1320,7 @@ "babel-traverse": "6.26.0", "babel-types": "6.26.0", "babylon": "6.18.0", - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "babel-traverse": { @@ -1336,7 +1336,7 @@ "debug": "2.6.9", "globals": "9.18.0", "invariant": "2.2.4", - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "babel-types": { @@ -1346,7 +1346,7 @@ "requires": { "babel-runtime": "6.26.0", "esutils": "2.0.2", - "lodash": "4.17.10", + "lodash": "4.17.11", "to-fast-properties": "1.0.3" } }, @@ -3830,7 +3830,7 @@ "integrity": "sha512-g7QtgWF4uYSL5/dn71WxubOrS7JVGCnFPEnoeChJmBnyR9Mw8nGoEwOgJL/RC2Te0WhbsEUCejfH8SZNJ+adYQ==", "requires": { "glob": "7.1.3", - "lodash": "4.17.10", + "lodash": "4.17.11", "minimatch": "3.0.4" } }, @@ -3875,7 +3875,7 @@ "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", "requires": { - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "source-map": { @@ -4086,7 +4086,7 @@ "requires": { "html-minifier": "3.5.20", "loader-utils": "0.2.17", - "lodash": "4.17.10", + "lodash": "4.17.11", "pretty-error": "2.1.1", "tapable": "1.1.0", "toposort": "1.0.7", @@ -4186,7 +4186,7 @@ "requires": { "http-proxy": "1.17.0", "is-glob": "4.0.0", - "lodash": "4.17.10", + "lodash": "4.17.11", "micromatch": "3.1.10" } }, @@ -4993,7 +4993,7 @@ "resolved": "https://registry.npmjs.org/last-call-webpack-plugin/-/last-call-webpack-plugin-3.0.0.tgz", "integrity": "sha512-7KI2l2GIZa9p2spzPIVZBYyNKkN+e/SQPpnjlTiPhdbDW3F86tdKKELxKpzJ5sgU19wQWsACULZmpTPYHeWO5w==", "requires": { - "lodash": "4.17.10", + "lodash": "4.17.11", "webpack-sources": "1.2.0" } }, @@ -5097,9 +5097,9 @@ } }, "lodash": { - "version": "4.17.10", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", - "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==" + "version": "4.17.11", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", + "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==" }, "lodash._reinterpolate": { "version": "3.0.0", @@ -7315,7 +7315,7 @@ "integrity": "sha512-rBkDbaHAu5uywbCR2XE8a25tats3xSOsGNx6mppK6Q9kSFGKc/FyAzfci+fWM2l+K402p1D0pNcfDGxeje5IKg==", "requires": { "chalk": "2.4.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "log-symbols": "2.2.0", "postcss": "6.0.23" } @@ -8465,7 +8465,7 @@ "integrity": "sha1-E/vWPNHK8JCLn9k0dq1DpR0eC0k=", "requires": { "glob": "7.1.3", - "lodash": "4.17.10", + "lodash": "4.17.11", "scss-tokenizer": "0.2.3", "yargs": "7.1.0" }, @@ -8997,7 +8997,7 @@ "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", "requires": { - "lodash": "4.17.10" + "lodash": "4.17.11" } } } @@ -9162,7 +9162,7 @@ "resolved": "https://registry.npmjs.org/stats-webpack-plugin/-/stats-webpack-plugin-0.6.2.tgz", "integrity": "sha1-LFlJtTHgf4eojm6k3PrFOqjHWis=", "requires": { - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "statuses": { @@ -9360,7 +9360,7 @@ "import-lazy": "3.1.0", "imurmurhash": "0.1.4", "known-css-properties": "0.6.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "log-symbols": "2.2.0", "mathml-tag-names": "2.1.0", "meow": "5.0.0", @@ -9850,7 +9850,7 @@ "ajv": "6.4.0", "ajv-keywords": "3.2.0", "chalk": "2.4.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "slice-ansi": "1.0.0", "string-width": "2.1.1" } @@ -10944,7 +10944,7 @@ "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-4.1.4.tgz", "integrity": "sha512-TmSe1HZKeOPey3oy1Ov2iS3guIZjWvMT2BBJDzzT5jScHTjVC3mpjJofgueEzaEd6ibhxRDD6MIblDr8tzh8iQ==", "requires": { - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "webpack-monitor": { @@ -11096,7 +11096,7 @@ "chalk": "2.4.1", "debug": "3.1.0", "filesize": "3.6.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "mkdirp": "0.5.1", "moment": "2.22.2", "write-file-atomic": "2.3.0" diff --git a/packages/stark-core/package-lock.json b/packages/stark-core/package-lock.json index a039cc8bfd..7ec831a06d 100644 --- a/packages/stark-core/package-lock.json +++ b/packages/stark-core/package-lock.json @@ -45,7 +45,7 @@ "requires": { "@babel/types": "7.0.0-beta.51", "jsesc": "2.5.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "source-map": "0.5.7", "trim-right": "1.0.1" } @@ -99,7 +99,7 @@ "@babel/code-frame": "7.0.0-beta.51", "@babel/parser": "7.0.0-beta.51", "@babel/types": "7.0.0-beta.51", - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "@babel/traverse": { @@ -116,7 +116,7 @@ "debug": "3.1.0", "globals": "11.7.0", "invariant": "2.2.4", - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "@babel/types": { @@ -125,7 +125,7 @@ "dev": true, "requires": { "esutils": "2.0.2", - "lodash": "4.17.10", + "lodash": "4.17.11", "to-fast-properties": "2.0.0" } }, @@ -810,7 +810,7 @@ "bundled": true, "dev": true, "requires": { - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "combine-source-map": { @@ -1755,7 +1755,7 @@ "bundled": true, "dev": true, "requires": { - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "source-map": { @@ -2233,7 +2233,7 @@ "requires": { "@babel/types": "7.0.0", "jsesc": "2.5.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "source-map": "0.5.7", "trim-right": "1.0.1" } @@ -2302,7 +2302,7 @@ "@babel/types": "7.0.0", "debug": "3.1.0", "globals": "11.7.0", - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "@babel/types": { @@ -2311,7 +2311,7 @@ "dev": true, "requires": { "esutils": "2.0.2", - "lodash": "4.17.10", + "lodash": "4.17.11", "to-fast-properties": "2.0.0" } }, @@ -2320,7 +2320,7 @@ "bundled": true, "dev": true, "requires": { - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "istanbul-lib-instrument": { @@ -2477,7 +2477,7 @@ "graceful-fs": "4.1.11", "http-proxy": "1.17.0", "isbinaryfile": "3.0.3", - "lodash": "4.17.10", + "lodash": "4.17.11", "log4js": "3.0.5", "mime": "2.3.1", "minimatch": "3.0.4", @@ -2515,7 +2515,7 @@ "requires": { "dateformat": "1.0.12", "istanbul": "0.4.5", - "lodash": "4.17.10", + "lodash": "4.17.11", "minimatch": "3.0.4", "source-map": "0.5.7" } @@ -2576,7 +2576,7 @@ "istanbul": "0.4.5", "json-stringify-safe": "5.0.1", "karma-coverage": "1.1.2", - "lodash": "4.17.10", + "lodash": "4.17.11", "log4js": "1.1.1", "minimatch": "3.0.4", "os-browserify": "0.3.0", @@ -2604,7 +2604,7 @@ "bundled": true, "dev": true, "requires": { - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "date-format": { @@ -2790,7 +2790,7 @@ } }, "lodash": { - "version": "4.17.10", + "version": "4.17.11", "bundled": true, "dev": true }, diff --git a/packages/stark-core/package.json b/packages/stark-core/package.json index 111ea0c963..f4bde2b3d5 100644 --- a/packages/stark-core/package.json +++ b/packages/stark-core/package.json @@ -53,7 +53,6 @@ "@angular/core": "6.x", "@angular/router": "6.x", "rxjs": "6.x", - "rxjs-compat": "6.x", "tslib": "~1.9.1", "typescript": ">=2.8.4 && <2.9.0", "zone.js": "~0.8.26" diff --git a/packages/stark-testing/package-lock.json b/packages/stark-testing/package-lock.json index 6f60b0cfe6..821c838bcb 100644 --- a/packages/stark-testing/package-lock.json +++ b/packages/stark-testing/package-lock.json @@ -19,7 +19,7 @@ "requires": { "@babel/types": "7.0.0-beta.51", "jsesc": "2.5.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "source-map": "0.5.7", "trim-right": "1.0.1" } @@ -73,7 +73,7 @@ "@babel/code-frame": "7.0.0-beta.51", "@babel/parser": "7.0.0-beta.51", "@babel/types": "7.0.0-beta.51", - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "@babel/traverse": { @@ -90,7 +90,7 @@ "debug": "3.1.0", "globals": "11.7.0", "invariant": "2.2.4", - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "@babel/types": { @@ -99,7 +99,7 @@ "integrity": "sha1-2AK3tUO1g2x3iqaReXq/APPZfqk=", "requires": { "esutils": "2.0.2", - "lodash": "4.17.10", + "lodash": "4.17.11", "to-fast-properties": "2.0.0" } }, @@ -784,7 +784,7 @@ "resolved": "https://registry.npmjs.org/combine-lists/-/combine-lists-1.0.1.tgz", "integrity": "sha1-RYwH4J4NkA/Ci3Cj/sLazR0st/Y=", "requires": { - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "combine-source-map": { @@ -1729,7 +1729,7 @@ "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", "requires": { - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "source-map": { @@ -2207,7 +2207,7 @@ "requires": { "@babel/types": "7.0.0", "jsesc": "2.5.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "source-map": "0.5.7", "trim-right": "1.0.1" } @@ -2276,7 +2276,7 @@ "@babel/types": "7.0.0", "debug": "3.1.0", "globals": "11.7.0", - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "@babel/types": { @@ -2285,7 +2285,7 @@ "integrity": "sha512-5tPDap4bGKTLPtci2SUl/B7Gv8RnuJFuQoWx26RJobS0fFrz4reUA3JnwIM+HVHEmWE0C1mzKhDtTp8NsWY02Q==", "requires": { "esutils": "2.0.2", - "lodash": "4.17.10", + "lodash": "4.17.11", "to-fast-properties": "2.0.0" } }, @@ -2294,7 +2294,7 @@ "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", "requires": { - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "istanbul-lib-instrument": { @@ -2451,7 +2451,7 @@ "graceful-fs": "4.1.11", "http-proxy": "1.17.0", "isbinaryfile": "3.0.3", - "lodash": "4.17.10", + "lodash": "4.17.11", "log4js": "3.0.5", "mime": "2.3.1", "minimatch": "3.0.4", @@ -2489,7 +2489,7 @@ "requires": { "dateformat": "1.0.12", "istanbul": "0.4.5", - "lodash": "4.17.10", + "lodash": "4.17.11", "minimatch": "3.0.4", "source-map": "0.5.7" } @@ -2550,7 +2550,7 @@ "istanbul": "0.4.5", "json-stringify-safe": "5.0.1", "karma-coverage": "1.1.2", - "lodash": "4.17.10", + "lodash": "4.17.11", "log4js": "1.1.1", "minimatch": "3.0.4", "os-browserify": "0.3.0", @@ -2578,7 +2578,7 @@ "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", "requires": { - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "date-format": { @@ -2764,9 +2764,9 @@ } }, "lodash": { - "version": "4.17.10", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", - "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==" + "version": "4.17.11", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", + "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==" }, "lodash.debounce": { "version": "4.0.8", diff --git a/packages/stark-ui/package-lock.json b/packages/stark-ui/package-lock.json index 1061e435cd..0b28987293 100644 --- a/packages/stark-ui/package-lock.json +++ b/packages/stark-ui/package-lock.json @@ -53,7 +53,7 @@ "requires": { "@babel/types": "7.0.0-beta.51", "jsesc": "2.5.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "source-map": "0.5.7", "trim-right": "1.0.1" } @@ -107,7 +107,7 @@ "@babel/code-frame": "7.0.0-beta.51", "@babel/parser": "7.0.0-beta.51", "@babel/types": "7.0.0-beta.51", - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "@babel/traverse": { @@ -124,7 +124,7 @@ "debug": "3.1.0", "globals": "11.7.0", "invariant": "2.2.4", - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "@babel/types": { @@ -133,7 +133,7 @@ "dev": true, "requires": { "esutils": "2.0.2", - "lodash": "4.17.10", + "lodash": "4.17.11", "to-fast-properties": "2.0.0" } }, @@ -818,7 +818,7 @@ "bundled": true, "dev": true, "requires": { - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "combine-source-map": { @@ -1763,7 +1763,7 @@ "bundled": true, "dev": true, "requires": { - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "source-map": { @@ -2241,7 +2241,7 @@ "requires": { "@babel/types": "7.0.0", "jsesc": "2.5.1", - "lodash": "4.17.10", + "lodash": "4.17.11", "source-map": "0.5.7", "trim-right": "1.0.1" } @@ -2310,7 +2310,7 @@ "@babel/types": "7.0.0", "debug": "3.1.0", "globals": "11.7.0", - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "@babel/types": { @@ -2319,7 +2319,7 @@ "dev": true, "requires": { "esutils": "2.0.2", - "lodash": "4.17.10", + "lodash": "4.17.11", "to-fast-properties": "2.0.0" } }, @@ -2328,7 +2328,7 @@ "bundled": true, "dev": true, "requires": { - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "istanbul-lib-instrument": { @@ -2485,7 +2485,7 @@ "graceful-fs": "4.1.11", "http-proxy": "1.17.0", "isbinaryfile": "3.0.3", - "lodash": "4.17.10", + "lodash": "4.17.11", "log4js": "3.0.5", "mime": "2.3.1", "minimatch": "3.0.4", @@ -2523,7 +2523,7 @@ "requires": { "dateformat": "1.0.12", "istanbul": "0.4.5", - "lodash": "4.17.10", + "lodash": "4.17.11", "minimatch": "3.0.4", "source-map": "0.5.7" } @@ -2584,7 +2584,7 @@ "istanbul": "0.4.5", "json-stringify-safe": "5.0.1", "karma-coverage": "1.1.2", - "lodash": "4.17.10", + "lodash": "4.17.11", "log4js": "1.1.1", "minimatch": "3.0.4", "os-browserify": "0.3.0", @@ -2612,7 +2612,7 @@ "bundled": true, "dev": true, "requires": { - "lodash": "4.17.10" + "lodash": "4.17.11" } }, "date-format": { @@ -2798,7 +2798,7 @@ } }, "lodash": { - "version": "4.17.10", + "version": "4.17.11", "bundled": true, "dev": true }, diff --git a/packages/stark-ui/package.json b/packages/stark-ui/package.json index 94b9528339..a56bb8641e 100644 --- a/packages/stark-ui/package.json +++ b/packages/stark-ui/package.json @@ -49,7 +49,6 @@ "@angular/router": "6.x", "@nationalbankbelgium/stark-core": "0.0.0-PLACEHOLDER-VERSION", "rxjs": "6.x", - "rxjs-compat": "6.x", "tslib": "~1.9.1", "typescript": ">=2.8.4 && <2.9.0", "zone.js": "~0.8.26" diff --git a/packages/stark-ui/src/modules/action-bar/action-bar.module.ts b/packages/stark-ui/src/modules/action-bar/action-bar.module.ts index 7bbf5c64c4..65e845fe67 100644 --- a/packages/stark-ui/src/modules/action-bar/action-bar.module.ts +++ b/packages/stark-ui/src/modules/action-bar/action-bar.module.ts @@ -1,6 +1,9 @@ import { NgModule } from "@angular/core"; import { CommonModule } from "@angular/common"; -import { MatButtonModule, MatIconModule, MatMenuModule, MatTooltipModule } from "@angular/material"; +import { MatButtonModule } from "@angular/material/button"; +import { MatIconModule } from "@angular/material/icon"; +import { MatMenuModule } from "@angular/material/menu"; +import { MatTooltipModule } from "@angular/material/tooltip"; import { StarkSvgViewBoxModule } from "../svg-view-box/svg-view-box.module"; import { StarkActionBarComponent } from "./components"; import { TranslateModule } from "@ngx-translate/core"; diff --git a/packages/stark-ui/src/modules/action-bar/components/action-bar.component.spec.ts b/packages/stark-ui/src/modules/action-bar/components/action-bar.component.spec.ts index 1e4834e0cc..eeaf300ade 100644 --- a/packages/stark-ui/src/modules/action-bar/components/action-bar.component.spec.ts +++ b/packages/stark-ui/src/modules/action-bar/components/action-bar.component.spec.ts @@ -1,6 +1,8 @@ import { NO_ERRORS_SCHEMA } from "@angular/core"; import { async, ComponentFixture, TestBed } from "@angular/core/testing"; -import { MatButtonModule, MatMenuModule, MatTooltipModule } from "@angular/material"; +import { MatButtonModule } from "@angular/material/button"; +import { MatMenuModule } from "@angular/material/menu"; +import { MatTooltipModule } from "@angular/material/tooltip"; import { STARK_LOGGING_SERVICE, STARK_ROUTING_SERVICE } from "@nationalbankbelgium/stark-core"; import { MockStarkLoggingService, MockStarkRoutingService } from "@nationalbankbelgium/stark-core/testing"; import { StarkSvgViewBoxModule } from "../../svg-view-box/svg-view-box.module"; diff --git a/packages/stark-ui/src/modules/date-picker/components/date-picker.component.spec.ts b/packages/stark-ui/src/modules/date-picker/components/date-picker.component.spec.ts index 58c4bdf687..38e435fd87 100644 --- a/packages/stark-ui/src/modules/date-picker/components/date-picker.component.spec.ts +++ b/packages/stark-ui/src/modules/date-picker/components/date-picker.component.spec.ts @@ -1,12 +1,14 @@ -import { BrowserAnimationsModule } from "@angular/platform-browser/animations"; +import { NoopAnimationsModule } from "@angular/platform-browser/animations"; +import { EventEmitter } from "@angular/core"; import { async, ComponentFixture, TestBed } from "@angular/core/testing"; -import { MatDatepickerModule, MatInputModule } from "@angular/material"; -import { MatMomentDateModule } from "@angular/material-moment-adapter"; -import { StarkDatePickerComponent } from "./date-picker.component"; +import { DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE } from "@angular/material/core"; +import { MatDatepickerModule } from "@angular/material/datepicker"; +import { MatInputModule } from "@angular/material/input"; +import { MatMomentDateModule, MomentDateAdapter, MAT_MOMENT_DATE_FORMATS } from "@angular/material-moment-adapter"; +import { TranslateModule, TranslateService } from "@ngx-translate/core"; import { STARK_LOGGING_SERVICE, STARK_ROUTING_SERVICE } from "@nationalbankbelgium/stark-core"; import { MockStarkLoggingService, MockStarkRoutingService } from "@nationalbankbelgium/stark-core/testing"; -import { TranslateModule, TranslateService } from "@ngx-translate/core"; -import { EventEmitter } from "@angular/core"; +import { StarkDatePickerComponent } from "./date-picker.component"; describe("DatePickerComponent", () => { let fixture: ComponentFixture; @@ -15,10 +17,13 @@ describe("DatePickerComponent", () => { beforeEach(async(() => { return TestBed.configureTestingModule({ declarations: [StarkDatePickerComponent], - imports: [BrowserAnimationsModule, MatDatepickerModule, MatInputModule, MatMomentDateModule, TranslateModule.forRoot()], + imports: [NoopAnimationsModule, MatDatepickerModule, MatInputModule, MatMomentDateModule, TranslateModule.forRoot()], providers: [ { provide: STARK_LOGGING_SERVICE, useValue: new MockStarkLoggingService() }, { provide: STARK_ROUTING_SERVICE, useClass: MockStarkRoutingService }, + { provide: MAT_DATE_FORMATS, useValue: MAT_MOMENT_DATE_FORMATS }, + { provide: MAT_DATE_LOCALE, useValue: "en-us" }, + { provide: DateAdapter, useClass: MomentDateAdapter, deps: [MAT_DATE_LOCALE] }, TranslateService ] }).compileComponents(); diff --git a/packages/stark-ui/src/modules/date-picker/components/date-picker.component.ts b/packages/stark-ui/src/modules/date-picker/components/date-picker.component.ts index 34a7afa353..3d674c1c79 100644 --- a/packages/stark-ui/src/modules/date-picker/components/date-picker.component.ts +++ b/packages/stark-ui/src/modules/date-picker/components/date-picker.component.ts @@ -1,5 +1,5 @@ import { Component, ElementRef, EventEmitter, Inject, Input, OnInit, Output, Renderer2, ViewChild, ViewEncapsulation } from "@angular/core"; -import { MatDatepicker, MatDatepickerInput, MatDatepickerInputEvent } from "@angular/material"; +import { MatDatepicker, MatDatepickerInput, MatDatepickerInputEvent } from "@angular/material/datepicker"; import moment from "moment"; import { STARK_LOGGING_SERVICE, StarkLoggingService } from "@nationalbankbelgium/stark-core"; import { AbstractStarkUiComponent } from "../../../common/classes/abstract-component"; diff --git a/packages/stark-ui/src/modules/date-picker/date-picker.module.ts b/packages/stark-ui/src/modules/date-picker/date-picker.module.ts index 1311ae6ea2..f12228f735 100644 --- a/packages/stark-ui/src/modules/date-picker/date-picker.module.ts +++ b/packages/stark-ui/src/modules/date-picker/date-picker.module.ts @@ -1,6 +1,7 @@ import { NgModule } from "@angular/core"; import { CommonModule } from "@angular/common"; -import { MatDatepickerModule, MatInputModule } from "@angular/material"; +import { MatDatepickerModule } from "@angular/material/datepicker"; +import { MatInputModule } from "@angular/material/input"; import { MatMomentDateModule } from "@angular/material-moment-adapter"; import { StarkDatePickerComponent } from "./components"; import { TranslateModule } from "@ngx-translate/core"; diff --git a/packages/stark-ui/src/modules/date-range-picker/components/date-range-picker.component.spec.ts b/packages/stark-ui/src/modules/date-range-picker/components/date-range-picker.component.spec.ts index 016d7d47a3..511fc48996 100644 --- a/packages/stark-ui/src/modules/date-range-picker/components/date-range-picker.component.spec.ts +++ b/packages/stark-ui/src/modules/date-range-picker/components/date-range-picker.component.spec.ts @@ -1,6 +1,8 @@ import { NoopAnimationsModule } from "@angular/platform-browser/animations"; -import { async, ComponentFixture, TestBed } from "@angular/core/testing"; import { EventEmitter } from "@angular/core"; +import { async, ComponentFixture, TestBed } from "@angular/core/testing"; +import { DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE } from "@angular/material/core"; +import { MAT_MOMENT_DATE_FORMATS, MomentDateAdapter } from "@angular/material-moment-adapter"; import { TranslateModule, TranslateService } from "@ngx-translate/core"; import { STARK_LOGGING_SERVICE, STARK_ROUTING_SERVICE } from "@nationalbankbelgium/stark-core"; import { MockStarkLoggingService, MockStarkRoutingService } from "@nationalbankbelgium/stark-core/testing"; @@ -19,6 +21,9 @@ describe("DateRangePickerComponent", () => { providers: [ { provide: STARK_LOGGING_SERVICE, useValue: new MockStarkLoggingService() }, { provide: STARK_ROUTING_SERVICE, useClass: MockStarkRoutingService }, + { provide: MAT_DATE_FORMATS, useValue: MAT_MOMENT_DATE_FORMATS }, + { provide: MAT_DATE_LOCALE, useValue: "en-us" }, + { provide: DateAdapter, useClass: MomentDateAdapter, deps: [MAT_DATE_LOCALE] }, TranslateService ] }).compileComponents(); diff --git a/showcase/package-lock.json b/showcase/package-lock.json index 67f6f2b081..e338bebbbd 100644 --- a/showcase/package-lock.json +++ b/showcase/package-lock.json @@ -841,8 +841,8 @@ } }, "@nationalbankbelgium/stark-build": { - "version": "file:../dist/packages-dist/stark-build/nationalbankbelgium-stark-build-10.0.0-alpha.5-0c13b0c.tgz", - "integrity": "sha512-uxhw0kVS+zpPMTGDTmPZ3fQk7Pg5FAR1mVj7VcmeRLpL3830vRORTv/aNnLMy60wOHODH5SpgwImHTNBLVz4Yw==", + "version": "file:../dist/packages-dist/stark-build/nationalbankbelgium-stark-build-10.0.0-beta.0-3a7dc6e.tgz", + "integrity": "sha512-IQn4L2dElXaf/P2e7WfATskfu+ymQ9A46Au1vpEwWZiqXb+0WNpf3nB9nHl2HFYlnO4GRtytAv+JeQyOYX6kpw==", "dev": true, "requires": { "@angular-devkit/build-angular": "0.8.3", @@ -927,8 +927,8 @@ } }, "@nationalbankbelgium/stark-core": { - "version": "file:../dist/packages-dist/stark-core/nationalbankbelgium-stark-core-10.0.0-alpha.5-0c13b0c.tgz", - "integrity": "sha512-L7TUaT729kAOFAC6oMgVlhq8PxCykUnd9GuXYuQJxn+0ajFirf+MTAogxHEW5Q2l//DaaCws9xPnvedBgIwyDA==", + "version": "file:../dist/packages-dist/stark-core/nationalbankbelgium-stark-core-10.0.0-beta.0-3a7dc6e.tgz", + "integrity": "sha512-vhUjtuH2TQEWqfgwfCXbMakgK5NFLX2FSbTk14Z+NVSNWQLwTaQBI5C/QSDBvVVE3JoqvvZMghP1beOVQ6DxwQ==", "requires": { "@angularclass/hmr": "2.1.3", "@ng-idle/core": "6.0.0-beta.3", @@ -950,8 +950,8 @@ } }, "@nationalbankbelgium/stark-testing": { - "version": "file:../dist/packages-dist/stark-testing/nationalbankbelgium-stark-testing-10.0.0-alpha.5-0c13b0c.tgz", - "integrity": "sha512-fFXnS00IA5HNyNsvYXC2IwyyBGOm3HbFuE9Dfc/+e3gegqVwqMfg5O3/oSvWxc02I2Hz1dOahhZjkzyhg11ipg==", + "version": "file:../dist/packages-dist/stark-testing/nationalbankbelgium-stark-testing-10.0.0-beta.0-3a7dc6e.tgz", + "integrity": "sha512-EpRLA9Wdgn2NxP4jCRdMbsZWyhibkVNaSF3v2+dAmxRDq+qyOTCNdoiInm0/tf/LNfAOe4UA1OIhZVgCsQKLPQ==", "dev": true, "requires": { "@types/jasmine": "2.8.8", @@ -1131,8 +1131,8 @@ } }, "@nationalbankbelgium/stark-ui": { - "version": "file:../dist/packages-dist/stark-ui/nationalbankbelgium-stark-ui-10.0.0-alpha.5-0c13b0c.tgz", - "integrity": "sha512-CMzJww4c/2zQFBE9DUHZu+j9Hek4fDYA1dFasBA6m0oLKcBBnhpPzZbBWDd/JuP1ARE/cLjbONEVg2+1tttKow==", + "version": "file:../dist/packages-dist/stark-ui/nationalbankbelgium-stark-ui-10.0.0-beta.0-3a7dc6e.tgz", + "integrity": "sha512-/78reKPOMF81YrQYvlI6U32i0Y4c7ZRcBjvKD/16hvh52zTqsdybAr07CrfGYlYbCF26jBaNfNeAZI70aV71GA==", "requires": { "@angular/material-moment-adapter": "6.4.7", "@mdi/angular-material": "2.7.94", @@ -13004,11 +13004,6 @@ "tslib": "1.9.3" } }, - "rxjs-compat": { - "version": "6.3.2", - "resolved": "https://registry.npmjs.org/rxjs-compat/-/rxjs-compat-6.3.2.tgz", - "integrity": "sha512-eH0ANsX4ufMSDmSDwWbsWYgZDDDxxLHxsSwApbQumHTFm83RP4AI594QtXv3Jup+hVjXfE2dRSAVKbMh2a2hcw==" - }, "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", diff --git a/showcase/package.json b/showcase/package.json index fbdd696485..5ee7e359fe 100644 --- a/showcase/package.json +++ b/showcase/package.json @@ -124,8 +124,8 @@ "@angular/platform-browser-dynamic": "6.1.8", "@angular/platform-server": "6.1.8", "@angular/router": "6.1.8", - "@nationalbankbelgium/stark-core": "file:../dist/packages-dist/stark-core/nationalbankbelgium-stark-core-10.0.0-alpha.5-0c13b0c.tgz", - "@nationalbankbelgium/stark-ui": "file:../dist/packages-dist/stark-ui/nationalbankbelgium-stark-ui-10.0.0-alpha.5-0c13b0c.tgz", + "@nationalbankbelgium/stark-core": "file:../dist/packages-dist/stark-core/nationalbankbelgium-stark-core-10.0.0-beta.0-3a7dc6e.tgz", + "@nationalbankbelgium/stark-ui": "file:../dist/packages-dist/stark-ui/nationalbankbelgium-stark-ui-10.0.0-beta.0-3a7dc6e.tgz", "@uirouter/visualizer": "6.0.2", "basscss": "8.0.10", "core-js": "2.5.7", @@ -136,13 +136,12 @@ "ngrx-store-logger": "0.2.2", "reflect-metadata": "0.1.12", "rxjs": "6.3.2", - "rxjs-compat": "6.3.2", "zone.js": "0.8.26" }, "devDependencies": { "@compodoc/compodoc": "1.1.5", - "@nationalbankbelgium/stark-build": "file:../dist/packages-dist/stark-build/nationalbankbelgium-stark-build-10.0.0-alpha.5-0c13b0c.tgz", - "@nationalbankbelgium/stark-testing": "file:../dist/packages-dist/stark-testing/nationalbankbelgium-stark-testing-10.0.0-alpha.5-0c13b0c.tgz", + "@nationalbankbelgium/stark-build": "file:../dist/packages-dist/stark-build/nationalbankbelgium-stark-build-10.0.0-beta.0-3a7dc6e.tgz", + "@nationalbankbelgium/stark-testing": "file:../dist/packages-dist/stark-testing/nationalbankbelgium-stark-testing-10.0.0-beta.0-3a7dc6e.tgz", "@types/core-js": "2.5.0", "@types/hammerjs": "2.0.36", "@types/node": "8.10.15", diff --git a/showcase/src/app/shared/example-viewer/example-viewer.component.spec.ts b/showcase/src/app/shared/example-viewer/example-viewer.component.spec.ts index 69bf5b3783..f5ccdde081 100644 --- a/showcase/src/app/shared/example-viewer/example-viewer.component.spec.ts +++ b/showcase/src/app/shared/example-viewer/example-viewer.component.spec.ts @@ -1,7 +1,9 @@ import { NO_ERRORS_SCHEMA } from "@angular/core"; import { NoopAnimationsModule } from "@angular/platform-browser/animations"; import { async, ComponentFixture, TestBed } from "@angular/core/testing"; -import { MatButtonModule, MatTabsModule, MatTooltipModule } from "@angular/material"; +import { MatButtonModule } from "@angular/material/button"; +import { MatTabsModule } from "@angular/material/tabs"; +import { MatTooltipModule } from "@angular/material/tooltip"; import { throwError, of, Observable, Subject } from "rxjs"; import { filter, delay } from "rxjs/operators"; import { STARK_LOGGING_SERVICE, StarkLoggingService } from "@nationalbankbelgium/stark-core"; diff --git a/starter/package-lock.json b/starter/package-lock.json index 396df9259e..cb4529a513 100644 --- a/starter/package-lock.json +++ b/starter/package-lock.json @@ -841,8 +841,8 @@ } }, "@nationalbankbelgium/stark-build": { - "version": "file:../dist/packages-dist/stark-build/nationalbankbelgium-stark-build-10.0.0-alpha.5-0c13b0c.tgz", - "integrity": "sha512-uxhw0kVS+zpPMTGDTmPZ3fQk7Pg5FAR1mVj7VcmeRLpL3830vRORTv/aNnLMy60wOHODH5SpgwImHTNBLVz4Yw==", + "version": "file:../dist/packages-dist/stark-build/nationalbankbelgium-stark-build-10.0.0-beta.0-3a7dc6e.tgz", + "integrity": "sha512-IQn4L2dElXaf/P2e7WfATskfu+ymQ9A46Au1vpEwWZiqXb+0WNpf3nB9nHl2HFYlnO4GRtytAv+JeQyOYX6kpw==", "dev": true, "requires": { "@angular-devkit/build-angular": "0.8.3", @@ -927,8 +927,8 @@ } }, "@nationalbankbelgium/stark-core": { - "version": "file:../dist/packages-dist/stark-core/nationalbankbelgium-stark-core-10.0.0-alpha.5-0c13b0c.tgz", - "integrity": "sha512-L7TUaT729kAOFAC6oMgVlhq8PxCykUnd9GuXYuQJxn+0ajFirf+MTAogxHEW5Q2l//DaaCws9xPnvedBgIwyDA==", + "version": "file:../dist/packages-dist/stark-core/nationalbankbelgium-stark-core-10.0.0-beta.0-3a7dc6e.tgz", + "integrity": "sha512-vhUjtuH2TQEWqfgwfCXbMakgK5NFLX2FSbTk14Z+NVSNWQLwTaQBI5C/QSDBvVVE3JoqvvZMghP1beOVQ6DxwQ==", "requires": { "@angularclass/hmr": "2.1.3", "@ng-idle/core": "6.0.0-beta.3", @@ -950,8 +950,8 @@ } }, "@nationalbankbelgium/stark-testing": { - "version": "file:../dist/packages-dist/stark-testing/nationalbankbelgium-stark-testing-10.0.0-alpha.5-0c13b0c.tgz", - "integrity": "sha512-fFXnS00IA5HNyNsvYXC2IwyyBGOm3HbFuE9Dfc/+e3gegqVwqMfg5O3/oSvWxc02I2Hz1dOahhZjkzyhg11ipg==", + "version": "file:../dist/packages-dist/stark-testing/nationalbankbelgium-stark-testing-10.0.0-beta.0-3a7dc6e.tgz", + "integrity": "sha512-EpRLA9Wdgn2NxP4jCRdMbsZWyhibkVNaSF3v2+dAmxRDq+qyOTCNdoiInm0/tf/LNfAOe4UA1OIhZVgCsQKLPQ==", "dev": true, "requires": { "@types/jasmine": "2.8.8", @@ -1131,8 +1131,8 @@ } }, "@nationalbankbelgium/stark-ui": { - "version": "file:../dist/packages-dist/stark-ui/nationalbankbelgium-stark-ui-10.0.0-alpha.5-0c13b0c.tgz", - "integrity": "sha512-CMzJww4c/2zQFBE9DUHZu+j9Hek4fDYA1dFasBA6m0oLKcBBnhpPzZbBWDd/JuP1ARE/cLjbONEVg2+1tttKow==", + "version": "file:../dist/packages-dist/stark-ui/nationalbankbelgium-stark-ui-10.0.0-beta.0-3a7dc6e.tgz", + "integrity": "sha512-/78reKPOMF81YrQYvlI6U32i0Y4c7ZRcBjvKD/16hvh52zTqsdybAr07CrfGYlYbCF26jBaNfNeAZI70aV71GA==", "requires": { "@angular/material-moment-adapter": "6.4.7", "@mdi/angular-material": "2.7.94", @@ -13004,11 +13004,6 @@ "tslib": "1.9.3" } }, - "rxjs-compat": { - "version": "6.3.2", - "resolved": "https://registry.npmjs.org/rxjs-compat/-/rxjs-compat-6.3.2.tgz", - "integrity": "sha512-eH0ANsX4ufMSDmSDwWbsWYgZDDDxxLHxsSwApbQumHTFm83RP4AI594QtXv3Jup+hVjXfE2dRSAVKbMh2a2hcw==" - }, "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", diff --git a/starter/package.json b/starter/package.json index aa20e5c289..ef329a28e6 100644 --- a/starter/package.json +++ b/starter/package.json @@ -124,8 +124,8 @@ "@angular/platform-browser-dynamic": "6.1.8", "@angular/platform-server": "6.1.8", "@angular/router": "6.1.8", - "@nationalbankbelgium/stark-core": "file:../dist/packages-dist/stark-core/nationalbankbelgium-stark-core-10.0.0-alpha.5-0c13b0c.tgz", - "@nationalbankbelgium/stark-ui": "file:../dist/packages-dist/stark-ui/nationalbankbelgium-stark-ui-10.0.0-alpha.5-0c13b0c.tgz", + "@nationalbankbelgium/stark-core": "file:../dist/packages-dist/stark-core/nationalbankbelgium-stark-core-10.0.0-beta.0-3a7dc6e.tgz", + "@nationalbankbelgium/stark-ui": "file:../dist/packages-dist/stark-ui/nationalbankbelgium-stark-ui-10.0.0-beta.0-3a7dc6e.tgz", "@uirouter/visualizer": "6.0.2", "basscss": "8.0.10", "core-js": "2.5.7", @@ -137,13 +137,12 @@ "normalize.css": "8.0.0", "reflect-metadata": "0.1.12", "rxjs": "6.3.2", - "rxjs-compat": "6.3.2", "zone.js": "0.8.26" }, "devDependencies": { "@compodoc/compodoc": "1.1.5", - "@nationalbankbelgium/stark-build": "file:../dist/packages-dist/stark-build/nationalbankbelgium-stark-build-10.0.0-alpha.5-0c13b0c.tgz", - "@nationalbankbelgium/stark-testing": "file:../dist/packages-dist/stark-testing/nationalbankbelgium-stark-testing-10.0.0-alpha.5-0c13b0c.tgz", + "@nationalbankbelgium/stark-build": "file:../dist/packages-dist/stark-build/nationalbankbelgium-stark-build-10.0.0-beta.0-3a7dc6e.tgz", + "@nationalbankbelgium/stark-testing": "file:../dist/packages-dist/stark-testing/nationalbankbelgium-stark-testing-10.0.0-beta.0-3a7dc6e.tgz", "@types/core-js": "2.5.0", "@types/hammerjs": "2.0.36", "@types/node": "8.10.15",