├── .nvmrc ├── .node-version ├── packages ├── insights │ ├── .node-version │ ├── public │ │ ├── robots.txt │ │ ├── _headers │ │ └── manifest.json │ ├── .npmrc │ ├── .env │ ├── drizzle │ │ ├── 0015_complete_wolf_cub.sql │ │ ├── 0003_late_titanium_man.sql │ │ ├── 0009_flat_celestials.sql │ │ ├── 0019_known_satana.sql │ │ ├── 0001_sweet_virginia_dare.sql │ │ ├── 0008_handy_baron_zemo.sql │ │ ├── 0013_brave_venus.sql │ │ ├── 0010_typical_lockheed.sql │ │ ├── 0018_heavy_toad.sql │ │ ├── 0017_pink_maestro.sql │ │ └── 0004_secret_justice.sql │ ├── src │ │ ├── routes │ │ │ └── app │ │ │ │ └── add │ │ │ │ └── styles.module.css │ │ ├── fonts │ │ │ ├── poppins-400.woff2 │ │ │ ├── poppins-500.woff2 │ │ │ └── poppins-700.woff2 │ │ ├── db │ │ │ └── README.md │ │ └── components │ │ │ ├── bundle │ │ │ └── index.tsx │ │ │ └── minifest-tile │ │ │ └── index.tsx │ ├── .vscode │ │ └── extensions.json │ └── vitest.config.ts ├── qwik-dom │ └── lib │ │ ├── sloppy.js │ │ ├── index.d.ts │ │ ├── events.js │ │ ├── config.js │ │ ├── WindowTimers.js │ │ └── NodeList.es5.js ├── qwik │ ├── .npmignore │ ├── src │ │ ├── testing │ │ │ └── index.ts │ │ ├── cli │ │ │ ├── qwik.cjs │ │ │ ├── index.ts │ │ │ ├── new │ │ │ │ └── utils.ts │ │ │ ├── migrate-v2 │ │ │ │ └── versions.ts │ │ │ └── joke │ │ │ │ └── run-joke-command.ts │ │ ├── napi │ │ │ ├── build.rs │ │ │ └── napi.config.json │ │ ├── core │ │ │ ├── render │ │ │ │ └── jsx │ │ │ │ │ └── README.md │ │ │ ├── util │ │ │ │ ├── README.md │ │ │ │ ├── case.ts │ │ │ │ ├── flyweight.ts │ │ │ │ ├── hash_code.ts │ │ │ │ └── case.unit.ts │ │ │ ├── version.ts │ │ │ └── document.ts │ │ ├── optimizer │ │ │ ├── core │ │ │ │ ├── Makefile │ │ │ │ └── src │ │ │ │ │ └── errors.rs │ │ │ ├── src │ │ │ │ ├── versions.ts │ │ │ │ └── scripts.ts │ │ │ └── cli │ │ │ │ └── Cargo.toml │ │ ├── jsx-runtime.ts │ │ └── build │ │ │ ├── index.dev.ts │ │ │ └── index.prod.ts │ ├── build.d.ts │ ├── loader.d.ts │ ├── server.d.ts │ ├── testing.d.ts │ ├── optimizer.d.ts │ ├── jsx-runtime.d.ts │ ├── jsx-dev-runtime.d.ts │ ├── qwik-cli.cjs │ └── global.d.ts ├── docs │ ├── .node-version │ ├── .npmrc │ ├── src │ │ ├── components │ │ │ ├── docsearch │ │ │ │ ├── version.ts │ │ │ │ ├── constants.ts │ │ │ │ ├── utils │ │ │ │ │ ├── noop.ts │ │ │ │ │ ├── identity.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── isSamsung.ts │ │ │ │ ├── context.ts │ │ │ │ ├── types │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── StoredDocSearchHit.ts │ │ │ │ │ └── InternalDocSearchHit.ts │ │ │ │ ├── start-screen.tsx │ │ │ │ └── README.md │ │ │ ├── theme-toggle │ │ │ │ └── README.md │ │ │ └── copy-code │ │ │ │ └── copy-code.css │ │ ├── routes │ │ │ ├── 404 │ │ │ │ └── index.tsx │ │ │ ├── repl │ │ │ │ └── repl-sw.js │ │ │ │ │ └── entry.ts │ │ │ ├── demo │ │ │ │ ├── getting-started │ │ │ │ │ ├── 06-styling │ │ │ │ │ │ └── index.css │ │ │ │ │ └── 01-route │ │ │ │ │ │ └── index.tsx │ │ │ │ ├── component │ │ │ │ │ ├── simple │ │ │ │ │ │ └── index.tsx │ │ │ │ │ ├── child │ │ │ │ │ │ └── index.tsx │ │ │ │ │ └── lazy │ │ │ │ │ │ └── index.tsx │ │ │ │ ├── cookbook │ │ │ │ │ ├── portal │ │ │ │ │ │ └── popup-example.css │ │ │ │ │ └── glob-import │ │ │ │ │ │ └── examples │ │ │ │ │ │ ├── example1.tsx │ │ │ │ │ │ ├── example2.tsx │ │ │ │ │ │ └── example3.tsx │ │ │ │ ├── .prettierrc.json │ │ │ │ ├── qwikcity │ │ │ │ │ └── middleware │ │ │ │ │ │ ├── exit │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── json │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── method │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── text │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── params │ │ │ │ │ │ └── [myId] │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── url │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── platform │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── basePathname │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── error │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── query │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── redirect │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── request │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── proxy │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── cookie │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── html │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ └── env │ │ │ │ │ │ └── index.tsx │ │ │ │ ├── state │ │ │ │ │ ├── counter-signal │ │ │ │ │ │ ├── .prettierrc.json │ │ │ │ │ │ └── index.tsx │ │ │ │ │ ├── no-serialize │ │ │ │ │ │ └── monaco.tsx │ │ │ │ │ └── counter │ │ │ │ │ │ └── index.tsx │ │ │ │ └── react │ │ │ │ │ ├── slider │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── react.tsx │ │ │ │ │ ├── counter-simple │ │ │ │ │ └── index.tsx │ │ │ │ │ ├── hello-world │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── react.tsx │ │ │ │ │ └── counter-simple-hover │ │ │ │ │ └── index.tsx │ │ │ ├── docs │ │ │ │ ├── integrations │ │ │ │ │ └── icons │ │ │ │ │ │ └── icones.png │ │ │ │ └── (qwikcity) │ │ │ │ │ ├── troubleshooting │ │ │ │ │ └── index.mdx │ │ │ │ │ └── guides │ │ │ │ │ └── deploy │ │ │ │ │ └── index.mdx │ │ │ ├── playground │ │ │ │ └── app │ │ │ │ │ ├── app.tsx │ │ │ │ │ ├── entry.server.tsx │ │ │ │ │ └── root.tsx │ │ │ ├── community │ │ │ │ └── menu.md │ │ │ ├── (blog) │ │ │ │ └── blog │ │ │ │ │ ├── (articles) │ │ │ │ │ ├── fontless │ │ │ │ │ │ ├── first-meeting.webp │ │ │ │ │ │ ├── fontless-hero.webp │ │ │ │ │ │ └── second-meeting.webp │ │ │ │ │ └── qwik-1-14-preloader │ │ │ │ │ │ ├── qwik-preloader-hero.webp │ │ │ │ │ │ ├── service-worker-delay-demo-crop.webm │ │ │ │ │ │ ├── modulepreload-no-delay-demo-crop.webm │ │ │ │ │ │ ├── service-worker-registration-penalty.webp │ │ │ │ │ │ └── service-worker-vs-modulepreload-illustration.webp │ │ │ │ │ └── components │ │ │ │ │ └── mdx │ │ │ │ │ └── discord-link.tsx │ │ │ ├── tutorial │ │ │ │ ├── hooks │ │ │ │ │ └── use-un-mount │ │ │ │ │ │ ├── problem │ │ │ │ │ │ └── app.tsx │ │ │ │ │ │ └── solution │ │ │ │ │ │ └── app.tsx │ │ │ │ ├── component │ │ │ │ │ ├── basic │ │ │ │ │ │ ├── solution │ │ │ │ │ │ │ └── app.tsx │ │ │ │ │ │ └── problem │ │ │ │ │ │ │ └── app.tsx │ │ │ │ │ ├── lite │ │ │ │ │ │ ├── solution │ │ │ │ │ │ │ └── app.tsx │ │ │ │ │ │ └── problem │ │ │ │ │ │ │ └── app.tsx │ │ │ │ │ └── composition │ │ │ │ │ │ └── solution │ │ │ │ │ │ └── app.tsx │ │ │ │ ├── events │ │ │ │ │ ├── basic │ │ │ │ │ │ ├── problem │ │ │ │ │ │ │ └── app.tsx │ │ │ │ │ │ └── solution │ │ │ │ │ │ │ └── app.tsx │ │ │ │ │ ├── programmatic │ │ │ │ │ │ ├── problem │ │ │ │ │ │ │ └── app.tsx │ │ │ │ │ │ └── solution │ │ │ │ │ │ │ └── app.tsx │ │ │ │ │ ├── preventdefault │ │ │ │ │ │ ├── problem │ │ │ │ │ │ │ └── app.tsx │ │ │ │ │ │ └── solution │ │ │ │ │ │ │ └── app.tsx │ │ │ │ │ └── synchronous-visible │ │ │ │ │ │ └── problem │ │ │ │ │ │ └── app.tsx │ │ │ │ ├── introduction │ │ │ │ │ └── component │ │ │ │ │ │ └── problem │ │ │ │ │ │ └── app.tsx │ │ │ │ ├── qrl │ │ │ │ │ └── data │ │ │ │ │ │ ├── problem │ │ │ │ │ │ └── app.tsx │ │ │ │ │ │ └── solution │ │ │ │ │ │ └── app.tsx │ │ │ │ └── store │ │ │ │ │ └── basic │ │ │ │ │ ├── problem │ │ │ │ │ └── app.tsx │ │ │ │ │ └── solution │ │ │ │ │ └── app.tsx │ │ │ └── examples │ │ │ │ └── apps │ │ │ │ ├── introduction │ │ │ │ ├── hello-world │ │ │ │ │ ├── app.tsx │ │ │ │ │ ├── entry.server.tsx │ │ │ │ │ └── root.tsx │ │ │ │ └── runtime-less │ │ │ │ │ ├── entry.server.tsx │ │ │ │ │ └── root.tsx │ │ │ │ ├── reactivity │ │ │ │ ├── task │ │ │ │ │ ├── entry.server.tsx │ │ │ │ │ └── root.tsx │ │ │ │ ├── counter │ │ │ │ │ ├── entry.server.tsx │ │ │ │ │ └── root.tsx │ │ │ │ └── auto-complete │ │ │ │ │ ├── entry.server.tsx │ │ │ │ │ └── root.tsx │ │ │ │ ├── visibility │ │ │ │ └── clock │ │ │ │ │ ├── entry.server.tsx │ │ │ │ │ └── root.tsx │ │ │ │ └── partial │ │ │ │ └── hackernews-index │ │ │ │ ├── entry.server.tsx │ │ │ │ └── root.tsx │ │ ├── fonts │ │ │ ├── poppins-400.woff2 │ │ │ ├── poppins-500.woff2 │ │ │ └── poppins-700.woff2 │ │ ├── media │ │ │ ├── images │ │ │ │ ├── 404-cat.mp4 │ │ │ │ └── qwik-uwu.webp │ │ │ ├── docs │ │ │ │ └── qwikcity │ │ │ │ │ ├── routing.png │ │ │ │ │ └── routing-files.png │ │ │ └── ecosystem │ │ │ │ └── modular-forms.svg │ │ ├── utils │ │ │ └── utils.ts │ │ ├── repl │ │ │ ├── repl-constants.ts │ │ │ └── ui │ │ │ │ └── repl-tab-buttons.tsx │ │ ├── empty.ts │ │ ├── entry.cloudflare-pages.tsx │ │ ├── entry.preview.tsx │ │ └── constants.ts │ ├── public │ │ ├── favicon.ico │ │ ├── logos │ │ │ ├── qwik.png │ │ │ ├── qwik-uwu.webp │ │ │ ├── social-card.jpg │ │ │ ├── social-card.png │ │ │ └── qwik-uwu copy.webp │ │ ├── ecosystem │ │ │ ├── authjs.png │ │ │ ├── lottie.png │ │ │ ├── rive.png │ │ │ ├── qwik-d3.png │ │ │ ├── qwik-ui.png │ │ │ ├── css-modules.png │ │ │ ├── qwik-image-logo.png │ │ │ ├── qwik-spin-delay.png │ │ │ ├── qwik-blog-fallback.png │ │ │ ├── qwik-storefront-ui.png │ │ │ ├── plus.svg │ │ │ ├── twitter.svg │ │ │ ├── azion.svg │ │ │ └── modular-forms.svg │ │ ├── robots.txt │ │ ├── showcases │ │ │ ├── wiza_co.webp │ │ │ ├── goshi_dev_.webp │ │ │ ├── numeia_com.webp │ │ │ ├── pay4me_app.webp │ │ │ ├── qit_tools_.webp │ │ │ ├── seyph_com_.webp │ │ │ ├── wope_com_.webp │ │ │ ├── jbnado_dev_.webp │ │ │ ├── leonerd_blog.webp │ │ │ ├── reflect_app_.webp │ │ │ ├── sakenowa_com.webp │ │ │ ├── upester_com.webp │ │ │ ├── usaibis_com_.webp │ │ │ ├── valibot_dev_.webp │ │ │ ├── abdhashem_com.webp │ │ │ ├── amirhbeigi_ir.webp │ │ │ ├── birdflop_com_.webp │ │ │ ├── blueagle_top_.webp │ │ │ ├── finallyweb_com_.webp │ │ │ ├── frostytools_com.webp │ │ │ ├── getpolaris_ai_.webp │ │ │ ├── hypecode_tech_.webp │ │ │ ├── index_app_beta.webp │ │ │ ├── juneikerc_com.webp │ │ │ ├── necatikcl_dev_.webp │ │ │ ├── pulsestax_com_.webp │ │ │ ├── qwik_builder_io.webp │ │ │ ├── sasthyaseba_com.webp │ │ │ ├── tatbiqit_com_.webp │ │ │ ├── www_builder_io_.webp │ │ │ ├── quotemingle_com_.webp │ │ │ ├── qwind_pages_dev_.webp │ │ │ ├── www_dimension_dev.webp │ │ │ ├── www_expobeds_com_.webp │ │ │ ├── www_hexa_center_.webp │ │ │ ├── itbusinesshub_com_.webp │ │ │ ├── miradorliving_com_.webp │ │ │ ├── seifen_vercel_app_.webp │ │ │ ├── ss-link_netlify_app_.webp │ │ │ ├── todaysdatenow_com_.webp │ │ │ ├── travelcalc_pages_dev.webp │ │ │ ├── www_learn-qwik_com_.webp │ │ │ ├── builtwith_appwrite_io_.webp │ │ │ ├── ohayo-dev-design_com_.webp │ │ │ ├── www_burgersonfleek_ca_.webp │ │ │ ├── www_stockideashq_com_.webp │ │ │ ├── bot-whatsapp_netlify_app_.webp │ │ │ ├── jose-aguilar_vercel_app_.webp │ │ │ ├── pricing_oasisdigital_com_.webp │ │ │ ├── qwik-osm-poc_netlify_app_.webp │ │ │ ├── qwikpdf_alexismoren_fr_.webp │ │ │ ├── qwik-storefront_vendure_io_.webp │ │ │ ├── sanyamjainqwik_vercel_app_.webp │ │ │ ├── linkfang-portfolio_vercel_app_.webp │ │ │ └── www_placementpreparation_io_.webp │ │ ├── favicons │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── apple-touch-icon.png │ │ │ ├── android-chrome-192x192.png │ │ │ └── android-chrome-512x512.png │ │ ├── sample-media │ │ │ └── qwik-koi-poster.jpg │ │ └── docs │ │ │ ├── qwikcity │ │ │ └── README.md │ │ │ └── integrations │ │ │ └── image-optimization │ │ │ └── image-network.png │ ├── wrangler.toml │ ├── global.d.ts │ └── .env ├── create-qwik │ ├── .npmignore │ ├── create-qwik.cjs │ └── src │ │ ├── types.ts │ │ └── helpers │ │ ├── jokes.ts │ │ ├── clearDir.ts │ │ └── resolveRelativeDir.ts ├── qwik-worker │ └── .npmignore ├── qwik-react │ ├── .npmignore │ ├── vite.d.ts │ └── src │ │ ├── react │ │ └── client.tsx │ │ ├── index.qwik.ts │ │ └── examples │ │ └── app.tsx ├── qwik-auth │ ├── .npmignore │ └── CHANGELOG.md ├── eslint-plugin-qwik │ ├── .npmignore │ └── tests │ │ ├── loader-location │ │ ├── valid-loader-export │ │ │ └── src │ │ │ │ └── routes │ │ │ │ └── index.tsx │ │ ├── invalid-loader-missing-export │ │ │ └── src │ │ │ │ └── routes │ │ │ │ └── index.tsx │ │ └── valid-loader │ │ │ └── src │ │ │ └── routes │ │ │ └── index.tsx │ │ ├── valid-lexical-scope │ │ ├── valid-component-props-click.tsx │ │ ├── valid-file-scope.tsx │ │ ├── valid-component-prop-function.tsx │ │ └── valid-component-props-tuple.tsx │ │ ├── no-use-visible-task │ │ └── invalid-no-comment.tsx │ │ └── use-method-usage │ │ ├── invalid-outside-arrow-fn-inline.ts │ │ ├── invalid-outside-function.ts │ │ ├── invalid-outside-arrow-fn.ts │ │ ├── invalid-outside-arrow-fn-inline-value.ts │ │ ├── invalid-outside-arrow-fn-return.ts │ │ └── invalid-outside-arrow-fn-return-value.ts ├── qwik-labs │ ├── src-vite │ │ ├── qwik-types │ │ │ └── index.ts │ │ └── index.ts │ ├── src │ │ ├── qwik-types │ │ │ └── index.ts │ │ ├── devtools │ │ │ └── index.ts │ │ ├── index.ts │ │ └── root.tsx │ └── .prettierignore ├── qwik-city │ ├── index.d.ts │ ├── vite.d.ts │ ├── .npmignore │ ├── static.d.ts │ ├── middleware │ │ ├── bun.d.ts │ │ ├── deno.d.ts │ │ ├── node.d.ts │ │ ├── azure-swa.d.ts │ │ ├── firebase.d.ts │ │ ├── aws-lambda.d.ts │ │ ├── vercel-edge.d.ts │ │ ├── netlify-edge.d.ts │ │ ├── cloudflare-pages.d.ts │ │ └── request-handler.d.ts │ ├── service-worker.d.ts │ ├── adapters │ │ ├── shared │ │ │ └── vite.d.ts │ │ ├── static │ │ │ └── vite.d.ts │ │ ├── azure-swa │ │ │ └── vite.d.ts │ │ ├── cloud-run │ │ │ └── vite.d.ts │ │ ├── bun-server │ │ │ └── vite.d.ts │ │ ├── deno-server │ │ │ └── vite.d.ts │ │ ├── netlify-edge │ │ │ └── vite.d.ts │ │ ├── node-server │ │ │ └── vite.d.ts │ │ ├── vercel-edge │ │ │ └── vite.d.ts │ │ └── cloudflare-pages │ │ │ └── vite.d.ts │ └── src │ │ ├── runtime │ │ └── src │ │ │ └── sw-register-runtime.ts │ │ ├── middleware │ │ └── request-handler │ │ │ ├── redirect-handler.ts │ │ │ ├── rewrite-handler.ts │ │ │ └── generated │ │ │ └── not-found-paths.ts │ │ ├── buildtime │ │ ├── runtime-generation │ │ │ └── sw-register-build.ts │ │ └── vite │ │ │ └── index.ts │ │ └── static │ │ └── deno │ │ └── index.ts └── supabase-auth-helpers-qwik │ ├── src │ ├── ambient.d.ts │ └── index.ts │ └── README.md ├── rustfmt.toml ├── starters ├── .prettierrc.json ├── apps │ ├── base │ │ ├── public │ │ │ ├── robots.txt │ │ │ └── manifest.json │ │ ├── .npmrc │ │ ├── .vscode │ │ │ └── extensions.json │ │ └── qwik.env.d.ts │ ├── empty │ │ ├── public │ │ │ ├── robots.txt │ │ │ └── manifest.json │ │ └── src │ │ │ └── global.css │ ├── playground │ │ ├── public │ │ │ ├── robots.txt │ │ │ ├── fonts │ │ │ │ ├── poppins-400.woff2 │ │ │ │ ├── poppins-500.woff2 │ │ │ │ └── poppins-700.woff2 │ │ │ └── manifest.json │ │ └── src │ │ │ ├── media │ │ │ └── thunder.png │ │ │ └── components │ │ │ └── starter │ │ │ └── counter │ │ │ └── counter.module.css │ ├── preloader-test │ │ ├── src │ │ │ ├── global.css │ │ │ ├── vendor-lib │ │ │ │ ├── helper.ts │ │ │ │ ├── libA.ts │ │ │ │ └── libB.ts │ │ │ ├── routes │ │ │ │ └── hidden │ │ │ │ │ └── index.tsx │ │ │ └── components │ │ │ │ └── generated │ │ │ │ ├── dynamic9.tsx │ │ │ │ ├── dynamic1.tsx │ │ │ │ ├── dynamic2.tsx │ │ │ │ ├── dynamic3.tsx │ │ │ │ ├── dynamic4.tsx │ │ │ │ ├── dynamic5.tsx │ │ │ │ ├── dynamic6.tsx │ │ │ │ ├── dynamic7.tsx │ │ │ │ ├── dynamic8.tsx │ │ │ │ ├── counter1.tsx │ │ │ │ ├── counter10.tsx │ │ │ │ ├── counter100.tsx │ │ │ │ ├── counter11.tsx │ │ │ │ ├── counter12.tsx │ │ │ │ ├── counter13.tsx │ │ │ │ ├── counter14.tsx │ │ │ │ ├── counter15.tsx │ │ │ │ ├── counter16.tsx │ │ │ │ ├── counter17.tsx │ │ │ │ ├── counter18.tsx │ │ │ │ ├── counter19.tsx │ │ │ │ ├── counter2.tsx │ │ │ │ ├── counter20.tsx │ │ │ │ ├── counter21.tsx │ │ │ │ ├── counter22.tsx │ │ │ │ ├── counter23.tsx │ │ │ │ ├── counter24.tsx │ │ │ │ ├── counter25.tsx │ │ │ │ ├── counter26.tsx │ │ │ │ ├── counter27.tsx │ │ │ │ ├── counter28.tsx │ │ │ │ ├── counter29.tsx │ │ │ │ ├── counter3.tsx │ │ │ │ ├── counter30.tsx │ │ │ │ ├── counter31.tsx │ │ │ │ ├── counter32.tsx │ │ │ │ ├── counter33.tsx │ │ │ │ ├── counter34.tsx │ │ │ │ ├── counter35.tsx │ │ │ │ ├── counter36.tsx │ │ │ │ ├── counter37.tsx │ │ │ │ ├── counter38.tsx │ │ │ │ ├── counter39.tsx │ │ │ │ ├── counter4.tsx │ │ │ │ ├── counter40.tsx │ │ │ │ ├── counter41.tsx │ │ │ │ ├── counter42.tsx │ │ │ │ ├── counter43.tsx │ │ │ │ ├── counter44.tsx │ │ │ │ ├── counter45.tsx │ │ │ │ ├── counter46.tsx │ │ │ │ ├── counter47.tsx │ │ │ │ ├── counter48.tsx │ │ │ │ ├── counter49.tsx │ │ │ │ ├── counter5.tsx │ │ │ │ ├── counter50.tsx │ │ │ │ ├── counter51.tsx │ │ │ │ ├── counter52.tsx │ │ │ │ ├── counter53.tsx │ │ │ │ ├── counter54.tsx │ │ │ │ ├── counter55.tsx │ │ │ │ ├── counter56.tsx │ │ │ │ ├── counter57.tsx │ │ │ │ ├── counter58.tsx │ │ │ │ ├── counter59.tsx │ │ │ │ ├── counter6.tsx │ │ │ │ ├── counter60.tsx │ │ │ │ ├── counter61.tsx │ │ │ │ ├── counter62.tsx │ │ │ │ ├── counter63.tsx │ │ │ │ ├── counter64.tsx │ │ │ │ ├── counter65.tsx │ │ │ │ ├── counter66.tsx │ │ │ │ ├── counter67.tsx │ │ │ │ ├── counter68.tsx │ │ │ │ ├── counter69.tsx │ │ │ │ ├── counter7.tsx │ │ │ │ ├── counter70.tsx │ │ │ │ ├── counter71.tsx │ │ │ │ ├── counter72.tsx │ │ │ │ ├── counter73.tsx │ │ │ │ ├── counter74.tsx │ │ │ │ ├── counter75.tsx │ │ │ │ ├── counter76.tsx │ │ │ │ ├── counter77.tsx │ │ │ │ ├── counter78.tsx │ │ │ │ ├── counter79.tsx │ │ │ │ ├── counter8.tsx │ │ │ │ ├── counter80.tsx │ │ │ │ ├── counter81.tsx │ │ │ │ ├── counter82.tsx │ │ │ │ ├── counter83.tsx │ │ │ │ ├── counter84.tsx │ │ │ │ └── counter85.tsx │ │ └── README.md │ ├── e2e │ │ ├── src │ │ │ ├── components │ │ │ │ ├── styles │ │ │ │ │ ├── empty.css │ │ │ │ │ ├── parent2.css │ │ │ │ │ ├── child.css │ │ │ │ │ ├── child2.css │ │ │ │ │ └── parent.css │ │ │ │ └── no-resume │ │ │ │ │ └── no-resume.tsx │ │ │ └── global.css │ │ └── package.json │ ├── qwikcity-test │ │ ├── src │ │ │ ├── routes │ │ │ │ ├── issue3438 │ │ │ │ │ └── عربي │ │ │ │ │ │ └── index.mdx │ │ │ │ ├── (common) │ │ │ │ │ ├── issue2644 │ │ │ │ │ │ └── data.ts │ │ │ │ │ ├── actions │ │ │ │ │ │ ├── actions.module.css │ │ │ │ │ │ └── issue4444 │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ ├── api │ │ │ │ │ │ └── layout-api.css │ │ │ │ │ └── blog │ │ │ │ │ │ └── index.md │ │ │ │ ├── some-code.js │ │ │ │ │ └── entry.ts │ │ │ │ ├── issue4531 │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── layout.tsx │ │ │ │ ├── produkt │ │ │ │ │ └── index.tsx │ │ │ │ ├── issue7732 │ │ │ │ │ ├── a │ │ │ │ │ │ └── index.tsx │ │ │ │ │ └── c │ │ │ │ │ │ └── index.tsx │ │ │ │ ├── issue2441 │ │ │ │ │ ├── abc.page │ │ │ │ │ │ └── index.tsx │ │ │ │ │ └── abc.endpoint │ │ │ │ │ │ └── index.ts │ │ │ │ ├── plugin@issue4722.tsx │ │ │ │ ├── docs │ │ │ │ │ └── layout.css │ │ │ │ ├── mdx │ │ │ │ │ └── index.mdx │ │ │ │ ├── issue4502 │ │ │ │ │ └── broken │ │ │ │ │ │ ├── route │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ └── index.tsx │ │ │ │ ├── dashboard │ │ │ │ │ └── dashboard.css │ │ │ │ ├── prevent-navigate │ │ │ │ │ └── index.tsx │ │ │ │ └── scroll-restoration │ │ │ │ │ └── layout.tsx │ │ │ ├── media │ │ │ │ └── MyTest.jpeg │ │ │ ├── components │ │ │ │ └── menu │ │ │ │ │ └── menu.css │ │ │ └── entry.ssr.tsx │ │ ├── public │ │ │ └── favicon.ico │ │ └── package.json │ ├── perf.prod │ │ ├── src │ │ │ └── global.css │ │ ├── package.json │ │ └── vite.config.mts │ ├── starter-partytown-test │ │ ├── src │ │ │ ├── global.css │ │ │ └── entry.ssr.tsx │ │ └── package.json │ ├── library │ │ ├── .prettierignore │ │ └── src │ │ │ └── index.ts │ ├── qwikcity-test.prod │ │ ├── package.json │ │ └── src │ │ │ ├── routes │ │ │ ├── server-function │ │ │ │ └── index.tsx │ │ │ └── index.tsx │ │ │ └── entry.ssr.tsx │ ├── todo-test │ │ ├── package.json │ │ └── src │ │ │ └── root.tsx │ └── todo-old-test │ │ ├── package.json │ │ └── src │ │ ├── entry.dev.tsx │ │ ├── entry.ssr.tsx │ │ └── root.tsx ├── adapters │ ├── firebase │ │ ├── functions │ │ │ ├── .gitkeep │ │ │ └── index.js │ │ ├── .eslintignore │ │ ├── .prettierignore │ │ └── gitignore │ ├── netlify-edge │ │ ├── gitignore │ │ ├── netlify.toml │ │ └── public │ │ │ └── _headers │ ├── vercel-edge │ │ └── gitignore │ ├── aws-lambda │ │ ├── gitignore │ │ ├── .eslintignore │ │ └── .prettierignore │ ├── cloudflare-pages │ │ ├── gitignore │ │ └── public │ │ │ └── _redirects │ ├── azure-swa │ │ ├── gitignore │ │ └── swa-cli.config.json │ ├── cloud-run │ │ └── README.md │ ├── bun │ │ └── README.md │ ├── express │ │ └── README.md │ ├── fastify │ │ └── README.md │ ├── deno │ │ └── README.md │ └── static │ │ └── README.md ├── features │ ├── drizzle │ │ ├── drizzle │ │ │ ├── db │ │ │ │ └── .gitkeep │ │ │ └── migrations │ │ │ │ └── .gitkeep │ │ └── drizzle.config.ts │ ├── tailwind │ │ ├── src │ │ │ └── global.css │ │ └── prettier.config.js │ ├── pandacss │ │ ├── gitignore │ │ ├── .prettierignore │ │ ├── .eslintignore │ │ ├── postcss.config.js │ │ └── src │ │ │ └── global.css │ ├── turso │ │ └── .env.local │ ├── postcss │ │ ├── .vscode │ │ │ └── settings.json │ │ └── postcss.config.js │ ├── tailwind-v3 │ │ ├── .vscode │ │ │ └── settings.json │ │ ├── postcss.config.cjs │ │ ├── src │ │ │ └── global.css │ │ ├── tailwind.config.js │ │ └── prettier.config.js │ ├── storybook │ │ └── .storybook │ │ │ └── preview-head.html │ ├── bootstrap │ │ └── src │ │ │ ├── components │ │ │ └── bootstrap │ │ │ │ └── index.ts │ │ │ ├── constants │ │ │ └── data.ts │ │ │ └── models │ │ │ └── bootstrap.ts │ ├── cypress │ │ ├── cypress │ │ │ └── fixtures │ │ │ │ └── example.json │ │ ├── cypress.config.ts │ │ └── cypress.d.ts │ ├── auth │ │ └── src │ │ │ └── routes │ │ │ └── plugin@auth.ts │ └── leaflet-map │ │ └── src │ │ ├── models │ │ ├── map.ts │ │ └── location.ts │ │ └── helpers │ │ └── boundary-box.tsx ├── templates │ ├── barrel │ │ ├── mdx │ │ │ └── index.mdx.template │ │ ├── markdown │ │ │ └── index.md.template │ │ ├── route │ │ │ └── index.tsx.template │ │ └── component │ │ │ └── index.tsx.template │ └── qwik │ │ ├── markdown │ │ └── index.md.template │ │ ├── mdx │ │ └── index.mdx.template │ │ ├── route │ │ └── index.tsx.template │ │ └── component │ │ └── [slug].tsx.template ├── .gitignore └── e2e │ └── global.d.ts ├── rust-toolchain ├── .envrc ├── e2e ├── adapters-e2e │ ├── .gitignore │ └── src │ │ └── routes │ │ ├── layout.tsx │ │ └── profile │ │ └── index.tsx ├── docs-e2e │ └── .gitignore └── qwik-cli-e2e │ ├── tsconfig.json │ └── package.json ├── .gitattributes ├── .changeset ├── petite-flies-pay.md ├── hot-knives-hang.md ├── wise-worlds-hang.md ├── short-jeans-speak.md ├── curvy-glasses-wash.md ├── fresh-loops-repeat.md ├── bitter-loops-train.md ├── moody-tigers-cry.md ├── heavy-windows-mate.md ├── lucky-adults-tan.md ├── bright-stars-shave.md ├── sixty-rockets-clean.md ├── twelve-words-jump.md ├── slimy-lizards-switch.md ├── yummy-monkeys-return.md ├── hot-buses-strive.md ├── shaggy-pears-shine.md └── chilly-knives-obey.md ├── .github └── assets │ └── Qwik-video-thumbnail.png ├── tsconfig-docs.json ├── scripts ├── docs_sync │ └── index.ts ├── tools │ └── preinstall-script.js └── e2e-cli.ts ├── vitest.workspace.js ├── @types └── bun.d.ts ├── Dockerfile ├── .prettierrc.json ├── Cargo.toml └── .all-contributorsrc /.nvmrc: -------------------------------------------------------------------------------- 1 | 22 2 | -------------------------------------------------------------------------------- /.node-version: -------------------------------------------------------------------------------- 1 | 18 2 | -------------------------------------------------------------------------------- /packages/insights/.node-version: -------------------------------------------------------------------------------- 1 | 18 -------------------------------------------------------------------------------- /packages/qwik-dom/lib/sloppy.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/qwik/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- 1 | hard_tabs = true 2 | -------------------------------------------------------------------------------- /starters/.prettierrc.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/docs/.node-version: -------------------------------------------------------------------------------- 1 | 18 2 | -------------------------------------------------------------------------------- /packages/docs/.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false -------------------------------------------------------------------------------- /packages/insights/public/robots.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rust-toolchain: -------------------------------------------------------------------------------- 1 | nightly-2024-10-01 2 | -------------------------------------------------------------------------------- /starters/apps/base/public/robots.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /starters/apps/empty/public/robots.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /starters/apps/empty/src/global.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/create-qwik/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | -------------------------------------------------------------------------------- /packages/qwik-worker/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | -------------------------------------------------------------------------------- /starters/apps/playground/public/robots.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /starters/apps/preloader-test/src/global.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/insights/.npmrc: -------------------------------------------------------------------------------- 1 | engine-strict=true 2 | -------------------------------------------------------------------------------- /packages/qwik-react/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | vite 3 | -------------------------------------------------------------------------------- /starters/adapters/firebase/functions/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /starters/apps/base/.npmrc: -------------------------------------------------------------------------------- 1 | engine-strict=true 2 | -------------------------------------------------------------------------------- /starters/features/drizzle/drizzle/db/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/qwik-auth/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | vite.config.ts -------------------------------------------------------------------------------- /starters/apps/e2e/src/components/styles/empty.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /starters/features/drizzle/drizzle/migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/eslint-plugin-qwik/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | tests 3 | -------------------------------------------------------------------------------- /packages/insights/.env: -------------------------------------------------------------------------------- 1 | PUBLIC_QWIK_INSIGHTS_KEY=mtfsa457ee -------------------------------------------------------------------------------- /starters/adapters/firebase/.eslintignore: -------------------------------------------------------------------------------- 1 | # Firebase 2 | -------------------------------------------------------------------------------- /starters/adapters/firebase/.prettierignore: -------------------------------------------------------------------------------- 1 | # Firebase 2 | -------------------------------------------------------------------------------- /starters/adapters/netlify-edge/gitignore: -------------------------------------------------------------------------------- 1 | # Netlify 2 | .netlify 3 | -------------------------------------------------------------------------------- /starters/adapters/vercel-edge/gitignore: -------------------------------------------------------------------------------- 1 | # Vercel 2 | .vercel 3 | -------------------------------------------------------------------------------- /starters/features/tailwind/src/global.css: -------------------------------------------------------------------------------- 1 | @import "tailwindcss"; 2 | -------------------------------------------------------------------------------- /starters/adapters/aws-lambda/gitignore: -------------------------------------------------------------------------------- 1 | # AWS-lambda 2 | .serverless 3 | -------------------------------------------------------------------------------- /.envrc: -------------------------------------------------------------------------------- 1 | # shellcheck shell=bash 2 | use flake 3 | watch_file rust-toolchain 4 | -------------------------------------------------------------------------------- /packages/qwik/src/testing/index.ts: -------------------------------------------------------------------------------- 1 | export { createDOM } from './library'; 2 | -------------------------------------------------------------------------------- /starters/adapters/aws-lambda/.eslintignore: -------------------------------------------------------------------------------- 1 | # AWS-lambda 2 | .serverless 3 | -------------------------------------------------------------------------------- /starters/adapters/aws-lambda/.prettierignore: -------------------------------------------------------------------------------- 1 | # AWS-lambda 2 | .serverless 3 | -------------------------------------------------------------------------------- /starters/features/pandacss/gitignore: -------------------------------------------------------------------------------- 1 | # Panda CSS 2 | src/styled-system 3 | -------------------------------------------------------------------------------- /e2e/adapters-e2e/.gitignore: -------------------------------------------------------------------------------- 1 | playwright-report 2 | dist 3 | logs 4 | server 5 | tmp -------------------------------------------------------------------------------- /starters/adapters/cloudflare-pages/gitignore: -------------------------------------------------------------------------------- 1 | # Cloudflare 2 | functions/**/*.js 3 | -------------------------------------------------------------------------------- /starters/features/pandacss/.prettierignore: -------------------------------------------------------------------------------- 1 | # Panda CSS 2 | src/styled-system 3 | -------------------------------------------------------------------------------- /packages/docs/src/components/docsearch/version.ts: -------------------------------------------------------------------------------- 1 | export const version = '3.2.0'; 2 | -------------------------------------------------------------------------------- /packages/docs/src/routes/repl/repl-sw.js/entry.ts: -------------------------------------------------------------------------------- 1 | import '../../../repl/repl-sw'; 2 | -------------------------------------------------------------------------------- /packages/qwik-labs/src-vite/qwik-types/index.ts: -------------------------------------------------------------------------------- 1 | export { qwikTypes } from './vite'; 2 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/routes/issue3438/عربي/index.mdx: -------------------------------------------------------------------------------- 1 | Test arabic route 2 | -------------------------------------------------------------------------------- /packages/docs/src/components/docsearch/constants.ts: -------------------------------------------------------------------------------- 1 | export const MAX_QUERY_SIZE = 100; 2 | -------------------------------------------------------------------------------- /packages/insights/drizzle/0015_complete_wolf_cub.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE applications ADD `url` text; -------------------------------------------------------------------------------- /starters/apps/e2e/src/global.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Write here your global css styles 3 | */ 4 | -------------------------------------------------------------------------------- /starters/features/pandacss/.eslintignore: -------------------------------------------------------------------------------- 1 | # Panda CSS 2 | src/styled-system 3 | panda.config.ts -------------------------------------------------------------------------------- /starters/features/turso/.env.local: -------------------------------------------------------------------------------- 1 | PRIVATE_TURSO_DATABASE_URL= 2 | PRIVATE_TURSO_AUTH_TOKEN= -------------------------------------------------------------------------------- /packages/docs/src/routes/404/index.tsx: -------------------------------------------------------------------------------- 1 | import _404 from '../404'; 2 | export default _404; 3 | -------------------------------------------------------------------------------- /starters/apps/perf.prod/src/global.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Write here your global css styles 3 | */ 4 | -------------------------------------------------------------------------------- /packages/docs/src/components/docsearch/utils/noop.ts: -------------------------------------------------------------------------------- 1 | export function noop(..._args: any[]): void {} 2 | -------------------------------------------------------------------------------- /packages/qwik-labs/src-vite/index.ts: -------------------------------------------------------------------------------- 1 | export * from './insights'; 2 | export * from './qwik-types'; 3 | -------------------------------------------------------------------------------- /packages/qwik-labs/src/qwik-types/index.ts: -------------------------------------------------------------------------------- 1 | export { untypedAppUrl, omitProps } from './public-api'; 2 | -------------------------------------------------------------------------------- /starters/adapters/firebase/gitignore: -------------------------------------------------------------------------------- 1 | # Firebase 2 | functions/server 3 | functions/node_modules 4 | -------------------------------------------------------------------------------- /starters/apps/e2e/src/components/styles/parent2.css: -------------------------------------------------------------------------------- 1 | .parent-child { 2 | font-size: 40px; 3 | } 4 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/routes/(common)/issue2644/data.ts: -------------------------------------------------------------------------------- 1 | export const data: string[] = []; 2 | -------------------------------------------------------------------------------- /starters/features/postcss/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "css.lint.unknownAtRules": "ignore" 3 | } 4 | -------------------------------------------------------------------------------- /packages/insights/drizzle/0003_late_titanium_man.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE errors ADD `timestamp` integer NOT NULL; -------------------------------------------------------------------------------- /packages/insights/drizzle/0009_flat_celestials.sql: -------------------------------------------------------------------------------- 1 | CREATE UNIQUE INDEX `hashIndex` ON `manifests` (`hash`); -------------------------------------------------------------------------------- /packages/insights/drizzle/0019_known_satana.sql: -------------------------------------------------------------------------------- 1 | CREATE INDEX `idx_edge_from_to` ON `edges` (`from`,`to`); -------------------------------------------------------------------------------- /starters/adapters/azure-swa/gitignore: -------------------------------------------------------------------------------- 1 | # Azure 2 | /azure-functions/** 3 | !/azure-functions/host.json 4 | -------------------------------------------------------------------------------- /starters/adapters/netlify-edge/netlify.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | publish = "dist" 3 | command = "npm run build" 4 | -------------------------------------------------------------------------------- /starters/apps/starter-partytown-test/src/global.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Write here your global css styles 3 | */ 4 | -------------------------------------------------------------------------------- /starters/features/tailwind-v3/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "css.lint.unknownAtRules": "ignore" 3 | } 4 | -------------------------------------------------------------------------------- /packages/docs/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/favicon.ico -------------------------------------------------------------------------------- /packages/insights/drizzle/0001_sweet_virginia_dare.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE symbols ADD `load_delay_ms` integer NOT NULL; -------------------------------------------------------------------------------- /packages/qwik-city/index.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from './lib'; 3 | -------------------------------------------------------------------------------- /packages/qwik/build.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from './dist/build'; 3 | -------------------------------------------------------------------------------- /packages/qwik/src/cli/qwik.cjs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | const qwik = require('./cli.cjs'); 3 | qwik.runCli(); 4 | -------------------------------------------------------------------------------- /packages/qwik/src/napi/build.rs: -------------------------------------------------------------------------------- 1 | extern crate napi_build; 2 | 3 | fn main() { 4 | napi_build::setup(); 5 | } 6 | -------------------------------------------------------------------------------- /starters/apps/e2e/src/components/styles/child.css: -------------------------------------------------------------------------------- 1 | .child-container > .child { 2 | font-size: 20px; 3 | } 4 | -------------------------------------------------------------------------------- /starters/apps/e2e/src/components/styles/child2.css: -------------------------------------------------------------------------------- 1 | .child-container > .child2 { 2 | font-size: 10px; 3 | } 4 | -------------------------------------------------------------------------------- /starters/features/storybook/.storybook/preview-head.html: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /starters/templates/barrel/mdx/index.mdx.template: -------------------------------------------------------------------------------- 1 | --- 2 | title: New Route 3 | --- 4 | 5 | New route works. 6 | -------------------------------------------------------------------------------- /starters/templates/qwik/markdown/index.md.template: -------------------------------------------------------------------------------- 1 | --- 2 | title: New Route 3 | --- 4 | 5 | New route works. 6 | -------------------------------------------------------------------------------- /starters/templates/qwik/mdx/index.mdx.template: -------------------------------------------------------------------------------- 1 | --- 2 | title: New Route 3 | --- 4 | 5 | New route works. 6 | -------------------------------------------------------------------------------- /packages/docs/public/logos/qwik.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/logos/qwik.png -------------------------------------------------------------------------------- /packages/qwik-city/vite.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from './lib/vite'; 3 | -------------------------------------------------------------------------------- /packages/qwik/loader.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from './dist/loader'; 3 | -------------------------------------------------------------------------------- /packages/qwik/server.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from './dist/server'; 3 | -------------------------------------------------------------------------------- /packages/qwik/src/cli/index.ts: -------------------------------------------------------------------------------- 1 | export { runCli } from './run'; 2 | export { updateApp } from './add/update-app'; 3 | -------------------------------------------------------------------------------- /packages/qwik/src/core/render/jsx/README.md: -------------------------------------------------------------------------------- 1 | # `render/jsx` 2 | 3 | Default JSX based implementation of rendering. 4 | -------------------------------------------------------------------------------- /packages/qwik/testing.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from './dist/testing'; 3 | -------------------------------------------------------------------------------- /starters/adapters/cloudflare-pages/public/_redirects: -------------------------------------------------------------------------------- 1 | # https://developers.cloudflare.com/pages/platform/redirects/ 2 | -------------------------------------------------------------------------------- /starters/apps/e2e/src/components/styles/parent.css: -------------------------------------------------------------------------------- 1 | .parent-container > .parent { 2 | font-size: 200px; 3 | } 4 | -------------------------------------------------------------------------------- /starters/templates/barrel/markdown/index.md.template: -------------------------------------------------------------------------------- 1 | --- 2 | title: New Route 3 | --- 4 | 5 | New route works. 6 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.json linguist-language=JSON-with-Comments 2 | .yarn/releases/** binary 3 | .yarn/plugins/** binary 4 | -------------------------------------------------------------------------------- /packages/insights/src/routes/app/add/styles.module.css: -------------------------------------------------------------------------------- 1 | .add-app-wrapper { 2 | margin: calc(var(--size-4) * 2); 3 | } 4 | -------------------------------------------------------------------------------- /packages/qwik-city/.npmignore: -------------------------------------------------------------------------------- 1 | adapters 2 | buildtime 3 | middleware 4 | runtime 5 | service-worker 6 | static 7 | utils 8 | -------------------------------------------------------------------------------- /packages/qwik-city/static.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from './lib/static'; 3 | -------------------------------------------------------------------------------- /packages/qwik-react/vite.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from './lib/types/vite'; 3 | -------------------------------------------------------------------------------- /packages/qwik/optimizer.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from './dist/optimizer'; 3 | -------------------------------------------------------------------------------- /packages/qwik/src/cli/new/utils.ts: -------------------------------------------------------------------------------- 1 | export const POSSIBLE_TYPES = ['component', 'route', 'markdown', 'mdx'] as const; 2 | -------------------------------------------------------------------------------- /starters/.gitignore: -------------------------------------------------------------------------------- 1 | package-lock.json 2 | yarn.lock 3 | pnpm-lock.yaml 4 | videos/ 5 | build 6 | dist 7 | .history 8 | .lh -------------------------------------------------------------------------------- /.changeset/petite-flies-pay.md: -------------------------------------------------------------------------------- 1 | --- 2 | '@builder.io/qwik-city': patch 3 | --- 4 | 5 | FIX: return 404 with invalid URL. 6 | -------------------------------------------------------------------------------- /.github/assets/Qwik-video-thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/.github/assets/Qwik-video-thumbnail.png -------------------------------------------------------------------------------- /packages/docs/public/ecosystem/authjs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/ecosystem/authjs.png -------------------------------------------------------------------------------- /packages/docs/public/ecosystem/lottie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/ecosystem/lottie.png -------------------------------------------------------------------------------- /packages/docs/public/ecosystem/rive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/ecosystem/rive.png -------------------------------------------------------------------------------- /packages/docs/public/logos/qwik-uwu.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/logos/qwik-uwu.webp -------------------------------------------------------------------------------- /packages/docs/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: /demo/ 3 | Allow: / 4 | Sitemap: https://qwik.dev/sitemap.xml 5 | -------------------------------------------------------------------------------- /packages/docs/src/fonts/poppins-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/src/fonts/poppins-400.woff2 -------------------------------------------------------------------------------- /packages/docs/src/fonts/poppins-500.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/src/fonts/poppins-500.woff2 -------------------------------------------------------------------------------- /packages/docs/src/fonts/poppins-700.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/src/fonts/poppins-700.woff2 -------------------------------------------------------------------------------- /packages/qwik/jsx-runtime.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from './dist/jsx-runtime'; 3 | -------------------------------------------------------------------------------- /.changeset/hot-knives-hang.md: -------------------------------------------------------------------------------- 1 | --- 2 | '@builder.io/qwik-city': patch 3 | --- 4 | 5 | FIX: return 404 for missing /build/ files. 6 | -------------------------------------------------------------------------------- /.changeset/wise-worlds-hang.md: -------------------------------------------------------------------------------- 1 | --- 2 | '@builder.io/qwik': patch 3 | --- 4 | 5 | CHORE: use patched domino instead of qwik-dom 6 | -------------------------------------------------------------------------------- /packages/docs/public/ecosystem/qwik-d3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/ecosystem/qwik-d3.png -------------------------------------------------------------------------------- /packages/docs/public/ecosystem/qwik-ui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/ecosystem/qwik-ui.png -------------------------------------------------------------------------------- /packages/docs/public/logos/social-card.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/logos/social-card.jpg -------------------------------------------------------------------------------- /packages/docs/public/logos/social-card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/logos/social-card.png -------------------------------------------------------------------------------- /packages/docs/public/showcases/wiza_co.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/wiza_co.webp -------------------------------------------------------------------------------- /packages/docs/src/media/images/404-cat.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/src/media/images/404-cat.mp4 -------------------------------------------------------------------------------- /packages/docs/wrangler.toml: -------------------------------------------------------------------------------- 1 | name = "qwik-docs" 2 | compatibility_date = "2024-05-13" 3 | compatibility_flags = [ "nodejs_compat" ] -------------------------------------------------------------------------------- /packages/qwik/jsx-dev-runtime.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from './dist/jsx-runtime'; 3 | -------------------------------------------------------------------------------- /packages/create-qwik/create-qwik.cjs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | const createQwik = require('./dist/index.cjs'); 3 | createQwik.runCli(); 4 | -------------------------------------------------------------------------------- /packages/docs/public/ecosystem/css-modules.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/ecosystem/css-modules.png -------------------------------------------------------------------------------- /packages/docs/public/logos/qwik-uwu copy.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/logos/qwik-uwu copy.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/goshi_dev_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/goshi_dev_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/numeia_com.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/numeia_com.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/pay4me_app.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/pay4me_app.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/qit_tools_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/qit_tools_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/seyph_com_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/seyph_com_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/wope_com_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/wope_com_.webp -------------------------------------------------------------------------------- /packages/docs/src/components/docsearch/utils/identity.ts: -------------------------------------------------------------------------------- 1 | export function identity(x: TParam): TParam { 2 | return x; 3 | } 4 | -------------------------------------------------------------------------------- /packages/docs/src/media/images/qwik-uwu.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/src/media/images/qwik-uwu.webp -------------------------------------------------------------------------------- /packages/insights/src/fonts/poppins-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/insights/src/fonts/poppins-400.woff2 -------------------------------------------------------------------------------- /packages/insights/src/fonts/poppins-500.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/insights/src/fonts/poppins-500.woff2 -------------------------------------------------------------------------------- /packages/insights/src/fonts/poppins-700.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/insights/src/fonts/poppins-700.woff2 -------------------------------------------------------------------------------- /packages/qwik-city/middleware/bun.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../lib/middleware/bun'; 3 | -------------------------------------------------------------------------------- /packages/qwik-city/middleware/deno.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../lib/middleware/deno'; 3 | -------------------------------------------------------------------------------- /packages/qwik-city/middleware/node.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../lib/middleware/node'; 3 | -------------------------------------------------------------------------------- /packages/qwik-city/service-worker.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from './lib/service-worker'; 3 | -------------------------------------------------------------------------------- /packages/qwik/src/core/util/README.md: -------------------------------------------------------------------------------- 1 | # `util` 2 | 3 | Common utilities that are not tied to any one rendering technology/framework. 4 | -------------------------------------------------------------------------------- /starters/apps/playground/src/media/thunder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/starters/apps/playground/src/media/thunder.png -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/starters/apps/qwikcity-test/public/favicon.ico -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/routes/some-code.js/entry.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | console.log("some code"); 3 | 4 | export {}; 5 | -------------------------------------------------------------------------------- /starters/features/pandacss/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | "@pandacss/dev/postcss": {}, 4 | }, 5 | }; 6 | -------------------------------------------------------------------------------- /packages/docs/public/favicons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/favicons/favicon-16x16.png -------------------------------------------------------------------------------- /packages/docs/public/favicons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/favicons/favicon-32x32.png -------------------------------------------------------------------------------- /packages/docs/public/showcases/jbnado_dev_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/jbnado_dev_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/leonerd_blog.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/leonerd_blog.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/reflect_app_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/reflect_app_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/sakenowa_com.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/sakenowa_com.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/upester_com.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/upester_com.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/usaibis_com_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/usaibis_com_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/valibot_dev_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/valibot_dev_.webp -------------------------------------------------------------------------------- /starters/apps/library/.prettierignore: -------------------------------------------------------------------------------- 1 | # Files Prettier should not format 2 | **/*.log 3 | **/.DS_Store 4 | *. 5 | dist 6 | node_modules 7 | -------------------------------------------------------------------------------- /tsconfig-docs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "include": ["packages/docs"], 4 | "exclude": ["packages/docs/dist"] 5 | } 6 | -------------------------------------------------------------------------------- /.changeset/short-jeans-speak.md: -------------------------------------------------------------------------------- 1 | --- 2 | '@builder.io/qwik': patch 3 | --- 4 | 5 | FIX: unmount qwikify react root alongside with qwik component 6 | -------------------------------------------------------------------------------- /e2e/docs-e2e/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Playwright 3 | node_modules/ 4 | /test-results/ 5 | /playwright-report/ 6 | /blob-report/ 7 | /playwright/.cache/ 8 | -------------------------------------------------------------------------------- /packages/docs/public/ecosystem/qwik-image-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/ecosystem/qwik-image-logo.png -------------------------------------------------------------------------------- /packages/docs/public/ecosystem/qwik-spin-delay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/ecosystem/qwik-spin-delay.png -------------------------------------------------------------------------------- /packages/docs/public/favicons/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/favicons/apple-touch-icon.png -------------------------------------------------------------------------------- /packages/docs/public/showcases/abdhashem_com.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/abdhashem_com.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/amirhbeigi_ir.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/amirhbeigi_ir.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/birdflop_com_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/birdflop_com_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/blueagle_top_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/blueagle_top_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/finallyweb_com_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/finallyweb_com_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/frostytools_com.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/frostytools_com.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/getpolaris_ai_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/getpolaris_ai_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/hypecode_tech_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/hypecode_tech_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/index_app_beta.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/index_app_beta.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/juneikerc_com.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/juneikerc_com.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/necatikcl_dev_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/necatikcl_dev_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/pulsestax_com_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/pulsestax_com_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/qwik_builder_io.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/qwik_builder_io.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/sasthyaseba_com.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/sasthyaseba_com.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/tatbiqit_com_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/tatbiqit_com_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/www_builder_io_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/www_builder_io_.webp -------------------------------------------------------------------------------- /packages/docs/src/media/docs/qwikcity/routing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/src/media/docs/qwikcity/routing.png -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/getting-started/06-styling/index.css: -------------------------------------------------------------------------------- 1 | p { 2 | font-weight: bold; 3 | } 4 | 5 | form { 6 | float: right; 7 | } 8 | -------------------------------------------------------------------------------- /packages/insights/drizzle/0008_handy_baron_zemo.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE manifests ADD `public_api_key` text REFERENCES applications(public_api_key); 2 | -------------------------------------------------------------------------------- /packages/qwik-city/middleware/azure-swa.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../lib/middleware/azure-swa'; 3 | -------------------------------------------------------------------------------- /packages/qwik-city/middleware/firebase.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../lib/middleware/firebase'; 3 | -------------------------------------------------------------------------------- /packages/qwik-react/src/react/client.tsx: -------------------------------------------------------------------------------- 1 | export { createRoot, hydrateRoot } from 'react-dom/client'; 2 | export { flushSync } from 'react-dom'; 3 | -------------------------------------------------------------------------------- /packages/qwik/src/optimizer/core/Makefile: -------------------------------------------------------------------------------- 1 | build: 2 | cargo build 3 | 4 | fmt: 5 | cargo fmt 6 | 7 | test: 8 | cargo test -- --nocapture 9 | -------------------------------------------------------------------------------- /scripts/docs_sync/index.ts: -------------------------------------------------------------------------------- 1 | import { main } from './main'; 2 | import { join } from 'node:path'; 3 | 4 | main(join(process.cwd(), 'packages')); 5 | -------------------------------------------------------------------------------- /starters/apps/library/src/index.ts: -------------------------------------------------------------------------------- 1 | export { Logo } from "./components/logo/logo"; 2 | export { Counter } from "./components/counter/counter"; 3 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/media/MyTest.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/starters/apps/qwikcity-test/src/media/MyTest.jpeg -------------------------------------------------------------------------------- /packages/docs/public/ecosystem/qwik-blog-fallback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/ecosystem/qwik-blog-fallback.png -------------------------------------------------------------------------------- /packages/docs/public/ecosystem/qwik-storefront-ui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/ecosystem/qwik-storefront-ui.png -------------------------------------------------------------------------------- /packages/docs/public/sample-media/qwik-koi-poster.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/sample-media/qwik-koi-poster.jpg -------------------------------------------------------------------------------- /packages/docs/public/showcases/quotemingle_com_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/quotemingle_com_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/qwind_pages_dev_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/qwind_pages_dev_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/www_dimension_dev.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/www_dimension_dev.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/www_expobeds_com_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/www_expobeds_com_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/www_hexa_center_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/www_hexa_center_.webp -------------------------------------------------------------------------------- /packages/qwik-city/adapters/shared/vite.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../../lib/adapters/shared/vite'; 3 | -------------------------------------------------------------------------------- /packages/qwik-city/adapters/static/vite.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../../lib/adapters/static/vite'; 3 | -------------------------------------------------------------------------------- /packages/qwik-city/middleware/aws-lambda.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../lib/middleware/aws-lambda'; 3 | -------------------------------------------------------------------------------- /packages/qwik-city/middleware/vercel-edge.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../lib/middleware/vercel-edge'; 3 | -------------------------------------------------------------------------------- /.changeset/curvy-glasses-wash.md: -------------------------------------------------------------------------------- 1 | --- 2 | '@builder.io/qwik-city': patch 3 | --- 4 | 5 | FIX: fix behaviour of checkOrigin: "lax-proto" in createQwikCity 6 | -------------------------------------------------------------------------------- /packages/docs/public/favicons/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/favicons/android-chrome-192x192.png -------------------------------------------------------------------------------- /packages/docs/public/favicons/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/favicons/android-chrome-512x512.png -------------------------------------------------------------------------------- /packages/docs/public/showcases/itbusinesshub_com_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/itbusinesshub_com_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/miradorliving_com_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/miradorliving_com_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/seifen_vercel_app_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/seifen_vercel_app_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/ss-link_netlify_app_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/ss-link_netlify_app_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/todaysdatenow_com_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/todaysdatenow_com_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/travelcalc_pages_dev.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/travelcalc_pages_dev.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/www_learn-qwik_com_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/www_learn-qwik_com_.webp -------------------------------------------------------------------------------- /packages/docs/src/media/docs/qwikcity/routing-files.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/src/media/docs/qwikcity/routing-files.png -------------------------------------------------------------------------------- /packages/qwik-city/adapters/azure-swa/vite.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../../lib/adapters/azure-swa/vite'; 3 | -------------------------------------------------------------------------------- /packages/qwik-city/adapters/cloud-run/vite.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../../lib/adapters/cloud-run/vite'; 3 | -------------------------------------------------------------------------------- /packages/qwik-city/middleware/netlify-edge.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../lib/middleware/netlify-edge'; 3 | -------------------------------------------------------------------------------- /packages/qwik-react/src/index.qwik.ts: -------------------------------------------------------------------------------- 1 | export { qwikify$, qwikifyQrl } from './react/qwikify'; 2 | 3 | export type { QwikifyProps } from './react/types'; 4 | -------------------------------------------------------------------------------- /packages/qwik/src/jsx-runtime.ts: -------------------------------------------------------------------------------- 1 | export { jsx, jsxs, jsxDEV, Fragment } from './core'; 2 | export type { JSX, JSXNode, FunctionComponent } from './core'; 3 | -------------------------------------------------------------------------------- /packages/qwik/src/napi/napi.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "napi": { 3 | "name": "qwik", 4 | "triples": { 5 | "defaults": true 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/qwik/src/optimizer/src/versions.ts: -------------------------------------------------------------------------------- 1 | /** @public */ 2 | export const versions = { 3 | qwik: (globalThis as any).QWIK_VERSION as string, 4 | }; 5 | -------------------------------------------------------------------------------- /starters/apps/playground/public/fonts/poppins-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/starters/apps/playground/public/fonts/poppins-400.woff2 -------------------------------------------------------------------------------- /starters/apps/playground/public/fonts/poppins-500.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/starters/apps/playground/public/fonts/poppins-500.woff2 -------------------------------------------------------------------------------- /starters/apps/playground/public/fonts/poppins-700.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/starters/apps/playground/public/fonts/poppins-700.woff2 -------------------------------------------------------------------------------- /starters/features/tailwind-v3/postcss.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | }; 7 | -------------------------------------------------------------------------------- /.changeset/fresh-loops-repeat.md: -------------------------------------------------------------------------------- 1 | --- 2 | '@builder.io/qwik': patch 3 | --- 4 | 5 | FIX: Link prefetch now always preloads Link prefetch bundles on monorepos 6 | -------------------------------------------------------------------------------- /packages/create-qwik/src/types.ts: -------------------------------------------------------------------------------- 1 | export type Args = { 2 | outDir: string; 3 | template: string; 4 | installDeps: boolean; 5 | force: boolean; 6 | }; 7 | -------------------------------------------------------------------------------- /packages/docs/public/showcases/builtwith_appwrite_io_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/builtwith_appwrite_io_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/ohayo-dev-design_com_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/ohayo-dev-design_com_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/www_burgersonfleek_ca_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/www_burgersonfleek_ca_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/www_stockideashq_com_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/www_stockideashq_com_.webp -------------------------------------------------------------------------------- /packages/qwik-city/adapters/bun-server/vite.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../../lib/adapters/bun-server/vite'; 3 | -------------------------------------------------------------------------------- /packages/qwik-city/adapters/deno-server/vite.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../../lib/adapters/deno-server/vite'; 3 | -------------------------------------------------------------------------------- /packages/qwik-city/adapters/netlify-edge/vite.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../../lib/adapters/netlify-edge/vite'; 3 | -------------------------------------------------------------------------------- /packages/qwik-city/adapters/node-server/vite.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../../lib/adapters/node-server/vite'; 3 | -------------------------------------------------------------------------------- /packages/qwik-city/adapters/vercel-edge/vite.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../../lib/adapters/vercel-edge/vite'; 3 | -------------------------------------------------------------------------------- /packages/qwik-city/middleware/cloudflare-pages.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../lib/middleware/cloudflare-pages'; 3 | -------------------------------------------------------------------------------- /packages/qwik-city/middleware/request-handler.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../lib/middleware/request-handler'; 3 | -------------------------------------------------------------------------------- /packages/qwik-labs/src/devtools/index.ts: -------------------------------------------------------------------------------- 1 | // @ts-expect-error compiled-string-plugin 2 | export { default as devtoolsJsonSRC } from './json?compiled-string'; 3 | -------------------------------------------------------------------------------- /packages/qwik/qwik-cli.cjs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // This requires the build to be run first. 3 | const qwik = require('./dist/cli.cjs'); 4 | qwik.runCli(); 5 | -------------------------------------------------------------------------------- /packages/qwik/src/core/version.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * QWIK_VERSION 3 | * 4 | * @public 5 | */ 6 | export const version = (globalThis as any).QWIK_VERSION as string; 7 | -------------------------------------------------------------------------------- /.changeset/bitter-loops-train.md: -------------------------------------------------------------------------------- 1 | --- 2 | '@builder.io/qwik': patch 3 | --- 4 | 5 | FIX: The Deno integration now builds successfully with version v2.4.3 and above. 6 | -------------------------------------------------------------------------------- /.changeset/moody-tigers-cry.md: -------------------------------------------------------------------------------- 1 | --- 2 | 'create-qwik': patch 3 | --- 4 | 5 | CHORE: use the new version of @croct/json5-parser to merge JSON5 and preserve comments 6 | -------------------------------------------------------------------------------- /packages/docs/public/showcases/bot-whatsapp_netlify_app_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/bot-whatsapp_netlify_app_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/jose-aguilar_vercel_app_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/jose-aguilar_vercel_app_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/pricing_oasisdigital_com_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/pricing_oasisdigital_com_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/qwik-osm-poc_netlify_app_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/qwik-osm-poc_netlify_app_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/qwikpdf_alexismoren_fr_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/qwikpdf_alexismoren_fr_.webp -------------------------------------------------------------------------------- /packages/docs/src/routes/docs/integrations/icons/icones.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/src/routes/docs/integrations/icons/icones.png -------------------------------------------------------------------------------- /packages/insights/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["dbaeumer.vscode-eslint", "unifiedjs.vscode-mdx"], 3 | "unwantedRecommendations": [] 4 | } 5 | -------------------------------------------------------------------------------- /packages/insights/drizzle/0013_brave_venus.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `errors` DROP COLUMN `session_id`;--> statement-breakpoint 2 | ALTER TABLE `symbols` DROP COLUMN `session_id`; -------------------------------------------------------------------------------- /starters/apps/base/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["dbaeumer.vscode-eslint", "unifiedjs.vscode-mdx"], 3 | "unwantedRecommendations": [] 4 | } 5 | -------------------------------------------------------------------------------- /e2e/adapters-e2e/src/routes/layout.tsx: -------------------------------------------------------------------------------- 1 | import { component$, Slot } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return ; 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/public/docs/qwikcity/README.md: -------------------------------------------------------------------------------- 1 | The images in this folder were created: https://docs.google.com/presentation/d/1HjlWpOpnPAmjdxEV7F2uttjvkWf1FOLvXaWMcxGLs38/ 2 | -------------------------------------------------------------------------------- /packages/docs/public/showcases/qwik-storefront_vendure_io_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/qwik-storefront_vendure_io_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/sanyamjainqwik_vercel_app_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/sanyamjainqwik_vercel_app_.webp -------------------------------------------------------------------------------- /packages/qwik-city/adapters/cloudflare-pages/vite.d.ts: -------------------------------------------------------------------------------- 1 | // re-export for typescript in old resolution mode 2 | export * from '../../lib/adapters/cloudflare-pages/vite'; 3 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "QwikCity e2e app", 3 | "type": "module", 4 | "__qwik__": { 5 | "qwikCity": true 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /.changeset/heavy-windows-mate.md: -------------------------------------------------------------------------------- 1 | --- 2 | 'create-qwik': patch 3 | --- 4 | 5 | FIX: fix up vscode settings merge. Use JSON5 to parse settings.json to prevent parsing errors. 6 | -------------------------------------------------------------------------------- /packages/docs/global.d.ts: -------------------------------------------------------------------------------- 1 | // handled by raw-source plugin in vite.repl-apps.ts 2 | declare module '*?raw-source' { 3 | const url: string; 4 | export default url; 5 | } 6 | -------------------------------------------------------------------------------- /packages/docs/public/showcases/linkfang-portfolio_vercel_app_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/linkfang-portfolio_vercel_app_.webp -------------------------------------------------------------------------------- /packages/docs/public/showcases/www_placementpreparation_io_.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/showcases/www_placementpreparation_io_.webp -------------------------------------------------------------------------------- /packages/docs/src/components/docsearch/context.ts: -------------------------------------------------------------------------------- 1 | import { createContextId } from '@builder.io/qwik'; 2 | 3 | export const SearchContext = createContextId('docsearch'); 4 | -------------------------------------------------------------------------------- /packages/docs/src/components/docsearch/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from './DocSearchHit'; 2 | export * from './InternalDocSearchHit'; 3 | export * from './StoredDocSearchHit'; 4 | -------------------------------------------------------------------------------- /packages/qwik-labs/.prettierignore: -------------------------------------------------------------------------------- 1 | # Files Prettier should not format 2 | **/*.log 3 | **/.DS_Store 4 | *. 5 | dist 6 | vite 7 | node_modules 8 | lib 9 | lib-types 10 | -------------------------------------------------------------------------------- /packages/supabase-auth-helpers-qwik/src/ambient.d.ts: -------------------------------------------------------------------------------- 1 | // these variables are defined by tsup 2 | declare const PACKAGE_NAME: string; 3 | declare const PACKAGE_VERSION: string; 4 | -------------------------------------------------------------------------------- /starters/apps/perf.prod/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "Qwik Performance starter app.", 3 | "type": "module", 4 | "__qwik__": { 5 | "priority": 0 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /.changeset/lucky-adults-tan.md: -------------------------------------------------------------------------------- 1 | --- 2 | '@builder.io/qwik-city': patch 3 | '@builder.io/qwik': patch 4 | --- 5 | 6 | CHORE: Add check-client command to verify bundle freshness 7 | -------------------------------------------------------------------------------- /e2e/qwik-cli-e2e/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "types": ["vitest/globals"], 4 | "esModuleInterop": true 5 | }, 6 | "include": ["utils", "tests"] 7 | } 8 | -------------------------------------------------------------------------------- /packages/docs/src/routes/playground/app/app.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return

Hello Qwik

; 5 | }); 6 | -------------------------------------------------------------------------------- /starters/apps/e2e/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "Qwik E2E", 3 | "__qwik__": { 4 | "priority": 0, 5 | "featureOptions": [] 6 | }, 7 | "type": "module" 8 | } 9 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test.prod/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "QwikCity e2e prod app", 3 | "type": "module", 4 | "__qwik__": { 5 | "qwikCity": true 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /starters/features/bootstrap/src/components/bootstrap/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./alert"; 2 | export * from "./button"; 3 | export * from "./navbar"; 4 | export * from "./spinner"; 5 | -------------------------------------------------------------------------------- /packages/docs/src/components/docsearch/start-screen.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export const StartScreen = component$(() => { 4 | return null; 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/src/components/docsearch/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from './groupBy'; 2 | export * from './identity'; 3 | export * from './noop'; 4 | export * from './removeHighlightTags'; 5 | -------------------------------------------------------------------------------- /packages/docs/src/routes/community/menu.md: -------------------------------------------------------------------------------- 1 | # Community 2 | 3 | ## Community 4 | 5 | - [Groups](groups/index.mdx) 6 | - [Projects](projects/index.mdx) 7 | - [Values](values/index.mdx) 8 | -------------------------------------------------------------------------------- /packages/insights/drizzle/0010_typical_lockheed.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX IF EXISTS `hashIndex`;--> statement-breakpoint 2 | CREATE UNIQUE INDEX `hashIndex` ON `manifests` (`hash`,`public_api_key`); -------------------------------------------------------------------------------- /starters/apps/preloader-test/src/vendor-lib/helper.ts: -------------------------------------------------------------------------------- 1 | // This will be imported by both LibA and LibB 2 | export const helper = () => { 3 | return "Helper function called"; 4 | }; 5 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/routes/issue4531/index.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from "@builder.io/qwik"; 2 | 3 | export default component$(() =>
should render
); 4 | -------------------------------------------------------------------------------- /packages/docs/src/components/theme-toggle/README.md: -------------------------------------------------------------------------------- 1 | # Theme switch 2 | 3 | Based on: [GUI challenges - Theme Toggle](https://github.com/argyleink/gui-challenges/tree/main/theme-switch) 4 | -------------------------------------------------------------------------------- /packages/docs/src/utils/utils.ts: -------------------------------------------------------------------------------- 1 | // pascal to snake case 2 | export const toSnakeCase = (str: string) => 3 | str 4 | .split(/\.?(?=[A-Z])/) 5 | .join('-') 6 | .toLowerCase(); 7 | -------------------------------------------------------------------------------- /packages/qwik-city/src/runtime/src/sw-register-runtime.ts: -------------------------------------------------------------------------------- 1 | // generated at build time from sw-register.ts 2 | // with the user configured /service-worker.js url 3 | 4 | export default ''; 5 | -------------------------------------------------------------------------------- /starters/apps/preloader-test/src/routes/hidden/index.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from "@builder.io/qwik"; 2 | 3 | export default component$(() => { 4 | return
Hidden
; 5 | }); 6 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/routes/produkt/index.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from "@builder.io/qwik"; 2 | 3 | export default component$(() => { 4 | return
Produkt
; 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/public/docs/integrations/image-optimization/image-network.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/public/docs/integrations/image-optimization/image-network.png -------------------------------------------------------------------------------- /packages/docs/public/ecosystem/plus.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/src/routes/(blog)/blog/(articles)/fontless/first-meeting.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/src/routes/(blog)/blog/(articles)/fontless/first-meeting.webp -------------------------------------------------------------------------------- /packages/docs/src/routes/(blog)/blog/(articles)/fontless/fontless-hero.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/src/routes/(blog)/blog/(articles)/fontless/fontless-hero.webp -------------------------------------------------------------------------------- /packages/docs/src/routes/(blog)/blog/(articles)/fontless/second-meeting.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/src/routes/(blog)/blog/(articles)/fontless/second-meeting.webp -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/component/simple/index.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return
Hello World!
; 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/cookbook/portal/popup-example.css: -------------------------------------------------------------------------------- 1 | .popup-example { 2 | border: 1x solid black; 3 | border-radius: 5px; 4 | background-color: white; 5 | padding: 20px; 6 | } 7 | -------------------------------------------------------------------------------- /packages/docs/src/routes/tutorial/hooks/use-un-mount/problem/app.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return

TODO

; 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/src/routes/tutorial/hooks/use-un-mount/solution/app.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return

TODO

; 5 | }); 6 | -------------------------------------------------------------------------------- /packages/supabase-auth-helpers-qwik/README.md: -------------------------------------------------------------------------------- 1 | # @supabase/auth-helpers-qwik (BETA) 2 | 3 | This submodule provides convenience helpers for implementing user authentication in Qwik applications. 4 | -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "trailingComma": "es5", 3 | "tabWidth": 2, 4 | "semi": true, 5 | "singleQuote": true, 6 | "printWidth": 79, 7 | "useTabs": false 8 | } 9 | -------------------------------------------------------------------------------- /packages/qwik-city/src/middleware/request-handler/redirect-handler.ts: -------------------------------------------------------------------------------- 1 | /** @public */ 2 | export class AbortMessage {} 3 | 4 | /** @public */ 5 | export class RedirectMessage extends AbortMessage {} 6 | -------------------------------------------------------------------------------- /packages/qwik/src/build/index.dev.ts: -------------------------------------------------------------------------------- 1 | export { isBrowser, isServer } from '.'; 2 | 3 | /** 4 | * True when build is in dev mode. 5 | * 6 | * @public 7 | */ 8 | export const isDev: boolean = true; 9 | -------------------------------------------------------------------------------- /starters/adapters/firebase/functions/index.js: -------------------------------------------------------------------------------- 1 | import { https } from "firebase-functions"; 2 | import qwikApp from "./server/entry-firebase.mjs"; 3 | 4 | export const app = https.onRequest(qwikApp); 5 | -------------------------------------------------------------------------------- /starters/apps/todo-test/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "Qwik implementation of TodoMVC: https://todomvc.com/.", 3 | "type": "module", 4 | "__qwik__": { 5 | "priority": -2 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/docs/src/routes/examples/apps/introduction/hello-world/app.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return

Hello Qwik

; 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/src/routes/tutorial/component/basic/solution/app.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return
Hello World!
; 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/src/routes/tutorial/events/basic/problem/app.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return ; 5 | }); 6 | -------------------------------------------------------------------------------- /packages/docs/src/routes/tutorial/introduction/component/problem/app.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return

Hello World

; 5 | }); 6 | -------------------------------------------------------------------------------- /starters/apps/todo-old-test/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "Qwik implementation of TodoMVC: https://todomvc.com/.", 3 | "type": "module", 4 | "__qwik__": { 5 | "priority": 0 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/docs/src/routes/tutorial/component/basic/problem/app.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return

__put_something_here__

; 5 | }); 6 | -------------------------------------------------------------------------------- /packages/insights/public/_headers: -------------------------------------------------------------------------------- 1 | /build/* 2 | Cache-Control: public, max-age=31536000, s-maxage=31536000, immutable 3 | /assets/* 4 | Cache-Control: public, max-age=31536000, s-maxage=31536000, immutable 5 | -------------------------------------------------------------------------------- /packages/qwik/src/build/index.prod.ts: -------------------------------------------------------------------------------- 1 | export { isBrowser, isServer } from './index'; 2 | 3 | /** 4 | * True when build is in dev mode. 5 | * 6 | * @public 7 | */ 8 | export const isDev: boolean = false; 9 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/routes/issue7732/a/index.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from "@builder.io/qwik"; 2 | 3 | export default component$(() => { 4 | return
empty default route A
; 5 | }); 6 | -------------------------------------------------------------------------------- /starters/e2e/global.d.ts: -------------------------------------------------------------------------------- 1 | declare global { 2 | namespace PlaywrightTest { 3 | interface Matchers { 4 | hasAttribute(a: string): Promise; 5 | } 6 | } 7 | } 8 | 9 | export {}; 10 | -------------------------------------------------------------------------------- /.changeset/bright-stars-shave.md: -------------------------------------------------------------------------------- 1 | --- 2 | 'create-qwik': patch 3 | --- 4 | 5 | FIX: set sideEffects: false to the lib template, otherwise there might be some side effects imports when building a consumer project. 6 | -------------------------------------------------------------------------------- /.changeset/sixty-rockets-clean.md: -------------------------------------------------------------------------------- 1 | --- 2 | '@builder.io/qwik-city': patch 3 | --- 4 | 5 | FEAT: SPA Link navigation now preloads the next route bundles on click with maximum probability, speeding up SPA navigation. 6 | -------------------------------------------------------------------------------- /.changeset/twelve-words-jump.md: -------------------------------------------------------------------------------- 1 | --- 2 | '@builder.io/qwik': patch 3 | --- 4 | 5 | FEAT: maxIdlePreloads is now constant over time so you know for sure how many bundles will be preloaded concurrently during idle. 6 | -------------------------------------------------------------------------------- /packages/create-qwik/src/helpers/jokes.ts: -------------------------------------------------------------------------------- 1 | import jokes from './jokes.json'; 2 | 3 | export function getRandomJoke() { 4 | const index = Math.floor(Math.random() * jokes.length); 5 | return jokes[index]!; 6 | } 7 | -------------------------------------------------------------------------------- /packages/docs/src/repl/repl-constants.ts: -------------------------------------------------------------------------------- 1 | export const QWIK_PKG_NAME = '@builder.io/qwik'; 2 | 3 | export const QWIK_REPL_DEPS_CACHE = 'QwikReplDeps'; 4 | export const QWIK_REPL_RESULT_CACHE = 'QwikReplResults'; 5 | -------------------------------------------------------------------------------- /packages/qwik-dom/lib/index.d.ts: -------------------------------------------------------------------------------- 1 | declare module '@builder.io/qwik-dom' { 2 | function createDOMImplementation(): DOMImplementation; 3 | function createDocument(html?: string, force?: boolean): Document; 4 | } 5 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/routes/(common)/actions/actions.module.css: -------------------------------------------------------------------------------- 1 | .error { 2 | color: red; 3 | } 4 | 5 | .success { 6 | color: green; 7 | } 8 | 9 | .processing { 10 | color: blue; 11 | } 12 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/routes/issue2441/abc.page/index.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from "@builder.io/qwik"; 2 | 3 | export default component$(() => { 4 | return

Issue 2441

; 5 | }); 6 | -------------------------------------------------------------------------------- /vitest.workspace.js: -------------------------------------------------------------------------------- 1 | import { defineWorkspace } from 'vitest/config'; 2 | 3 | // needed by the vscode vitest integration but it also speeds up vitest cli 4 | export default defineWorkspace(['./vitest.config.ts']); 5 | -------------------------------------------------------------------------------- /packages/docs/src/components/docsearch/types/StoredDocSearchHit.ts: -------------------------------------------------------------------------------- 1 | import type { DocSearchHit } from './DocSearchHit'; 2 | 3 | export type StoredDocSearchHit = Omit; 4 | -------------------------------------------------------------------------------- /packages/docs/src/routes/docs/(qwikcity)/troubleshooting/index.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | contributors: 3 | - mhevery 4 | - adamdbradley 5 | updated_at: '2023-04-20T23:06:55Z' 6 | created_at: '2023-03-20T23:45:13Z' 7 | --- 8 | 9 | -------------------------------------------------------------------------------- /packages/qwik-city/src/buildtime/runtime-generation/sw-register-build.ts: -------------------------------------------------------------------------------- 1 | // At build time this becomes a transpiled string version of 2 | // packages/qwik-city/src/runtime/src/sw-register.ts 3 | 4 | export default ''; 5 | -------------------------------------------------------------------------------- /packages/qwik-city/src/buildtime/vite/index.ts: -------------------------------------------------------------------------------- 1 | export { extendConfig } from './config'; 2 | export { qwikCity } from './plugin'; 3 | export type { MdxOptions, QwikCityPlugin, QwikCityVitePluginOptions } from './types'; 4 | -------------------------------------------------------------------------------- /starters/features/tailwind-v3/src/global.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Tailwind CSS imports 3 | * View the full documentation at https://tailwindcss.com 4 | */ 5 | @tailwind base; 6 | @tailwind components; 7 | @tailwind utilities; 8 | -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/qwikcity/middleware/exit/index.tsx: -------------------------------------------------------------------------------- 1 | import { type RequestHandler } from '@builder.io/qwik-city'; 2 | 3 | export const onGet: RequestHandler = async ({ exit }) => { 4 | throw exit(); 5 | }; 6 | -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/state/counter-signal/.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "trailingComma": "es5", 3 | "tabWidth": 2, 4 | "semi": true, 5 | "singleQuote": true, 6 | "printWidth": 60, 7 | "useTabs": false 8 | } 9 | -------------------------------------------------------------------------------- /packages/insights/drizzle/0018_heavy_toad.sql: -------------------------------------------------------------------------------- 1 | CREATE INDEX `idx_apiKey_hash_from` ON `edges` (`public_api_key`,`from`,`manifest_hash`);--> statement-breakpoint 2 | CREATE INDEX `idx_hash_to` ON `edges` (`manifest_hash`,`to`); -------------------------------------------------------------------------------- /starters/adapters/netlify-edge/public/_headers: -------------------------------------------------------------------------------- 1 | /assets/* 2 | Cache-Control: public, max-age=31536000, s-maxage=31536000, immutable 3 | /build/* 4 | Cache-Control: public, max-age=31536000, s-maxage=31536000, immutable 5 | -------------------------------------------------------------------------------- /starters/apps/preloader-test/src/vendor-lib/libA.ts: -------------------------------------------------------------------------------- 1 | // This will be in its own chunk 2 | import { helper } from "./helper"; 3 | 4 | export const getMessage = () => { 5 | return `Message from LibA: ${helper()}`; 6 | }; 7 | -------------------------------------------------------------------------------- /starters/apps/preloader-test/src/vendor-lib/libB.ts: -------------------------------------------------------------------------------- 1 | // This will be in its own chunk 2 | import { helper } from "./helper"; 3 | 4 | export const getMessage = () => { 5 | return `Message from LibB: ${helper()}`; 6 | }; 7 | -------------------------------------------------------------------------------- /.changeset/slimy-lizards-switch.md: -------------------------------------------------------------------------------- 1 | --- 2 | '@builder.io/qwik': patch 3 | --- 4 | 5 | FIX: preloader now preloads bundles as long as they are part of the current viewport's bundles graph, even if their probability is very small 6 | -------------------------------------------------------------------------------- /.changeset/yummy-monkeys-return.md: -------------------------------------------------------------------------------- 1 | --- 2 | '@builder.io/qwik': patch 3 | --- 4 | 5 | FIX: Qwik is now smarter at bundling non QRL source files and qwik libraries modules (e.g. helpers, enums, inline components, etc.) together. 6 | -------------------------------------------------------------------------------- /packages/docs/src/routes/(blog)/blog/(articles)/qwik-1-14-preloader/qwik-preloader-hero.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/src/routes/(blog)/blog/(articles)/qwik-1-14-preloader/qwik-preloader-hero.webp -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/getting-started/01-route/index.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return
A Joke!
; 5 | }); 6 | -------------------------------------------------------------------------------- /packages/qwik-labs/src/index.ts: -------------------------------------------------------------------------------- 1 | export { Insights, InsightsError, InsightSymbol, InsightsPayload } from './insights'; 2 | export { untypedAppUrl, omitProps } from './qwik-types'; 3 | export { devtoolsJsonSRC } from './devtools'; 4 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/routes/issue7732/c/index.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from "@builder.io/qwik"; 2 | 3 | export default component$(() => { 4 | return
route C should have redirected=true params
; 5 | }); 6 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/routes/plugin@issue4722.tsx: -------------------------------------------------------------------------------- 1 | import { routeLoader$ } from "@builder.io/qwik-city"; 2 | 3 | export const usePlugin = routeLoader$(() => { 4 | return { 5 | message: "works", 6 | }; 7 | }); 8 | -------------------------------------------------------------------------------- /starters/features/cypress/cypress/fixtures/example.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Using fixtures to represent data", 3 | "email": "hello@cypress.io", 4 | "body": "Fixtures are a great way to mock data for responses to routes" 5 | } 6 | -------------------------------------------------------------------------------- /packages/docs/src/components/docsearch/utils/isSamsung.ts: -------------------------------------------------------------------------------- 1 | const regex = /((gt|sm)-|galaxy nexus)|samsung[- ]/i; 2 | 3 | export function isSamsung(userAgent: string) { 4 | return Boolean(userAgent && userAgent.match(regex)); 5 | } 6 | -------------------------------------------------------------------------------- /packages/qwik-dom/lib/events.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = { 3 | Event: require('./Event'), 4 | UIEvent: require('./UIEvent'), 5 | MouseEvent: require('./MouseEvent'), 6 | CustomEvent: require('./CustomEvent'), 7 | }; 8 | -------------------------------------------------------------------------------- /starters/features/pandacss/src/global.css: -------------------------------------------------------------------------------- 1 | /** 2 | * PandaCSS CSS layers 3 | * View the full documentation at https://panda-css.com/docs/concepts/cascade-layers#layer-css 4 | */ 5 | @layer reset, base, tokens, recipes, utilities; 6 | -------------------------------------------------------------------------------- /starters/features/tailwind-v3/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: ["./src/**/*.{js,ts,jsx,tsx,mdx}"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | }; 9 | -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/qwikcity/middleware/json/index.tsx: -------------------------------------------------------------------------------- 1 | import { type RequestHandler } from '@builder.io/qwik-city'; 2 | 3 | export const onGet: RequestHandler = async ({ json }) => { 4 | json(200, { hello: 'world' }); 5 | }; 6 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/routes/docs/layout.css: -------------------------------------------------------------------------------- 1 | .docs main { 2 | display: grid; 3 | grid-template-columns: 200px 1fr; 4 | padding: 0; 5 | margin: 0; 6 | } 7 | 8 | .docs-content { 9 | padding-left: 20px; 10 | } 11 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/routes/mdx/index.mdx: -------------------------------------------------------------------------------- 1 | | Name | Type | Description | 2 | | ------ | ------ | -------------------- | 3 | | `name` | string | Name of the resource | 4 | | `path` | string | Path to the resource | 5 | -------------------------------------------------------------------------------- /starters/templates/barrel/route/index.tsx.template: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return ( 5 |
6 | New route works. 7 |
8 | ); 9 | }); 10 | -------------------------------------------------------------------------------- /starters/templates/qwik/route/index.tsx.template: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return ( 5 |
6 | New route works. 7 |
8 | ); 9 | }); 10 | -------------------------------------------------------------------------------- /@types/bun.d.ts: -------------------------------------------------------------------------------- 1 | declare const Bun: { 2 | fileURLToPath: (url: string) => string; 3 | env: any; 4 | file: (path: string) => { 5 | text: () => Promise; 6 | stream: () => Promise>; 7 | }; 8 | }; 9 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:16.12.0-buster 2 | 3 | RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y 4 | ADD . / 5 | ENV PATH="/root/.cargo/bin:${PATH}" 6 | RUN make install-rust-deps 7 | RUN pnpm install 8 | RUN pnpm build 9 | -------------------------------------------------------------------------------- /packages/docs/src/empty.ts: -------------------------------------------------------------------------------- 1 | // HACK: used to override npm imports in vite.config.js 2 | // For example @supabase/node-fetch polyfill should not be imported in the edge 3 | 4 | export default undefined; 5 | 6 | export const Headers = undefined; 7 | -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/qwikcity/middleware/method/index.tsx: -------------------------------------------------------------------------------- 1 | import { type RequestHandler } from '@builder.io/qwik-city'; 2 | 3 | export const onRequest: RequestHandler = async ({ method, json }) => { 4 | json(200, { method }); 5 | }; 6 | -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/qwikcity/middleware/text/index.tsx: -------------------------------------------------------------------------------- 1 | import { type RequestHandler } from '@builder.io/qwik-city'; 2 | 3 | export const onGet: RequestHandler = async ({ text }) => { 4 | text(200, 'Text based response.'); 5 | }; 6 | -------------------------------------------------------------------------------- /packages/docs/src/routes/tutorial/events/basic/solution/app.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return ; 5 | }); 6 | -------------------------------------------------------------------------------- /packages/insights/drizzle/0017_pink_maestro.sql: -------------------------------------------------------------------------------- 1 | CREATE INDEX `idx_manifests_apiKey_hash_2` ON `manifests` (`public_api_key`,`hash`);--> statement-breakpoint 2 | CREATE INDEX `idx_manifest_api_timestamp` ON `manifests` (`public_api_key`,`timestamp`); -------------------------------------------------------------------------------- /starters/apps/todo-old-test/src/entry.dev.tsx: -------------------------------------------------------------------------------- 1 | import { render } from "@builder.io/qwik"; 2 | import { Root } from "./root"; 3 | 4 | /** 5 | * Development only entry point using only client-side modules. 6 | */ 7 | render(document, ); 8 | -------------------------------------------------------------------------------- /packages/docs/src/routes/(blog)/blog/(articles)/qwik-1-14-preloader/service-worker-delay-demo-crop.webm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/src/routes/(blog)/blog/(articles)/qwik-1-14-preloader/service-worker-delay-demo-crop.webm -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/qwikcity/middleware/params/[myId]/index.tsx: -------------------------------------------------------------------------------- 1 | import { type RequestHandler } from '@builder.io/qwik-city'; 2 | 3 | export const onGet: RequestHandler = async ({ params, json }) => { 4 | json(200, { params }); 5 | }; 6 | -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/qwikcity/middleware/url/index.tsx: -------------------------------------------------------------------------------- 1 | import { type RequestHandler } from '@builder.io/qwik-city'; 2 | 3 | export const onGet: RequestHandler = async ({ url, json }) => { 4 | json(200, { url: url.toString() }); 5 | }; 6 | -------------------------------------------------------------------------------- /packages/docs/src/routes/docs/(qwikcity)/guides/deploy/index.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | contributors: 3 | - manucorporat 4 | - mhevery 5 | - adamdbradley 6 | updated_at: '2023-04-20T23:06:55Z' 7 | created_at: '2023-03-20T23:45:13Z' 8 | --- 9 | 10 | -------------------------------------------------------------------------------- /packages/eslint-plugin-qwik/tests/loader-location/valid-loader-export/src/routes/index.tsx: -------------------------------------------------------------------------------- 1 | import { routeLoader$ } from '@builder.io/qwik-city'; 2 | export { useFormLoader }; 3 | const useFormLoader = routeLoader$(() => { 4 | return null; 5 | }); 6 | -------------------------------------------------------------------------------- /starters/apps/preloader-test/src/components/generated/dynamic9.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from "@builder.io/qwik"; 2 | 3 | export default component$(() => { 4 | return ( 5 | <> 6 |

Dynamic 9

7 | 8 | ); 9 | }); 10 | -------------------------------------------------------------------------------- /starters/features/bootstrap/src/constants/data.ts: -------------------------------------------------------------------------------- 1 | export const colorVariantsList: Array = [ 2 | "primary", 3 | "secondary", 4 | "success", 5 | "danger", 6 | "warning", 7 | "info", 8 | "light", 9 | "dark", 10 | ]; 11 | -------------------------------------------------------------------------------- /starters/features/bootstrap/src/models/bootstrap.ts: -------------------------------------------------------------------------------- 1 | export interface BsComponentProps { 2 | text?: string; 3 | colorVariant: string; 4 | } 5 | 6 | export interface BsSpinnerComponentProps extends BsComponentProps { 7 | growing: boolean; 8 | } 9 | -------------------------------------------------------------------------------- /packages/docs/src/components/docsearch/README.md: -------------------------------------------------------------------------------- 1 | # Docsearch in qwik 2 | 3 | All the credits goes to Algolia's [docsearch-react](https://github.com/algolia/docsearch/tree/main/packages/docsearch-react) 4 | 5 | Only render part port to qwik's component. 6 | -------------------------------------------------------------------------------- /packages/docs/src/routes/(blog)/blog/(articles)/qwik-1-14-preloader/modulepreload-no-delay-demo-crop.webm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/src/routes/(blog)/blog/(articles)/qwik-1-14-preloader/modulepreload-no-delay-demo-crop.webm -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/qwikcity/middleware/platform/index.tsx: -------------------------------------------------------------------------------- 1 | import { type RequestHandler } from '@builder.io/qwik-city'; 2 | 3 | export const onGet: RequestHandler = async ({ platform, json }) => { 4 | json(200, Object.keys(platform)); 5 | }; 6 | -------------------------------------------------------------------------------- /packages/qwik/src/optimizer/src/scripts.ts: -------------------------------------------------------------------------------- 1 | export const QWIK_LOADER_DEFAULT_MINIFIED: string = (globalThis as any) 2 | .QWIK_LOADER_DEFAULT_MINIFIED; 3 | export const QWIK_LOADER_DEFAULT_DEBUG: string = (globalThis as any).QWIK_LOADER_DEFAULT_DEBUG; 4 | -------------------------------------------------------------------------------- /starters/adapters/cloud-run/README.md: -------------------------------------------------------------------------------- 1 | ## Google Cloud Run Server 2 | 3 | This app has a minimal [Cloud Run server](https://cloud.google.com/run) implementation. After running a full build, deploy your app with: 4 | 5 | ``` 6 | npm run deploy 7 | ``` 8 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/routes/issue2441/abc.endpoint/index.ts: -------------------------------------------------------------------------------- 1 | import type { RequestHandler } from "@builder.io/qwik-city"; 2 | 3 | export const onRequest: RequestHandler = ({ json }) => { 4 | json(200, { 5 | issue: 2441, 6 | }); 7 | }; 8 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/routes/issue4502/broken/route/index.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from "@builder.io/qwik"; 2 | 3 | export default component$(() => ( 4 |
5 | welcome to /broken/route 6 |
7 | )); 8 | -------------------------------------------------------------------------------- /packages/docs/src/components/copy-code/copy-code.css: -------------------------------------------------------------------------------- 1 | .animate { 2 | opacity: 1; 3 | animation: check-in 1 1s; 4 | } 5 | 6 | @keyframes check-in { 7 | 0% { 8 | opacity: 0; 9 | } 10 | 11 | 100% { 12 | opacity: 1; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /packages/docs/src/routes/(blog)/blog/(articles)/qwik-1-14-preloader/service-worker-registration-penalty.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/src/routes/(blog)/blog/(articles)/qwik-1-14-preloader/service-worker-registration-penalty.webp -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/qwikcity/middleware/basePathname/index.tsx: -------------------------------------------------------------------------------- 1 | import { type RequestHandler } from '@builder.io/qwik-city'; 2 | 3 | export const onGet: RequestHandler = async ({ basePathname, json }) => { 4 | json(200, { basePathname }); 5 | }; 6 | -------------------------------------------------------------------------------- /packages/qwik/src/core/document.ts: -------------------------------------------------------------------------------- 1 | /** Contains additional items which Qwik patches on the Document. */ 2 | export interface QwikDocument extends Document { 3 | __q_context__?: [HTMLElement, Event, URL] | {}; 4 | } 5 | 6 | export const _is_module = true; 7 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/components/menu/menu.css: -------------------------------------------------------------------------------- 1 | .menu { 2 | background: #eee; 3 | padding: 20px 10px; 4 | } 5 | 6 | .menu h5 { 7 | margin: 0; 8 | } 9 | 10 | .menu ul { 11 | padding-left: 20px; 12 | margin: 5px 0 25px 0; 13 | } 14 | -------------------------------------------------------------------------------- /packages/docs/src/routes/tutorial/events/programmatic/problem/app.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | // hint: useOn('click', $(() => ...)); 5 | 6 | return

App Component. Click me.

; 7 | }); 8 | -------------------------------------------------------------------------------- /packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-component-props-click.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export const HelloWorld = component$(({ onClick }: any) => { 4 | return ; 5 | }); 6 | -------------------------------------------------------------------------------- /packages/eslint-plugin-qwik/tests/valid-lexical-scope/valid-file-scope.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export const version = '0.13'; 4 | 5 | export default component$(() => { 6 | return { 7 | version, 8 | }; 9 | }); 10 | -------------------------------------------------------------------------------- /packages/qwik-auth/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @builder.io/qwik-auth 2 | 3 | ## 0.2.3 4 | 5 | ### Patch Changes 6 | 7 | - 🛠 update devDependencies and configurations (by [@JerryWu1234](https://github.com/JerryWu1234) in [#7695](https://github.com/QwikDev/qwik/pull/7695)) 8 | -------------------------------------------------------------------------------- /packages/qwik-react/src/examples/app.tsx: -------------------------------------------------------------------------------- 1 | /** @jsxImportSource react */ 2 | 3 | import { qwikify$ } from '../react/qwikify'; 4 | 5 | export const App = qwikify$(() => { 6 | return ( 7 | <> 8 |
hola
9 | 10 | ); 11 | }); 12 | -------------------------------------------------------------------------------- /packages/qwik/src/cli/migrate-v2/versions.ts: -------------------------------------------------------------------------------- 1 | export const versionTagPriority = ['latest', 'v2', 'rc', 'beta', 'alpha']; 2 | export const packageNames = [ 3 | '@qwik.dev/core', 4 | '@qwik.dev/router', 5 | '@qwik.dev/react', 6 | 'eslint-plugin-qwik', 7 | ]; 8 | -------------------------------------------------------------------------------- /starters/features/postcss/postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | autoprefixer: {}, 4 | "postcss-preset-env": { 5 | stage: 3, 6 | features: { 7 | "nesting-rules": true, 8 | }, 9 | }, 10 | }, 11 | }; 12 | -------------------------------------------------------------------------------- /starters/apps/base/qwik.env.d.ts: -------------------------------------------------------------------------------- 1 | // This file can be used to add references for global types like `vite/client`. 2 | 3 | // Add global `vite/client` types. For more info, see: https://vitejs.dev/guide/features#client-types 4 | /// 5 | -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/qwikcity/middleware/error/index.tsx: -------------------------------------------------------------------------------- 1 | import { type RequestHandler } from '@builder.io/qwik-city'; 2 | 3 | export const onGet: RequestHandler = async ({ error }) => { 4 | throw error(500, 'ERROR: Demonstration of an error response.'); 5 | }; 6 | -------------------------------------------------------------------------------- /starters/features/tailwind/prettier.config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @see https://prettier.io/docs/configuration 3 | * @type {import("prettier").Config} 4 | */ 5 | 6 | const config = { 7 | plugins: ["prettier-plugin-tailwindcss"], 8 | }; 9 | 10 | export default config; 11 | -------------------------------------------------------------------------------- /packages/docs/src/components/docsearch/types/InternalDocSearchHit.ts: -------------------------------------------------------------------------------- 1 | import type { DocSearchHit } from './DocSearchHit'; 2 | 3 | export type InternalDocSearchHit = DocSearchHit & { 4 | __docsearch_parent: InternalDocSearchHit | null; 5 | __autocomplete_id: number; 6 | }; 7 | -------------------------------------------------------------------------------- /packages/docs/src/routes/(blog)/blog/(articles)/qwik-1-14-preloader/service-worker-vs-modulepreload-illustration.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jails/qwik/main/packages/docs/src/routes/(blog)/blog/(articles)/qwik-1-14-preloader/service-worker-vs-modulepreload-illustration.webp -------------------------------------------------------------------------------- /packages/docs/src/routes/playground/app/entry.server.tsx: -------------------------------------------------------------------------------- 1 | import { renderToString, type RenderOptions } from '@builder.io/qwik/server'; 2 | import { Root } from './root'; 3 | 4 | export default function (opts: RenderOptions) { 5 | return renderToString(, opts); 6 | } 7 | -------------------------------------------------------------------------------- /packages/qwik-city/src/middleware/request-handler/rewrite-handler.ts: -------------------------------------------------------------------------------- 1 | import { AbortMessage } from './redirect-handler'; 2 | 3 | /** @public */ 4 | export class RewriteMessage extends AbortMessage { 5 | constructor(readonly pathname: string) { 6 | super(); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/qwik-city/src/static/deno/index.ts: -------------------------------------------------------------------------------- 1 | import type { StaticGenerateOptions } from '../types'; 2 | 3 | export async function generate(_opts: StaticGenerateOptions) { 4 | console.error(`Deno not implemented`); 5 | Deno.exit(1); 6 | } 7 | 8 | declare const Deno: any; 9 | -------------------------------------------------------------------------------- /starters/apps/starter-partytown-test/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "Blank Qwik starter app with Partytown.", 3 | "dependencies": { 4 | "@qwik.dev/partytown": "latest" 5 | }, 6 | "type": "module", 7 | "__qwik__": { 8 | "priority": 0 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /starters/features/cypress/cypress.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from "cypress"; 2 | 3 | export default defineConfig({ 4 | component: { 5 | devServer: { 6 | framework: "cypress-ct-qwik" as any, 7 | bundler: "vite", 8 | }, 9 | }, 10 | }); 11 | -------------------------------------------------------------------------------- /starters/features/tailwind-v3/prettier.config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @see https://prettier.io/docs/configuration 3 | * @type {import("prettier").Config} 4 | */ 5 | 6 | const config = { 7 | plugins: ["prettier-plugin-tailwindcss"], 8 | }; 9 | 10 | export default config; 11 | -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/react/slider/index.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | import { MUISlider } from './react'; 3 | 4 | export default component$(() => { 5 | return ( 6 | <> 7 | 8 | 9 | ); 10 | }); 11 | -------------------------------------------------------------------------------- /packages/insights/src/db/README.md: -------------------------------------------------------------------------------- 1 | Debugging SQLite responses: 2 | 3 | ``` 4 | curl https://qwik-bundalyzer-mhevery.turso.io/v2/pipeline \ 5 | -d '{"requests":[{"type": "execute", "stmt": {"sql": "'$QUERY'"}}]}' 6 | -H "Authorization: Bearer $PRIVATE_LIBSQL_DB_API_TOKEN" 7 | ``` 8 | -------------------------------------------------------------------------------- /scripts/tools/preinstall-script.js: -------------------------------------------------------------------------------- 1 | /** Do NOT allow using `npm` as package manager. */ 2 | if (process.env.npm_execpath.indexOf('pnpm') === -1) { 3 | console.error('You must use pnpm to install dependencies:'); 4 | console.error(' $ pnpm install'); 5 | process.exit(1); 6 | } 7 | -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/react/counter-simple/index.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | import { QCounter } from './react'; 3 | 4 | export default component$(() => { 5 | return ( 6 |
7 | 8 |
9 | ); 10 | }); 11 | -------------------------------------------------------------------------------- /starters/features/auth/src/routes/plugin@auth.ts: -------------------------------------------------------------------------------- 1 | import { QwikAuth$ } from "@auth/qwik"; 2 | import GitHub from "@auth/qwik/providers/github"; 3 | 4 | export const { onRequest, useSession, useSignIn, useSignOut } = QwikAuth$( 5 | () => ({ 6 | providers: [GitHub], 7 | }), 8 | ); 9 | -------------------------------------------------------------------------------- /.changeset/hot-buses-strive.md: -------------------------------------------------------------------------------- 1 | --- 2 | '@builder.io/qwik': patch 3 | --- 4 | 5 | FIX: Rollup's hoistTranstiveImports is now set to `false` because the hoisting added unnecessary bundles to be preloaded to the bundle-graph static imports graph. This could lead to a suboptimal preloading experience. -------------------------------------------------------------------------------- /e2e/adapters-e2e/src/routes/profile/index.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return ( 5 | <> 6 | go to home 7 |
8 |

Profile page 🙂

9 | 10 | ); 11 | }); 12 | -------------------------------------------------------------------------------- /packages/docs/src/routes/examples/apps/reactivity/task/entry.server.tsx: -------------------------------------------------------------------------------- 1 | import { renderToString, type RenderOptions } from '@builder.io/qwik/server'; 2 | import { Root } from './root'; 3 | 4 | export default function (opts: RenderOptions) { 5 | return renderToString(, opts); 6 | } 7 | -------------------------------------------------------------------------------- /packages/docs/src/routes/examples/apps/visibility/clock/entry.server.tsx: -------------------------------------------------------------------------------- 1 | import { renderToString, type RenderOptions } from '@builder.io/qwik/server'; 2 | import { Root } from './root'; 3 | 4 | export default function (opts: RenderOptions) { 5 | return renderToString(, opts); 6 | } 7 | -------------------------------------------------------------------------------- /packages/docs/src/routes/tutorial/qrl/data/problem/app.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return ( 5 | <> 6 | 7 | 8 | ); 9 | }); 10 | -------------------------------------------------------------------------------- /packages/eslint-plugin-qwik/tests/loader-location/invalid-loader-missing-export/src/routes/index.tsx: -------------------------------------------------------------------------------- 1 | // Expect error: { "messageId": "missingExport" } 2 | 3 | import { routeLoader$ } from '@builder.io/qwik-city'; 4 | 5 | const useFormLoader = routeLoader$(() => { 6 | return null; 7 | }); 8 | -------------------------------------------------------------------------------- /packages/qwik-dom/lib/config.js: -------------------------------------------------------------------------------- 1 | /* 2 | * This file defines Domino behaviour that can be externally configured. 3 | * To change these settings, set the relevant global property *before* 4 | * you call `require("domino")`. 5 | */ 6 | 7 | exports.isApiWritable = !global.__domino_frozen__; 8 | -------------------------------------------------------------------------------- /packages/docs/src/routes/examples/apps/reactivity/counter/entry.server.tsx: -------------------------------------------------------------------------------- 1 | import { renderToString, type RenderOptions } from '@builder.io/qwik/server'; 2 | import { Root } from './root'; 3 | 4 | export default function (opts: RenderOptions) { 5 | return renderToString(, opts); 6 | } 7 | -------------------------------------------------------------------------------- /packages/supabase-auth-helpers-qwik/src/index.ts: -------------------------------------------------------------------------------- 1 | // Methods 2 | export { createBrowserClient } from './utils/createBrowserClient'; 3 | export { createServerClient } from './utils/createServerClient'; 4 | 5 | // Types 6 | export type { Session, User, SupabaseClient } from '@supabase/supabase-js'; 7 | -------------------------------------------------------------------------------- /packages/docs/src/routes/examples/apps/introduction/hello-world/entry.server.tsx: -------------------------------------------------------------------------------- 1 | import { renderToString, type RenderOptions } from '@builder.io/qwik/server'; 2 | import { Root } from './root'; 3 | 4 | export default function (opts: RenderOptions) { 5 | return renderToString(, opts); 6 | } 7 | -------------------------------------------------------------------------------- /packages/docs/src/routes/examples/apps/introduction/runtime-less/entry.server.tsx: -------------------------------------------------------------------------------- 1 | import { renderToString, type RenderOptions } from '@builder.io/qwik/server'; 2 | import { Root } from './root'; 3 | 4 | export default function (opts: RenderOptions) { 5 | return renderToString(, opts); 6 | } 7 | -------------------------------------------------------------------------------- /packages/docs/src/routes/examples/apps/partial/hackernews-index/entry.server.tsx: -------------------------------------------------------------------------------- 1 | import { renderToString, type RenderOptions } from '@builder.io/qwik/server'; 2 | import { Root } from './root'; 3 | 4 | export default function (opts: RenderOptions) { 5 | return renderToString(, opts); 6 | } 7 | -------------------------------------------------------------------------------- /packages/docs/src/routes/examples/apps/reactivity/auto-complete/entry.server.tsx: -------------------------------------------------------------------------------- 1 | import { renderToString, type RenderOptions } from '@builder.io/qwik/server'; 2 | import { Root } from './root'; 3 | 4 | export default function (opts: RenderOptions) { 5 | return renderToString(, opts); 6 | } 7 | -------------------------------------------------------------------------------- /packages/docs/src/routes/tutorial/events/preventdefault/problem/app.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return ( 5 | alert('do something else.')}> 6 | click me! 7 | 8 | ); 9 | }); 10 | -------------------------------------------------------------------------------- /packages/eslint-plugin-qwik/tests/no-use-visible-task/invalid-no-comment.tsx: -------------------------------------------------------------------------------- 1 | // Expect error: { "messageId": "noUseVisibleTask" } 2 | 3 | import { component$, useVisibleTask$ } from '@builder.io/qwik'; 4 | export default component$(() => { 5 | useVisibleTask$(() => {}); 6 | return <>; 7 | }); 8 | -------------------------------------------------------------------------------- /packages/qwik/global.d.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable no-var */ 2 | // Globals used by qwik, for internal use only 3 | 4 | type ExperimentalFeatures = import('./src/optimizer/src/plugins/plugin').ExperimentalFeatures; 5 | 6 | declare var __EXPERIMENTAL__: { 7 | [K in ExperimentalFeatures]: boolean; 8 | }; 9 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/routes/issue4531/layout.tsx: -------------------------------------------------------------------------------- 1 | import type { RequestHandler } from "@builder.io/qwik-city"; 2 | 3 | export const onRequest: RequestHandler = async (onRequestArgs) => { 4 | const { headers } = onRequestArgs; 5 | headers.set("x-qwikcity-test", "issue4531"); 6 | }; 7 | -------------------------------------------------------------------------------- /starters/features/leaflet-map/src/models/map.ts: -------------------------------------------------------------------------------- 1 | import type { LocationsProps } from "./location"; 2 | import { type Signal } from "@builder.io/qwik"; 3 | export interface MapProps { 4 | // default options 5 | location: Signal; 6 | // add other options to customization map 7 | } 8 | -------------------------------------------------------------------------------- /packages/docs/src/entry.cloudflare-pages.tsx: -------------------------------------------------------------------------------- 1 | import { createQwikCity } from '@builder.io/qwik-city/middleware/cloudflare-pages'; 2 | import qwikCityPlan from '@qwik-city-plan'; 3 | import render from './entry.ssr'; 4 | 5 | const fetch = createQwikCity({ render, qwikCityPlan }); 6 | 7 | export { fetch }; 8 | -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/cookbook/glob-import/examples/example1.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return ( 5 |

6 | Hi 👋, I'm a component defined in /examples/example1.tsx 7 |

8 | ); 9 | }); 10 | -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/cookbook/glob-import/examples/example2.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return ( 5 |

6 | Hey 👋, I'm a component defined in /examples/example2.tsx 7 |

8 | ); 9 | }); 10 | -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/cookbook/glob-import/examples/example3.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return ( 5 |

6 | Hello 👋, I'm a component defined in /examples/example3.tsx 7 |

8 | ); 9 | }); 10 | -------------------------------------------------------------------------------- /packages/docs/src/routes/playground/app/root.tsx: -------------------------------------------------------------------------------- 1 | import App from './app'; 2 | 3 | export const Root = () => { 4 | return ( 5 | <> 6 | 7 | Hello Qwik 8 | 9 | 10 | 11 | 12 | 13 | ); 14 | }; 15 | -------------------------------------------------------------------------------- /packages/qwik/src/core/util/case.ts: -------------------------------------------------------------------------------- 1 | export const fromCamelToKebabCase = (text: string): string => { 2 | return text.replace(/([A-Z])/g, '-$1').toLowerCase(); 3 | }; 4 | 5 | export const fromKebabToCamelCase = (text: string): string => { 6 | return text.replace(/-./g, (x) => x[1].toUpperCase()); 7 | }; 8 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/routes/(common)/api/layout-api.css: -------------------------------------------------------------------------------- 1 | .api { 2 | display: grid; 3 | grid-template-columns: 200px 1fr; 4 | padding: 0; 5 | } 6 | 7 | .api-menu { 8 | background: #eee; 9 | padding-left: 20px; 10 | } 11 | 12 | .api-content { 13 | padding-left: 20px; 14 | } 15 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["./node_modules/prettier-plugin-jsdoc/dist/index.js"], 3 | "jsdocPreferCodeFences": true, 4 | "tsdoc": true, 5 | "trailingComma": "es5", 6 | "tabWidth": 2, 7 | "semi": true, 8 | "singleQuote": true, 9 | "printWidth": 100, 10 | "useTabs": false 11 | } 12 | -------------------------------------------------------------------------------- /packages/docs/src/routes/tutorial/events/synchronous-visible/problem/app.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return ( 5 | window.open('http://qwik.dev')}> 6 | click me! 7 | 8 | ); 9 | }); 10 | -------------------------------------------------------------------------------- /starters/apps/preloader-test/src/components/generated/dynamic1.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from "@builder.io/qwik"; 2 | import Dynamic2 from "./dynamic2"; 3 | 4 | export default component$(() => { 5 | return ( 6 | <> 7 |

Dynamic 1

8 | 9 | 10 | ); 11 | }); 12 | -------------------------------------------------------------------------------- /starters/apps/preloader-test/src/components/generated/dynamic2.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from "@builder.io/qwik"; 2 | import Dynamic3 from "./dynamic3"; 3 | 4 | export default component$(() => { 5 | return ( 6 | <> 7 |

Dynamic 2

8 | 9 | 10 | ); 11 | }); 12 | -------------------------------------------------------------------------------- /starters/apps/preloader-test/src/components/generated/dynamic3.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from "@builder.io/qwik"; 2 | import Dynamic4 from "./dynamic4"; 3 | 4 | export default component$(() => { 5 | return ( 6 | <> 7 |

Dynamic 3

8 | 9 | 10 | ); 11 | }); 12 | -------------------------------------------------------------------------------- /starters/apps/preloader-test/src/components/generated/dynamic4.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from "@builder.io/qwik"; 2 | import Dynamic5 from "./dynamic5"; 3 | 4 | export default component$(() => { 5 | return ( 6 | <> 7 |

Dynamic 4

8 | 9 | 10 | ); 11 | }); 12 | -------------------------------------------------------------------------------- /starters/apps/preloader-test/src/components/generated/dynamic5.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from "@builder.io/qwik"; 2 | import Dynamic6 from "./dynamic6"; 3 | 4 | export default component$(() => { 5 | return ( 6 | <> 7 |

Dynamic 5

8 | 9 | 10 | ); 11 | }); 12 | -------------------------------------------------------------------------------- /starters/apps/preloader-test/src/components/generated/dynamic6.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from "@builder.io/qwik"; 2 | import Dynamic7 from "./dynamic7"; 3 | 4 | export default component$(() => { 5 | return ( 6 | <> 7 |

Dynamic 6

8 | 9 | 10 | ); 11 | }); 12 | -------------------------------------------------------------------------------- /starters/apps/preloader-test/src/components/generated/dynamic7.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from "@builder.io/qwik"; 2 | import Dynamic8 from "./dynamic8"; 3 | 4 | export default component$(() => { 5 | return ( 6 | <> 7 |

Dynamic 7

8 | 9 | 10 | ); 11 | }); 12 | -------------------------------------------------------------------------------- /starters/apps/preloader-test/src/components/generated/dynamic8.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from "@builder.io/qwik"; 2 | import Dynamic9 from "./dynamic9"; 3 | 4 | export default component$(() => { 5 | return ( 6 | <> 7 |

Dynamic 8

8 | 9 | 10 | ); 11 | }); 12 | -------------------------------------------------------------------------------- /starters/features/drizzle/drizzle.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from "drizzle-kit"; 2 | 3 | export default defineConfig({ 4 | dialect: "sqlite", 5 | schema: "./drizzle/schema.ts", 6 | out: "./drizzle/migrations/", 7 | dbCredentials: { 8 | url: "./drizzle/db/db.sqlite", 9 | }, 10 | }); 11 | -------------------------------------------------------------------------------- /packages/docs/src/routes/examples/apps/visibility/clock/root.tsx: -------------------------------------------------------------------------------- 1 | import App from './app'; 2 | 3 | export const Root = () => { 4 | return ( 5 | <> 6 | 7 | Clock 8 | 9 | 10 | 11 | 12 | 13 | ); 14 | }; 15 | -------------------------------------------------------------------------------- /packages/docs/src/routes/tutorial/events/programmatic/solution/app.tsx: -------------------------------------------------------------------------------- 1 | import { component$, useOn, $ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | useOn( 5 | 'click', 6 | $(() => alert('Hello World!')) 7 | ); 8 | 9 | return

App Component. Click me.

; 10 | }); 11 | -------------------------------------------------------------------------------- /packages/docs/src/routes/tutorial/qrl/data/solution/app.tsx: -------------------------------------------------------------------------------- 1 | import { component$, $ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return ( 5 | <> 6 | 7 | 8 | ); 9 | }); 10 | -------------------------------------------------------------------------------- /starters/apps/perf.prod/vite.config.mts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from "vite"; 2 | import { qwikVite } from "@builder.io/qwik/optimizer"; 3 | export default defineConfig({ 4 | plugins: [ 5 | qwikVite({ 6 | debug: true, 7 | }), 8 | ], 9 | build: { 10 | minify: true, 11 | }, 12 | }); 13 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test.prod/src/routes/server-function/index.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from "@builder.io/qwik"; 2 | 3 | export default component$(() => { 4 | return ( 5 |
6 |

Server function page!

7 |

Page without server function

8 |
9 | ); 10 | }); 11 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/routes/issue4502/broken/index.tsx: -------------------------------------------------------------------------------- 1 | import type { RequestHandler } from "@builder.io/qwik-city"; 2 | 3 | export const onRequest: RequestHandler = async (onRequestArgs) => { 4 | const { redirect, url } = onRequestArgs; 5 | throw redirect(302, `${url.pathname}/route/`); 6 | }; 7 | -------------------------------------------------------------------------------- /.changeset/shaggy-pears-shine.md: -------------------------------------------------------------------------------- 1 | --- 2 | '@builder.io/qwik': patch 3 | '@builder.io/qwik-city': patch 4 | --- 5 | 6 | FEAT: All qwik packages are now marked as side effect free in their package.json. This should remove a few unecessary empty imports added by rollup and then not tree-shaken like `import "./preloader.js"`. 7 | -------------------------------------------------------------------------------- /packages/docs/public/ecosystem/twitter.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/qwikcity/middleware/query/index.tsx: -------------------------------------------------------------------------------- 1 | import { type RequestHandler } from '@builder.io/qwik-city'; 2 | 3 | export const onGet: RequestHandler = async ({ query, json }) => { 4 | const obj: Record = {}; 5 | query.forEach((v, k) => (obj[k] = v)); 6 | json(200, obj); 7 | }; 8 | -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/react/hello-world/index.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | import { QGreetings } from './react'; 3 | 4 | export default component$(() => { 5 | return ( 6 |
7 |

Hello from Qwik

8 | 9 |
10 | ); 11 | }); 12 | -------------------------------------------------------------------------------- /packages/docs/src/routes/examples/apps/reactivity/counter/root.tsx: -------------------------------------------------------------------------------- 1 | import App from './app'; 2 | 3 | export const Root = () => { 4 | return ( 5 | <> 6 | 7 | Counter 8 | 9 | 10 | 11 | 12 | 13 | ); 14 | }; 15 | -------------------------------------------------------------------------------- /packages/docs/src/routes/examples/apps/reactivity/task/root.tsx: -------------------------------------------------------------------------------- 1 | import App from './app'; 2 | 3 | export const Root = () => { 4 | return ( 5 | <> 6 | 7 | Hello Qwik 8 | 9 | 10 | 11 | 12 | 13 | ); 14 | }; 15 | -------------------------------------------------------------------------------- /packages/docs/src/routes/tutorial/events/preventdefault/solution/app.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export default component$(() => { 4 | return ( 5 | alert('do something else.')}> 6 | click me! 7 | 8 | ); 9 | }); 10 | -------------------------------------------------------------------------------- /packages/eslint-plugin-qwik/tests/use-method-usage/invalid-outside-arrow-fn-inline.ts: -------------------------------------------------------------------------------- 1 | import { ContextId, useContext } from '@builder.io/qwik'; 2 | export const ID: ContextId<{ value: any }> = null!; 3 | 4 | export const noUseSession = () => useContext(ID); 5 | 6 | // Expect error: { "messageId": "useWrongFunction" } 7 | -------------------------------------------------------------------------------- /packages/eslint-plugin-qwik/tests/use-method-usage/invalid-outside-function.ts: -------------------------------------------------------------------------------- 1 | import { ContextId, useContext } from '@builder.io/qwik'; 2 | export const ID: ContextId<{ value: any }> = null!; 3 | 4 | export function noUseSession() { 5 | useContext(ID); 6 | } 7 | 8 | // Expect error: { "messageId": "useWrongFunction" } 9 | -------------------------------------------------------------------------------- /packages/qwik/src/core/util/flyweight.ts: -------------------------------------------------------------------------------- 1 | // import { qDev } from './qdev'; 2 | 3 | import { qDev } from './qdev'; 4 | 5 | export const EMPTY_ARRAY = [] as any[]; 6 | export const EMPTY_OBJ = {} as Record; 7 | 8 | if (qDev) { 9 | Object.freeze(EMPTY_ARRAY); 10 | Object.freeze(EMPTY_OBJ); 11 | } 12 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/routes/dashboard/dashboard.css: -------------------------------------------------------------------------------- 1 | .dashboard { 2 | display: grid; 3 | grid-template-columns: 200px 1fr; 4 | padding: 0; 5 | } 6 | 7 | .dashboard-menu { 8 | background: #eee; 9 | padding-left: 20px; 10 | } 11 | 12 | .dashboard-content { 13 | padding-left: 20px; 14 | } 15 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | [workspace] 2 | 3 | members = [ 4 | "packages/qwik/src/napi", 5 | "packages/qwik/src/wasm", 6 | "packages/qwik/src/optimizer/cli", 7 | "packages/qwik/src/optimizer/core", 8 | ] 9 | exclude = ["packages/qwik/src/wasm"] 10 | resolver = "2" 11 | 12 | [profile.release] 13 | debug = 0 14 | 15 | -------------------------------------------------------------------------------- /e2e/qwik-cli-e2e/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "qwik-cli-e2e", 3 | "version": "0.0.0", 4 | "dependencies": { 5 | "kleur": "4.1.5" 6 | }, 7 | "private": true, 8 | "scripts": { 9 | "e2e": "vitest run --config=vite.config.ts", 10 | "e2e.watch": "vitest watch --config=vite.config.ts" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/qwikcity/middleware/redirect/index.tsx: -------------------------------------------------------------------------------- 1 | import { type RequestHandler } from '@builder.io/qwik-city'; 2 | 3 | export const onGet: RequestHandler = async ({ redirect, url }) => { 4 | throw redirect( 5 | 308, 6 | new URL('/demo/qwikcity/middleware/status/', url).toString() 7 | ); 8 | }; 9 | -------------------------------------------------------------------------------- /packages/docs/src/routes/demo/react/counter-simple-hover/index.tsx: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | import { QCounter } from './react'; 3 | 4 | export default component$(() => { 5 | console.log('Qwik Render'); 6 | return ( 7 |
8 | 9 |
10 | ); 11 | }); 12 | -------------------------------------------------------------------------------- /packages/eslint-plugin-qwik/tests/use-method-usage/invalid-outside-arrow-fn.ts: -------------------------------------------------------------------------------- 1 | import { ContextId, useContext } from '@builder.io/qwik'; 2 | export const ID: ContextId<{ value: any }> = null!; 3 | 4 | export const noUseSession = () => { 5 | useContext(ID); 6 | }; 7 | 8 | // Expect error: { "messageId": "useWrongFunction" } 9 | -------------------------------------------------------------------------------- /starters/adapters/bun/README.md: -------------------------------------------------------------------------------- 1 | ## Bun Server 2 | 3 | This app has a minimal [Bun server](https://bun.sh/docs/api/http) implementation. After running a full build, you can preview the build using the command: 4 | 5 | ``` 6 | bun run serve 7 | ``` 8 | 9 | Then visit [http://localhost:3000/](http://localhost:3000/) 10 | -------------------------------------------------------------------------------- /starters/apps/qwikcity-test/src/routes/(common)/blog/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Welcome to our Blog! 3 | description: Blog Description 4 | keywords: blog,docs 5 | contributors: 6 | - abc 7 | - xyz 8 | --- 9 | 10 | # Welcome to our Blog! 11 | 12 | Enjoy. 13 | 14 | [Docs](../../docs/getting-started/index.md#hash) 15 | -------------------------------------------------------------------------------- /starters/features/leaflet-map/src/models/location.ts: -------------------------------------------------------------------------------- 1 | export interface LocationsProps { 2 | name: string; 3 | // latitude , longitude 4 | point: [number, number]; 5 | // Southwest lat, South West Lng, North East lat, North East lng 6 | boundaryBox: string; 7 | zoom: number; 8 | marker: boolean; 9 | } 10 | -------------------------------------------------------------------------------- /starters/templates/barrel/component/index.tsx.template: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export interface [name]Props { 4 | 5 | } 6 | 7 | export const [name] = component$<[name]Props>((props) => { 8 | return ( 9 |
10 | [name] component works! 11 |
12 | ); 13 | }); 14 | -------------------------------------------------------------------------------- /starters/templates/qwik/component/[slug].tsx.template: -------------------------------------------------------------------------------- 1 | import { component$ } from '@builder.io/qwik'; 2 | 3 | export interface [name]Props { 4 | 5 | } 6 | 7 | export const [name] = component$<[name]Props>((props) => { 8 | return ( 9 |
10 | [name] component works! 11 |
12 | ); 13 | }); 14 | -------------------------------------------------------------------------------- /packages/docs/src/routes/examples/apps/introduction/hello-world/root.tsx: -------------------------------------------------------------------------------- 1 | import App from './app'; 2 | 3 | export const Root = () => { 4 | return ( 5 | <> 6 | 7 | Hello Qwik 8 | 9 | 10 | 11 | 12 | 13 | ); 14 | }; 15 | -------------------------------------------------------------------------------- /packages/docs/src/routes/examples/apps/introduction/runtime-less/root.tsx: -------------------------------------------------------------------------------- 1 | import App from './app'; 2 | 3 | export const Root = () => { 4 | return ( 5 | <> 6 | 7 | Hello Qwik 8 | 9 | 10 | 11 | 12 | 13 | ); 14 | }; 15 | -------------------------------------------------------------------------------- /packages/eslint-plugin-qwik/tests/use-method-usage/invalid-outside-arrow-fn-inline-value.ts: -------------------------------------------------------------------------------- 1 | import { ContextId, useContext } from '@builder.io/qwik'; 2 | export const ID: ContextId<{ value: any }> = null!; 3 | 4 | export const noUseSession = () => useContext(ID).value; 5 | 6 | // Expect error: { "messageId": "useWrongFunction" } 7 | -------------------------------------------------------------------------------- /packages/qwik-labs/src/root.tsx: -------------------------------------------------------------------------------- 1 | export default () => { 2 | return ( 3 | <> 4 | 5 | 6 | Qwik Blank App 7 |