Remove argument seperator

This commit is contained in:
Shivangi Shree
2026-08-04 11:20:18 +05:30
parent 1b7bb56103
commit ebcd2443a0
7 changed files with 16 additions and 15 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ jobs:
- name: lint affected - name: lint affected
if: ${{ github.event_name == 'pull_request' }} if: ${{ github.event_name == 'pull_request' }}
run: pnpm affected:lint -- --base=origin/develop run: pnpm affected:lint --base=origin/develop
- name: lint all - name: lint all
if: ${{ github.event_name != 'pull_request' }} if: ${{ github.event_name != 'pull_request' }}
run: pnpm ci:lint run: pnpm ci:lint
@@ -127,7 +127,7 @@ jobs:
- name: Test - name: Test
if: ${{ github.event_name == 'pull_request' }} 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 - name: Test all
if: ${{ github.event_name != 'pull_request' }} if: ${{ github.event_name != 'pull_request' }}
+2 -2
View File
@@ -62,7 +62,7 @@ jobs:
- uses: ./.github/actions/setup - uses: ./.github/actions/setup
- run: pnpm install --frozen-lockfile - run: pnpm install --frozen-lockfile
- run: pnpm affected:lint -- --base=origin/develop - run: pnpm affected:lint --base=origin/develop
- run: pnpm stylelint - run: pnpm stylelint
unit-tests: unit-tests:
@@ -84,7 +84,7 @@ jobs:
- uses: ./.github/actions/before-install - uses: ./.github/actions/before-install
- run: pnpm install --frozen-lockfile - 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: publish-docker-registry:
if: ${{ always() }} 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 # 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 # Running ACA with the extension included
Now that everything is properly developed, its time to launch ACA and see the result. To launch ADW, run the following command from a terminal. Now that everything is properly developed, its 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. 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.
+2 -1
View File
@@ -38,5 +38,6 @@
}, },
"cacheDirectory": "nxcache", "cacheDirectory": "nxcache",
"useInferencePlugins": false, "useInferencePlugins": false,
"useLegacyCache": true "useLegacyCache": true,
"analytics": false
} }
+1 -1
View File
@@ -7,7 +7,7 @@
"start": "nx serve content-ce", "start": "nx serve content-ce",
"start:prod": "node --max-old-space-size=8192 nx serve content-ce --configuration production", "start:prod": "node --max-old-space-size=8192 nx serve content-ce --configuration production",
"build": "nx build content-ce", "build": "nx build content-ce",
"build.release": "pnpm build -- --configuration=production,release", "build.release": "pnpm build --configuration=production,release",
"test": "nx test", "test": "nx test",
"lint": "NODE_OPTIONS=--max_old_space_size=4096 nx run-many --all --target=lint", "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", "inspect.bundle": "nx build content-ce --configuration production --stats-json && webpack-bundle-analyzer dist/content-ce/stats.json",
+3 -3
View File
@@ -2,6 +2,6 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
npm run ci:audit pnpm ci:audit
npm run ci:licenses pnpm ci:licenses
npm run ci:changelog pnpm ci:changelog
+4 -4
View File
@@ -35,15 +35,15 @@ update(){
eval libsWithVersions=( "${libsWithVersions[@]}" "${EXACT_VERSION}" ) eval libsWithVersions=( "${libsWithVersions[@]}" "${EXACT_VERSION}" )
done done
echo "npm i --ignore-scripts -E ${libsWithVersions[*]}" echo "pnpm add --ignore-scripts -E ${libsWithVersions[*]}"
npm i --ignore-scripts -E ${libsWithVersions[*]} pnpm add --ignore-scripts -E ${libsWithVersions[*]}
} }
update_js_api(){ update_js_api(){
eval jsWithVersions=(); eval jsWithVersions=();
echo "npm i --ignore-scripts -E @alfresco/js-api@${JS_VERSION}" echo "pnpm add --ignore-scripts -E @alfresco/js-api@${JS_VERSION}"
npm i --ignore-scripts -E @alfresco/js-api@${JS_VERSION} pnpm add --ignore-scripts -E @alfresco/js-api@${JS_VERSION}
} }
while [[ $1 == -* ]]; do while [[ $1 == -* ]]; do