Skip to content

Commit

Permalink
refactor: removed unsplash plugin from sanity media input (#2921)
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh authored May 14, 2024
1 parent e92c897 commit 1b048ba
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 68 deletions.
1 change: 0 additions & 1 deletion aksel.nav.no/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
"react-rx": "^2.1.3",
"remark-gfm": "^4.0.0",
"sanity": "3.41.1",
"sanity-plugin-asset-source-unsplash": "^3.0.1",
"sanity-plugin-media": "^2.2.5",
"sanity-plugin-utils": "^1.6.4",
"sharp": "0.32.6",
Expand Down
2 changes: 0 additions & 2 deletions aksel.nav.no/website/sanity/sanity.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { nbNOLocale } from "@sanity/locale-nb-no";
import { table } from "@sanity/table";
import { visionTool } from "@sanity/vision";
import { defineConfig } from "sanity";
import { unsplashImageAsset } from "sanity-plugin-asset-source-unsplash";
import { media } from "sanity-plugin-media";
import { structureTool } from "sanity/structure";
import { DatabaseIcon, TestFlaskIcon } from "@navikt/aksel-icons";
Expand Down Expand Up @@ -77,7 +76,6 @@ function defaultConfig() {
codeInput(),
media(),
visionTool(),
unsplashImageAsset(),
colorInput(),
nbNOLocale(),
],
Expand Down
65 changes: 0 additions & 65 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4938,25 +4938,6 @@ __metadata:
languageName: node
linkType: hard

"@sanity/ui@npm:^2.1.2":
version: 2.1.6
resolution: "@sanity/ui@npm:2.1.6"
dependencies:
"@floating-ui/react-dom": ^2.0.9
"@sanity/color": ^3.0.6
"@sanity/icons": ^2.11.8
csstype: ^3.1.3
framer-motion: 11.0.8
react-refractor: ^2.1.7
peerDependencies:
react: ^18
react-dom: ^18
react-is: ^18
styled-components: ^5.2 || ^6
checksum: 5d18faf8e85e85c2dec9c5c7405a29f0d36deecc5a402c17d05836cff9bfbf2e00061b29dffb5a1c7939f113766f231e1e36ee19e74a2f81a92f8f2f23989121
languageName: node
linkType: hard

"@sanity/ui@npm:^2.1.6":
version: 2.1.7
resolution: "@sanity/ui@npm:2.1.7"
Expand Down Expand Up @@ -22758,17 +22739,6 @@ __metadata:
languageName: node
linkType: hard

"react-infinite-scroll-component@npm:6.1.0":
version: 6.1.0
resolution: "react-infinite-scroll-component@npm:6.1.0"
dependencies:
throttle-debounce: ^2.1.0
peerDependencies:
react: ">=16.0.0"
checksum: 3708398934366df907dbad215247ebc1033221957ce7e32289ea31750cce70aa16513e2d03743e06c8b868ac7c542d12d5dbb6c830fd408433a4762f3cb5ecfb
languageName: node
linkType: hard

"react-is@npm:18.1.0":
version: 18.1.0
resolution: "react-is@npm:18.1.0"
Expand Down Expand Up @@ -22825,15 +22795,6 @@ __metadata:
languageName: node
linkType: hard

"react-photo-album@npm:2.3.1":
version: 2.3.1
resolution: "react-photo-album@npm:2.3.1"
peerDependencies:
react: ">=16.8.0"
checksum: 33057c316bb0e3a0d522801155ca962b8ea5ec8fa5e9d1d6eab019e39a37b4f8d520d3f0a889f2bdd44d2ecd12fb1d4ddd5f3170041a9947793ddf5c699b72af
languageName: node
linkType: hard

"react-redux@npm:^7.2.2":
version: 7.2.9
resolution: "react-redux@npm:7.2.9"
Expand Down Expand Up @@ -24013,24 +23974,6 @@ __metadata:
languageName: node
linkType: hard

"sanity-plugin-asset-source-unsplash@npm:^3.0.1":
version: 3.0.1
resolution: "sanity-plugin-asset-source-unsplash@npm:3.0.1"
dependencies:
"@sanity/icons": ^2.11.8
"@sanity/incompatible-plugin": ^1.0.4
"@sanity/ui": ^2.1.2
react-infinite-scroll-component: 6.1.0
react-photo-album: 2.3.1
rxjs: ^7.8.1
peerDependencies:
react: ^18
sanity: ^3
styled-components: ^6.1
checksum: f5b1d4cab41ee86571bd5c87e0175ad2480b60e2ac73f231df11f31757473ad94ae522a69c26e0702d755456026cbef8db6dac6890f396a784204673816ef070
languageName: node
linkType: hard

"sanity-plugin-media@npm:^2.2.5":
version: 2.2.5
resolution: "sanity-plugin-media@npm:2.2.5"
Expand Down Expand Up @@ -26370,13 +26313,6 @@ __metadata:
languageName: node
linkType: hard

"throttle-debounce@npm:^2.1.0":
version: 2.3.0
resolution: "throttle-debounce@npm:2.3.0"
checksum: 6d90aa2ddb294f8dad13d854a1cfcd88fdb757469669a096a7da10f515ee466857ac1e750649cb9da931165c6f36feb448318e7cb92570f0a3679d20e860a925
languageName: node
linkType: hard

"throttle-debounce@npm:^3.0.1":
version: 3.0.1
resolution: "throttle-debounce@npm:3.0.1"
Expand Down Expand Up @@ -28258,7 +28194,6 @@ __metadata:
remark-gfm: ^4.0.0
rss: ^1.2.2
sanity: 3.41.1
sanity-plugin-asset-source-unsplash: ^3.0.1
sanity-plugin-media: ^2.2.5
sanity-plugin-utils: ^1.6.4
sharp: 0.32.6
Expand Down

0 comments on commit 1b048ba

Please sign in to comment.