Skip to content

Commit 9935453

Browse files
committed
Merge remote-tracking branch 'upstream/main' into supabase-ssr
2 parents 4257092 + 38ae32d commit 9935453

File tree

192 files changed

+5784
-5381
lines changed

Some content is hidden

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

192 files changed

+5784
-5381
lines changed

.changeset/changelog-github-custom.ts

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@ const changelogFunctions: ChangelogFunctions = {
1212
'Please provide a repo to this changelog generator like this:\n"changelog": ["@changesets/changelog-github", { "repo": "org/repo" }]'
1313
);
1414
}
15-
if (dependenciesUpdated.length === 0) return '';
15+
if (dependenciesUpdated.length === 0) {
16+
return '';
17+
}
1618

1719
const changesetLink = `- Updated dependencies [${(
1820
await Promise.all(
1921
changesets.map(async (cs) => {
2022
if (cs.commit) {
21-
let { links } = await getInfo({
23+
const { links } = await getInfo({
2224
repo: options.repo,
2325
commit: cs.commit,
2426
});
@@ -45,12 +47,14 @@ const changelogFunctions: ChangelogFunctions = {
4547

4648
let prFromSummary: number | undefined;
4749
let commitFromSummary: string | undefined;
48-
let usersFromSummary: string[] = [];
50+
const usersFromSummary: string[] = [];
4951

5052
const replacedChangelog = changeset.summary
5153
.replace(/^\s*(?:pr|pull|pull\s+request):\s*#?(\d+)/im, (_, pr) => {
52-
let num = Number(pr);
53-
if (!isNaN(num)) prFromSummary = num;
54+
const num = Number(pr);
55+
if (!isNaN(num)) {
56+
prFromSummary = num;
57+
}
5458
return '';
5559
})
5660
.replace(/^\s*commit:\s*([^\s]+)/im, (_, commit) => {
@@ -91,7 +95,7 @@ const changelogFunctions: ChangelogFunctions = {
9195
}
9296
const commitToFetchFrom = commitFromSummary || changeset.commit;
9397
if (commitToFetchFrom) {
94-
let { links } = await getInfo({
98+
const { links } = await getInfo({
9599
repo: options.repo,
96100
commit: commitToFetchFrom,
97101
});

.changeset/every-humans-kiss.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'eslint-plugin-qwik': minor
3+
---
4+
5+
FEAT: our eslint plugin now supports eslint 9

.changeset/fair-cars-fry.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ The builtin service workers components are deprecated but still exist for backwa
2727

2828
Caching Headers:
2929

30-
The bundles under build/ are named with their content hash and may therefore be cached indefinitely. Typically you should serve `build/**/*.js` with `Cache-Control: public, max-age=31536000, immutable`.
30+
The files under build/ and assets/ are named with their content hash and may therefore be cached indefinitely. Typically you should serve `build/*` and `assets/*` with `Cache-Control: public, max-age=31536000, immutable`.
31+
32+
However, if you changed the rollup configuration for output filenames, you will have to adjust the caching configuration accordingly.
3133

3234
---
3335

@@ -41,7 +43,7 @@ export default function (opts: RenderToStreamOptions) {
4143
// Enable debug logging for preload operations
4244
debug: true,
4345
// Maximum simultaneous preload links
44-
maxBufferPreloads: 5,
46+
maxBufferedPreloads: 5,
4547
// Minimum probability threshold for preloading
4648
preloadProbability: 0.25
4749
// ...and more, see the type JSDoc on hover
@@ -58,4 +60,3 @@ npm run qwik add service-worker
5860
```
5961

6062
This will add a basic service worker setup that you can customize for specific caching strategies, offline support, or other PWA features beyond just prefetching.
61-

.changeset/gentle-bats-thank.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@builder.io/qwik-city': minor
3+
---
4+
5+
FIX: qwik-city no longer forces `q-data.json` downloads, instead relying on the cache headers. This means that you have to make sure your `q-data.json` is served with `Cache-Control` headers that suit you. That file contains all the information about the route and is read for each qwik-city navigation. By default the data is cached for one hour.

.changeset/giant-carpets-brake.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'create-qwik': patch
3+
'@builder.io/qwik-city': patch
4+
'@builder.io/qwik': patch
5+
---
6+
7+
Fix linting errors which were previously being ignored across the monorepo.

.changeset/grumpy-ladybugs-wonder.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'eslint-plugin-qwik': patch
3+
---
4+
5+
Improve types and README documentation with clear configuration examples for ESLint 9+ (flat config). Added `globalIgnores` for more clarity and `tseslint.config` for better type inference inside the `parserOptions` option.

.eslintignore

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

.eslintrc.cjs

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

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
**/api.md
1+
**/**.api.md
22
**/*.log
33
**/.DS_Store
44
*.

e2e/adapters-e2e/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
66
},
77
"private": true,
8-
"type": "module",
98
"scripts": {
109
"build": "qwik build",
1110
"build.client": "vite build",
@@ -15,16 +14,17 @@
1514
"deploy": "vercel deploy",
1615
"dev": "vite --mode ssr",
1716
"dev.debug": "node --inspect-brk ./node_modules/vite/bin/vite.js --mode ssr --force",
17+
"express": "pnpm build && pnpm serve",
1818
"fmt": "prettier --write .",
1919
"fmt.check": "prettier --check .",
2020
"lint": "eslint \"src/**/*.ts*\"",
2121
"preview": "qwik build preview && vite preview --open",
22-
"express": "pnpm build && pnpm serve",
22+
"qwik": "qwik",
2323
"serve": "node server/entry.express",
2424
"start": "vite --open --mode ssr",
25-
"qwik": "qwik",
2625
"test": "playwright test",
27-
"test.ui": "playwright test --ui",
28-
"test.debug": "playwright test --debug"
29-
}
26+
"test.debug": "playwright test --debug",
27+
"test.ui": "playwright test --ui"
28+
},
29+
"type": "module"
3030
}

0 commit comments

Comments
 (0)