diff --git a/projects/aca-playwright-shared/package.json b/projects/aca-playwright-shared/package.json index 7738cb1097..43f79cdfa2 100644 --- a/projects/aca-playwright-shared/package.json +++ b/projects/aca-playwright-shared/package.json @@ -2,11 +2,14 @@ "name": "@alfresco/aca-playwright-shared", "version": "0.0.1", "license": "LGPL-3.0", - "dependencies": { - "tslib": "^2.0.0" - }, - "publishConfig": { - "access": "public" + "scripts": {}, + "peerDependencies": { + "@alfresco/adf-content-services": "7.0.0-alpha.7-12408701331", + "@alfresco/adf-core": "7.0.0-alpha.7-12408701331", + "@alfresco/adf-extensions": "7.0.0-alpha.7-12408701331", + "@alfresco/eslint-plugin-eslint-angular": "7.0.0-alpha.7-12408701331", + "@alfresco/js-api": "8.0.0-alpha.7-12408701331", + "tslib": ">=2.0.0" }, "repository": { "type": "git", diff --git a/projects/aca-playwright-shared/project.json b/projects/aca-playwright-shared/project.json index 975c1aadf7..6401579088 100644 --- a/projects/aca-playwright-shared/project.json +++ b/projects/aca-playwright-shared/project.json @@ -17,9 +17,7 @@ } }, "defaultConfiguration": "production", - "outputs": [ - "{workspaceRoot}/dist/@alfresco/aca-playwright-shared" - ] + "outputs": ["{workspaceRoot}/dist/@alfresco/aca-playwright-shared"] }, "lint": { "executor": "@angular-eslint/builder:lint" diff --git a/projects/aca-playwright-shared/tsconfig.lib.json b/projects/aca-playwright-shared/tsconfig.lib.json index e035678f30..305be11007 100644 --- a/projects/aca-playwright-shared/tsconfig.lib.json +++ b/projects/aca-playwright-shared/tsconfig.lib.json @@ -2,7 +2,9 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "../../out-tsc/lib", + "declarationMap": true, "target": "es2020", + "module": "es2015", "moduleResolution": "node", "declaration": true, "sourceMap": true, @@ -11,7 +13,8 @@ "experimentalDecorators": true, "importHelpers": true, "types": [], - "lib": ["dom", "es2020"] + "lib": ["dom", "es2018"], + "paths": {} }, "angularCompilerOptions": { "skipTemplateCodegen": true, diff --git a/projects/aca-shared/package.json b/projects/aca-shared/package.json index 9a3a205281..5ebaf64471 100644 --- a/projects/aca-shared/package.json +++ b/projects/aca-shared/package.json @@ -1,7 +1,6 @@ { "name": "@alfresco/aca-shared", "version": "0.0.1", - "commit": "", "license": "LGPL-3.0", "scripts": {}, "peerDependencies": { diff --git a/tsconfig.adf.json b/tsconfig.adf.json index 731bc40ea5..aa6824bfd7 100644 --- a/tsconfig.adf.json +++ b/tsconfig.adf.json @@ -41,6 +41,7 @@ "@alfresco/aca-content/viewer": ["projects/aca-content/viewer/src/public-api.ts"], "@alfresco/aca-content/preview": ["projects/aca-content/preview/src/public-api.ts"], "@alfresco/aca-playwright-shared": ["projects/aca-playwright-shared/src/public-api.ts"], + "@alfresco/aca-playwright-shared/*": ["projects/aca-playwright-shared/src/*/index.ts"], "package.json": ["package.json"], "*": ["./node_modules/*"] } diff --git a/tsconfig.json b/tsconfig.json index 3ebb52028f..224ef27a15 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -31,6 +31,7 @@ "@alfresco/aca-shared/rules": ["projects/aca-shared/rules/src/public-api.ts"], "@alfresco/aca-shared/store": ["projects/aca-shared/store/src/public-api.ts"], "@alfresco/aca-playwright-shared": ["projects/aca-playwright-shared/src/public-api.ts"], + "@alfresco/aca-playwright-shared/*": ["projects/aca-playwright-shared/src/*/index.ts"], "package.json": ["package.json"] } },