Files
alfresco-ng2-components/package.json
Amedeo Lepore 7abebf0652 [AAE-12501] Align JS API (#8344)
* [AAE-12501] Provide an AlfrescoApiService implementation that disable the AlfrescoApi oauth initialization when we use new oidc implementation

* [AAE-12501] Replace oauth2Auth with authentication service, define get username as abstract

* [AAE-12501] Replace sitesService with authentication service since sitesService get the username from oauth2Auth

* [AAE-12501] Call implicitLogin by authentication service

* [AAE-12501] Replace Oauth2Auth with AlfrescoApi and call the custom api without using authentication

* [AAE-12501] Replace oauth2Auth with authentication service to get the token

* [AAE-12501] Replace oauth2Auth with alfrescoApi

* remove unneeded JS-API dep
move auth in the right place

* [AAE-10501] Rename alfresco-api.http-client to adf-http-client

* [AAE-10501] Remove config from a CoreModule, a different service is provided in AuthModule to use angular http client instead of super agent

* [AAE-10501] Disable AlfrescoApi oauth initialization while using new adf oidc authentication

* [AAE-12501] Replace alfresco api client with AdfHttpClient

* [AAE-12501] Restore get username methods

* [AAE-12501] Get username with authentication service

* [AAE-12501] removee unused method

* [AAE-12501] Trigger on login when token is received

* [AAE-12501] Fix content-services unit test

* [AAE-12501] Fix import

* [AAE-12501] Fix core unit tests

* [AAE-12501] Fix process-services-cloud unit tests

* [AAE-12501] Create a request options interface with the needed props, remove the import from js-api, return the body from request

* [AAE-12501] Fix process-services-cloud unit tests without Expectation

* [AAE-12501] Fix Core secondary entrypoints unit tests are not executed: move test.ts one level up in order to find all the spec files into the secondary entrypoints folders and update path

* [AAE-12501] Fix Core unit tests that weren't executed because of the previous test.ts wrong location

* [AAE-12501] Fix authentication token_issued subscription

* add emitters

* [AAE-12501] Replace Math.random() to fix hospot security issue, fix lint issues

* [AAE-12501] Install event-emitter dependency

* [AAE-12501] Comment temporary setCsrfToken because is not possible to import app config service from core due to circular dependencies

* [AAE-12501] Get disableCsrf from app config serviice when app configuration is loaded

* [AAE-12501] Fix license-header lint issue

* [AAE-14221] Regenerate lock file

* [AAE-14221] Fix sonarcloud issues

* [AAE-12501] Remove wrong character

* [AAE-12501] Regenerate lock file

* [AAE-12501] Fix BC: update alfresco api response error

---------

Co-authored-by: eromano <eugenioromano16@gmail.com>
2023-06-27 17:22:30 +02:00

228 lines
8.5 KiB
JSON

{
"name": "alfresco-ng2-components",
"commit": "b644b39d17396330d2a67509f58c5b9e890b9b13",
"description": "Alfresco Angular components",
"version": "6.2.0",
"author": "Hyland Software, Inc. and its affiliates",
"scripts": {
"postinstall": "node ./decorate-angular-cli.js && ngcc --properties es2015 browser module main",
"ng": "nx",
"00": "echo -------------------------------------------- DOC -----------------------------------------------",
"build-doc-tools": "tsc -p ./tools/doc/tsconfig.json",
"markdownlint": "markdownlint ./docs",
"docbuild": "(cd ./tools/doc; npm i) && node tools/doc/node_modules/typedoc/bin/typedoc --tsconfig lib/tsconfig.doc.json && node tools/doc/buildYamlSourceInfo.js docs/docs.json && node ./tools/doc/docProcessor.js",
"review-checker": "node ./tools/doc/reviewChecker.js",
"01": "echo -------------------------------------------- Build Lib -----------------------------------------------",
"affected:libs": "nx affected:libs",
"coverage": "./lib/config/create-coverage-index.sh && lite-server -c ./lib/config/proxy-coverage.json",
"print-affected:build": "nx print-affected --target=build --select=tasks.target.project",
"print-affected:test": "nx print-affected --target=test --select=tasks.target.project",
"print-affected:e2e": "nx print-affected --target=e2e --select=tasks.target.project",
"print-affected:lint": "nx print-affected --target=lint --select=tasks.target.project",
"03": "echo -------------------------------------------- Lint -----------------------------------------------",
"affected:lint": "nx affected:lint",
"04": "echo -------------------------------------------- Demo Shell -----------------------------------------------",
"start": "nx serve demoshell --open",
"start:prod": "nx serve demoshell --configuration production --open",
"build": "nx build demoshell",
"build:prod": "node --max-old-space-size=12000 node_modules/@angular/cli/bin/nx build demoshell --configuration production",
"test": "nx test demoshell --watch=false",
"05": "echo -------------------------------------------- E2e -----------------------------------------------",
"e2e": "./scripts/test-e2e-lib.sh -host 'localhost:4200' -dev --folder demo-shell",
"e2e-lib": "nx e2e lib-e2e-test --port=4200",
"lite-server-e2e": "lite-server --baseDir='dist/demo-shell/' -c ./e2e/lite-server-proxy.js",
"postbuild:ci": "node ./scripts/app-config-replace.js",
"06": "echo -------------------------------------------- Clean ----------------------------------------------",
"clean": "rimraf dist node_modules dist/libs",
"playwright": "npx playwright test --config='e2e-playwright/playwright.config.ts'"
},
"repository": {
"type": "git",
"url": "https://github.com/Alfresco/alfresco-ng2-components.git"
},
"bugs": {
"url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
},
"keywords": [
"alfresco-components",
"angular",
"typescript",
"alfresco",
"activiti",
"content services",
"process services",
"process services-cloud"
],
"dependencies": {
"@alfresco/js-api": ">=6.2.0",
"@angular/animations": "14.1.3",
"@angular/cdk": "14.1.2",
"@angular/common": "14.1.3",
"@angular/compiler": "14.1.3",
"@angular/core": "14.1.3",
"@angular/forms": "14.1.3",
"@angular/material": "14.1.2",
"@angular/material-moment-adapter": "14.1.2",
"@angular/platform-browser": "14.1.3",
"@angular/platform-browser-dynamic": "14.1.3",
"@angular/router": "14.1.3",
"@apollo/client": "^3.7.10",
"@editorjs/editorjs": "^2.26.5",
"@editorjs/header": "2.7.0",
"@editorjs/list": "1.8.0",
"@editorjs/underline": "1.1.0",
"@mat-datetimepicker/core": "^10.1.1",
"@mat-datetimepicker/moment": "^10.1.1",
"@ngx-translate/core": "^14.0.0",
"@storybook/core-server": "^6.5.16",
"angular-oauth2-oidc": "^13.0.1",
"angular-oauth2-oidc-jwks": "^15.0.1",
"apollo-angular": "^4.2.1",
"chart.js": "^4.3.0",
"cropperjs": "1.5.13",
"date-fns": "^2.30.0",
"dotenv-expand": "^5.1.0",
"editorjs-html": "3.4.2",
"editorjs-paragraph-with-alignment": "3.0.0",
"event-emitter": "^0.3.5",
"material-icons": "^1.13.8",
"minimatch-browser": "1.0.0",
"monaco-editor": "^0.33.0",
"ng2-charts": "^4.1.1",
"ngx-monaco-editor-v2": "^14.0.4",
"pdfjs-dist": "3.3.122",
"raphael": "2.3.0",
"rxjs": "6.6.6",
"subscriptions-transport-ws": "^0.11.0",
"tslib": "^2.4.1",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "14.1.3",
"@angular-devkit/schematics": "~14.1.0",
"@angular-eslint/eslint-plugin": "15.2.1",
"@angular-eslint/eslint-plugin-template": "14.3.0",
"@angular-eslint/template-parser": "16.0.1",
"@angular/cli": "~14.1.0",
"@angular/compiler-cli": "14.1.3",
"@editorjs/code": "2.8.0",
"@editorjs/inline-code": "1.4.0",
"@editorjs/marker": "1.2.2",
"@nrwl/angular": "14.8.6",
"@nrwl/cli": "14.5.4",
"@nrwl/eslint-plugin-nx": "14.5.4",
"@nrwl/node": "14.5.4",
"@nrwl/storybook": "14.5.4",
"@nrwl/workspace": "14.5.4",
"@paperist/types-remark": "0.1.3",
"@playwright/test": "^1.29.2",
"@quanzo/change-font-size": "1.0.0",
"@storybook/addon-essentials": "6.5.10",
"@storybook/angular": "6.5.16",
"@storybook/builder-webpack5": "6.5.10",
"@storybook/manager-webpack5": "6.5.10",
"@types/event-emitter": "^0.3.3",
"@types/jasmine": "4.0.3",
"@types/jasminewd2": "~2.0.2",
"@types/minimatch": "^3.0.3",
"@types/node": "18.0.0",
"@types/pdfjs-dist": "^2.10.378",
"@types/request": "^2.48.5",
"@types/selenium-webdriver": "^4.0.11",
"@typescript-eslint/eslint-plugin": "5.59.8",
"@typescript-eslint/parser": "5.38.1",
"@typescript-eslint/typescript-estree": "5.59.2",
"ajv": "^8.12.0",
"commander": "6.2.1",
"cspell": "^5.5.1",
"css-loader": "^6.7.4",
"dotenv": "16.1.3",
"editorjs-text-color-plugin": "1.13.1",
"eslint": "^8.36.0",
"eslint-plugin-ban": "^1.6.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jsdoc": "40.1.0",
"eslint-plugin-license-header": "0.6.0",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-rxjs": "^5.0.3",
"eslint-plugin-unicorn": "^46.0.0",
"github-api": "^3.4.0",
"graphql": "^16.6.0",
"graphql-request": "^6.0.0",
"husky": "^7.0.4",
"jasmine-ajax": "4.0.0",
"jasmine-core": "4.6.0",
"jasmine-reporters": "^2.5.2",
"jasmine-spec-reporter": "7.0.0",
"js-yaml": "^4.0.0",
"karma": "^6.4.1",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "5.0.1",
"karma-jasmine-ajax": "0.1.13",
"karma-jasmine-html-reporter": "^2.0.0",
"karma-mocha-reporter": "2.2.5",
"license-checker": "^25.0.1",
"lint-staged": "^13.2.0",
"lite-server": "^2.6.1",
"mini-css-extract-plugin": "^1.6.0",
"nconf": "^0.12.0",
"ng-mocks": "^14.8.0",
"ng-packagr": "14.0.3",
"nx": "14.4.2",
"postcss": "^8.4.5",
"postcss-sass": "^0.5.0",
"protractor": "^7.0.0",
"protractor-retry-angular-cli": "^2.0.3",
"protractor-screenshoter-plugin": "0.10.3",
"protractor-smartrunner": "^2.0.0-beta6",
"rimraf": "^5.0.1",
"sass-loader": "13.2.2",
"selenium-webdriver": "4.1.0",
"stylelint": "^14.15.0",
"stylelint-config-standard-scss": "^3.0.0",
"ts-node": "^10.4.0",
"tsconfig-paths": "^4.1.1",
"typescript": "4.7.4",
"webdriver-manager": "12.1.8",
"webpack": "^5.81.0",
"webpack-cli": "^5.1.2"
},
"license": "Apache-2.0",
"bundlesize": [
{
"path": "./dist/libs/content-services/bundles/adf-content-services.umd.min.js",
"maxSize": "85 kb"
},
{
"path": "./dist/libs/process-services/bundles/adf-process-services.umd.min.js",
"maxSize": "62 kb"
},
{
"path": "./dist/libs/insights/bundles/adf-insights.umd.min.js",
"maxSize": "50 kb"
},
{
"path": "./dist/libs/core/bundles/adf-core.umd.min.js",
"maxSize": "165 kb"
},
{
"path": "./dist/libs/process-services-cloud/bundles/adf-process-services-cloud.umd.min.js",
"maxSize": "60 kb"
},
{
"path": "./dist/libs/extensions/bundles/adf-extensions.umd.min.js",
"maxSize": "10 kb"
},
{
"path": "./dist/libs/testing/bundles/adf-testing.umd.min.js",
"maxSize": "50 kb"
}
],
"engines": {
"node": ">=6.0.0"
},
"module": "./index.js",
"typings": "./index.d.ts"
}