diff --git a/.envrc b/.envrc deleted file mode 100644 index 3550a30f..00000000 --- a/.envrc +++ /dev/null @@ -1 +0,0 @@ -use flake diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 427bc9ad..00000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: Build - -on: - push: - tags: - - "v*" - workflow_dispatch: - -jobs: - CI: - name: 🔨🚀 Build and deploy - runs-on: ubuntu-latest - steps: - - name: 🚚 Checkout - uses: actions/checkout@v3 - - name: 🐍 Use Python 3.x - uses: actions/setup-python@v3.1.4 - with: - python-version: 3.x - cache: pip - - name: ⏬ Install Python dependencies - run: pip install -r requirements.txt - - - name: Install pnpm - uses: pnpm/action-setup@v4 - with: - version: 8 - - name: 🐉 Use Node.js 18.16.x - uses: actions/setup-node@v3 - with: - node-version: 18.16.x - cache: "pnpm" - - name: ⏬ Install Node dependencies - run: pnpm install - - - name: 🔥 Optimize icon font - run: pnpm minify-icons - - name: 🔨 Build site - run: pnpm build - - - name: 📦 Upload build artifacts - uses: actions/upload-artifact@v3.1.2 - with: - name: build - path: build - - name: Disable jekyll - run: touch build/.nojekyll - - name: Custom domain - run: echo 'manager.charachorder.com' > build/CNAME - - run: git config user.name github-actions - - run: git config user.email github-actions@github.com - - run: git --work-tree build add --all - - run: git commit -m "Automatic Deploy action run by github-actions" - - run: git push origin HEAD:gh-pages --force diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index 2e563d84..00000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: "publish desktop apps" -on: - push: - tags: - - "desktop-app-v*" - workflow_dispatch: - -jobs: - publish-tauri: - permissions: - contents: write - strategy: - fail-fast: false - matrix: - platform: [macos-latest, ubuntu-20.04, windows-latest] - - runs-on: ${{ matrix.platform }} - steps: - - name: 🚚 Checkout - uses: actions/checkout@v3 - - name: 🐍 Use Python 3.x - uses: actions/setup-python@v3.1.4 - with: - python-version: 3.x - cache: pip - - name: ⏬ Install Python dependencies - run: pip install -r requirements.txt - - name: 🐉 Use Node.js 18.16.x - uses: actions/setup-node@v3 - with: - node-version: 18.16.x - cache: "npm" - - name: 🦀 Use Rust Stable - uses: dtolnay/rust-toolchain@stable - - name: 🐧 Install Linux Dependencies - if: matrix.platform == 'ubuntu-20.04' - run: | - sudo apt-get update - sudo apt-get install -y libudev-dev libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf - - name: ⏬ Install Node dependencies - run: npm ci - - name: 🔥 Optimize icon font - run: npm run minify-icons - - name: 📦 Build, Package & Release - uses: tauri-apps/tauri-action@v0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} - with: - tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version - releaseName: "App v__VERSION__" - releaseBody: "See the assets to download this version and install." - releaseDraft: true - prerelease: false diff --git a/.gitignore b/.gitignore deleted file mode 100644 index c0cfb693..00000000 --- a/.gitignore +++ /dev/null @@ -1,14 +0,0 @@ -.DS_Store -node_modules -/build -.idea -/.svelte-kit -/package -.env -.env.* -.direnv -!.env.example -venv -vite.config.js.timestamp-* -vite.config.ts.timestamp-* -src/lib/assets/icons.min.woff2 diff --git a/static/.htaccess b/.htaccess similarity index 100% rename from static/.htaccess rename to .htaccess diff --git a/src/lib/style/form/_checkbox.scss b/.nojekyll similarity index 100% rename from src/lib/style/form/_checkbox.scss rename to .nojekyll diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 0c05da45..00000000 --- a/.npmrc +++ /dev/null @@ -1,2 +0,0 @@ -engine-strict=true -resolution-mode=highest diff --git a/.prettierignore b/.prettierignore deleted file mode 100644 index ffb5b319..00000000 --- a/.prettierignore +++ /dev/null @@ -1,16 +0,0 @@ -.DS_Store -node_modules -/build -/.svelte-kit -/package -.env -.env.* -!.env.example -/src-tauri/target - -# Ignore files for PNPM, NPM and YARN -pnpm-lock.yaml -package-lock.json -yarn.lock - -static/languages/*.json diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 6b783636..00000000 --- a/.prettierrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "plugins": ["prettier-plugin-svelte"], - "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }] -} diff --git a/.stylelintrc.json b/.stylelintrc.json deleted file mode 100644 index 97b2cec3..00000000 --- a/.stylelintrc.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "extends": [ - "stylelint-config-standard-scss", - "stylelint-config-recommended-scss", - "stylelint-config-html/svelte", - "stylelint-config-clean-order", - "stylelint-config-prettier-scss" - ], - "rules": { - "selector-pseudo-class-no-unknown": [ - true, - { - "ignorePseudoClasses": ["global"] - } - ] - } -} diff --git a/.typesafe-i18n.json b/.typesafe-i18n.json deleted file mode 100644 index 3db0e7b1..00000000 --- a/.typesafe-i18n.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://unpkg.com/typesafe-i18n@5.26.2/schema/typesafe-i18n.json", - "baseLocale": "en", - "adapter": "svelte" -} diff --git a/404.html b/404.html new file mode 100644 index 00000000..352dec89 --- /dev/null +++ b/404.html @@ -0,0 +1,37 @@ + + +
+ + + + + + + + + + + + + + +{@html title}
\n{/if}\n\n{#if shortcut}\n \n {#each shortcut.split(\"+\") as key}\n {key}\n {/each}\n \n{/if}\n\n\n","import type { Action } from \"svelte/action\";\nimport tippy from \"tippy.js\";\nimport type { SvelteComponent } from \"svelte\";\nimport Tooltip from \"$lib/components/Tooltip.svelte\";\n\nexport const hotkeys = new Map