mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
Fix security issues and remove cpr dependency (#2102)
* remove cpr dependency * fix security warnings
This commit is contained in:
@@ -104,7 +104,7 @@ Update the root `package.json` file and append the following entry to the `scrip
|
||||
{
|
||||
"scripts": {
|
||||
"build:my-extension":
|
||||
"ng build my-extension && cpr projects/my-extension/assets dist/my-extension/assets --deleteFirst"
|
||||
"ng build my-extension && npx cpr projects/my-extension/assets dist/my-extension/assets --deleteFirst"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@@ -102,7 +102,7 @@ JSON 定義で `my-extension.main.component` 識別子を使用できるよう
|
||||
{
|
||||
"scripts": {
|
||||
"build:my-extension":
|
||||
"ng build my-extension && cpr projects/my-extension/assets dist/my-extension/assets --deleteFirst"
|
||||
"ng build my-extension && npx cpr projects/my-extension/assets dist/my-extension/assets --deleteFirst"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@@ -130,7 +130,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 && cpr projects/my-extension/assets dist/my-extension/assets --deleteFirst"
|
||||
"build:my-extension": "ng build my-extension && npx cpr projects/my-extension/assets dist/my-extension/assets --deleteFirst"
|
||||
}, ...
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user