From 02f772dd46f99cdd84dc54e16a996fb45c06fbca Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Thu, 9 Sep 2021 17:48:20 -0400 Subject: [PATCH] Rename package from @jakejarvis/dark-mode to dark-mode-switcheroo --- .github/workflows/release.yml | 16 -- README.md | 16 +- example/index.html | 2 +- package.json | 4 +- yarn.lock | 295 ++++++++++++---------------------- 5 files changed, 116 insertions(+), 217 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca4a456..8cdc97f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,19 +20,3 @@ jobs: run: | yarn install --frozen-lockfile yarn publish - - gpr: - name: Publish to GitHub - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: 14 - registry-url: https://npm.pkg.github.com/ - scope: '@jakejarvis' - - env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - yarn install --frozen-lockfile - yarn publish diff --git a/README.md b/README.md index 4f4f11b..1bbec7d 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # 🌓 Dark Mode Switcheroo™ -[![CI](https://github.com/jakejarvis/dark-mode.js/actions/workflows/ci.yml/badge.svg)](https://github.com/jakejarvis/dark-mode.js/actions/workflows/ci.yml) -[![npm (scoped)](https://img.shields.io/npm/v/@jakejarvis/dark-mode)](https://www.npmjs.com/package/@jakejarvis/dark-mode) +[![CI](https://github.com/jakejarvis/dark-mode/actions/workflows/ci.yml/badge.svg)](https://github.com/jakejarvis/dark-mode/actions/workflows/ci.yml) +[![npm](https://img.shields.io/npm/v/dark-mode-switcheroo?logo=npm)](https://www.npmjs.com/package/dark-mode-switcheroo) [![MIT License](https://img.shields.io/github/license/jakejarvis/dark-mode?color=violet)](LICENSE) -Very simple CSS dark/light mode toggler with saved preference via local storage & dynamic OS setting detection. Zero dependencies and [only ~500 bytes gzipped!](https://bundlephobia.com/package/@jakejarvis/dark-mode) +Very simple CSS dark/light mode toggler with saved preference via local storage & dynamic OS setting detection. Zero dependencies and [only ~500 bytes gzipped!](https://bundlephobia.com/package/dark-mode-switcheroo) - [View the example.](https://jakejarvis.github.io/dark-mode/) - [Read the blog post.](https://jarv.is/notes/dark-mode/) @@ -28,7 +28,7 @@ Very simple CSS dark/light mode toggler with saved preference via local storage ```html - + +