diff --git a/.eslintrc.json b/.eslintrc.json index 3066b0e6e8a..b4018eca7cc 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -2,13 +2,9 @@ "root": true, "overrides": [ { - "files": [ - "*.ts" - ], + "files": ["*.ts"], "parserOptions": { - "project": [ - "tsconfig.eslint.json" - ], + "project": ["tsconfig.eslint.json"], "createDefaultProgram": true }, "extends": [ @@ -16,10 +12,7 @@ "plugin:@angular-eslint/ng-cli-compat--formatting-add-on", "plugin:@angular-eslint/template/process-inline-templates" ], - "plugins": [ - "deprecation", - "@spartacus-eslint" - ], + "plugins": ["deprecation", "@typescript-eslint", "@nrwl/nx"], "rules": { "@angular-eslint/no-host-metadata-property": "off", "@typescript-eslint/no-empty-interface": "off", @@ -74,32 +67,48 @@ "id-blacklist": "off", "id-match": "off", "max-len": "off", - "linebreak-style": [ + "linebreak-style": ["error", "unix"], + "no-underscore-dangle": "off", + "@nrwl/nx/enforce-module-boundaries": [ "error", - "unix" - ], - "no-underscore-dangle": "off" + { + "allow": [], + "depConstraints": [ + { + "sourceTag": "*", + "onlyDependOnLibsWithTags": ["*"], + "notDependOnLibsWithTags": ["type:app"] + }, + { + "sourceTag": "type:feature", + "notDependOnLibsWithTags": ["type:integration"] + }, + { + "sourceTag": "type:ui", + "notDependOnLibsWithTags": ["type:feature"] + }, + { + "sourceTag": "scope:core", + "notDependOnLibsWithTags": ["type:ui", "type:feature"] + } + ] + } + ] } }, { - "files": [ - "*.html" - ], - "extends": [ - "plugin:@angular-eslint/template/recommended" - ], + "files": ["*.html"], + "extends": ["plugin:@angular-eslint/template/recommended"], "rules": { "@angular-eslint/template/no-negated-async": "off", "@angular-eslint/template/eqeqeq": "error" } }, { - "files": [ - "*.module.ts" - ], + "files": ["*.module.ts"], "rules": { - "@spartacus-eslint/use-default-provide-config": "error" + "@nrwl/nx/workspace/use-default-provide-config": "error" } } ] -} \ No newline at end of file +} diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8797760f796..c4e5d60827f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -48,7 +48,7 @@ # ================================================ # ASM # ================================================ -/feature-libs/asm/ @SAP/spartacus-codeowners @SAP/spartacus-iceman +/feature-libs/asm/ @SAP/spartacus-codeowners @SAP/spartacus-holidays # ================================================ # Product Configurator and CPQ integration @@ -60,8 +60,13 @@ # ================================================ /integration-libs/cds/ @SAP/spartacus-codeowners @SAP/spartacus-CDS +# ================================================ +# (CDC) +# ================================================ +/integration-libs/cdc/ @SAP/spartacus-codeowners @SAP/spartacus-CDC # ================================================ -# BOPIS Feature +# BOPIS # ================================================ /feature-libs/pickup-in-store/ @SAP/spartacus-codeowners @SAP/spartacus-colossus + diff --git a/.github/api-extractor-action/package-lock.json b/.github/api-extractor-action/package-lock.json index 8b6921f87f8..5a0f6880dfc 100644 --- a/.github/api-extractor-action/package-lock.json +++ b/.github/api-extractor-action/package-lock.json @@ -105,100 +105,71 @@ "integrity": "sha512-J8KuFqVPr3p6U8W93DOXlXW6zFvrQAJANdS+vw0YhusLIq+bszW8zmK2Fh1C2kDPX8FMvwIl1OUcFgvJoXLbAg==" }, "node_modules/@azure/abort-controller": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-1.0.1.tgz", - "integrity": "sha512-wP2Jw6uPp8DEDy0n4KNidvwzDjyVV2xnycEIq7nPzj1rHyb/r+t3OPeNT1INZePP2wy5ZqlwyuyOMTi0ePyY1A==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-1.1.0.tgz", + "integrity": "sha512-TrRLIoSQVzfAJX9H1JeFjzAoDGcoK1IYX1UImfceTZpsyYfWr09Ss1aHW1y5TrrR3iq6RZLBwJ3E24uwPhwahw==", "dependencies": { - "tslib": "^1.9.3" + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=12.0.0" } }, + "node_modules/@azure/abort-controller/node_modules/tslib": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + }, "node_modules/@azure/core-asynciterator-polyfill": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@azure/core-asynciterator-polyfill/-/core-asynciterator-polyfill-1.0.0.tgz", "integrity": "sha512-kmv8CGrPfN9SwMwrkiBK9VTQYxdFQEGe0BmQk+M8io56P9KNzpAxcWE/1fxJj7uouwN4kXF0BHW8DNlgx+wtCg==" }, "node_modules/@azure/core-auth": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@azure/core-auth/-/core-auth-1.1.3.tgz", - "integrity": "sha512-A4xigW0YZZpkj1zK7dKuzbBpGwnhEcRk6WWuIshdHC32raR3EQ1j6VA9XZqE+RFsUgH6OAmIK5BWIz+mZjnd6Q==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@azure/core-auth/-/core-auth-1.4.0.tgz", + "integrity": "sha512-HFrcTgmuSuukRf/EdPmqBrc5l6Q5Uu+2TbuhaKbgaCpP2TfAeiNaQPAadxO+CYBRHGUzIDteMAjFspFLDLnKVQ==", "dependencies": { "@azure/abort-controller": "^1.0.0", - "@azure/core-tracing": "1.0.0-preview.8", - "@opentelemetry/api": "^0.6.1", - "tslib": "^2.0.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/@azure/core-auth/node_modules/@azure/core-tracing": { - "version": "1.0.0-preview.8", - "resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.0.0-preview.8.tgz", - "integrity": "sha512-ZKUpCd7Dlyfn7bdc+/zC/sf0aRIaNQMDuSj2RhYRFe3p70hVAnYGp3TX4cnG2yoEALp/LTj/XnZGQ8Xzf6Ja/Q==", - "dependencies": { - "@opencensus/web-types": "0.0.7", - "@opentelemetry/api": "^0.6.1", - "tslib": "^1.10.0" - } - }, - "node_modules/@azure/core-auth/node_modules/@azure/core-tracing/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, - "node_modules/@azure/core-auth/node_modules/@opentelemetry/api": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-0.6.1.tgz", - "integrity": "sha512-wpufGZa7tTxw7eAsjXJtiyIQ42IWQdX9iUQp7ACJcKo1hCtuhLU+K2Nv1U6oRwT1oAlZTE6m4CgWKZBhOiau3Q==", - "dependencies": { - "@opentelemetry/context-base": "^0.6.1" + "tslib": "^2.2.0" }, "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/@azure/core-auth/node_modules/@opentelemetry/context-base": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/@opentelemetry/context-base/-/context-base-0.6.1.tgz", - "integrity": "sha512-5bHhlTBBq82ti3qPT15TRxkYTFPPQWbnkkQkmHPtqiS1XcTB69cEKd3Jm7Cfi/vkPoyxapmePE9tyA7EzLt8SQ==", - "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" } }, "node_modules/@azure/core-auth/node_modules/tslib": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", - "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" }, "node_modules/@azure/core-http": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-1.2.1.tgz", - "integrity": "sha512-vPHIQXjLVs4iin2BUaj7/sqIAfGq3MW1TLEc3yYKFNpi/sBQn2KI0g+Ow0EQYvAkkHhTHGArA7JKhcjsnJMGLw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-3.0.1.tgz", + "integrity": "sha512-A3x+um3cAPgQe42Lu7Iv/x8/fNjhL/nIoEfqFxfn30EyxK6zC13n+OUxzZBRC0IzQqssqIbt4INf5YG7lYYFtw==", "dependencies": { "@azure/abort-controller": "^1.0.0", - "@azure/core-auth": "^1.1.3", - "@azure/core-tracing": "1.0.0-preview.9", + "@azure/core-auth": "^1.3.0", + "@azure/core-tracing": "1.0.0-preview.13", + "@azure/core-util": "^1.1.1", "@azure/logger": "^1.0.0", - "@opentelemetry/api": "^0.10.2", "@types/node-fetch": "^2.5.0", - "@types/tunnel": "^0.0.1", - "form-data": "^3.0.0", - "node-fetch": "^2.6.0", + "@types/tunnel": "^0.0.3", + "form-data": "^4.0.0", + "node-fetch": "^2.6.7", "process": "^0.11.10", - "tough-cookie": "^4.0.0", - "tslib": "^2.0.0", + "tslib": "^2.2.0", "tunnel": "^0.0.6", "uuid": "^8.3.0", - "xml2js": "^0.4.19" + "xml2js": "^0.5.0" }, "engines": { - "node": ">=8.0.0" + "node": ">=14.0.0" } }, "node_modules/@azure/core-http/node_modules/form-data": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.0.tgz", - "integrity": "sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", @@ -208,23 +179,10 @@ "node": ">= 6" } }, - "node_modules/@azure/core-http/node_modules/tough-cookie": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.0.0.tgz", - "integrity": "sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg==", - "dependencies": { - "psl": "^1.1.33", - "punycode": "^2.1.1", - "universalify": "^0.1.2" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/@azure/core-http/node_modules/tslib": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", - "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" }, "node_modules/@azure/core-http/node_modules/uuid": { "version": "8.3.2", @@ -235,16 +193,24 @@ } }, "node_modules/@azure/core-lro": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@azure/core-lro/-/core-lro-1.0.2.tgz", - "integrity": "sha512-Yr0JD7GKryOmbcb5wHCQoQ4KCcH5QJWRNorofid+UvudLaxnbCfvKh/cUfQsGUqRjO9L/Bw4X7FP824DcHdMxw==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@azure/core-lro/-/core-lro-2.5.2.tgz", + "integrity": "sha512-tucUutPhBwCPu6v16KEFYML81npEL6gnT+iwewXvK5ZD55sr0/Vw2jfQETMiKVeARRrXHB2QQ3SpxxGi1zAUWg==", "dependencies": { "@azure/abort-controller": "^1.0.0", - "@azure/core-http": "^1.1.1", - "events": "^3.0.0", - "tslib": "^1.10.0" + "@azure/core-util": "^1.2.0", + "@azure/logger": "^1.0.0", + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=14.0.0" } }, + "node_modules/@azure/core-lro/node_modules/tslib": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + }, "node_modules/@azure/core-paging": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.1.3.tgz", @@ -257,68 +223,101 @@ } }, "node_modules/@azure/core-tracing": { - "version": "1.0.0-preview.9", - "resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.0.0-preview.9.tgz", - "integrity": "sha512-zczolCLJ5QG42AEPQ+Qg9SRYNUyB+yZ5dzof4YEc+dyWczO9G2sBqbAjLB7IqrsdHN2apkiB2oXeDKCsq48jug==", + "version": "1.0.0-preview.13", + "resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.0.0-preview.13.tgz", + "integrity": "sha512-KxDlhXyMlh2Jhj2ykX6vNEU0Vou4nHr025KoSEiz7cS3BNiHNaZcdECk/DmLkEB0as5T7b/TpRcehJ5yV6NeXQ==", "dependencies": { - "@opencensus/web-types": "0.0.7", - "@opentelemetry/api": "^0.10.2", - "tslib": "^2.0.0" + "@opentelemetry/api": "^1.0.1", + "tslib": "^2.2.0" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" } }, "node_modules/@azure/core-tracing/node_modules/tslib": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", - "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + }, + "node_modules/@azure/core-util": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@azure/core-util/-/core-util-1.3.0.tgz", + "integrity": "sha512-ANP0Er7R2KHHHjwmKzPF9wbd0gXvOX7yRRHeYL1eNd/OaNrMLyfZH/FQasHRVAf6rMXX+EAUpvYwLMFDHDI5Gw==", + "dependencies": { + "@azure/abort-controller": "^1.0.0", + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@azure/core-util/node_modules/tslib": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" }, "node_modules/@azure/logger": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@azure/logger/-/logger-1.0.0.tgz", - "integrity": "sha512-g2qLDgvmhyIxR3JVS8N67CyIOeFRKQlX/llxYJQr1OSGQqM3HTpVP8MjmjcEKbL/OIt2N9C9UFaNQuKOw1laOA==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@azure/logger/-/logger-1.0.4.tgz", + "integrity": "sha512-ustrPY8MryhloQj7OWGe+HrYx+aoiOxzbXTtgblbV3xwCqpzUK36phH3XNHQKj3EPonyFUuDTfR3qFhTEAuZEg==", "dependencies": { - "tslib": "^1.9.3" + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=14.0.0" } }, + "node_modules/@azure/logger/node_modules/tslib": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + }, "node_modules/@azure/ms-rest-js": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@azure/ms-rest-js/-/ms-rest-js-2.1.0.tgz", - "integrity": "sha512-4BXLVImYRt+jcUmEJ5LUWglI8RBNVQndY6IcyvQ4U8O4kIXdmlRz3cJdA/RpXf5rKT38KOoTO2T6Z1f6Z1HDBg==", + "version": "2.6.6", + "resolved": "https://registry.npmjs.org/@azure/ms-rest-js/-/ms-rest-js-2.6.6.tgz", + "integrity": "sha512-WYIda8VvrkZE68xHgOxUXvjThxNf1nnGPPe0rAljqK5HJHIZ12Pi3YhEDOn3Ge7UnwaaM3eFO0VtAy4nGVI27Q==", "dependencies": { - "@types/node-fetch": "^2.3.7", - "@types/tunnel": "0.0.1", + "@azure/core-auth": "^1.1.4", "abort-controller": "^3.0.0", "form-data": "^2.5.0", - "node-fetch": "^2.6.0", + "node-fetch": "^2.6.7", "tough-cookie": "^3.0.1", "tslib": "^1.10.0", "tunnel": "0.0.6", - "uuid": "^3.3.2", - "xml2js": "^0.4.19" + "uuid": "^8.3.2", + "xml2js": "^0.5.0" + } + }, + "node_modules/@azure/ms-rest-js/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" } }, "node_modules/@azure/storage-blob": { - "version": "12.3.0", - "resolved": "https://registry.npmjs.org/@azure/storage-blob/-/storage-blob-12.3.0.tgz", - "integrity": "sha512-nCySzNfm782pEW3sg9GHj1zE4gBeVVMeEBdWb4MefifrCwQQOoz5cXZTNFiUJAJqAO+/72r2UjZcUwHk/QmzkA==", + "version": "12.13.0", + "resolved": "https://registry.npmjs.org/@azure/storage-blob/-/storage-blob-12.13.0.tgz", + "integrity": "sha512-t3Q2lvBMJucgTjQcP5+hvEJMAsJSk0qmAnjDLie2td017IiduZbbC9BOcFfmwzR6y6cJdZOuewLCNFmEx9IrXA==", "dependencies": { "@azure/abort-controller": "^1.0.0", - "@azure/core-http": "^1.2.0", - "@azure/core-lro": "^1.0.2", + "@azure/core-http": "^3.0.0", + "@azure/core-lro": "^2.2.0", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.9", + "@azure/core-tracing": "1.0.0-preview.13", "@azure/logger": "^1.0.0", - "@opentelemetry/api": "^0.10.2", "events": "^3.0.0", - "tslib": "^2.0.0" + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=14.0.0" } }, "node_modules/@azure/storage-blob/node_modules/tslib": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", - "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" }, "node_modules/@octokit/auth-token": { "version": "2.4.4", @@ -439,29 +438,10 @@ "@types/node": ">= 8" } }, - "node_modules/@opencensus/web-types": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/@opencensus/web-types/-/web-types-0.0.7.tgz", - "integrity": "sha512-xB+w7ZDAu3YBzqH44rCmG9/RlrOmFuDPt/bpf17eJr8eZSrLt7nc7LnWdxM9Mmoj/YKMHpxRg28txu3TcpiL+g==", - "engines": { - "node": ">=6.0" - } - }, "node_modules/@opentelemetry/api": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-0.10.2.tgz", - "integrity": "sha512-GtpMGd6vkzDMYcpu2t9LlhEgMy/SzBwRnz48EejlRArYqZzqSzAsKmegUK7zHgl+EOIaK9mKHhnRaQu3qw20cA==", - "dependencies": { - "@opentelemetry/context-base": "^0.10.2" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/@opentelemetry/context-base": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/@opentelemetry/context-base/-/context-base-0.10.2.tgz", - "integrity": "sha512-hZNKjKOYsckoOEgBziGMnBcX0M7EtstnCmwz5jZUOUYwlZ+/xxX6z3jPu1XVO2Jivk0eLfuP9GP+vFD49CMetw==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.4.1.tgz", + "integrity": "sha512-O2yRJce1GOc6PAy3QxFM4NzFiWzvScDC1/5ihYBL6BUEVdq0XMWN01sppE+H6bBXbaFYipjwFLEWLg5PaSOThA==", "engines": { "node": ">=8.0.0" } @@ -472,18 +452,18 @@ "integrity": "sha512-jiE3QIxJ8JLNcb1Ps6rDbysDhN4xa8DJJvuC9prr6w+1tIh+QAbYyNF3tyiZNLDBIuBCf4KEcV2UvQm/V60xfA==" }, "node_modules/@types/node-fetch": { - "version": "2.5.7", - "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.5.7.tgz", - "integrity": "sha512-o2WVNf5UhWRkxlf6eq+jMZDu7kjgpgJfl4xVNlvryc95O/6F2ld8ztKX+qu+Rjyet93WAWm5LjeX9H5FGkODvw==", + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.3.tgz", + "integrity": "sha512-ETTL1mOEdq/sxUtgtOhKjyB2Irra4cjxksvcMUR5Zr4n+PxVhsCD9WS46oPbHL3et9Zde7CNRr+WUNlcHvsX+w==", "dependencies": { "@types/node": "*", "form-data": "^3.0.0" } }, "node_modules/@types/node-fetch/node_modules/form-data": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.0.tgz", - "integrity": "sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", + "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", @@ -494,9 +474,9 @@ } }, "node_modules/@types/tunnel": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@types/tunnel/-/tunnel-0.0.1.tgz", - "integrity": "sha512-AOqu6bQu5MSWwYvehMXLukFHnupHrpZ8nvgae5Ggie9UwzDR1CCwoXgSSWNZJuyOlCdfdsWMA5F2LlmvyoTv8A==", + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/@types/tunnel/-/tunnel-0.0.3.tgz", + "integrity": "sha512-sOUTGn6h1SfQ+gbgqC364jLFBw2lnFqkgF3q0WovEHRLMrVD1sd5aufqi/aJObLekJO+Aq5z646U4Oxy6shXMA==", "dependencies": { "@types/node": "*" } @@ -590,9 +570,9 @@ } }, "node_modules/events": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.2.0.tgz", - "integrity": "sha512-/46HWwbfCX2xTawVfkKLGxMifJYQBWMwY1mjywRtb4c9x8l5NP3KoJtnIOiL1hfdRkIuYhETxQlo62IF8tcnlg==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", "engines": { "node": ">=0.8.x" } @@ -694,7 +674,7 @@ "node_modules/process": { "version": "0.11.10", "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI= sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", "engines": { "node": ">= 0.6.0" } @@ -774,14 +754,6 @@ "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==" }, - "node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "engines": { - "node": ">= 4.0.0" - } - }, "node_modules/uuid": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", @@ -811,9 +783,9 @@ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, "node_modules/xml2js": { - "version": "0.4.23", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", - "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz", + "integrity": "sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==", "dependencies": { "sax": ">=0.6.0", "xmlbuilder": "~11.0.0" @@ -914,11 +886,18 @@ "integrity": "sha512-J8KuFqVPr3p6U8W93DOXlXW6zFvrQAJANdS+vw0YhusLIq+bszW8zmK2Fh1C2kDPX8FMvwIl1OUcFgvJoXLbAg==" }, "@azure/abort-controller": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-1.0.1.tgz", - "integrity": "sha512-wP2Jw6uPp8DEDy0n4KNidvwzDjyVV2xnycEIq7nPzj1rHyb/r+t3OPeNT1INZePP2wy5ZqlwyuyOMTi0ePyY1A==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-1.1.0.tgz", + "integrity": "sha512-TrRLIoSQVzfAJX9H1JeFjzAoDGcoK1IYX1UImfceTZpsyYfWr09Ss1aHW1y5TrrR3iq6RZLBwJ3E24uwPhwahw==", "requires": { - "tslib": "^1.9.3" + "tslib": "^2.2.0" + }, + "dependencies": { + "tslib": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + } } }, "@azure/core-asynciterator-polyfill": { @@ -927,99 +906,56 @@ "integrity": "sha512-kmv8CGrPfN9SwMwrkiBK9VTQYxdFQEGe0BmQk+M8io56P9KNzpAxcWE/1fxJj7uouwN4kXF0BHW8DNlgx+wtCg==" }, "@azure/core-auth": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@azure/core-auth/-/core-auth-1.1.3.tgz", - "integrity": "sha512-A4xigW0YZZpkj1zK7dKuzbBpGwnhEcRk6WWuIshdHC32raR3EQ1j6VA9XZqE+RFsUgH6OAmIK5BWIz+mZjnd6Q==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@azure/core-auth/-/core-auth-1.4.0.tgz", + "integrity": "sha512-HFrcTgmuSuukRf/EdPmqBrc5l6Q5Uu+2TbuhaKbgaCpP2TfAeiNaQPAadxO+CYBRHGUzIDteMAjFspFLDLnKVQ==", "requires": { "@azure/abort-controller": "^1.0.0", - "@azure/core-tracing": "1.0.0-preview.8", - "@opentelemetry/api": "^0.6.1", - "tslib": "^2.0.0" + "tslib": "^2.2.0" }, "dependencies": { - "@azure/core-tracing": { - "version": "1.0.0-preview.8", - "resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.0.0-preview.8.tgz", - "integrity": "sha512-ZKUpCd7Dlyfn7bdc+/zC/sf0aRIaNQMDuSj2RhYRFe3p70hVAnYGp3TX4cnG2yoEALp/LTj/XnZGQ8Xzf6Ja/Q==", - "requires": { - "@opencensus/web-types": "0.0.7", - "@opentelemetry/api": "^0.6.1", - "tslib": "^1.10.0" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - } - } - }, - "@opentelemetry/api": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-0.6.1.tgz", - "integrity": "sha512-wpufGZa7tTxw7eAsjXJtiyIQ42IWQdX9iUQp7ACJcKo1hCtuhLU+K2Nv1U6oRwT1oAlZTE6m4CgWKZBhOiau3Q==", - "requires": { - "@opentelemetry/context-base": "^0.6.1" - } - }, - "@opentelemetry/context-base": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/@opentelemetry/context-base/-/context-base-0.6.1.tgz", - "integrity": "sha512-5bHhlTBBq82ti3qPT15TRxkYTFPPQWbnkkQkmHPtqiS1XcTB69cEKd3Jm7Cfi/vkPoyxapmePE9tyA7EzLt8SQ==" - }, "tslib": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", - "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" } } }, "@azure/core-http": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-1.2.1.tgz", - "integrity": "sha512-vPHIQXjLVs4iin2BUaj7/sqIAfGq3MW1TLEc3yYKFNpi/sBQn2KI0g+Ow0EQYvAkkHhTHGArA7JKhcjsnJMGLw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-3.0.1.tgz", + "integrity": "sha512-A3x+um3cAPgQe42Lu7Iv/x8/fNjhL/nIoEfqFxfn30EyxK6zC13n+OUxzZBRC0IzQqssqIbt4INf5YG7lYYFtw==", "requires": { "@azure/abort-controller": "^1.0.0", - "@azure/core-auth": "^1.1.3", - "@azure/core-tracing": "1.0.0-preview.9", + "@azure/core-auth": "^1.3.0", + "@azure/core-tracing": "1.0.0-preview.13", + "@azure/core-util": "^1.1.1", "@azure/logger": "^1.0.0", - "@opentelemetry/api": "^0.10.2", "@types/node-fetch": "^2.5.0", - "@types/tunnel": "^0.0.1", - "form-data": "^3.0.0", - "node-fetch": "^2.6.0", + "@types/tunnel": "^0.0.3", + "form-data": "^4.0.0", + "node-fetch": "^2.6.7", "process": "^0.11.10", - "tough-cookie": "^4.0.0", - "tslib": "^2.0.0", + "tslib": "^2.2.0", "tunnel": "^0.0.6", "uuid": "^8.3.0", - "xml2js": "^0.4.19" + "xml2js": "^0.5.0" }, "dependencies": { "form-data": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.0.tgz", - "integrity": "sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", "requires": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "mime-types": "^2.1.12" } }, - "tough-cookie": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.0.0.tgz", - "integrity": "sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg==", - "requires": { - "psl": "^1.1.33", - "punycode": "^2.1.1", - "universalify": "^0.1.2" - } - }, "tslib": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", - "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" }, "uuid": { "version": "8.3.2", @@ -1029,14 +965,21 @@ } }, "@azure/core-lro": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@azure/core-lro/-/core-lro-1.0.2.tgz", - "integrity": "sha512-Yr0JD7GKryOmbcb5wHCQoQ4KCcH5QJWRNorofid+UvudLaxnbCfvKh/cUfQsGUqRjO9L/Bw4X7FP824DcHdMxw==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@azure/core-lro/-/core-lro-2.5.2.tgz", + "integrity": "sha512-tucUutPhBwCPu6v16KEFYML81npEL6gnT+iwewXvK5ZD55sr0/Vw2jfQETMiKVeARRrXHB2QQ3SpxxGi1zAUWg==", "requires": { "@azure/abort-controller": "^1.0.0", - "@azure/core-http": "^1.1.1", - "events": "^3.0.0", - "tslib": "^1.10.0" + "@azure/core-util": "^1.2.0", + "@azure/logger": "^1.0.0", + "tslib": "^2.2.0" + }, + "dependencies": { + "tslib": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + } } }, "@azure/core-paging": { @@ -1048,67 +991,94 @@ } }, "@azure/core-tracing": { - "version": "1.0.0-preview.9", - "resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.0.0-preview.9.tgz", - "integrity": "sha512-zczolCLJ5QG42AEPQ+Qg9SRYNUyB+yZ5dzof4YEc+dyWczO9G2sBqbAjLB7IqrsdHN2apkiB2oXeDKCsq48jug==", + "version": "1.0.0-preview.13", + "resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.0.0-preview.13.tgz", + "integrity": "sha512-KxDlhXyMlh2Jhj2ykX6vNEU0Vou4nHr025KoSEiz7cS3BNiHNaZcdECk/DmLkEB0as5T7b/TpRcehJ5yV6NeXQ==", "requires": { - "@opencensus/web-types": "0.0.7", - "@opentelemetry/api": "^0.10.2", - "tslib": "^2.0.0" + "@opentelemetry/api": "^1.0.1", + "tslib": "^2.2.0" }, "dependencies": { "tslib": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", - "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + } + } + }, + "@azure/core-util": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@azure/core-util/-/core-util-1.3.0.tgz", + "integrity": "sha512-ANP0Er7R2KHHHjwmKzPF9wbd0gXvOX7yRRHeYL1eNd/OaNrMLyfZH/FQasHRVAf6rMXX+EAUpvYwLMFDHDI5Gw==", + "requires": { + "@azure/abort-controller": "^1.0.0", + "tslib": "^2.2.0" + }, + "dependencies": { + "tslib": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" } } }, "@azure/logger": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@azure/logger/-/logger-1.0.0.tgz", - "integrity": "sha512-g2qLDgvmhyIxR3JVS8N67CyIOeFRKQlX/llxYJQr1OSGQqM3HTpVP8MjmjcEKbL/OIt2N9C9UFaNQuKOw1laOA==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@azure/logger/-/logger-1.0.4.tgz", + "integrity": "sha512-ustrPY8MryhloQj7OWGe+HrYx+aoiOxzbXTtgblbV3xwCqpzUK36phH3XNHQKj3EPonyFUuDTfR3qFhTEAuZEg==", "requires": { - "tslib": "^1.9.3" + "tslib": "^2.2.0" + }, + "dependencies": { + "tslib": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + } } }, "@azure/ms-rest-js": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@azure/ms-rest-js/-/ms-rest-js-2.1.0.tgz", - "integrity": "sha512-4BXLVImYRt+jcUmEJ5LUWglI8RBNVQndY6IcyvQ4U8O4kIXdmlRz3cJdA/RpXf5rKT38KOoTO2T6Z1f6Z1HDBg==", + "version": "2.6.6", + "resolved": "https://registry.npmjs.org/@azure/ms-rest-js/-/ms-rest-js-2.6.6.tgz", + "integrity": "sha512-WYIda8VvrkZE68xHgOxUXvjThxNf1nnGPPe0rAljqK5HJHIZ12Pi3YhEDOn3Ge7UnwaaM3eFO0VtAy4nGVI27Q==", "requires": { - "@types/node-fetch": "^2.3.7", - "@types/tunnel": "0.0.1", + "@azure/core-auth": "^1.1.4", "abort-controller": "^3.0.0", "form-data": "^2.5.0", - "node-fetch": "^2.6.0", + "node-fetch": "^2.6.7", "tough-cookie": "^3.0.1", "tslib": "^1.10.0", "tunnel": "0.0.6", - "uuid": "^3.3.2", - "xml2js": "^0.4.19" + "uuid": "^8.3.2", + "xml2js": "^0.5.0" + }, + "dependencies": { + "uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" + } } }, "@azure/storage-blob": { - "version": "12.3.0", - "resolved": "https://registry.npmjs.org/@azure/storage-blob/-/storage-blob-12.3.0.tgz", - "integrity": "sha512-nCySzNfm782pEW3sg9GHj1zE4gBeVVMeEBdWb4MefifrCwQQOoz5cXZTNFiUJAJqAO+/72r2UjZcUwHk/QmzkA==", + "version": "12.13.0", + "resolved": "https://registry.npmjs.org/@azure/storage-blob/-/storage-blob-12.13.0.tgz", + "integrity": "sha512-t3Q2lvBMJucgTjQcP5+hvEJMAsJSk0qmAnjDLie2td017IiduZbbC9BOcFfmwzR6y6cJdZOuewLCNFmEx9IrXA==", "requires": { "@azure/abort-controller": "^1.0.0", - "@azure/core-http": "^1.2.0", - "@azure/core-lro": "^1.0.2", + "@azure/core-http": "^3.0.0", + "@azure/core-lro": "^2.2.0", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.9", + "@azure/core-tracing": "1.0.0-preview.13", "@azure/logger": "^1.0.0", - "@opentelemetry/api": "^0.10.2", "events": "^3.0.0", - "tslib": "^2.0.0" + "tslib": "^2.2.0" }, "dependencies": { "tslib": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", - "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" } } }, @@ -1229,23 +1199,10 @@ "@types/node": ">= 8" } }, - "@opencensus/web-types": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/@opencensus/web-types/-/web-types-0.0.7.tgz", - "integrity": "sha512-xB+w7ZDAu3YBzqH44rCmG9/RlrOmFuDPt/bpf17eJr8eZSrLt7nc7LnWdxM9Mmoj/YKMHpxRg28txu3TcpiL+g==" - }, "@opentelemetry/api": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-0.10.2.tgz", - "integrity": "sha512-GtpMGd6vkzDMYcpu2t9LlhEgMy/SzBwRnz48EejlRArYqZzqSzAsKmegUK7zHgl+EOIaK9mKHhnRaQu3qw20cA==", - "requires": { - "@opentelemetry/context-base": "^0.10.2" - } - }, - "@opentelemetry/context-base": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/@opentelemetry/context-base/-/context-base-0.10.2.tgz", - "integrity": "sha512-hZNKjKOYsckoOEgBziGMnBcX0M7EtstnCmwz5jZUOUYwlZ+/xxX6z3jPu1XVO2Jivk0eLfuP9GP+vFD49CMetw==" + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.4.1.tgz", + "integrity": "sha512-O2yRJce1GOc6PAy3QxFM4NzFiWzvScDC1/5ihYBL6BUEVdq0XMWN01sppE+H6bBXbaFYipjwFLEWLg5PaSOThA==" }, "@types/node": { "version": "14.11.2", @@ -1253,18 +1210,18 @@ "integrity": "sha512-jiE3QIxJ8JLNcb1Ps6rDbysDhN4xa8DJJvuC9prr6w+1tIh+QAbYyNF3tyiZNLDBIuBCf4KEcV2UvQm/V60xfA==" }, "@types/node-fetch": { - "version": "2.5.7", - "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.5.7.tgz", - "integrity": "sha512-o2WVNf5UhWRkxlf6eq+jMZDu7kjgpgJfl4xVNlvryc95O/6F2ld8ztKX+qu+Rjyet93WAWm5LjeX9H5FGkODvw==", + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.3.tgz", + "integrity": "sha512-ETTL1mOEdq/sxUtgtOhKjyB2Irra4cjxksvcMUR5Zr4n+PxVhsCD9WS46oPbHL3et9Zde7CNRr+WUNlcHvsX+w==", "requires": { "@types/node": "*", "form-data": "^3.0.0" }, "dependencies": { "form-data": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.0.tgz", - "integrity": "sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", + "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", "requires": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", @@ -1274,9 +1231,9 @@ } }, "@types/tunnel": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@types/tunnel/-/tunnel-0.0.1.tgz", - "integrity": "sha512-AOqu6bQu5MSWwYvehMXLukFHnupHrpZ8nvgae5Ggie9UwzDR1CCwoXgSSWNZJuyOlCdfdsWMA5F2LlmvyoTv8A==", + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/@types/tunnel/-/tunnel-0.0.3.tgz", + "integrity": "sha512-sOUTGn6h1SfQ+gbgqC364jLFBw2lnFqkgF3q0WovEHRLMrVD1sd5aufqi/aJObLekJO+Aq5z646U4Oxy6shXMA==", "requires": { "@types/node": "*" } @@ -1355,9 +1312,9 @@ "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" }, "events": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.2.0.tgz", - "integrity": "sha512-/46HWwbfCX2xTawVfkKLGxMifJYQBWMwY1mjywRtb4c9x8l5NP3KoJtnIOiL1hfdRkIuYhETxQlo62IF8tcnlg==" + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==" }, "form-data": { "version": "2.5.1", @@ -1424,7 +1381,7 @@ "process": { "version": "0.11.10", "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI= sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==" + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==" }, "psl": { "version": "1.8.0", @@ -1482,11 +1439,6 @@ "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==" }, - "universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" - }, "uuid": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", @@ -1512,9 +1464,9 @@ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, "xml2js": { - "version": "0.4.23", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", - "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz", + "integrity": "sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==", "requires": { "sax": ">=0.6.0", "xmlbuilder": "~11.0.0" diff --git a/.github/cache-builded-libs/package-lock.json b/.github/cache-builded-libs/package-lock.json index a93b684364a..5d9826d0f42 100644 --- a/.github/cache-builded-libs/package-lock.json +++ b/.github/cache-builded-libs/package-lock.json @@ -3,754 +3,6 @@ "version": "1.0.0", "lockfileVersion": 1, "requires": true, - "packages": { - "": { - "name": "cache-builded-libs", - "version": "1.0.0", - "license": "ISC", - "dependencies": { - "@actions/cache": "^3.1.2", - "@actions/core": "^1.10.0", - "@actions/exec": "^1.1.1", - "@actions/github": "^5.1.1" - }, - "devDependencies": { - "typescript": "^4.1.3" - } - }, - "node_modules/@actions/cache": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@actions/cache/-/cache-3.1.2.tgz", - "integrity": "sha512-3XeKcXIonfIbqvW7gPm/VLOhv1RHQ1dtTgSBCH6OUhCgSTii9bEVgu0PIms7UbLnXeMCKFzECfpbud8fJEvBbQ==", - "dependencies": { - "@actions/core": "^1.10.0", - "@actions/exec": "^1.0.1", - "@actions/glob": "^0.1.0", - "@actions/http-client": "^2.0.1", - "@actions/io": "^1.0.1", - "@azure/abort-controller": "^1.1.0", - "@azure/ms-rest-js": "^2.6.0", - "@azure/storage-blob": "^12.8.0", - "semver": "^6.1.0", - "uuid": "^3.3.3" - } - }, - "node_modules/@actions/core": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.10.0.tgz", - "integrity": "sha512-2aZDDa3zrrZbP5ZYg159sNoLRb61nQ7awl5pSvIq5Qpj81vwDzdMRKzkWJGJuwVvWpvZKx7vspJALyvaaIQyug==", - "dependencies": { - "@actions/http-client": "^2.0.1", - "uuid": "^8.3.2" - } - }, - "node_modules/@actions/core/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/@actions/exec": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.1.tgz", - "integrity": "sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==", - "dependencies": { - "@actions/io": "^1.0.1" - } - }, - "node_modules/@actions/github": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@actions/github/-/github-5.1.1.tgz", - "integrity": "sha512-Nk59rMDoJaV+mHCOJPXuvB1zIbomlKS0dmSIqPGxd0enAXBnOfn4VWF+CGtRCwXZG9Epa54tZA7VIRlJDS8A6g==", - "dependencies": { - "@actions/http-client": "^2.0.1", - "@octokit/core": "^3.6.0", - "@octokit/plugin-paginate-rest": "^2.17.0", - "@octokit/plugin-rest-endpoint-methods": "^5.13.0" - } - }, - "node_modules/@actions/glob": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/@actions/glob/-/glob-0.1.2.tgz", - "integrity": "sha512-SclLR7Ia5sEqjkJTPs7Sd86maMDw43p769YxBOxvPvEWuPEhpAnBsQfENOpXjFYMmhCqd127bmf+YdvJqVqR4A==", - "dependencies": { - "@actions/core": "^1.2.6", - "minimatch": "^3.0.4" - } - }, - "node_modules/@actions/http-client": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.0.1.tgz", - "integrity": "sha512-PIXiMVtz6VvyaRsGY268qvj57hXQEpsYogYOu2nrQhlf+XCGmZstmuZBbAybUl1nQGnvS1k1eEsQ69ZoD7xlSw==", - "dependencies": { - "tunnel": "^0.0.6" - } - }, - "node_modules/@actions/io": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.2.tgz", - "integrity": "sha512-d+RwPlMp+2qmBfeLYPLXuSRykDIFEwdTA0MMxzS9kh4kvP1ftrc/9fzy6pX6qAjthdXruHQ6/6kjT/DNo5ALuw==" - }, - "node_modules/@azure/abort-controller": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-1.1.0.tgz", - "integrity": "sha512-TrRLIoSQVzfAJX9H1JeFjzAoDGcoK1IYX1UImfceTZpsyYfWr09Ss1aHW1y5TrrR3iq6RZLBwJ3E24uwPhwahw==", - "dependencies": { - "tslib": "^2.2.0" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/@azure/core-auth": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@azure/core-auth/-/core-auth-1.4.0.tgz", - "integrity": "sha512-HFrcTgmuSuukRf/EdPmqBrc5l6Q5Uu+2TbuhaKbgaCpP2TfAeiNaQPAadxO+CYBRHGUzIDteMAjFspFLDLnKVQ==", - "dependencies": { - "@azure/abort-controller": "^1.0.0", - "tslib": "^2.2.0" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/@azure/core-http": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-2.3.1.tgz", - "integrity": "sha512-cur03BUwV0Tbv81bQBOLafFB02B6G++K6F2O3IMl8pSE2QlXm3cu11bfyBNlDUKi5U+xnB3GC63ae3athhkx6Q==", - "dependencies": { - "@azure/abort-controller": "^1.0.0", - "@azure/core-auth": "^1.3.0", - "@azure/core-tracing": "1.0.0-preview.13", - "@azure/core-util": "^1.1.1", - "@azure/logger": "^1.0.0", - "@types/node-fetch": "^2.5.0", - "@types/tunnel": "^0.0.3", - "form-data": "^4.0.0", - "node-fetch": "^2.6.7", - "process": "^0.11.10", - "tough-cookie": "^4.0.0", - "tslib": "^2.2.0", - "tunnel": "^0.0.6", - "uuid": "^8.3.0", - "xml2js": "^0.4.19" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@azure/core-http/node_modules/form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/@azure/core-http/node_modules/tough-cookie": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.2.tgz", - "integrity": "sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ==", - "dependencies": { - "psl": "^1.1.33", - "punycode": "^2.1.1", - "universalify": "^0.2.0", - "url-parse": "^1.5.3" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@azure/core-http/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/@azure/core-lro": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@azure/core-lro/-/core-lro-2.5.0.tgz", - "integrity": "sha512-Vsd5Sl04RG/p5ui/p0dAFMov5I/W4dmRjOrtWGXVs4vY/hNMPefiFH7cZEOr+1u0XrBKkpvt634IyUUD9bVRuQ==", - "dependencies": { - "@azure/abort-controller": "^1.0.0", - "@azure/logger": "^1.0.0", - "tslib": "^2.2.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@azure/core-paging": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.4.0.tgz", - "integrity": "sha512-tabFtZTg8D9XqZKEfNUOGh63SuYeOxmvH4GDcOJN+R1bZWZ1FZskctgY9Pmuwzhn+0Xvq9rmimK9hsvtLkeBsw==", - "dependencies": { - "tslib": "^2.2.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@azure/core-tracing": { - "version": "1.0.0-preview.13", - "resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.0.0-preview.13.tgz", - "integrity": "sha512-KxDlhXyMlh2Jhj2ykX6vNEU0Vou4nHr025KoSEiz7cS3BNiHNaZcdECk/DmLkEB0as5T7b/TpRcehJ5yV6NeXQ==", - "dependencies": { - "@opentelemetry/api": "^1.0.1", - "tslib": "^2.2.0" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/@azure/core-util": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@azure/core-util/-/core-util-1.1.1.tgz", - "integrity": "sha512-A4TBYVQCtHOigFb2ETiiKFDocBoI1Zk2Ui1KpI42aJSIDexF7DHQFpnjonltXAIU/ceH+1fsZAWWgvX6/AKzog==", - "dependencies": { - "@azure/abort-controller": "^1.0.0", - "tslib": "^2.2.0" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/@azure/logger": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@azure/logger/-/logger-1.0.3.tgz", - "integrity": "sha512-aK4s3Xxjrx3daZr3VylxejK3vG5ExXck5WOHDJ8in/k9AqlfIyFMMT1uG7u8mNjX+QRILTIn0/Xgschfh/dQ9g==", - "dependencies": { - "tslib": "^2.2.0" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/@azure/ms-rest-js": { - "version": "2.6.4", - "resolved": "https://registry.npmjs.org/@azure/ms-rest-js/-/ms-rest-js-2.6.4.tgz", - "integrity": "sha512-2sbOpGhlBfv9itWdF7Qlk0CmoQCARxe5unwjNOprU7OdgEgabQncZ35L5u1A+zgdkVtNYF9Eo6XAhXzTweIhag==", - "dependencies": { - "@azure/core-auth": "^1.1.4", - "abort-controller": "^3.0.0", - "form-data": "^2.5.0", - "node-fetch": "^2.6.7", - "tough-cookie": "^3.0.1", - "tslib": "^1.10.0", - "tunnel": "0.0.6", - "uuid": "^8.3.2", - "xml2js": "^0.4.19" - } - }, - "node_modules/@azure/ms-rest-js/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, - "node_modules/@azure/ms-rest-js/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/@azure/storage-blob": { - "version": "12.12.0", - "resolved": "https://registry.npmjs.org/@azure/storage-blob/-/storage-blob-12.12.0.tgz", - "integrity": "sha512-o/Mf6lkyYG/eBW4/hXB9864RxVNmAkcKHjsGR6Inlp5hupa3exjSyH2KjO3tLO//YGA+tS+17hM2bxRl9Sn16g==", - "dependencies": { - "@azure/abort-controller": "^1.0.0", - "@azure/core-http": "^2.0.0", - "@azure/core-lro": "^2.2.0", - "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.13", - "@azure/logger": "^1.0.0", - "events": "^3.0.0", - "tslib": "^2.2.0" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/@octokit/auth-token": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.5.0.tgz", - "integrity": "sha512-r5FVUJCOLl19AxiuZD2VRZ/ORjp/4IN98Of6YJoJOkY75CIBuYfmiNHGrDwXr+aLGG55igl9QrxX3hbiXlLb+g==", - "dependencies": { - "@octokit/types": "^6.0.3" - } - }, - "node_modules/@octokit/core": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.6.0.tgz", - "integrity": "sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q==", - "dependencies": { - "@octokit/auth-token": "^2.4.4", - "@octokit/graphql": "^4.5.8", - "@octokit/request": "^5.6.3", - "@octokit/request-error": "^2.0.5", - "@octokit/types": "^6.0.3", - "before-after-hook": "^2.2.0", - "universal-user-agent": "^6.0.0" - } - }, - "node_modules/@octokit/endpoint": { - "version": "6.0.12", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz", - "integrity": "sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA==", - "dependencies": { - "@octokit/types": "^6.0.3", - "is-plain-object": "^5.0.0", - "universal-user-agent": "^6.0.0" - } - }, - "node_modules/@octokit/graphql": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.8.0.tgz", - "integrity": "sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg==", - "dependencies": { - "@octokit/request": "^5.6.0", - "@octokit/types": "^6.0.3", - "universal-user-agent": "^6.0.0" - } - }, - "node_modules/@octokit/openapi-types": { - "version": "12.11.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.11.0.tgz", - "integrity": "sha512-VsXyi8peyRq9PqIz/tpqiL2w3w80OgVMwBHltTml3LmVvXiphgeqmY9mvBw9Wu7e0QWk/fqD37ux8yP5uVekyQ==" - }, - "node_modules/@octokit/plugin-paginate-rest": { - "version": "2.21.3", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.21.3.tgz", - "integrity": "sha512-aCZTEf0y2h3OLbrgKkrfFdjRL6eSOo8komneVQJnYecAxIej7Bafor2xhuDJOIFau4pk0i/P28/XgtbyPF0ZHw==", - "dependencies": { - "@octokit/types": "^6.40.0" - }, - "peerDependencies": { - "@octokit/core": ">=2" - } - }, - "node_modules/@octokit/plugin-rest-endpoint-methods": { - "version": "5.16.2", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.16.2.tgz", - "integrity": "sha512-8QFz29Fg5jDuTPXVtey05BLm7OB+M8fnvE64RNegzX7U+5NUXcOcnpTIK0YfSHBg8gYd0oxIq3IZTe9SfPZiRw==", - "dependencies": { - "@octokit/types": "^6.39.0", - "deprecation": "^2.3.1" - }, - "peerDependencies": { - "@octokit/core": ">=3" - } - }, - "node_modules/@octokit/request": { - "version": "5.6.3", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.3.tgz", - "integrity": "sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A==", - "dependencies": { - "@octokit/endpoint": "^6.0.1", - "@octokit/request-error": "^2.1.0", - "@octokit/types": "^6.16.1", - "is-plain-object": "^5.0.0", - "node-fetch": "^2.6.7", - "universal-user-agent": "^6.0.0" - } - }, - "node_modules/@octokit/request-error": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz", - "integrity": "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==", - "dependencies": { - "@octokit/types": "^6.0.3", - "deprecation": "^2.0.0", - "once": "^1.4.0" - } - }, - "node_modules/@octokit/types": { - "version": "6.41.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.41.0.tgz", - "integrity": "sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg==", - "dependencies": { - "@octokit/openapi-types": "^12.11.0" - } - }, - "node_modules/@opentelemetry/api": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.4.0.tgz", - "integrity": "sha512-IgMK9i3sFGNUqPMbjABm0G26g0QCKCUBfglhQ7rQq6WcxbKfEHRcmwsoER4hZcuYqJgkYn2OeuoJIv7Jsftp7g==", - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/@types/node": { - "version": "18.11.18", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.18.tgz", - "integrity": "sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA==" - }, - "node_modules/@types/node-fetch": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.2.tgz", - "integrity": "sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A==", - "dependencies": { - "@types/node": "*", - "form-data": "^3.0.0" - } - }, - "node_modules/@types/node-fetch/node_modules/form-data": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", - "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/@types/tunnel": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/@types/tunnel/-/tunnel-0.0.3.tgz", - "integrity": "sha512-sOUTGn6h1SfQ+gbgqC364jLFBw2lnFqkgF3q0WovEHRLMrVD1sd5aufqi/aJObLekJO+Aq5z646U4Oxy6shXMA==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "dependencies": { - "event-target-shim": "^5.0.0" - }, - "engines": { - "node": ">=6.5" - } - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, - "node_modules/before-after-hook": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", - "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==" - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" - }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/deprecation": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", - "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" - }, - "node_modules/event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", - "engines": { - "node": ">=0.8.x" - } - }, - "node_modules/form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 0.12" - } - }, - "node_modules/ip-regex": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz", - "integrity": "sha512-58yWmlHpp7VYfcdTwMTvwMmqx/Elfxjd9RXTDyMsbL7lLWmhMylLEqiYVLKuLzOZqVgiWXD9MfR62Vv89VRxkw==", - "engines": { - "node": ">=4" - } - }, - "node_modules/is-plain-object": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", - "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/node-fetch": { - "version": "2.6.8", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.8.tgz", - "integrity": "sha512-RZ6dBYuj8dRSfxpUSu+NsdF1dpPpluJxwOp+6IoDp/sH2QNDSvurYsAa+F1WxY2RjA1iP93xhcsUoYbF2XBqVg==", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/process": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", - "engines": { - "node": ">= 0.6.0" - } - }, - "node_modules/psl": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", - "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==" - }, - "node_modules/punycode": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.2.0.tgz", - "integrity": "sha512-LN6QV1IJ9ZhxWTNdktaPClrNfp8xdSAYS0Zk2ddX7XsXZAxckMHPCBcHRo0cTcEIgYPRiGEkmji3Idkh2yFtYw==", - "engines": { - "node": ">=6" - } - }, - "node_modules/querystringify": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", - "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==" - }, - "node_modules/requires-port": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", - "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==" - }, - "node_modules/sax": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", - "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" - }, - "node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/tough-cookie": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-3.0.1.tgz", - "integrity": "sha512-yQyJ0u4pZsv9D4clxO69OEjLWYw+jbgspjTue4lTQZLfV0c5l1VmK2y1JK8E9ahdpltPOaAThPcp5nKPUgSnsg==", - "dependencies": { - "ip-regex": "^2.1.0", - "psl": "^1.1.28", - "punycode": "^2.1.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" - }, - "node_modules/tslib": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", - "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==" - }, - "node_modules/tunnel": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", - "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", - "engines": { - "node": ">=0.6.11 <=0.7.0 || >=0.7.3" - } - }, - "node_modules/typescript": { - "version": "4.9.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.4.tgz", - "integrity": "sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==", - "dev": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, - "node_modules/universal-user-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", - "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==" - }, - "node_modules/universalify": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz", - "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/url-parse": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", - "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", - "dependencies": { - "querystringify": "^2.1.1", - "requires-port": "^1.0.0" - } - }, - "node_modules/uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", - "bin": { - "uuid": "bin/uuid" - } - }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" - }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" - }, - "node_modules/xml2js": { - "version": "0.4.23", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", - "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", - "dependencies": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/xmlbuilder": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", - "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", - "engines": { - "node": ">=4.0" - } - } - }, "dependencies": { "@actions/cache": { "version": "3.1.2", @@ -843,56 +95,6 @@ "tslib": "^2.2.0" } }, - "@azure/core-http": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-2.3.1.tgz", - "integrity": "sha512-cur03BUwV0Tbv81bQBOLafFB02B6G++K6F2O3IMl8pSE2QlXm3cu11bfyBNlDUKi5U+xnB3GC63ae3athhkx6Q==", - "requires": { - "@azure/abort-controller": "^1.0.0", - "@azure/core-auth": "^1.3.0", - "@azure/core-tracing": "1.0.0-preview.13", - "@azure/core-util": "^1.1.1", - "@azure/logger": "^1.0.0", - "@types/node-fetch": "^2.5.0", - "@types/tunnel": "^0.0.3", - "form-data": "^4.0.0", - "node-fetch": "^2.6.7", - "process": "^0.11.10", - "tough-cookie": "^4.0.0", - "tslib": "^2.2.0", - "tunnel": "^0.0.6", - "uuid": "^8.3.0", - "xml2js": "^0.4.19" - }, - "dependencies": { - "form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - } - }, - "tough-cookie": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.2.tgz", - "integrity": "sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ==", - "requires": { - "psl": "^1.1.33", - "punycode": "^2.1.1", - "universalify": "^0.2.0", - "url-parse": "^1.5.3" - } - }, - "uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" - } - } - }, "@azure/core-lro": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/@azure/core-lro/-/core-lro-2.5.0.tgz", @@ -938,9 +140,9 @@ } }, "@azure/ms-rest-js": { - "version": "2.6.4", - "resolved": "https://registry.npmjs.org/@azure/ms-rest-js/-/ms-rest-js-2.6.4.tgz", - "integrity": "sha512-2sbOpGhlBfv9itWdF7Qlk0CmoQCARxe5unwjNOprU7OdgEgabQncZ35L5u1A+zgdkVtNYF9Eo6XAhXzTweIhag==", + "version": "2.6.6", + "resolved": "https://registry.npmjs.org/@azure/ms-rest-js/-/ms-rest-js-2.6.6.tgz", + "integrity": "sha512-WYIda8VvrkZE68xHgOxUXvjThxNf1nnGPPe0rAljqK5HJHIZ12Pi3YhEDOn3Ge7UnwaaM3eFO0VtAy4nGVI27Q==", "requires": { "@azure/core-auth": "^1.1.4", "abort-controller": "^3.0.0", @@ -950,7 +152,7 @@ "tslib": "^1.10.0", "tunnel": "0.0.6", "uuid": "^8.3.2", - "xml2js": "^0.4.19" + "xml2js": "^0.5.0" }, "dependencies": { "tslib": { @@ -962,22 +164,78 @@ "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" + }, + "xml2js": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz", + "integrity": "sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==", + "requires": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" + } } } }, "@azure/storage-blob": { - "version": "12.12.0", - "resolved": "https://registry.npmjs.org/@azure/storage-blob/-/storage-blob-12.12.0.tgz", - "integrity": "sha512-o/Mf6lkyYG/eBW4/hXB9864RxVNmAkcKHjsGR6Inlp5hupa3exjSyH2KjO3tLO//YGA+tS+17hM2bxRl9Sn16g==", + "version": "12.13.0", + "resolved": "https://registry.npmjs.org/@azure/storage-blob/-/storage-blob-12.13.0.tgz", + "integrity": "sha512-t3Q2lvBMJucgTjQcP5+hvEJMAsJSk0qmAnjDLie2td017IiduZbbC9BOcFfmwzR6y6cJdZOuewLCNFmEx9IrXA==", "requires": { "@azure/abort-controller": "^1.0.0", - "@azure/core-http": "^2.0.0", + "@azure/core-http": "^3.0.0", "@azure/core-lro": "^2.2.0", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.13", "@azure/logger": "^1.0.0", "events": "^3.0.0", "tslib": "^2.2.0" + }, + "dependencies": { + "@azure/core-http": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-3.0.1.tgz", + "integrity": "sha512-A3x+um3cAPgQe42Lu7Iv/x8/fNjhL/nIoEfqFxfn30EyxK6zC13n+OUxzZBRC0IzQqssqIbt4INf5YG7lYYFtw==", + "requires": { + "@azure/abort-controller": "^1.0.0", + "@azure/core-auth": "^1.3.0", + "@azure/core-tracing": "1.0.0-preview.13", + "@azure/core-util": "^1.1.1", + "@azure/logger": "^1.0.0", + "@types/node-fetch": "^2.5.0", + "@types/tunnel": "^0.0.3", + "form-data": "^4.0.0", + "node-fetch": "^2.6.7", + "process": "^0.11.10", + "tslib": "^2.2.0", + "tunnel": "^0.0.6", + "uuid": "^8.3.0", + "xml2js": "^0.5.0" + } + }, + "form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + }, + "uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" + }, + "xml2js": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz", + "integrity": "sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==", + "requires": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" + } + } } }, "@octokit/auth-token": { @@ -1251,16 +509,6 @@ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.2.0.tgz", "integrity": "sha512-LN6QV1IJ9ZhxWTNdktaPClrNfp8xdSAYS0Zk2ddX7XsXZAxckMHPCBcHRo0cTcEIgYPRiGEkmji3Idkh2yFtYw==" }, - "querystringify": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", - "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==" - }, - "requires-port": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", - "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==" - }, "sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", @@ -1307,20 +555,6 @@ "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==" }, - "universalify": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz", - "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==" - }, - "url-parse": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", - "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", - "requires": { - "querystringify": "^2.1.1", - "requires-port": "^1.0.0" - } - }, "uuid": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", @@ -1345,15 +579,6 @@ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, - "xml2js": { - "version": "0.4.23", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", - "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", - "requires": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" - } - }, "xmlbuilder": { "version": "11.0.1", "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", diff --git a/.github/workflows/cache-builded-libs.yml b/.github/workflows/cache-builded-libs.yml index 5db2ae99ef2..57e712ba895 100644 --- a/.github/workflows/cache-builded-libs.yml +++ b/.github/workflows/cache-builded-libs.yml @@ -2,6 +2,7 @@ on: push: branches: - develop + - develop-* - 'epic/**' - 'release/**' name: Cache libs (dist) diff --git a/.github/workflows/cache-node-modules.yml b/.github/workflows/cache-node-modules.yml index 77321df4f49..d50a013d50a 100644 --- a/.github/workflows/cache-node-modules.yml +++ b/.github/workflows/cache-node-modules.yml @@ -2,6 +2,7 @@ on: push: branches: - develop + - develop-* - 'epic/**' - 'release/**' name: Cache node modules diff --git a/.github/workflows/ci-continuous-integration.yml b/.github/workflows/ci-continuous-integration.yml index a866446e6c9..efd15807c3d 100644 --- a/.github/workflows/ci-continuous-integration.yml +++ b/.github/workflows/ci-continuous-integration.yml @@ -3,6 +3,7 @@ on: types: [opened, synchronize] branches: - develop + - develop-* - release/** - epic/** workflow_dispatch: @@ -36,8 +37,6 @@ jobs: ~/.cache/Cypress key: nodemodules-${{ github.event.pull_request.base.sha }} restore-keys: nodemodules-${{ github.event.pull_request.base.sha }} - - name: Install angular CLI - run: npm install -g @angular/cli@15 - name: Package installation run: npm ci - name: Run unit tests for Spartacus libs @@ -62,8 +61,6 @@ jobs: ~/.cache/Cypress key: nodemodules-${{ github.event.pull_request.base.sha }} restore-keys: nodemodules-${{ github.event.pull_request.base.sha }} - - name: Install angular CLI - run: npm install -g @angular/cli@15 - name: Package installation run: npm ci - name: Run unit tests for integration libs @@ -105,8 +102,6 @@ jobs: ~/.cache/Cypress key: nodemodules-${{ github.event.pull_request.base.sha }} restore-keys: nodemodules-${{ github.event.pull_request.base.sha }} - - name: Install angular CLI - run: npm install -g @angular/cli@15 - name: Package installation run: npm ci - name: Run linting validation diff --git a/.github/workflows/ci-merge-checks.yml b/.github/workflows/ci-merge-checks.yml index 452f237e882..70ba22a5607 100644 --- a/.github/workflows/ci-merge-checks.yml +++ b/.github/workflows/ci-merge-checks.yml @@ -3,6 +3,7 @@ on: types: [ready_for_review] branches: - develop + - develop-* - release/** workflow_dispatch: # empty as it is used only to manually trigger the workflow @@ -119,7 +120,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - containers: [1, 2] + containers: [1, 2, 3, 4] if: ${{ needs.validate_e2e_execution.outputs.SHOULD_RUN_E2E == 'true' }} steps: - name: Forcefully fail build if e2e job is retried diff --git a/.github/workflows/ci-pull-request-status.yml b/.github/workflows/ci-pull-request-status.yml index 7ae9bd7a188..b9824d58dd0 100644 --- a/.github/workflows/ci-pull-request-status.yml +++ b/.github/workflows/ci-pull-request-status.yml @@ -3,6 +3,7 @@ on: types: [opened, synchronize] branches: - develop + - develop-* - release/** workflow_dispatch: # empty as it is used only to manually trigger the workflow diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94ec1ad6209..0393945934d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,7 @@ on: push: branches: - develop + - develop-* - release/** workflow_dispatch: # empty as it is used only to manually trigger the workflow @@ -60,8 +61,6 @@ jobs: ~/.cache/Cypress key: nodemodules-${{ github.event.pull_request.base.sha }} restore-keys: nodemodules-${{ github.event.pull_request.base.sha }} - - name: Install angular CLI - run: npm install -g @angular/cli@15 - name: Package installation run: npm ci - name: Run unit tests for Spartacus libs @@ -87,8 +86,6 @@ jobs: ~/.cache/Cypress key: nodemodules-${{ github.event.pull_request.base.sha }} restore-keys: nodemodules-${{ github.event.pull_request.base.sha }} - - name: Install angular CLI - run: npm install -g @angular/cli@15 - name: Package installation run: npm ci - name: Run unit tests for integration libs @@ -132,8 +129,6 @@ jobs: ~/.cache/Cypress key: nodemodules-${{ github.event.pull_request.base.sha }} restore-keys: nodemodules-${{ github.event.pull_request.base.sha }} - - name: Install angular CLI - run: npm install -g @angular/cli@15 - name: Package installation run: npm ci - name: Run linting validation @@ -214,7 +209,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - containers: [1, 2] + containers: [1, 2, 3, 4] if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' || needs.validate_e2e_execution.outputs.SHOULD_RUN_E2E == 'true' }} steps: - name: Forcefully fail build if e2e job is retried @@ -266,10 +261,16 @@ jobs: needs.b2b_e2e_tests.result == 'failure' || needs.b2b_e2e_tests.result == 'cancelled' send_slack_message: needs: build_conclusion - name: Slack message for failed develop CI build in Spartacus + name: Slack message for failed CI build in Spartacus runs-on: ubuntu-latest if: ${{ always() }} steps: + - run: | + echo "Context Info:" + echo " Event = ${{ github.event_name }}" + echo " Build Result = ${{ needs.build_conclusion.result }}" + echo " Branch = ${{ github.ref_name }}" + echo " Default branch = ${{ github.event.repository.default_branch }}" - name: Notify the slack channel of when build conclusion failed env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_TOKEN }} @@ -283,7 +284,7 @@ jobs: "type": "section", "text": { "type": "mrkdwn", - "text": ":nuclear-bomb: :fireduck: *Broken build in develop*" + "text": ":nuclear-bomb: :fireduck: *Broken build on ${{ github.ref_name }}*" } }, { @@ -329,4 +330,4 @@ jobs: if: | needs.build_conclusion.result == 'failure' && github.event_name == 'push' && - github.ref_name == 'develop' + github.ref_name == github.event.repository.default_branch diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 148e433a4bf..2a15315ba4c 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -4,6 +4,7 @@ on: - 'release/4.**' - 'epic/**' - 'develop' + - 'develop-*' name: Installation jobs: install: diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml index 90217e22ff8..621d247b4cc 100644 --- a/.github/workflows/lighthouse.yml +++ b/.github/workflows/lighthouse.yml @@ -3,6 +3,7 @@ on: types: [ready_for_review] branches: - develop + - develop-* - release/** workflow_dispatch: # empty as it is used only to manually trigger the workflow @@ -35,8 +36,6 @@ jobs: ~/.cache/Cypress key: nodemodules-${{ github.event.pull_request.base.sha }} restore-keys: nodemodules-${{ github.event.pull_request.base.sha }} - - name: Install angular CLI - run: npm install -g @angular/cli@15 - name: Package installation run: npm ci - name: Run lighthouse score validation diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index dbfa7855974..10bf12c00a4 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -4,14 +4,13 @@ on: workflow_dispatch: inputs: branch_to_sync: - description: Branch to sync to the private repository - default: develop - required: true + description: Branch to sync to the private repository (repo default branch if left empty) + required: false name: Sync a branch to private repo env: - DEFAULT_BRANCH_TO_SYNC: 'develop' + DEFAULT_BRANCH_TO_SYNC: ${{ github.event.repository.default_branch }} jobs: sync_public_repo_to_private: diff --git a/.github/workflows/update-ccv2.yml b/.github/workflows/update-ccv2.yml index ad0c1607b23..0d5db961b72 100644 --- a/.github/workflows/update-ccv2.yml +++ b/.github/workflows/update-ccv2.yml @@ -6,14 +6,12 @@ on: default: spa_p4 required: true source_branch_to_deploy: - description: source branch to deploy on ccv2 - default: develop - required: true + description: source branch to deploy on ccv2 (repo default branch if left empty) name: Update ccv2 repo with unreleased Spartacus env: - DEFAULT_BRANCH_TO_DEPLOY: 'develop' + DEFAULT_BRANCH_TO_DEPLOY: ${{ github.event.repository.default_branch }} jobs: deploy_to_ccv2: @@ -36,8 +34,6 @@ jobs: node_modules key: nodemodules-${{ steps.branch-to-deploy-commit-id.outputs.commit_hash }} restore-keys: nodemodules-${{ steps.branch-to-deploy-commit-id.outputs.commit_hash }} - - name: Install angular CLI - run: npm install -g @angular/cli@15 - name: Package installation run: npm ci - name: Update ccv2 environment with source diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 4e770500ea1..c8693295eac 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -7,6 +7,8 @@ // The ng lint command uses ESLint under the hood. "dbaeumer.vscode-eslint", // Modern CSS/SCSS/Less linter - "stylelint.vscode-stylelint" + "stylelint.vscode-stylelint", + // Nx console - GUI + "nrwl.angular-console" ] } diff --git a/angular.json b/angular.json deleted file mode 100644 index c7fd9f288b4..00000000000 --- a/angular.json +++ /dev/null @@ -1,1115 +0,0 @@ -{ - "$schema": "./node_modules/@angular/cli/lib/config/schema.json", - "version": 1, - "newProjectRoot": "feature-libs", - "projects": { - "storefrontapp": { - "root": "projects/storefrontapp/", - "sourceRoot": "projects/storefrontapp/src", - "projectType": "application", - "prefix": "cx", - "schematics": {}, - "architect": { - "build": { - "builder": "@angular-builders/custom-webpack:browser", - "options": { - "customWebpackConfig": { - "path": "./extra-webpack.config.js" - }, - "aot": true, - "outputPath": "dist/storefrontapp", - "index": "projects/storefrontapp/src/index.html", - "main": "projects/storefrontapp/src/main.ts", - "polyfills": ["core-js/es/reflect", "zone.js"], - "tsConfig": "projects/storefrontapp/tsconfig.app.json", - "assets": [ - "projects/storefrontapp/src/favicon.ico", - "projects/storefrontapp/src/assets", - "projects/storefrontapp/src/manifest.json", - { - "glob": "**/*", - "input": "feature-libs/smartedit/assets", - "output": "assets/" - } - ], - "styles": [ - { - "input": "projects/storefrontapp/src/styles.scss", - "bundleName": "styles" - }, - { - "input": "projects/storefrontapp/src/styles/lib-asm.scss", - "bundleName": "asm" - }, - { - "input": "projects/storefrontapp/src/styles/lib-organization.scss", - "bundleName": "organization" - }, - { - "input": "projects/storefrontapp/src/styles/lib-product-configurator.scss", - "bundleName": "product-configurator" - }, - { - "input": "projects/storefrontapp/src/styles/lib-storefinder.scss", - "bundleName": "storefinder" - }, - { - "input": "projects/storefrontapp/src/styles/lib-product.scss", - "bundleName": "product" - }, - { - "input": "projects/storefrontapp/src/styles/lib-qualtrics.scss", - "bundleName": "qualtrics" - }, - { - "input": "projects/storefrontapp/src/styles/lib-cart.scss", - "bundleName": "cart" - }, - { - "input": "projects/storefrontapp/src/styles/lib-user.scss", - "bundleName": "user" - }, - { - "input": "projects/storefrontapp/src/styles/lib-checkout.scss", - "bundleName": "checkout" - }, - { - "input": "projects/storefrontapp/src/styles/lib-order.scss", - "bundleName": "order" - }, - { - "input": "projects/storefrontapp/src/styles/lib-epd-visualization.scss", - "bundleName": "epd-visualization" - }, - { - "input": "projects/storefrontapp/src/styles/lib-customer-ticketing.scss", - "bundleName": "customer-ticketing" - }, - { - "input": "projects/storefrontapp/src/styles/lib-pickup-in-store.scss", - "bundleName": "pickup-in-store" - }, - { - "input": "projects/storefrontapp/src/styles/lib-s4om.scss", - "bundleName": "s4om" - } - ], - "ngswConfigPath": "projects/storefrontlib/cms-structure/pwa/ngsw-config.json", - "scripts": [] - }, - "configurations": { - "production": { - "budgets": [ - { - "type": "anyComponentStyle", - "maximumWarning": "6kb" - } - ], - "fileReplacements": [ - { - "replace": "projects/storefrontapp/src/environments/environment.ts", - "with": "projects/storefrontapp/src/environments/environment.prod.ts" - } - ], - "optimization": true, - "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true, - "serviceWorker": false, - "tsConfig": "projects/storefrontapp/tsconfig.app.prod.json" - }, - "development": { - "buildOptimizer": false, - "optimization": false, - "vendorChunk": true, - "extractLicenses": false, - "sourceMap": true, - "namedChunks": true - } - } - }, - "serve": { - "builder": "@angular-builders/custom-webpack:dev-server", - "options": { - "browserTarget": "storefrontapp:build" - }, - "configurations": { - "production": { - "browserTarget": "storefrontapp:build:production" - }, - "development": { - "browserTarget": "storefrontapp:build:development" - } - }, - "defaultConfiguration": "development" - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "projects/storefrontapp/src/test.ts", - "polyfills": ["core-js/es/reflect", "zone.js"], - "tsConfig": "projects/storefrontapp/tsconfig.spec.json", - "karmaConfig": "projects/storefrontapp/karma.conf.js", - "styles": ["projects/storefrontapp/src/styles.scss"], - "scripts": [], - "assets": [ - "projects/storefrontapp/src/favicon.ico", - "projects/storefrontapp/src/assets", - "projects/storefrontapp/src/manifest.json", - { - "glob": "**/*", - "input": "feature-libs/smartedit/assets", - "output": "assets/" - } - ], - "codeCoverageExclude": ["dist/**/*"] - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "projects/storefrontapp/**/*.ts", - "projects/storefrontapp/**/*.html" - ] - } - }, - "server": { - "builder": "@angular-builders/custom-webpack:server", - "options": { - "customWebpackConfig": { - "path": "./extra-webpack.config.js" - }, - "outputPath": "dist/storefrontapp-server", - "main": "projects/storefrontapp/server.ts", - "tsConfig": "projects/storefrontapp/tsconfig.server.json" - }, - "configurations": { - "development": { - "sourceMap": true, - "optimization": false - }, - "production": { - "outputHashing": "media", - "fileReplacements": [ - { - "replace": "projects/storefrontapp/src/environments/environment.ts", - "with": "projects/storefrontapp/src/environments/environment.prod.ts" - } - ], - "sourceMap": false, - "optimization": true, - "tsConfig": "projects/storefrontapp/tsconfig.server.prod.json" - } - }, - "defaultConfiguration": "production" - }, - "serve-ssr": { - "builder": "@nguniversal/builders:ssr-dev-server", - "configurations": { - "development": { - "browserTarget": "storefrontapp:build:development", - "serverTarget": "storefrontapp:server:development" - }, - "production": { - "browserTarget": "storefrontapp:build:production", - "serverTarget": "storefrontapp:server:production" - } - }, - "defaultConfiguration": "development" - }, - "prerender": { - "builder": "@nguniversal/builders:prerender", - "options": { - "routes": ["/"] - }, - "configurations": { - "production": { - "browserTarget": "storefrontapp:build:production", - "serverTarget": "storefrontapp:server:production" - }, - "development": { - "browserTarget": "storefrontapp:build:development", - "serverTarget": "storefrontapp:server:development" - } - }, - "defaultConfiguration": "production" - } - } - }, - "storefrontlib": { - "root": "projects/storefrontlib", - "sourceRoot": "projects/storefrontlib", - "projectType": "library", - "prefix": "cx", - "architect": { - "build": { - "builder": "./tools/build-lib:augmented-types", - "options": { - "tsConfig": "projects/storefrontlib/tsconfig.lib.json", - "project": "projects/storefrontlib/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "projects/storefrontlib/tsconfig.lib.prod.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "projects/storefrontlib/test.ts", - "tsConfig": "projects/storefrontlib/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "projects/storefrontlib/karma.conf.js", - "codeCoverageExclude": ["dist/**/*"], - "stylePreprocessorOptions": { - "includePaths": ["./projects/storefrontstyles/scss"] - } - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "projects/storefrontlib/**/*.ts", - "projects/storefrontlib/**/*.html" - ] - } - } - } - }, - "core": { - "root": "projects/core", - "sourceRoot": "projects/core/src", - "projectType": "library", - "prefix": "cx", - "architect": { - "build": { - "builder": "./tools/build-lib:augmented-types", - "options": { - "tsConfig": "projects/core/tsconfig.lib.json", - "project": "projects/core/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "projects/core/tsconfig.lib.prod.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "projects/core/src/test.ts", - "tsConfig": "projects/core/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "projects/core/karma.conf.js" - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "projects/core/**/*.ts", - "projects/core/**/*.html" - ] - } - } - } - }, - "assets": { - "root": "projects/assets", - "sourceRoot": "projects/assets/src", - "projectType": "library", - "prefix": "cx", - "architect": { - "build": { - "builder": "@angular-devkit/build-angular:ng-packagr", - "options": { - "tsConfig": "projects/assets/tsconfig.lib.json", - "project": "projects/assets/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "projects/assets/tsconfig.lib.prod.json" - } - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "projects/assets/**/*.ts", - "projects/assets/**/*.html" - ] - } - } - } - }, - "schematics": { - "root": "projects/schematics", - "sourceRoot": "projects/schematics/src", - "projectType": "library", - "architect": { - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": ["projects/schematics/**/*.ts"] - } - } - } - }, - "cds": { - "projectType": "library", - "root": "integration-libs/cds", - "sourceRoot": "integration-libs/cds/src", - "prefix": "cx", - "architect": { - "build": { - "builder": "@angular-devkit/build-angular:ng-packagr", - "options": { - "tsConfig": "integration-libs/cds/tsconfig.lib.json", - "project": "integration-libs/cds/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "integration-libs/cds/tsconfig.lib.prod.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "integration-libs/cds/src/test.ts", - "tsConfig": "integration-libs/cds/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "integration-libs/cds/karma.conf.js" - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "integration-libs/cds/**/*.ts", - "integration-libs/cds/**/*.html" - ] - } - } - } - }, - "organization": { - "projectType": "library", - "root": "feature-libs/organization", - "sourceRoot": "feature-libs/organization", - "prefix": "cx", - "architect": { - "build": { - "builder": "./tools/build-lib:augmented-types", - "options": { - "tsConfig": "feature-libs/organization/tsconfig.lib.json", - "project": "feature-libs/organization/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "feature-libs/organization/tsconfig.lib.prod.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "feature-libs/organization/test.ts", - "tsConfig": "feature-libs/organization/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "feature-libs/organization/karma.conf.js" - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "feature-libs/organization/**/*.ts", - "feature-libs/organization/**/*.html" - ] - } - } - } - }, - "product": { - "projectType": "library", - "root": "feature-libs/product", - "sourceRoot": "feature-libs/product", - "prefix": "cx", - "architect": { - "build": { - "builder": "@angular-devkit/build-angular:ng-packagr", - "options": { - "tsConfig": "feature-libs/product/tsconfig.lib.json", - "project": "feature-libs/product/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "feature-libs/product/tsconfig.lib.prod.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "feature-libs/product/test.ts", - "tsConfig": "feature-libs/product/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "feature-libs/product/karma.conf.js" - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "feature-libs/product/**/*.ts", - "feature-libs/product/**/*.html" - ] - } - } - } - }, - "product-configurator": { - "projectType": "library", - "root": "feature-libs/product-configurator", - "sourceRoot": "feature-libs/product-configurator", - "prefix": "cx", - "architect": { - "build": { - "builder": "./tools/build-lib:augmented-types", - "options": { - "tsConfig": "feature-libs/product-configurator/tsconfig.lib.json", - "project": "feature-libs/product-configurator/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "feature-libs/product-configurator/tsconfig.lib.prod.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "feature-libs/product-configurator/test.ts", - "tsConfig": "feature-libs/product-configurator/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "feature-libs/product-configurator/karma.conf.js" - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "feature-libs/product-configurator/**/*.ts", - "feature-libs/product-configurator/**/*.html" - ] - } - } - } - }, - "cdc": { - "projectType": "library", - "root": "integration-libs/cdc", - "sourceRoot": "integration-libs/cdc", - "prefix": "cx", - "architect": { - "build": { - "builder": "@angular-devkit/build-angular:ng-packagr", - "options": { - "tsConfig": "integration-libs/cdc/tsconfig.lib.json", - "project": "integration-libs/cdc/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "integration-libs/cdc/tsconfig.lib.prod.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "integration-libs/cdc/test.ts", - "tsConfig": "integration-libs/cdc/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "integration-libs/cdc/karma.conf.js" - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "integration-libs/cdc/**/*.ts", - "integration-libs/cdc/**/*.html" - ] - } - } - } - }, - "digital-payments": { - "projectType": "library", - "root": "integration-libs/digital-payments", - "sourceRoot": "integration-libs/digital-payments/src", - "prefix": "cx", - "architect": { - "build": { - "builder": "@angular-devkit/build-angular:ng-packagr", - "options": { - "tsConfig": "integration-libs/digital-payments/tsconfig.lib.json", - "project": "integration-libs/digital-payments/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "integration-libs/digital-payments/tsconfig.lib.prod.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "integration-libs/digital-payments/src/test.ts", - "tsConfig": "integration-libs/digital-payments/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "integration-libs/digital-payments/karma.conf.js" - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "integration-libs/digital-payments/**/*.ts", - "integration-libs/digital-payments/**/*.html" - ] - } - } - } - }, - "epd-visualization": { - "projectType": "library", - "root": "integration-libs/epd-visualization", - "sourceRoot": "integration-libs/epd-visualization", - "prefix": "cx-epd-visualization", - "architect": { - "build": { - "builder": "@angular-devkit/build-angular:ng-packagr", - "options": { - "tsConfig": "integration-libs/epd-visualization/tsconfig.lib.json", - "project": "integration-libs/epd-visualization/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "integration-libs/epd-visualization/tsconfig.lib.prod.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "integration-libs/epd-visualization/test.ts", - "tsConfig": "integration-libs/epd-visualization/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "integration-libs/epd-visualization/karma.conf.js" - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "integration-libs/epd-visualization/**/*.ts", - "integration-libs/epd-visualization/**/*.html" - ] - } - } - } - }, - "setup": { - "projectType": "library", - "root": "core-libs/setup", - "sourceRoot": "core-libs/setup", - "prefix": "cx", - "architect": { - "build": { - "builder": "@angular-devkit/build-angular:ng-packagr", - "options": { - "tsConfig": "core-libs/setup/tsconfig.lib.json", - "project": "core-libs/setup/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "core-libs/setup/tsconfig.lib.prod.json" - } - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "core-libs/setup/**/*.ts", - "core-libs/setup/**/*.html" - ] - } - } - } - }, - "storefinder": { - "projectType": "library", - "root": "feature-libs/storefinder", - "sourceRoot": "feature-libs/storefinder", - "prefix": "cx", - "architect": { - "build": { - "builder": "@angular-devkit/build-angular:ng-packagr", - "options": { - "tsConfig": "feature-libs/storefinder/tsconfig.lib.json", - "project": "feature-libs/storefinder/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "feature-libs/storefinder/tsconfig.lib.prod.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "feature-libs/storefinder/test.ts", - "tsConfig": "feature-libs/storefinder/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "feature-libs/storefinder/karma.conf.js" - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "feature-libs/storefinder/**/*.ts", - "feature-libs/storefinder/**/*.html" - ] - } - } - } - }, - "qualtrics": { - "projectType": "library", - "root": "feature-libs/qualtrics", - "sourceRoot": "feature-libs/qualtrics", - "prefix": "cx", - "architect": { - "build": { - "builder": "@angular-devkit/build-angular:ng-packagr", - "options": { - "tsConfig": "feature-libs/qualtrics/tsconfig.lib.json", - "project": "feature-libs/qualtrics/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "feature-libs/qualtrics/tsconfig.lib.prod.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "feature-libs/qualtrics/test.ts", - "tsConfig": "feature-libs/qualtrics/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "feature-libs/qualtrics/karma.conf.js" - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "feature-libs/qualtrics/**/*.ts", - "feature-libs/qualtrics/**/*.html" - ] - } - } - } - }, - "tracking": { - "projectType": "library", - "root": "feature-libs/tracking", - "sourceRoot": "feature-libs/tracking", - "prefix": "cx", - "architect": { - "build": { - "builder": "./tools/build-lib:augmented-types", - "options": { - "tsConfig": "feature-libs/tracking/tsconfig.lib.json", - "project": "feature-libs/tracking/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "feature-libs/tracking/tsconfig.lib.prod.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "feature-libs/tracking/test.ts", - "tsConfig": "feature-libs/tracking/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "feature-libs/tracking/karma.conf.js" - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "feature-libs/tracking/**/*.ts", - "feature-libs/tracking/**/*.html" - ] - } - } - } - }, - "smartedit": { - "projectType": "library", - "root": "feature-libs/smartedit", - "sourceRoot": "feature-libs/smartedit", - "prefix": "cx", - "architect": { - "build": { - "builder": "@angular-devkit/build-angular:ng-packagr", - "options": { - "tsConfig": "feature-libs/smartedit/tsconfig.lib.json", - "project": "feature-libs/smartedit/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "feature-libs/smartedit/tsconfig.lib.prod.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "feature-libs/smartedit/test.ts", - "tsConfig": "feature-libs/smartedit/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "feature-libs/smartedit/karma.conf.js" - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "feature-libs/smartedit/**/*.ts", - "feature-libs/smartedit/**/*.html" - ] - } - } - } - }, - "asm": { - "projectType": "library", - "root": "feature-libs/asm", - "sourceRoot": "feature-libs/asm", - "prefix": "cx", - "architect": { - "build": { - "builder": "@angular-devkit/build-angular:ng-packagr", - "options": { - "tsConfig": "feature-libs/asm/tsconfig.lib.json", - "project": "feature-libs/asm/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "feature-libs/asm/tsconfig.lib.prod.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "feature-libs/asm/test.ts", - "tsConfig": "feature-libs/asm/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "feature-libs/asm/karma.conf.js" - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "feature-libs/asm/**/*.ts", - "feature-libs/asm/**/*.html" - ] - } - } - } - }, - "checkout": { - "projectType": "library", - "root": "feature-libs/checkout", - "sourceRoot": "feature-libs/checkout", - "prefix": "cx", - "architect": { - "build": { - "builder": "./tools/build-lib:augmented-types", - "options": { - "tsConfig": "feature-libs/checkout/tsconfig.lib.json", - "project": "feature-libs/checkout/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "feature-libs/checkout/tsconfig.lib.prod.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "feature-libs/checkout/test.ts", - "tsConfig": "feature-libs/checkout/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "feature-libs/checkout/karma.conf.js" - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "feature-libs/checkout/**/*.ts", - "feature-libs/checkout/**/*.html" - ] - } - } - } - }, - "cart": { - "projectType": "library", - "root": "feature-libs/cart", - "sourceRoot": "feature-libs/cart", - "prefix": "cx", - "architect": { - "build": { - "builder": "./tools/build-lib:augmented-types", - "options": { - "tsConfig": "feature-libs/cart/tsconfig.lib.json", - "project": "feature-libs/cart/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "feature-libs/cart/tsconfig.lib.prod.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "feature-libs/cart/test.ts", - "tsConfig": "feature-libs/cart/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "feature-libs/cart/karma.conf.js" - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "feature-libs/cart/**/*.ts", - "feature-libs/cart/**/*.html" - ] - } - } - } - }, - "user": { - "projectType": "library", - "root": "feature-libs/user", - "sourceRoot": "feature-libs/user", - "prefix": "cx", - "architect": { - "build": { - "builder": "./tools/build-lib:augmented-types", - "options": { - "tsConfig": "feature-libs/user/tsconfig.lib.json", - "project": "feature-libs/user/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "feature-libs/user/tsconfig.lib.prod.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "feature-libs/user/test.ts", - "tsConfig": "feature-libs/user/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "feature-libs/user/karma.conf.js" - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "feature-libs/user/**/*.ts", - "feature-libs/user/**/*.html" - ] - } - } - } - }, - "order": { - "projectType": "library", - "root": "feature-libs/order", - "sourceRoot": "feature-libs/order", - "prefix": "cx", - "architect": { - "build": { - "builder": "./tools/build-lib:augmented-types", - "options": { - "tsConfig": "feature-libs/order/tsconfig.lib.json", - "project": "feature-libs/order/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "feature-libs/order/tsconfig.lib.prod.json" - }, - "development": { - "tsConfig": "feature-libs/order/tsconfig.lib.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "feature-libs/order/test.ts", - "tsConfig": "feature-libs/order/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "feature-libs/order/karma.conf.js" - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "feature-libs/order/**/*.ts", - "feature-libs/order/**/*.html" - ] - } - } - } - }, - "pickup-in-store": { - "projectType": "library", - "root": "feature-libs/pickup-in-store", - "sourceRoot": "feature-libs/pickup-in-store", - "prefix": "cx", - "architect": { - "build": { - "builder": "./tools/build-lib:augmented-types", - "options": { - "tsConfig": "feature-libs/pickup-in-store/tsconfig.lib.json", - "project": "feature-libs/pickup-in-store/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "feature-libs/pickup-in-store/tsconfig.lib.prod.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "feature-libs/pickup-in-store/test.ts", - "tsConfig": "feature-libs/pickup-in-store/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "feature-libs/pickup-in-store/karma.conf.js" - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "feature-libs/pickup-in-store/**/*.ts", - "feature-libs/pickup-in-store/**/*.html" - ] - } - } - } - }, - "s4om": { - "projectType": "library", - "root": "integration-libs/s4om", - "sourceRoot": "integration-libs/s4om/src", - "prefix": "cx", - "architect": { - "build": { - "builder": "@angular-devkit/build-angular:ng-packagr", - "options": { - "project": "integration-libs/s4om/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "integration-libs/s4om/tsconfig.lib.prod.json" - }, - "development": { - "tsConfig": "integration-libs/s4om/tsconfig.lib.json" - } - }, - "defaultConfiguration": "production" - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "integration-libs/s4om/test.ts", - "tsConfig": "integration-libs/s4om/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "integration-libs/s4om/karma.conf.js" - } - } - } - }, - "customer-ticketing": { - "projectType": "library", - "root": "feature-libs/customer-ticketing", - "sourceRoot": "feature-libs/customer-ticketing", - "prefix": "cx", - "architect": { - "build": { - "builder": "./tools/build-lib:augmented-types", - "options": { - "tsConfig": "feature-libs/customer-ticketing/tsconfig.lib.json", - "project": "feature-libs/customer-ticketing/ng-package.json" - }, - "configurations": { - "production": { - "tsConfig": "feature-libs/customer-ticketing/tsconfig.lib.prod.json" - } - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "feature-libs/customer-ticketing/test.ts", - "tsConfig": "feature-libs/customer-ticketing/tsconfig.spec.json", - "polyfills": ["zone.js", "zone.js/testing"], - "karmaConfig": "feature-libs/customer-ticketing/karma.conf.js" - } - }, - "lint": { - "builder": "@angular-eslint/builder:lint", - "options": { - "lintFilePatterns": [ - "feature-libs/customer-ticketing/**/*.ts", - "feature-libs/customer-ticketing/**/*.html" - ] - } - } - } - } - } -} diff --git a/ci-scripts/e2e-cypress.sh b/ci-scripts/e2e-cypress.sh index 3220505b6b8..0af88a94591 100755 --- a/ci-scripts/e2e-cypress.sh +++ b/ci-scripts/e2e-cypress.sh @@ -94,7 +94,11 @@ else echo "Running Cypress end to end tests" if [ "${GITHUB_EVENT_NAME}" == "pull_request" ]; then + if [[ "${GITHUB_HEAD_REF}" == epic/* ]]; then + npm run e2e:run:ci"${SUITE}" + else npm run e2e:run:ci:core"${SUITE}" + fi else npm run e2e:run:ci"${SUITE}" fi diff --git a/ci-scripts/unit-tests-core-lib.sh b/ci-scripts/unit-tests-core-lib.sh index 2af4523723e..0b6ea82b615 100755 --- a/ci-scripts/unit-tests-core-lib.sh +++ b/ci-scripts/unit-tests-core-lib.sh @@ -6,15 +6,15 @@ echo "-----" echo "Running unit tests and code coverage for core" -ng test core --no-watch --source-map --code-coverage --browsers ChromeHeadless +npx nx test core --no-watch --source-map --code-coverage --browsers ChromeHeadless echo "Running unit tests and code coverage for storefrontlib" -ng test storefrontlib --source-map --no-watch --code-coverage --browsers ChromeHeadless +npx nx test storefrontlib --source-map --no-watch --code-coverage --browsers ChromeHeadless echo "Running unit tests and code coverage for cart library" -ng test cart --source-map --no-watch --code-coverage --browsers ChromeHeadless +npx nx test cart --source-map --no-watch --code-coverage --browsers ChromeHeadless echo "Running schematics unit tests and code coverage for cart library" @@ -22,7 +22,7 @@ npm --prefix feature-libs/cart run test:schematics -- --coverage echo "Running unit tests and code coverage for order library" -ng test order --source-map --no-watch --code-coverage --browsers ChromeHeadless +npx nx test order --source-map --no-watch --code-coverage --browsers ChromeHeadless echo "Running schematics unit tests and code coverage for order library" @@ -34,7 +34,7 @@ npm --prefix core-libs/setup run test --runInBand -- --coverage echo "Running unit tests and code coverage for user" -ng test user --source-map --no-watch --code-coverage --browsers ChromeHeadless +npx nx test user --source-map --no-watch --code-coverage --browsers ChromeHeadless echo "Running schematics unit tests and code coverage for user library" @@ -42,7 +42,7 @@ npm --prefix feature-libs/user run test:schematics -- --coverage echo "Running unit tests and code coverage for checkout" -ng test checkout --source-map --no-watch --code-coverage --browsers ChromeHeadless +npx nx test checkout --source-map --no-watch --code-coverage --browsers ChromeHeadless echo "Running schematics unit tests and code coverage for checkout library" @@ -50,7 +50,7 @@ npm --prefix feature-libs/checkout run test:schematics -- --coverage echo "Running unit tests and code coverage for product library" -ng test product --source-map --no-watch --code-coverage --browsers ChromeHeadless +npx nx test product --source-map --no-watch --code-coverage --browsers ChromeHeadless echo "Running schematics unit tests and code coverage for product library" @@ -58,7 +58,7 @@ npm --prefix feature-libs/product run test:schematics -- --coverage echo "Running unit tests and code coverage for organization library" -ng test organization --source-map --no-watch --code-coverage --browsers ChromeHeadless +npx nx test organization --source-map --no-watch --code-coverage --browsers ChromeHeadless echo "Running schematics unit tests and code coverage for organization library" @@ -66,7 +66,7 @@ npm --prefix feature-libs/organization run test:schematics -- --coverage echo "Running unit tests and code coverage for smartedit library" -ng test smartedit --source-map --no-watch --code-coverage --browsers ChromeHeadless +npx nx test smartedit --source-map --no-watch --code-coverage --browsers ChromeHeadless echo "Running schematics unit tests and code coverage for smartedit library" diff --git a/ci-scripts/unit-tests.sh b/ci-scripts/unit-tests.sh index 3072b8d67f6..83ddbf50344 100755 --- a/ci-scripts/unit-tests.sh +++ b/ci-scripts/unit-tests.sh @@ -6,7 +6,7 @@ echo "-----" echo "Running unit tests and code coverage for cds" -ng test cds --no-watch --source-map --code-coverage --browsers ChromeHeadless +npx nx test cds --no-watch --source-map --code-coverage --browsers ChromeHeadless echo "Running schematics unit tests and code coverage for CDS library" @@ -14,7 +14,7 @@ npm --prefix integration-libs/cds run test:schematics -- --coverage echo "Running unit tests and code coverage for product-configurator library" -ng test product-configurator --source-map --no-watch --code-coverage --browsers ChromeHeadless +npx nx test product-configurator --source-map --no-watch --code-coverage --browsers ChromeHeadless echo "Running schematics unit tests and code coverage for product-configurator library" @@ -22,7 +22,7 @@ npm --prefix feature-libs/product-configurator run test:schematics -- --coverage echo "Running unit tests and code coverage for CDC" -ng test cdc --source-map --no-watch --code-coverage --browsers ChromeHeadless +npx nx test cdc --source-map --no-watch --code-coverage --browsers ChromeHeadless echo "Running schematics unit tests and code coverage for cdc library" @@ -30,7 +30,7 @@ npm --prefix integration-libs/cdc run test:schematics -- --coverage echo "Running unit tests and code coverage for Digital-Payments" -ng test digital-payments --source-map --no-watch --code-coverage --browsers ChromeHeadless +npx nx test digital-payments --source-map --no-watch --code-coverage --browsers ChromeHeadless echo "Running schematics unit tests and code coverage for Digital-Payments library" @@ -38,15 +38,23 @@ npm --prefix integration-libs/digital-payments run test:schematics -- --coverage echo "Running unit tests and code coverage for EPD Visualization" -ng test epd-visualization --source-map --no-watch --code-coverage --browsers ChromeHeadless +npx nx test epd-visualization --source-map --no-watch --code-coverage --browsers ChromeHeadless echo "Running schematics unit tests and code coverage for EPD Visualization library" npm --prefix integration-libs/epd-visualization run test:schematics -- --coverage +echo "Running unit tests and code coverage for s4om" + +npx nx test s4om --source-map --no-watch --code-coverage --browsers ChromeHeadless + +echo "Running schematics unit tests and code coverage for s4om library" + +npm --prefix integration-libs/s4om run test:schematics -- --coverage + echo "Running unit tests and code coverage for storefinder library" -ng test storefinder --source-map --no-watch --code-coverage --browsers ChromeHeadless +npx nx test storefinder --source-map --no-watch --code-coverage --browsers ChromeHeadless echo "Running schematics unit tests and code coverage for storefinder library" @@ -54,7 +62,7 @@ npm --prefix feature-libs/storefinder run test:schematics -- --coverage echo "Running unit tests and code coverage for qualtrics library" -ng test qualtrics --source-map --no-watch --code-coverage --browsers ChromeHeadless +npx nx test qualtrics --source-map --no-watch --code-coverage --browsers ChromeHeadless echo "Running schematics unit tests and code coverage for qualtrics library" @@ -62,7 +70,7 @@ npm --prefix feature-libs/qualtrics run test:schematics -- --coverage echo "Running unit tests and code coverage for asm library" -ng test asm --source-map --no-watch --code-coverage --browsers ChromeHeadless +npx nx test asm --source-map --no-watch --code-coverage --browsers ChromeHeadless echo "Running schematics unit tests and code coverage for asm library" @@ -70,7 +78,7 @@ npm --prefix feature-libs/asm run test:schematics -- --coverage echo "Running unit tests and code coverage for tracking" -ng test tracking --source-map --no-watch --code-coverage --browsers ChromeHeadless +npx nx test tracking --source-map --no-watch --code-coverage --browsers ChromeHeadless echo "Running schematics unit tests and code coverage for tracking library" @@ -78,7 +86,7 @@ npm --prefix feature-libs/tracking run test:schematics -- --coverage echo "Running unit tests and code coverage for pickup-in-store library" -ng test pickup-in-store --source-map --no-watch --code-coverage --browsers ChromeHeadless +npx nx test pickup-in-store --source-map --no-watch --code-coverage --browsers ChromeHeadless echo "Running schematics unit tests and code coverage for pickup-in-store library" @@ -86,7 +94,7 @@ npm --prefix feature-libs/pickup-in-store run test:schematics -- --coverage echo "Running unit tests and code coverage for customer-ticketing" -ng test customer-ticketing --source-map --no-watch --code-coverage --browsers ChromeHeadless +npx nx test customer-ticketing --source-map --no-watch --code-coverage --browsers ChromeHeadless echo "Running schematics unit tests and code coverage for customer-ticketing" @@ -96,3 +104,6 @@ echo "Running unit tests and code coverage for schematics library" npm --prefix projects/schematics run test --runInBand -- --coverage +echo "Running unit tests and code coverage for eslint-rules" + +npx nx test eslint-rules --source-map --no-watch --code-coverage --browsers ChromeHeadless diff --git a/ci-scripts/validate-lint.sh b/ci-scripts/validate-lint.sh index 550f3ffff9b..dc84d5330f7 100755 --- a/ci-scripts/validate-lint.sh +++ b/ci-scripts/validate-lint.sh @@ -83,7 +83,7 @@ fi validateStylesLint echo "Validating code linting" -node --max_old_space_size=3584 ./node_modules/@angular/cli/bin/ng lint +node --max_old_space_size=3584 ./node_modules/@nrwl/cli/bin/nx run-many --all --target=lint echo "-----" diff --git a/core-libs/setup/package.json b/core-libs/setup/package.json index 898c0c26b3b..052c5037a2c 100644 --- a/core-libs/setup/package.json +++ b/core-libs/setup/package.json @@ -19,14 +19,14 @@ "tslib": "^2.4.0" }, "peerDependencies": { - "@angular/core": "^15.2.0", + "@angular/core": "^15.2.4", "@spartacus/cart": "5.0.0", "@spartacus/core": "5.0.0", "@spartacus/order": "5.0.0", "@spartacus/user": "5.0.0" }, "optionalDependencies": { - "@angular/platform-server": "^15.2.0", + "@angular/platform-server": "^15.2.4", "@nguniversal/express-engine": "^15.2.0", "express": "^4.18.2" }, diff --git a/core-libs/setup/project.json b/core-libs/setup/project.json new file mode 100644 index 00000000000..c984073316d --- /dev/null +++ b/core-libs/setup/project.json @@ -0,0 +1,31 @@ +{ + "name": "setup", + "$schema": "../../node_modules/nx/schemas/project-schema.json", + "projectType": "library", + "sourceRoot": "core-libs/setup", + "prefix": "cx", + "targets": { + "build": { + "executor": "@angular-devkit/build-angular:ng-packagr", + "options": { + "tsConfig": "core-libs/setup/tsconfig.lib.json", + "project": "core-libs/setup/ng-package.json" + }, + "configurations": { + "production": { + "tsConfig": "core-libs/setup/tsconfig.lib.prod.json" + } + } + }, + "lint": { + "executor": "@angular-eslint/builder:lint", + "options": { + "lintFilePatterns": [ + "core-libs/setup/**/*.ts", + "core-libs/setup/**/*.html" + ] + } + } + }, + "tags": ["type:util"] +} diff --git a/core-libs/setup/ssr/engine-decorator/ng-express-engine-decorator.spec.ts b/core-libs/setup/ssr/engine-decorator/ng-express-engine-decorator.spec.ts index ded9b14d80b..1542a6a0b4e 100644 --- a/core-libs/setup/ssr/engine-decorator/ng-express-engine-decorator.spec.ts +++ b/core-libs/setup/ssr/engine-decorator/ng-express-engine-decorator.spec.ts @@ -238,4 +238,72 @@ describe('decorateExpressEngine', () => { expect(originalEngineInstance).toHaveBeenCalledTimes(3); }); }); + + describe('with optimizations not specified on 2nd argument', () => { + beforeEach(() => { + const engine = decorateExpressEngine( + originalEngine + // 2nd argument not specified (but not explicitly "undefined"!) + ); + engineInstance = engine(mockEngineOptions); + engineInstance(mockPath, mockOptions, mockCallback); + }); + + it(`should pass parameters to the original engine instance`, () => { + expect(originalEngineInstance).toHaveBeenCalledWith( + mockPath, + mockOptions, + expect.any(Function) + ); + }); + + it(`should apply optimization wrapper`, () => { + // we check that callback is not the original one + expect(originalEngineInstance).not.toHaveBeenCalledWith( + mockPath, + mockOptions, + mockCallback + ); + }); + + it(`should pass setup options to the original engine`, () => { + expect(originalEngine).toHaveBeenCalledWith( + expect.objectContaining({ + bootstrap: 'TestModule', + providers: expect.arrayContaining([ + { provide: 'testToken', useValue: 'testValue' }, + ]), + }) + ); + }); + + it(`should add SERVER_REQUEST_URL to providers in the setup options passed to the original engine`, () => { + expect(originalEngine).toHaveBeenCalledWith( + expect.objectContaining({ + providers: expect.arrayContaining([ + expect.objectContaining({ + provide: SERVER_REQUEST_URL, + }), + ]), + }) + ); + }); + + it(`should be called only once per request with caching`, () => { + const mockOptions2 = { + ...mockOptions, + req: { ...mockOptions.req, originalUrl: 'aaa' }, + }; + const mockOptions3 = { + ...mockOptions, + req: { ...mockOptions.req, originalUrl: 'ccc' }, + }; + engineInstance(mockPath, mockOptions, mockCallback); + engineInstance('aaa', mockOptions2, mockCallback); + engineInstance(mockPath, mockOptions, mockCallback); + engineInstance('aaa', mockOptions2, mockCallback); + engineInstance('ccc', mockOptions3, mockCallback); + expect(originalEngineInstance).toHaveBeenCalledTimes(3); + }); + }); }); diff --git a/core-libs/setup/ssr/engine-decorator/ng-express-engine-decorator.ts b/core-libs/setup/ssr/engine-decorator/ng-express-engine-decorator.ts index 762ddc6783e..56747149d4c 100644 --- a/core-libs/setup/ssr/engine-decorator/ng-express-engine-decorator.ts +++ b/core-libs/setup/ssr/engine-decorator/ng-express-engine-decorator.ts @@ -9,7 +9,10 @@ import { OptimizedSsrEngine, SsrCallbackFn, } from '../optimized-engine/optimized-ssr-engine'; -import { SsrOptimizationOptions } from '../optimized-engine/ssr-optimization-options'; +import { + SsrOptimizationOptions, + defaultSsrOptimizationOptions, +} from '../optimized-engine/ssr-optimization-options'; import { getServerRequestProviders } from '../providers/ssr-providers'; export type NgExpressEngineInstance = ( @@ -42,7 +45,10 @@ export class NgExpressEngineDecorator { export function decorateExpressEngine( ngExpressEngine: NgExpressEngine, - optimizationOptions: SsrOptimizationOptions | null | undefined + optimizationOptions: + | SsrOptimizationOptions + | null + | undefined = defaultSsrOptimizationOptions ): NgExpressEngine { return function (setupOptions: NgSetupOptions) { const engineInstance = ngExpressEngine({ diff --git a/docs/libs/creating-lib.md b/docs/libs/creating-lib.md index 2ac6aebac6d..9ff7572ab43 100644 --- a/docs/libs/creating-lib.md +++ b/docs/libs/creating-lib.md @@ -1,8 +1,8 @@ # Creating a Spartacus library -An easy way to create a new Spartacus library is to run: `ng g library ` where the `lib-name` is the name of the new library. +An easy way to create a new Spartacus library is to run: `nx g @schematics/angular:library --prefix=cx` where the `lib-name` is the name of the new library. -The library will be generated in the `feature-libs` folder by default. You need to manually move the generated files to an appropriate directory (if necessary) and modify `angular.json` to reflect the new location. +The library will be generated in the `root of the project` folder by default. You need to manually move the generated folder, which is under the `` you entered to the appropriate directory (if necessary). The entire generated folder should be moved either under `feature-libs` or `integration-libs`. This document can also serve as the guideline for the future schematic that can automate this process. @@ -34,11 +34,14 @@ These are some naming guidelines for libraries: ## Generating a library -Run `ng g library ` and commit. +Run `nx g @schematics/angular:library --prefix=cx`, move it to the appropriate directory (`feature-libs` or `integration-libs`), and commit. ## Aligning with the other libs -In order to be 100% aligned with the existing Spartacus library there are some generated files that should be updated and there are some files that need to be additionally created +In order to be 100% aligned with the existing Spartacus library there are some generated files that should be updated and there are some files that need to be additionally created. Make sure that the `src` folder would not exist in the newly generated library. + +If you are generating a library, which purpose is to be a `single-entry point library`, then you can follow the file structure as done in `feature-libs/customer-ticketing` +If you are generating a library, which purpose is to be a `multi-entry point library`, then you can follow the file structure as done in `feature-libs/checkout` ### Modifying the generated files @@ -46,8 +49,6 @@ The list of the files that need to modified: - `README.md` - replace the default content with some relevant information about the library. -- `angular.json` - change the `prefix` property to `cx`. - - `karma.conf.js` Just copy paste the following and and make sure to rename `TODO:` to you lib's name: @@ -105,6 +106,56 @@ module.exports = function (config) { }; ``` +- `project.json` + + - add the lint `targets > lint` + + replace the TODO: with the library name + + ```json + "lint": { + "executor": "@angular-eslint/builder:lint", + "options": { + "lintFilePatterns": [ + "integration-libs/TODO:/**/*.ts", + "integration-libs/TODO:/**/*.html" + ] + } + } + ``` + + - add the tag(s) + - type:feature + - type:integration `IF AND ONLY IF` it is an integration lib. + + ```json + { + "name": "some-library-name", + "$schema": "../../node_modules/nx/schemas/project-schema.json", + "projectType": "library", + "sourceRoot": "feature-libs/some-library-name", + "prefix": "cx", + "targets": { + ... + ... + ... + "lint": { + "executor": "@angular-eslint/builder:lint", + "options": { + "lintFilePatterns": [ + "integration-libs/some-library-name/**/*.ts", + "integration-libs/some-library-name/**/*.html" + ] + } + } + ... + ... + ... + }, + "tags": ["type:feature"] + } + ``` + - `public-api.ts` - rename this file to `public_api.ts` (with the underscore instead of the dash) @@ -171,11 +222,25 @@ If your library doesn't expose any SCSS styles, remove the section `exports`/`sa - `test.ts` - - in order to run the tests for _all_ the entry points, the `test.ts` file has to be moved one level up from `lib-name/src/test.ts` to `lib-name/test.ts`. + - in order to run the tests for _all_ the entry points, you can to create the `test.ts` file in `lib-name/test.ts`. This change requires an update in: - 1. `angular.json` - change the `projects -> lib-name -> architect -> test -> options -> main` value to reflect the new file path + 1. `project.json` - change the `targets -> test -> options -> main` value to reflect the new file path + Just copy paste the following and and make sure to rename `TODO:` to you lib's name: + + ```json + "test": { + "executor": "@angular-devkit/build-angular:karma", + "options": { + "main": "feature-libs/TODO:/test.ts", + "tsConfig": "feature-libs/TODO:/tsconfig.spec.json", + "polyfills": ["zone.js", "zone.js/testing"], + "karmaConfig": "feature-libs/TODO:/karma.conf.js" + } + }, + ``` + 2. `feature-libs//tsconfig.lib.json` - update the path in `exclude` 3. `feature-libs//tsconfig.spec.json` - update the path in `files` @@ -263,19 +328,13 @@ The following files should be modified: Add the following scripts: ```json -"build:asm": "npm --prefix feature-libs/asm run build:schematics && ng build asm --configuration production", -"release:asm:with-changelog": "cd feature-libs/asm && release-it && cd ../..", +"build:asm": "npm --prefix feature-libs/asm run build:schematics && npx nx build asm --configuration production" ``` And replace `asm` instances with the name of yours lib. Also, add the new lib to the `build:libs` and `test:libs` scripts. -- `.github/ISSUE_TEMPLATE/new-release.md` - -Replace `TODO:` with the appropriate name. -Optionally, adjust the `path` property with the `peerDependencies` to match the peer dependencies defined in the `package.json`. - - `projects/schematics/package.json` - add the library to the package group - `ci-scripts/unit-tests.sh` @@ -284,17 +343,17 @@ Add the library unit tests with code coverage ```sh echo "Running unit tests and code coverage for TODO:" -exec 5>&1 -output=$(ng test TODO: --source-map --no-watch --code-coverage --browsers ChromeHeadless | tee /dev/fd/5) -coverage=$(echo $output | grep -i "does not meet global threshold" || true) -if [[ -n "$coverage" ]]; then - echo "Error: Tests did not meet coverage expectations" - exit 1 -fi + +npx nx test TODO: --source-map --no-watch --code-coverage --browsers ChromeHeadless + +echo "Running schematics unit tests and code coverage for TODO: library" + +npm --prefix feature-libs/TODO: run test:schematics -- --coverage ``` Replace `TODO:` with the appropriate name. + ### Sample data release entry ONLY if applicable If you have your own sample data that derives from our spartacussampledata, such as epdvisualizationspartacussampledata, then the following is applicable to you. @@ -315,7 +374,7 @@ Sources: If adding multiple entry points to the generated library, make sure to do the following changes: -- `angular.json` - change the `projects -> lib-name -> sourceRoot` to have the same value as the `root` property. This will enable code coverage report to be properly generated for all the entry points. +- `project.json` - make sure `sourceRoot` does not contain `src`, and just the library name - make sure to follow the general folder structure, as seen in e.g. `feature-libs/product` library - add `ng-package.json` to each of the feature folders @@ -325,9 +384,9 @@ If adding multiple entry points to the generated library, make sure to do the fo Don't forget to: -- run the tests for the generated library - `ng test --code-coverage`. In case of a library with multiple entry points, make sure to check the code-coverage report generated in the `coverage/my-account/lcov-report/index.html` -- build the generated library _with Ivy enabled_ - `ng build ` -- build the generated library (without Ivy) - `ng build --configuration production` +- run the tests for the generated library - `npx nx test --code-coverage`. In case of a library with multiple entry points, make sure to check the code-coverage report generated in the `coverage/my-account/lcov-report/index.html` +- build the generated library _with Ivy enabled_ - `npx nx build ` +- build the generated library (without Ivy) - `npx nx build --configuration production` - build the production-ready shell app with the included generated library (import a dummy service from the generated service): - `npm run build:libs` (build all the libs) - `npm run build` diff --git a/docs/migration/6_0.md b/docs/migration/6_0.md deleted file mode 100644 index bd208f48144..00000000000 --- a/docs/migration/6_0.md +++ /dev/null @@ -1,8 +0,0 @@ -# Technical Changes in Spartacus 6.0 - -## SSR - -- if optimization options are provided, Spartacus is merging the default optimization options with the provided options. Here are the default options: - - `reuseCurrentRendering` option is enabled by default. - - `concurrency` option is set to `10` slots, by default. - - `timeout` option is set to `3000` ms, by default. diff --git a/docs/migration/6_0/README.md b/docs/migration/6_0/README.md index 32fb0a1eea8..fecb3742612 100644 --- a/docs/migration/6_0/README.md +++ b/docs/migration/6_0/README.md @@ -1,15 +1,5 @@ -For 6.0+, typescript breaking changes will be detected by a script and the documentation and migration schematics will be generated. - -This folder contains the documentation input for the breaking change types that are not handled automatically and for automatically detected breaking changes that need a manual migration comment. - -To streamline the process, doc input for different change types go in different files. Here is a list of changes and their corresponding files: - -* Migration comment for top level api elements (input for the doc + schematics generation): `migration-comments-api-elements.json` -* Migration comment for class members (input for the doc + schematics generation): `migration-comments-members.json` -* Mappings for renamed top level api elements (input for the doc + schematics generation): `renamed-api-mappings.json` -* Html template changes: `html.md` -* Styling changes: `styling.md` -* Manual doc for certain typescript changes `typescript-manual-doc.md` - -For more details see https://wiki.one.int.sap/wiki/x/9WSWtQ +🛑 The migration doc input is not done on develop since the 6.0 maintenance branch was created. +✅ Please provide breaking change migration documentation on the 6.0 maintenance branch instead: +https://github.com/SAP/spartacus/tree/release/6.0.x/docs/migration/6_0 + \ No newline at end of file diff --git a/docs/migration/6_0/html.md b/docs/migration/6_0/html.md deleted file mode 100644 index db9764bc0eb..00000000000 --- a/docs/migration/6_0/html.md +++ /dev/null @@ -1,381 +0,0 @@ - - - -### AppliedCouponsComponent - -- Removed invalid attribute (`role="filter"`) from div tags for accesibility improvements. -- `
` element has been removed. - -### OrderHistoryComponent - -- Added `PONumber` and `costCenter` columns to the `table` -- Attribute `role="table"` has been added to `table` for accessibility improvements. -- Added hidden `caption` in the `table` for accessibility improvements. -- Attribute `role="row"` has been added to `tr` for accessibility improvements. -- Attribute `role="cell"` has been added to `td` for accessibility improvements. -- Wrapped `th` tags with `tr` for accessibility improvements. - -### OrderApprovalListComponent - -- Wrapped `cx-sorting` with `label` and added hidden `span` for accessibility improvements. -- Attribute `role="table"` has been added to `table` for accessibility improvements. -- Added hidden `caption` in the `table` for accessibility improvements. -- Attribute `role="row"` has been added to `tr` for accessibility improvements. -- Attribute `role="cell"` has been added to `td` for accessibility improvements. - -### ReplenishmentOrderHistoryComponent - -- Added column header text for actions column. -- Added hidden `caption` in the `table` for accessibility improvements. - -### SavedCartListComponent - -- Replaced h3 tag with h2 tag `header` for accessibility improvements. - -### PaymentMethodsComponent - -- Replaced h3 tag with h2 tag `header` for accessibility improvements. - -### MyCouponsComponent - -- Replaced h3 tag with h2 tag `header` for accessibility improvements. - -### MyInterestsComponent - -- Replaced h3 tag with h2 tag `header` for accessibility improvements. - -### AddressBookComponent - -- Replaced p tag with h2 tag for `header` for accessibility improvements. -- Changed `btn btn-block btn-action` to `btn btn-block btn-secondary` - -### CouponCardComponent - -- Replaced anchor tag with button tag for `read more` link for accesibility tabbing improvements. -- Changed line 60 `btn btn-block btn-action` to `btn btn-block btn-secondary` - - -### QuickOrderFormComponent -- Renamed `div` tag `id` value and `input` tag `aria-controls` value to remove duplicate ids occurred in the screen. - -### FacetListComponent - -- Separated button tag from header tag for accessibility improvements - - -### QuickOrderComponent - -- Replaced h3 tag with h2 tag `header` for accessibility improvements. - -### defaultCouponLayoutConfig - -- Changed `inline: true` to `inlineRoot: true` for keyboard tabbing and VO to work correctly. - -### defaultAnonymousConsentLayoutConfig - -- Changed `inline: true` to `inlineRoot: true` for keyboard tabbing and VO to work correctly. - -### StoreFinderSearchComponent - -- Added `tabindex"` to control tab stop for accessibility improvements. - -### UpdateProfileComponent - -- Removed empty option(`ng-option`) from the title code selector(`ng-select`). - -### UserRegistrationFormComponent - -- Added `id` attribute to `ng-select` to generate `aria-controls` for accessibility improvements. - -### CardComponent - -- Replaced `a` tag with `button` for accessibility improvements. - -### ActiveFacetsComponent - -- Replaced `h4` tag with `h2` tag header for accessibility improvements. - -### UnitLevelOrderOverviewComponent - -- Removed a condition to hide 2nd order summary column - -### AddressBookFormComponent - -- Added `cellphone` field to the `addressForm` -- Added `Cellphone` field to adress card with corresponding form group element - -### ConfiguratorAttributeDropDownComponent - -- Drop down options now can contain the technical attribute value key (if expert mode is active) and the value price if present - -### ConfiguratorAttributeReadOnlyComponent - -- Component content now wrapped in `
` -- Label now can contain the technical attribute value key (if expert mode is active) -- New class `cx-read-only-attribute-label` attached to the label has been introduced -- Label is wrapped in `
` for accessibility improvements -- Value price is displayed in addition to label, wrapped in `
` - -### ConfiguratorGroupTitleComponent - -- Contains for mobile resolutions - -### ConfiguratorOverviewMenuComponent - -- Overview menu is wrapped in an unordered list`
+ + + + + +
@@ -203,7 +319,10 @@