Skip to content

Commit

Permalink
ACS-9039 fix for export aca-playwright-shared lib (#4317)
Browse files Browse the repository at this point in the history
* ACS-9039 fix for export lib

* Update project.json to remove test config

* update package version

* update package dependancy

* Update package.json
  • Loading branch information
akashrathod28 authored Jan 2, 2025
1 parent 92cf582 commit 5394088
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 8 deletions.
12 changes: 9 additions & 3 deletions projects/aca-playwright-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@
"name": "@alfresco/aca-playwright-shared",
"version": "0.0.1",
"license": "LGPL-3.0",
"dependencies": {
"tslib": "^2.0.0"
},
"scripts": {},
"publishConfig": {
"access": "public"
},
"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",
"url": "https://github.com/Alfresco/alfresco-content-app.git"
Expand Down
4 changes: 1 addition & 3 deletions projects/aca-playwright-shared/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 4 additions & 1 deletion projects/aca-playwright-shared/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/lib",
"declarationMap": true,
"target": "es2020",
"module": "es2015",
"moduleResolution": "node",
"declaration": true,
"sourceMap": true,
Expand All @@ -11,7 +13,8 @@
"experimentalDecorators": true,
"importHelpers": true,
"types": [],
"lib": ["dom", "es2020"]
"lib": ["dom", "es2018"],
"paths": {}
},
"angularCompilerOptions": {
"skipTemplateCodegen": true,
Expand Down
1 change: 0 additions & 1 deletion projects/aca-shared/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "@alfresco/aca-shared",
"version": "0.0.1",
"commit": "",
"license": "LGPL-3.0",
"scripts": {},
"peerDependencies": {
Expand Down
1 change: 1 addition & 0 deletions tsconfig.adf.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/*"]
}
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
},
Expand Down

0 comments on commit 5394088

Please sign in to comment.