Skip to content
This repository has been archived by the owner on May 29, 2022. It is now read-only.

chore(deps-dev): bump @nuxtjs/color-mode from 2.0.5 to 3.0.2 #189

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 8, 2022

Bumps @nuxtjs/color-mode from 2.0.5 to 3.0.2.

Release notes

Sourced from @​nuxtjs/color-mode's releases.

v3.0.1

Bug Fixes

  • move script to head and set forced color mode on <html> element (#128) (273f07e)

v3.0.0

v3 of @nuxtjs/color-mode requires either Nuxt Bridge or Nuxt 3. If you are using Nuxt 2 without Bridge, you should continue to use v2.

🔥 Notable changes

  1. Uses @nuxt/module-builder to build module.
  2. Refactor structure (lib -> src/dist, templates -> runtime)
  3. rewrite in TypeScript
  4. Move from templating options to creating a virtual module for greater performance
  5. Use esbuild to minify the script - note: ⚠️ it's likely this raises the minimum browser target ⚠️

👉 Migration

  1. The main change between Nuxt 2 -> Nuxt 3 is that you will define your color mode at the page level with definePageMeta:

      \<template>
        <h1>This page is forced with light mode</h1>
      </template>
    <script>
    
    export default {
    colorMode: 'light',
    }
    
    
    definePageMeta({
    colorMode: 'light',
    })
    </script>
  2. ⚠️ If you are using Nuxt Bridge, you should not use definePageMeta but instead continue using the component option colorMode.

  3. The $colorMode helper remains the same, but there is also a new composable (useColorMode) which is the recommended way of accessing color mode information.

  4. If you were directly importing color mode configuration types, note that this has been renamed to ModuleOptions.

v2.1.1

  • fix: add script to webpack build (in dev) for storybook support (#99) · 54b482b

v2.1.0

  • feat: add csp hash for color script (#94) · e2f1ffc
  • test: migrate to @nuxt/test-utils (#96) · 30dcff2

... (truncated)

Changelog

Sourced from @​nuxtjs/color-mode's changelog.

3.0.2 (2022-03-07)

Bug Fixes

  • type helper as $colorMode not colorMode (b2d89bd), closes #130

3.0.1 (2022-02-21)

Bug Fixes

  • move script to head and set forced color mode on <html> element (#128) (273f07e)

3.0.0 (2022-02-16)

⚠ BREAKING CHANGES

  • add support for nuxt 3/nuxt bridge (#118)

Features

2.1.1 (2021-08-02)

Bug Fixes

  • add script to webpack build (in dev) for storybook support (#99) (54b482b), closes #69

2.1.0 (2021-08-02)

Features

2.0.10 (2021-06-11)

Bug Fixes

2.0.9 (2021-05-24)

Bug Fixes

... (truncated)

Commits
  • f32fb7b chore(release): 3.0.2
  • 7e6699a ci: run prepare step before linting & testing
  • b2d89bd fix: type helper as $colorMode not colorMode
  • 07b261f chore: update lint deps & lint project
  • acd31c7 test: update playground to globally register icons
  • f1d08fb chore: update dev dependencies
  • 87b8b5c chore(release): 3.0.1
  • 273f07e fix: move script to head and set forced color mode on \<html> element (#128)
  • 3a3e8c9 docs: add online playground on Stackblitz
  • 2f00b12 docs: add more information about useColorMode
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by danielroe, a new releaser for @​nuxtjs/color-mode since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@nuxtjs/color-mode](https://github.com/nuxt-community/color-mode-module) from 2.0.5 to 3.0.2.
- [Release notes](https://github.com/nuxt-community/color-mode-module/releases)
- [Changelog](https://github.com/nuxt-community/color-mode-module/blob/master/CHANGELOG.md)
- [Commits](nuxt-modules/color-mode@v2.0.5...v3.0.2)

---
updated-dependencies:
- dependency-name: "@nuxtjs/color-mode"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 8, 2022
@dependabot dependabot bot requested a review from sanket143 March 8, 2022 00:05
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 11, 2022

Superseded by #201.

@dependabot dependabot bot closed this May 11, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/nuxtjs/color-mode-3.0.2 branch May 11, 2022 00:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant