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 - name: Build Libraries
shell: bash shell: bash
run: npm ci && npm run build run: npm ci && npx nx run-many --target=build
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
name: setup GH registry name: setup GH registry

View File

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

View File

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

View File

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

View File

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

View File

@ -1,9 +1,8 @@
{ {
"extends": "../../tsconfig.json", "extends": "../../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../../out-tsc/aca-playwright-testing", "outDir": "../../out-tsc/lib",
"target": "es2015", "target": "es2020",
"module": "es2015",
"moduleResolution": "node", "moduleResolution": "node",
"declaration": true, "declaration": true,
"sourceMap": true, "sourceMap": true,
@ -12,7 +11,7 @@
"experimentalDecorators": true, "experimentalDecorators": true,
"importHelpers": true, "importHelpers": true,
"types": [], "types": [],
"lib": ["dom", "es2018"] "lib": ["dom", "es2020"]
}, },
"angularCompilerOptions": { "angularCompilerOptions": {
"skipTemplateCodegen": true, "skipTemplateCodegen": true,
@ -21,5 +20,5 @@
"strictInjectionParameters": true, "strictInjectionParameters": true,
"enableResourceInlining": 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", "dest": "../../dist/@alfresco/aca-shared",
"lib": { "lib": {
"entryFile": "src/public-api.ts" "entryFile": "src/public-api.ts"