Skip to content

Update-1.14.1 #1073

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion apps/website/src/components/search/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ export const Search = component$(({ isOpen }: { isOpen: Signal<boolean> }) => {
class="w-full"
mode="inline"
filter={false}
// @ts-expect-error bad types in core
onChange$={(value: string) => {
window.location.href = value;
isOpen.value = false;
Expand Down
4 changes: 4 additions & 0 deletions apps/website/src/entry.ssr.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ import Root from './root';

export default function (opts: RenderToStreamOptions) {
return renderToStream(<Root />, {
preloader: {
ssrPreloads: 20,
maxIdlePreloads: 25,
},
manifest,
...opts,
// Use container attributes to set attributes on the html tag.
Expand Down
2 changes: 0 additions & 2 deletions apps/website/src/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {
ThemePrimaryColors,
ThemeStyles,
} from '@qwik-ui/utils';
import { ModulePreload } from './components/module-preload/module-preload';

export default component$(() => {
/**
Expand Down Expand Up @@ -60,7 +59,6 @@ export default component$(() => {
</head>
<body lang="en">
<script dangerouslySetInnerHTML={unregisterPrefetchServiceWorkers} />
<ModulePreload />
<ThemeProvider
attribute="class"
enableSystem={false}
Expand Down
25 changes: 4 additions & 21 deletions apps/website/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,6 @@ export default defineConfig(async () => {
const { default: rehypePrettyCode } = await import('rehype-pretty-code');
const { visit } = await import('unist-util-visit');

// commented out as doesn't seem to work with import.meta.glob eager:false in preview
// let output: any = {};
// if (!isDev) {
// // Client-specific configuration
// output = {
// // Customize the client build structure
// entryFileNames: ({ name }: any) => {
// if (name.startsWith('entry')) {
// return '[name].mjs';
// }
// return `[name]-[hash].js`;
// },
// chunkFileNames: () => {
// return `[name]-[hash].js`;
// },
// assetFileNames: `build/[name]-[hash].[ext]`,
// };
// }

return {
plugins: [
autoAPI(),
Expand Down Expand Up @@ -87,6 +68,8 @@ export default defineConfig(async () => {
},
}),
tsconfigPaths({ root: '../../' }),
// Uncomment for debugging preview with http2 via https
// basicSsl(),
],

server: {
Expand All @@ -100,11 +83,11 @@ export default defineConfig(async () => {
rollupOptions: {
output: {
manualChunks: (id: string) => {
if (id.includes('node-modules') && id.includes('css-tree')) {
if (id.includes('node_modules') && id.includes('css-tree')) {
return 'css-tree';
}
if (
id.includes('node-modules') &&
id.includes('node_modules') &&
(id.includes('tailwind-merge') || id.includes('clsx'))
) {
return 'cn';
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"packageManager": "[email protected]",
"devDependencies": {
"@axe-core/playwright": "^4.9.1",
"@builder.io/qwik": "1.14.0",
"@builder.io/qwik-city": "1.14.0",
"@builder.io/qwik": "1.14.1",
"@builder.io/qwik-city": "1.14.1",
"@changesets/cli": "^2.27.3",
"@changesets/get-github-info": "^0.6.0",
"@changesets/types": "^6.0.0",
Expand Down Expand Up @@ -81,6 +81,7 @@
"@types/node": "20.12.12",
"@typescript-eslint/eslint-plugin": "7.9.0",
"@typescript-eslint/parser": "7.9.0",
"@vitejs/plugin-basic-ssl": "2.0.0",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"ansis": "3.2.0",
Expand All @@ -97,7 +98,7 @@
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-playwright": "^1.6.2",
"eslint-plugin-qwik": "1.14.0",
"eslint-plugin-qwik": "1.14.1",
"focus-trap": "7.5.4",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
Expand Down
67 changes: 47 additions & 20 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.