Migrate to NG17

This commit is contained in:
VitoAlbano 2024-10-10 23:59:15 +01:00
parent 651a56d5c2
commit ce2e2c7cc6
3 changed files with 4561 additions and 7543 deletions

19
nx.json
View File

@ -1,5 +1,4 @@
{ {
"npmScope": "adf",
"defaultProject": "demoshell", "defaultProject": "demoshell",
"affected": { "affected": {
"defaultBase": "develop" "defaultBase": "develop"
@ -8,18 +7,25 @@
"targetDefaults": { "targetDefaults": {
"build": { "build": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
"inputs": ["production", "^production"] "inputs": ["production", "^production"],
"cache": true
}, },
"build-storybook": { "build-storybook": {
"inputs": ["default", "^production", "{projectRoot}/.storybook/**/*", "{projectRoot}/tsconfig.storybook.json"] "inputs": ["default", "^production", "{projectRoot}/.storybook/**/*", "{projectRoot}/tsconfig.storybook.json"]
},
"lint": {
"cache": true
},
"test": {
"cache": true
},
"stylelint": {
"cache": true
} }
}, },
"tasksRunnerOptions": { "tasksRunnerOptions": {
"default": { "default": {
"runner": "nx/tasks-runners/default",
"options": { "options": {
"cacheableOperations": ["build", "lint", "test", "stylelint"],
"cacheDirectory": "nxcache",
"runtimeCacheInputs": ["node -v"] "runtimeCacheInputs": ["node -v"]
} }
} }
@ -41,5 +47,6 @@
"!{projectRoot}/karma.conf.js", "!{projectRoot}/karma.conf.js",
"!{projectRoot}/tsconfig.storybook.json" "!{projectRoot}/tsconfig.storybook.json"
] ]
} },
"cacheDirectory": "nxcache"
} }

12013
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
{ {
"name": "alfresco-ng2-components", "name": "alfresco-ng2-components",
"description": "Alfresco Angular components", "description": "Alfresco Angular components",
"version": "7.0.0-alpha.2", "version": "7.0.0-alpha.4",
"author": "Hyland Software, Inc. and its affiliates", "author": "Hyland Software, Inc. and its affiliates",
"scripts": { "scripts": {
"prepare": "husky install", "prepare": "husky install",
@ -29,21 +29,22 @@
"process services-cloud" "process services-cloud"
], ],
"dependencies": { "dependencies": {
"@angular/animations": "16.2.9", "@angular/animations": "17.1.3",
"@angular/cdk": "16.2.9", "@angular/cdk": "17.1.2",
"@angular/common": "16.2.9", "@angular/common": "17.1.3",
"@angular/compiler": "16.2.9", "@angular/compiler": "17.1.3",
"@angular/core": "16.2.9", "@angular/core": "17.1.3",
"@angular/forms": "16.2.9", "@angular/forms": "17.1.3",
"@angular/material": "16.2.9", "@angular/material": "17.1.2",
"@angular/material-date-fns-adapter": "16.2.9", "@angular/material-date-fns-adapter": "17.1.2",
"@angular/platform-browser": "16.2.9", "@angular/platform-browser": "17.1.3",
"@angular/platform-browser-dynamic": "16.2.9", "@angular/platform-browser-dynamic": "17.1.3",
"@angular/router": "16.2.9", "@angular/router": "17.1.3",
"@apollo/client": "3.11.4", "@apollo/client": "3.11.4",
"@cspell/eslint-plugin": "^7.3.6", "@cspell/eslint-plugin": "^7.3.6",
"@mat-datetimepicker/core": "12.0.1", "@mat-datetimepicker/core": "12.0.1",
"@ngx-translate/core": "^14.0.0", "@ngx-translate/core": "^14.0.0",
"@storybook/addon-interactions": "^8.2.9",
"@storybook/core-server": "^8.2.9", "@storybook/core-server": "^8.2.9",
"@storybook/theming": "^8.2.9", "@storybook/theming": "^8.2.9",
"angular-oauth2-oidc": "^13.0.1", "angular-oauth2-oidc": "^13.0.1",
@ -64,20 +65,19 @@
"superagent": "^9.0.1", "superagent": "^9.0.1",
"ts-morph": "^20.0.0", "ts-morph": "^20.0.0",
"tslib": "^2.6.2", "tslib": "^2.6.2",
"zone.js": "0.13.3", "zone.js": "0.14.8"
"@storybook/addon-interactions": "^8.2.9"
}, },
"devDependencies": { "devDependencies": {
"@alfresco/eslint-plugin-eslint-angular": "file:lib/eslint-angular", "@alfresco/eslint-plugin-eslint-angular": "file:lib/eslint-angular",
"@angular-devkit/architect": "0.1602.9", "@angular-devkit/architect": "0.1701.4",
"@angular-devkit/build-angular": "16.2.9", "@angular-devkit/build-angular": "17.1.4",
"@angular-devkit/core": "16.2.9", "@angular-devkit/core": "17.1.4",
"@angular-devkit/schematics": "16.2.9", "@angular-devkit/schematics": "17.1.4",
"@angular-eslint/eslint-plugin": "16.0.3", "@angular-eslint/eslint-plugin": "17.0.1",
"@angular-eslint/eslint-plugin-template": "16.0.3", "@angular-eslint/eslint-plugin-template": "17.0.1",
"@angular-eslint/template-parser": "16.0.3", "@angular-eslint/template-parser": "17.0.1",
"@angular/cli": "~16.2.0", "@angular/cli": "~17.1.0",
"@angular/compiler-cli": "16.2.9", "@angular/compiler-cli": "17.1.3",
"@chromatic-com/storybook": "1.7.0", "@chromatic-com/storybook": "1.7.0",
"@editorjs/code": "2.9.0", "@editorjs/code": "2.9.0",
"@editorjs/editorjs": "2.30.5", "@editorjs/editorjs": "2.30.5",
@ -85,14 +85,18 @@
"@editorjs/inline-code": "1.5.0", "@editorjs/inline-code": "1.5.0",
"@editorjs/list": "1.10.0", "@editorjs/list": "1.10.0",
"@editorjs/marker": "1.4.0", "@editorjs/marker": "1.4.0",
"@editorjs/paragraph": "^2.11.6",
"@editorjs/underline": "1.1.0", "@editorjs/underline": "1.1.0",
"@nx/js": "16.10.0", "@nx/angular": "17.3.1",
"@nx/storybook": "19.6.2", "@nx/eslint-plugin": "17.3.1",
"@nx/workspace": "16.10.0", "@nx/js": "17.3.1",
"@nx/node": "17.3.1",
"@nx/storybook": "17.3.1",
"@nx/workspace": "17.3.1",
"@paperist/types-remark": "0.1.3", "@paperist/types-remark": "0.1.3",
"@playwright/test": "1.46.1", "@playwright/test": "1.46.1",
"@quanzo/change-font-size": "1.0.0", "@quanzo/change-font-size": "1.0.0",
"@schematics/angular": "16.2.9", "@schematics/angular": "17.1.4",
"@storybook/addon-essentials": "^8.2.9", "@storybook/addon-essentials": "^8.2.9",
"@storybook/angular": "^8.2.9", "@storybook/angular": "^8.2.9",
"@storybook/core-server": "^8.2.9", "@storybook/core-server": "^8.2.9",
@ -104,7 +108,7 @@
"@types/jsdom": "^21.1.5", "@types/jsdom": "^21.1.5",
"@types/minimatch": "^3.0.3", "@types/minimatch": "^3.0.3",
"@types/mocha": "^10.0.6", "@types/mocha": "^10.0.6",
"@types/node": "20.16.1", "@types/node": "^18.16.9",
"@types/pdfjs-dist": "^2.10.378", "@types/pdfjs-dist": "^2.10.378",
"@types/shelljs": "^0.8.15", "@types/shelljs": "^0.8.15",
"@types/superagent": "^4.1.22", "@types/superagent": "^4.1.22",
@ -117,6 +121,7 @@
"dotenv": "16.4.5", "dotenv": "16.4.5",
"editorjs-html": "3.4.3", "editorjs-html": "3.4.3",
"editorjs-paragraph-with-alignment": "3.0.0", "editorjs-paragraph-with-alignment": "3.0.0",
"editorjs-text-alignment-blocktune": "^1.0.3",
"editorjs-text-color-plugin": "1.13.1", "editorjs-text-color-plugin": "1.13.1",
"ejs": "^3.1.10", "ejs": "^3.1.10",
"eslint": "^8.47.0", "eslint": "^8.47.0",
@ -151,10 +156,10 @@
"mini-css-extract-plugin": "2.9.1", "mini-css-extract-plugin": "2.9.1",
"mocha": "10.7.3", "mocha": "10.7.3",
"moment": "^2.29.4", "moment": "^2.29.4",
"ng-packagr": "16.2.3", "ng-packagr": "17.1.2",
"nock": "13.5.5", "nock": "13.5.5",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"nx": "16.10.0", "nx": "17.3.1",
"postcss": "8.4.41", "postcss": "8.4.41",
"postcss-sass": "^0.5.0", "postcss-sass": "^0.5.0",
"prettier": "2.8.8", "prettier": "2.8.8",
@ -168,13 +173,10 @@
"stylelint-config-standard-scss": "^13.1.0", "stylelint-config-standard-scss": "^13.1.0",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"tsconfig-paths": "^4.1.1", "tsconfig-paths": "^4.1.1",
"typescript": "5.1.6", "typescript": "5.3.3",
"webdriver-manager": "12.1.9", "webdriver-manager": "12.1.9",
"webpack": "5.94.0", "webpack": "5.94.0",
"webpack-cli": "^5.1.4", "webpack-cli": "^5.1.4"
"@nx/eslint-plugin": "16.10.0",
"@nx/node": "16.10.0",
"@nx/angular": "16.10.0"
}, },
"license": "Apache-2.0", "license": "Apache-2.0",
"engines": { "engines": {