From fed4e0f2f22a526718e2dcac3f71056803fb238a Mon Sep 17 00:00:00 2001 From: maurizio vitale Date: Fri, 10 Jul 2020 15:10:38 +0100 Subject: [PATCH] Add the package deps needed in case there are libs not affected, fetched from npm --- package-lock.json | 148 +++++++++++------- package.json | 9 +- scripts/build/build-content-services.sh | 5 + scripts/build/build-core.sh | 5 + scripts/build/build-extensions.sh | 5 + scripts/build/build-insights.sh | 5 + scripts/build/build-process-services-cloud.sh | 5 + scripts/build/build-process-services.sh | 5 + scripts/build/build-testing.sh | 5 + 9 files changed, 134 insertions(+), 58 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8f09b3d96e8..14b3382810b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,25 +5,65 @@ "requires": true, "dependencies": { "@alfresco/adf-cli": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/@alfresco/adf-cli/-/adf-cli-3.9.0.tgz", - "integrity": "sha512-mvdYNgAflFagrzx6Czzd4p68lRvv+zHpODU9BTl6BMlF1edi/iYfv0DSyGWK5A/3x3RkiEskmyidTPaY3DQ2kg==", + "version": "3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42", + "resolved": "https://registry.npmjs.org/@alfresco/adf-cli/-/adf-cli-3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42.tgz", + "integrity": "sha512-CzL0gv04ACq88rUfj/ShmPHvwz3Hjp02uSDIkk5LJg7dL36MwASwgWbG5hWA1dPBDeS+QalpGigV23l+YABx7g==", "dev": true, "requires": { - "@angular-devkit/core": "^7.2.15", + "@angular-devkit/core": "^9.1.7", "commander": "^4.0.0", "ejs": "^2.6.1", "license-checker": "^25.0.1", - "npm-registry-fetch": "^3.9.0", - "rxjs": ">=6.2.2", + "npm-registry-fetch": "^4.0.5", + "rxjs": "^6.5.5", "shelljs": "^0.8.3", "spdx-license-list": "^5.0.0" } }, + "@alfresco/adf-content-services": { + "version": "3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42", + "resolved": "https://registry.npmjs.org/@alfresco/adf-content-services/-/adf-content-services-3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42.tgz", + "integrity": "sha512-V2Gn6V9MbJ2u1aUHD7pfsdHz+5rcoTgogm8nq0UuqWFiVzlFJRpJ4dHXuOmzjap/maR4GwwZjhakBbyeOJGVGw==", + "requires": { + "tslib": "^2.0.0" + } + }, + "@alfresco/adf-core": { + "version": "3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42", + "resolved": "https://registry.npmjs.org/@alfresco/adf-core/-/adf-core-3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42.tgz", + "integrity": "sha512-llQ+KnDUX7pkPzCmXWTO+DGG61M6N8kK7g2HKOCCpD1jmZtQXlz2zDCfw5a0mitxXN1M5tFsZEc2Ee32f3KXvA==", + "requires": { + "tslib": "^2.0.0" + } + }, + "@alfresco/adf-extensions": { + "version": "3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42", + "resolved": "https://registry.npmjs.org/@alfresco/adf-extensions/-/adf-extensions-3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42.tgz", + "integrity": "sha512-shmI98cH8tpzL9EJKg7EeWyBU98oij+j5OC2MPZZ8IJGD0USQ50dWAp5VWCWUcJMREHPyvwdDEGpE4gQZqPfGA==", + "requires": { + "tslib": "^2.0.0" + } + }, + "@alfresco/adf-process-services": { + "version": "3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42", + "resolved": "https://registry.npmjs.org/@alfresco/adf-process-services/-/adf-process-services-3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42.tgz", + "integrity": "sha512-+x3v2XZjNZ+npj/D76qNo8rnBalzYa1z3olMc4N04R4lJsecIpVfuJEZoQBT6pcwZoX8swlv644HuLm/fRHzzQ==", + "requires": { + "tslib": "^2.0.0" + } + }, + "@alfresco/adf-process-services-cloud": { + "version": "3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42", + "resolved": "https://registry.npmjs.org/@alfresco/adf-process-services-cloud/-/adf-process-services-cloud-3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42.tgz", + "integrity": "sha512-1Gk70+lvM33tfJzpWYP1Yp4mEbAusyvnbJyOIWIpDsD+9XMjYmeg7G5ZX5utA2AHPxj1rsI3VeF/WEXcsfpyKg==", + "requires": { + "tslib": "^2.0.0" + } + }, "@alfresco/js-api": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/@alfresco/js-api/-/js-api-3.9.0.tgz", - "integrity": "sha512-O0Xe175Ziks+ap8Pb1VbjlGuB1x3cgxdPIKIPziXjXb7eAbvk7VO4HItwgQ6itSvFIU4H5CXO1t+NfTucak7EA==", + "version": "3.10.0-bd9df0a20f5d769e9d7329d7a3d265f3938c2fc0", + "resolved": "https://registry.npmjs.org/@alfresco/js-api/-/js-api-3.10.0-bd9df0a20f5d769e9d7329d7a3d265f3938c2fc0.tgz", + "integrity": "sha512-rFZdYjk/w/a9RGlMQwA8yc25EVp2VpYGrZTtT3QxQ6cVJpd86t9zh6qdXbqjlnlEM4nZFCYkZJMMQWvEsuB/eA==", "requires": { "event-emitter": "^0.3.5", "minimatch": "3.0.4", @@ -842,57 +882,37 @@ } }, "@angular-devkit/core": { - "version": "7.3.10", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-7.3.10.tgz", - "integrity": "sha512-h8Yj2+UfBsPI7jZ8X88tImO/7RPgNWUcKF8Uq/J5eUSN6z0FMO0lluD4sM7X8aikb7RK8MwkwrqB/xfxvvkOow==", + "version": "9.1.11", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-9.1.11.tgz", + "integrity": "sha512-uiEkDvWfMgPHuO4jVgBEr9Kl/LuxHaWYGD2ZtKsOnnHYZyRGp61ot7UcDF+KNdXTiq01JJH84VTd3IttEewmhQ==", "dev": true, "requires": { - "ajv": "6.9.1", - "chokidar": "2.0.4", - "fast-json-stable-stringify": "2.0.0", - "rxjs": "6.3.3", + "ajv": "6.12.0", + "fast-json-stable-stringify": "2.1.0", + "magic-string": "0.25.7", + "rxjs": "6.5.4", "source-map": "0.7.3" }, "dependencies": { "ajv": { - "version": "6.9.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.9.1.tgz", - "integrity": "sha512-XDN92U311aINL77ieWHmqCcNlwjoP5cHXDxIxbf2MaPYuCXOHS7gHH8jktxeK5omgd52XbSTX6a4Piwd1pQmzA==", + "version": "6.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.0.tgz", + "integrity": "sha512-D6gFiFA0RRLyUbvijN74DWAjXSFxWKaWP7mldxkVhyhAV3+SWA9HEJPHQ2c9soIeTFJqcSdFDGFgdqs1iUU2Hw==", "dev": true, "requires": { - "fast-deep-equal": "^2.0.1", + "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", "uri-js": "^4.2.2" } }, - "fast-deep-equal": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", - "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=", - "dev": true - }, - "fast-json-stable-stringify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", - "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", - "dev": true - }, "rxjs": { - "version": "6.3.3", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz", - "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==", + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz", + "integrity": "sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q==", "dev": true, "requires": { "tslib": "^1.9.0" - }, - "dependencies": { - "tslib": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz", - "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==", - "dev": true - } } }, "source-map": { @@ -900,6 +920,12 @@ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", "dev": true + }, + "tslib": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz", + "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==", + "dev": true } } }, @@ -7299,9 +7325,9 @@ "dev": true }, "cacache": { - "version": "11.3.3", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-11.3.3.tgz", - "integrity": "sha512-p8WcneCytvzPxhDvYp31PD039vi77I12W+/KfR9S8AZbaiARFBCpsPJS+9uhWfeBfeAtW7o/4vt3MUqLkbY6nA==", + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-12.0.4.tgz", + "integrity": "sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ==", "dev": true, "requires": { "bluebird": "^3.5.5", @@ -7309,6 +7335,7 @@ "figgy-pudding": "^3.5.1", "glob": "^7.1.4", "graceful-fs": "^4.1.15", + "infer-owner": "^1.0.3", "lru-cache": "^5.1.1", "mississippi": "^3.0.0", "mkdirp": "^0.5.1", @@ -14943,16 +14970,16 @@ "dev": true }, "make-fetch-happen": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-4.0.2.tgz", - "integrity": "sha512-YMJrAjHSb/BordlsDEcVcPyTbiJKkzqMf48N8dAJZT9Zjctrkb6Yg4TY9Sq2AwSIQJFn5qBBKVTYt3vP5FMIHA==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-5.0.2.tgz", + "integrity": "sha512-07JHC0r1ykIoruKO8ifMXu+xEU8qOXDFETylktdug6vJDACnP+HKevOu3PXyNPzFyTSlz8vrBYlBO1JZRe8Cag==", "dev": true, "requires": { "agentkeepalive": "^3.4.1", - "cacache": "^11.3.3", + "cacache": "^12.0.0", "http-cache-semantics": "^3.8.1", "http-proxy-agent": "^2.1.0", - "https-proxy-agent": "^2.2.1", + "https-proxy-agent": "^2.2.3", "lru-cache": "^5.1.1", "mississippi": "^3.0.0", "node-fetch-npm": "^2.0.2", @@ -16611,17 +16638,26 @@ } }, "npm-registry-fetch": { - "version": "3.9.1", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-3.9.1.tgz", - "integrity": "sha512-VQCEZlydXw4AwLROAXWUR7QDfe2Y8Id/vpAgp6TI1/H78a4SiQ1kQrKZALm5/zxM5n4HIi+aYb+idUAV/RuY0Q==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-4.0.5.tgz", + "integrity": "sha512-yQ0/U4fYpCCqmueB2g8sc+89ckQ3eXpmU4+Yi2j5o/r0WkKvE2+Y0tK3DEILAtn2UaQTkjTHxIXe2/CSdit+/Q==", "dev": true, "requires": { "JSONStream": "^1.3.4", "bluebird": "^3.5.1", "figgy-pudding": "^3.4.1", "lru-cache": "^5.1.1", - "make-fetch-happen": "^4.0.2", - "npm-package-arg": "^6.1.0" + "make-fetch-happen": "^5.0.0", + "npm-package-arg": "^6.1.0", + "safe-buffer": "^5.2.0" + }, + "dependencies": { + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + } } }, "npm-run-all": { diff --git a/package.json b/package.json index 0c2b9cb1e93..4f71efbbf5b 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,12 @@ "process services-cloud" ], "dependencies": { - "@alfresco/js-api": "3.9.0", + "@alfresco/adf-content-services": "3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42", + "@alfresco/adf-core": "3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42", + "@alfresco/adf-extensions": "3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42", + "@alfresco/adf-process-services": "3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42", + "@alfresco/adf-process-services-cloud": "3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42", + "@alfresco/js-api": "3.10.0-bd9df0a20f5d769e9d7329d7a3d265f3938c2fc0", "@angular/animations": "^10.0.2", "@angular/cdk": "10.0.1", "@angular/common": "^10.0.2", @@ -108,7 +113,7 @@ "zone.js": "~0.10.2" }, "devDependencies": { - "@alfresco/adf-cli": "3.9.0", + "@alfresco/adf-cli": "3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42", "@angular-devkit/build-angular": "~0.1000.1", "@angular-devkit/build-ng-packagr": "~0.1000.1", "@angular/cli": "^10.0.1", diff --git a/scripts/build/build-content-services.sh b/scripts/build/build-content-services.sh index 3454910ec7a..ade0c320075 100755 --- a/scripts/build/build-content-services.sh +++ b/scripts/build/build-content-services.sh @@ -24,3 +24,8 @@ cp -R ./lib/content-services/src/lib/i18n/* ./lib/dist/content-services/bundles/ echo "====== Copy assets ======" cp -R ./lib/content-services/src/lib/assets/* ./lib/dist/content-services/bundles/assets + +echo "====== Move to node_modules ======" +rm -rf ./node_modules/@alfresco/adf-content-services/ && \ +mkdir -p ./node_modules/@alfresco/adf-content-services/ && \ +cp -R ./lib/dist/content-services/* ./node_modules/@alfresco/adf-content-services/ \ No newline at end of file diff --git a/scripts/build/build-core.sh b/scripts/build/build-core.sh index 7523e0dce72..9adc241a348 100755 --- a/scripts/build/build-core.sh +++ b/scripts/build/build-core.sh @@ -27,3 +27,8 @@ cp -R ./lib/core/assets/* ./lib/dist/core/bundles/assets npm run webpack -- --config ./lib/config/webpack.style.js --progress --profile --bail rm ./lib/dist/core/prebuilt-themes/*.js + +echo "====== Move to node_modules ======" +rm -rf ./node_modules/@alfresco/adf-core/ && \ +mkdir -p ./node_modules/@alfresco/adf-core/ && \ +cp -R ./lib/dist/core/* ./node_modules/@alfresco/adf-core/ \ No newline at end of file diff --git a/scripts/build/build-extensions.sh b/scripts/build/build-extensions.sh index c92430c0975..82ebb3f4e9f 100755 --- a/scripts/build/build-extensions.sh +++ b/scripts/build/build-extensions.sh @@ -11,3 +11,8 @@ else echo "Building extensions for development" npm run ng -- build extensions || exit 1 fi + +echo "====== Move to node_modules ======" +rm -rf ./node_modules/@alfresco/adf-extensions/ && \ +mkdir -p ./node_modules/@alfresco/adf-extensions/ && \ +cp -R ./lib/dist/extensions/* ./node_modules/@alfresco/adf-extensions/ \ No newline at end of file diff --git a/scripts/build/build-insights.sh b/scripts/build/build-insights.sh index e58bee4b1d4..7fa3b243778 100755 --- a/scripts/build/build-insights.sh +++ b/scripts/build/build-insights.sh @@ -21,3 +21,8 @@ node ./lib/config/bundle-insights-scss.js || exit 1 echo "====== Copy i18n ======" mkdir -p ./lib/dist/insights/bundles/assets/adf-insights/i18n cp -R ./lib/insights/src/lib/i18n/* ./lib/dist/insights/bundles/assets/adf-insights/i18n + +echo "====== Move to node_modules ======" +rm -rf ./node_modules/@alfresco/adf-insights/ && \ +mkdir -p ./node_modules/@alfresco/adf-insights/ && \ +cp -R ./lib/dist/insights/* ./node_modules/@alfresco/adf-insights/ \ No newline at end of file diff --git a/scripts/build/build-process-services-cloud.sh b/scripts/build/build-process-services-cloud.sh index ecb213da18d..8b64085cc64 100755 --- a/scripts/build/build-process-services-cloud.sh +++ b/scripts/build/build-process-services-cloud.sh @@ -24,3 +24,8 @@ cp -R ./lib/process-services-cloud/src/lib/i18n/* ./lib/dist/process-services-cl echo "====== Copy assets ======" cp -R ./lib/process-services-cloud/src/lib/assets/* ./lib/dist/process-services-cloud/bundles/assets + +echo "====== Move to node_modules ======" +rm -rf ./node_modules/@alfresco/adf-process-services-cloud/ && \ +mkdir -p ./node_modules/@alfresco/adf-process-services-cloud/ && \ +cp -R ./lib/dist/process-services-cloud/* ./node_modules/@alfresco/adf-process-services-cloud/ \ No newline at end of file diff --git a/scripts/build/build-process-services.sh b/scripts/build/build-process-services.sh index 47d6c95e662..cce978afb11 100755 --- a/scripts/build/build-process-services.sh +++ b/scripts/build/build-process-services.sh @@ -24,3 +24,8 @@ cp -R ./lib/process-services/src/lib/i18n/* ./lib/dist/process-services/bundles/ echo "====== Copy assets ======" cp -R ./lib/process-services/src/lib/assets/* ./lib/dist/process-services/bundles/assets + +echo "====== Move to node_modules ======" +rm -rf ./node_modules/@alfresco/adf-process-services/ && \ +mkdir -p ./node_modules/@alfresco/adf-process-services/ && \ +cp -R ./lib/dist/process-services/* ./node_modules/@alfresco/adf-process-services/ \ No newline at end of file diff --git a/scripts/build/build-testing.sh b/scripts/build/build-testing.sh index 7f71750efdb..bdaa886c52f 100755 --- a/scripts/build/build-testing.sh +++ b/scripts/build/build-testing.sh @@ -14,3 +14,8 @@ else echo "Building testing for development" npm run ng -- build testing || exit 1 fi + +echo "====== Move to node_modules ======" +rm -rf ./node_modules/@alfresco/adf-testing/ && \ +mkdir -p ./node_modules/@alfresco/adf-testing/ && \ +cp -R ./lib/dist/testing/* ./node_modules/@alfresco/adf-testing/ \ No newline at end of file