mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* remove compatibility step 1 * remove compatibility step 2 * remove compatibility step 3 * remove compatibility step 4 * remove compatibility step 5
23 lines
523 B
Bash
Executable File
23 lines
523 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
cd "$DIR/../"
|
|
|
|
if grep "envalfresco" . -R --exclude-dir={node_modules,.history,.idea,scripts,dist,e2e-output,.git} --exclude={.env,.env.*}; then
|
|
echo not permitted word
|
|
exit 1
|
|
fi
|
|
|
|
echo "Lint"
|
|
nx affected:lint --parallel --all --maxParallel=9 || exit 1
|
|
|
|
echo "Style Lint"
|
|
npm run stylelint || exit 1
|
|
|
|
echo "Spell check"
|
|
npm run spellcheck || exit 1
|
|
|
|
echo "License check"
|
|
npm run license-checker || exit 1
|
|
npm run validate-config || exit 1
|