From 459421b4d320405ec259c0b98ef6c6ba7aa997e5 Mon Sep 17 00:00:00 2001 From: Dmytro Hachok Date: Fri, 19 Jan 2024 15:09:27 +0100 Subject: [PATCH] Install jest-preset-angular for brx-spartacus-storefront --- brx-spartacus-storefront/package-lock.json | 161 +++++++++++++-------- brx-spartacus-storefront/package.json | 1 + 2 files changed, 104 insertions(+), 58 deletions(-) diff --git a/brx-spartacus-storefront/package-lock.json b/brx-spartacus-storefront/package-lock.json index 500f956..228a471 100644 --- a/brx-spartacus-storefront/package-lock.json +++ b/brx-spartacus-storefront/package-lock.json @@ -71,6 +71,7 @@ "eslint-plugin-import": "2.29.0", "eslint-plugin-prettier": "4.2.1", "jest": "28.1.3", + "jest-preset-angular": "12.2.3", "prettier": "2.8.8", "ts-node": "8.3.0", "typescript": "4.8.4" @@ -188,48 +189,6 @@ "typescript": ">=4.3" } }, - "node_modules/@angular-builders/jest/node_modules/jest-preset-angular/node_modules/ts-jest": { - "version": "28.0.8", - "dev": true, - "license": "MIT", - "dependencies": { - "bs-logger": "0.x", - "fast-json-stable-stringify": "2.x", - "jest-util": "^28.0.0", - "json5": "^2.2.1", - "lodash.memoize": "4.x", - "make-error": "1.x", - "semver": "7.x", - "yargs-parser": "^21.0.1" - }, - "bin": { - "ts-jest": "cli.js" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" - }, - "peerDependencies": { - "@babel/core": ">=7.0.0-beta.0 <8", - "@jest/types": "^28.0.0", - "babel-jest": "^28.0.0", - "jest": "^28.0.0", - "typescript": ">=4.3" - }, - "peerDependenciesMeta": { - "@babel/core": { - "optional": true - }, - "@jest/types": { - "optional": true - }, - "babel-jest": { - "optional": true - }, - "esbuild": { - "optional": true - } - } - }, "node_modules/@angular-devkit/architect": { "version": "0.1402.13", "devOptional": true, @@ -9826,6 +9785,7 @@ }, "node_modules/fsevents": { "version": "2.3.3", + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -12440,6 +12400,33 @@ } } }, + "node_modules/jest-preset-angular": { + "version": "12.2.3", + "resolved": "https://registry.npmjs.org/jest-preset-angular/-/jest-preset-angular-12.2.3.tgz", + "integrity": "sha512-9vgawXuki/lg4IRPtl5k83krWLKADTal7BBm06xNAWOK09AbHK1foXqZdVOMObsWbaMDeQ1cjba60vS/aEVY4Q==", + "dev": true, + "dependencies": { + "bs-logger": "^0.2.6", + "esbuild-wasm": ">=0.13.8", + "jest-environment-jsdom": "^28.0.0", + "pretty-format": "^28.0.0", + "ts-jest": "^28.0.0" + }, + "engines": { + "node": "^14.15.0 || >=16.10.0" + }, + "optionalDependencies": { + "esbuild": ">=0.13.8" + }, + "peerDependencies": { + "@angular-devkit/build-angular": ">=12.2.18 <16.0.0", + "@angular/compiler-cli": ">=12.2.16 <16.0.0", + "@angular/core": ">=12.2.16 <16.0.0", + "@angular/platform-browser-dynamic": ">=12.2.16 <16.0.0", + "jest": "^28.0.0", + "typescript": ">=4.4" + } + }, "node_modules/jest-regex-util": { "version": "28.0.2", "dev": true, @@ -17884,6 +17871,49 @@ "tree-kill": "cli.js" } }, + "node_modules/ts-jest": { + "version": "28.0.8", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-28.0.8.tgz", + "integrity": "sha512-5FaG0lXmRPzApix8oFG8RKjAz4ehtm8yMKOTy5HX3fY6W8kmvOrmcY0hKDElW52FJov+clhUbrKAqofnj4mXTg==", + "dev": true, + "dependencies": { + "bs-logger": "0.x", + "fast-json-stable-stringify": "2.x", + "jest-util": "^28.0.0", + "json5": "^2.2.1", + "lodash.memoize": "4.x", + "make-error": "1.x", + "semver": "7.x", + "yargs-parser": "^21.0.1" + }, + "bin": { + "ts-jest": "cli.js" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + }, + "peerDependencies": { + "@babel/core": ">=7.0.0-beta.0 <8", + "@jest/types": "^28.0.0", + "babel-jest": "^28.0.0", + "jest": "^28.0.0", + "typescript": ">=4.3" + }, + "peerDependenciesMeta": { + "@babel/core": { + "optional": true + }, + "@jest/types": { + "optional": true + }, + "babel-jest": { + "optional": true + }, + "esbuild": { + "optional": true + } + } + }, "node_modules/ts-morph": { "version": "9.1.0", "license": "MIT", @@ -19046,22 +19076,6 @@ "jest-environment-jsdom": "^28.0.0", "pretty-format": "^28.0.0", "ts-jest": "^28.0.0" - }, - "dependencies": { - "ts-jest": { - "version": "28.0.8", - "dev": true, - "requires": { - "bs-logger": "0.x", - "fast-json-stable-stringify": "2.x", - "jest-util": "^28.0.0", - "json5": "^2.2.1", - "lodash.memoize": "4.x", - "make-error": "1.x", - "semver": "7.x", - "yargs-parser": "^21.0.1" - } - } } } } @@ -24994,6 +25008,7 @@ }, "fsevents": { "version": "2.3.3", + "dev": true, "optional": true }, "function-bind": { @@ -26575,6 +26590,20 @@ "dev": true, "requires": {} }, + "jest-preset-angular": { + "version": "12.2.3", + "resolved": "https://registry.npmjs.org/jest-preset-angular/-/jest-preset-angular-12.2.3.tgz", + "integrity": "sha512-9vgawXuki/lg4IRPtl5k83krWLKADTal7BBm06xNAWOK09AbHK1foXqZdVOMObsWbaMDeQ1cjba60vS/aEVY4Q==", + "dev": true, + "requires": { + "bs-logger": "^0.2.6", + "esbuild": ">=0.13.8", + "esbuild-wasm": ">=0.13.8", + "jest-environment-jsdom": "^28.0.0", + "pretty-format": "^28.0.0", + "ts-jest": "^28.0.0" + } + }, "jest-regex-util": { "version": "28.0.2", "dev": true @@ -29940,6 +29969,22 @@ "version": "1.2.2", "dev": true }, + "ts-jest": { + "version": "28.0.8", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-28.0.8.tgz", + "integrity": "sha512-5FaG0lXmRPzApix8oFG8RKjAz4ehtm8yMKOTy5HX3fY6W8kmvOrmcY0hKDElW52FJov+clhUbrKAqofnj4mXTg==", + "dev": true, + "requires": { + "bs-logger": "0.x", + "fast-json-stable-stringify": "2.x", + "jest-util": "^28.0.0", + "json5": "^2.2.1", + "lodash.memoize": "4.x", + "make-error": "1.x", + "semver": "7.x", + "yargs-parser": "^21.0.1" + } + }, "ts-morph": { "version": "9.1.0", "requires": { diff --git a/brx-spartacus-storefront/package.json b/brx-spartacus-storefront/package.json index f442a14..8f4e845 100644 --- a/brx-spartacus-storefront/package.json +++ b/brx-spartacus-storefront/package.json @@ -78,6 +78,7 @@ "eslint-plugin-import": "2.29.0", "eslint-plugin-prettier": "4.2.1", "jest": "28.1.3", + "jest-preset-angular": "12.2.3", "prettier": "2.8.8", "ts-node": "8.3.0", "typescript": "4.8.4"