Skip to content

Commit ac3ff0b

Browse files
authored
Merge pull request #1073 from maiieul/update-1.14.1
Update-1.14.1
2 parents cb89acc + ca6fba1 commit ac3ff0b

File tree

6 files changed

+59
-47
lines changed

6 files changed

+59
-47
lines changed

apps/website/src/components/search/search.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ export const Search = component$(({ isOpen }: { isOpen: Signal<boolean> }) => {
128128
class="w-full"
129129
mode="inline"
130130
filter={false}
131-
// @ts-expect-error bad types in core
132131
onChange$={(value: string) => {
133132
window.location.href = value;
134133
isOpen.value = false;

apps/website/src/entry.ssr.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ import Root from './root';
1616

1717
export default function (opts: RenderToStreamOptions) {
1818
return renderToStream(<Root />, {
19+
preloader: {
20+
ssrPreloads: 20,
21+
maxIdlePreloads: 25,
22+
},
1923
manifest,
2024
...opts,
2125
// Use container attributes to set attributes on the html tag.

apps/website/src/root.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import {
1616
ThemePrimaryColors,
1717
ThemeStyles,
1818
} from '@qwik-ui/utils';
19-
import { ModulePreload } from './components/module-preload/module-preload';
2019

2120
export default component$(() => {
2221
/**
@@ -60,7 +59,6 @@ export default component$(() => {
6059
</head>
6160
<body lang="en">
6261
<script dangerouslySetInnerHTML={unregisterPrefetchServiceWorkers} />
63-
<ModulePreload />
6462
<ThemeProvider
6563
attribute="class"
6664
enableSystem={false}

apps/website/vite.config.ts

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,6 @@ export default defineConfig(async () => {
99
const { default: rehypePrettyCode } = await import('rehype-pretty-code');
1010
const { visit } = await import('unist-util-visit');
1111

12-
// commented out as doesn't seem to work with import.meta.glob eager:false in preview
13-
// let output: any = {};
14-
// if (!isDev) {
15-
// // Client-specific configuration
16-
// output = {
17-
// // Customize the client build structure
18-
// entryFileNames: ({ name }: any) => {
19-
// if (name.startsWith('entry')) {
20-
// return '[name].mjs';
21-
// }
22-
// return `[name]-[hash].js`;
23-
// },
24-
// chunkFileNames: () => {
25-
// return `[name]-[hash].js`;
26-
// },
27-
// assetFileNames: `build/[name]-[hash].[ext]`,
28-
// };
29-
// }
30-
3112
return {
3213
plugins: [
3314
autoAPI(),
@@ -87,6 +68,8 @@ export default defineConfig(async () => {
8768
},
8869
}),
8970
tsconfigPaths({ root: '../../' }),
71+
// Uncomment for debugging preview with http2 via https
72+
// basicSsl(),
9073
],
9174

9275
server: {
@@ -100,11 +83,11 @@ export default defineConfig(async () => {
10083
rollupOptions: {
10184
output: {
10285
manualChunks: (id: string) => {
103-
if (id.includes('node-modules') && id.includes('css-tree')) {
86+
if (id.includes('node_modules') && id.includes('css-tree')) {
10487
return 'css-tree';
10588
}
10689
if (
107-
id.includes('node-modules') &&
90+
id.includes('node_modules') &&
10891
(id.includes('tailwind-merge') || id.includes('clsx'))
10992
) {
11093
return 'cn';

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
"packageManager": "[email protected]",
5050
"devDependencies": {
5151
"@axe-core/playwright": "^4.9.1",
52-
"@builder.io/qwik": "1.14.0",
53-
"@builder.io/qwik-city": "1.14.0",
52+
"@builder.io/qwik": "1.14.1",
53+
"@builder.io/qwik-city": "1.14.1",
5454
"@changesets/cli": "^2.27.3",
5555
"@changesets/get-github-info": "^0.6.0",
5656
"@changesets/types": "^6.0.0",
@@ -81,6 +81,7 @@
8181
"@types/node": "20.12.12",
8282
"@typescript-eslint/eslint-plugin": "7.9.0",
8383
"@typescript-eslint/parser": "7.9.0",
84+
"@vitejs/plugin-basic-ssl": "2.0.0",
8485
"@vitest/coverage-v8": "^1.6.0",
8586
"@vitest/ui": "^1.6.0",
8687
"ansis": "3.2.0",
@@ -97,7 +98,7 @@
9798
"eslint": "^8.57.0",
9899
"eslint-config-prettier": "^9.1.0",
99100
"eslint-plugin-playwright": "^1.6.2",
100-
"eslint-plugin-qwik": "1.14.0",
101+
"eslint-plugin-qwik": "1.14.1",
101102
"focus-trap": "7.5.4",
102103
"jest": "^29.7.0",
103104
"jest-environment-jsdom": "^29.7.0",

pnpm-lock.yaml

Lines changed: 47 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)