Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ansible/ansible-hub-ui
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.9.2
Choose a base ref
...
head repository: ansible/ansible-hub-ui
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: stable-4.9
Choose a head ref
Loading
Showing with 3,794 additions and 5,602 deletions.
  1. +9 −9 .babelrc
  2. +0 −55 .eslintrc
  3. +2 −2 .github/workflows/automerge.yml
  4. +28 −26 .github/workflows/cypress.yml
  5. +1 −0 .github/workflows/cypress/{compose.env.common → compose.env}
  6. +0 −1 .github/workflows/cypress/compose.env.standalone
  7. 0 .github/workflows/cypress/{cypress.env.json.standalone → cypress.env.json}
  8. +23 −16 .github/workflows/pr-checks.yml
  9. +6 −5 .github/workflows/stable-release.yml
  10. +0 −6 .ls-lint.yml
  11. +7 −8 .prettierignore
  12. +1 −0 .prettierrc.yaml
  13. +4 −4 CHANGES.rst
  14. +1 −1 Dockerfile
  15. +72 −17 README.md
  16. +0 −5 config/.eslintrc
  17. +12 −12 config/standalone.dev.webpack.config.js
  18. +1 −3 config/standalone.prod.webpack.config.js
  19. +22 −8 config/webpack.base.config.js
  20. +4 −11 developer_guidelines.md
  21. +122 −0 eslint.config.mjs
  22. +1 −1 locale/en.js
  23. +1 −1 locale/es.js
  24. +1 −1 locale/fr.js
  25. +1 −1 locale/ja.js
  26. +1 −1 locale/ko.js
  27. +1 −1 locale/nl.js
  28. +1 −1 locale/zh.js
  29. +2,415 −3,282 package-lock.json
  30. +36 −41 package.json
  31. +2 −2 src/actions/action.tsx
  32. +9 −4 src/actions/ansible-repository-collection-version-add.tsx
  33. +1 −1 src/actions/ansible-repository-sync.tsx
  34. +1 −1 src/actions/ansible-repository-version-revert.tsx
  35. +1 −1 src/api/active-user.ts
  36. +1 −1 src/api/ansible-remote.ts
  37. +4 −4 src/api/collection.ts
  38. +3 −3 src/api/container-tag.ts
  39. +1 −1 src/api/execution-environment-registry.ts
  40. +1 −1 src/api/response-types/ansible-repository.ts
  41. +1 −1 src/api/response-types/execution-environment.ts
  42. +1 −1 src/api/response-types/import.ts
  43. +1 −1 src/api/response-types/namespace.ts
  44. +2 −2 src/api/response-types/remote.ts
  45. +1 −1 src/api/response-types/task.ts
  46. +1 −1 src/api/sign-collections.ts
  47. +9 −57 src/components/about-modal/about-modal.tsx
  48. +2 −2 src/components/approval/approval-row.tsx
  49. +4 −4 src/components/approval/approve-modal.tsx
  50. +3 −3 src/components/cards/collection-card.tsx
  51. +1 −1 src/components/collection-dependencies-list/collection-dependencies-list.tsx
  52. +1 −1 src/components/collection-dependencies-list/collection-usedby-dependencies-list.tsx
  53. +1 −1 src/components/collection-detail/collection-content-list.tsx
  54. +2 −2 src/components/collection-detail/collection-dropdown.tsx
  55. +9 −9 src/components/collection-detail/collection-info.tsx
  56. +3 −3 src/components/collection-detail/download-signature-grid-item.tsx
  57. +3 −3 src/components/collection-detail/table-of-contents.tsx
  58. +3 −3 src/components/collection-list/collection-list-item.tsx
  59. +1 −1 src/components/collection-list/collection-list.tsx
  60. +1 −1 src/components/confirm-modal/confirm-modal.tsx
  61. +4 −4 src/components/copy-collection-to-repository-modal/copy-collection-to-repository-modal.tsx
  62. +1 −1 src/components/delete-modal/delete-collection-modal.tsx
  63. +1 −2 src/components/delete-modal/delete-execution-environment-modal.tsx
  64. +7 −2 src/components/delete-modal/delete-modal.tsx
  65. +5 −3 src/components/empty-state/empty-state-custom.tsx
  66. +1 −2 src/components/empty-state/empty-state-no-data.tsx
  67. +1 −1 src/components/empty-state/empty-state-xs.tsx
  68. +1 −1 src/components/execution-environment-header/execution-environment-header.tsx
  69. +11 −16 src/components/execution-environment/repository-form.tsx
  70. +6 −6 src/components/execution-environment/tag-manifest-modal.tsx
  71. +10 −10 src/components/headers/collection-header.tsx
  72. +3 −3 src/components/headers/partner-header.tsx
  73. +5 −5 src/components/import-modal/import-modal.tsx
  74. +1 −1 src/components/legacy-namespace-list/legacy-namespace-item.tsx
  75. +1 −1 src/components/legacy-role-list/legacy-role-item.tsx
  76. +2 −2 src/components/logo/logo.tsx
  77. +1 −1 src/components/logo/small-logo.tsx
  78. +3 −3 src/components/my-imports/import-console.tsx
  79. +2 −2 src/components/my-imports/import-list.tsx
  80. +2 −2 src/components/namespace-form/namespace-form.tsx
  81. +2 −2 src/components/namespace-form/resources-form.tsx
  82. +1 −1 src/components/namespace-modal/namespace-modal.tsx
  83. +6 −6 src/components/page/list-page.tsx
  84. +6 −6 src/components/page/page-with-tabs.tsx
  85. +6 −6 src/components/page/page.tsx
  86. +0 −5 src/components/patternfly-wrappers/.eslintrc
  87. +1 −1 src/components/patternfly-wrappers/file-upload.tsx
  88. +1 −1 src/components/patternfly-wrappers/label-group.tsx
  89. +5 −2 src/components/patternfly-wrappers/tooltip.tsx
  90. +1 −1 src/components/rbac/access-tab.tsx
  91. +1 −1 src/components/rbac/delete-group-modal.tsx
  92. +1 −1 src/components/rbac/delete-user-modal.tsx
  93. +3 −3 src/components/rbac/group-modal.tsx
  94. +1 −1 src/components/rbac/permission-categories.tsx
  95. +1 −7 src/components/rbac/permission-chip-selector.tsx
  96. +3 −3 src/components/rbac/preview-roles.tsx
  97. +3 −3 src/components/rbac/role-form.tsx
  98. +1 −1 src/components/rbac/role-header.tsx
  99. +1 −1 src/components/rbac/role-permissions.tsx
  100. +1 −1 src/components/rbac/select-group.tsx
  101. +1 −1 src/components/rbac/select-roles.tsx
  102. +3 −3 src/components/rbac/user-form-page.tsx
  103. +4 −4 src/components/rbac/user-form.tsx
  104. +5 −5 src/components/render-plugin-doc/render-plugin-doc.tsx
  105. +2 −2 src/components/repo-selector/multiple-repo-selector.tsx
  106. +2 −2 src/components/repo-selector/repo-selector.tsx
  107. +2 −2 src/components/repositories/ansible-repository-form.tsx
  108. +1 −1 src/components/repositories/lazy-repositories.tsx
  109. +3 −3 src/components/repositories/remote-form.tsx
  110. +2 −2 src/components/shared/alert-list.tsx
  111. +1 −1 src/components/shared/applied-filters.tsx
  112. +2 −2 src/components/shared/data-form.tsx
  113. +5 −5 src/components/shared/detail-list.tsx
  114. +1 −1 src/components/shared/external-link.tsx
  115. +4 −4 src/components/shared/hub-list-toolbar.tsx
  116. +2 −2 src/components/shared/login-link.tsx
  117. +4 −4 src/components/shared/multi-repo-modal.tsx
  118. +1 −1 src/components/shared/multi-search-search.tsx
  119. +1 −1 src/components/shared/wizard-modal.tsx
  120. +2 −2 src/components/signing/signature-badge.tsx
  121. +1 −1 src/components/status/status-indicator.tsx
  122. +1 −5 src/components/typeahead/typeahead.tsx
  123. +1 −1 src/containers/ansible-remote/detail.tsx
  124. +2 −2 src/containers/ansible-remote/edit.tsx
  125. +1 −1 src/containers/ansible-remote/list.tsx
  126. +3 −3 src/containers/ansible-remote/tab-access.tsx
  127. +1 −1 src/containers/ansible-remote/tab-details.tsx
  128. +8 −4 src/containers/ansible-repository/detail.tsx
  129. +1 −1 src/containers/ansible-repository/edit.tsx
  130. +1 −1 src/containers/ansible-repository/list.tsx
  131. +3 −3 src/containers/ansible-repository/tab-access.tsx
  132. +2 −2 src/containers/ansible-repository/tab-collection-versions.tsx
  133. +1 −1 src/containers/ansible-repository/tab-details.tsx
  134. +2 −2 src/containers/ansible-repository/tab-repository-versions.tsx
  135. +4 −4 src/containers/ansible-role/namespace-detail.tsx
  136. +3 −3 src/containers/ansible-role/namespace-list.tsx
  137. +5 −5 src/containers/ansible-role/role-detail.tsx
  138. +4 −4 src/containers/ansible-role/role-list.tsx
  139. +8 −10 src/containers/certification-dashboard/certification-dashboard.tsx
  140. +4 −4 src/containers/collection-detail/base.ts
  141. +2 −2 src/containers/collection-detail/collection-content.tsx
  142. +11 −7 src/containers/collection-detail/collection-dependencies.tsx
  143. +2 −2 src/containers/collection-detail/collection-detail.tsx
  144. +1 −1 src/containers/collection-detail/collection-distributions.tsx
  145. +8 −4 src/containers/collection-detail/collection-docs.tsx
  146. +4 −4 src/containers/collection-detail/collection-import-log.tsx
  147. +10 −5 src/containers/edit-namespace/edit-namespace.tsx
  148. +3 −3 src/containers/execution-environment-detail/base.tsx
  149. +6 −4 src/containers/execution-environment-detail/execution_environment_detail.tsx
  150. +9 −5 src/containers/execution-environment-detail/execution_environment_detail_access.tsx
  151. +2 −2 src/containers/execution-environment-detail/execution_environment_detail_activities.tsx
  152. +3 −3 src/containers/execution-environment-detail/execution_environment_detail_images.tsx
  153. +3 −3 src/containers/execution-environment-list/execution_environment_list.tsx
  154. +2 −2 src/containers/execution-environment-manifest/execution-environment-manifest.tsx
  155. +4 −4 src/containers/execution-environment/registry-list.tsx
  156. +6 −6 src/containers/group-management/group-detail-role-management/group-detail-role-management.tsx
  157. +13 −9 src/containers/group-management/group-detail.tsx
  158. +8 −7 src/containers/group-management/group-list.tsx
  159. +2 −2 src/containers/login/login.tsx
  160. +6 −6 src/containers/my-imports/my-imports.tsx
  161. +6 −6 src/containers/namespace-detail/namespace-detail.tsx
  162. +2 −2 src/containers/namespace-list/my-namespaces.tsx
  163. +4 −4 src/containers/namespace-list/namespace-list.tsx
  164. +1 −1 src/containers/namespace-list/partners.tsx
  165. +7 −11 src/containers/not-found/dispatch.tsx
  166. +1 −1 src/containers/not-found/not-found.tsx
  167. +2 −2 src/containers/role-management/role-create.tsx
  168. +7 −6 src/containers/role-management/role-edit.tsx
  169. +6 −5 src/containers/role-management/role-list.tsx
  170. +7 −7 src/containers/search/multi-search.tsx
  171. +5 −5 src/containers/search/search.tsx
  172. +9 −5 src/containers/settings/user-profile.tsx
  173. +10 −5 src/containers/signature-keys/list.tsx
  174. +6 −6 src/containers/task-management/task-list-view.tsx
  175. +4 −4 src/containers/task-management/task_detail.tsx
  176. +2 −3 src/containers/token/token-standalone.tsx
  177. +4 −4 src/containers/user-management/user-create.tsx
  178. +7 −3 src/containers/user-management/user-detail.tsx
  179. +7 −3 src/containers/user-management/user-edit.tsx
  180. +4 −4 src/containers/user-management/user-list.tsx
  181. +8 −8 src/index.html
  182. +7 −3 src/loaders/app-context.ts
  183. +4 −4 src/loaders/load-context.ts
  184. +4 −4 src/loaders/standalone/layout.tsx
  185. +6 −2 src/loaders/standalone/loader.tsx
  186. +9 −5 src/loaders/standalone/routes.tsx
  187. +1 −1 src/paths.ts
  188. +5 −1 src/permissions.ts
  189. +1 −1 src/utilities/can-sign.tsx
  190. +1 −1 src/utilities/content-summary.ts
  191. +1 −1 src/utilities/delete-collection.tsx
  192. +1 −1 src/utilities/map-error-messages.ts
  193. +1 −1 src/utilities/with-router.tsx
  194. +1 −1 src/utilities/write-only-fields.ts
  195. +0 −15 test/.eslintrc
  196. +1 −1 test/README.md
  197. +2 −2 test/cypress.env.json.template
  198. +3 −5 test/cypress/e2e/approval/approval_dashboard_list.js
  199. +4 −2 test/cypress/e2e/approval/approval_process.js
  200. +95 −53 test/cypress/e2e/collections/collection.js
  201. +12 −12 test/cypress/e2e/collections/collection_detail.js
  202. +14 −4 test/cypress/e2e/collections/collection_upload.js
  203. +7 −43 test/cypress/e2e/collections/collections_list.js
  204. +0 −1 test/cypress/e2e/collections/compose.env
  205. +3 −3 test/cypress/e2e/ee_controller/execution_environments_use_in_controller.js
  206. +3 −2 test/cypress/e2e/execution_environments/execution_environments.js
  207. +2 −2 test/cypress/e2e/execution_environments/execution_environments_edit.js
  208. +2 −1 test/cypress/e2e/misc/docs_menu.js
  209. +4 −1 test/cypress/e2e/misc/profile.js
  210. +14 −9 test/cypress/e2e/misc/rbac.js
  211. +1 −0 test/cypress/e2e/namespaces/namespace_delete.js
  212. +9 −2 test/cypress/e2e/namespaces/namespace_detail.js
  213. +1 −0 test/cypress/e2e/repo/container-signing.js
  214. +13 −11 test/cypress/support/commands.js
  215. +280 −1,359 test/package-lock.json
  216. +2 −8 test/package.json
  217. +2 −1 tsconfig.json
18 changes: 9 additions & 9 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-react",
"@babel/preset-typescript",
],
"plugins": [
"@babel/plugin-transform-runtime",
"babel-plugin-macros",
]
"presets": [
"@babel/preset-env",
"@babel/preset-react",
"@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-transform-runtime",
"babel-plugin-macros"
]
}
55 changes: 0 additions & 55 deletions .eslintrc

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -13,10 +13,10 @@ jobs:
- name: "Checkout ansible-hub-ui (${{ github.ref }})"
uses: actions/checkout@v4

- name: "Install node 18"
- name: "Install node 20"
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'

- name: "Check automerge conditions"
working-directory: ".github/workflows"
54 changes: 28 additions & 26 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
@@ -23,7 +23,6 @@ jobs:
fail-fast: false
matrix:
test:
- 'screenshots'
- 'approval'
- 'approval_modal'
- 'collections'
@@ -34,6 +33,7 @@ jobs:
- 'misc'
- 'namespaces'
- 'repo'
- 'screenshots'

steps:

@@ -61,11 +61,6 @@ jobs:
UI_COMMIT_BASE=`curl -s https://api.github.com/repos/ansible/ansible-hub-ui/branches/${SHORT_BRANCH} | jq -r .commit.sha`
echo "UI_COMMIT_BASE=${UI_COMMIT_BASE}" >> $GITHUB_ENV
COMPARE_SCREENSHOTS=${{ github.event_name == 'pull_request' }}
echo 'compare screenshots:'
echo $COMPARE_SCREENSHOTS
echo "COMPARE_SCREENSHOTS=${COMPARE_SCREENSHOTS}" >> $GITHUB_ENV
- name: "Checkout ansible-hub-ui (${{ github.ref }})"
uses: actions/checkout@v4
with:
@@ -89,11 +84,18 @@ jobs:
run: |
pip install --editable ./client/
# merge common, profile-specific and test matrix specific config
cat ../ansible-hub-ui/.github/workflows/cypress/compose.env.common \
../ansible-hub-ui/.github/workflows/cypress/compose.env.standalone \
cat ../ansible-hub-ui/.github/workflows/cypress/compose.env \
../ansible-hub-ui/test/cypress/e2e/"${{ matrix.test }}"/compose.env \
| sed 's/^\s\+//' | tee compose.env || [ -s compose.env ]
# oci-env compose build: FileNotFoundError: [Errno 2] No such file or directory: 'docker-compose'
- name: "Provide docker-compose"
run: |
mkdir -p /home/runner/.local/bin/
cd /home/runner/.local/bin/
( echo '#!/bin/sh' ; echo 'docker compose "$@"' ) > docker-compose
chmod +x docker-compose
- name: "oci-env compose build"
working-directory: 'oci_env'
run: 'oci-env compose build'
@@ -102,10 +104,10 @@ jobs:
working-directory: 'oci_env'
run: 'oci-env compose up &'

- name: "Install node 18"
- name: "Install node 20"
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'

- name: "Cache ~/.npm & ~/.cache/Cypress"
uses: actions/cache@v4
@@ -164,22 +166,22 @@ jobs:
- name: "Configure Cypress"
working-directory: 'ansible-hub-ui/test'
run: |
cp -aiv ../.github/workflows/cypress/cypress.env.json.standalone cypress.env.json
cp -aiv ../.github/workflows/cypress/cypress.env.json cypress.env.json
- name: "Ensure index.html uses the new js"
run: |
echo 'expecting /static/galaxy_ng/js/App.'"$BUILD_HASH"'.js'
curl http://localhost:8002/static/galaxy_ng/index.html | tee /dev/stderr | grep '/static/galaxy_ng/js/App.'"$BUILD_HASH"'.js'
- name: "Ensure galaxykit can connect to API (standalone)"
- name: "Ensure galaxykit can connect to API"
run: |
galaxykit -s http://localhost:8002/api/galaxy/ -u admin -p admin collection list
- name: "Check initial feature flags (standalone)"
- name: "Check initial feature flags"
run: |
curl -s http://localhost:5001/api/galaxy/_ui/v1/feature-flags/ | jq
- name: "Check component versions & settings (standalone)"
- name: "Check component versions & settings"
run: |
HUB_TOKEN=`curl -s -u admin:admin -d '' http://localhost:5001/api/galaxy/v3/auth/token/ | jq -r .token`
curl -s -H "Authorization: Token $HUB_TOKEN" http://localhost:5001/api/galaxy/ | jq
@@ -200,7 +202,7 @@ jobs:
screenshots-${{env.SHORT_BRANCH}}-
- name: "List cached screenshots"
if: ${{ matrix.test == 'screenshots' && env.COMPARE_SCREENSHOTS == 'true' }}
if: ${{ matrix.test == 'screenshots' && github.event_name == 'pull_request' }}
run: |
ls ansible-hub-ui/test/screenshots-base/
@@ -222,32 +224,32 @@ jobs:
ls ansible-hub-ui/test/cypress/screenshots/screenshots/screenshots.js/
- name: "Compare screenshots"
if: ${{ matrix.test == 'screenshots' && env.COMPARE_SCREENSHOTS == 'true' }}
if: ${{ matrix.test == 'screenshots' && github.event_name == 'pull_request' }}
working-directory: 'ansible-hub-ui/test'
run: |
changed=false
for orig in screenshots-base/*; do
echo $orig
new=cypress/screenshots/screenshots/screenshots.js/"$(basename "$orig")"
diff=cypress/screenshots/screenshots/diff--"$(basename "$orig")"
name=`basename "$orig"`
new="cypress/screenshots/screenshots/screenshots.js/$name"
diff="cypress/screenshots/screenshots/diff--$name"
num=$(compare -metric RMSE "$orig" "$new" "$diff" 2>&1 | awk '{ print $1 }')
echo $num
num=$(compare -metric RMSE -fuzz 5% "$orig" "$new" "$diff" 2>&1 | awk '{ print $1 }')
num=${num%.*}
if [ "$num" -gt 10 ]; then
echo "screenshot $orig changed: $num" 1>&2
if [ "$num" -gt 64 ]; then
echo "screenshot $name changed: $num" 1>&2
changed=true
fi
done
if [ "$changed" = true ]; then
echo "Process failed because change occured"
cp -a screenshots-base cypress/screenshots/screenshots/0-before
mv cypress/screenshots/screenshots/{screenshots.js,1-after}
exit 1
fi
- name: "Move cached screenshots"
if: ${{ matrix.test == 'screenshots' && env.COMPARE_SCREENSHOTS == 'false' }}
- name: "Move screenshots to cache"
if: ${{ matrix.test == 'screenshots' && github.event_name != 'pull_request' }}
working-directory: 'ansible-hub-ui/test'
run: |
rm -rf screenshots-base/
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
API_PORT=5001
COMPOSE_BINARY=docker
COMPOSE_PROFILE=galaxy_ng/base
DEV_SOURCE_PATH=galaxy_ng
DJANGO_SUPERUSER_PASSWORD=admin
DJANGO_SUPERUSER_USERNAME=admin
1 change: 0 additions & 1 deletion .github/workflows/cypress/compose.env.standalone

This file was deleted.

File renamed without changes.
39 changes: 23 additions & 16 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
@@ -13,12 +13,17 @@ jobs:
- name: "Checkout ansible-hub-ui (${{ github.ref }})"
uses: actions/checkout@v4

- name: "Install node 18"
- name: "Install node 20"
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
cache: 'npm'

- name: "Install python 3.11"
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: "Checks"
run: |
# fail if npm install had to change package-lock.json
@@ -88,42 +93,44 @@ jobs:
with:
path: 'pr'

- name: "Install node 18"
- name: "Install node 20"
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
cache: 'npm'
cache-dependency-path: |
base/package-lock.json
pr/package-lock.json
- name: 'npm install (base)'
working-directory: 'base'
run: 'npm install'

- name: 'npm install (pr)'
working-directory: 'pr'
run: 'npm install'

- name: "Diff configs"
run: |
mkdir ~/webpack-config/
# eliminate differences caused by branch name based logic in f-c-config
export BRANCH="${{ github.base_ref }}"
for version in base pr; do
mkdir ~/webpack-config/$version/
pushd $version/config/
npm install
for file in *.js; do
# FIXME: that's what TARGET_ENVIRONMENT is for
NODE_ENV=
if grep -q prod <<< "$file"; then
NODE_ENV=production
fi
export NODE_ENV
# eliminate differences caused by branch name based logic in f-c-config
export BRANCH="${{ github.base_ref }}"
for file in *.webpack.config.js; do
export NODE_ENV=`grep -q '\.prod\.' <<< "$file" && echo production || echo development`
node -e 'console.log(JSON.stringify(require("./'"$file"'"), null, 2))' |
sed -e 's/\/home\/.*\/\(base\|pr\)\//\/DIR\//g' \
-e 's/"UI_COMMIT_HASH": ".*"/"UI_COMMIT_HASH": "HASH"/' |
perl -ne 'print unless /^[0-9a-f]{64,64}$/d' |
grep -v '^Current branch:' |
grep -v '^Waiting for ' |
grep -v '^Root folder:' > ~/webpack-config/"$version"/"$file".json
grep -v 'Root folder:' > ~/webpack-config/"$version"/"$file".json
done
popd
11 changes: 6 additions & 5 deletions .github/workflows/stable-release.yml
Original file line number Diff line number Diff line change
@@ -4,9 +4,10 @@ name: "Stable release"
on:
push:
tags:
- '[0-9]+.[0-9]+.**'
- '!dev'
- '!**cloud**'
- '[0-9]+.[0-9]+.*'
- '!dev*'
- '!cloud-*'
- '!crc-*'

concurrency:
group: stable-release-${{ github.ref }}
@@ -28,10 +29,10 @@ jobs:
RELEASE_TAG=`sed 's/^refs\/tags\///' <<< $GITHUB_REF`
echo "RELEASE_TAG=${RELEASE_TAG}" >> $GITHUB_ENV
- name: "Install node 18"
- name: "Install node 20"
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'

- name: "Cache ~/.npm"
uses: actions/cache@v4
6 changes: 0 additions & 6 deletions .ls-lint.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
ls:
.travis:
.js: snake_case

config:
.js: point.case | kebab-case

src/loaders/insights:
.js: kebab-case | PascalCase

src/utilities:
.js: camelCase | snake_case

15 changes: 7 additions & 8 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
src/index.html
*.json
.*.sw[po]
*.xml
*.sh
Dockerfile
.DS_Store
*.md
*.png
*.mp4
*.png
*.po
*.sh
*.xml
.*.sw[po]
.DS_Store
Dockerfile
test/cypress.env.json.template
test/cypress/fixtures/
test/cypress/e2e/*/compose.env
test/cypress/fixtures/
1 change: 1 addition & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@ importOrder:
- '^[.][.]/app.scss'
- '<THIRD_PARTY_MODULES>'
- "^src/"
- "^static/"
- "^[./]"
importOrderSortSpecifiers: true
plugins:
Loading