Skip to content

Commit 0a76e84

Browse files
authored
Merge branch 'quasarframework:dev' into dev
2 parents 9980487 + 0ad237f commit 0a76e84

File tree

2,446 files changed

+69868
-71028
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,446 files changed

+69868
-71028
lines changed

.github/ISSUE_TEMPLATE/bug-report--quasar-v1.yml

Lines changed: 0 additions & 142 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug-report--quasar-v2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ body:
4242
Fork one of the following, hit save then copy-paste the URL here:
4343
- [Codepen](https://codepen.quasar.dev)
4444
- [jsFiddle](https://jsfiddle.quasar.dev)
45-
- [StackBlitz - app-vite](https://stackblitz.com/fork/quasarframework)
46-
- [StackBlitz - app-webpack](https://stackblitz.com/fork/quasarframework-webpack)
45+
- [StackBlitz - app-vite](https://stackblitz-vite.quasar.dev)
46+
- [StackBlitz - app-webpack](https://stackblitz-webpack.quasar.dev)
4747
- [Codesandbox](https://codesandbox.quasar.dev)
4848
_You can provide a GitHub repo only as a last resort. Keep in mind that it will be prioritized less as it makes the reproduction process slower._
4949
placeholder: https://codepen.io/rstoenescu/pen/xxEvBLR - DO NOT use this example value or a random URL

.github/ISSUE_TEMPLATE/docs-report--quasar-v1.yml

Lines changed: 0 additions & 77 deletions
This file was deleted.

.github/workflows/build-types.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
uses: actions/upload-artifact@v4
8080
with:
8181
name: types-build
82+
include-hidden-files: true # to include the .pr-number file
8283
path: |
8384
ui/dist/api
8485
ui/dist/types

.github/workflows/process-created-issue.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
1818
env:
1919
# Mimic ternary operator, see https://github.com/actions/runner/issues/409#issuecomment-752775072
2020
TEMPLATE_TYPE: ${{ contains(github.event.issue.labels.*.name, 'kind/bug 🐞') && 'bug' || 'docs' }}
21-
TEMPLATE_VERSION: ${{ contains(github.event.issue.labels.*.name, 'Qv1') && 'v1' || 'v2' }}
21+
TEMPLATE_VERSION: 'v2'
22+
# TEMPLATE_VERSION: ${{ contains(github.event.issue.labels.*.name, 'Qv2') && 'v2' || 'v3' }} # uncomment when Quasar v3 is available
2223
steps:
2324
- uses: actions/checkout@v4
2425

@@ -34,7 +35,7 @@ jobs:
3435
Hi @${{ github.event.issue.user.login }}! 👋
3536
3637
It looks like you provided an invalid or unsupported reproduction URL.
37-
Do not use any service other than [Codepen](https://codepen.io), [jsFiddle](https://jsfiddle.net), [StackBlitz](https://stackblitz.com), [Codesandbox](https://codesandbox.io), and [GitHub](https://github.com).
38+
Do not use any service other than [Codepen](https://codepen.io), [jsFiddle](https://jsfiddle.net), [StackBlitz](https://stackblitz.com), [CodeSandbox](https://codesandbox.io), and [GitHub](https://github.com).
3839
Make sure the URL you provided is correct and reachable. You can test it by visiting it in a private tab, another device, etc.
3940
Please **edit your original post above** and provide a valid reproduction URL as explained.
4041

.github/workflows/project-creation-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,9 @@ jobs:
175175
echo $WAIT_ON_CONFIG > wait-on.json
176176
npx wait-on@7.2.0 --config wait-on.json --timeout 5000 http-get://127.0.0.1:9000
177177
else
178+
PORT=$([[ '${{ matrix.app-engine }}' == 'webpack-4' ]] && echo '9000' || echo '8080')
178179
# 15s is almost enough, but due to possible fluctuations in the CI environment, we set it higher than that
179-
npx wait-on@7.2.0 --timeout 20000 http-get://127.0.0.1:8080
180+
npx wait-on@7.2.0 --timeout 20000 http-get://127.0.0.1:$PORT
180181
fi
181182
182183
kill $!

.github/workflows/tests-on-pr-report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run_id: context.payload.workflow_run.id,
3939
});
4040
41-
const resultArtifacts = artifacts.filter(({ name }) => name.startsWith('test-results-'));
41+
const resultArtifacts = artifacts.filter(({ name }) => name.startsWith('test-results'));
4242
for (const artifact of resultArtifacts) {
4343
const { data: artifactData } = await github.rest.actions.downloadArtifact({
4444
owner: context.repo.owner,
@@ -70,5 +70,5 @@ jobs:
7070
commit: ${{ github.event.workflow_run.head_sha }}
7171
event_file: event-data/event.json
7272
event_name: ${{ github.event.workflow_run.event }}
73-
files: 'test-results/*/*.xml'
73+
files: 'test-results/*.xml'
7474
check_name: 'UI Tests Results'

.github/workflows/tests-on-pr.yml

Lines changed: 7 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- '.github/workflows/tests-on-pr.yml'
1010
- 'ui/**/*.js'
1111
- 'ui/package.json'
12-
- 'ui/dev/package.json'
12+
- 'ui/playground/package.json'
1313

1414
jobs:
1515
build:
@@ -63,7 +63,7 @@ jobs:
6363

6464
permissions:
6565
contents: read # to fetch code (actions/checkout)
66-
actions: read # to correctly identify workflow run (cypress-io/github-action)
66+
actions: read # to correctly identify workflow run
6767

6868
runs-on: ubuntu-latest
6969

@@ -73,10 +73,8 @@ jobs:
7373

7474
strategy:
7575
fail-fast: false
76-
matrix:
77-
browser: [chrome, firefox]
7876

79-
name: Tests on ${{ matrix.browser }}
77+
name: Tests
8078
steps:
8179
- name: Checkout code
8280
uses: actions/checkout@v4
@@ -93,25 +91,6 @@ jobs:
9391
- name: Install dependencies
9492
run: pnpm i
9593

96-
# We have to cache Cypress binary as well (https://on.cypress.io/not-installed-ci-error)
97-
- name: Get Cypress version
98-
id: cypress-version
99-
working-directory: ui
100-
run: |
101-
echo "CYPRESS_VERSION=$(pnpm why cypress --depth 0 --json | jq -r '.[0].devDependencies.cypress.version')" > $GITHUB_OUTPUT
102-
- name: Cache Cypress binary
103-
id: cypress-cache
104-
uses: actions/cache@v4
105-
with:
106-
# https://docs.cypress.io/guides/references/advanced-installation#Skipping-installation
107-
path: ~/.cache/Cypress
108-
key: cypress-cache-${{ steps.cypress-version.outputs.CYPRESS_VERSION }}
109-
restore-keys: |
110-
cypress-cache-
111-
- name: Install Cypress
112-
if: steps.cypress-cache.outputs.cache-hit != 'true'
113-
run: pnpm cypress install
114-
11594
- name: Download UI build artifact
11695
uses: actions/download-artifact@v4
11796
with:
@@ -124,23 +103,17 @@ jobs:
124103
name: vite-plugin-build
125104
path: vite-plugin/dist
126105

127-
- name: Run tests in ${{ matrix.browser }} browser
128-
uses: cypress-io/github-action@v6
129-
env:
130-
CYPRESS_JUNIT_RESULTS_FILENAME: test-results/${{ matrix.browser }}/[hash].xml
131-
with:
132-
install: false
133-
command: pnpm test:component:run --browser ${{ matrix.browser }}
134-
working-directory: ui
106+
- name: Run tests
107+
run: pnpm test
135108

136109
# Upload required artifacts to be used in tests-on-pr-report.yml
137110

138111
- name: Upload test results
139112
if: ${{ always() }}
140113
uses: actions/upload-artifact@v4
141114
with:
142-
name: test-results-${{ matrix.browser }}
143-
path: ui/dev/test-results
115+
name: test-results
116+
path: ui/testing/test-results
144117

145118
- name: Upload GitHub Actions event data
146119
if: ${{ always() }}

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# pnpm-related options
22
shamefully-hoist=true
33
strict-peer-dependencies=false
4+
link-workspace-packages=true

0 commit comments

Comments
 (0)