Skip to content

Commit

Permalink
use latest package version in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
pacocoursey committed Feb 20, 2022
1 parent fac0536 commit 133707f
Show file tree
Hide file tree
Showing 5 changed files with 168 additions and 3,671 deletions.
4 changes: 2 additions & 2 deletions examples/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"main": "index.js",
"license": "MIT",
"dependencies": {
"next": "^12.1.0",
"next-themes": "^0.0.16-beta.13",
"next": "latest",
"next-themes": "latest",
"react": "^17.0.2",
"react-dom": "^17.0.2"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/example/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import '../styles.css'

function MyApp({ Component, pageProps }) {
return (
<ThemeProvider forcedTheme={Component.theme || undefined}>
<ThemeProvider enableColorScheme={false} forcedTheme={Component.theme || undefined}>
<Component {...pageProps} />
</ThemeProvider>
)
Expand Down
10 changes: 5 additions & 5 deletions examples/example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ nanoid@^3.1.30:
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.1.tgz#6347a18cac88af88f58af0b3594b723d5e99bb35"
integrity sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==

next-themes@^0.0.16-beta.13:
version "0.0.16-beta.13"
resolved "https://registry.yarnpkg.com/next-themes/-/next-themes-0.0.16-beta.13.tgz#5ffcb9ef9d536ef4cfa5847f45e13b9473c30d91"
integrity sha512-EG4AT0IT6W35+/FL+8KtEe7I6XfSP83krSmxeH8kMrhu/CUp1zq2Sb8w1apO1wtzf7yqu0CzmMtmVlFGOzIyjw==
next-themes@latest:
version "0.1.1"
resolved "https://registry.yarnpkg.com/next-themes/-/next-themes-0.1.1.tgz#122113a458bf1d1be5ffed66778ab924c106f82a"
integrity sha512-Iqxt6rhS/KfK/iHJ0tfFjTcdLEAI0AgwFuAFrMwLOPK5e+MI3I+fzyvBoS+VaOS+NldUiazurhgwYhrfV0VXsQ==

next@^12.1.0:
next@latest:
version "12.1.0"
resolved "https://registry.yarnpkg.com/next/-/next-12.1.0.tgz#c33d753b644be92fc58e06e5a214f143da61dd5d"
integrity sha512-s885kWvnIlxsUFHq9UGyIyLiuD0G3BUC/xrH0CEnH5lHEWkwQcHOORgbDF0hbrW9vr/7am4ETfX4A7M6DjrE7Q==
Expand Down
6 changes: 3 additions & 3 deletions examples/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
"start": "next start"
},
"dependencies": {
"autoprefixer": "^10.0.2",
"next": "latest",
"next-themes": "^0.0.10",
"postcss": "^8.1.7",
"next-themes": "latest",
"react": "^16.13.1",
"react-dom": "^16.13.1"
},
"devDependencies": {
"autoprefixer": "^10.0.2",
"postcss": "^8.1.7",
"tailwindcss": "^2.0.1"
},
"license": "MIT"
Expand Down
Loading

2 comments on commit 133707f

@vercel
Copy link

@vercel vercel bot commented on 133707f Feb 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

next-themes-basic – ./examples/example

next-themes-basic-git-master-paco.vercel.app
next-themes-basic-paco.vercel.app
next-themes-example.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 133707f Feb 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

next-themes-tailwind – ./examples/tailwind

next-themes-tailwind-git-master-paco.vercel.app
next-themes-tailwind-paco.vercel.app
next-themes-tailwind-seven.vercel.app

Please sign in to comment.