[ACS-4534] nx workspace support for aca (#3143)

* ACS-4534 Added nx workspace support

* ACS-4534 Updated package-lock.json file

* ACS-4534 Configured cache directory and affected command

* ACS-4534 Updated README

* ACS-4534 Updated more README files

* ACS-4534 Fixed lint

* ACS-4534 Address comment for readme

* ACS-4534 Removed redundant build-libs script

* ACS-4534 Fixed start script

* ACS-4534 Updated some left documentation

* ACS-4534 Added more helper scripts, addressed PR comments

* ACS-4534 Updated package-lock.json after rebasing

* ACS-4534 Fix stylelint issue
This commit is contained in:
AleksanderSklorz
2023-04-25 15:34:34 +02:00
committed by GitHub
parent ef5cbb07d0
commit e9bc42df10
32 changed files with 9029 additions and 7777 deletions

View File

@@ -32,7 +32,7 @@ Once done, in the `projects/my-extension` path you will find the following struc
To complete the creation, build the extension launching the following command.
ng build my-extension
nx build my-extension
# Developing the basics of the ACA extension
@@ -163,7 +163,7 @@ Last but not least, edit the package.json file to allow the build of the extensi
{ ...
"scripts": {
...,
"build:my-extension": "ng build my-extension && npx cpr projects/my-extension/assets dist/my-extension/assets --deleteFirst"
"build:my-extension": "nx build my-extension && npx cpr projects/my-extension/assets dist/my-extension/assets --deleteFirst"
}, ...
}

View File

@@ -20,7 +20,7 @@ The idea behind this task is to create a brand new ACA extension with the same n
From the root folder of the ACA project, launch the command below from a terminal. Please be sure that you are going to use the same name as the existing extension (in this case my-extension).
ng generate library my-extension
nx generate library my-extension
In case of errors, add the following line to the `tsconfig.json` file.
@@ -30,7 +30,7 @@ Once done, delete the full content of the `projects/my-extension` folder and rep
To complete the creation, build the extension launching the following command.
ng build my-extension
nx build my-extension
In case of errors, add the following configuration to the `tsconfig.json` file.
@@ -48,4 +48,4 @@ Now that everything is properly developed, its time to launch ACA and see the
What you should see is a new item in left menu of the landing page for ACA, implementing the route to a new page with the following content. Below the screenshot describing what it should look like.
![extension](../images/extension-02.png)
![extension](../images/extension-02.png)