mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
Remove argument seperator
This commit is contained in:
@@ -45,7 +45,7 @@ jobs:
|
||||
|
||||
- name: lint affected
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
run: pnpm affected:lint -- --base=origin/develop
|
||||
run: pnpm affected:lint --base=origin/develop
|
||||
- name: lint all
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
run: pnpm ci:lint
|
||||
@@ -127,7 +127,7 @@ jobs:
|
||||
|
||||
- name: Test
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
run: pnpm affected:test -- --browsers=ChromeHeadless --watch=false $TEST_OPTS --base=origin/develop
|
||||
run: pnpm affected:test --browsers=ChromeHeadless --watch=false $TEST_OPTS --base=origin/develop
|
||||
|
||||
- name: Test all
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
|
||||
@@ -62,7 +62,7 @@ jobs:
|
||||
|
||||
- uses: ./.github/actions/setup
|
||||
- run: pnpm install --frozen-lockfile
|
||||
- run: pnpm affected:lint -- --base=origin/develop
|
||||
- run: pnpm affected:lint --base=origin/develop
|
||||
- run: pnpm stylelint
|
||||
|
||||
unit-tests:
|
||||
@@ -84,7 +84,7 @@ jobs:
|
||||
|
||||
- uses: ./.github/actions/before-install
|
||||
- run: pnpm install --frozen-lockfile
|
||||
- run: pnpm affected:test -- --browsers=ChromeHeadless --watch=false $TEST_OPTS --base=origin/develop
|
||||
- run: pnpm affected:test --browsers=ChromeHeadless --watch=false $TEST_OPTS --base=origin/develop
|
||||
|
||||
publish-docker-registry:
|
||||
if: ${{ always() }}
|
||||
|
||||
@@ -38,13 +38,13 @@ In case of errors, add the following configuration to the `tsconfig.json` file.
|
||||
|
||||
# Making the extension as part of the ACA application
|
||||
|
||||
Now that the ACA extension is developed in its initial version, let's add the extension module to the list of the ones used by the application. To complete the task you can follow the same task described for the tutorial named [How to create your first extension for the Alfresco Content Application (aka ACA)](how-to-create-your-first-extension.md) (paragraph “Making the extension as part of the ACA application“). Once the extension is installed with success (`npm install my-extension`), the task can be considered as completed.
|
||||
Now that the ACA extension is developed in its initial version, let's add the extension module to the list of the ones used by the application. To complete the task you can follow the same task described for the tutorial named [How to create your first extension for the Alfresco Content Application (aka ACA)](how-to-create-your-first-extension.md) (paragraph “Making the extension as part of the ACA application“). Once the extension is installed with success (`pnpm add my-extension`), the task can be considered as completed.
|
||||
|
||||
# Running ACA with the extension included
|
||||
|
||||
Now that everything is properly developed, it’s time to launch ACA and see the result. To launch ADW, run the following command from a terminal.
|
||||
|
||||
npm start
|
||||
pnpm start
|
||||
|
||||
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.
|
||||
|
||||
|
||||
@@ -38,5 +38,6 @@
|
||||
},
|
||||
"cacheDirectory": "nxcache",
|
||||
"useInferencePlugins": false,
|
||||
"useLegacyCache": true
|
||||
"useLegacyCache": true,
|
||||
"analytics": false
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"start": "nx serve content-ce",
|
||||
"start:prod": "node --max-old-space-size=8192 nx serve content-ce --configuration production",
|
||||
"build": "nx build content-ce",
|
||||
"build.release": "pnpm build -- --configuration=production,release",
|
||||
"build.release": "pnpm build --configuration=production,release",
|
||||
"test": "nx test",
|
||||
"lint": "NODE_OPTIONS=--max_old_space_size=4096 nx run-many --all --target=lint",
|
||||
"inspect.bundle": "nx build content-ce --configuration production --stats-json && webpack-bundle-analyzer dist/content-ce/stats.json",
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
|
||||
|
||||
npm run ci:audit
|
||||
npm run ci:licenses
|
||||
npm run ci:changelog
|
||||
pnpm ci:audit
|
||||
pnpm ci:licenses
|
||||
pnpm ci:changelog
|
||||
|
||||
@@ -35,15 +35,15 @@ update(){
|
||||
eval libsWithVersions=( "${libsWithVersions[@]}" "${EXACT_VERSION}" )
|
||||
done
|
||||
|
||||
echo "npm i --ignore-scripts -E ${libsWithVersions[*]}"
|
||||
npm i --ignore-scripts -E ${libsWithVersions[*]}
|
||||
echo "pnpm add --ignore-scripts -E ${libsWithVersions[*]}"
|
||||
pnpm add --ignore-scripts -E ${libsWithVersions[*]}
|
||||
}
|
||||
|
||||
update_js_api(){
|
||||
eval jsWithVersions=();
|
||||
|
||||
echo "npm i --ignore-scripts -E @alfresco/js-api@${JS_VERSION}"
|
||||
npm i --ignore-scripts -E @alfresco/js-api@${JS_VERSION}
|
||||
echo "pnpm add --ignore-scripts -E @alfresco/js-api@${JS_VERSION}"
|
||||
pnpm add --ignore-scripts -E @alfresco/js-api@${JS_VERSION}
|
||||
}
|
||||
|
||||
while [[ $1 == -* ]]; do
|
||||
|
||||
Reference in New Issue
Block a user