├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── README.md ├── control-flow.d.ts ├── index.html ├── netlify.toml ├── netlify └── functions │ └── fetch-repo │ ├── index.ts │ └── package.json ├── package.json ├── pnpm-lock.yaml ├── public └── _headers ├── src ├── App.tsx ├── codemirror │ ├── baseExtensions.ts │ ├── createCodemirror.ts │ ├── defaultDark.ts │ └── defaultLight.ts ├── components │ ├── editor │ │ ├── ProjectEditor.data.ts │ │ ├── ProjectEditor.tsx │ │ ├── code │ │ │ ├── EditPath.tsx │ │ │ ├── FileEditor.tsx │ │ │ ├── TabbedEditor.tsx │ │ │ └── TreeView.tsx │ │ ├── content │ │ │ ├── MarkdownEditor.tsx │ │ │ └── MarkdownPreview.tsx │ │ ├── fonts.ts │ │ └── slides │ │ │ ├── SlideStart.tsx │ │ │ ├── Slides.tsx │ │ │ └── SlidesBar.tsx │ ├── repl │ │ └── Repl.tsx │ └── userbar │ │ └── Userbar.tsx ├── fetch │ ├── dummyGH.json │ ├── github.ts │ ├── projects.ts │ └── supabaseClient.ts ├── index.tsx ├── providers │ ├── auth.tsx │ └── theme.tsx └── state │ ├── fileState.ts │ └── index.ts ├── tsconfig.json ├── unocss.config.js └── vite.config.ts /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/README.md -------------------------------------------------------------------------------- /control-flow.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/control-flow.d.ts -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/index.html -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/netlify.toml -------------------------------------------------------------------------------- /netlify/functions/fetch-repo/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/netlify/functions/fetch-repo/index.ts -------------------------------------------------------------------------------- /netlify/functions/fetch-repo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/netlify/functions/fetch-repo/package.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /public/_headers: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/public/_headers -------------------------------------------------------------------------------- /src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/App.tsx -------------------------------------------------------------------------------- /src/codemirror/baseExtensions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/codemirror/baseExtensions.ts -------------------------------------------------------------------------------- /src/codemirror/createCodemirror.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/codemirror/createCodemirror.ts -------------------------------------------------------------------------------- /src/codemirror/defaultDark.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/codemirror/defaultDark.ts -------------------------------------------------------------------------------- /src/codemirror/defaultLight.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/codemirror/defaultLight.ts -------------------------------------------------------------------------------- /src/components/editor/ProjectEditor.data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/components/editor/ProjectEditor.data.ts -------------------------------------------------------------------------------- /src/components/editor/ProjectEditor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/components/editor/ProjectEditor.tsx -------------------------------------------------------------------------------- /src/components/editor/code/EditPath.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/components/editor/code/EditPath.tsx -------------------------------------------------------------------------------- /src/components/editor/code/FileEditor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/components/editor/code/FileEditor.tsx -------------------------------------------------------------------------------- /src/components/editor/code/TabbedEditor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/components/editor/code/TabbedEditor.tsx -------------------------------------------------------------------------------- /src/components/editor/code/TreeView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/components/editor/code/TreeView.tsx -------------------------------------------------------------------------------- /src/components/editor/content/MarkdownEditor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/components/editor/content/MarkdownEditor.tsx -------------------------------------------------------------------------------- /src/components/editor/content/MarkdownPreview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/components/editor/content/MarkdownPreview.tsx -------------------------------------------------------------------------------- /src/components/editor/fonts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/components/editor/fonts.ts -------------------------------------------------------------------------------- /src/components/editor/slides/SlideStart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/components/editor/slides/SlideStart.tsx -------------------------------------------------------------------------------- /src/components/editor/slides/Slides.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/components/editor/slides/Slides.tsx -------------------------------------------------------------------------------- /src/components/editor/slides/SlidesBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/components/editor/slides/SlidesBar.tsx -------------------------------------------------------------------------------- /src/components/repl/Repl.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/components/repl/Repl.tsx -------------------------------------------------------------------------------- /src/components/userbar/Userbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/components/userbar/Userbar.tsx -------------------------------------------------------------------------------- /src/fetch/dummyGH.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/fetch/dummyGH.json -------------------------------------------------------------------------------- /src/fetch/github.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/fetch/github.ts -------------------------------------------------------------------------------- /src/fetch/projects.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/fetch/projects.ts -------------------------------------------------------------------------------- /src/fetch/supabaseClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/fetch/supabaseClient.ts -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/index.tsx -------------------------------------------------------------------------------- /src/providers/auth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/providers/auth.tsx -------------------------------------------------------------------------------- /src/providers/theme.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/providers/theme.tsx -------------------------------------------------------------------------------- /src/state/fileState.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/state/fileState.ts -------------------------------------------------------------------------------- /src/state/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/src/state/index.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/tsconfig.json -------------------------------------------------------------------------------- /unocss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/unocss.config.js -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jutanium/viteconf-tutour/HEAD/vite.config.ts --------------------------------------------------------------------------------