mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACS-10100][Security] Remove npx usage from CI/CD and shell scripts to mitigate supply chain risks (#4795)
This commit is contained in:
+16
-4
@@ -9,7 +9,7 @@
|
||||
"build.release": "npm run 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 && npx 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",
|
||||
"prepare": "husky install",
|
||||
"stylelint": "stylelint \"{app,projects}/**/*.scss\"",
|
||||
"affected:build": "nx affected:build",
|
||||
@@ -22,8 +22,19 @@
|
||||
"print-affected:build": "nx print-affected --target=build --select=tasks.target.project",
|
||||
"print-affected:test": "nx print-affected --target=test --select=tasks.target.project",
|
||||
"print-affected:lint": "nx print-affected --target=lint --select=tasks.target.project",
|
||||
"lintfix": "nx affected:lint --fix"
|
||||
},
|
||||
"lintfix": "nx affected:lint --fix",
|
||||
"ci:lint": "nx run-many --target=lint",
|
||||
"ci:test": "nx run-many --target=test --browsers=ChromeHeadless --watch=false",
|
||||
"ci:build": "nx build",
|
||||
"ci:build:many": "nx run-many --target=build",
|
||||
"ci:playwright:install": "playwright install chromium",
|
||||
"ci:e2e": "nx run $E2E_TARGET-e2e:e2e",
|
||||
"ci:audit": "adf-cli audit -d docs/audit",
|
||||
"ci:licenses": "adf-cli licenses -d docs/licences",
|
||||
"ci:changelog": "adf-cli changelog -o docs/changelog --exclude=\"bot\\|Alfresco Build User\\|alfresco-build\"",
|
||||
"ci:check-env": "adf-cli check-cs-env --host $BASE_URL -u $ADMIN_EMAIL -p $ADMIN_PASSWORD"
|
||||
}
|
||||
,
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Alfresco/alfresco-content-app.git"
|
||||
@@ -121,6 +132,7 @@
|
||||
"stylelint": "^15.11.0",
|
||||
"stylelint-config-standard-scss": "^7.0.1",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "5.8.2"
|
||||
"typescript": "5.8.2",
|
||||
"webpack-bundle-analyzer": "^4.10.2"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user