{"_id":"@nacelle/sanity-plugin-pim-linker","_rev":"37-89acb51781574a6dc8c8ebb032d4acfd","name":"@nacelle/sanity-plugin-pim-linker","dist-tags":{"beta":"1.0.0-beta.0","alpha":"0.1.0-alpha.0","latest":"0.1.0"},"versions":{"0.0.1-alpha.1":{"name":"@nacelle/sanity-plugin-pim-linker","version":"0.0.1-alpha.1","keywords":["sanity","plugin","nacelle","eCommerce","e-commerce"],"author":{"url":"getnacelle.com","name":"Nacelle Inc."},"license":"ISC","_id":"@nacelle/sanity-plugin-pim-linker@0.0.1-alpha.1","maintainers":[{"name":"leviwhalen","email":"levi@leviwhalen.com"},{"name":"andrew-nacelle","email":"andrew@shopelf.agency"},{"name":"nwrichmond","email":"get@nickrichmond.dev"},{"name":"brianvanderson","email":"brianvanderson@gmail.com"},{"name":"cbodtorf","email":"cbodtorf@gmail.com"},{"name":"johnstonbl01","email":"johnstonbl01@gmail.com"},{"name":"krisq","email":"kquemener1@gmail.com"},{"name":"curbol","email":"curtis@getnacelle.com"},{"name":"irnoble","email":"irnoble59@gmail.com"}],"homepage":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker#readme","bugs":{"url":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker/issues"},"dist":{"shasum":"54aa9cbfd3d46fa23c9499d89684872decb16a04","tarball":"https://registry.npmjs.org/@nacelle/sanity-plugin-pim-linker/-/sanity-plugin-pim-linker-0.0.1-alpha.1.tgz","fileCount":13,"integrity":"sha512-/sWrjAK7D4UCErNO1Do+dlj6U547i2wN6lp1GBZiuxxT8kfyWWID+K07h+hl1n3f3GLM4RaAsD1hkpjkbEkcTA==","signatures":[{"sig":"MEQCIBqfXGGkYJMJnphY5qhLTsVZmXWy5gEBbeD0Qi22AAu0AiBsayKz1k4LjaRlxgHkQiOc8Gfab4Kksiy1ALLt+0Y3tw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCFvaCRA9TVsSAnZWagAA66UP/ifhbD+HGMEjfKfDxU4j\nOlhuf+SHmKAgRxrLv+NhakgWoyPUS2KC3TyG905jsZf72/lI3n+PqTRF7Y2d\ntHQ2g2fvjSAR5gCIT7JcCdZgcDWSl+cffgD9BCwyV7HLzE9e9E1MwagetdGV\nk57kYnawm+MLFrz2Cm2oV27pagB1lJjGQSlO4yP4RV//G4Rk2uLN8/q1Oy9J\nzs0nXYX+kMvyYKFRsuJTN1JSDKh0dzwkUsQSyf/v0XLVRRX0NRZaYRaaEQRr\nIzr0wEj5KOGY8YiyVW7hnbTsA7T9cUXTZhA2EkjguToQBOcUK0+fnbWiSrNA\nKbUpUVYbxmPn3lqv16QL8yH3bNKwKSKl1Zx8o4SyP+yv2proVqrkS+qKY/jE\n3BoKMzROIJ77Eb5ev6389JnhX3ERG2cMrSuZl4sYohZxh/ik4EWJ0242XyUh\n79FT7GraGqKKWuM2LSX/S+j6E7j1Gc9IwjyCkigk3+GMe2EvniM+4E4CEK7t\nFGzGoTbnqu4NmBfMwnoMjvpylqXTIkK8l/VGrw3jpeYBpDpMndT/hB4qpgG/\nM+YcsKY9ND3ot017rtOyyJcQUlODRUdcv742+JQHZic2sy99kuuA7045ZI2O\nTVCfYd1X0qGnZuMeNnfxQFl76dHPpfKgUAQSHmPk+cWBFJUy4UTx1S9b6/MK\nixSs\r\n=wUAj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"d7940b816b03502673eb2ed920f40a170e483400","scripts":{"lint":"eslint ./src","build":"babel src -d dist --copy-files","release":"standard-version && git push --follow-tags && npm publish"},"_npmUser":{"name":"nwrichmond","email":"get@nickrichmond.dev"},"deprecated":"Please see docs.nacelle.com for up-to-date guidance on referencing commerce data in your CMS","repository":{"url":"git+https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker.git","type":"git"},"_npmVersion":"6.14.8","description":"Link product & collection data from Nacelle in Sanity Studio","directories":{},"lint-staged":{"*{json, md}":["prettier --write"],"src/**/*.(js|ts)":["prettier --write","npm run lint"]},"_nodeVersion":"14.15.0","dependencies":{"swr":"^0.4.0","prop-types":"^15.7.2","isomorphic-unfetch":"^3.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.8","eslint":"^7.18.0","prettier":"^2.2.1","@babel/cli":"^7.12.10","@babel/core":"^7.12.10","lint-staged":"^10.5.3","standard-version":"^9.1.0","@babel/preset-env":"^7.12.10","@babel/preset-react":"^7.12.10","eslint-plugin-react":"^7.22.0","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":"^17.0.1","react-dom":"^17.0.1","@sanity/base":"^2.0.9","@sanity/core":"^2.0.9","@sanity/components":"^2.0.9","@sanity/react-hooks":"^2.0.9"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-pim-linker_0.0.1-alpha.1_1611160537976_0.9976316903529658","host":"s3://npm-registry-packages"}},"0.0.1-alpha.2":{"name":"@nacelle/sanity-plugin-pim-linker","version":"0.0.1-alpha.2","keywords":["sanity","plugin","nacelle","eCommerce","e-commerce"],"author":{"url":"getnacelle.com","name":"Nacelle Inc."},"license":"ISC","_id":"@nacelle/sanity-plugin-pim-linker@0.0.1-alpha.2","maintainers":[{"name":"leviwhalen","email":"levi@leviwhalen.com"},{"name":"andrew-nacelle","email":"andrew@shopelf.agency"},{"name":"nwrichmond","email":"get@nickrichmond.dev"},{"name":"brianvanderson","email":"brianvanderson@gmail.com"},{"name":"cbodtorf","email":"cbodtorf@gmail.com"},{"name":"johnstonbl01","email":"johnstonbl01@gmail.com"},{"name":"krisq","email":"kquemener1@gmail.com"},{"name":"curbol","email":"curtis@getnacelle.com"},{"name":"irnoble","email":"irnoble59@gmail.com"}],"homepage":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker#readme","bugs":{"url":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker/issues"},"dist":{"shasum":"0f5f91dfc56121dae4b2857cca512dbb945a659e","tarball":"https://registry.npmjs.org/@nacelle/sanity-plugin-pim-linker/-/sanity-plugin-pim-linker-0.0.1-alpha.2.tgz","fileCount":13,"integrity":"sha512-zn5hrpaI7P36EDO8A3K+U2z9lSxO6qAkGwJwOUpOZ9htwR5wvD1UBcyemZ3bsRFVw03Aj0Jb3R3pNq2ut4MBew==","signatures":[{"sig":"MEQCIBQ4GwkUrnv49Tf6m1RKaUMB/HOBbcvmhAZIqHAQscpUAiBDMeTQYB+48prXKoV2eFw/kIC0f6HRP7w7faB7OdrdLA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26877,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCF+0CRA9TVsSAnZWagAAL90QAJOEmCD+K1CJaqp+zmQf\nDk9B6svyk39OulOKuS95NeMQpbL8Noc1yZh6KtRZTHfNnmlOYwTs0GSJ+TQp\n+TIMWYs2Muz2ADSLJOuqf0BBlSOClq66YckkSigWH/79Vk8TtfX8ifHAdrot\nQCY3wDX8lDa29hN5t5COfcayPcPW5jpiEscZ1skRNIeSFVdU8TE0b4SyFwL+\nwjYUHK1Qsuty6p8H1tg2RUoQelcBt63vC+HxMLD+69q1QpdorUS7eXa/9En+\nidR2qn3W2IN9XlEyWUREjyh2HmCt48SaUPJCFqGQHgEMsMNXO2NkFDJLfytB\nO4xgZJeUvis52TNDqD8dTQRmD6RrliDUJSx2JXxipBFyGYPb9sSPGuAaP19m\nMSCKqC7ryWS44F75VtOuGked2LVVU0fiflMuCqpg2tw7v92P55/X560zBeOe\n5s6nhLkqxOGA9sJMcXnhpSaMxZ90Jn6gY46PyHU+EDjbipXp9+c5th4zvqeV\ntelpJmQ86KR/HkOOryTp2z54GkA0vzCTHLk3OHfs+4M91zsKO3S3/Twipk8I\nIt4eYgvj+3MmSWRhmt2H+RqXFpE2GROZW6kzIXLvf+RyRPrFM5UFnv1CwyfJ\nTJ5ot1g8kNTCWtx/U99FqQPReMZwvxv057lB4ZdPk5YovC2JY47HRwQGxu7b\nL204\r\n=taks\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"npm run lint"}},"readme":"# nacelle-sanity-plugin-pim-linker\n","gitHead":"ac11d24a7cb665d6fe934d3f9700981600c5062d","scripts":{"lint":"eslint ./src","build":"babel src -d dist --copy-files","release":"standard-version && git push --follow-tags && npm publish"},"_npmUser":{"name":"nwrichmond","email":"get@nickrichmond.dev"},"deprecated":"Please see docs.nacelle.com for up-to-date guidance on referencing commerce data in your CMS","repository":{"url":"git+https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker.git","type":"git"},"_npmVersion":"6.14.8","description":"Link product & collection data from Nacelle in Sanity Studio","directories":{},"lint-staged":{"*{json, md}":["prettier --write"],"src/**/*.(js|ts)":["prettier --write","npm run lint"]},"_nodeVersion":"14.15.0","dependencies":{"swr":"^0.4.0","@sanity/ui":"^0.32.6","prop-types":"^15.7.2","styled-components":"^5.2.1","isomorphic-unfetch":"^3.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"husky":"^4.3.8","eslint":"^7.18.0","prettier":"^2.2.1","@babel/cli":"^7.12.10","@babel/core":"^7.12.10","lint-staged":"^10.5.3","standard-version":"^9.1.0","@babel/preset-env":"^7.12.10","@babel/preset-react":"^7.12.10","eslint-plugin-react":"^7.22.0","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":"^17.0.1","react-dom":"^17.0.1","@sanity/base":"^2.0.9","@sanity/core":"^2.0.9","@sanity/components":"^2.0.9","@sanity/react-hooks":"^2.0.9"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-pim-linker_0.0.1-alpha.2_1611161523703_0.5543880929443763","host":"s3://npm-registry-packages"}},"0.0.1-alpha.3":{"name":"@nacelle/sanity-plugin-pim-linker","version":"0.0.1-alpha.3","keywords":["sanity","plugin","nacelle","eCommerce","e-commerce"],"author":{"url":"getnacelle.com","name":"Nacelle Inc."},"license":"ISC","_id":"@nacelle/sanity-plugin-pim-linker@0.0.1-alpha.3","maintainers":[{"name":"leviwhalen","email":"levi@leviwhalen.com"},{"name":"andrew-nacelle","email":"andrew@shopelf.agency"},{"name":"nwrichmond","email":"get@nickrichmond.dev"},{"name":"brianvanderson","email":"brianvanderson@gmail.com"},{"name":"cbodtorf","email":"cbodtorf@gmail.com"},{"name":"johnstonbl01","email":"johnstonbl01@gmail.com"},{"name":"krisq","email":"kquemener1@gmail.com"},{"name":"curbol","email":"curtis@getnacelle.com"},{"name":"irnoble","email":"irnoble59@gmail.com"}],"homepage":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker#readme","bugs":{"url":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker/issues"},"dist":{"shasum":"fd51d3752c9770ca577e0cb0e6f3a703fcf586a3","tarball":"https://registry.npmjs.org/@nacelle/sanity-plugin-pim-linker/-/sanity-plugin-pim-linker-0.0.1-alpha.3.tgz","fileCount":13,"integrity":"sha512-kZr5YzfKR7fPrI8q7rWVQXbfUDSGcjoC7Ba3t5J2dxsehbxuojza8qYhtxq59L8PiT4e2Jg0QuVlOibMQyaWGw==","signatures":[{"sig":"MEQCIGSlpiIErJzlFJNHDh661yY6F54hsHmWJysOeUfNckbOAiAT24YvfRs7fu0aNUg5/tjQvPKHpiAt8d51quscc7VWtw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30028,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCMFXCRA9TVsSAnZWagAAQ68P/3HEd8bJzTzi3Z3T+ejm\n5HpNWmBdBttRq+NyekwuPUQDx1gdhvggUJc4QIkX0uXB/JtwxOq1oc7nYEJz\n6HNvdA1bBdAS0m0QY72p53NZk2nJu1Y58eK+FdOuhY1yyWVVy4J0sLlFi1nh\nweRaNuD2RzGa5Hze56Farti5TE3Nyr1MfqHmvY5QYduQQEZYTCLrpwE/TkaK\n2n6TmcoaM6+pWmGA1jvenq2n6sOuEdTMvIpXx/ORJXYwnn02n6qLM9OagDme\n3zWYfKHsl5EYHV27pIvO+nXAXZG8wPb9BRxnZApMaYUfTcklDJD5yfoQGXOh\nzcK47i8ODWlK5VVyx1s6alw2H0xSjAWCRhQpMyKA9jahuwb+eU2Y89ELFDob\nKhm31o6zAHyhbnPMfpSXBuM3ljXJMK13lf9FIiuCTUsItU/LRLSGm6UFT1fN\nds7Jb4QX39z53nGPRZ3fyCNlrysTTgFZUIAYHQjsI0/zRMmOXEHtpyJe/JnZ\nZdJziWegDBYbG2eAtn0lM+rt9vb7fpQuukuAdXbS1prYDZa3vsi9z5yRvstk\nkTxr7usyF4R6clkgMopiSq1Or1QqB6yWY5CpBv/PRVNQY96hgb+1ITNBieGP\np8COviH1VxqGEqaBFTfENEOHXDstVC8V71UmYzNyEk3bLp0f635WQWPxjuOm\nIy2R\r\n=Cfp2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"6fee73723a93b8c6219f91c06a8fc9459b09acf2","scripts":{"lint":"eslint ./src","build":"babel src -d dist --copy-files","release":"standard-version && git push --follow-tags && npm publish"},"_npmUser":{"name":"nwrichmond","email":"get@nickrichmond.dev"},"deprecated":"Please see docs.nacelle.com for up-to-date guidance on referencing commerce data in your CMS","repository":{"url":"git+https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker.git","type":"git"},"_npmVersion":"6.14.8","description":"Link product & collection data from Nacelle in Sanity Studio","directories":{},"lint-staged":{"*{json, md}":["prettier --write"],"src/**/*.(js|ts)":["prettier --write","npm run lint"]},"_nodeVersion":"14.15.0","dependencies":{"swr":"^0.4.0","prop-types":"^15.7.2","isomorphic-unfetch":"^3.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.8","eslint":"^7.18.0","prettier":"^2.2.1","@babel/cli":"^7.12.10","@sanity/ui":"^0.32.6","@babel/core":"^7.12.10","lint-staged":"^10.5.3","standard-version":"^9.1.0","@babel/preset-env":"^7.12.10","styled-components":"^5.2.1","@babel/preset-react":"^7.12.10","eslint-plugin-react":"^7.22.0","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":"^17.0.1","react-dom":"^17.0.1","@sanity/ui":"^0.32.6","@sanity/base":"^2.0.9","@sanity/core":"^2.0.9","styled-components":"^5.2.1","@sanity/components":"^2.0.9","@sanity/react-hooks":"^2.0.9"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-pim-linker_0.0.1-alpha.3_1611186518756_0.4082816417887398","host":"s3://npm-registry-packages"}},"0.0.1-alpha.4":{"name":"@nacelle/sanity-plugin-pim-linker","version":"0.0.1-alpha.4","keywords":["sanity","plugin","nacelle","eCommerce","e-commerce"],"author":{"url":"getnacelle.com","name":"Nacelle Inc."},"license":"ISC","_id":"@nacelle/sanity-plugin-pim-linker@0.0.1-alpha.4","maintainers":[{"name":"leviwhalen","email":"levi@leviwhalen.com"},{"name":"andrew-nacelle","email":"andrew@shopelf.agency"},{"name":"nwrichmond","email":"get@nickrichmond.dev"},{"name":"brianvanderson","email":"brianvanderson@gmail.com"},{"name":"cbodtorf","email":"cbodtorf@gmail.com"},{"name":"johnstonbl01","email":"johnstonbl01@gmail.com"},{"name":"krisq","email":"kquemener1@gmail.com"},{"name":"curbol","email":"curtis@getnacelle.com"},{"name":"irnoble","email":"irnoble59@gmail.com"}],"homepage":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker#readme","bugs":{"url":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker/issues"},"dist":{"shasum":"6914e5483dce007a4500f5770adaf89ba416fc49","tarball":"https://registry.npmjs.org/@nacelle/sanity-plugin-pim-linker/-/sanity-plugin-pim-linker-0.0.1-alpha.4.tgz","fileCount":13,"integrity":"sha512-RZfbrXDaFMePSeH6/4JifPW6RNWGESno98177dx+d4ZWPIfvkXHNaQkGi61Yb4gilZ1V4NYR5QEQa+tH7dE0hg==","signatures":[{"sig":"MEYCIQDloTAq2aPHsjpXjucdc6E8vVVgDYIL69dd2pzc8J891gIhANQdNMEooaAPxbqEsp0/YlqOwfqHJZpl6r3OtY+24QCS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30307,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCNsbCRA9TVsSAnZWagAAf8YP/R4Awc7rLjyhtKxY+HI7\nnLzxGiO061u5/WrmLkYVEnif4vcKKeoKF1BQrBA4ey3WzxNkNbvpWXLFIjl5\n66mE0UADPJ6lAwEiEOp1ylzIc+4GDhnJm5eKaZnVyQDGsBTlx+K6X1q+dKof\nAKyusc4XBtBvPnYW7ynPK7+D9nVdgmicds1351AeM/+4vXB5KXcCDJaG2aZn\nElSfKa9r/ejYf47nlUSTDqG+I0T+oxW4kag3imDvyRdqnBSR55VDsa5BGuuh\nRSo36EV77qVEdyx4JcYEBduZI/0DGRC0EGUceOs3p3h2D8RsrpbX1V6F2H27\nNwUCjYTQTNfL0mIqUFMiq1Wn9CtjjkMGJo6RmJMpRo+H1lgupp3YnHV+4mzL\nyrKUY2eck3/+8XyzckFNAPr9ueXBDJ8TDNH3RXuDI1YxDzkow6RtH0XKcdqZ\nGUagemse0z2+vhi4FHGJ1IjIs8BWuYPP9HAlOch40DusvfN/UjPfZoR4u2lK\n4YZTjQ8jXDmi8P2EH7AhZWMNjrrUO43iMFJ4W8E3gKTWN/22lZuK/qC4hnhb\n/FEup4JptimlotkINH7UiVeOxTjRAzhMWWjkYotrYPfHiDDiKRANxvwC7Qqa\n/1mhuHtqwr1zBLhcGJBnMuMrqxGdLpm/4LK+ZTudrn30r4/G0ZgQIhYxvJAi\nDhle\r\n=P2dv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"6d355d7873c8b8912bd98303a3fc2468336ca046","scripts":{"lint":"eslint ./src","build":"babel src -d dist --copy-files","release":"standard-version && git push --follow-tags && npm publish"},"_npmUser":{"name":"nwrichmond","email":"get@nickrichmond.dev"},"deprecated":"Please see docs.nacelle.com for up-to-date guidance on referencing commerce data in your CMS","repository":{"url":"git+https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker.git","type":"git"},"_npmVersion":"6.14.8","description":"Link product & collection data from Nacelle in Sanity Studio","directories":{},"lint-staged":{"*{json, md}":["prettier --write"],"src/**/*.(js|ts)":["prettier --write","npm run lint"]},"_nodeVersion":"14.15.0","dependencies":{"swr":"^0.4.0","prop-types":"^15.7.2","isomorphic-unfetch":"^3.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.8","eslint":"^7.18.0","prettier":"^2.2.1","@babel/cli":"^7.12.10","@sanity/ui":"^0.32.6","@babel/core":"^7.12.10","lint-staged":"^10.5.3","standard-version":"^9.1.0","@babel/preset-env":"^7.12.10","styled-components":"^5.2.1","@babel/preset-react":"^7.12.10","eslint-plugin-react":"^7.22.0","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":"^17.0.1","react-dom":"^17.0.1","@sanity/ui":"^0.32.6","@sanity/base":"^2.0.9","@sanity/core":"^2.0.9","styled-components":"^5.2.1","@sanity/components":"^2.0.9","@sanity/react-hooks":"^2.0.9"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-pim-linker_0.0.1-alpha.4_1611193115420_0.7465764126313512","host":"s3://npm-registry-packages"}},"0.0.1":{"name":"@nacelle/sanity-plugin-pim-linker","version":"0.0.1","keywords":["sanity","plugin","nacelle","eCommerce","e-commerce"],"author":{"url":"getnacelle.com","name":"Nacelle Inc."},"license":"ISC","_id":"@nacelle/sanity-plugin-pim-linker@0.0.1","maintainers":[{"name":"jongeyer","email":"jon@supraset.com"},{"name":"leviwhalen","email":"levi@leviwhalen.com"},{"name":"andrew-nacelle","email":"andrew@shopelf.agency"},{"name":"nwrichmond","email":"get@nickrichmond.dev"},{"name":"brianvanderson","email":"brianvanderson@gmail.com"},{"name":"cbodtorf","email":"cbodtorf@gmail.com"},{"name":"johnstonbl01","email":"johnstonbl01@gmail.com"},{"name":"krisq","email":"kquemener1@gmail.com"},{"name":"curbol","email":"curtis@getnacelle.com"},{"name":"irnoble","email":"irnoble59@gmail.com"}],"homepage":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker#readme","bugs":{"url":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker/issues"},"dist":{"shasum":"b0ab848d9af4417a0d90df52eafa1b8b52765829","tarball":"https://registry.npmjs.org/@nacelle/sanity-plugin-pim-linker/-/sanity-plugin-pim-linker-0.0.1.tgz","fileCount":5,"integrity":"sha512-wQHbBkPwEbtio9YH2PCHaav4TsH9oVjqe7dSIwzzOdmkan5f0IeejpSaOhmubNWpMiswa9LOytJtXW3mDJ3KSg==","signatures":[{"sig":"MEUCIQDfs0Q9saBuB+K/qw47WFLAjcI/A4uCfuovyNupSA/8CgIgEW3JjaSGMdRQ2CAIzHIYTdJgEyN+IcxgryWDX4Rja/4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5751,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCePRCRA9TVsSAnZWagAA82QP/jI5XVPOxZCeOY2L5Ozx\nuWnFlw35YmP8sLkk3aq5NCJ4Kjte2wEDd+HpHDQj7n5KLO4ib6polauMGbkB\n4GqI94UcfGLQkd/TpHuhcKo8jEQ6ip6q9e15HzxXUXybs63sDwKUmAsY6Qpk\nG6wjaVeEStxvw6P6KyDSdzTI+NFRtuN4wi777yWjQvoVRTrwKhUfgRNTDiYd\nKpFOajFKqigmlFFrfyDrw3bkitDUr2fAAtdWdMJk2RW/WD5sGoekx2fWytjR\n82NjnsWkYvkVI86afQ9VAsGfd5a9YDglc0iLWzjYJ45Ccl/baBVu8qEOqcFp\nCNsRGZhwq95kwD+DlLmcRsH0kdrINGbybegWnkllOFsLSUsHZOahjM8D8qrv\nMml/BocyqZ5sDDHnHC1c+CGREu3zFzXt730mH4Ic6zNG3lYAqO9SfRNTwz4e\nQZY9/C03I4nSupCzOTBiIaf39uprhoFXsymoJc4G+I0RXzUcnlZ7l3b871KZ\nzTWiA/WlMF43lg4CeAZoTAfJQx0/QCOajhArmvqZo7+dsa11MHZhcEXMCVr0\nkrA1VB4wqKBQ2TITKQ7CL2VxMymZwsmXN3yrc7Z5sTvNyE6Yp8W329BVRryh\n034FKlm1vUtGSGjHt1LHo2C+sVugP8OJm9mBQ8JxczjLkw7ZH36IKPJVLgd8\n3Xj9\r\n=nTo1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"0dc42c30e9a754f03f13961ec4859551f1c4ccc2","scripts":{"lint":"eslint ./src","build":"babel src -d dist --copy-files","release":"standard-version && git push --follow-tags && npm publish"},"_npmUser":{"name":"jongeyer","email":"jon@supraset.com"},"deprecated":"Please see docs.nacelle.com for up-to-date guidance on referencing commerce data in your CMS","repository":{"url":"git+https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker.git","type":"git"},"_npmVersion":"6.14.11","description":"Link product & collection data from Nacelle in Sanity Studio","directories":{},"lint-staged":{"*{json, md}":["prettier --write"],"src/**/*.(js|ts)":["prettier --write","npm run lint"]},"_nodeVersion":"12.18.4","dependencies":{"swr":"^0.4.0","prop-types":"^15.7.2","isomorphic-unfetch":"^3.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.8","eslint":"^7.18.0","prettier":"^2.2.1","@babel/cli":"^7.12.10","@sanity/ui":"^0.32.6","@babel/core":"^7.12.10","lint-staged":"^10.5.3","standard-version":"^9.1.0","@babel/preset-env":"^7.12.10","styled-components":"^5.2.1","@babel/preset-react":"^7.12.10","eslint-plugin-react":"^7.22.0","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":"^17.0.1","react-dom":"^17.0.1","@sanity/ui":"^0.32.6","@sanity/base":"^2.0.9","@sanity/core":"^2.0.9","styled-components":"^5.2.1","@sanity/components":"^2.0.9","@sanity/react-hooks":"^2.0.9"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-pim-linker_0.0.1_1611260881029_0.12156360798119281","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@nacelle/sanity-plugin-pim-linker","version":"0.0.2","keywords":["sanity","plugin","nacelle","eCommerce","e-commerce"],"author":{"url":"getnacelle.com","name":"Nacelle Inc."},"license":"ISC","_id":"@nacelle/sanity-plugin-pim-linker@0.0.2","maintainers":[{"name":"jongeyer","email":"jon@supraset.com"},{"name":"leviwhalen","email":"levi@leviwhalen.com"},{"name":"andrew-nacelle","email":"andrew@shopelf.agency"},{"name":"nwrichmond","email":"get@nickrichmond.dev"},{"name":"brianvanderson","email":"brianvanderson@gmail.com"},{"name":"cbodtorf","email":"cbodtorf@gmail.com"},{"name":"johnstonbl01","email":"johnstonbl01@gmail.com"},{"name":"krisq","email":"kquemener1@gmail.com"},{"name":"curbol","email":"curtis@getnacelle.com"},{"name":"irnoble","email":"irnoble59@gmail.com"}],"homepage":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker#readme","bugs":{"url":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker/issues"},"dist":{"shasum":"1795b976e566e03dfcf636ca2cc64a458eeb8848","tarball":"https://registry.npmjs.org/@nacelle/sanity-plugin-pim-linker/-/sanity-plugin-pim-linker-0.0.2.tgz","fileCount":14,"integrity":"sha512-8Knug/3RIf9qwedZvnimMWKA0da27/OJXtKpNQjjicz9x+Brbm+sOIx766Y7YblKmHIXL9vb4muJHDF0yeoYHw==","signatures":[{"sig":"MEUCIHcyHXBDdZnSD92DREFII4VVub0xw8EG+eu1SBHGAtDTAiEA/0TjzC7Tm7ucwI71DCRrJduDxjgon6+epYmcCm/zGME=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIb7dCRA9TVsSAnZWagAAA0wP/A2laTM48UAZ4TVxVFjb\n7u34xM/29FFW6YBQITkrrs1I/pQM/I6hc1GSoE0lDDb0t6f/dna7VwaIcNn4\nN/t2C6PqqaetoRQHynspSsNolL/gVI0U6QFCHRKFirOVu2r2ibCQ1lwZLdXu\n3fJ65LwLWe2riCzJGwbWvx0bOMlkKMhpw3jVnVilczYVcmbEUFxW+54VWwOs\neXG2Q+INbcH259pSzTFPsw+I4jg0RsNvvhjI33GM5q7PQl8iTklfOPIFIIVE\n+UC9ZR2ODmVhKGpwjE0MepysJewezUllDIm2vZwBt/3iy14F++g2+ppELwBr\nKbf67LRLyzbYtZq/0Jb6qa1d9GY9vS6EJOO9nBz+aGV7dDowXJFdw1srxghf\nij/mP5K49uBk6A8Ljmn5Cns6zvK07JCJ3mvPfTaAJlnhaaDFh3HCddKMrEVA\nYk4QEeUCsTZ0rXTEJglnz7+FGj2VcQw5SDZzh3HTw1kFX7l43s73mIKYxh9a\nlu0GndHwGBNFh8f4ZgH+eHzr3Jxk05M6zgRq77LVebPtfa3Wvos+1irmFZG/\n0iG/4U8TXnzOS/HnK6lfS0NegkjxGTzqxFSI0Z8ie3Ulo/VvyvyWZIE7vFFM\nhFmnVWxABNl5d9gWVcmwQ4DQCq04LUT+uaV342a6OFs22FOWcWSJ5h6UiNpl\nC7q0\r\n=IWlo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"0d40ec6a9f83dae75c74a53f9153264a1465cd24","scripts":{"lint":"eslint ./src","build":"babel src -d dist --copy-files","release":"npm run build && standard-version && git push --follow-tags && npm publish"},"_npmUser":{"name":"nwrichmond","email":"get@nickrichmond.dev"},"deprecated":"Please see docs.nacelle.com for up-to-date guidance on referencing commerce data in your CMS","repository":{"url":"git+https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker.git","type":"git"},"_npmVersion":"6.14.8","description":"Link product & collection data from Nacelle in Sanity Studio","directories":{},"lint-staged":{"*{json, md}":["prettier --write"],"src/**/*.(js|ts)":["prettier --write","npm run lint"]},"_nodeVersion":"14.15.0","dependencies":{"swr":"^0.4.0","prop-types":"^15.7.2","isomorphic-unfetch":"^3.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.8","eslint":"^7.18.0","prettier":"^2.2.1","@babel/cli":"^7.12.10","@sanity/ui":"^0.32.6","@babel/core":"^7.12.10","lint-staged":"^10.5.3","standard-version":"^9.1.0","@babel/preset-env":"^7.12.10","styled-components":"^5.2.1","@babel/preset-react":"^7.12.10","eslint-plugin-react":"^7.22.0","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":"^17.0.1","react-dom":"^17.0.1","@sanity/ui":"^0.32.6","@sanity/base":"^2.0.9","@sanity/core":"^2.0.9","styled-components":"^5.2.1","@sanity/components":"^2.0.9","@sanity/react-hooks":"^2.0.9"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-pim-linker_0.0.2_1612824285140_0.9045576322147828","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@nacelle/sanity-plugin-pim-linker","version":"0.0.3","keywords":["sanity","plugin","nacelle","eCommerce","e-commerce"],"author":{"url":"getnacelle.com","name":"Nacelle Inc."},"license":"ISC","_id":"@nacelle/sanity-plugin-pim-linker@0.0.3","maintainers":[{"name":"jongeyer","email":"jon@supraset.com"},{"name":"leviwhalen","email":"levi@leviwhalen.com"},{"name":"andrew-nacelle","email":"andrew@shopelf.agency"},{"name":"nwrichmond","email":"get@nickrichmond.dev"},{"name":"brianvanderson","email":"brianvanderson@gmail.com"},{"name":"cbodtorf","email":"cbodtorf@gmail.com"},{"name":"johnstonbl01","email":"johnstonbl01@gmail.com"},{"name":"krisq","email":"kquemener1@gmail.com"},{"name":"curbol","email":"curtis@getnacelle.com"},{"name":"irnoble","email":"irnoble59@gmail.com"}],"homepage":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker#readme","bugs":{"url":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker/issues"},"dist":{"shasum":"052758a05ca4473a0e9dd0129beb8ca936060c6f","tarball":"https://registry.npmjs.org/@nacelle/sanity-plugin-pim-linker/-/sanity-plugin-pim-linker-0.0.3.tgz","fileCount":14,"integrity":"sha512-9+toLFNM6KrjKle/rxfkOFnjO1TVw3Qm7+UXDWkte9BcP8w91q5Kj8veeYzg1/lW5gHIZGub/HPMrKWYSiZAwA==","signatures":[{"sig":"MEQCIAkeNHn06dsvve5PnHmRFMEyRyxUIiYkbNPoVgtuZ0yhAiB8NB9jzd4vS3JrZXMixsh6d11YptMXgWk4QNoevM21dA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30992,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNacrCRA9TVsSAnZWagAAppAP/jQ9X8+2ZPb//6TG6axX\nH9M6lzpemwWXL6qfZ5YNE08zpP+4PyUsIseJ+NoEpacRrr60KkYnszgb2p/B\ng8krpyD1/ToueoZ0jLuEJf1fmNaU04TznrYjcmkq5ydMBQxtcLL1Y5ZpXxM7\nQivLXlD0y3/FZymVoPtQGi8gkQJcFL15bsixWKbfkAUptylCronKJIfbtusJ\nmvm3ifP3SSkMCiahQ67QSCz4Q7jrc50p9KuiZOnjbTYGdy++XGLWT9wbSOxJ\nxogH8DXCMWnMChhDLtawlXDj98BhSRL1EumWXEHSAXtnREyFkp5V6oiKZGsJ\nvdyTSOaUk7avNnyzkxHceLybMSkf+uUHMkIn7BwUFb4zxx2yQucHwMZ+zyd3\n8OAafrfUo6RUw6l2tAsRfvdchwBvoxhFmOMC7/drEjaoiTcHZbnufBkwNcQJ\nlGh+LK3XRUNkTLRbsgSu98mFR+hL4XjaGJLWULmH9MP+kqTQ6F76XVkQGbcv\nsrcwC6THr+0Vl/p/LEVhKBFwU12KueuOzAYbrMKo1PO9kj9jAW0IvePsSDbG\ndsfND+4GHdxTosBHiZ+jy/5EtaesW2oeN076amccX4iD6K5SIp/7r6YfTc3R\n3yzaT4Q2t23DuEGwHUO9YaLlDFdlppXB9vetm3txOhrfOjbdo/mWh/G5MLz6\nHOUX\r\n=oPlu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"3084e054458e58c288153cada987395d0c77e407","scripts":{"lint":"eslint ./src","build":"babel src -d dist --copy-files","release":"npm run build && standard-version && git push --follow-tags && npm publish"},"_npmUser":{"name":"jongeyer","email":"jon@supraset.com"},"deprecated":"Please see docs.nacelle.com for up-to-date guidance on referencing commerce data in your CMS","repository":{"url":"git+https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker.git","type":"git"},"_npmVersion":"6.14.11","description":"Link product & collection data from Nacelle in Sanity Studio","directories":{},"lint-staged":{"*{json, md}":["prettier --write"],"src/**/*.(js|ts)":["prettier --write","npm run lint"]},"_nodeVersion":"12.18.4","dependencies":{"swr":"^0.4.0","prop-types":"^15.7.2","isomorphic-unfetch":"^3.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.8","eslint":"^7.18.0","prettier":"^2.2.1","@babel/cli":"^7.12.10","@sanity/ui":"^0.32.6","@babel/core":"^7.12.10","lint-staged":"^10.5.3","standard-version":"^9.1.0","@babel/preset-env":"^7.12.10","styled-components":"^5.2.1","@babel/preset-react":"^7.12.10","eslint-plugin-react":"^7.22.0","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":"^17.0.1","react-dom":"^17.0.1","@sanity/ui":"^0.32.6","@sanity/base":"^2.0.9","@sanity/core":"^2.0.9","styled-components":"^5.2.1","@sanity/components":"^2.0.9","@sanity/react-hooks":"^2.0.9"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-pim-linker_0.0.3_1614128939283_0.8439051697033759","host":"s3://npm-registry-packages"}},"1.0.0-beta.0":{"name":"@nacelle/sanity-plugin-pim-linker","version":"1.0.0-beta.0","keywords":["sanity","plugin","nacelle","eCommerce","e-commerce"],"author":{"url":"getnacelle.com","name":"Nacelle Inc."},"license":"ISC","_id":"@nacelle/sanity-plugin-pim-linker@1.0.0-beta.0","maintainers":[{"name":"jongeyer","email":"jon@supraset.com"},{"name":"leviwhalen","email":"levi@leviwhalen.com"},{"name":"andrew-nacelle","email":"andrew@shopelf.agency"},{"name":"nwrichmond","email":"get@nickrichmond.dev"},{"name":"brianvanderson","email":"brianvanderson@gmail.com"},{"name":"cbodtorf","email":"cbodtorf@gmail.com"},{"name":"johnstonbl01","email":"johnstonbl01@gmail.com"},{"name":"krisq","email":"kquemener1@gmail.com"},{"name":"curbol","email":"curtis@getnacelle.com"},{"name":"irnoble","email":"irnoble59@gmail.com"}],"homepage":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker#readme","bugs":{"url":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker/issues"},"dist":{"shasum":"f1772aee62d4dbf1be382a191f74c69dca267ad0","tarball":"https://registry.npmjs.org/@nacelle/sanity-plugin-pim-linker/-/sanity-plugin-pim-linker-1.0.0-beta.0.tgz","fileCount":14,"integrity":"sha512-7iLGTPeCe7zJ+w2ZtAFeL0LHvUbyDxpkiRcViucUpqR064bAzQsVeEtihHwq4suJVtDCQMXkhwnChUJsdbEwvQ==","signatures":[{"sig":"MEUCIHifnxgKwiQ8XtTHh7/NSSwtPirzb+myKwU+GZvnDu5VAiEAxk4oIPNG7HHYsE+3hkbml0ibcGuPHKUaSf8oNG9wi3s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31235,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQQzNCRA9TVsSAnZWagAAJ/sP/iRAyoU+wzSAGy83aT6y\nVkQKMgTGrOHVplW4rg/y9RWI2/f6gUxvvrybfNeEOkTu+62vh3cYVxUhvdxA\nphRd9/QYosaNFcUk4phtnuXdHWXjC9Pae4COp3pMme8Tdj0kxAfiZjdA3v5x\njBhkqIyTsE3pofUwzP4jx1IYFXnkOKUMuHrj+TglzSrwNJwCZGach2pHJgbl\nJfc5XqqY9ERqCQntJSdjONOYOG3Hap3qCOVaP5bcM8/JzsH66EO3leITftS+\nND9pGWP6Q9Q2jNzGcU26/XpyJ0kNlUUjirEQJRZ9Ct3PBM4pKniHmSV+1UYz\nd+yY4WaaRkHsvMbN7kGmKXoW4+Nu/7aoU5UvvSancL9W0vHMMvsEAEUqbapi\ne8kD+UwXSqhotXNYHQgQNi8WuONTyD9MCSGP/E7wH4mmQMppqHwJ27Xdu2N0\n4675+Sy268oEopS9F4DMUR/KD4via3y4XttA19StDn+X5NYSV9jUPLbc2smX\nGCrMTh40qMAcBHLlF7Tuc2EggwfujGye/ZZBNrcfDIxNf64b64MYGiGqa6AK\nQbgoz0NiK0Ph2QyRSgjs8JpIJ6946s6jsiki7GHb5RjObVpfHiaZIMjeFJAL\nWzNLd4Xb6C9VdRBJ/SvByBKaOOsnD2pG3IcRe7CPgqO1PsGIR4IUFxxYWA5/\nCauG\r\n=d+M1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"npm run lint"}},"readme":"# Sanity Custom Input Plugin: Nacelle PIM Linker\n\n[Nacelle](https://docs.getnacelle.com/intro.html#what-is-nacelle) indexes data from your [PIM](https://en.wikipedia.org/wiki/Product_information_management) (e.g. Shopify, Magento) and CMS to power headless eCommerce projects. This plugin provides a [custom input component](https://www.sanity.io/docs/custom-input-widgets) for Sanity Studio that helps you reference product & collection data stored in Nacelle indices.\n\n<details>\n  <summary>Expand to see the custom input component in action!</summary>\n  <img src=\"https://user-images.githubusercontent.com/5732000/105260780-65532a00-5b5c-11eb-9cc5-c5f8bddb89b4.gif\" alt=\"The Nacelle PIM Linker component is used in Sanity Studio to select products stored in Nacelle's indices\">\n</details>\n\n## Installation & Setup\n\n### Install Peer Dependencies\n\n`npm i @sanity/ui styled-components`\n\n### Install the plugin\n\n`sanity install @nacelle/sanity-plugin-pim-linker`\n\n### Credentials\n\nYou'll need to provide the ID and Token associated with your Nacelle space. These credentials can be found in the [Nacelle Dashboard](https://dashboard.getnacelle.com/).\n\nYou can add these credentials in one of two ways:\n\n#### in `./config/@nacelle/sanity-plugin-pim-linker.json`\n\n```json\n{\n  \"nacelleSpaceId\": \"your-nacelle-space-id\",\n  \"nacelleSpaceToken\": \"your-nacelle-graphql-token\"\n}\n```\n\n#### in `.env.development` / `.env.production`\n\n```\nSANITY_STUDIO_NACELLE_SPACE_ID=your-nacelle-space-id\nSANITY_STUDIO_NACELLE_SPACE_TOKEN=your-nacelle-graphql-token\n```\n\n## Use in Schema Documents\n\nSet the `type` field to `nacelleData` to use the custom input component:\n\n```js\n{\n  name: 'handle',\n  title: 'Handle',\n  type: 'nacelleData',\n}\n```\n\n### Options\n\nBy default, the custom input component allows you to choose a `handle` from either products or collections.\n\nRealistically, you probably want to restrict the component to _either_ products or collections. To do that, provide either `['products']` or `['collections']` to `options.dataType`:\n\n```js\n// example: collections ONLY\n{\n  name: 'collectionHandle',\n  title: 'Collection',\n  type: 'nacelleData',\n  options: {\n    dataType: ['collections']\n  }\n}\n```\n\n```js\n// example: products ONLY\n{\n  name: 'productHandle',\n  title: 'Product',\n  type: 'nacelleData',\n  options: {\n    dataType: ['products']\n  }\n}\n```\n\n### Using This Data in Your Frontend Project\n\nSince this custom input component just stores the `handle` of a particular product or collection, you'll use the [Nacelle Client JS SDK](https://docs.getnacelle.com/api-reference/client-js-sdk.html) to fetch the associated product or collection object.\n\n#### Product\n\n```js\nconst product = await client.data.product({\n  handle: 'handle-from-my-sanity-entry'\n})\n```\n\n#### Collection\n\n```js\nconst collection = await client.data.collection({\n  handle: 'handle-from-my-sanity-entry'\n})\n\nconst productHandles = collection.productLists[0].handles\n\nconst collectionProducts = await client.data.products({\n  handles: productHandles\n})\n```\n","gitHead":"1a8e78c0fa30aad58832b671116ca826597f62bc","scripts":{"lint":"eslint ./src","build":"babel src -d dist --copy-files","release":"npm run build && standard-version && git push --follow-tags && npm publish"},"_npmUser":{"name":"nwrichmond","email":"get@nickrichmond.dev"},"deprecated":"Please see docs.nacelle.com for up-to-date guidance on referencing commerce data in your CMS","repository":{"url":"git+https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker.git","type":"git"},"_npmVersion":"6.14.8","description":"Link product & collection data from Nacelle in Sanity Studio","directories":{},"lint-staged":{"*{json, md}":["prettier --write"],"src/**/*.(js|ts)":["prettier --write","npm run lint"]},"_nodeVersion":"14.15.0","dependencies":{"swr":"^0.4.0","prop-types":"^15.7.2","isomorphic-unfetch":"^3.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"husky":"^4.3.8","eslint":"^7.18.0","prettier":"^2.2.1","@babel/cli":"^7.12.10","@sanity/ui":"^0.32.6","@babel/core":"^7.12.10","lint-staged":"^10.5.3","standard-version":"^9.1.0","@babel/preset-env":"^7.12.10","styled-components":"^5.2.1","@babel/preset-react":"^7.12.10","eslint-plugin-react":"^7.22.0","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":"^17.0.1","react-dom":"^17.0.1","@sanity/ui":"^0.32.6","@sanity/base":"^2.0.9","@sanity/core":"^2.0.9","styled-components":"^5.2.1","@sanity/components":"^2.0.9","@sanity/react-hooks":"^2.0.9"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-pim-linker_1.0.0-beta.0_1614875852619_0.20542840591218914","host":"s3://npm-registry-packages"}},"0.0.4-alpha.0":{"name":"@nacelle/sanity-plugin-pim-linker","version":"0.0.4-alpha.0","keywords":["sanity","plugin","nacelle","eCommerce","e-commerce"],"author":{"url":"getnacelle.com","name":"Nacelle Inc."},"license":"ISC","_id":"@nacelle/sanity-plugin-pim-linker@0.0.4-alpha.0","maintainers":[{"name":"alexnacelle","email":"alex@getnacelle.com"},{"name":"jongeyer","email":"jon@supraset.com"},{"name":"leviwhalen","email":"levi@leviwhalen.com"},{"name":"andrew-nacelle","email":"andrew@shopelf.agency"},{"name":"nwrichmond","email":"get@nickrichmond.dev"},{"name":"brianvanderson","email":"brianvanderson@gmail.com"},{"name":"cbodtorf","email":"cbodtorf@gmail.com"},{"name":"johnstonbl01","email":"johnstonbl01@gmail.com"},{"name":"krisq","email":"kquemener1@gmail.com"},{"name":"curbol","email":"curtis@getnacelle.com"},{"name":"irnoble","email":"irnoble59@gmail.com"}],"homepage":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker#readme","bugs":{"url":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker/issues"},"dist":{"shasum":"49ae80d230783872cce2dddaf81ee76670c333b8","tarball":"https://registry.npmjs.org/@nacelle/sanity-plugin-pim-linker/-/sanity-plugin-pim-linker-0.0.4-alpha.0.tgz","fileCount":15,"integrity":"sha512-2IhcWjM+km6oENYGetkJTxKtOeRPPeDxAFR6WLO7t+zk0QpiISQDnz1pg1gZReFmTotEqc1jy8ikRnUoICfKHQ==","signatures":[{"sig":"MEYCIQCVHiq+IUPiDU3U0mNstEnI+WNSsC4US5+kRHIaHDbnRAIhANPWM+H0E8SK1qjbfv9/cjmXYo9k7oYa4hd7B38O6rqE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34971,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbl78CRA9TVsSAnZWagAAQm8P/A9SOI03J93OR61J55J+\nybKVumg5lbX2nFr2nlt1lm68lX+JBMBl46NuLypclUGrXK19it5wW5IBGuai\nw2jkl1P+nqmaBiUx3XOWRBEoLzYI4qXDn+lR9Lovec+iqmjc6KkidDQkVT2D\nBLh9hxmHGS2V4WP/Wl38CqHpo3ZqSQ/V6+04ai3Nk9Z1bFlfPLiDHwrIVNPl\nJVjxZ9zcPdBSqKGmSuqVzn7C+J2EeaDfxr0N0ZDXd9gdq5rlTI0d481w7o8d\nEpZLzVfLpJOFJ7kspVDQQAUvHYOFzFS+o/F4tgVQHgjFy0inB2EUQurP8NKe\nJDLUtXlllsCjl2eFOZNEtCKt9l+cePadJyByA+1flOFxofJYZ2U1Dn2UJ7l7\naFRgwrlS5s8JOU2xm84tfy5U6b/7v7s2guSYzYUo5f/UdXqi4bmKakZsBGiW\niEEgw4+5V/9jQ0/mtGLAzQgBTgcmq5EiPSocMOepoecn48iZs5B7+RNEcvLV\nGPnDlrRFkR1yaiPJYWQJppKLkhvmIUOx5/6N8ebeWUIhAfNXgWFx2khC6PgM\naULJT/m6kYxpXcyqjCK1+vvwjvViEiuHi4plqj1MzOfI17kiPk4X5+Be1t3X\n2EKR5Zs8dCxde3DotICfZCcrSzpuhBjhxx7+bAzq7jR/wqBTBiQpMmf2Vv5i\n2+Gt\r\n=vakz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"npm run lint"}},"readme":"# Sanity Custom Input Plugin: Nacelle PIM Linker\n\n[Nacelle](https://docs.getnacelle.com/intro.html#what-is-nacelle) indexes data from your [PIM](https://en.wikipedia.org/wiki/Product_information_management) (e.g. Shopify, Magento) and CMS to power headless eCommerce projects. This plugin provides a [custom input component](https://www.sanity.io/docs/custom-input-widgets) for Sanity Studio that helps you reference product & collection data stored in Nacelle indices.\n\n<details>\n  <summary>Expand to see the custom input component in action!</summary>\n  <img src=\"https://user-images.githubusercontent.com/5732000/105260780-65532a00-5b5c-11eb-9cc5-c5f8bddb89b4.gif\" alt=\"The Nacelle PIM Linker component is used in Sanity Studio to select products stored in Nacelle's indices\">\n</details>\n\n## Installation & Setup\n\n### Install Peer Dependencies\n\n`npm i @sanity/ui styled-components`\n\n### Install the plugin\n\n`sanity install @nacelle/sanity-plugin-pim-linker`\n\n### Credentials\n\nYou'll need to provide the ID and Token associated with your Nacelle space. These credentials can be found in the [Nacelle Dashboard](https://dashboard.getnacelle.com/).\n\nYou can add these credentials in one of two ways:\n\n#### in `./config/@nacelle/sanity-plugin-pim-linker.json`\n\n```json\n{\n  \"nacelleSpaceId\": \"your-nacelle-space-id\",\n  \"nacelleSpaceToken\": \"your-nacelle-graphql-token\"\n}\n```\n\n#### in `.env.development` / `.env.production`\n\n```\nSANITY_STUDIO_NACELLE_SPACE_ID=your-nacelle-space-id\nSANITY_STUDIO_NACELLE_SPACE_TOKEN=your-nacelle-graphql-token\n```\n\n## Use in Schema Documents\n\nSet the `type` field to `nacelleData` to use the custom input component:\n\n```js\n{\n  name: 'handle',\n  title: 'Handle',\n  type: 'nacelleData',\n}\n```\n\n### Options\n\nBy default, the custom input component allows you to choose a `handle` from either products or collections.\n\nRealistically, you probably want to restrict the component to _either_ products or collections. To do that, provide either `['products']` or `['collections']` to `options.dataType`:\n\n```js\n// example: collections ONLY\n{\n  name: 'collectionHandle',\n  title: 'Collection',\n  type: 'nacelleData',\n  options: {\n    dataType: ['collections']\n  }\n}\n```\n\n```js\n// example: products ONLY\n{\n  name: 'productHandle',\n  title: 'Product',\n  type: 'nacelleData',\n  options: {\n    dataType: ['products']\n  }\n}\n```\n\n### Using This Data in Your Frontend Project\n\nSince this custom input component just stores the `handle` of a particular product or collection, you'll use the [Nacelle Client JS SDK](https://docs.getnacelle.com/api-reference/client-js-sdk.html) to fetch the associated product or collection object.\n\n#### Product\n\n```js\nconst product = await client.data.product({\n  handle: 'handle-from-my-sanity-entry'\n})\n```\n\n#### Collection\n\n```js\nconst collection = await client.data.collection({\n  handle: 'handle-from-my-sanity-entry'\n})\n\nconst productHandles = collection.productLists[0].handles\n\nconst collectionProducts = await client.data.products({\n  handles: productHandles\n})\n```\n","gitHead":"e93c2eba89c7efe2406ff45b4f1a63ee8117c559","scripts":{"lint":"eslint ./src","build":"babel src -d dist --copy-files","release":"npm run build && standard-version && git push --follow-tags && npm publish"},"_npmUser":{"name":"nwrichmond","email":"get@nickrichmond.dev"},"deprecated":"Please see docs.nacelle.com for up-to-date guidance on referencing commerce data in your CMS","repository":{"url":"git+https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker.git","type":"git"},"_npmVersion":"6.14.8","description":"Link product & collection data from Nacelle in Sanity Studio","directories":{},"lint-staged":{"*{json, md}":["prettier --write"],"src/**/*.(js|ts)":["prettier --write","npm run lint"]},"_nodeVersion":"14.15.0","dependencies":{"swr":"^0.4.0","prop-types":"^15.7.2","isomorphic-unfetch":"^3.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"husky":"^4.3.8","eslint":"^7.18.0","prettier":"^2.2.1","@babel/cli":"^7.12.10","@sanity/ui":"^0.32.6","@babel/core":"^7.12.10","lint-staged":"^10.5.3","standard-version":"^9.1.0","@babel/preset-env":"^7.12.10","styled-components":"^5.2.1","@babel/preset-react":"^7.12.10","eslint-plugin-react":"^7.22.0","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":"^17.0.1","react-dom":"^17.0.1","@sanity/ui":"^0.32.6","@sanity/base":"^2.0.9","@sanity/core":"^2.0.9","styled-components":"^5.2.1","@sanity/components":"^2.0.9","@sanity/react-hooks":"^2.0.9"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-pim-linker_0.0.4-alpha.0_1617846012206_0.1481724132838731","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@nacelle/sanity-plugin-pim-linker","version":"0.0.4","keywords":["sanity","plugin","nacelle","eCommerce","e-commerce"],"author":{"url":"getnacelle.com","name":"Nacelle Inc."},"license":"ISC","_id":"@nacelle/sanity-plugin-pim-linker@0.0.4","maintainers":[{"name":"alexnacelle","email":"alex@getnacelle.com"},{"name":"jongeyer","email":"jon@supraset.com"},{"name":"leviwhalen","email":"levi@leviwhalen.com"},{"name":"andrew-nacelle","email":"andrew@shopelf.agency"},{"name":"nwrichmond","email":"get@nickrichmond.dev"},{"name":"brianvanderson","email":"brianvanderson@gmail.com"},{"name":"cbodtorf","email":"cbodtorf@gmail.com"},{"name":"johnstonbl01","email":"johnstonbl01@gmail.com"},{"name":"krisq","email":"kquemener1@gmail.com"},{"name":"curbol","email":"curtis@getnacelle.com"},{"name":"irnoble","email":"irnoble59@gmail.com"}],"homepage":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker#readme","bugs":{"url":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker/issues"},"dist":{"shasum":"fc2cf3ac700c47f0c761c250b74faf615e8044c8","tarball":"https://registry.npmjs.org/@nacelle/sanity-plugin-pim-linker/-/sanity-plugin-pim-linker-0.0.4.tgz","fileCount":15,"integrity":"sha512-j9eUOMUVEi6LItu+l1fLOdWwpLsQuO3nlmZw6JggBoR1Ra2cl2U+9qCLUpTfb6aFa2KiAS2fo9taCfWJHX+Nzg==","signatures":[{"sig":"MEQCIHCeyx0qmvq6Q9LxScKbkKV/ic49Oq1KArQBk/dsLifkAiApO4nuznm7XYGDbXdulmjDXWlRtdoQbhAoaLc8eRVz+Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34963,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbzlACRA9TVsSAnZWagAAiSAP/2+Njm2KlJt0hyHqw3wx\nmD8Kqh1vTw6KqpmLJl9IqCgkLIVPW5rDJ/zh82oX5pErX+mEt/j1xMD0+BNf\naRIufllfDuhqj8eyi8CnHjIgCUWayJ6hxHXoWRDn9idS3Y8qStf2BLe+4mOF\nKk1rBoUpu8t0nc10sW3rGhmDzUbpTP6hRb1bkDTK8jp/9Sk6SQkDsJmImX3Z\nkXXtIzM2qQ9GBTUd0LeYdYLfvUZG3RKzjC9rWaMBiQmYkA63wQWc7wt01X8j\nAHXNkf4mG1KExvmNhHnPG3VdliNgRXYsT7kdLlHkpjyVq7x4O/DGXCYJrzS5\nmz6NgFpDKxwHj1N9s+AYvpFgBtFNu1O1eaz0iccNQgp6KqAoRRpwm0SBixZZ\ng56PHZTQO0pAujYhY2UJwofi4fwFmFxqsQS1GTOXR1duw/4YKPj9McUiWg1F\n0SqIZa5sbcEMQZ62Ea0odWnzk4BIAoHYxZS5xyviHohdz735W9nRULtYWZpM\nRIsB3SBusK0E9DLV1GtuOe0absFx2S2yjiZEYe4lM325kqdOLdQ1479yD3F1\nVYyI+itXqYc5wfH/5/4CcULe3FdMYe4nF1WFZghpo5FMSs3Uloaau+9ZPACE\n5neppIXst9OHToAB2iXIKF3lrBY8yQAWBqHURqr37W7ZcMG2ibCmT86wZUZg\nL9+b\r\n=HtN+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"11d694071deb682c13df81915a822192cb4885fe","scripts":{"lint":"eslint ./src","build":"babel src -d dist --copy-files","release":"npm run build && standard-version && git push --follow-tags && npm publish"},"_npmUser":{"name":"nwrichmond","email":"get@nickrichmond.dev"},"deprecated":"Please see docs.nacelle.com for up-to-date guidance on referencing commerce data in your CMS","repository":{"url":"git+https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker.git","type":"git"},"_npmVersion":"6.14.8","description":"Link product & collection data from Nacelle in Sanity Studio","directories":{},"lint-staged":{"*{json, md}":["prettier --write"],"src/**/*.(js|ts)":["prettier --write","npm run lint"]},"_nodeVersion":"14.15.0","dependencies":{"swr":"^0.4.0","prop-types":"^15.7.2","isomorphic-unfetch":"^3.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.8","eslint":"^7.18.0","prettier":"^2.2.1","@babel/cli":"^7.12.10","@sanity/ui":"^0.32.6","@babel/core":"^7.12.10","lint-staged":"^10.5.3","standard-version":"^9.1.0","@babel/preset-env":"^7.12.10","styled-components":"^5.2.1","@babel/preset-react":"^7.12.10","eslint-plugin-react":"^7.22.0","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":"^17.0.1","react-dom":"^17.0.1","@sanity/ui":"^0.32.6","@sanity/base":"^2.0.9","@sanity/core":"^2.0.9","styled-components":"^5.2.1","@sanity/components":"^2.0.9","@sanity/react-hooks":"^2.0.9"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-pim-linker_0.0.4_1617901887890_0.61412740234456","host":"s3://npm-registry-packages"}},"0.1.0-alpha.0":{"name":"@nacelle/sanity-plugin-pim-linker","version":"0.1.0-alpha.0","keywords":["sanity","plugin","nacelle","eCommerce","e-commerce"],"author":{"url":"getnacelle.com","name":"Nacelle Inc."},"license":"ISC","_id":"@nacelle/sanity-plugin-pim-linker@0.1.0-alpha.0","maintainers":[{"name":"alexnacelle","email":"alex@getnacelle.com"},{"name":"jongeyer","email":"jon@supraset.com"},{"name":"leviwhalen","email":"levi@leviwhalen.com"},{"name":"andrew-nacelle","email":"andrew@shopelf.agency"},{"name":"nwrichmond","email":"get@nickrichmond.dev"},{"name":"brianvanderson","email":"brianvanderson@gmail.com"},{"name":"cbodtorf","email":"cbodtorf@gmail.com"},{"name":"johnstonbl01","email":"johnstonbl01@gmail.com"},{"name":"krisq","email":"kquemener1@gmail.com"},{"name":"curbol","email":"curtis@getnacelle.com"},{"name":"irnoble","email":"irnoble59@gmail.com"}],"homepage":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker#readme","bugs":{"url":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker/issues"},"dist":{"shasum":"edfa0a2a225d7ecac9b870065fb648947761b467","tarball":"https://registry.npmjs.org/@nacelle/sanity-plugin-pim-linker/-/sanity-plugin-pim-linker-0.1.0-alpha.0.tgz","fileCount":15,"integrity":"sha512-3l1hE0zbrd8b0fGJ0Jdh65ul/jYiJrlacy6vrPEyP1RqdCT+sdnD5hLiuS6GnuHDUzj4G1Ie4mEDCvM7o6nhYQ==","signatures":[{"sig":"MEUCIQCauFc4IQ2IwX/LNyjOBjK21mYTrkCaU6Bh84/LRH9JkgIgebxGBHBWBG/5k6WMyTIXnww7Nxim3lnJObbquiXZ9RM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36323,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgidQ7CRA9TVsSAnZWagAAaEQQAI8DI2DD963GIfKONtQv\n6kNgC/U0QW8541scPGCW9/2L7NPR1xwDsF8VWxiOiRpa6MivrjH5zgUykv1W\nA1sd301e7svwFPSjhfTNG/9Ky9O13dMOITg7/WXh1Ro2nxTKp9rSMkEEkW/c\nJe6pJTlgilyS3fnH05P1SyRxqQfP1yhbn7n1G3GhEo12fzFXsDhvuXl46WQM\n78C3L1NMT2bKhSHj3fs1H0SFLqlwLbC27SsZXKscU1bTgTcNQ8FqYhtLzmrR\nue/REfoL7QxNvyFN3wXUYEpuRdDxzd10VjPYUjNfjh5gPQy3cbKhZ/GQghfo\nmIOru+BdPDV0KUz3JCApHr21GhHNOcGw7VkW2oNhQtu5uq0DPH2aeJOeJmFS\nPPTQB80e1pPuDlSA2HW3G+12BMNJyuOvM9Aeg39c6WP7N0xu3cmLuqOzJ13G\nFAqmJFoc+OJv3V3GzhKRi5jV7cy+bS9bkjdX4/F8U5Cip1SrWFhW6+IkV2QN\nNpSzf2JF7wJYC9hdrDsqwo1s8YxClUlNqswVmF24YYF/l/ZqftX5Tm+N6/RY\n2wf87srYxHUSx55ElCp9v2cgpnfT9PfJ5vvr/0JfMVfYpe8I/+Q4DUXZxw9I\naBfME63GPeUEvzOYsA5LkRkKPWJN7ysq/5mVshkKKQkLPdjESG12w/A7aHic\nFffT\r\n=Jg5c\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"npm run lint"}},"engines":{"node":"14.x"},"gitHead":"04c4f3fa50a4564ab6a5e42e6e201ada575ba91d","scripts":{"lint":"eslint ./src","build":"babel src -d dist --copy-files","release":"npm run build && standard-version && git push --follow-tags && npm publish","release-clean":"npm run build && standard-version"},"_npmUser":{"name":"alexnacelle","email":"alex@getnacelle.com"},"deprecated":"Please see docs.nacelle.com for up-to-date guidance on referencing commerce data in your CMS","repository":{"url":"git+https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker.git","type":"git"},"_npmVersion":"7.11.1","description":"Link product & collection data from Nacelle in Sanity Studio","directories":{},"lint-staged":{"*{json, md}":["prettier --write"],"src/**/*.(js|ts)":["prettier --write","npm run lint"]},"_nodeVersion":"14.16.1","dependencies":{"swr":"^0.4.0","prop-types":"^15.7.2","isomorphic-unfetch":"^3.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.8","eslint":"^7.18.0","prettier":"^2.2.1","@babel/cli":"^7.12.10","@sanity/ui":"^0.32.6","@babel/core":"^7.12.10","lint-staged":"^10.5.3","standard-version":"^9.1.0","@babel/preset-env":"^7.12.10","styled-components":"^5.2.1","@babel/preset-react":"^7.12.10","eslint-plugin-react":"^7.22.0","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":"^17.0.1","react-dom":"^17.0.1","@sanity/ui":"^0.32.6","@sanity/base":"^2.0.9","@sanity/core":"^2.0.9","styled-components":"^5.2.1","@sanity/components":"^2.0.9","@sanity/react-hooks":"^2.0.9"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-pim-linker_0.1.0-alpha.0_1619645498207_0.8528710652661757","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@nacelle/sanity-plugin-pim-linker","version":"0.1.0","keywords":["sanity","plugin","nacelle","eCommerce","e-commerce"],"author":{"url":"getnacelle.com","name":"Nacelle Inc."},"license":"ISC","_id":"@nacelle/sanity-plugin-pim-linker@0.1.0","maintainers":[{"name":"badiolaignacio","email":"ignacio@getnacelle.com"},{"name":"dzouras","email":"darlene.zouras@getnacelle.com"},{"name":"leviwhalen","email":"levi@leviwhalen.com"},{"name":"andrew-nacelle","email":"andrew@shopelf.agency"},{"name":"nwrichmond","email":"get@nickrichmond.dev"},{"name":"brianvanderson","email":"brianvanderson@gmail.com"},{"name":"cbodtorf","email":"cbodtorf@gmail.com"},{"name":"johnstonbl01","email":"johnstonbl01@gmail.com"},{"name":"krisq","email":"kquemener1@gmail.com"},{"name":"curbol","email":"curtis@getnacelle.com"},{"name":"irnoble","email":"irnoble59@gmail.com"},{"name":"jongeyer","email":"jon@supraset.com"},{"name":"alexnacelle","email":"alex@getnacelle.com"},{"name":"nacelle-bot","email":"jeff@getnacelle.com"},{"name":"austin1237","email":"austindavis4@gmail.com"}],"homepage":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker#readme","bugs":{"url":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker/issues"},"dist":{"shasum":"311c4f3cdb74bde72872e5de355be24487848531","tarball":"https://registry.npmjs.org/@nacelle/sanity-plugin-pim-linker/-/sanity-plugin-pim-linker-0.1.0.tgz","fileCount":14,"integrity":"sha512-v0j8Udu2Y7Q8OV7Lb4pOQ17eRZPfLKuEKt3gCvxaI880KSvY3C+0oxFx5in+wE1QoOaTiWUzkmhSlXedZfxorA==","signatures":[{"sig":"MEYCIQDzm6TNrJXc92dZi9EoxF9ZczYpy6RdQTH/lWrhVk09/gIhALoUCGR/ly+0DNBJUG4uuro1d3SVak7aI6yEgrQGAPNG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38762,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2SqhCRA9TVsSAnZWagAAC94QAIY5ET898Zq4pbrlkfp5\nTw3OH4I/HF1NwIIUrMJzA0uOQdcl9LqK6tq4r41fB2hxgx9f50/EFGsSZz6C\ns2bRo/VtzjvIlVEwWG7VrQufdumWI6QYKToL1zvo6oERwNa8ZqecF4VLrZTj\nCgu8zzqJdPfJl2tAmqLL8nAgq0Z3zuOcJgeZ6jtTWJ/AoIWre0lWS3DSAHBA\ns3g42sP/UWrvEkoU4KJ5idkgJlJE3dNcWNb05YHc70fkkj0et0/EgUohM4VU\n4SwtS6i/pdDMqzlE8Zwp3UpN5PszOLTxch8acJOmiPZZczHtVSGik4xGV50V\n3x1rBZh+aWBhEgTJMHmIl9pFXvHNXP2IC3fk6pCkwEC7etW8YYhDtFHFmMMH\nBPAEdtYcwp4lBLBvOdE7ocaxbdwdozTOfqpbyFcrp8t+BSs3uGhU5168RHjo\n7vCbSALlCylAcRwxqvn+lkeTOuzN+xt59+CnlVL4Xxumw6axYBSfv10y4I01\nxtubssALS9Kjz/NjgRqo/FIDk0ansI9FO0hy1dvTgnVu8ayHK4A7v1CbojZX\nla8W8P/SMQu0RVYZFNT4Hg1tZV+QlNW6r6bD4PPxCuK/VXjUDxIX/gwDOB2+\nFZA0YZ1CDXjfjKqj+Ya/lXwndCuP9hwm0bgQQW878C89rI0R7BIkpGT1eQWM\n5uiu\r\n=Mt8c\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"npm run lint"}},"engines":{"node":"14.x"},"gitHead":"69963eed147cc1a156e621f33b5214d86d768037","scripts":{"lint":"eslint ./src","build":"babel src -d dist --copy-files","start":"nodemon --watch src --exec 'npm run build'","release":"npm run build && standard-version && git push --follow-tags && npm publish","release-clean":"npm run build && standard-version"},"_npmUser":{"name":"alexnacelle","email":"alex@getnacelle.com"},"deprecated":"Please see docs.nacelle.com for up-to-date guidance on referencing commerce data in your CMS","repository":{"url":"git+https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker.git","type":"git"},"_npmVersion":"7.24.0","description":"Link product & collection data from Nacelle in Sanity Studio","directories":{},"lint-staged":{"*{json, md}":["prettier --write"],"src/**/*.(js|ts)":["prettier --write","npm run lint"]},"_nodeVersion":"14.17.6","dependencies":{"swr":"^0.4.0","prop-types":"^15.7.2","isomorphic-unfetch":"^3.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.8","eslint":"^7.18.0","nodemon":"^2.0.15","prettier":"^2.2.1","@babel/cli":"^7.12.10","@sanity/ui":"^0.32.6","@babel/core":"^7.12.10","lint-staged":"^10.5.3","standard-version":"^9.1.0","@babel/preset-env":"^7.12.10","styled-components":"^5.2.1","@babel/preset-react":"^7.12.10","eslint-plugin-react":"^7.22.0","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":"^17.0.1","react-dom":"^17.0.1","@sanity/ui":"^0.32.6","@sanity/base":"^2.0.9","@sanity/core":"^2.0.9","styled-components":"^5.2.1","@sanity/components":"^2.0.9","@sanity/react-hooks":"^2.0.9"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-pim-linker_0.1.0_1637000793867_0.5882651836536572","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-01-20T16:35:37.767Z","modified":"2025-10-29T15:32:32.981Z","0.0.1-alpha.1":"2021-01-20T16:35:38.103Z","0.0.1-alpha.2":"2021-01-20T16:52:03.925Z","0.0.1-alpha.3":"2021-01-20T23:48:39.204Z","0.0.1-alpha.4":"2021-01-21T01:38:35.546Z","0.0.1":"2021-01-21T20:28:01.154Z","0.0.2":"2021-02-08T22:44:45.310Z","0.0.3":"2021-02-24T01:08:59.420Z","1.0.0-beta.0":"2021-03-04T16:37:32.774Z","0.0.4-alpha.0":"2021-04-08T01:40:12.458Z","0.0.4":"2021-04-08T17:11:28.127Z","0.0.5":"2021-04-28T19:16:30.359Z","0.0.6":"2021-04-28T19:42:20.532Z","0.1.0-alpha.0":"2021-04-28T21:31:38.331Z","0.1.0":"2021-11-15T18:26:34.014Z"},"bugs":{"url":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker/issues"},"author":{"url":"getnacelle.com","name":"Nacelle Inc."},"license":"ISC","homepage":"https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker#readme","keywords":["sanity","plugin","nacelle","eCommerce","e-commerce"],"repository":{"url":"git+https://github.com/getnacelle/nacelle-sanity-plugin-pim-linker.git","type":"git"},"description":"Link product & collection data from Nacelle in Sanity Studio","maintainers":[{"email":"ignacio@getnacelle.com","name":"badiolaignacio"},{"email":"jeffrichie@gmail.com","name":"jeffrichie"},{"email":"support@getnacelle.com","name":"nacelle-support"},{"email":"brianvanderson@gmail.com","name":"brianvanderson"},{"email":"jeff@getnacelle.com","name":"nacelle-bot"}],"readme":"# Sanity Custom Input Plugin: Nacelle PIM Linker\n\n[Nacelle](https://docs.getnacelle.com/intro.html#what-is-nacelle) indexes data from your [PIM](https://en.wikipedia.org/wiki/Product_information_management) (e.g. Shopify, Magento) and CMS to power headless eCommerce projects. This plugin provides a [custom input component](https://www.sanity.io/docs/custom-input-widgets) for Sanity Studio that helps you reference product & collection data stored in Nacelle indices.\n\n<details>\n  <summary>Expand to see the custom input component in action!</summary>\n  <img src=\"https://user-images.githubusercontent.com/5732000/105260780-65532a00-5b5c-11eb-9cc5-c5f8bddb89b4.gif\" alt=\"The Nacelle PIM Linker component is used in Sanity Studio to select products stored in Nacelle's indices\">\n</details>\n\n## Installation & Setup\n\n### Install Peer Dependencies\n\n`npm i @sanity/ui styled-components`\n\n### Install the plugin\n\n`sanity install @nacelle/sanity-plugin-pim-linker`\n\n### Credentials\n\nYou'll need to provide the ID and Token associated with your Nacelle space. These credentials can be found in the [Nacelle Dashboard](https://dashboard.getnacelle.com/).\n\nFor a single space you can add these credentials in one of two ways:\n\n#### in `./config/@nacelle/sanity-plugin-pim-linker.json`\n\n```json\n{\n  \"nacelleSpaceId\": \"your-nacelle-space-id\",\n  \"nacelleSpaceToken\": \"your-nacelle-graphql-token\"\n}\n```\n\n#### in `.env.development` / `.env.production`\n\n```\nSANITY_STUDIO_NACELLE_SPACE_ID=your-nacelle-space-id\nSANITY_STUDIO_NACELLE_SPACE_TOKEN=your-nacelle-graphql-token\n```\n\nFor multiple spaces you can add these credentials like this:\n\n#### in `./config/@nacelle/sanity-plugin-pim-linker.json`\n\n```json\n\"nacelleSpaces\": [\n    {\n      \"spaceName\": \"Space 1\",\n      \"spaceId\": \"your-nacelle-space-id\",\n      \"spaceToken\": \"your-nacelle-graphql-token\"\n    },\n    {\n      \"spaceName\": \"Space 2\",\n      \"spaceId\": \"clever-owl-jr0WwlZv7L\",\n      \"spaceToken\": \"2a74743f-7a00-4274-9cb6-2dfe15e89d47\"\n    }\n  ]\n```\n\n## Use in Schema Documents\n\nSet the `type` field to `nacelleData` to use the custom input component:\n\n```js\n{\n  name: 'handle',\n  title: 'Handle',\n  type: 'nacelleData',\n}\n```\n\n### Options\n\nBy default, the custom input component allows you to choose a `handle` from either products or collections.\n\nRealistically, you probably want to restrict the component to _either_ products or collections. To do that, provide either `['products']` or `['collections']` to `options.dataType`:\n\n```js\n// example: collections ONLY\n{\n  name: 'collectionHandle',\n  title: 'Collection',\n  type: 'nacelleData',\n  options: {\n    dataType: ['collections']\n  }\n}\n```\n\n```js\n// example: products ONLY\n{\n  name: 'productHandle',\n  title: 'Product',\n  type: 'nacelleData',\n  options: {\n    dataType: ['products']\n  }\n}\n```\n\n### Using This Data in Your Frontend Project\n\nSince this custom input component just stores the `handle` of a particular product or collection, you'll use the [Nacelle Client JS SDK](https://docs.getnacelle.com/api-reference/client-js-sdk.html) to fetch the associated product or collection object.\n\n#### Product\n\n```js\nconst product = await client.data.product({\n  handle: 'handle-from-my-sanity-entry'\n})\n```\n\n#### Collection\n\n```js\nconst collection = await client.data.collection({\n  handle: 'handle-from-my-sanity-entry'\n})\n\nconst productHandles = collection.productLists[0].handles\n\nconst collectionProducts = await client.data.products({\n  handles: productHandles\n})\n```\n","readmeFilename":"README.md"}