Another fixes for aca-playwright-shared (#4100)

* Another fixes for aca-playwright-shared

* Add aca-playwright-shared to the build

* Small fix
This commit is contained in:
MichalKinas 2024-09-04 19:39:15 +02:00 committed by GitHub
parent 96df46a32a
commit 9ca398ddcf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 10 additions and 8 deletions

View File

@ -34,7 +34,7 @@ runs:
- name: Build Libraries
shell: bash
run: npm ci && npm run build
run: npm ci && npx nx run-many --target=build
- uses: actions/setup-node@v3
name: setup GH registry

View File

@ -12,7 +12,7 @@ fi
export PROJECTS=(
'aca-content'
'aca-shared',
'aca-shared'
'aca-playwright-shared'
);

View File

@ -11,7 +11,7 @@ fi
export PROJECTS=(
'aca-content'
'aca-shared',
'aca-shared'
'aca-playwright-shared'
);

View File

@ -67,6 +67,7 @@ jobs:
cache: 'npm'
- uses: ./.github/actions/before-install
- run: npm ci
- run: npx nx build aca-playwright-shared
- run: npm run build -- $BUILD_OPTS
- name: dist cache

View File

@ -1,4 +1,5 @@
{
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
"dest": "../../dist/@alfresco/aca-playwright-shared",
"lib": {
"entryFile": "src/public-api.ts"

View File

@ -1,9 +1,8 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/aca-playwright-testing",
"target": "es2015",
"module": "es2015",
"outDir": "../../out-tsc/lib",
"target": "es2020",
"moduleResolution": "node",
"declaration": true,
"sourceMap": true,
@ -12,7 +11,7 @@
"experimentalDecorators": true,
"importHelpers": true,
"types": [],
"lib": ["dom", "es2018"]
"lib": ["dom", "es2020"]
},
"angularCompilerOptions": {
"skipTemplateCodegen": true,
@ -21,5 +20,5 @@
"strictInjectionParameters": true,
"enableResourceInlining": true
},
"exclude": ["node_modules", "src/test.ts", "**/*.spec.ts"]
"exclude": ["test.ts", "**/*.spec.ts"]
}

View File

@ -1,4 +1,5 @@
{
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
"dest": "../../dist/@alfresco/aca-shared",
"lib": {
"entryFile": "src/public-api.ts"