Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 26 additions & 26 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,45 @@
**/*.log
**/.DS_Store
*.
.history
.yarn
.yarnrc.yml
.pnpm-store
pnpm-lock.yaml
.mf
.*
!.eslintrc.cjs
!.prettierignore
!.prettierrc.json

# Build output
dist
dist-dev
lib
etc
external
node_modules
qwik-app
target
output
rollup.config.js
build
!packages/qwik/src/build
.cache
.rollup.cache
starters/apps/**/dist
node_modules

tsconfig.tsbuildinfo
packages/docs/api/**/*

# REPL files
packages/docs/public/repl/repl-sw.js*
packages/docs/src/routes/**/*.mdx
**/server/**/*.js
starters/**/*.js
# explicit exclusion for tailwind prettier.config.js
starters/features/tailwind/*
packages/docs/server

# build output
packages/*/lib
packages/*/dist
packages/*/server

# API output files
packages/docs/src/routes/api
packages/docs/**/*.md

# Prettier doesn't handle mdx files well
packages/docs/**/*.mdx

packages/insights/drizzle
packages/insights/.netlify
packages/insights/scripts
packages/insights/**/*.gen.d.ts
packages/qwik-labs/lib-types
packages/qwik-labs/vite

# TODO: Figure out why this doesn't pass in CI
packages/qwik/src/core/props/props.ts
packages/docs/src/routes/docs/overview/index.mdx
# insights cache files
**/q-insights.json

# Exclude builder js files from formatting - delete after migration
packages/docs/public/builder
71 changes: 71 additions & 0 deletions packages/docs/public/builder/high.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
import{useLexicalScope}from"./qwik-0.100.0.js";export const Component856B004403F841C789CF61F2A180C93F_onClick_0=(event)=>{const [s,l]=useLexicalScope();const state=__proxyMerge__(s,l);;
try { let interactiveScroller = document.querySelector(`#row${state.rowNumber}`);
interactiveScroller.scrollLeft -= interactiveScroller.children[1].clientWidth;
}
catch (err) {
console.warn('Builder code error', err);
}
};export const Component856B004403F841C789CF61F2A180C93F_onClick_1=(event)=>{const [s,l]=useLexicalScope();const state=__proxyMerge__(s,l);;
try { let interactiveScroller = document.querySelector(`#row${state.rowNumber}`);
interactiveScroller.scrollLeft += interactiveScroller.children[1].clientWidth;
}
catch (err) {
console.warn('Builder code error', err);
}
};export const Component856B004403F841C789CF61F2A180C93F_onClick_2=(event)=>{const [s,l]=useLexicalScope();const state=__proxyMerge__(s,l);;
try { let interactiveScroller = document.querySelector(`#row${state.rowNumber}`);
interactiveScroller.scrollLeft -= interactiveScroller.children[1].clientWidth;
}
catch (err) {
console.warn('Builder code error', err);
}
};export const Component856B004403F841C789CF61F2A180C93F_onClick_3=(event)=>{const [s,l]=useLexicalScope();const state=__proxyMerge__(s,l);;
try { let interactiveScroller = document.querySelector(`#row${state.rowNumber}`);
interactiveScroller.scrollLeft += interactiveScroller.children[1].clientWidth;
}
catch (err) {
console.warn('Builder code error', err);
}
};export const __proxyMerge__=function __proxyMerge__(state,local){return new Proxy(state,{get:function(obj,prop){if(local && prop in local){return local[prop];}else{return state[prop];}},set:function(obj,prop,value){obj[prop] = value;return true;},});};export const Component2CB3CABC3EE84F0E987EB4525859E0A8_onClick_0=(event)=>{const [s,l]=useLexicalScope();const state=__proxyMerge__(s,l);;
try { let interactiveScroller = document.querySelector(`#row${state.rowNumber}`);
interactiveScroller.scrollLeft -= interactiveScroller.children[1].clientWidth;
}
catch (err) {
console.warn('Builder code error', err);
}
};export const Component2CB3CABC3EE84F0E987EB4525859E0A8_onClick_1=(event)=>{const [s,l]=useLexicalScope();const state=__proxyMerge__(s,l);;
try { let interactiveScroller = document.querySelector(`#row${state.rowNumber}`);
interactiveScroller.scrollLeft += interactiveScroller.children[1].clientWidth;
}
catch (err) {
console.warn('Builder code error', err);
}
};export const Component2CB3CABC3EE84F0E987EB4525859E0A8_onClick_2=(event)=>{const [s,l]=useLexicalScope();const state=__proxyMerge__(s,l);;
try { let interactiveScroller = document.querySelector(`#row${state.rowNumber}`);
interactiveScroller.scrollLeft -= interactiveScroller.children[1].clientWidth;
}
catch (err) {
console.warn('Builder code error', err);
}
};export const Component2CB3CABC3EE84F0E987EB4525859E0A8_onClick_3=(event)=>{const [s,l]=useLexicalScope();const state=__proxyMerge__(s,l);;
try { let interactiveScroller = document.querySelector(`#row${state.rowNumber}`);
interactiveScroller.scrollLeft += interactiveScroller.children[1].clientWidth;
}
catch (err) {
console.warn('Builder code error', err);
}
};export const Component3C0255D6D2D94E3390539DEE6AF8C7C0_onClick_0=(event)=>{const [s,l]=useLexicalScope();const state=__proxyMerge__(s,l);;
try { return state.slide = state.$index;
}
catch (err) {
console.warn('Builder code error', err);
}
};export const ComponentB417246B77124735ADE3A2694CB86BF9_onClick_0=(event)=>{
try { navigator.clipboard.writeText(`npm create qwik@latest`);
event.target.innerText = "Copied to Clipboard";
setTimeout(() => (event.target.innerText = "npm create qwik@latest"), 2000);
}
catch (err) {
console.warn('Builder code error', err);
}
};
Loading