Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: svecosystem/mode-watcher
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: [email protected]
Choose a base ref
...
head repository: svecosystem/mode-watcher
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 10 commits
  • 18 files changed
  • 9 contributors

Commits on Jul 27, 2024

  1. fix: data-theme attr not syncing (#87)

    huntabyte authored Jul 27, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    e3cc121 View commit details
  2. chore(release): version package (#88)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Jul 27, 2024
    Copy the full SHA
    3684c77 View commit details

Commits on Aug 1, 2024

  1. chore: remove previews (#90)

    huntabyte authored Aug 1, 2024
    Copy the full SHA
    e1a035b View commit details

Commits on Aug 3, 2024

  1. chore: Update deployment scripts (#91)

    Co-authored-by: Davis SHYAKA <[email protected]>
    Co-authored-by: AdrianGonz97 <[email protected]>
    3 people authored Aug 3, 2024
    Copy the full SHA
    37bbc9d View commit details

Commits on Nov 18, 2024

  1. chore: prep for next release (#98)

    huntabyte authored Nov 18, 2024
    Copy the full SHA
    bcc6a70 View commit details

Commits on Nov 19, 2024

  1. fix: hydration issues (#99)

    Co-authored-by: Hunter Johnston <[email protected]>
    Co-authored-by: Hunter Johnston <[email protected]>
    3 people authored Nov 19, 2024
    Copy the full SHA
    7f6fa59 View commit details
  2. feat: ability to use manual script injection in hooks (#89)

    Co-authored-by: Hunter Johnston <[email protected]>
    Co-authored-by: Hunter Johnston <[email protected]>
    3 people authored Nov 19, 2024
    Copy the full SHA
    271a593 View commit details
  3. chore(release): version package (#100)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Nov 19, 2024
    Copy the full SHA
    5021963 View commit details

Commits on Jan 24, 2025

  1. fix: hydration mismatch warning (#108)

    Co-authored-by: Hunter Johnston <[email protected]>
    jdgamble555 and huntabyte authored Jan 24, 2025
    Copy the full SHA
    fd14254 View commit details
  2. chore(release): version package (#109)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Jan 24, 2025
    Copy the full SHA
    68b144e View commit details
36 changes: 36 additions & 0 deletions .github/workflows/build-preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build Preview Deployment

# cancel in-progress runs on new commits to same PR (github.event.number)
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true

on:
pull_request:
types: [opened, synchronize]

jobs:
build-preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9

- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- name: Install dependencies
run: pnpm install

- name: Build site
run: pnpm build

- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: preview-build
path: sites/docs/.svelte-kit/cloudflare
21 changes: 6 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -21,13 +21,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 8
run_install: false
version: 9

- name: Install Node.js
uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
@@ -43,13 +40,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 8
run_install: false
version: 9

- name: Install Node.js
uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
@@ -64,13 +58,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 8
run_install: false
version: 9

- name: Install Node.js
uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
37 changes: 37 additions & 0 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Upload Preview Deployment

on:
workflow_run:
workflows: [Build Preview Deployment]
types:
- completed

permissions:
actions: read
deployments: write
contents: read
pull-requests: write

jobs:
deploy-preview:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Download build artifact
uses: actions/download-artifact@v4
id: preview-build-artifact
with:
name: preview-build
path: build
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}

- name: Deploy to Cloudflare Pages
uses: AdrianGonz97/refined-cf-pages-action@v1
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: mode-watcher
deploymentName: Preview
directory: ${{ steps.preview-build-artifact.outputs.download-path }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docs Production Deployment
name: Production Deployment
on:
push:
branches:
@@ -7,25 +7,20 @@ on:
- sites/docs/**
- packages/mode-watcher/**

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
publish:
deploy-production:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Publish to Cloudflare Pages
name: Deploy Production Site to Cloudflare Pages
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 8
run_install: false
version: 9

- name: Install Node.js
uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
66 changes: 0 additions & 66 deletions .github/workflows/preview.yml

This file was deleted.

11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@ on:
push:
branches:
- main
- next

concurrency: ${{ github.workflow }}-${{ github.ref }}

@@ -13,14 +14,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 8
run_install: false
version: 9

- name: Install Node.js
uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@
"build:packages": "pnpm -F \"./packages/**\" --parallel build",
"ci:publish": "pnpm build:packages && changeset publish",
"lint": "prettier --check . && eslint .",
"lint:fix": "eslint --fix .",
"format": "prettier --write .",
"check": "pnpm build:packages && pnpm -r check"
},
Loading