{"_id":"@uniformdev/sanity-plugin-uniform-optimize","_rev":"454-269c16dc7478bac4bd9a1fd0f67a5a43","name":"@uniformdev/sanity-plugin-uniform-optimize","dist-tags":{"canary":"19.58.2-alpha.11","latest":"19.59.0"},"versions":{"6.0.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"6.0.1","license":"Apache-2.0","_id":"@uniformdev/sanity-plugin-uniform-optimize@6.0.1","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"homepage":"https://github.com/uniformdev/optimize-sdk#readme","bugs":{"url":"https://github.com/uniformdev/optimize-sdk/issues"},"dist":{"shasum":"8ac29cc0da9e550ff17c2f223fa8b58cb1b6e4c7","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-6.0.1.tgz","fileCount":111,"integrity":"sha512-JxIcer+NzWLcGUH9hcpp7CsZKDmK7MGXnmv/gb1Tw2I+KBWpRh1mjKbU8UqaNT9qyIyv0yUaUN6TRpcglJZJkA==","signatures":[{"sig":"MEYCIQDxRbGNDq3PHvDOZIMTTOy8YW9HVntwTgasZq/yAoeriAIhALMMvRqzE05Qeru20eq8dtyvusP/OKMesKBrXlabMv4I","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":117655,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWQpaCRA9TVsSAnZWagAA5MsP/1r4yhWmaz48ABvGBvv0\ngUn4iIGqA65lY9AOmzrd9b80T8KsdFQUhwvQ+nKYVXTRzWhr/ZBXGUhrXCMx\nZhy5AnIdCuUSqLAOEyBVD3j8kO8ev2bf81dcHGHWkG0YvbpPdd/JLwJQICsw\nNboCnGjuFRTF3uxhSVcC3gbUu8x8lR69F4ilxq/yZysQhSMYbJUfq05NV5ib\nbV7BDMkmTl9W18YWy8okLiXmxBDiuEnFGY1P13rukJTEiFVnf8rN5tX7qTIK\nxrs/Tu0sG4CgvZczCYPXshU+8QvZA3A3R/j+xAurT1sNgSY6wamvSt4+plS2\nI4rZf9swtJVBd6PmbEbTSfUrBQn/zdfi0HtBHqpHaH4a1Yxikrv/kEp8v8Sc\nfyAPEF/IxyUksNzMHdNgwfKUA7TrS0adltJGDvFxphUjwLIBLQ3NhXaXzjfS\n0KbyH2+On/BXz+b1C5PG/OPTHPAGFJmomR7eSpiuY9UXL/msuQGsW+szPRFs\nz0v5JFyS4ZI9/hdcoCtOf8dfC5p4vlXarsweQwRjHhbwzi7CnmUBSisoIdeg\nobirmSFOUeqixnma/5DPvVgE2zjry9Kg1OX1YZFKmhF+6bngu38QjACk0pVE\nRxGGM0zv4dAKek+1KmvxQXN4RenslNI6Az8Gh3HmO9S0R0bSHXvYIsZm3ijr\n7TJc\r\n=2DPn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"yarn build:icons && tsc && yarn build:css\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:css":"postcss src/assets/*.css --base src --dir dist","ci:verify":"run-p lint test","build:icons":"svgr -d ./src/assets ./src/assets --typescript"},"_npmUser":{"name":"aweber1","email":"adamweber01@gmail.com"},"repository":{"url":"git+https://github.com/uniformdev/optimize-sdk.git","type":"git"},"_npmVersion":"6.14.6","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"12.18.3","dependencies":{"swr":"^0.4.2","sanity-secrets":"^0.0.3","@uniformdev/optimize-common":"^6.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","react":"^17.0.1","dotenv":"^8.2.0","eslint":"^7.17.0","rimraf":"^3.0.2","postcss":"^8.2.6","ts-jest":"^26.4.4","@svgr/cli":"^5.5.0","cross-env":"^7.0.3","typescript":"^4.1.3","@types/jest":"^26.0.19","@types/node":"^14.14.20","npm-run-all":"^4.1.5","postcss-cli":"^8.3.1","tailwindcss":"^2.0.3","autoprefixer":"^10.2.4","eslint-plugin-react":"^7.22.0","postcss-prefix-selector":"^1.8.0","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_6.0.1_1616448090033_0.8601988763245121","host":"s3://npm-registry-packages"}},"6.0.1-beta.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"6.0.1-beta.1","license":"Apache-2.0","_id":"@uniformdev/sanity-plugin-uniform-optimize@6.0.1-beta.1","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"homepage":"https://github.com/uniformdev/optimize-sdk#readme","bugs":{"url":"https://github.com/uniformdev/optimize-sdk/issues"},"dist":{"shasum":"a39b6d6d8bcc3c0f2bf53a28799a3495a763101b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-6.0.1-beta.1.tgz","fileCount":112,"integrity":"sha512-5lZjQDB6szqLEcNOOYotk63oJljjvH0GPFx9h7XJ0u8YnXwNvKHZgZ4iZKXPdXFtXox/iusnypVMXt4ncN/voQ==","signatures":[{"sig":"MEYCIQDQ4yL4w1C3XEEa8HLZzlNv1J9XUUXh3Xd92FqPiKgQUQIhALLTDL+D2eJM1rwdM+K7+bQkivzdw/BwhfPfuPD575iM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":117870,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWR5ECRA9TVsSAnZWagAAo04P/1xjaWjQZ14GpaVdUufr\nkqCHGkfoghzw3iCeztwxorkyJp29CBvgR+JXckjjl5lsb0FiSjKhlFtm3WRG\nliAQoClUItgV6KhZ1Tr7oyZblXtsSxYdMJaHwWg4W5IrtfkExXQPFYMSsgC3\nidb4pfZCiSOHA8iOSY2gxYJl6lQrmSXHd6n0deiDGLop53/NTV3dKYgMhkys\nQP6aIwhKqNYcgdvjBQcbtdP3pijq6dkSkirWPoyIKnMs7X8SdymDFMq/zpZD\npmBvM4Az8WxCsHkrVuwJyDkHWNd/ekOzVne0/+p+FdDEhUbd53oIp/Bsdiy/\nJVUfcV5uKOYaUmE+HfMxUtFOhp+/ZpPhfWS8UM8wYBu1M5m6lQ7zGy2Q4H3c\nGyBw+/dB53XWLFR4vuNN5fwsyWEfWro4eWpVjkXth2cPHAJ8vEclbVJYNhb6\nZM8WN868H9Krwfw+0HCEjybTjQwg/eY4s8slwJ88/9DXw1cIlUsQHpF+AyWI\nvNi/yi9BLrj4LMF779555O7LtLIIf/+9c/gakTz4xGFzRb9eQQ9DbY4W1P92\nkCtAqGaSr/pAcqMf85zY7c3dV1HLbYa+GuREPuiOUjAYA19vScrNga9TSb0m\nykP8aSEs44pTcXCkTj/rzCnxbjz+6MRiyT23MlYNHmXWpCuXIfMr6YENCZ8N\nUx/6\r\n=B53f\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"yarn build:icons && tsc && yarn build:css\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:css":"postcss src/assets/*.css --base src --dir dist","ci:verify":"run-p lint test","build:icons":"svgr -d ./src/assets ./src/assets --typescript"},"_npmUser":{"name":"aweber1","email":"adamweber01@gmail.com"},"repository":{"url":"git+https://github.com/uniformdev/optimize-sdk.git","type":"git"},"_npmVersion":"6.14.6","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"12.18.3","dependencies":{"swr":"^0.4.2","sanity-secrets":"^0.0.3","@uniformdev/optimize-common":"^6.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","react":"^17.0.1","dotenv":"^8.2.0","eslint":"^7.17.0","rimraf":"^3.0.2","postcss":"^8.2.6","ts-jest":"^26.4.4","@svgr/cli":"^5.5.0","cross-env":"^7.0.3","typescript":"^4.1.3","@types/jest":"^26.0.19","@types/node":"^14.14.20","npm-run-all":"^4.1.5","postcss-cli":"^8.3.1","tailwindcss":"^2.0.3","autoprefixer":"^10.2.4","eslint-plugin-react":"^7.22.0","postcss-prefix-selector":"^1.8.0","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_6.0.1-beta.1_1616453187550_0.26940323368471675","host":"s3://npm-registry-packages"}},"6.0.1-alpha.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"6.0.1-alpha.1","license":"Apache-2.0","_id":"@uniformdev/sanity-plugin-uniform-optimize@6.0.1-alpha.1","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"homepage":"https://github.com/uniformdev/optimize-sdk#readme","bugs":{"url":"https://github.com/uniformdev/optimize-sdk/issues"},"dist":{"shasum":"5102aaa1b9dbada0d0d4c6a906fc26dfbd1c02e0","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-6.0.1-alpha.1.tgz","fileCount":112,"integrity":"sha512-z8tccT5eoDexu0rnQQzQApsZ/Gq4TmzZ1AXAI9Y5lMT106S7B46GMR5xvcmEa+Aw274Kh33kEvnT0z2iE5IYqg==","signatures":[{"sig":"MEQCIFlguFUMtVcmkJwJaCnbv0lINaKujBtxzg+7UzhkIMmOAiBXfn9tyBD0kVFLVgwMywOeakdl9jJ9foHQLUiR95vnMQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":117871,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWR7JCRA9TVsSAnZWagAAr8gP/jXRNsB1yEZNI7LFpWML\nnpHTfDzLAfzXJCQXBkmX3P5LDuwebLEpzklBK/MV/Z1cPU3dt4U4V9zBynvL\nLIqmeneQGIBKlogxTLmN+K6VbLfAE1ZpcW2O+m8gretb/P/Nt3Rhf+qatocq\ncoDpIMtnDu0hGntRNye3RiyBRafUWYQ8qPMkiEWUClcuw7I1qASRlEtQHNYb\nZyUwEY2GnU7fC0PwBDqeHM359dq6sbHBs0J5/cazhhZiJ0n9aMo/OQ6ZGp6T\nKdEVlSuDV/1Fv35/d3zqwZGdiMZjhPzTx5ndhuxZoAjmVAIVOeqNDXKbf8MM\nIpP83UjojnHFLA3LgGyYPmA6qe6UgRbuPXkgdr5pf81vrkkNsB3KG2I1TEsq\nvxmJ5spHPNfA/cSkzRCDxI7Pkp5aOI2BPQJrcsh4DYcNW/ByT9ALFsQ3KWMY\ne6dB8paaj7G9+QEV/FDoUHCSMFfN/XaGDvU8jkSQhDC8/EChJ8KmI/LM5uiV\nFHwAHOPnSfyPFJnYA8f0s0ApBes0AhG2LMM/DX0Zxr4/FsN6OypgrUdy7JNg\nmONuCCl3vvB3z92911iGQihCR1X6zgW2vbYxy8Yp9J8Z7V6RHJ3WhqC8mF+6\ncG949ex5dIzjuevYKZSX3Vc98062W8w0XS6FGICK0mp9/Dj942s6grRHXbqu\nC6zT\r\n=tg2m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"yarn build:icons && tsc && yarn build:css\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:css":"postcss src/assets/*.css --base src --dir dist","ci:verify":"run-p lint test","build:icons":"svgr -d ./src/assets ./src/assets --typescript"},"_npmUser":{"name":"aweber1","email":"adamweber01@gmail.com"},"repository":{"url":"git+https://github.com/uniformdev/optimize-sdk.git","type":"git"},"_npmVersion":"6.14.6","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"12.18.3","dependencies":{"swr":"^0.4.2","sanity-secrets":"^0.0.3","@uniformdev/optimize-common":"^6.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","react":"^17.0.1","dotenv":"^8.2.0","eslint":"^7.17.0","rimraf":"^3.0.2","postcss":"^8.2.6","ts-jest":"^26.4.4","@svgr/cli":"^5.5.0","cross-env":"^7.0.3","typescript":"^4.1.3","@types/jest":"^26.0.19","@types/node":"^14.14.20","npm-run-all":"^4.1.5","postcss-cli":"^8.3.1","tailwindcss":"^2.0.3","autoprefixer":"^10.2.4","eslint-plugin-react":"^7.22.0","postcss-prefix-selector":"^1.8.0","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_6.0.1-alpha.1_1616453320525_0.08568636138229446","host":"s3://npm-registry-packages"}},"6.0.2-alpha.2":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"6.0.2-alpha.2","license":"Apache-2.0","_id":"@uniformdev/sanity-plugin-uniform-optimize@6.0.2-alpha.2","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"homepage":"https://github.com/uniformdev/optimize-sdk#readme","bugs":{"url":"https://github.com/uniformdev/optimize-sdk/issues"},"dist":{"shasum":"23b76a149998a3f6ff967c81c3007f5a7b309bfe","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-6.0.2-alpha.2.tgz","fileCount":103,"integrity":"sha512-b8YHBJywSgASLjsx7qgK6FrhL2wx/t3Lreh+rMCjG+z/havam2em3rwZPaCc3oxeILwRvOrBMm0HAcDqSfFcaA==","signatures":[{"sig":"MEUCIQCQeWeQbdBc8AQXp6xc8ivO95JT+/C9pH0ze/bQviuaewIgRCgXV5m7CrCe4elCrIV8bumM7kxtn/Jb4FhVQ7FVo5U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgW1ezCRA9TVsSAnZWagAAMIgQAIXHHyMchhuysBM1rsgp\nU2X+la+E8okht6d0IZ9KG+Y5RraApo8hxJ3VJj+P+vvNB3rrKkuWWYfj5N5K\n3KkbJbM5R+O6/OpHov6qR4Cc4Teq7hQYA18GcCTnbvAP9ZYmx3IHu6nb9jsd\ndQj+9wb8LslUfcDkUc53RMIuLULDkFAd3o3lD4a5PgTBzCZAFsmQtbkiEd25\nJaDBpq3SbzMjEHmJBP8Sq2D/Lzf6rKAjSVCRcspD3scWVdKOXczuYU4MNlqb\nrGva+ShALuKgkydTO7D6xfnjneKg+yUMX46TTCIsf0K0U2n5nxt+VHYCwOrn\nlIdWT10haavHemlcHgKomKXhHnvgGT4mfEpncIONvnnF06VTmax4PzrelE2c\nP5BUO5RhfxecC0NTo8ri5Ep3A5grjswrJcHThm8/FoyAsUrohKENqAqZMvwT\nNrK0g1SHSj+EZSyuHanjwWPvLvbfIwZBfKLvMJjs/Op74fsH8suJjzHTZYAc\n07XIu1DUR76PRJG54MFyuemAk+tXRdiWeKUqDZUnlgcnTyTv8/WZXinzmWj2\n0Spkw3l5qE/m/HFlNpzAEYIz5f5PYMolMC/zfaz83ZfTFdA6zHi0A9CYmFbO\nYRh4TP6nccy/BfbQ91URLQjOUyvmICeSJHXJyG2Tt8rhWLPEH3Qat1jAvMWQ\nYoUj\r\n=87lV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"d99d50767209a494d1bc9659a0c1a74708b7da4c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"yarn build:icons && tsc && yarn build:css\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:css":"postcss src/assets/*.css --base src --dir dist","ci:verify":"run-p lint test","build:icons":"svgr -d ./src/assets ./src/assets --typescript"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"repository":{"url":"git+https://github.com/uniformdev/optimize-sdk.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"swr":"^0.5.4","sanity-secrets":"^0.0.3","@uniformdev/optimize-common":"^6.0.2-alpha.2+d99d507"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"^17.0.1","dotenv":"^8.2.0","eslint":"^7.17.0","rimraf":"^3.0.2","postcss":"^8.2.6","ts-jest":"^26.4.4","@svgr/cli":"^5.5.0","cross-env":"^7.0.3","typescript":"^4.1.3","@types/jest":"^26.0.19","@types/node":"^14.14.20","npm-run-all":"^4.1.5","postcss-cli":"^8.3.1","tailwindcss":"^2.0.3","autoprefixer":"^10.2.4","eslint-plugin-react":"^7.22.0","@sanity/form-builder":"^2.6.4","postcss-prefix-selector":"^1.8.0","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_6.0.2-alpha.2_1616598963325_0.3462122465014126","host":"s3://npm-registry-packages"}},"6.0.2-alpha.8":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"6.0.2-alpha.8","license":"Apache-2.0","_id":"@uniformdev/sanity-plugin-uniform-optimize@6.0.2-alpha.8","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"homepage":"https://github.com/uniformdev/optimize-sdk#readme","bugs":{"url":"https://github.com/uniformdev/optimize-sdk/issues"},"dist":{"shasum":"9ad08ede15d2c60ffe1aa765ff1abc00d852cffd","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-6.0.2-alpha.8.tgz","fileCount":103,"integrity":"sha512-ANRfD9GDX1s1Ij4XK7lhnNqi8+f8i7yKqxcWIcNgrGDVNculLCfaZQq3e8/0kTLz4Mgnsk87j83Om8XmaZRSjQ==","signatures":[{"sig":"MEUCIQCv2jfnFOJx2qKxZaqHKoW48IldUvbx9+atT/CF2ESJJQIgCo0xi67cvLX3Q3+TTU9P3C4goYtI+A+5pKl+bCAA9pw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgW4knCRA9TVsSAnZWagAAazQP+gOAUj8syl+EmmCYPDIX\nxdts6NAL5Did/XOnSwFPckZwo885OWWpaJYZdtaNnhrzPULGLShQWERqFWsP\nHQSvwS0C3bffnUk+XYuEAeAD4C0ncu3lVSxKndcQT9h+TYSQegBZOTbtIKg5\nCm3E4Zsbevn/Yiu4fO1pr+3tOpmEPCnLIZTI9B+xS1+91yHlak6FVVBqF0HX\nxa1y1lyqkDgBa0rDiWD9Aox3y6J2hRxT3/cU6EsYOi5v+RkZ0HEbj/0lndhJ\nekZTDRvYslEwS/yCU7eGMs7b82vpaFbsBxwc8ykker9Dq+mtt0hn+AV1HJxQ\n92pGJ1AWdAEQK0NFkSYAMta7hqu+M5evvqIovPcSDB9VUIOpH5NOd8Wp0EaU\nwHFNUwXv4GSCkRxfMb1S6Ru35VUZuCvNa40f1sJiddqzII+l9uA0+ugzZ7wN\nkNGLRqIo+5ZUo1/ivAXcodFO798YbcpSNyevSc83YeZMDmQ/iQOy6+/tWNgn\nrGtovQ3ycn3qL/kbGBP4nIwBOJ64p0EcRDyjKNrfPpiD7LCjLKSW47blyzbZ\n/49oJXaXS/cJCI7G0MfjuPStETH+fIxNfGoePj5FavwHpwR+Za7dJ8zuK57P\nEeDIr4KdczbeNzHYXqoFp82wOzwUBLaH0jidyEBhFRf0GXHk0c3XigK3OqtO\nw0nj\r\n=uuyl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"d29a9ed8038bad43f1e8e152439705514adbb014","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"yarn build:icons && tsc && yarn build:css\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:css":"postcss src/assets/*.css --base src --dir dist","ci:verify":"run-p lint test","build:icons":"svgr -d ./src/assets ./src/assets --typescript"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"repository":{"url":"git+https://github.com/uniformdev/optimize-sdk.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"swr":"^0.5.4","sanity-secrets":"^0.0.3","@uniformdev/optimize-common":"^6.0.2-alpha.8+d29a9ed"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"^17.0.1","dotenv":"^8.2.0","eslint":"^7.17.0","rimraf":"^3.0.2","postcss":"^8.2.6","ts-jest":"^26.4.4","@svgr/cli":"^5.5.0","cross-env":"^7.0.3","typescript":"^4.1.3","@types/jest":"^26.0.19","@types/node":"^14.14.20","npm-run-all":"^4.1.5","postcss-cli":"^8.3.1","tailwindcss":"^2.0.3","autoprefixer":"^10.2.4","eslint-plugin-react":"^7.22.0","@sanity/form-builder":"^2.6.4","postcss-prefix-selector":"^1.8.0","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_6.0.2-alpha.8_1616611622855_0.5621642700943923","host":"s3://npm-registry-packages"}},"6.1.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"6.1.0","license":"Apache-2.0","_id":"@uniformdev/sanity-plugin-uniform-optimize@6.1.0","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"homepage":"https://github.com/uniformdev/optimize-sdk#readme","bugs":{"url":"https://github.com/uniformdev/optimize-sdk/issues"},"dist":{"shasum":"30957e69a9a743a516ff18c182d0a1316b36bc4b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-6.1.0.tgz","fileCount":104,"integrity":"sha512-Z++kqHYkXvGUlDOgaOwLjNFU/Jgjb4PLy53233/jiABo+TPKDwwDN04vcWvESx6bS/zBKxKy63D2laPG17PxiQ==","signatures":[{"sig":"MEUCICChR1fCnAUWL2wCq3Va5PIwuBjFPfFXKMNzgBqMbHayAiEA+ZRFOg1JyU85BOBgVp+yhU+BVP7I0F1wHTEi98CRI1g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112469,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgW461CRA9TVsSAnZWagAA7gIP/j+8xoNi7KJCU/D5zVg6\nZ5/JIVqUONVe0VCpgTAYlDb99UuxV7ykrkepYYlNoPfV/bQkEEoC2dlCwXEz\nLRhPylah5j4T1Ja2AX4xyaSA0kLpoX8d93Saa2y8Bq/gt224eqWhhccW23w3\np8YAuvcU65K8MoqUYkKOK/8JI0eyLkMLlH23ofFOw7XLWkK9tiwCV6zU/qOe\n+ZOUPQehueKWZSg7l5IHLDXAdGFC4DizEBIO0HYbTLuSzLGeJvxEwb/WXId9\n4X5ifNOr0Al0YY6mjTTxqKAaaPjrrTz8T492jSAB0wOmSf/Bypuv2oz3LiTn\nDdqe68xc185XFq4lenL0BOKaz2LqVCfEassZO14bsX/qs4qQwyGygF0OrnMW\n/vuLDl+QLF7JNXlj/T5NT+oORodNU/tUZO+WWjnmX6qHHtXOZUgSSRieGOZ+\nvXEYZ0dYosmmITurTK3xtEvoo+uwKRu+vVoyRFjNHN5wVd8cxy3hR0le9jVl\nYZnalwZhWoTGL9mAs1j5b79lh+6dnGtuS5Bg30lOv82/EmgwKVeU9emuG98Z\npPF3YOOFiUNPL8NkdAALtnfF6g+KLzwfeyaauTyJxH1IywmvC03lySqa3sXc\no8ZFOJ/1MP53l0n2lpmQgpczf6ul4RAJZEOxI69SYf/1FTQ9zljRfF4+QDxe\nweQD\r\n=s84u\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"663fa3dc40f6bd389e4c14c594ae46cd79d0d588","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"yarn build:icons && tsc && yarn build:css\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:css":"postcss src/assets/*.css --base src --dir dist","ci:verify":"run-p lint test","build:icons":"svgr -d ./src/assets ./src/assets --typescript"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"repository":{"url":"git+https://github.com/uniformdev/optimize-sdk.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"swr":"^0.5.4","sanity-secrets":"^0.0.3","@uniformdev/optimize-common":"^6.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","react":"^17.0.1","dotenv":"^8.2.0","eslint":"^7.17.0","rimraf":"^3.0.2","postcss":"^8.2.6","ts-jest":"^26.4.4","@svgr/cli":"^5.5.0","cross-env":"^7.0.3","typescript":"^4.1.3","@types/jest":"^26.0.19","@types/node":"^14.14.20","npm-run-all":"^4.1.5","postcss-cli":"^8.3.1","tailwindcss":"^2.0.3","autoprefixer":"^10.2.4","eslint-plugin-react":"^7.22.0","@sanity/form-builder":"^2.6.4","postcss-prefix-selector":"^1.8.0","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_6.1.0_1616613045021_0.16776367948028836","host":"s3://npm-registry-packages"}},"6.1.1-alpha.18":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"6.1.1-alpha.18","license":"Apache-2.0","_id":"@uniformdev/sanity-plugin-uniform-optimize@6.1.1-alpha.18","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"homepage":"https://github.com/uniformdev/optimize-sdk#readme","bugs":{"url":"https://github.com/uniformdev/optimize-sdk/issues"},"dist":{"shasum":"cd9af32fc149eebfb61636a0cafd912c23b41b8e","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-6.1.1-alpha.18.tgz","fileCount":104,"integrity":"sha512-s7Znvc8B7nJpR9o3zWAAJKHy/5kSl2oNDCR5s43JsP5LyQ0R0rdHQcJOm+Xoovr+GjWAxGS+S9DDvRQAefFmiw==","signatures":[{"sig":"MEYCIQCBnPjCDg387qiOKYwhL/RAM3WxlVNtMOYgbsfAsE0gngIhAIZuiwMbG+ZlFGCpdXp5lYKciP9A8EXID1SiIxnlADC5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZ4xaCRA9TVsSAnZWagAA0RkP/RoIbAZ31EoTqjaqzvag\n8wPfYYgkYzUaf75COGrtgVPv69kCp4991ChCMIttqspxrCqzI4oWz6A769++\n8w9c0irK2pldxChNNcVs2ddNUfyD5ayNaBzrHsLW6aKHfCvGy4eKJlUxYH4+\nlGVHEE3yFXxp50sJrZYoAsNBn9jvWAppILm2CpBUVsf08x8Esvu7pmquz3Zp\nbCVSBzDP/tiiGEMJnY7QZffUrVbIFaxd3W6ZgjDG7pC/uhTST+DpbR7+a1ov\n10Lt/Yffli9J9M1JP7XGTC1Q3MNJF5U5EodOYt6cJE7dH5mx90QM2kVkdiIY\nPKd6oYaADobCSH85TUfOcjV7nrWadYetOWywsZACCbGs6x549yZDrvR3acN5\nRA7/slzDxZ4F2tZSpFc1ZUG2SO4Xl6plCXOC6aialkyBCanuGy4VP8KaFDy3\nEnTuXoIzVKASEPZvWQBp3fcMIWSnUKqN70d811mSHeVmjBXNsR0lOXVw2N0B\nbPP+BxnIKzdSM49bSn8lSHjEDWI2THC31YRhrYvmQnSKWim4lLS9ebeAWTjZ\n1MhwxoH4sGa4nWOteI97iX14BLCpeDL+X326Wt4CmB3hZMx2KH5/I1ldxf+I\nS9dSEJMm4ZlBY540EFuqOsemD6VIJMp4ONyXqLLM4VA7RoJzPa4qZoVZwVkL\nPMXO\r\n=VxVc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"02538dde63e903e61861bb2e519934e770ea67ed","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"yarn build:icons && tsc && yarn build:css\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:css":"postcss src/assets/*.css --base src --dir dist","ci:verify":"run-p lint test","build:icons":"svgr -d ./src/assets ./src/assets --typescript"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"repository":{"url":"git+https://github.com/uniformdev/optimize-sdk.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"swr":"^0.5.4","sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^6.1.1-alpha.18+02538dd"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.23.0","rimraf":"^3.0.2","postcss":"^8.2.8","ts-jest":"^26.5.4","@svgr/cli":"^5.5.0","cross-env":"^7.0.3","typescript":"^4.2.3","@types/jest":"^26.0.22","@types/node":"^14.14.37","npm-run-all":"^4.1.5","postcss-cli":"^8.3.1","tailwindcss":"^2.0.4","autoprefixer":"^10.2.5","eslint-plugin-react":"^7.23.1","@sanity/form-builder":"^2.7.1","postcss-prefix-selector":"^1.9.0","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_6.1.1-alpha.18_1617398873364_0.6665240398141341","host":"s3://npm-registry-packages"}},"6.1.1-alpha.30":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"6.1.1-alpha.30","license":"Apache-2.0","_id":"@uniformdev/sanity-plugin-uniform-optimize@6.1.1-alpha.30","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"homepage":"https://github.com/uniformdev/optimize-sdk#readme","bugs":{"url":"https://github.com/uniformdev/optimize-sdk/issues"},"dist":{"shasum":"e3818ab9e23cc42ae72c3d446ff0097ca95c6043","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-6.1.1-alpha.30.tgz","fileCount":104,"integrity":"sha512-g4Wb78x8F4m+WUJA+Nb03b/DmwNrm0Q6Y6jcb9L/j6FNYqrAMBOqsNf7jYx/QrrpHw4/nA/VbzWmFsIaQWXbvA==","signatures":[{"sig":"MEYCIQCDk4SknwbsGDsBQDNvsC5pTeiIjgGw+c+2CEzXt/QB9gIhALOooR4WRH1+GyWPvQAD3/LRghjHxwwtYmfaMv/AQlXY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZ48/CRA9TVsSAnZWagAAtUIP/1t9pTG4bNzqK/83ZWlY\nlms6DRGYL7Y4KOBABUSlo2Is676b9uU9Ks1RFo7Lz0rK48SaUhFZqB+qWSwu\nLVBehs92dHf7k+IJ5Ir/IXq26o1HW7OlZFhm5JG+0S1cCr0ecNek8mug6nEK\n5JmKOpGZQNz+6CHJPFKLOL8v0Mddkr0UHw5Y/mRdJcyLO0r58nH0HqY5JLEh\nMJW2QFqSfcOUVW4YdpqC2RAebFJlDuIc0BRSt0eQbT4COaNWsFleIpnzRUt1\ni1aW2ApeZMqcNEMJ1n0xcGBCqb71av7mJECFf2AIprJuBBux3rmOJx0teavt\nFHrUYKm3dGcGeic8uFllxsB5hU3r071/29Mqzpr2cFMcjmkp/+PJQ5++J0zH\nZzA8EnKQkIS3DsofFjBP/6ytPHnGu1UF+8jCm2rlRVSTAioQbYA8EpfXZ3yD\nkKgq8x7XYGfd/U5qZpBF/DocDWPet1/zmH2eNKDqlIcMuFD41g9k9YmLu+eo\n5Y6O/TqRuD/jsMNhVBjoH2V6g9L4oeesBtsjxmdh0xuGDAP1ycT/dksyVANN\nsdch8aoxJwqY0CBlspS5JXxfyLndnKP1wXKW8xZxcoiMTuVeO+eAZZfJDACQ\nlM+edHkb3Z3k0Vgxq1AUsmqTUHONQfHjGAP/sgabpaLa+XN+q3/+Qp/ZcVya\n9Ncw\r\n=q5xI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"16e20082527bba3cbea6329160bc9361f58d19f0","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"yarn build:icons && tsc && yarn build:css\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:css":"postcss src/assets/*.css --base src --dir dist","ci:verify":"run-p lint test","build:icons":"svgr -d ./src/assets ./src/assets --typescript"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"repository":{"url":"git+https://github.com/uniformdev/optimize-sdk.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"swr":"^0.5.4","sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^6.1.1-alpha.30+16e2008"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.23.0","rimraf":"^3.0.2","postcss":"^8.2.8","ts-jest":"^26.5.4","@svgr/cli":"^5.5.0","cross-env":"^7.0.3","typescript":"^4.2.3","@types/jest":"^26.0.22","@types/node":"^14.14.37","npm-run-all":"^4.1.5","postcss-cli":"^8.3.1","tailwindcss":"^2.0.4","autoprefixer":"^10.2.5","eslint-plugin-react":"^7.23.1","@sanity/form-builder":"^2.7.1","postcss-prefix-selector":"^1.9.0","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_6.1.1-alpha.30_1617399615126_0.9118643096306991","host":"s3://npm-registry-packages"}},"6.1.1-alpha.36":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"6.1.1-alpha.36","license":"Apache-2.0","_id":"@uniformdev/sanity-plugin-uniform-optimize@6.1.1-alpha.36","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"homepage":"https://github.com/uniformdev/optimize-sdk#readme","bugs":{"url":"https://github.com/uniformdev/optimize-sdk/issues"},"dist":{"shasum":"eba4270965a1738087321dc931e54116842f12be","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-6.1.1-alpha.36.tgz","fileCount":104,"integrity":"sha512-qj8xRGbyMiJnge2W6s5HbwthUkx2cGwkfFzpDeuTaSiC5V3vzS+RG1/bE7t9Zk9YIaTFu+M2FwpizkfvOQCvqw==","signatures":[{"sig":"MEUCIHfvapxRXMYg9wVgEPjJi41Ecg2USyZp8RH/SRFO65UaAiEA8kSPpismgZWrQHfFx/Pgk4uMNt0/Z0HJkryIfmVF+U0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJga04vCRA9TVsSAnZWagAAASQP/1KTCPOtmYJVMraM/QhM\nF+8xGgZ6x/8LqBXdRhfvq/T8HwBW0yH+ZXy4ZbnN3vP0lfRh/pwaTOlejOuX\no7l+o8+/f4vytjaLLPAGesPz6ksT3oPUFoilv8UzThmeeiQqeRWUxFJruNYy\nUqdzKxaQoMN90iUCpB7kgdV/6ErQOuFGfm+qm7T0y4GVDV19ZyAh9u+PIUVP\njHzq+dQnpru4JHMVB7+u5DX3mzurc5uOcWlOv6OWSsBCAkuRZ5vE0YMAiZnQ\nN5s+BaLXORtPjo9qmMMSh7iBirlX8NX/y5SocsiWwVSncNSS1voT7ugFUB9J\nJZEI9d7rQIYTzxaM/moCNuX0QabF+kBjPiArQkV89et7KZBqLHBJ5vZ2sdyJ\nv5lvqsx70p1BCwLvqr7fSalQ90ArHX43Pi1TsFaLhWuh/vVbU4g8XiOxM8EJ\nSK+2AtveVTTb1PMXFlp8CSvIoDo7DJe8whAbaJJyfhJ9pBUjWM4n7qDvHzyU\nfIwZOab4u4XBrHnTcSK3ox0i526yTaZjUIEdDXengNSwVcANmsxzCF1wXMGO\nN75WXV305uK7N1Jw1lmnZZlQ0RxoB2d8aqQO2Pii0q8JAHG7F39Y5bjZjDr9\n/hvKxU8TGXmQfyyUvLcbAN7Yu3uaY9hYZ1+Olpt6ilI6NvVRM9UiruxWUtWH\nMOyt\r\n=sA0L\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"fb3d527fc14737545f9d2a7cef90009052535f17","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"yarn build:icons && tsc && yarn build:css\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:css":"postcss src/assets/*.css --base src --dir dist","ci:verify":"run-p lint test","build:icons":"svgr -d ./src/assets ./src/assets --typescript"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"repository":{"url":"git+https://github.com/uniformdev/optimize-sdk.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"swr":"^0.5.4","sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^6.1.1-alpha.36+fb3d527"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.23.0","rimraf":"^3.0.2","postcss":"^8.2.8","ts-jest":"^26.5.4","@svgr/cli":"^5.5.0","cross-env":"^7.0.3","typescript":"^4.2.3","@types/jest":"^26.0.22","@types/node":"^14.14.37","npm-run-all":"^4.1.5","postcss-cli":"^8.3.1","tailwindcss":"^2.0.4","autoprefixer":"^10.2.5","eslint-plugin-react":"^7.23.1","@sanity/form-builder":"^2.7.1","postcss-prefix-selector":"^1.9.0","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_6.1.1-alpha.36_1617645102833_0.23973035913568275","host":"s3://npm-registry-packages"}},"7.0.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"7.0.0","license":"Apache-2.0","_id":"@uniformdev/sanity-plugin-uniform-optimize@7.0.0","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"homepage":"https://github.com/uniformdev/optimize-sdk#readme","bugs":{"url":"https://github.com/uniformdev/optimize-sdk/issues"},"dist":{"shasum":"78f9aad400d551f9ea61ebe008e01e8faed3c566","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-7.0.0.tgz","fileCount":104,"integrity":"sha512-9P5x/c4hrJsUaH7d1WVpvZfb9FSI39nQHdq7brYLNGI/aNiXE+88UJn/oU3iiKaOaDtzEweeoNn8RhpiUAHP9g==","signatures":[{"sig":"MEUCICj0pHNehvIOTdEauLV/fYW1nK5htw8J527L7/khNflkAiEAwiWvPYcnMSudxULP05gur8pgoxvfSF/t1WeOCETS1KU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112637,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJga14rCRA9TVsSAnZWagAAvR8P/2CiRrpo3fXvIU8bcL0+\n6CF0tIyVXB2pMXse0KluQPTr6l/i/OUzkxrOSUgcMv0nDW38twhfRdtDxG9D\ndHCt6oDoTNSQ42BVem4KKXl7cffe7LqFJmT+yMNWGLMRThvV3WLg0sIStMN3\nPWUTQNbcgn+h4DdodcJMNcbOpPCNdVaJ2d3qNqdlwjK69s2+D8oK+WkYRxqi\nj6RSCrpEqvYCMoxsmn0Hxk+Kz4T8lKObvSOcKGIBn5v5qIFo9g4g8Ck8RzM9\nbIYgwfbvTe1RLfCgly9NOMgPPZvp41I0VIPwBTOzwESzKPAB7YucHvKkazbW\nec75QFzqt3uBmsuN2o67lrO42oQHhW2NNVIaBOa1Ai8jCXtp1+Vz0aGSx8OY\nhNyoLsRj/T5qjmZdWHDAdES0oldhAAh6/dF825kqAAovVX3hdnRFIGI4yxpF\ncodUIkJhlaPDjmQVGAf32SZVEx/ROVsguz2Adokuve8ya/wJnqNKda1U4E/8\nWfc9lgL45xA7BPprVvY4umbve5ni0Z0dX1LEd69Kf0bN/Xt8pQ9MDHLyyHUE\np88ck4sTIzyLhlSnsAr6A2flTs03iUEwBUza3iOOb8TQKq8HRY1nY5ZktWOI\n+DQ/Sf/TFOkQoCEd+uz08tSk5t9pDmknp0hVKoBlAbDdauSZ4HCnjQMJ+s6z\nJDvM\r\n=H2dK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"81c7c1b0a655c9c2d729c525800ef7f8194374f4","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"yarn build:icons && tsc && yarn build:css\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:css":"postcss src/assets/*.css --base src --dir dist","ci:verify":"run-p lint test","build:icons":"svgr -d ./src/assets ./src/assets --typescript"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"repository":{"url":"git+https://github.com/uniformdev/optimize-sdk.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"swr":"^0.5.4","sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^7.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.23.0","rimraf":"^3.0.2","postcss":"^8.2.8","ts-jest":"^26.5.4","@svgr/cli":"^5.5.0","cross-env":"^7.0.3","typescript":"^4.2.3","@types/jest":"^26.0.22","@types/node":"^14.14.37","npm-run-all":"^4.1.5","postcss-cli":"^8.3.1","tailwindcss":"^2.0.4","autoprefixer":"^10.2.5","eslint-plugin-react":"^7.23.1","@sanity/form-builder":"^2.7.1","postcss-prefix-selector":"^1.9.0","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_7.0.0_1617649194795_0.9882094433249602","host":"s3://npm-registry-packages"}},"7.0.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"7.0.1","license":"Apache-2.0","_id":"@uniformdev/sanity-plugin-uniform-optimize@7.0.1","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"homepage":"https://github.com/uniformdev/optimize-sdk#readme","bugs":{"url":"https://github.com/uniformdev/optimize-sdk/issues"},"dist":{"shasum":"fb50ad118c00553543d08084826dada08d8c2596","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-7.0.1.tgz","fileCount":104,"integrity":"sha512-IT40bVr5tQSLyM76yijuHmh9sQ9s2mkQzPnQjejxOGkI7HZ7L6cEmiejdS5jH3Us3DZXD9QkqtXypTwKe+X0Xg==","signatures":[{"sig":"MEUCIQDEw1vuEVnH/aiHwIFm9zggClRbaJ4TjEAhsargGyyp7gIgA7X65Fr4tkZ15vg8qEg74qQ8xXlEmwz7gHxeUnbaG+E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112815,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdGxLCRA9TVsSAnZWagAAsXAP/RSlTS+fRD4YHuPsvbvZ\nQ2tcZfN4vZbuYIo17bKSQIGn8dJwjmAvHL2hxlhIpT3XBQxyTPJ77gchpfxe\nC8dA+SC+g6+zh2b/dmeXVl/b3/X4jdxf0kXoav6U8tAiJrDKOj52sR4bLmZU\n7mazr2+aJSHLX2T64TSNV3IDETV/etAKrfqM5mrIwYJEjRl/hmOLUFKbAs7X\nygTIVBF5IghIA76Hym/fyCtOKIQagF8b9FEcP/8gMwDO+UCyE1UuHdZdoQSA\nnrHaiFdsMDwT+1B/0qQoOpeBDBHnLi2e2LFoB+5ZwavHLAplW+jNwNfTPALf\nl6icOGBJyp2ywxGKQuy06pVfkKcVgAR6WHJ+dzTNIXeRlyo6mkpfPV8de6/F\ncuOGy0bGBCndGZV9HE3Sup17gfJYGeCHYaizRpZH8oh4utJt0hAsi9LqcP4M\nGnncMQOmtFob0oT9ejdzOAzwVnrmrG40QK3lvOBGywXIta5hi3JnWSO4RQId\nDGF4HZ+faylqLEHJOgKMnuPistV21n4IgsBIiIQZdp51QClurh95NxOqSDFc\nHf3FvZK7lYYKEvUmWPlMlydV0RIcTWcjtdrneSJ4ZQSROY9ZgmC/Ae1DWHlF\naT8piBP8CZiScVsWb7RznTIXum/9FAZGt1nORGpa5JdXUs3LNavGiSbYXH0p\nCrYL\r\n=92CN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"6d76e6b7ddf8502fea43d2b33a731ed5cdbfbc9b","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"yarn build:icons && tsc && yarn build:css\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:css":"postcss src/assets/*.css --base src --dir dist","ci:verify":"run-p lint test","build:icons":"svgr -d ./src/assets ./src/assets --typescript"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"repository":{"url":"git+https://github.com/uniformdev/optimize-sdk.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"swr":"^0.5.4","sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^7.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.23.0","rimraf":"^3.0.2","postcss":"^8.2.8","ts-jest":"^26.5.4","@svgr/cli":"^5.5.0","cross-env":"^7.0.3","typescript":"^4.2.3","@types/jest":"^26.0.22","@types/node":"^14.14.37","npm-run-all":"^4.1.5","postcss-cli":"^8.3.1","tailwindcss":"^2.0.4","autoprefixer":"^10.2.5","eslint-plugin-react":"^7.23.1","@sanity/form-builder":"^2.7.1","postcss-prefix-selector":"^1.9.0","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_7.0.1_1618242635327_0.495139802699478","host":"s3://npm-registry-packages"}},"7.0.2-alpha.5":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"7.0.2-alpha.5","license":"Apache-2.0","_id":"@uniformdev/sanity-plugin-uniform-optimize@7.0.2-alpha.5","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"homepage":"https://github.com/uniformdev/optimize-sdk#readme","bugs":{"url":"https://github.com/uniformdev/optimize-sdk/issues"},"dist":{"shasum":"b0ca577c43807c8f01e6d4f93e7da9f00f4e8a12","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-7.0.2-alpha.5.tgz","fileCount":5,"integrity":"sha512-kTc3MSJo7UeT0ds0hdFBYoZcBKWfcE26togG5Zl/RvSoJrAqXyij7VsHXIkD2zCC2H9xKRvWV5Xx8IDWUBDlEg==","signatures":[{"sig":"MEQCIB2OzoHrB/jW4AqwAMxCa0T+Ed0/Hp/VFIsRJ1Rc92aSAiAxTf0n7F+eBDL6QDT0D82GF9zM5UR0sjYNKc/jmOthdQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":168761,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggvBdCRA9TVsSAnZWagAAmcIQAJjjGPHk+0e7KAinLn4S\noYyaURTptInOaEWJ6t2mpfAFsfGGZhM8duhKF0D1sod5IjEyU/VvuNcBTU1w\nPFU4cJL3aJsPrE0mekoaPF6llT3gCO92IeUTWa3hinkOY29lNqBtDVhsHD+L\n2HRLab+834iV8SrhdH8RUcn05kewLHc2nDnGUnrf/yAd8NoeMVE3UgX10Wfa\nNeHa/ObM2717FRX5sm02bKHEBAmRZYblm4vle+OOIkd5QpZca489TqlpycIV\nUs+Gf/fAJ1jQt+YIEEdllDppBqb3aNE00MQmns0CNMOxAkr9uAvw8PSm2Xmu\nwD5EJiimGI1NII29SgX1tIxFDAAU1xaDm0SgN/oiVfPcDdwC0gNUduyXmkyp\nkh4mycWOsBms/bv4GWVUQO7MFZhRt3n66T3Kwah/6qP7QLAhrj4adbmbCSZV\nCPib+CFI4yGzgWgeUwsRbE7W3/aM6SfSU+2a9IZFKFs9QNZMb2QGYg55njnB\nqKVu3AnxCIuDrn4fBofFcqcTKttt3or4rBnc+7k8e94TxAreUs+3qmxWmRZM\nh2NdDmgjzYDrFdIv9rSF8P2NpM5eCQCgSjAUPvFSMsrES48BZp61bT4uPYVO\nWoibrRMdEzbd1Gr6jfmwi9qYgZpUfWXoJDdM5RX/dKY7Xzsud96mB8+Qrpll\nS205\r\n=wK2A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"7092bbc23baa766db1722c2a4717bc329447dba2","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"repository":{"url":"git+https://github.com/uniformdev/optimize-sdk.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^7.0.2-alpha.5+7092bbc","@uniformdev/optimize-cms-react":"^7.0.2-alpha.5+7092bbc"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.23.0","rimraf":"^3.0.2","esbuild":"^0.11.2","ts-jest":"^26.5.4","cross-env":"^7.0.3","typescript":"^4.2.3","@types/jest":"^26.0.22","@types/node":"^14.14.37","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.1","@sanity/form-builder":"^2.7.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_7.0.2-alpha.5_1619193949193_0.28968222606834027","host":"s3://npm-registry-packages"}},"7.0.2-alpha.11":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"7.0.2-alpha.11","license":"Apache-2.0","_id":"@uniformdev/sanity-plugin-uniform-optimize@7.0.2-alpha.11","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"homepage":"https://github.com/uniformdev/optimize-sdk#readme","bugs":{"url":"https://github.com/uniformdev/optimize-sdk/issues"},"dist":{"shasum":"de3bbadc1f50ed7157fcfe4aa50ebc2ab168b617","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-7.0.2-alpha.11.tgz","fileCount":5,"integrity":"sha512-524nB49vFDsbcs6jnG2bA2mkwHWkNOjJE7j5QulDpk9t3Puhm+EF92EyAD6Mn9QF0BWElCYXr8Iu21/UWo/AaA==","signatures":[{"sig":"MEYCIQC92cJz2UkgsFJUj0JmpB68vhfpjhWxMOkKC5a9StaM5QIhANwc2cILhAoS/qCmIWoGUp++UMBvbDbZcvP32FU2/caI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":168764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgicQoCRA9TVsSAnZWagAAkrsQAI9EZnwQQgR5bE3XAZJv\nD0W1IUD26pwFFqgFlYIzR8FS7iHGq8G20NEp9Ry3yiiyEdgWW4L5YHcygvs7\n1QmltCkR9ol7d07oZqTdV37FFZxVvhlxD+87GozAioZzviw9rQdXFoXYswxf\nbu16GRjzjv3QoEPnJxJXOE9UNQB3nOFgNUqyuJTyOe/5yyRPvN9sYVmJKopw\nmnanioRfR6UcrH0M72eiUek1pBFr7+2BMINXvCEpCmPBPqUeVoAZUMd+BaVF\nfT58r7rUPBh7gg/2E+SXErtw1aOcIWum3FGfYTq7tkM79Plqujuj3v5n3T0v\neL2+oeWRBnY1xxQy5rvYwMGx4r170pzdX1puMjJ7Yb5NccAXjhWkU/f7xDQt\nlBflr/RL9vtzKNR7EQeD6ec17Tk8RurwmmQAv3pE6olH32kPyYKVAxIZQ0s3\nq1UFsUjLWp9QpiMn2Ge5cB25okMhH/5w5tb9qb85x4MIy6DPq6d7ifZEn9/z\ni7PX8kmibFd0iL10vD32U3Sjh19Yo4NwCrMNR75iIC930JGllSD0WhX9woIf\nifjuTQNhdQjF4tD8eaH9QhNc+rS3o2cFIwjOwoS3R2jYtEa9InXGIXx2c4GA\nFW8KY4FwMm3GBXnmxqEadvDgxc5J4JI+XyTuVXS3vzZoJI/1lR4TWRYxqHth\nff+9\r\n=NlL0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"f8b2f5a26d476d2113510fab31e13d13eee205dc","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"repository":{"url":"git+https://github.com/uniformdev/optimize-sdk.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^7.0.2-alpha.11+f8b2f5a","@uniformdev/optimize-cms-react":"^7.0.2-alpha.11+f8b2f5a"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.23.0","rimraf":"^3.0.2","esbuild":"^0.11.2","ts-jest":"^26.5.4","cross-env":"^7.0.3","typescript":"^4.2.3","@types/jest":"^26.0.22","@types/node":"^14.14.37","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.1","@sanity/form-builder":"^2.7.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_7.0.2-alpha.11_1619641384071_0.2575881200011694","host":"s3://npm-registry-packages"}},"7.0.2-alpha.12":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"7.0.2-alpha.12","license":"Apache-2.0","_id":"@uniformdev/sanity-plugin-uniform-optimize@7.0.2-alpha.12","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"homepage":"https://github.com/uniformdev/optimize-sdk#readme","bugs":{"url":"https://github.com/uniformdev/optimize-sdk/issues"},"dist":{"shasum":"e4610aae9ced8e2558d765c6925dba55e1138522","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-7.0.2-alpha.12.tgz","fileCount":5,"integrity":"sha512-RameFkhumF3aXlWm+6VkQ779ViaBjYRsmB3mfOZ3CPjqlRllc/c+lFrMtCsY2qlWSAKfunzwiRQZw8EAax9juQ==","signatures":[{"sig":"MEUCIHxZhojIJ3o7xGy4f+2KeendrmCmG8T1QPgNDnTbc8YpAiEA9bAPzK+AumZl+1cUjyRy2f/vmcZK7JI9YC+x7nOYIo0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":168764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgi58RCRA9TVsSAnZWagAAYS8QAIYCUDqIcQvlJwBe/e7n\nyP0lnwD4S4qqgnBOHpG0oWeP9l24vJXb9BbxpyCbtqG22+MQezc/7V8omZlS\nkF3CQkj5urShNUzInxAgetTnUXS077cRnUB7+9VlJYgv/AqKyVyx8k3EU6XM\ns56GrfKcoI3GlIozGmIVdXmaSyhr+BnlE8wnlSVr3sKvTKUpycyi7E3u+Qer\nFNPz2wruuhhbcH3XAp/zSrCjM2SMd2IMyMpJamCEBib/f2mwkecdnpK30XZy\nelA9AZaMZ63DqnGRUmDFHKdqFtbwxc+6jrFlJzjSp19ytFkPzqFl2quVWcGa\njNRwg4rSriyZ/hr5S6R2JLLahJo7FMRuqn+JO6Gs5cQXjbXe0wdDApoG2zgB\nq/+pC1Rc5gxtHojW7UJbjMQmZlPTQcg1ODLjdcL1wrF67QqW+JjE48J1pODk\nAqYKlJH9JCBYLrrGT/oKRQlJ+FIq9jcUXBoooQBTG4PeaWSE7mpJcj86oeqT\n2/RmSRid8nh1Elmn6V5owdq7v5wbe9NSCLj7C4GcdAqaKzJF8H5ViaPyUVWy\nq4CBz8jY1nrQLiCe4V4KtRu41Uz+b/wKWGHQywrhp03n5Md9x3EcYwfSQYs5\nOyoOuYYQ54vR2D6yhxeEt/+AhmtcnDCfW3A9kGJS4hslgSM2t6a1pAr821Zw\nDBMj\r\n=3lst\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"e0f9e22b5433231c3a850eff1af70f9baad31f0b","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"repository":{"url":"git+https://github.com/uniformdev/optimize-sdk.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^7.0.2-alpha.12+e0f9e22","@uniformdev/optimize-cms-react":"^7.0.2-alpha.12+e0f9e22"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.23.0","rimraf":"^3.0.2","esbuild":"^0.11.2","ts-jest":"^26.5.4","cross-env":"^7.0.3","typescript":"^4.2.3","@types/jest":"^26.0.22","@types/node":"^14.14.37","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.1","@sanity/form-builder":"^2.7.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_7.0.2-alpha.12_1619762960665_0.4125651455713797","host":"s3://npm-registry-packages"}},"7.0.2-alpha.15":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"7.0.2-alpha.15","license":"Apache-2.0","_id":"@uniformdev/sanity-plugin-uniform-optimize@7.0.2-alpha.15","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"homepage":"https://github.com/uniformdev/optimize-sdk#readme","bugs":{"url":"https://github.com/uniformdev/optimize-sdk/issues"},"dist":{"shasum":"50a8cdc41ef868d961665037c98257d3058348f6","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-7.0.2-alpha.15.tgz","fileCount":5,"integrity":"sha512-jOFUBspHBMeOabf5O9Ybxw4PP2sHDA554ejiNXQX3JS4RbZUyd26VpmtkW+kA9puJj3IKoXZecYXCZ8/ZTpMJA==","signatures":[{"sig":"MEUCIDROHfZ9wYCYVMWGnuNOPeemDDs1UaswijR6W3LGGyPEAiEA0jSjRqWlgDbg0ex5D771f3gbYeO3Mh3CvlAakgGGtZg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":168764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgjCLHCRA9TVsSAnZWagAA/qkP/jwqmgW99vixFEUnSgF/\nj5/8ml6xQbNVTLbfmr2hUDB4kOm1myFj0lPHS7umJiMWjkdpAbSFsNzDdach\nEuWijeJ5newZUlovA81QzXlMofd3qO4etKr3jz8E1GKOwH6MycwFYXqMJal0\nwq+a8nBDRiWpH5TIjz0pYaVL0Jnll0MLmFbaTtzq/8Ej+d2Cu/hj4HxZjXg0\n/MkWXmR8PTxgeh0t6eSGOY6t+KPeNo5b8BeiVuKh/4wv4xbeiCxVnBJwjLjq\nnsRdQw45io7WbbPuac7dT1bjWCY4pjrOyKScHegrRQH1RPZ00IxH4oHulUtL\n7oDTbSrrHrS66M0kaHiTV+Fc2MKIBRGP+sB20gz9lncWxGqKr4OCEYxYYuZQ\npZKQHEgGaUJORM7Ziou9JUOBQOMXFvREC/qInbQzsY/GmOFK4OHwFmYInpjh\nMIWa2Fu+QQT8NCldQzQcxbme2bjuSIRW/a+qJywFEDZLWe3znG59MP3ApmzE\nm4B2nfpGK4COtBIisI89eqHYeXJCOVe8QmZOP2//ls23jy94MyusH1f45+K5\ngtmyLhQwqgD7ix+iG6iuIgfVtYIvrvg7iqnqCCQ0HctdkhIhh2+HJWlGDvMm\nORTAHor1RgKnc+IXHy+B5JcO31sdsJ+07AOFIdFVc03CB4axzthWrpUdK0J+\nb5Tu\r\n=s5LZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"706322a7e1d9cfac917713c19f16e542a07c4e8a","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"repository":{"url":"git+https://github.com/uniformdev/optimize-sdk.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^7.0.2-alpha.15+706322a","@uniformdev/optimize-cms-react":"^7.0.2-alpha.15+706322a"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.23.0","rimraf":"^3.0.2","esbuild":"^0.11.2","ts-jest":"^26.5.4","cross-env":"^7.0.3","typescript":"^4.2.3","@types/jest":"^26.0.22","@types/node":"^14.14.37","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.1","@sanity/form-builder":"^2.7.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_7.0.2-alpha.15_1619796678574_0.9283306501373978","host":"s3://npm-registry-packages"}},"7.0.2-alpha.18":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"7.0.2-alpha.18","license":"Apache-2.0","_id":"@uniformdev/sanity-plugin-uniform-optimize@7.0.2-alpha.18","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"homepage":"https://github.com/uniformdev/optimize-sdk#readme","bugs":{"url":"https://github.com/uniformdev/optimize-sdk/issues"},"dist":{"shasum":"f4614674095aba5cddc17f8b64c27e664cee1828","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-7.0.2-alpha.18.tgz","fileCount":5,"integrity":"sha512-pyg0vNHdm39B8o8myJoy7x/zVP6JZZkbodM/2ebeHePfCrWGXlY5En4kXcl32CriXfcLsx3zB+oCnXXbm+1WnQ==","signatures":[{"sig":"MEUCIQDNcquUL0IVh1BajF9O4rYHEWsSLYfZUYw4dvdhsu1vuAIgAW+CBo4PQV/HCxXiP/myi2dInA0EwpPsyZS3IoEUwsk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":168764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgjFDYCRA9TVsSAnZWagAAZf0P/1pq0kWaSrNaKvrl5RHI\ny+BQAfVZ9N5ubM+XgLWYw0jDOBIuQMqR6a3F9aBQP3f7qEcut454c5XzmkvN\nfvcA8Y+cTj8K3maHkh1+SnPtZmxql4N1iR9yl/ZraspWxcTp4ENuJ0ginA8D\nSG6kZvDUBsI1OGs4Jax/uPWvQTbbe+8TqYI7oUfJGl/sMEQ4LRZfICjK9VO7\n1G/lXFWFT98+zSjpvIyvRFKNAOlNkRnV/1yzLdDmyUTyC5B6ifQD3IUokl9w\n4JTcGlhhFcMcPbDDAPODsEjKYwVAeAYGkqNAcH5MDmaTjNC/zKli2r5gOj2L\nOjM8AwFRzLyIZOtBJFNcju403vKQ0Oxb9KvYlhhy3OWWsEp0tms65pQcdYVU\nnc7tmV8XMaKyZgGuHwqWLQoJZwYD8ffjtFweAft6tTFrjiVvmklt5WkWYRD6\nVK8k4k3tca6hBTL4wtdezScehiS8h3VtGfofmtWY+o2CRcoHavBS3iulG0Mn\nx5ZNPoOv/tRYtPxGzpd3uV5OVs3T1xsrsQQF/lyFIDdvItTWhrIPz9ajLglm\nV0qeZ3OKDeEdKBDiTWIeEwLEwDbCO40nX1DlaRRmpjfTF8n0ckG+aUYxzXo2\neYX8mxXi9dyiiQVw4UZqZ9kkO6YGpx3U/NzJ/WOGshQgGCipBEFD5YPH2fAo\nUDVq\r\n=ToE9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"3082c5f2cb0fb95a9c4a5f3844a8eca8bdca24c7","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"repository":{"url":"git+https://github.com/uniformdev/optimize-sdk.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^7.0.2-alpha.18+3082c5f","@uniformdev/optimize-cms-react":"^7.0.2-alpha.18+3082c5f"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.23.0","rimraf":"^3.0.2","esbuild":"^0.11.2","ts-jest":"^26.5.4","cross-env":"^7.0.3","typescript":"^4.2.3","@types/jest":"^26.0.22","@types/node":"^14.14.37","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.1","@sanity/form-builder":"^2.7.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_7.0.2-alpha.18_1619808471705_0.38049741234343726","host":"s3://npm-registry-packages"}},"7.0.2-alpha.19":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"7.0.2-alpha.19","license":"Apache-2.0","_id":"@uniformdev/sanity-plugin-uniform-optimize@7.0.2-alpha.19","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"homepage":"https://github.com/uniformdev/optimize-sdk#readme","bugs":{"url":"https://github.com/uniformdev/optimize-sdk/issues"},"dist":{"shasum":"5c3502209a10ba2e00c1a2eb005b3859f47267df","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-7.0.2-alpha.19.tgz","fileCount":5,"integrity":"sha512-P+fqQneK9De57u9eJFVQzTH2fE2EmPNboepqoFM6jfKarVdcDQZvxSphkpPSKAW/NSOjXXhwipb41xD63LBrJg==","signatures":[{"sig":"MEYCIQDOOen8YZHjmtsaEV/uhmQu1ePep3hqi3ONzxnFrK0QzgIhAPtEYMmzrsmbJ89fMG8tda/xfPdjKpw412dYqxpp5oI3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":168764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgjItWCRA9TVsSAnZWagAAiWQP/3uvNJk9asRG5q60XNTU\niCBZCZDpWiaBPd6onOsn4V0OH2tne/I/q8IxxsiSQgXu+KGU7Og/lEiAHLCn\nJ+Db+Ah9b5B3FR41GcDNOt0kRBcPtvuXxD/ELpaVOdkh4KULKpwi3FcdZ+TA\nh9LflVlVVaeAwfHv0P70C60/HHWedLWLc6lD5Yy5F2dVXt+hLLFNUNT3t2wb\nfi/FRrIOLJW5DaYJ+KmsGxAnmp4gwbQ8sFFBsSqFTJHNhuqUWGAmK5bAAISx\nPkvS/H3sIzjZtgI65wlcfnJdUfcTEnsWXHoBaySGSxAzb9v1SIuG4Bq4U+B5\ne6EQBW3unPaTghyYDX17GbqeHZ+6HbZ9pg1wRRIDt46IhDn8CvpWO65/Wkpr\nvMbZGEQdyIaQhpyBeH633G0/kY2jdAIHmIoH0aX0kkPLyDVqaIRODMZfe6v/\ngIKgGmtKWG54S6yNnXrGreyrNhSrReKugDFKFlA49xvLDjn8+inG9ceKuSxT\nCDrqxkIF0KQi59iZCDKtlTuTUDxSVJEF3o+czbU/irPC4w1JRZfnFeeNRKrD\n3q1uGZNf3yyKqNWDAO+wbhZY1A1nRDmKlsdmLtaycuibpGEuCIAewXm6bL5U\n03dhrASlJcK9pRoNa5lgCM4DWjGscnXvakqqbsVAdzYe2M1jUYb+A1+yacsK\nkUKT\r\n=23Yn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"e02c58b10afb90e171055b6e9ea180074a53df92","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"repository":{"url":"git+https://github.com/uniformdev/optimize-sdk.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^7.0.2-alpha.19+e02c58b","@uniformdev/optimize-cms-react":"^7.0.2-alpha.19+e02c58b"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.23.0","rimraf":"^3.0.2","esbuild":"^0.11.2","ts-jest":"^26.5.4","cross-env":"^7.0.3","typescript":"^4.2.3","@types/jest":"^26.0.22","@types/node":"^14.14.37","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.1","@sanity/form-builder":"^2.7.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_7.0.2-alpha.19_1619823445856_0.11227094682831895","host":"s3://npm-registry-packages"}},"7.1.1-alpha.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"7.1.1-alpha.0","license":"Apache-2.0","_id":"@uniformdev/sanity-plugin-uniform-optimize@7.1.1-alpha.0","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"homepage":"https://github.com/uniformdev/optimize-sdk#readme","bugs":{"url":"https://github.com/uniformdev/optimize-sdk/issues"},"dist":{"shasum":"46f4e7a593b4178c0a8e78b72b268d666a6fbe1d","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-7.1.1-alpha.0.tgz","fileCount":5,"integrity":"sha512-h7ydLtNILEpRCgXWBdHaSuG73NYQ5em4Dx1DIhFPutVm51mOHz/csKlMJp3O5hDRgTas8zMO36XhseaUl11ypA==","signatures":[{"sig":"MEUCIQDHsWXhWJHEdO0gozsWtAdsMAYzmeJZI+WenECSejni2gIgT5Vlitw7IH2zc3l77LSYTBdiTGoW6J+KLZH3YghYbQA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":168922,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkGsZCRA9TVsSAnZWagAAqTsQAJqtBdRSwbJ9rhdkDngx\nCifamydhxhijw2eOXBnhIGf7fHnTX6DH3NMA1uFw0ZyY5O4di9/v9u99e8c4\n3LMLHkXQVI8nXcTg1kPibhaPktMbIxieKGp6ecR+Ya43DjwmGSDrUkTa+QsX\n/qTgWaKp3SrgrGFmsSCX/+3pEEzeK8TDxWI62zOpKuUqssRMvr8jGyHv00Et\nreKXAUGvd1etdCi2rKSc1OQ8I7B9VPimfRo2aRhXf2AptcVO3pblH+6VK5Kw\nqtdevAh3Ln7xboINbvXJwD4HQn4cDykuwEYIyFPw0RFWbC1QeCsxTUSjjipY\nTMjeE+nBTdmXBFBd1cuyZqLmqgsDeIpqyYmXs5ZbVg0HDar1W7uP4nNcbiLj\n9LHT0z1woMEPLcx8cPESno3GGYVqVQImyCqLettqMbFl5lQ+WOWdidFHwlHg\nNfSgF/xg2ZNrpRygzhqOxxLu89LXlwO6mFcdTtIgUJrRglkyKp6sQ7npzRnJ\nBdwRNNSfllwpsOr1ZCwtgndk2lS6y4YzHfGAP7eLWQjyCmpLPBS2n/gTuFhX\nsyFvjnq5EpuO+94Y6jBhwGmhNoFybUvo7jJDWh55zyDcrRBVyM0WGwl+IFdW\nldyMMfw2Mja96BSenddqTEFcxUAl3ueb+IFaBxNFLQ+BUsLsjms0ldkkoxR/\ngsZO\r\n=yjIh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"1c2a681b55d348dc249e31426f6f40c4644206ad","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"repository":{"url":"git+https://github.com/uniformdev/optimize-sdk.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^7.1.1-alpha.0+1c2a681","@uniformdev/optimize-cms-react":"^7.1.1-alpha.0+1c2a681"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.23.0","rimraf":"^3.0.2","esbuild":"^0.11.2","ts-jest":"^26.5.4","cross-env":"^7.0.3","typescript":"^4.2.3","@types/jest":"^26.0.22","@types/node":"^14.14.37","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.1","@sanity/form-builder":"^2.7.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_7.1.1-alpha.0_1620077337191_0.7449655235632464","host":"s3://npm-registry-packages"}},"7.1.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"7.1.0","license":"Apache-2.0","_id":"@uniformdev/sanity-plugin-uniform-optimize@7.1.0","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"homepage":"https://github.com/uniformdev/optimize-sdk#readme","bugs":{"url":"https://github.com/uniformdev/optimize-sdk/issues"},"dist":{"shasum":"c89a0d6fa97a7c936df46c759d60879ce4ebfbea","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-7.1.0.tgz","fileCount":5,"integrity":"sha512-21mBV4NNpS3i6Z1sGOaC/Rz1da0NgAXgb3F59kC+9zsXuOcnqsmSMU51Z4cxirWHvlJUaV5LafrzqwtoKUSqLQ==","signatures":[{"sig":"MEUCIQCt7utMVbwI4E7ZB6jKabBriWv8L+SUWCW21zbepdsxdgIgJaIhAgIYQ8Zp6X3u/4n7XK0Bjf89Ql95a+crUeGou7w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":168874,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkGwQCRA9TVsSAnZWagAA8vQP+wXA6/ZyeOUNq9B7JPoO\nZ9lliZY+f2P7hzrDyHPs7awcnHLVXYmHQ3588uoDSovd5ifkudVh/BDV89iw\nsP6HIABgCq1cOK9BI9wWPwHTZezFOT5oXSp50BWJYhO2iae70Oz0xuTLL1Lp\nvo0T/cPaB4b/t7nAAEYpeWTsgzQZtRCVJGV60MMaGIH/RKoygMQChlqy151H\nAvPH7P90XLKZXJA5mmNorAS8eHU7ll7dnyDvdbsixzT2JAfADtcAhJj4vyby\n00jAQfs0yjS3KWB5jM0LUTDXwZSF/k1sue6NOTRETkht5n4ru/iVyEovie2L\nvQP3NFUbqlAtDjyOFMaP0zYUoGFipi2lMkI+ahOpMhTh9UHJU7sesQxeESO7\nNcBFPEPEY7e5XdTjWQWZwBpZ9DOnOL6tz8zK1rqbpezO/8ZoP/z6XE6CfyCJ\nHl+eQfCUMBjE3Nvl+GGJe8Pvzs/F+GRzCdUAL9FSAvQYkrZrAW7/a1YMBTg4\nqg+eTvQepr3t2kDIOtbk7H37HgMwJW+kQprPyv2R9V0fThgHE36ygk6Ut8V8\nxP/glANwh0TgQKo/dDZ1sgLdEnde1bLJtoB4W0H8jyZrYDWS05dunbgsJjFo\nFN51wb7Qm+c8RchYw7v7qYw7Vysm8omOTwQsSb7eq6qfzrjRiPRzs6jXyFKg\nCb4i\r\n=jG9a\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"1c2a681b55d348dc249e31426f6f40c4644206ad","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"repository":{"url":"git+https://github.com/uniformdev/optimize-sdk.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^7.1.0","@uniformdev/optimize-cms-react":"^7.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.23.0","rimraf":"^3.0.2","esbuild":"^0.11.2","ts-jest":"^26.5.4","cross-env":"^7.0.3","typescript":"^4.2.3","@types/jest":"^26.0.22","@types/node":"^14.14.37","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.1","@sanity/form-builder":"^2.7.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_7.1.0_1620077584408_0.3373017761686252","host":"s3://npm-registry-packages"}},"7.1.1-alpha.9":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"7.1.1-alpha.9","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@7.1.1-alpha.9","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"b3fff115f0c32190271a1a24d72617a7668a24d2","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-7.1.1-alpha.9.tgz","fileCount":6,"integrity":"sha512-MYGAeRFWKCEFPyLiLI2Jpbu4c93u2wVoM63rux7pXGLhZlMOBDysOpeztvJXKU9MZ7YDA0SEgz87GDNxXfo41A==","signatures":[{"sig":"MEYCIQDqtMXw5Q0uyenJlWxNZO2JQIm4qamPSd00/LFmw69PdQIhAOzIhKzJ2PCl1fnc7t/dWCN9RfU9gQYYPrAsXt6NyvFE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnY8xCRA9TVsSAnZWagAAG3kQAJk811psWFWkRlzIBpKj\neS3qy6az1phw9ZoJ3A4FE6PO8t+jPMWKolpcRRp8j3QqXJlSlAeOdxe0lszm\n4TrFpWHrU9/CNpEiffPntWMJmUo8S3ijQQWvOLNA6V0aeqBX9erOpeczU+EY\noJVcgM6Xt6eExummJ6jtm3RkTK8HF3uHhvZjd6vevXuKzG/zkHx/uekm7gdD\no0bNIe+O1qGd/BK7+ArPTZyYF+ZH/vUS+AzdCkOEzWyRE3DKHfbGyzvlNGnX\n99eEcAvzpJcFkhe6WF1zYNOMA3pE4bgMpxqrxIYTQl/mSDJ8vhd36M0lVkMU\nqmEDvw5zfvz9fvHyxf0A99Sfi1Ss4w2BLWNbYCuzxUD0dvy0eSU2ohEsnfKA\nOcPxwYm/x3GsdZMbMNgZv1cdLXwwSeu11marySBfJ245rbx041O+sIQ7/du3\nql6CsDagKNuk5u7powtreg6zD5V+qY7PMRkNGyrFWEfX4Tfy9dQpfmSA0sLj\ntpH6xAv+7oo3Zrkk6SqgwnD0Bh3cOGViEvIj99B6JYVhVq7c774MP8RfWGvr\nig22MeQw4iCzbH6Sro9qAq4tVrWK4Dw36JAbCX/XNr+Xm9dftmWR7FC2HtGp\nN4nPCt6m09D2Jc6V/eEzN5xd4MvZBzAE5bu0qFiBRr0tvIN84KZlUWdMEBnX\ntUKJ\r\n=lKA3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"8a5e383080228d569b01270e8375b62f43c7811c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"drolexan","email":"alexs@uniform.dev"},"_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.17.0","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^7.1.1-alpha.9+8a5e383","@uniformdev/optimize-cms-react":"^7.1.1-alpha.9+8a5e383"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.25.0","rimraf":"^3.0.2","esbuild":"^0.11.18","ts-jest":"^26.5.5","cross-env":"^7.0.3","typescript":"^4.2.4","@types/jest":"^26.0.23","@types/node":"^15.0.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.2","@sanity/form-builder":"^2.10.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_7.1.1-alpha.9_1620938544819_0.20709229646550886","host":"s3://npm-registry-packages"}},"7.1.1-alpha.10":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"7.1.1-alpha.10","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@7.1.1-alpha.10","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"a2907430a203dcb9ba7a38e9c84c04fd9e969a13","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-7.1.1-alpha.10.tgz","fileCount":6,"integrity":"sha512-Numoizn+S6nGKPsWdjXzJ9smefhR6U+ec/50UlmE8mZahLJw4Q93CgBj25RmxixX6b0LtLHsrANfbnP6c9+Mxg==","signatures":[{"sig":"MEUCIGimdHFwbGxPeUI28VJavllVnKm18V/9MtbY8XLA5LDOAiEA5c1dNJDldjXYaDj1j7lhAPGpxSTHzymSw+0WIdS+YKM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnZPlCRA9TVsSAnZWagAAcn8P/jAU2RwHD/WoWKPRzCu5\noKKESmyeMbeDnCfWTXwAD5qDY5MU9vgBoWKntyMkNeSJ7z6mgZ4Hkfv12k7d\n1JLfDK2vqbFunQcx/WfhmiDeojh8n/shgk2g0Q5K9q8blLZnpW9QkQLBoV1M\nZbbIWCALaqQETA5y9RT7Y843UAY8NVIXjez3GlG9T8GsNGhpRaMHaM5ar8el\nInzUqWTQ+DxBxCNS8gp6Kn42wiXSQJ4HFEOnbsA5Lb7BRNvLnd0vnCqpxUtz\nYfCJW4gJlSPRJNPf9gTsSjC7YTmc1PRVxqOKQrtG9OB3yPwDEK5gdlcqOuoA\nwqR/hyIlof5z8QNP9JDgq8rcU4m98dDPXfQMYqSCIyx7VtTup1rZSv+cw3nT\nMWUBF1X+hMtKKfvUuBFIYwc7XEJKQDs959M2+gQvkLPYLXlYvyl65L9i1hM/\n1Rm8rRRyisHbx4rPZsDV6Q3N/cECGjjlAe7+RUmzBIOyv/oevXgGbI8dNxcZ\nU54e6qERMDKYvg7xqPiKoUa2zNYTzWNJSUZSnh6V/Uetw4Mi0c44+kuocXj7\nYwXq0YuTob87MS6wLeDSs7XVe/W2pgyoWOFK4TksZ8TIsh0/Ralu/rHSjeut\noVPZCvx12++7njugMrhLCmbTOHRqV6exnNTCAV0x+vhNtjajrnsN6EoTL6tG\nEDQA\r\n=JMF6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"bef1c93658458ad4db48bc4ce563dbfed46cf12c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"drolexan","email":"alexs@uniform.dev"},"_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.17.0","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^7.1.1-alpha.10+bef1c93","@uniformdev/optimize-cms-react":"^7.1.1-alpha.10+bef1c93"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.25.0","rimraf":"^3.0.2","esbuild":"^0.11.18","ts-jest":"^26.5.5","cross-env":"^7.0.3","typescript":"^4.2.4","@types/jest":"^26.0.23","@types/node":"^15.0.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.2","@sanity/form-builder":"^2.10.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_7.1.1-alpha.10_1620939749224_0.2939646875577868","host":"s3://npm-registry-packages"}},"7.1.1-alpha.17":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"7.1.1-alpha.17","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@7.1.1-alpha.17","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"7a444fe69f7f664c5bccf1e86fcd046acc64029a","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-7.1.1-alpha.17.tgz","fileCount":6,"integrity":"sha512-S23RaMnzSusrBQ3DEvDS2PzF06HoKeO0WrIi/sqDwOBO1eAlid7+wdSjeik1HQNhOD+oyEGiZA52dPkoxF99IA==","signatures":[{"sig":"MEUCIQDXm4UYdzcklGjW/vDB+DjniOO/OAohleRdQ5jLHeE9kgIgBBSqCDayZYEPqqCT/d02+ZwhJvwPpQ9g7sHtXfg2dIM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnolgCRA9TVsSAnZWagAAnjgP/jOd5mRcwEgyewDKlODl\nD3lHuYqpbk3tfhVavVr9m4NWxaVQKsFItj+V23MQosOBLGZU90T2RCTuF7iM\nfEgU2R3he9A9UYC3fpEi3ybq1JNZVsbQyQ0OtJunTprisG6v8s4kSn8O45pG\np66On+OAxSOzgA6fffiULwcjbrNTgu6jRdoB8XqmaJ+s8p4FvLfRH82AUTnv\nx6coMhlKluTjjV0LKVcFP+seueoE8yHs2m9NjP6dMXKRRSXLU++QojqJXTAu\nEvzqGxit1t9r/MPdhwroN2TPDFw6OA5f8toC79cToN1wtksR6IR/JSTkiiwU\n0hTo9F8VTEqrsMT/0ucN17VKC3ZAGdmGj0YN+5FVKlNeh0pGW1pYPDcI8Ujv\n7rswZaMQq452g1yXJf6WxWAu87asvLYUsY9G4/+9LXX/CjSXDKtnjFj6mFFn\n5+a92b1ILL4dp/ZZ3P0UtIMahjSJIyZeklLkvUmjqNgcXOaupqtF8A1odQT7\nJsmNLx/bmd3qua1fw6y1dgqC4K9BqoVGcQzkp/6I94HWQvj0IyIu6h/kPkv9\nclu/anGuF7743yHdYeohJ5dkLL0ZtmBnau0vDbg9pm86oodssZVjTOAS95/Q\nY/Dry58M1f7VvVeNFrpKkYFuiwyhIbSZMK3cGSp4mBBrog2iBW13Eo9/1oAt\nNpMv\r\n=qH6N\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"19d3654f1b3f78f6d175def8f8cd52431c80809d","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"drolexan","email":"alexs@uniform.dev"},"_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.17.0","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^7.1.1-alpha.17+19d3654","@uniformdev/optimize-cms-react":"^7.1.1-alpha.17+19d3654"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.25.0","rimraf":"^3.0.2","esbuild":"^0.11.18","ts-jest":"^26.5.5","cross-env":"^7.0.3","typescript":"^4.2.4","@types/jest":"^26.0.23","@types/node":"^15.0.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.2","@sanity/form-builder":"^2.10.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_7.1.1-alpha.17_1621002591962_0.49747814556338343","host":"s3://npm-registry-packages"}},"7.1.1-alpha.19":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"7.1.1-alpha.19","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@7.1.1-alpha.19","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"c4da303d090ef51fbb04613cf3aacfc4cd395dc7","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-7.1.1-alpha.19.tgz","fileCount":6,"integrity":"sha512-TbNRsYDiRXiRMMYqQs11scG75SfZmdXfrDPvgRtV0mMLT2djnUCBlPMlnkMlFkaNf6FRxICbk00ryfQbQMFr1Q==","signatures":[{"sig":"MEQCIAp71B1u47luafuvfOHPbN97SmgxM0DsOf/ndGNabAN6AiBhCLeB4LcyBqlNFSacABtUNa202spfbVQ+4MW5+nQsoA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgooHPCRA9TVsSAnZWagAAKE0QAJ2iKGHLnrxgW/o/Rztm\noUvmPlVOSC0P8MIXzIRHq8uYJ0Rm7FOogI9dWt9vYfeaqrpKUbAXDL0WL4Vq\nrv7YHu81gNpFfrclfzrDGpJ2nZA2Gsfd3LfuAhGSrfhbA83pc3VZzYZxZmLt\nSMvGiQlLcW3riWIiZ8lDuzwmpA0xRC9oG5Jg4HIMimDM9cxRHNnYHL1UVbnG\n8HL+qRmD6DSkH9Q8F9jKHgb+GHlniviPqL6aiHd8P2FminuqtR+ycPAkZEuY\nOJ/Fom3w/782O6kjxbR63N6ELTSAKiwcJs4OL/y4o4j9oChsawLnslS1980V\nbFLp2/Six6sDgEvALm4mDwH4LsgRKtuXfYgkVLv1rgKX7B64nTxspifkuhB4\nyEJV3D7vGjoHTdvxUv5ZDwyCRyh4q9lArXMKvhav8l6StminqvBsC46uUbxO\nM3oqCW7PDpWGoNtwtDEo2hWBe940v4jxHE3V+aA4OUqFk1LVllE7GmwzSN1F\nAKrYfNXhZJSSS3zkJ3VtBmCqcNUDqvlP+mtMSdUtaMYW7zF52zVY98rYxqUz\nOzIRMZhpVtiqoNG6detwry50I8p4OMyVvPijLK/myyT0G76/ds3j2DeiMKnl\ntfgusg48sbkG3USSW9YcnKAPxAAZ/+tidEXffIoTwijIFfJsHdfW8hIH1+Rd\nDmbs\r\n=U+Qe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"60da7574a9af335d2e88a027d05b947668abc317","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^7.1.1-alpha.19+60da757","@uniformdev/optimize-cms-react":"^7.1.1-alpha.19+60da757"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.25.0","rimraf":"^3.0.2","esbuild":"^0.11.18","ts-jest":"^26.5.5","cross-env":"^7.0.3","typescript":"^4.2.4","@types/jest":"^26.0.23","@types/node":"^15.0.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.2","@sanity/form-builder":"^2.10.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_7.1.1-alpha.19_1621262798929_0.8541405727657421","host":"s3://npm-registry-packages"}},"7.1.1-alpha.22":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"7.1.1-alpha.22","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@7.1.1-alpha.22","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"c2c39c39eb3655d3bd093527ea6e6e921b0b620d","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-7.1.1-alpha.22.tgz","fileCount":6,"integrity":"sha512-ca+DzwyiGXltjD0CP7xhrGH7Qv2KJiqkZGUOJ8J9kkvhWottF6zlWUhbOs9n6s+MVF762gGtygtsfoaVH4KTPQ==","signatures":[{"sig":"MEUCIAsT3w+r3mao8irvmyPQ/ySovIO3Szgl1I4zNsp/ZVsaAiEA4jUteoRT9CaoYD6QDaYDwwCa29FaqxXqvEe8p0mnKPA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgopZOCRA9TVsSAnZWagAAPaMQAI4Vvm0lAit9QxxaFZCg\nPSfSXj0mjdcJfOYXAwAYaT6HPD5bl6L0FSuIaMW10cal0CT/pEfF6VjkJO7r\nQR/XQsjMePnkjpWHXeteA+ioAJCCU1HvWmjhh28lRvz6L9jSUU7b3TitHcTQ\nX9J2SWVkqgarNJzx3t0Z2uiHfxtzR/+bC6mXxVIrPaKbHMZvPCBb+kqunWb3\neK7YKI71kfJ8V/lo+KVPa+HZtqGjhjv/kxwbyNre1bCN+N9Z10WTCGsrVV7X\noFEf15PJI+Pny69Kq+lX7FcMrHWndEGGgETfiGKYPkrN9vSG8KNlN1HvYG1T\noMVQ9+87ZVaBNoSIOnW9LTMEWXRJ+KvEpXgZK/p63T1YTAg5L/tu6ItpqMaa\nn5C/RDvsjt4O48pDAfqDUJggAN0xl87u8fExdxazgmE5t2tdALSo7OSG4agB\niRf/oZFoM0rFOJAoTXIFdGhHHi03d88F3wpuSNSOTvcf2K4QK80OUHMWBx7W\n9smAUoSU7VRDQLOhq1QEqYSAM3piYPNGrn2yKyrJVGlYczK08HisJ+Kk1HiD\n6oyk9HviaZfHoSGX2CexGjTrYbcExLbSUHFS2Uti/MF62eie2TSZyIvNcq20\nx3e+kTHtHMxcEf/VBBi2ZnmSHLaFMyJIt7RzRVtRq3bsJ9ytTeUuZt1GIrj7\ntLDe\r\n=aOp5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"8d4fa9d7365c111e6afca9aea4d66d3faeedf8b0","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^7.1.1-alpha.22+8d4fa9d","@uniformdev/optimize-cms-react":"^7.1.1-alpha.22+8d4fa9d"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.25.0","rimraf":"^3.0.2","esbuild":"^0.11.18","ts-jest":"^26.5.5","cross-env":"^7.0.3","typescript":"^4.2.4","@types/jest":"^26.0.23","@types/node":"^15.0.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.2","@sanity/form-builder":"^2.10.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_7.1.1-alpha.22_1621268045912_0.4473881113339184","host":"s3://npm-registry-packages"}},"7.1.1-alpha.25":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"7.1.1-alpha.25","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@7.1.1-alpha.25","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"27c50bbf1d3462c5503bc8860f50924505756f92","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-7.1.1-alpha.25.tgz","fileCount":6,"integrity":"sha512-eGvgA5P68wrU254BMgeQ60UD2ex+q99Qq8lS00NTkdwjK+FOsRM3Q1pOgyGvxWnAcjKuktMWLWiCg4XPzpJe8g==","signatures":[{"sig":"MEYCIQC8gYtHAtsDXcWRlVMEFF3Np6iPyv3iOHJxGRrxBUle2wIhAIQGB0XKQanU9CQB4yNKY+BhJ6SjDfvU9qx4fSsk2TN+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgor28CRA9TVsSAnZWagAAShMP/iTA637tA6xtQO6roQYB\nXwJfyXNX8BIw0IHf6S/AJ4XqiM4gVS9wQ1zZTUzjaFY0i5pviM6o/KaTlvz4\nxsJLE4B0joZwVWqMnfsTP6VwPsflZyEAWcj3Ss6+0/t9qj/UXHFAbaDGrfzN\nl9fuDo/DRDOFhY7j58XXL+uKOugfvAJ3DpY1VkN1NgbMVSIyExS//q9/NdJ7\nwN4JxB4LBaQIPj+VacHWywaI/ox0gSM5AEKTIYtAtdT4n+focDdMIDcx/lba\nYgHXLtkzfG6WdSIMHNu0AivYvsYf5TyD2Lwy+gUKbyLQlI1ZDvm60725yTfb\nIxM65yrDTH9jDHlY4LJXr0zro1ODIcz5X1JrS3ydIbn+x5p8iOYg7T5ALAtz\nS4jc52KS30ey0ndDNr+GBCym3IKEEoe51f5Uel+ge65myXP5HVb8nJuJ3Zh9\nhxhUxZeh6nIGGbX8FuD40p6RzBTGW8mEKA6fb6EshwJ7MWEV9uy9k6EnDUn2\nJHAEE0wvfi+Tb84ktdWSB55ywqXe9Qkqow3g2hNuaR8nbCmnaExC6y3v8Bjh\nJV3AVJspN1gotbTPLo+U1foatKhOKBUsGSrffRlvrytsUoG1Nvg223MZkDWU\nXSKpxBaXoowljLiuJsBV7emMpHkYtEgueAli8f4pkeMsVTmGO0wtGzMm7jU0\n85C/\r\n=LK4w\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"2ebcc1b608622d898a3d6091925785cdb0727868","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^7.1.1-alpha.25+2ebcc1b","@uniformdev/optimize-cms-react":"^7.1.1-alpha.25+2ebcc1b"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.25.0","rimraf":"^3.0.2","esbuild":"^0.11.18","ts-jest":"^26.5.5","cross-env":"^7.0.3","typescript":"^4.2.4","@types/jest":"^26.0.23","@types/node":"^15.0.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.2","@sanity/form-builder":"^2.10.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_7.1.1-alpha.25_1621278140062_0.9608079004085399","host":"s3://npm-registry-packages"}},"8.0.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"8.0.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@8.0.0","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"b3cf3ad91f7424f805f5e078b5c88cf84dfd8d78","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-8.0.0.tgz","fileCount":6,"integrity":"sha512-3uld9DktGIk3hcBVWw76Uu7sIZuybsp4F8Bj2GxP2+lC16QkEXm6OOyNkk1Z3XYRA0egQRqtP3fRh+icJIg5Sw==","signatures":[{"sig":"MEQCIDK7Lw3srn9O2RS63AwiJtFMtCx0gl7F4YywX5dP9pv2AiAU+QvM+GPzOY7mIXrj7UHKSvFhLEqqwd2+SG0nFXc1XA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103328,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgo1nWCRA9TVsSAnZWagAA1j8P/jzRfArmAYjn3U70mOFQ\nac4GVL5Buqr+JZohBHDduKxh30Pb5Q3n/MxJGg/hLhdh8yoV9UXxKLyydi7s\niIpgXXo7weE5i8IeBpQOi6g9GN881VNLzFPeEmrV53p5B9JKQ3dC86i2Cy6N\nQLsVlUl5UJ+unibNKVLanORp3FyfdHc4LHIyyqVqpDrx07OkObp+Zv5VWQBp\nW1jtKAcRJfcbv95Fq5BgMWj0scektxuIXxaIK06rtHWIGs9Vmbv8g4nAewkL\n2GTnjfm3g1UGRc04hHH6dmJVjohVCI6mDNjROQ87RW9xyi/7UIrGBuk7LH8I\n0GsJhJsPWU1c/v+oE24DFUu+Oq9Z9YO2pbrTylQh+hLLu8iunkR5c9OIbHC8\nz5mZ7TCHXuRJsNTe9EWZboOu5Q/g9GVnZE1UskXH8/pgSuCHQP3dQIVXgnAo\ndf+Hv06uX1+l5Dnb0cQKkNa2b2VFewQs5w7iDTu4Vuy8z/2RyEOhwxLSLx0S\nyXYuyfFa13/SYLgugDIWUlJBjiFVHdqigMJPVFELzXXHljWi7KJ5jGaWcaNX\nbJUVE512sUkiOSgklYJ9mnBE80/7aWs42Y7ZquZ1sDny9QeXJS97DvsBz/fo\nL9T9sinfGo8+oL8iF7xPrFmgats4YUsxztVBzJt7P8q3IPUZv9C90WjIM9KS\nUZC6\r\n=OI3V\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"06b127a1b8bf72ac4e905e45ca53c5f447d06f5f","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^8.0.0","@uniformdev/optimize-cms-react":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.25.0","rimraf":"^3.0.2","esbuild":"^0.11.18","ts-jest":"^26.5.5","cross-env":"^7.0.3","typescript":"^4.2.4","@types/jest":"^26.0.23","@types/node":"^15.0.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.2","@sanity/form-builder":"^2.10.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_8.0.0_1621318102042_0.2974507860142419","host":"s3://npm-registry-packages"}},"8.0.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"8.0.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@8.0.1","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"6c44972ed23e3fca728003297712a35dc02d23bc","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-8.0.1.tgz","fileCount":6,"integrity":"sha512-SolVMIKaV/Fz6kVQJzCjfEAzgdZMmC06/bLXgkezatk64iqGbCnV/rzUdUv/aWtSxNr+iQKyrQfUa7L9zZGV3g==","signatures":[{"sig":"MEUCIQCdU+SirOQb5/H4xouNcoHF/BxWsCIPsJQR5uTzxGpCPAIgJtpA92Fk+3E5N84eU0SlOOX5aJj4y43f5p1uJkgX90E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103515,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgo8eECRA9TVsSAnZWagAAvi0P/A8X19rPZuAtIhYXYPJk\n9rElciAeX5sB6fzQCUEUTeOmLl+bG4POyGpI/K4DTUpSB7b1LU1ETD9Us8pg\nYlgQJ1WPZBrWPnkGe3F99iPy21trl1f37KLv9h0mF8ZJMcm38S2eGFR18B9K\nivQYYGWMsAg6RnR5N+aPEhmFj5XrPP2Ci5jwWUmOUQ3QA830Ak0FHH7vTEZu\n+1G9hZC6QcPJf/gvu1F/czT1fBUIVxdtJfLFmB963d0lz8xZ0k1geXWunjwT\nqaMdSs8z8HUeBKwlRlEEzmnLXjKtSbKePthWPJlPfjZBdSOTOecJialCO+2G\nkvRK/kGckcaX167vN56syot1v98aVYQZ4fwbn25fbHHqs1S2FWNSMTe6SRxV\nTmeR+9GOD24PpdT/18uO64jHecF7DbkOCO4gqijoOVxEawAIDXM/SCuqmdGq\ne6/TRf9dpd9w0l6Fjtnp3XX5SXn7MHJLerWacLez0+S38gZFOYd/Xl7X843C\n3hrqaVuYwIH42SJYrHBIsUEkBgRYuqdsot8NXcOhU+izrDyrBa96KBd8N8gI\npwuaR9DLsT6r3uMXkineSbvdrnMzDA45i2ibrgeyA5dAMgc2uiCjKS+/MxrC\nitfK1YWxNuCMc27pc/HeD74Uq137PUcQxBHdDnzyigwuV2JLvfDvSyUGY0CE\nZuGJ\r\n=zSM9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"62017d5727537ee7dd7fdfea269d7836f2b0e1bb","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^8.0.1","@uniformdev/optimize-cms-react":"^8.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.25.0","rimraf":"^3.0.2","esbuild":"^0.11.18","ts-jest":"^26.5.5","cross-env":"^7.0.3","typescript":"^4.2.4","@types/jest":"^26.0.23","@types/node":"^15.0.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.2","@sanity/form-builder":"^2.10.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_8.0.1_1621346180113_0.6458387378322066","host":"s3://npm-registry-packages"}},"8.0.2-alpha.2":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"8.0.2-alpha.2","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@8.0.2-alpha.2","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"7d2f6c46eebceab1a36ae514f7b0ddce0514769e","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-8.0.2-alpha.2.tgz","fileCount":6,"integrity":"sha512-aZT9S3elZUxpxNMNfq5D4gnIwMEqB7wGqQHAf1wMSFFiSGdLTZoqppfC/ZbvVbCqObuN/iPdwcTwWb3MhJgnHQ==","signatures":[{"sig":"MEUCIQDctg5Kx+wbnj/gD+0H5MTfAd41ZfIks0zegnX49sVQLgIgRwhtpMfyCQqOTugjt5LQfOcshNFuOZxXZY1+Daj49VU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrW8wCRA9TVsSAnZWagAA5BAQAJuwkt7ZKOBZ2qoN5nX5\n1MruyG/ooKPCjg0pb3Ns+JP4vv8U4xaQJF7bHePx1ZFgLWn8RXkWybLu8wAE\nix6kIh3izqqxK4aGX4hUnXFLB+8zYgslqRYGyLkb55xpDqF7RzaLDye5F2ty\n9+efMuqvLVPsu6FMapZyphIipup6706aB45AB4SgEZoTtU3UhjOMffL7SnjL\nZ8iono1TNDMUbhbdQO9mUge52EMJE3XM0HJjWUw1Zyqpb9TIlbt8B1sxisBV\nBoKq2nsirzbZhTE5AyScY2BZpJxmXF+NgbYKbrymV4gd9kuJKcIsp8eZ22Cb\nrIQy4kHwMKdTa+GHJPBN4QTsxpiCgb/TUtnusUoXXfvTuY/XB1l++3m34AHk\nPtpANEKVshzXNQLx/lUaNL5iVkTPq/BTV9n5ErAzcluU9JuDxf8yG5zue3QQ\nkG/5nZ0l7bkVzo9T7Zzl2yiJSwNtch0x7ZYKb67oHWTQr6pavz2e8b1/8VJo\nIZ8VOVb4/WMPufDnRQIi2cnLkJE8aPxZrSwjLJquIQywhcHDexCLGK+e4E6R\nGqAodHSCyifJI0X0r54p+4TmYvsUho3PqzW5wEVwdXRjaDhim1uElfo10QyC\nrH962T1AcUJz9Le9pcZbYjwNf34Tfd7sVLEaPPp+Hudwu1U/pwTiYhdz0lWG\nbq5V\r\n=YZBL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"d17774c20caf6155bf85737aa47ad1d8caf0ae85","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^8.0.2-alpha.2+d17774c","@uniformdev/optimize-cms-react":"^8.0.2-alpha.2+d17774c"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.25.0","rimraf":"^3.0.2","esbuild":"^0.11.18","ts-jest":"^26.5.5","cross-env":"^7.0.3","typescript":"^4.2.4","@types/jest":"^26.0.23","@types/node":"^15.0.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.2","@sanity/form-builder":"^2.10.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_8.0.2-alpha.2_1621978928151_0.6378349565773631","host":"s3://npm-registry-packages"}},"8.0.2-alpha.3":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"8.0.2-alpha.3","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@8.0.2-alpha.3","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"9d9756adb51d6904a5fbd3e659d718fee19d82c2","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-8.0.2-alpha.3.tgz","fileCount":6,"integrity":"sha512-QbcS7vKFetGIwTntSr0nfnwMHVOuvSkkYLmm+5QYkmX/rb8UurFSzTrSIMxBtysHz9w/gYeGMZa99wTFzXZUtw==","signatures":[{"sig":"MEUCIEl1SWrnV6atCi9D982PalIxGv9m2iRDT0XwWrw4srWXAiEA/O9qW28/iCrfecrOxsjvsB4qyn2h4PisJGR0NJkTl/s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrXOxCRA9TVsSAnZWagAA8BMQAJ1QYx8oK8qLJjwfnJCs\n9hdr2IA3kH+NXk4V7kZYFv0svQfDNTUzSNSP9Wrm90TrdhKMZ3S6334Y+IBs\nMtE6n8eFedl3BWlYlwofrFt4l1GyWKE4Jq4FtbkdbQ2OpnTOlEpNnT0G9yLP\nRBxRrw3cfLTATEl9i1G86zZH3mFaO7Z5dHoDkdaMjjJgK538SbgbjIdpRvun\n+iPokCOGdpG4UVpUYQ8uORtptDhUHls0/mWdu36hJ1Uer5cqvfSsb6+rH7iW\n1m6J6hkSdDk66TeGNXrt2bJigm31m+UpXiTZvTk7XzxJzYHZckCaCHyH814N\nDDdu/sm0mOHD5vwdz72N1nyM1CCrpMiH2oop/BjTTh1/E4R2Txgq+38ms1AN\nnl9uj2F0GNoJKXfH6k1jKmsXDjMtXgFOPoEg0NAVsmU3CKfUIGfLwWVqoIwE\n6xIVj9LJI9wH9H+MKuJxIj5WMisnbQkvvPZJaKdfz9Ws212M8tLOIhoXSYU3\nuRUBpOtxG/6GeyNoGSaEA2wpFUwsTpBJiacYKyUJlH39iY2D9VYwVCQP8KIA\n4qjFK48CDPp0hlj4hDWJmgU26WXSpe1l8r3JYnVLc7wcFDsL3gfcrwzlyMJa\nnjhbymyHUtikTTP7346eeX40WBfj03DZMnDt1c3tErtw9S044RbRtwHCXDfp\nbITy\r\n=TCNI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"35d8c0ae6133fd6ce1069d28d1865a2a5180cbd1","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^8.0.2-alpha.3+35d8c0a","@uniformdev/optimize-cms-react":"^8.0.2-alpha.3+35d8c0a"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.25.0","rimraf":"^3.0.2","esbuild":"^0.11.18","ts-jest":"^26.5.5","cross-env":"^7.0.3","typescript":"^4.2.4","@types/jest":"^26.0.23","@types/node":"^15.0.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.2","@sanity/form-builder":"^2.10.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_8.0.2-alpha.3_1621980081561_0.20114953153110915","host":"s3://npm-registry-packages"}},"8.0.2-alpha.9":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"8.0.2-alpha.9","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@8.0.2-alpha.9","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"34268d26b5a382e1427690e89d2f17ddd40dbb18","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-8.0.2-alpha.9.tgz","fileCount":6,"integrity":"sha512-00jer5eBDEP/l4igEGV79ah3qp/XSIWJGqW8y+O+fDFdVzz/dchfhZ6gakf4JgVJlbLgabfq7/bRfoEdA6EkxQ==","signatures":[{"sig":"MEQCIG1GKPTwqt5hl4U+p2D5FmTS9r+m0uhaFoC0B3N9DqNnAiAzgvdHZKgrzJB8N09XmYxxUPY6hCjOEyor2vH0tm84sw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJguR+MCRA9TVsSAnZWagAAidMP/36gaXrlrDpKpivzi5bE\n7WQGFXEHBms2ki8fqq1F4jD0AeCZ/DipxVPSmS0qrajMWqpc7/+SNWp/3zYg\nfvCUgqvMPuCXGHNSnWTs3W/hMahvmF5o/w5YUc07BNG1/kJv6ANQtsO00B/B\nm/B7Vng15xlawJCMVUKdE0bdh0QdtH9KrKcNhTtZw02hohBLUPDndKP9lXVd\n3Oqafc/abqgO0CWysd1qMXf6/mQqBc5IiDzsLB7SiJJgm2c90CagwunD8N1V\nbeiw2JAV7hlE9VDZ7xG7U7HJKV4qO48nb/i4w0VsQmsrQy2H90ruln+ODOfr\nSzQ0R6B4HxdRqZhjC24nIWEwL6zquSh6VWw8M524jbq/6p0l+poiNCuV1bAm\nwBVty3n8kyXvaqac5YHpbWHn0wxs7ak8iEJfz0m+qv+Ind8LHsTmCyUe7G4C\nymVyWF9aHLTb2go8ArnvdNYJfASUOBcyT+ibTQAD1RHerseEwiE9Nm1XitVv\nS6UhQjV76RvpBj9MSxev7TTERT3KgsCFjzJD5YSfwSCRd8E3ALeCENZuSVU/\nqm5Xb7MjpFHaaDWfZtEDj7eO3KnzmAYOWgpftqoK3BLFdXvQrSW9EshH6b9n\nrj1kaaZO59yN8gi4XsSnxiLfggfcMWJTYS6BsRTKsnm9KPi8fJujKybrvod9\nnQKy\r\n=LUGW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"12b3906b9d013d355d1176321b26f31d7a804cf8","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^8.0.2-alpha.9+12b3906","@uniformdev/optimize-cms-react":"^8.0.2-alpha.9+12b3906"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.25.0","rimraf":"^3.0.2","esbuild":"^0.11.18","ts-jest":"^26.5.5","cross-env":"^7.0.3","typescript":"^4.2.4","@types/jest":"^26.0.23","@types/node":"^15.0.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.2","@sanity/form-builder":"^2.10.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_8.0.2-alpha.9_1622744972119_0.5654871973391802","host":"s3://npm-registry-packages"}},"8.0.2-alpha.10":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"8.0.2-alpha.10","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@8.0.2-alpha.10","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"444ce28b2211a693396836867d4fcf0b8ea943e6","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-8.0.2-alpha.10.tgz","fileCount":6,"integrity":"sha512-S5sryiXePInbeCoJUqOLtVzBBTvXKv8hq7xt0WT6UjM9qhDkmecur8XOvfYMdKnQL63BEFS6bi4cSJsbdFoZeA==","signatures":[{"sig":"MEQCIDKAQPNW3HzvD3DN/CFaICYLcvpHulv9usnl4A4FjQpwAiBKLrzl1OJu2aNgQ6mkN/2Mf7Iky+jFlgA/SbCUwahNtg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJguoPNCRA9TVsSAnZWagAAn94P/0EJ+E8/Fm/Lg7CsOVE9\nHvkNob11W9IEg1Qf1g2FC8CcfoWOHsPVcrv6U8HwX+bW7T/ekNwfsToU0QRl\n3hnkTg4xP9dMz1qdpAQG2NwaFfZLqpA+ZapgZLSkR2Rh4jrMcHz8FS6a1wYC\naWUOgAVc/zMbMZC0Nq4ZjIf4uFBS3OaKLSazUQRfrU/u6NUddl+TKXDocicq\nHUWs2Vw2Q2NupcTMalB5zFKEqZRT5VyROxROnL4F4xaEkXi9kBzeBCgyrRbS\nEaIHOJMgOrIZ23TxYTdSX+A12jQrpNAgjOMUPHjJsoAIIgYuUMJ15kpVfS7i\nblbHN2fb5529HKCRIab1fMCQxJ2mWmTRTmzI9LI28M5dDk5BZvjuRshP8znf\nD9fc8YMas5j4TPwIuELO0SNEMokNGGjznvgLlnKE8qsOv2RJkG+uAeNTwYeO\n8AoIAjHo9XftjLjz1yKtFpgB9kFWGLPqd9iERgsD/psbNZBbTtQ6Wwhi9l2E\nzTlIZ4WBKzKPrSkFwwzLvWueLNEVZZ8yRSqWvlcmX/AUX/PHh7l/dVxC1Pef\nXEySIfREzr7MCX5aJ4gH/GRjmX7im8ya0jg2eKfQsJd3us8HWcGZdhCRfMWE\nY/DWpVUI9i9iFvUeAn/RmKUfoWHNG5j4on1Za8APHzwAPsphFG9Hld8bk6vN\nzPHR\r\n=ZRDh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"9f9950cf595243207bce65db8db761473ed9b09f","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^8.0.2-alpha.10+9f9950c","@uniformdev/optimize-cms-react":"^8.0.2-alpha.10+9f9950c"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.25.0","rimraf":"^3.0.2","esbuild":"^0.11.18","ts-jest":"^26.5.5","cross-env":"^7.0.3","typescript":"^4.2.4","@types/jest":"^26.0.23","@types/node":"^15.0.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.2","@sanity/form-builder":"^2.10.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_8.0.2-alpha.10_1622836172992_0.13028193920257802","host":"s3://npm-registry-packages"}},"8.0.2-alpha.11":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"8.0.2-alpha.11","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@8.0.2-alpha.11","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"d4f61aabe35cf0a88dd8ea0f3eb30763c23ce135","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-8.0.2-alpha.11.tgz","fileCount":6,"integrity":"sha512-506zYE3d5nmo3qDmQNfJB89VhueNybn9rdMOO/yfov1o1neV/mkbZ//Kmh1ssPtxhrsNPW8kYifNQ8JjjcfWeg==","signatures":[{"sig":"MEYCIQC9ixQl+8lIurljZbymAa2Gf4srolKP4IhokkNpK2cxuAIhAOvx8Z2+51YHhyKmywtHo20+cBqj6y59Z6OI5nwXaVOC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgupSSCRA9TVsSAnZWagAA/3QP/2bCNdTQUxe9XmGQhWIi\naOYyOcif96uQatgAXubKT5LwRBaf0EGgPzOPAEU35yAVCYW/LrgKpp4dTKyP\n8e/z2YmfNqxKXIKzV7hX6nQtlaEqxzxMMhaJlscN72/zqoGVykzR7Qx2mLFP\nQZbvHbkxi+ICbb3/8KGoE48DLLOQN5f9dBcLM5im9G1G9mKYl5AXnGPfzWok\nChOkDJIZaaWk9zw1GraZgZPu4XOTrelg0Vcttui2KFLHKKOJDg8bBHwy3Ked\nwrC3Is0SQ0BAXpKnXbxn8NSNpCdSLB8/a5MmI5nc+/ZHO2QDQDygYz3B8bo6\nvjsxC3aKQVUGVRsbpBLVQqltx0rUQyqTiexII2y50+GNr+CRSSybScdoC7DB\nzUbHemJtZVj+8XEJJPE8hCv0l/UL4XvRCibF7LXO+To5FiZ1tH0Dto5JeLdy\n+Sf2Eavp3GT7xbbrhvaGXdNTezx8Tzbfea9hR6WG3KZryFazApssIcd6naqS\n/xDFUtMHU07IYkAGHXJNIGfGZO4pkzO4qQGxaJk3LO3WDIFvIRX6wzjUvrv1\nJ6Or7GIBYy4B4+jCfdqBuVI3FdMp9UrDpfrOxWNq8dVxhqO6RiBeLL5heRk+\n3deTPu8EjTmoeuHKXPxxh29MJU16IncIUCeOOTl5nLhL4265b1l39oSTmXB5\n3PKe\r\n=rWrC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"c161127acbd9e0ff758a6cd7a149f41e08eada93","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^8.0.2-alpha.11+c161127","@uniformdev/optimize-cms-react":"^8.0.2-alpha.11+c161127"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.25.0","rimraf":"^3.0.2","esbuild":"^0.11.18","ts-jest":"^26.5.5","cross-env":"^7.0.3","typescript":"^4.2.4","@types/jest":"^26.0.23","@types/node":"^15.0.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.2","@sanity/form-builder":"^2.10.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_8.0.2-alpha.11_1622840466448_0.17627691594451678","host":"s3://npm-registry-packages"}},"8.0.2-alpha.14":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"8.0.2-alpha.14","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@8.0.2-alpha.14","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"7bc420dfdd65a998281f5f7c70b6962b6b57ad76","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-8.0.2-alpha.14.tgz","fileCount":6,"integrity":"sha512-hmVXVUz9hnYhTI1EaxU7pSojUBQmwatOJfhI12iRTrbTJSS0WmaOgzy2BVPudILm9fh1CSKp0Q73jRjRoIGj1Q==","signatures":[{"sig":"MEUCIQDuv2/+hvZy3ACyUhKuSdR3kht1vwLcVL5xlW2diuQ0zAIgD6YUKACaTqKhJdrcIDs8kWYy8QcZKEqsSpvUDsYVfn0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvpKHCRA9TVsSAnZWagAA2DMQAIJRox58K1wfcBwCYiDW\nrYwhdBXQYDSHkJwL5cgLhbMe10Kf1Yg8HCyeTahDH/RDlaT3qfIluGFECCBQ\nlpSm9/tO5Yb2EeXYtSKExR5VSxKAl+Qwq1Xxq8THbwPn7VC4H5t9J/ZvLSCA\ngKsZAMhyPNmHtibttJ2XANf9zWa/4MJHPM32ZcDwrxcklXKDjscvTDMxm5Lx\nk/HnvxSiPT2sZ98JZDRaHjUWu71EdwJBxcFvvYNifp3L2FsSnt0UEV8CmLxc\nVw8tQVGMfwDrcDh3f4sDsEJ/206fUH1y3ZDz1aIpmUwDwyXrhJSp40hpuYcv\nbYeRb45x2oJqjW/falYflRBo776/3QJo14sYrrawrs0txYTyDxKldQK2EUpr\nbjMnFz/yYCILXHPaYhgpKFghHNg0bnvLMwOqNGKwaKWDI9aJ3SAG1qb/OvHP\naoPomyn8iXjw5R0gs5Iv2oFaKo2tNJB7SvNjl5TPBDAi+WYdk38nEy0ryswd\nCn/CosRrxqO4aZoM/aEPiKVTDd5P7/TrEoXzcW25vTQDXgPP1A6jRQpAggeM\n4sG1r0tuWuQWdf8kBHlO/QGttAqji749Muxgc7tHPbakEsMJRomgwzSDM25T\nDuEF8JYRuGEOUfXH6YuX7KOAh5dQCchqi4QjXEmi4RO305Dy8+JmikRvEysn\nuPjE\r\n=+rn/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"85d0536cdec6286bfa1b2b6a962b5382db94d136","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^8.0.2-alpha.14+85d0536","@uniformdev/optimize-cms-react":"^8.0.2-alpha.14+85d0536"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.25.0","rimraf":"^3.0.2","esbuild":"^0.11.18","ts-jest":"^26.5.5","cross-env":"^7.0.3","typescript":"^4.2.4","@types/jest":"^26.0.23","@types/node":"^15.0.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.2","@sanity/form-builder":"^2.10.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_8.0.2-alpha.14_1623102087247_0.7726061324764879","host":"s3://npm-registry-packages"}},"8.0.2-alpha.22":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"8.0.2-alpha.22","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@8.0.2-alpha.22","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"f0e1615ae4041f96d7290ad4c26d1df0d9e31d53","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-8.0.2-alpha.22.tgz","fileCount":6,"integrity":"sha512-uafSy26pIaZhNMqpC0QwijhB6V/GRlA7xaQmmGOErqVoa2vvn3W82XuXI8hyagoNbZ7ozyeq43r1r95tjekSPw==","signatures":[{"sig":"MEYCIQDzkvW0Bo7HPqF93pxxlqyCpJ/4M+PVnNaQVMsq3D68lgIhAMaPE0USoTVqrvmOIXM+KS2no5eIuTD6LiT+RUBVZlz/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyqraCRA9TVsSAnZWagAASvcQAI0w76Mj2aIWvOJ2ZzeC\nWIM5ihZumOXnv74m7dUJx8ruI6l7zGklPEeUO74D0axJ6Z9X742ojGyPFT3f\nGSvDytP4bz1iOaa9EwwGyU3hAGmR52rACatXRsnHfQe4VPP/1ZoCzjYvsgYd\n+nc+NUytB9v+J8gVovWMSgqxsuL+MjnKYK4cqnZ2l5Doa1mBZmdJbe5Oeniu\nG+yWoG1wbU+qpHnT5nKTEh6SA89uvoSdf5rl8nYGlCLrq3mUQsta91Hqo1Jy\nxxl5EkzfIWqW33VUU6C2VD7hBADmj4sFDqmyT6UeyTDkf5Us6mLqN6tcisy3\nPLl+gu9YxcI0+idJlKCpq5sdTc8gSX8V5n83UtMGF1p/7XQd6A9r3gWmGsYT\nHRXzOQki/jimjwRB6QPAGclIiO/vOXwOSntTsdFnqkFIwh12DXrk3mN28MeP\nbu6b7VOiXswJbC1I7qJxzugMdJb+PyzdZQJmfNC5UFXsMUxXiq/66e3HEdrG\nJEyby8hrsqu5eIEpeXxnsK1Ut4KGAPBk+elHqZUJuY66F1kiXxPXQbt1aR7O\n5kCQq6Rni1mpqNJXWNP7EXpGs23d49r6LZ5dCKAUzDyAem3WtuqQ0E1o7Tjq\nFmLpGBL6YdMnXnpfFCHzcNj6zHuBQDbIdyEsN6cDWoJj/fI675pNCA7bPwjP\nXF+K\r\n=PoOX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"b2470fe627310d0cc1d01c6b8e87b3b62bf0e44e","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^8.0.2-alpha.22+b2470fe","@uniformdev/optimize-cms-react":"^8.0.2-alpha.22+b2470fe"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.25.0","rimraf":"^3.0.2","esbuild":"^0.11.18","ts-jest":"^26.5.5","cross-env":"^7.0.3","typescript":"^4.2.4","@types/jest":"^26.0.23","@types/node":"^15.0.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.2","@sanity/form-builder":"^2.10.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_8.0.2-alpha.22_1623894746030_0.3641701947785725","host":"s3://npm-registry-packages"}},"8.0.2-alpha.24":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"8.0.2-alpha.24","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@8.0.2-alpha.24","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"2678ce7ae2488c894fa65d9c3f441b095bc42470","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-8.0.2-alpha.24.tgz","fileCount":6,"integrity":"sha512-vSDTbt54vdBiit+9Sm9rsSJ2JgdA1u5U/LCrRQaSK4oBJC7CJJ8EJOUMLUuGxnl8UiMqjFK4AXQPtCkIfadjqg==","signatures":[{"sig":"MEUCIAI6JSvsQvQ/g6HN0LdadrOHCLIAHt3x2jm/8yczIcXoAiEAzYYD4LdC1z/gYEDHft740YM+PjGiqH+uunEtOrjDifw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzOwdCRA9TVsSAnZWagAAhfUQAIUVA2lqSoUFIQaPuepe\nu2D3lvIe1pqeKPrJv/y/rFx/75k3rlJE7uQ1Y6+qTJDr9Waki2n41m3NK6ah\nytdrai66XN1NWZoD+WVWeUbpFVSM7zGNCBLW00GT254lSSsm7+oHfgGyNhhJ\nHgj5vBV1qlZaWVpaPaLm7SpaYtc6UsGgiyZEYRfFSB4XYNKi8HOG2cg+W3Mc\njBFxVADjAZQhIVK6hkSZVyTj3hEBsTZDqZoxr5qAu2hk6O06f/9pLf5Ajfcu\naPHXDtYo/X/CKMv9ETq8n6uHCY19dCCZoKplu/g5waCmqaS3ACpv5vXsIZHJ\njLFRIYblrs68CUYsAsdrpQnWWbdF1Co5zbtMe48rFCdmFMl7C5exvdhJAZLa\noTpYQFukTpa14/Uo/jueOCi4BgGqOhD0a1r6m7294kutxOKvsm1SNPyXFYqd\nNA5kjI3TwBpJmzmN11augBCzEdHTtz/gHl6jnMbF9c622+Aqq1bF7x0OwXJM\nCrrv/zOqbJMWzSGPBug6cpfxtnYD84uw4rtk9lwFCk8Ck82Lm4DI1Y1D+L4C\nYmhl5UpBEAJt6JV1oXz6pTwPm08tBrk3xuaHMhX+2sjQ5mtgciVEYCNpFuSC\nr7qrWpLBLbXrgDWvmBKrDF/lfAP9/zVzVd8CFzOKxDJEiuj0LpHL5DzyF5VH\nSda8\r\n=ZnKB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a59ea83bf4692f930d4fddd7dbe8957baaf54cec","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^8.0.2-alpha.24+a59ea83","@uniformdev/optimize-cms-react":"^8.0.2-alpha.24+a59ea83"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.25.0","rimraf":"^3.0.2","esbuild":"^0.11.18","ts-jest":"^26.5.5","cross-env":"^7.0.3","typescript":"^4.2.4","@types/jest":"^26.0.23","@types/node":"^15.0.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.2","@sanity/form-builder":"^2.10.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_8.0.2-alpha.24_1624042524801_0.4076684780815625","host":"s3://npm-registry-packages"}},"8.0.2-alpha.27":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"8.0.2-alpha.27","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@8.0.2-alpha.27","maintainers":[{"name":"willjrobinson","email":"will@thatbulb.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"f26b43c617c0fd947401fb01caa2dfef77f2e4da","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-8.0.2-alpha.27.tgz","fileCount":6,"integrity":"sha512-FTrZaUT+0nKQytVkR/2tivbjUxcGWTEN74Jp6zlvkevGhHwbFvXrwcU1mZA+1+7bX0iXm2m6jUcZUq6rqpfcqg==","signatures":[{"sig":"MEQCICa0WFdX5Ibk56FlM5X3hz3T6H5HJo/iI5Lnq8BHvSMmAiBPzByi3TYlGwMq6ebuFbhSQxQl0Rlwzl82Xh+3vzWBxQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg07lNCRA9TVsSAnZWagAA5/wP/i3TpCYg9bKWX9HZncP/\nzzbdp+E0eqQOfsD5j8Xvrpna8mBOjmhmOdJaGotM/2vwlXIDg3xF84pjmBdV\ndQyTNoBiVlw3GysE0BOPbMAp19HMZ64McJmp92/hZmVqfPkT8R7xU/vwm9Zb\nhparhksf2gWs3TsVeGGQDIbE7h78NaG3iYZKkC0M+5z/HLBJmN6jIAkve2BQ\nCA902P84YnbERiqLs/NsW1uaQGippdY3oZoyv6GxYi/I2TgpDelKheOwl8Wx\ncWAutu4isWFxZm52H+5qt+mCsXEavdKI1u/j5hYDC69vtu3ZK5e71igMXRNz\nrFDyRL2ofyIeoIom30uQdht6Qc4+72h0i1CwBzh+u+hAkjntoWY3oxPXv/M7\nIpTkZXEFVrqaRVFp/DMvRxxkFt9y2GAw9LpQZ1Or8+vZr4ZvRL3odRhGFSWF\nB/BfrNNmTAn/86oKGQ/tTMET/2irQPR9w0OENh+vjhOQj+hV2MnJW9lnDwDL\nS5H8vT0GIYxkcM5Hwxs9g/gF92XOfB+uxgLcOJQzeAWhLonMGRxhFeBmTVPE\nJJevsdW+nFqzL833JsdFpUKUbNN1UlWP768xmpK4+veZh6YqZAt2VIDJp9vN\nIeqLFPyzlUZ/+V3Pgn6H/hjYYzuRCt3/Pe1uPRLK1CQuHnRiuZJx9FPu/E/P\nlqvT\r\n=Xl8Y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"0a782615fc76860c804b1114056e81ff386927e3","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.4","@uniformdev/optimize-common":"^8.0.2-alpha.27+0a78261","@uniformdev/optimize-cms-react":"^8.0.2-alpha.27+0a78261"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^26.6.3","react":"17.0.2","dotenv":"^8.2.0","eslint":"^7.25.0","rimraf":"^3.0.2","esbuild":"^0.11.18","ts-jest":"^26.5.5","cross-env":"^7.0.3","typescript":"^4.2.4","@types/jest":"^26.0.23","@types/node":"^15.0.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.23.2","@sanity/form-builder":"^2.10.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_8.0.2-alpha.27_1624488269422_0.09148588117621093","host":"s3://npm-registry-packages"}},"8.0.2-alpha.30":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"8.0.2-alpha.30","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@8.0.2-alpha.30","maintainers":[{"name":"willjrobinson","email":"will@thatbulb.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"27ef50f492af62077fcc875d8f28373dfeaa2a62","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-8.0.2-alpha.30.tgz","fileCount":6,"integrity":"sha512-JTNB1x4owXDsYRxXPw5oyueR1YR8K8zcfQdJGfG/ClTcHbiRXVlKVAkgHD43xPy40qH3XR2wvEtxSvsdUJGPhA==","signatures":[{"sig":"MEQCIDjAPyTbLtjZe0EKcsE7ZtYQ3yGG8Riv5N8fj9Mfo8BiAiAcc8+wZqM1k7/TA7EYuDRtZz9SSEu4HeJLYIxTLh5aKA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg1SwNCRA9TVsSAnZWagAADtQP/RCcnJCYwPdg6vi/G7E8\nIofeyEiHLtOX8iYKQ+NL2gyomd/bHp2A/THG2UAJi9AneYRPyttoTNj5j+iF\nxB7+ZIla41v1wvTo2WIQZnRnpkfoBIRYAnl/GWC2cmtJq8I6jc4njlrNVzGQ\nObbhkXSOQZAs/Vux0PznPXzeGOfn+5JB/xVwAdbKWo/2467sBnMl9wNAFq9p\nSitOyZCtmTSXeWP24zlXOkxgZv/V+8RPag+rpSdQoeIG7/6WiWVmMIZgfzVE\nTiRw3yCchFgOAzTE93YLTtgCmHeY3gLYqFULX9qlaDqFP1L8C7qD4SpThZD0\nySA5U9FKmLdSmnsqQwFgNwSYnkMXum9lIfWizeTQLwceZe0+tDZ891fn96pm\ngKDjoxhUOpYC//caOGUv8trPdPsqdE1pHh6/x5Qk4AjYvC3Zms3sp5XKmGUE\nN/+1neskGaQnlCqQxtr6OeKXkRw5ZmEc1zdyhCJ4UeMbgRvRVMFcia4SElKT\nGzwbq+ls/s1y2iMlS5QkygGo2b5jbK+f0gdbOtctk+N+PL0xou1l7hAhyWcn\ne144WQtyWrDG0LsdbrQAqQwL0djS3prJCPhiBBklnViLAdNMkuRHjZoV+9dv\nihHHe9+cMjNrEUPqGTJGjb/iByjdSIVlqKgBLZ7fzT41iySK+a7gUHIiw3e7\nMfm6\r\n=mpJw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a9ae0d522a7c7b2fd69cf722abd8f304beb37090","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^8.0.2-alpha.30+a9ae0d5","@uniformdev/optimize-cms-react":"^8.0.2-alpha.30+a9ae0d5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.5","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.29.0","rimraf":"^3.0.2","esbuild":"^0.12.9","ts-jest":"^27.0.3","cross-env":"^7.0.3","typescript":"^4.3.4","@types/jest":"^26.0.23","@types/node":"^15.12.4","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.12.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_8.0.2-alpha.30_1624583181147_0.5138903758302964","host":"s3://npm-registry-packages"}},"8.0.2-alpha.32":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"8.0.2-alpha.32","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@8.0.2-alpha.32","maintainers":[{"name":"willjrobinson","email":"will@thatbulb.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"094b20a8119597f52fabc8e6d342eebd3e19fc94","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-8.0.2-alpha.32.tgz","fileCount":6,"integrity":"sha512-gJwzDm+JCoNUAqwO4QdN5ww9NPcSQpTCawZ9OcOkyXWierR71JRyjgHaXkmyax4vS3uXqx0L+rWndVEiiUKKdQ==","signatures":[{"sig":"MEUCIQCbnt5Nq3jFl1CkA4CiiH71STw9p4RxDtdhGhwDrZtutwIgG+VLYG+V/Tq3ny/NLotRGUNBJ6hIA0Rq0wFB1ZMRTmY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2iUcCRA9TVsSAnZWagAA/tkP/18UC1fK16pRN3nU/l64\nY4U/Mh2Q0x/PYtr/NWyaD1CtceQLFv7fWUe9Rr+kEApnTY3VsHD4xdglZ9wh\nhl/cGi910lK7jjvmdDHkTZstCs/1CBDrSiXtqgpzX6k2FZwTSNJv/MQXJh8r\nqO4nJg8Ho9THno5PWVjx0OAVrYj5fEAmjwBBrOTo7bRi9R3ea0I3W9GC9iB5\nyO6kpT/B8e4kuK59q/OlYFVQO1FHzIBDg0P+qFbq3Zo7WsL5XxwjpYZzqtJQ\nHwPlyz/oQRkDj2zntkkkpU92jkZTtpB6qJxjDw3RkULUkcSoSWsNUkH9RLar\nFEeL5sN3pFD4s/n+9hUEj47ifbHFT/0ZnHgTb3sMVKeEPY2dSLZ+4zan46Pw\nxTP5P89a0ula+BF6FKO6EsLIXd3vPhcZpKOdTD1C1ploWn71zjn2/v8HHggX\no7FCdekU3TrDeo4jhupsUieitfferI51Ab7oMKI5KWsoNpTBHehvlIVG3N7u\nhJUH3TOX9FxNQOxb5ZZbDfXYEBtds65FXWvrMt4OXQovIgECrq4L3iuz/nCi\nVal+/NtUWI1xjK39alS23dGd6Hxl595L0wnJCwHmos4So8soPl+A30r7CBPU\nauyPfPjN1EebTxFJg80G1PwWaS05v07q119zlPXhoIJwF7xh00GPlTUl0S7m\nPH5T\r\n=DnFE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"8a1533d3fb2d725f213a2ef1c9aff7ab62ada13e","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^8.0.2-alpha.32+8a1533d","@uniformdev/optimize-cms-react":"^8.0.2-alpha.32+8a1533d"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.5","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.29.0","rimraf":"^3.0.2","esbuild":"^0.12.9","ts-jest":"^27.0.3","cross-env":"^7.0.3","typescript":"^4.3.4","@types/jest":"^26.0.23","@types/node":"^15.12.4","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.12.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_8.0.2-alpha.32_1624909083537_0.9557757547214061","host":"s3://npm-registry-packages"}},"8.0.2-alpha.31":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"8.0.2-alpha.31","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@8.0.2-alpha.31","maintainers":[{"name":"willjrobinson","email":"will@thatbulb.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"2fcfa92b2d5061b25a7bf41e0a4ee23e8cd99ca4","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-8.0.2-alpha.31.tgz","fileCount":6,"integrity":"sha512-1EbnKErjvqSfn7Sp5xE9HwsSWn46WcM6UxBAtkEe4y9xoTIa0cqGHOdNPJ9D+dsusRB7aFwVQJvc8t4w2llnGQ==","signatures":[{"sig":"MEUCIH5K98BCfBtaeRwls06pkO5BJHIICCD73QPe9di8AD3tAiEAt+1IiEFWPtkrYR74oi8c52d5bSXCgG5sFdrIj1Qf09A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg20j/CRA9TVsSAnZWagAAHloP/jeXFUMy9jrdjCR9RAkh\nN67yZW7Cv74sKLaCIunAtcs+fj7KLlGdYUG3iubzJ63K0zG+jL/SvKqca2XP\ntJlVox69UXTeOdHgpYcAuDNg6WXw89p76Fqv7UgFPJssR+BooIZTDUWlG08K\nSim5GCWv3KoN7CHaWlJZYB1j+NGoTUyS8MSf/NtVVyah3QKaqAxFgea2bLa9\nS5xRdKzsEUH2nEX491kcreupLmvBRvVIPYr1GxD4wVFysjUEWwnAQUXJ4VUq\nVSdPXxiOpopjUVv0Qp6TRq4/6+oshZB6cUKl7PjOSh2z8OPt5cIAMyQl7kp9\nqKZZ3Y7sDPOeMRzhgs48Ol5xtqtwCnvXrCy1swhibQBaOsRCEKqeDmD7w6W4\nJoUJKRgtW7gO+y7BubukTkhlNeLwWjzRKjcYvAoNL+2lS6Mk/pY9WTacHMaP\n2waCvIziKbx7V5QSPJyutysJn0UYBk/NDmCDl8AT1Ha3sUYWQLr3oveonyqf\nXk7FE7L/Ob6Egxd+ytkLiWYFxGKdpA08YOfOyvAWR2wOwsLeKzuoNaTLbOUI\nNaXhUBcBBbav1knPH+/igmWL9gmecYSU0r1XvcMoNue5hinQ9obn7mMtK1zl\nYR5XrcbN9Gsxw8gSWPrh2wy9c2JAmoo3FMrlVocarc9IETNuV6jPqk/r9wD3\nj6in\r\n=psIp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"d4453738af4e075614a55af56c825a01261d3a7b","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^8.0.2-alpha.31+d445373","@uniformdev/optimize-cms-react":"^8.0.2-alpha.31+d445373"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.5","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.29.0","rimraf":"^3.0.2","esbuild":"^0.12.9","ts-jest":"^27.0.3","cross-env":"^7.0.3","typescript":"^4.3.4","@types/jest":"^26.0.23","@types/node":"^15.12.4","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.12.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_8.0.2-alpha.31_1624983807426_0.8153041010343587","host":"s3://npm-registry-packages"}},"8.0.2-alpha.37":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"8.0.2-alpha.37","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@8.0.2-alpha.37","maintainers":[{"name":"willjrobinson","email":"will@thatbulb.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"f3f525b45782878dca81e13e67508da1249f74e1","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-8.0.2-alpha.37.tgz","fileCount":6,"integrity":"sha512-Ebpvayc5+ko/+La8NuhTNr8Maq/81bLBXusLWWdblOKLAw35IM5JwHS1MwuV6a0vTjOQOsARlLysqk8vM9a6iw==","signatures":[{"sig":"MEQCIEnirRog2qssEMf/JJHoVMBse4aOfqI5Bj8XSv+bWgbhAiA5F2ZBokgrV6QGnjVAf5ZqEBPmjEqvxHK/4ViZH/4J5A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg25xkCRA9TVsSAnZWagAAo9sP/jrVOPtOk+djkHdLUbr0\nmDV2g71VhI8v0lBIMPwRUlh2zFz4V55ONe1hG/NdoEWC+XscNg9ICYSKpc8A\nC5Nh1+RVGUJQ/9NJfgBL2AAto+ibwfvzNc8ROQVfpqlRv17D4Iy44b46yeAs\nk0rl/0cdi8rekCIKjya15UbC0W5OoXiDPcbeGxX3HGjPQ9hRanOrq7lhJegm\nz5OUzHjgnSOdSZqEX28ftzUzc7h3E7MXJfIdW2Sc91pcIL2Km9cciqz44jak\nH5OBLh7BRTVhLayYTj7M57Dk+srsI9AI0wGaFDSxqx5Z4RdW1A6UvhP4DSdg\noDB1/F1EcClViXJOI1qyVRe55yg/1mysS/ji9tl7oapC84AeaQPIVw4IPUlL\nLcxlWUdDTp/ltoBYVDHiSx/wyQrTlE/l1XrpC0zY6+zN4jEg8RfuGaFoOEtV\nk/Sb6Ki9+9l1X85Aizr8ezpWMboC3UZT4rLt8/lsCXAatJzpFfSVzOFKvE9Q\n0BBHO8T6b4z9mzlmXA5VbPlvY3USWUvX2M/NKJsu2iwrc2b+8OsNsLkhrDpp\nkHG2wyvAgjfJWUBYatpf/HIJyjq0BtMX1PIrybl5OVIwZlCK72ybBVHicSFw\n6/HtjQCY7CgmoaAOhivFmpj6JdwTknbl6oZB3Nz2L0RIISA7xp8K7HX4vWz+\nhBba\r\n=Zin5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"308c8bbc953953086832fab83d2161f97c10e8f4","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^8.0.2-alpha.37+308c8bb","@uniformdev/optimize-cms-react":"^8.0.2-alpha.37+308c8bb"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.5","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.29.0","rimraf":"^3.0.2","esbuild":"^0.12.9","ts-jest":"^27.0.3","cross-env":"^7.0.3","typescript":"^4.3.4","@types/jest":"^26.0.23","@types/node":"^15.12.4","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.12.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_8.0.2-alpha.37_1625005156254_0.8201613935893302","host":"s3://npm-registry-packages"}},"8.0.2-alpha.40":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"8.0.2-alpha.40","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@8.0.2-alpha.40","maintainers":[{"name":"willjrobinson","email":"will@thatbulb.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"801c22cc88386c6664fa5a0875929216374379e3","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-8.0.2-alpha.40.tgz","fileCount":6,"integrity":"sha512-PcnJvOALft22c68LKBvEYLn4LPzyTHT86U8wkT/VedlEBs5kbA8xy28+S6jeANfIMMa+CJ0/hvFp+FPFpjAkGA==","signatures":[{"sig":"MEUCIQCXPulM59lXKMpRVXQAsLejLzWq68Y8PRKUPK7onpgpDgIgdVinn0KjL9rp6l0rtDYfI7xT19J9Wo+D/2lVGOLNSeM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3LPbCRA9TVsSAnZWagAA+DsP/Rp2YyVxAV7LGzdGqfiz\nw74G7NiVEDENPdzv6sb+YwMSRbLTH/zYodItII+XQUumcEdLw+b/ZZ56HVBG\nuQWiqq/CTRVem2HFHeL0rBT0zc+Pm8HOiNvMs5rN8DFADQXggs3/ZluxckH4\n+ktzkOXq/3mEqpdWQy6uVaMqfcxbhDUJHk4dh8K2EQ3QOew/QZu0y/yGWyy+\nBYLMiJ0tBv+0gOrox3qqaDmnq2yYZ8ad+zznAMd/RncRRnq8zaE6MildSnMq\npWWOrArVzUOnqZjUyUCPegYXhEZAG2ddNEjNMDRsuHesFoLdF1m2y8jdNSxr\nGDlOcly1f48vFi8E0nCCaX58hrI0Keeq1s9wBL24hkkJVIX+sX2ssDSL+p9t\n5a5h8ceHtOe6650oqTqhWo0rd8WaeW8ed1UrgiOJ8nkmDnsGP0WW4GwIL7gw\nieDmE2a5gsKwvGct5Q8WWa2KOTfKVQcbrhGw/lexVBNtSnIURzZjbMSrwyP+\nyotf1RrhT/xnPbbEuw/ouE3XDiuC4igGWCKf1+5HPSzaC8ie5xA2cxdR0Nuk\nEOfpjwdfWcLSImGETNlfHCkCKVmUDOLVWiGDptXvQ7yzH+JZTp6WJiCQ+rhx\nitZjNCvwKaCU4hd84A+9U5IYQHpsltqTxBcUlcAruKAS7Y0DQ2XdOQCJ4Dku\nPiIy\r\n=nF2K\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"4e788adb6594e49933df47c1584c7106a960f040","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^8.0.2-alpha.40+4e788ad","@uniformdev/optimize-cms-react":"^8.0.2-alpha.40+4e788ad"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.5","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.29.0","rimraf":"^3.0.2","esbuild":"^0.12.9","ts-jest":"^27.0.3","cross-env":"^7.0.3","typescript":"^4.3.4","@types/jest":"^26.0.23","@types/node":"^15.12.4","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.12.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_8.0.2-alpha.40_1625076698679_0.3791546781878674","host":"s3://npm-registry-packages"}},"9.0.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"9.0.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@9.0.0","maintainers":[{"name":"willjrobinson","email":"will@thatbulb.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"62267ca1ffee20bd6d1db3e9ff0fcc8298e5ef98","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-9.0.0.tgz","fileCount":6,"integrity":"sha512-Os3dfICojxBFYMxccycbv72r9P30kcPTrsNTrk9C19wJF8Rcgn0URXJcfO1n08CJNxpJukT0pm/P8vVFjEBRKw==","signatures":[{"sig":"MEQCIGRoePFSym1puxYivfKGC7YZ4HPAZ6h9TM7fL8F5EoJoAiAKf/NlEcV2SdNyqgL9LaZfV4AYLBF7LeW0UZcijMYK9w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103989,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3NkxCRA9TVsSAnZWagAAEVEP/27hxkF98GMlurueqcpZ\nZ9hVqrVdtcHfGz2m7KiT88g7H/cbKse0K4rDRIeVZDnof2npbu56WVT+oJBd\nwpCgW/I6yRAP0drRQRpzNP/BuyQkovW64Rg/n7mQo2NJ98+ws5+0gLGjmgR5\nUNDyxliXLwF2skMmI4Tm1Ocvqlvd2pf9J74nbhZClg7OSin7buy6pVtVLByn\nLt0oJjs5s5926OdAl0PCA0Qd9qzTQNxiLVvWX5Ywl6/mGgWs6uWSwTt5y2x7\n36V6m6GBDmN3zF7RSHok/G4yuPknKCXE40x6iN5uAAYT0WOixrjza28sLmEJ\nYON3Bo0QNUbp56XNFocOhzjddJNFjo4+ACI19HmTXRCfcm5lNKPI4vFxtvTa\njqhWMVw3tQaX2oKjLeF+RUDQM00kIqwzcoAVHaszCOCVURtUMgodOr22W2LF\ng/GHtvbSeuRjqDWy37fkBfMaHtuTqXkrhMzG8Axo9XaKi+PRy/w86cbBDqhf\nTL/bhYSJDeUNkGt0T33dU3PS24IqK3dpLB9cauhKzmv4JT5fCMEHHCauYrq8\nHrHz8hl1+o1uRZp79Rwg7fXh2fRGb9PTXsm6twHSKk5E7u5movXCDb2fzEXY\nAP3M/kQrxWSMghaw9giOK0gkWPQ3Sv2e4j3UkNbXEq1/WQdxU0SNpl5kTojV\n4CDR\r\n=usXe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"1b7b02b641dbc10bb174f3605a0b8f346ffc966b","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^9.0.0","@uniformdev/optimize-cms-react":"^9.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.5","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.29.0","rimraf":"^3.0.2","esbuild":"^0.12.9","ts-jest":"^27.0.3","cross-env":"^7.0.3","typescript":"^4.3.4","@types/jest":"^26.0.23","@types/node":"^15.12.4","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.12.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_9.0.0_1625086256584_0.7811367930024677","host":"s3://npm-registry-packages"}},"9.0.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"9.0.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@9.0.1","maintainers":[{"name":"willjrobinson","email":"will@thatbulb.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"}],"dist":{"shasum":"365bdee60684a4ed209eb2683a72f38358d1decc","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-9.0.1.tgz","fileCount":6,"integrity":"sha512-Iuig64u+s0xeV4y9EXQWlHF8qHTXr0A53qKEmRIgHQsgC/7nbV8LM+soV+Lqpj1VgTfaNpLRnmAfEVMgY31xeg==","signatures":[{"sig":"MEUCIQC/d0V47gACq7p+1UdWZlYV7g9z4RBAiiFSt8vKagrnqgIgIMnC7/pEERJdkJeELuZVhkXPdznPTaOzBlqwcSZJj4c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104180,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7NfrCRA9TVsSAnZWagAAV/UP/3ILBM+NUbWdqBSGWGqr\nfz+aMNp3RVn++/WubcvWxFMHz+pMGNFypSNIT8I5n2qwR9c/UPjCKs0n+9H5\nhgz1b7LeiT+f2/gaO3g7Xj/iY/idLyJglz1R7TV50PsDkWq1C84R+Uq0w94R\n1MC7c4jMJAtlsxWnjCgJFl7c4poFrzo5LIFDKCq/y5UEf9BBclIlS67MTTX2\nkYVFvd11qvpRDl/y1NIVybKqokEqz3BbHlsCozuVowwHzQgf1rPTkdsMZLaZ\niaM7pM98QwW9Y3lY+Zt+pQkoQhwyZnlaKpJ/UAdUdEE3M0/izlEOwry4dA09\n2LxLdvlQK0+6w45+XEr7b8hWyCw6pcUdnnzoqCPUhtKZ85tL8LrVOL16+zFW\npHyoMHt0Lzq3AulQ0nJPNcNuTYmc5jPYuJJDDa67hKyB1ZKp0y+yZVUgu1Fy\n/FLwQZysoMCkvdG2hKmR5EuuUPp+fCHJ7SHUDZkzQlpkK393hkx8eQCfaz0J\nicq4svdaje1Aio3En9/DZNHO7g9o6rjWxXNdrC00CNoCDMfNsC9LUnGeI43X\nBRmmIYmYqWBIYezvUCSuOYuGCpLaNc+FfdUJdt5WIhcc4p0o5ZRju1MIeBiJ\nVBw2GICzk3JN4tsWPK7EkQJ4phKJtnKHIMM3mnz5Pu4PyYeFcZ1acSxEe+06\nIwvr\r\n=YFlf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"fc98c5b6ae1c463d845150323ea386aff00b2767","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^9.0.1","@uniformdev/optimize-cms-react":"^9.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.5","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.29.0","rimraf":"^3.0.2","esbuild":"^0.12.9","ts-jest":"^27.0.3","cross-env":"^7.0.3","typescript":"^4.3.4","@types/jest":"^26.0.23","@types/node":"^15.12.4","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.12.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_9.0.1_1626134506675_0.7508248748860582","host":"s3://npm-registry-packages"}},"9.0.2-alpha.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"9.0.2-alpha.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@9.0.2-alpha.0","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"b3e01358ba5b751548fbac9a1c0f956c79b5fdd8","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-9.0.2-alpha.0.tgz","fileCount":6,"integrity":"sha512-6MKfowzc/uCEHBJMccMgbgjg9Q+gcNxGsyLUm/MLHof/C62RQrU1jyHpxmkTJHwzpHbzWAMiMG8emT0R58ZsGw==","signatures":[{"sig":"MEUCIQDwMTwhrzFSNtkk2egqiIbAak/uU8ianbPwhDvmO0MqOgIgMK9hMJcjNtt7lElmz8IXPJ/qfqobO1eyaqOloMXxOLY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104228,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg9y9UCRA9TVsSAnZWagAAgzgP/RX8LXiSE/QnkTsDoxJH\n4/1nTd8vMjkpjUBA9FlkbfBzhBucPkMHSRTL769So5oSDJBfnDKKHXPT/aWF\nR2zTGvwQkFh7Is3Y17ROlVE3ATAzQJNic2v45+agy5fwrOXug37i3EGdH8Qq\nR2AKB7YfH22Znt6opmaPU4P5JSf3EU0XebgKIspFG0hmYTYWbtlcOkmRaPuJ\nq95aSGIszLmTY2PAE11D9jTx2qcXNeXW6LcCfrDv68WaTEEIYwRJ4NUx7b2Z\nGK+z389AAmApLWfUCa7Vid3IV9Lq3nkBwRYQppVJgSykR3xW36gQPdlb5E7U\nFOUkUyppDKS8K3bV60CBZA+U08CjjGUCPUOoW85pCHR/05kJ4IAGnEUZVMha\n4NYh6VHiZ+HupegFfl+z00en4EF3iRsp33ikwDGuKMjVZzAddDWpS3GIKLRA\nTrhmS5rHtRAx9tMSxUyCjdyuzpwpqgHDwofF2MN2gfEer1KBoyrpaK/4feli\njaW0b+1znO+DUp6TPtjY18IwrFxPtNDEaLSz88lwjhCaTNn2E2mQIQlYER/Z\n1hdUkD8Gj3x5uh3Z8f064YNeZtFSh/Ln1l3C92j3uUw5CplvsL//1o/XqS1E\n+hPwHP8L8co8F6uqcShIziZgirW8iJ8YzgoQuoGjbSEpFOquFNjgNOgl4nN9\nBNPA\r\n=i9Z5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"63c22cf444aa236fed2d7cd05aae50c8430a6014","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^9.0.2-alpha.0+63c22cf","@uniformdev/optimize-cms-react":"^9.0.2-alpha.0+63c22cf"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.5","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.29.0","rimraf":"^3.0.2","esbuild":"^0.12.9","ts-jest":"^27.0.3","cross-env":"^7.0.3","typescript":"^4.3.4","@types/jest":"^26.0.23","@types/node":"^15.12.4","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.12.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_9.0.2-alpha.0_1626812244063_0.19246153327314386","host":"s3://npm-registry-packages"}},"9.0.2-alpha.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"9.0.2-alpha.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@9.0.2-alpha.1","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"124a46d4e8c2d05f31f8660b1408f1450d23b29e","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-9.0.2-alpha.1.tgz","fileCount":6,"integrity":"sha512-vuktRhiIPjmuMB3IXKpDA3Lj4b3sKgcWVWs9nmp/oLISHZHOGgBAN+ojCRvYIrwrYhqZSq/GIs3OkQm6loaD1w==","signatures":[{"sig":"MEQCIAFywPpckrF2ZcZr1yoTpWN4J4GVm6sDjTh6EctiSkyeAiAvzgQd4+E0u5M5a3C4lA4bIfTGl5yMTUh2KRuP5PsG4A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104228,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+EfACRA9TVsSAnZWagAAnEIP/12udF8M+R14doN10V14\nNxP3G8HBKyBzfYu0LpD8XSIwprm4Wj8XcYVW6femZBhYxN7wdtrooSMc/DNG\nN8NlW6TrjtY+fZS7j9JSyuUSx06rRl+rUE7faMtu5TEg53mf1ohsSdC+NUs8\nmtxGOBy5lDS/kDxipi+tPiF9PuTSZ7/6y9ysFA5MD2fI0COKta1oRD4BWohn\nD+Lr1yc/o+mpCCnZ6DnSVrIu9+LzvHqrsCZY6J4b7dD5Sb8cIQr3Onv74Fdk\n3Deu+qg/FEtFQH13DDcZ8WGc5MObE9QvL261kp5tAS2NI3oS26bktJyu/MCy\nJQvdwmLrWo3lIvkgLzzIYB9RF4l61JtGfvUF94QuC7bQTe2k8k29OKaHvK3Q\nk5BeCFi30mlz899+sanoYmB8nf0ExIZXalaZ/EE9YH97EjwVSvz3kGGmX3Vo\noB1TfnK8feZduJfFLsuA6Wqy+OvtfTJqhbcmuSDkDwHbuheVp2Fd6I149Wcx\nyZALmLfsW4dSYWJUJF3rrRH9/WMP2gg4FWv2fte8qkCvx6UBctu0PJRO00tp\nc5yD1Dw4PVSAeq+IwPRD0NIGhD9I3B9REeI9uo9cpaShVdeq8QQODZ1gi1+i\nR2c8RK7i9GV+yj3t60dLTZ0M/1IUI+h1MjNBUMvUaFSqo77VvV+bTUOjKOGt\niy4E\r\n=f2jF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"7a5ee5d6b84094e9066aeefc8e90dc6ff47b1134","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^9.0.2-alpha.1+7a5ee5d","@uniformdev/optimize-cms-react":"^9.0.2-alpha.1+7a5ee5d"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.5","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.29.0","rimraf":"^3.0.2","esbuild":"^0.12.9","ts-jest":"^27.0.3","cross-env":"^7.0.3","typescript":"^4.3.4","@types/jest":"^26.0.23","@types/node":"^15.12.4","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.12.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_9.0.2-alpha.1_1626884031812_0.12274210547882047","host":"s3://npm-registry-packages"}},"9.0.2-alpha.3":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"9.0.2-alpha.3","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@9.0.2-alpha.3","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"e5fef407d526a20c5a2f46ee5d7884fdee7e54b6","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-9.0.2-alpha.3.tgz","fileCount":6,"integrity":"sha512-ahy93WEiqNAlY5q1Zs+C4h5Fsh419vxvnSjzdQiwKC9B5To6gIizjHZBUV7otUFSB4a6x3gnInzthU/gbnTokA==","signatures":[{"sig":"MEQCIGV7A/ZrWfaipVfySLopYgJP9WQhliyxZpFzsRBjQoI5AiANO+0SBEY4fPc7dOexQBdv5UZ/kL7mg6JfM0ONam0C1A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104228,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+E+nCRA9TVsSAnZWagAAT0MP/1azOjloaAE8VGZGWa8P\n58vVSfIyG2D7saUzxNZO6m1x5VnuQL14pQ6eQ5Otcyigimri6VdzHXwYmkOt\nCJtu7vCGvGNsAmwUNJgn12A+duq6CnQxSy7br92AtxDd4swC8wg4y0PIdo14\nshiy/DVSDj6XFa5ZkAVX69pFtyfYdQvvE8riwp19JpfDXC0uVtpU74Y0U+fc\nXdB1oMhpo0/3vegNAyHmlkrmu1+Z+oBTPk1/KRReP3qfv0cgHoGZopt4O85K\n/Yz+m8KWDnpqM5H6xc2a6kF4FjEEfjWXezQVd0u1/mnAj7Y2apWH5EAvUlrp\nP36Iqf4rdwIaiPNtZENQ+9qwR8E7I5uSmXfYw1xwlJqUHiu9f2j0cEZ7XHhX\nDYlgd+2mwzJOrZHTiWtjBHj7RMVgUWXbP0NxGiCDvES2mF0fFRU2/y20m7CD\nWEbn0TBvq8fdEvubMp8AICy/Qx25aPbYU5wFgG4DIWTWXC9a6D2VYvVr+eQR\ngldA6qYQrEiU2F5OERKtabYnwYOP0wbMVMR2oZE5ZtgqEfXlLB+C8+yTmGGj\nN5VDOpdxI9ixy1/4AJ4874yEakFSm6WYP27BZFmrqXDnajprKv/kHtdOUriV\ncGWioZnlPM4aO98lsiE0T5e5obfcBdro3s7OQ8kgmWdvc/4wztIyxf4eN+6B\naHG5\r\n=nFiS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"fcbe202672e2b5a870670e63b6d5ba117d8354af","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^9.0.2-alpha.3+fcbe202","@uniformdev/optimize-cms-react":"^9.0.2-alpha.3+fcbe202"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.5","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.29.0","rimraf":"^3.0.2","esbuild":"^0.12.9","ts-jest":"^27.0.3","cross-env":"^7.0.3","typescript":"^4.3.4","@types/jest":"^26.0.23","@types/node":"^15.12.4","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.12.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_9.0.2-alpha.3_1626886055271_0.21836054920518233","host":"s3://npm-registry-packages"}},"9.0.2-alpha.4":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"9.0.2-alpha.4","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@9.0.2-alpha.4","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"42b5765f8678fc71f1fd31418eb055bd6336261a","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-9.0.2-alpha.4.tgz","fileCount":6,"integrity":"sha512-m6TQ1firHhTEmhZ2UD7BR/yUQ7pBsklcVWgPsWXE3oYZ28Ai/Xh7jBeGcdCpnG4aexEDKrWCFd5sl/ZFAhw2Mg==","signatures":[{"sig":"MEQCIHhIRTyQqwcf/3naOMMSfdOl1xzVwtsI+ksuTGruWWzoAiBKPasXWrAHiUamYIsS9wfxoo2Rkc0qjjjd7j4MnDq9Pw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104228,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+INUCRA9TVsSAnZWagAAeSQP/iqzc9iGmTngcaT++mck\nynH9AB0ScV5YeJrY8QAeVBnmZnWBP+WxpcGHVc+ARWXioQK+vaXOlN/oy76R\nL7jqU8neNUhNggiBnWSkgudTWGXJ+uyL+EtklZW9sfXjNCL9/hiEtMi9dKlw\nWiAtN2GITxxRJSXbz52yCbRt9cbQIxmfkguV3gw96yOzSg4Ad143mEnGkK7T\nIR7hq5m1D4qUL6B40bzTWuC39vUwu7zmugiHSWZGHBwtGqHCoRvMqlkeg4EZ\nDW7pYcqDIB7USzx8EzeXjGkxM4sWhTHUHfydaC6JKi4WV8I89E1ToEM7Cb6h\n/fsGqTnrC50iJ41CZetQUX4aiLTVcz2R2fSBS/Cc34P3voN+cnIQLOiUbkvV\n0uGwtdIpWzrfWBvDLMsF9Xtn7w6dgXs+I0zGrIaPXlOHy9Bsj+l0mKl2qupn\nb4AEfKKLraTQpM2PvPk8ZCqaRxj3FvyVDfVmh3+a9CLyIpz5j8BuC+mcIqCp\nmEENUxYrrADLYAfuYLGibB6vpKNqtyeLNrdSWHv9V1AwTZMxkpaciw//FrKi\nuS8hoBXv9hUwMJVLDyrnBBo9dAoyyvfwRrhOOJzumDBalCDYrdd6nSExz1om\nlxbGc30emi/yHpPzpsmYRd/OLXqO66QmXtvW8hpxUo354DoZnInVa4rn7D5y\nBgGD\r\n=BsBH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"7a04312d9ea68e1f7d0ede5ac7db3649b6186da8","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^9.0.2-alpha.4+7a04312","@uniformdev/optimize-cms-react":"^9.0.2-alpha.4+7a04312"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.5","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.29.0","rimraf":"^3.0.2","esbuild":"^0.12.9","ts-jest":"^27.0.3","cross-env":"^7.0.3","typescript":"^4.3.4","@types/jest":"^26.0.23","@types/node":"^15.12.4","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.12.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_9.0.2-alpha.4_1626899284413_0.6838497279763931","host":"s3://npm-registry-packages"}},"9.0.2-alpha.7":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"9.0.2-alpha.7","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@9.0.2-alpha.7","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"bc1ef83ef3eaaae0174f08996bb895096f039db6","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-9.0.2-alpha.7.tgz","fileCount":6,"integrity":"sha512-jM4apLhKRRPSTFXQYzArzy0IBukVhSNbCujmRuDJfWIm9AYOUD767/yC4LfUHUGVVRT96UoMK7KM/gZzpHbg1w==","signatures":[{"sig":"MEYCIQDZI8iQbJA8UlGI0lotN2tInpa1L8THaPf/O2Jc5xGx4QIhAI1CkRZa289w05kejkhPj2QLHo38cbiANiz8opEz4eDd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104228,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+1CWCRA9TVsSAnZWagAA40UQAJy3zxMU4z0nLB2nfbx1\nhMl8Ro19fPeXDWjkAzBkB+C8gFLSmgBVSNl6LL2FIQnNZ3zcmgcVVFtnS7NJ\nVTFW31RagzfANJ1F75fgKwc7j03ovY6f0pvKy5UW1q+E+HNcjQQ0jmH648Kv\nup00sd7Z+QAD9h1KNt0OwjQ4+u2yNguCd4IDzqo5J3byWCaIQi/8XC8jAu3x\nR7xW0u08JBHVeXZZk4edl0VICJZvW0aW++G0a/CDxAyvJDCsnx7IfmAjAMG7\nkRMp+QNXbtNq2RuNAA7V2YAxS+9MNVmcsup5pgKmF7QrGcDCyZmkZr2iXG2S\nywRB9nUrm55GcrhkTXHLZLgNcMiZXHEFiJSBM5X3q6F51qFXG7BnHfouqkV6\nreXxI48nsN+CMJy1aVLi1/M3fVpIUQXhCzw7RHfPa7rizaEAZBVfwgYTEjDU\nuI60n0xOdR9lR/h3XVw+iqm2/CU5njWsMQ8v1d3SRUPVy6+PP3rm2ljy0DWL\nnLErYDkJuGZsCFTAuxvsIhYKwFjVQQJfHJfMCv/qUTenRB4sQpb9mJjOSo+A\n1vNmhesebBD+BHFeNAVIL+yHt4u7USX4ouW2LIr2RMBi5sBdW8asSI2uNBxF\nYjV956sBtRzdQuIDYVgzB0qZPCfsAtdXS1uXLKfAiYyiWqFbpMemKr5E0J+R\nM1cN\r\n=HhG0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"b637bee03b489bdf56dd88c5485c3a50c2d749b8","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^9.0.2-alpha.7+b637bee","@uniformdev/optimize-cms-react":"^9.0.2-alpha.7+b637bee"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.5","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.29.0","rimraf":"^3.0.2","esbuild":"^0.12.9","ts-jest":"^27.0.3","cross-env":"^7.0.3","typescript":"^4.3.4","@types/jest":"^26.0.23","@types/node":"^15.12.4","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.12.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_9.0.2-alpha.7_1627082902068_0.9608254384871204","host":"s3://npm-registry-packages"}},"9.0.2-alpha.12":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"9.0.2-alpha.12","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@9.0.2-alpha.12","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"65af94b9b669316d995a3eda5971dadc2a8d0c21","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-9.0.2-alpha.12.tgz","fileCount":6,"integrity":"sha512-6slvl86IvxvynUzbpjoRmKHhS6G9qSswLnBSZSQnprQdi8nPMDTUtxmNFv6e4pZUsDOiI4CVz51qwj6C4upycw==","signatures":[{"sig":"MEQCIDVSkO8qhEXgVlpVEUPIn1OsGp6/JLIYkzn+H/5GwHP1AiAIupYdoklt5p2cdi/yR376b4tEwpsWOzMAsVauO016ow==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104231,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/wxJCRA9TVsSAnZWagAAYzcP/3fhOYBhCKYuovc/y9Sn\nFBHVQKhnogGgZX/oPI5veDb8iPHFl9ONnLX9xDR8nY5GytI3Q5doqsgqiQqj\n8RFEMsRQLvF2TkMmsBsoy7iMI9xlCzT8ZoR6eVHsS2podaJzUarcr5uvYWCV\nCzdc9C37R2JIG9lgrkIbWGAJulJWbvzxKaJdooaTPM/YMkvVf/AnKLdwTKCh\nWUY00ZbS4ZQK7mzVm3vG54rn0Z7vejVHlvuaUPnuicG1nW6UXHnuI6CyshaX\nMN2ebe+8+qwpBshCSf2NYvM4L6+XfOa6lvkMvc965ksll0aQpkTJqtYIOpJs\nERvET6xTzknWsDIxGDoZhsEeG56XxWBEG6kmUEKZnIQrxFiGw78G/o0Uy/fi\nrdo3r+vsQMnUFHH9yuuqXQV0HBLTYPkQ8JyM9UphdS+BraRIRun6NVAF5DfC\nUHiO0Vscw8b9H2xcN5fZBHsop43OE4C3IhZ18jzVaDeRskAELq2hi1VaMpdp\nF1kDDonYWjsuMH4C58Csj2HNux3Qf0UMa+hpAwzWlAJI+OQ4yU5lyULjU6G4\nj88Sp89BCM4BuMbTpmawGAT3+4z6lOWgpnLWY9o/H/Qwk0efrmrKnGp6PTnG\n83hU3mk+J/YOJrzUzBEaDAL6mEKZGVyXng4xt6uArDN7eEopbkuSm/6EQA0W\n3q6E\r\n=e/bo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ab5a7de00a7fba9e1810ade096abd244e27bf233","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^9.0.2-alpha.12+ab5a7de","@uniformdev/optimize-cms-react":"^9.0.2-alpha.12+ab5a7de"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.5","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.29.0","rimraf":"^3.0.2","esbuild":"^0.12.9","ts-jest":"^27.0.3","cross-env":"^7.0.3","typescript":"^4.3.4","@types/jest":"^26.0.23","@types/node":"^15.12.4","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.12.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_9.0.2-alpha.12_1627327561657_0.733160552518866","host":"s3://npm-registry-packages"}},"9.0.2-alpha.13":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"9.0.2-alpha.13","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@9.0.2-alpha.13","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"0455f86f9eeeb9cf0323df2f7d077156d1c56fd4","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-9.0.2-alpha.13.tgz","fileCount":6,"integrity":"sha512-3jF+gpZ8j9kD3+PlLf2Ty7DsgqD/JBfmkct9XRkHstBhbES7EZfiGvROJRurcldIZGxRWvOPj/x7zVP0TaB5ow==","signatures":[{"sig":"MEUCIF2nqOYHLuNhg8mKXVDhCLGHeRnMG2JzuhskkmxQxheaAiEAk7XORdDz9ylLkJjLMg1NPe1VxE0TiZrYs6Kp+nSLaBU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104231,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/xoXCRA9TVsSAnZWagAA6akQAIEa0Mn8s8og3OL/wlTe\nxrn/8pt0OPz59/bQPEiVketHEoN04Lwr8cdGsCnQUge+Uze2Fu/rR64XAhtf\ntSewAoDBOY8AnElFDsmSplOVzpo1wGqf2MpjZfiwCu6arks5pq28FY+08Blr\nu+7O2VqfppKprh1CRw9xmtlS+hyjUQWVEs8qYjk0VddhmW/7g759Xrj0phPN\n463SNZed6CBTSPqveLHiXtop0kHuvo7sY2PU+GBg1mLmbi3bCk+pgWnKSRrB\nSfQB2IjpLgeQxAUVM51AGXsU/O5ZD+p0RrBR26fGCwEVOshh9LnCKNRE5LBL\nCPV0PpE0dguDSuLYvQ62H3Gnwpx+PeEzwYg0ShUv8ZxO4c/3pFDohAAyW7a6\nDtlLprAHBkP2g0mjs56scgfKcYRwfKTu78vt676uHsCXYM0Y/7d1cpe8GZOs\n3/94/MMZ+H/rvNUHasKLrEMPaU2R949R10JwGumIcKut+HdDQMqTUOgzwCli\nRyJX8PmroXODF2YU6u5FBtiwxXN8MCHXuO9G5CGcOcme4hWxpssjCsOosS8U\nhWtvCavBKhDiiHoBwk6JPAX/tUOrMirc8I3FYzl08DKoUmYYO7biS7HzrVuv\nuGlMW3ng7ULupUaWOQj6gJEV7p1GFR8MMGE8FpIsPWusp0fAoz9W7nvTq/hH\nTZR4\r\n=/rW7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"047f40418b4ada543e1e16832daacb6b456a1619","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^9.0.2-alpha.13+047f404","@uniformdev/optimize-cms-react":"^9.0.2-alpha.13+047f404"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.5","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.29.0","rimraf":"^3.0.2","esbuild":"^0.12.9","ts-jest":"^27.0.3","cross-env":"^7.0.3","typescript":"^4.3.4","@types/jest":"^26.0.23","@types/node":"^15.12.4","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.12.2","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_9.0.2-alpha.13_1627331095520_0.7333749736673572","host":"s3://npm-registry-packages"}},"9.0.2-alpha.23":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"9.0.2-alpha.23","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@9.0.2-alpha.23","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"d24540d39ba8923b55c3229a72e5bdd5d1bf529d","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-9.0.2-alpha.23.tgz","fileCount":5,"integrity":"sha512-UVeORA6ujoArxvAIW0abQFVbBM2vohHwAMQ9VK3caUzFuU+e5L/ZUwGIhjy0DAs04BYKrBRd4GONzMakqFEmyA==","signatures":[{"sig":"MEYCIQCv1ogF2AcrHYiwOKBhKBy5jyDLmxGj+QPILKwzgEMyNwIhAOuGgwUs8HeBxUKoSvVm3+tszv28fAwAsxkstLhfFcfD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAtHhCRA9TVsSAnZWagAAq3IP/1LCet2/IZHm1LLTZ/qC\nAU9lwkhslNbUiEtxRAJgNJKBlauHmqWscDWjEoEaQSfCEF6LJ1Pq/KbeoXac\nc4PD3JF7/Kfqz7h38N4G5+pW3nmtsMIsnCIkpiGhTgA80KcWk1yeYydlIviK\n/EwEZ2+Px2Zagnbm3DNKKqEi8guf2LJcO9qBsoEW2TZzLcCZXJ+3qbwnDwvX\n0si21QeyPvsyclZAgApyXKjrf6SXP/Bm0Qs9BcI+ovFMNtzTJEkfJZ9RMl0n\nFNh+LFbFxIj7buROXUmVUvVLl1GdbQsdkhDOI5ZFgXN1rhzEaUS5XHORMS+b\nj5mFhejvdlGHCt5+qLDT/B119cDjuxJEgDvpBe0jQCGXEqMcqlpgHamP9nvy\nkjHaisT5eR7ED62t0ZPMqywiniF+9sWzqqBf/OPTpheg4+mLd/7xRWC39PET\n0hZ5CMjTc/jnt0DqXHj49fBZKIWuIQ3Vrgb153kw0RDg/7EOiXYoK/62r6Uv\nBvwTLWM9ZZ7JR3oVqi9tO0VZzbS2DNJxkLojs/kLKNqm2U7q+egOssTocJ5b\n34/qLmat47TTkxDRLtTLVr5YDv96yeZOOoyHXkhxggvkJYlgMLE6ZNXRxeKz\nVUM/MOkjk239UPOxmf/JyHBk9/vtlUeSPOfZUxJ16+ti5Ssb4dh3SWtwaIT9\nYGiZ\r\n=prJh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"baf804a51802b5369df8c7912e2ad1406315958a","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^9.0.2-alpha.23+baf804a","@uniformdev/optimize-cms-react":"^9.0.2-alpha.23+baf804a"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.31.0","rimraf":"^3.0.2","esbuild":"^0.12.16","ts-jest":"^27.0.4","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^26.0.24","@types/node":"^16.4.3","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.13.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_9.0.2-alpha.23_1627574753590_0.18854888990531493","host":"s3://npm-registry-packages"}},"9.0.2-alpha.30":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"9.0.2-alpha.30","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@9.0.2-alpha.30","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"9f12199cde50a91186cf04bcfb17a5f9eff06fb2","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-9.0.2-alpha.30.tgz","fileCount":5,"integrity":"sha512-NTwMTELhbUk1f/slBPJ2B0Ia37gdRIVq8VYwCNdTfhNn6uwv/NVRooqd92SODlxlQAcp4QnF9O7r6SIL3we63A==","signatures":[{"sig":"MEQCIGrljogM/AJJjM5e/0nZtXLAx4gfrxpk4L8KYAt/OE2yAiAzGXrWI1St7d1+09PkrexFQpXWzvX7wS5EBmgEprHsMA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBHHVCRA9TVsSAnZWagAAHE0P/jB8sF4agIoOUfsB12QX\nNeF/Yhn+gixSJQ/RimAStRqxN7RaF9vtLJXjz2S6Zdl3oViPbYXhKjyOwZpF\nb/gEW6O4pF5grlqF54RXo/BRSH9zHxu6eZi3Ldc5iDqvmZ63nTV6+BMkkJzx\nt0vaoFT+iMrZ/K6ZyUeFhXomKymOAsI7JGrsNtNwEq2RwLr3zw0f5JCwE2/e\nyxyz+bFltTf23tJkH8bQGdXk4Ib3wXKrVqAF43CT+2JzNEKfnglchrHYNrY0\nlPkfeZHL2HwChOiyV69POqIlmHCx6Cp4HQ8ZDTqqnS62Z3oTrIA2t2+Rx6O2\nSTGbKKjVC1sgaxj8B5VYYXFTL5sDRaNx1gj6FJSunkHPgBFt3kMDUS4Mlfti\nYJbPecPdzoaCApIGh5htM6gMsKBZ8/MB3QAhNUUSAfsFYRd0UrlgR8v817mv\nL4vkDf/0Mn4us4SbfgXJKfvZq8Fb7b0JCgE7oaXaK6Q/X73t2T3rwf9qfQBU\nyTpNEzxvHtCFQsdPBuMr59/9/50cTwrUsmRMCKLO/Y6hLkT5MgdK+K3M7wCJ\ndtsGwfwDFblYULUHdscrXY2qF1sSso8p7adqyxSkLZ+OfVtmFg5py+mIp1tQ\nceRrCVd4eN/B07tzYKJOaE0Z+HHFLta9cOJLQYqTwi6DXEsepBlSgzROiTRZ\nX3kR\r\n=0gys\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"7b7ae3746cff8702ca8760676e225a19988cc380","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^9.0.2-alpha.30+7b7ae37","@uniformdev/optimize-cms-react":"^9.0.2-alpha.30+7b7ae37"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.31.0","rimraf":"^3.0.2","esbuild":"^0.12.16","ts-jest":"^27.0.4","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^26.0.24","@types/node":"^16.4.3","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.13.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_9.0.2-alpha.30_1627681237155_0.8116759704810885","host":"s3://npm-registry-packages"}},"9.0.2-alpha.31":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"9.0.2-alpha.31","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@9.0.2-alpha.31","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"ab0490a9b2cb43cf7f9126346ce0badbc01e79db","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-9.0.2-alpha.31.tgz","fileCount":5,"integrity":"sha512-PJc27qMW/VhSNQB+BlRcSHA1d4M1/E/LlS2H8xy775Cy7fDB4mxL9Qbqlpw9vJIPVyGcGIuKaThmaf1AeXzdGw==","signatures":[{"sig":"MEUCICiIWEHd7WN43LRG8Kt/PCWJJ7Fbl8sSkInVEJB73X/YAiEAkXYje4DbeVNxMk6EuJG5Um5xfNSmYScF42vME71xsA4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBKP2CRA9TVsSAnZWagAAqTsQAI9QhNDEXHCfNAfeitYu\nouyhj6J7Z1KsSk87WoQdc09lrxzyV6qM4OkfZ44KFGZMoZcJFuY+oC/jU5Ns\nH1wA1DZB4USaqlrL319wvydqDLzPSFHKucmrYjmdnHtuEyc2/bwJ11HUqN/a\n9P70Smrv7JiG2uCSgD+vidnv5oteNmmwOwieT/xcA2JZRM9u2D52wlP1GZUz\neKg3c1g5YIrESyGdod70D6C3qwQlddYeC8WyjF0DVZiryN/q3jSI9ozQQu7P\nLMX5Iht96EU8NXsx1mHgSOIPZq0mVCDosKGlexPjJxXVjjVQx7IQigXy1LfP\nJkIbGuWatLIGCZ2Z9FeMICSpmMc5ZZD7ir6wM188yxfXFZp25YjnUZKfMR7S\n/6LMlsRISII5Y5c3dTB9ZCvq0dXfrRC9e4TbjZSPZymG99U5yXkOA26lZpaK\nzodnJKfju36so1VDP1G6c9a5MU/71JSllolbspBl8OnG4LnBbItcPcfX/F/U\ngFqgbZ7Y5VJ59BjRXX+P2e5EInrpRYC4GMTQ1vl6+8ElPT1gK5EY9J0oMosY\nKaDSczJoueAXDhuBDxdQhP45YqnuxRZ6iDVKHQMoRGh4qXbsHSiS4W/rUNIF\nJyChluf0Si78rG1/jH9RQhNZ89BQLPC8ybrLOx5/ckMbhNEN3yVmnCPSH0Fq\nTpfi\r\n=UcqZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"44c85df73fff7456be44e55499b3a599e44c9abf","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^9.0.2-alpha.31+44c85df","@uniformdev/optimize-cms-react":"^9.0.2-alpha.31+44c85df"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.31.0","rimraf":"^3.0.2","esbuild":"^0.12.16","ts-jest":"^27.0.4","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^26.0.24","@types/node":"^16.4.3","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.13.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_9.0.2-alpha.31_1627694070586_0.29168304930022737","host":"s3://npm-registry-packages"}},"9.0.2-alpha.32":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"9.0.2-alpha.32","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@9.0.2-alpha.32","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"ebc424ecb4fa758799fb2321cd0cdbc3b7fd6e29","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-9.0.2-alpha.32.tgz","fileCount":5,"integrity":"sha512-Qvs+CEVxfkmCUnNHKul84uS5pTZDs7cM4Ti61BzYtGwqCoQeSjhZ0XsWz8wURdVn2LJMmEKDyqBiC+heGYCkYQ==","signatures":[{"sig":"MEUCIQC818fm2A7SyCyns1O6JuSRxYkdETgrtprGkh5r1nOlNAIgTd8HnYHwbHiEGcCY80gA+rekvjy0E2nfJ0j5BuzSLYM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCa1zCRA9TVsSAnZWagAA+SgP/AxNQHJjBnaJXoG3tqAG\n4IdDt63RT7XI8ac297v1nmR6yUMNnNKuEojlJDQozpVasvEjw2OheW95N28Y\nK7H7hmyIGqqWjik56nst9Gy5IZOCK04f4/qF001tTlvqnorpCmmVWAjaKkQF\n3qbEvYgNaQYIXJJBmUN1PZQ41Dcb3G2jJHQsZeGskai39GQZyjEWvh92M3d0\ne9HCy5KaCqoCNabNxKvCBtrXbhOhk1ck5QCdKDiXQaeQ9EkfyeTFsUvrTLlP\ncgFB3+3bNsyeaHzyRefiijNiHLqnhHUBaZeQApvJQ/Wc4OODblMkUzivCBnl\nchTiB5vvKQo21Y2cYQywm48DNE8UVHhyrCka+1NPLkgrTFMbGQFBBgT7fEJn\neOqB5SFV8vUFkiFAywPbLbulK3SFYLMRj9Vkgg7OZZ5pE8Bj6bOmkNVYxDLV\nmhMt1lwtkOrlZwcsel3OhTLH2TwJl6ncOP67wIoMrhE/0mIO7kR6IMOcbcFT\ni3vL52j4BXwYNOsYrB7Bvjszk5dF9SEAmPC3HYxe+5q6te08fPezvwMP+R2i\nkXW1iBSZNKF658HVRx8qFoKSUS6IIHgLaVryiQyr/EwQsNSbrIbYEce0iDnf\nYnvv1EVRRGVcIMb1l54xbwg6TWZ4Oga0QPthbjyaIpvqZEyi9XFRPDkKKbFO\nCEyx\r\n=ysLC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"7ae2c8533246e387395f7a6259ec50a0389d6900","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^9.0.2-alpha.32+7ae2c85","@uniformdev/optimize-cms-react":"^9.0.2-alpha.32+7ae2c85"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.31.0","rimraf":"^3.0.2","esbuild":"^0.12.16","ts-jest":"^27.0.4","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^26.0.24","@types/node":"^16.4.3","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.13.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_9.0.2-alpha.32_1628024179630_0.3553530220981338","host":"s3://npm-registry-packages"}},"9.0.2-alpha.33":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"9.0.2-alpha.33","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@9.0.2-alpha.33","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"a4d3475da4060d2642ee48d153d4b81cf45fd1e0","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-9.0.2-alpha.33.tgz","fileCount":5,"integrity":"sha512-qoOSbaeUnNhKcb57rxv+UVPo8h2atgVtpcwRH+EPcY2vjYpaixIqIS8ao4GM9+PafZOlm6GzAKXG6vEOYV0qYQ==","signatures":[{"sig":"MEUCIFe3n0y4ImEr71zai2/QE+ySeLyriOeq5BBxQqEONieGAiEAkU0hNvuTcE1i8ehERAmcWaJj1uOij90mT5s/gleImeI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCv7OCRA9TVsSAnZWagAAf0MP/jOILYtWHKERaZtjXlkA\n/BZj9rrEsZKxTOfFe933cF7FL0nnlQOfjdPczkbbuPaU0QrrxiK/qRUqHH/q\nXZ5NcJBJ3pD+2fxwxZUFvmq2xnhdeNOsKZ3lNaoXm1+rA1nwbdnxwEOdhCgn\nrbX7oxU7a8/wbY7pGT7DDrUhtktOCZ5Oh50Kekm4/g7A9gfc9jhWrlo6gbZI\nyZzCrluTJ48HvBEyV8j1qH36oRpdYI+SRG0wPbXmj+0IoT44qyKkYv4aX82g\nXmMs6h/wBDEKJiBlBLyLh8HO1xrZpBxqEQMSvcGKc++MmLRkky212zFkAuEK\n5HP2HWES28r+JrimDG8pB3OtJLAsHo+ZwJB574Ywd8D0PdpFB8zvTR19QnqP\nVOC22uQkgI7xyaX4qXunkkm2ZXfcsfbMAd63KAfBzdK77k/vjkWB9qmXjJe8\nqexBpNXrBNbF0y/ltNUlov6SvnN0P7MpELzEzyJk6t4ArBcAlOmvBG679Qe+\nsmvv4j2/2lbplueg8pw2OelK6gT4X8RSYX0DxhDhpEJTG4psJsP4v2Hz+ItD\nF76jiML3AYetlXK7LlvoJkCdglGhKxaYXXkK5WW17uvzkl8bdxCzYjFWXT0K\nBw7G+u3fSAOcNCHxcW4fiR/2NIcZsQdaPwubLFwm4GiAQepphhGL61/+/7s+\nn182\r\n=2nrM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"0cb4413f6babdd46bf902b767144c58f1cdca878","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^9.0.2-alpha.33+0cb4413","@uniformdev/optimize-cms-react":"^9.0.2-alpha.33+0cb4413"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.31.0","rimraf":"^3.0.2","esbuild":"^0.12.16","ts-jest":"^27.0.4","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^26.0.24","@types/node":"^16.4.3","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.13.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_9.0.2-alpha.33_1628110542455_0.8203305837079675","host":"s3://npm-registry-packages"}},"9.0.2-alpha.34":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"9.0.2-alpha.34","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@9.0.2-alpha.34","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"1447fdf89c50412d062eaa2420f1e10ee942ef79","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-9.0.2-alpha.34.tgz","fileCount":5,"integrity":"sha512-v8H4tjlGJaDkLCF4yLDzvS466A7S2DwJwStF331B+fjUOYeTi5Aad5KJhOZnZAhrD7ICR8wyVN/HXdAXSNRt8g==","signatures":[{"sig":"MEUCIQCsMvuxNJXdFQB9gXLi4Lt9+RqH9dixf72jiZjVoqxOdwIgcySw8pQCL1utyD5Cm/PgBcOpTDLwuhS5gafY2bA1hZs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":172621,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDbHbCRA9TVsSAnZWagAAkfIQAI1CYzbAxOFpC4AxIaym\nG1gy7StB4yNY6/XVTfepse7+a0jKIzeWyegvgeQuRX7VmyAwC9gVMZb4o6Lg\naxENE6E3Rx4YS5EuyAgkXg7AwunHo42jd9DYJHtAAMeqMK+ncBiJyqU1vg86\nSIkH2xMwRoJhdjKpdowa4iOTacrLCTb210KhW0KcVAKjM/qv2Uj5d0h85byr\nsWtOsCAdZkKzac63ODzpO65rfn953SRPRmshXJl4cGuuM18DR4YEYNKG5i5J\nY+aI+3wLSPjifqk26GKpfLEt5whUsMOBQ+2iLK2+kmT4bnRo3dkkQkxs6hJL\n/OyQGFT2MoZKvK9NTTEJX22CZ/v17iFIuiy7XxFXP25WOSj7aUfDa+Kqr+v8\nz9f80syKjuuXvRoTpqq2uf/AY36tGa1hbK/7kB8HjiVGaohepqZ/cbR6M0YY\nOTmUGVmM50QFPwEMfvxtTIEtv1rNQ5N/aMzS1O1vo6Pe2RLVDgLpQugeZSGu\nsGEBAjpON860o/Q1se8rdCEWTy3QDFT/5IaqtNprTLmAKlZm5uCVigC92W0N\nHPhBjiFCjePiysr9BWz7+n8NS75mFglpa12uHE5T4ftCKvcLVrzaoEVY+TZf\nyknsSvpAUHeMvr1HyOiFM8RA5me9rgtfoRXOwearneu+1ekL2+fTcCcxN6t4\nFpAt\r\n=cOKm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"7d9c5b35016b82f5bc85e9a462bc9206cef486c2","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^9.0.2-alpha.34+7d9c5b3","@uniformdev/optimize-cms-react":"^9.0.2-alpha.34+7d9c5b3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.31.0","rimraf":"^3.0.2","esbuild":"^0.12.16","ts-jest":"^27.0.4","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^26.0.24","@types/node":"^16.4.3","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.13.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_9.0.2-alpha.34_1628287451339_0.11666063521340919","host":"s3://npm-registry-packages"}},"9.0.2-alpha.37":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"9.0.2-alpha.37","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@9.0.2-alpha.37","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"657ede1499457015d08cd727261348987f2a2752","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-9.0.2-alpha.37.tgz","fileCount":5,"integrity":"sha512-M1iv4oL+6RertEt8/DdI0k7RLWUlFy4aeHDmNdp7KAhbKhWQb7e6tpmxNKRnWmMvhNRuA9JTNvsGTecFmVEqaA==","signatures":[{"sig":"MEQCIBagKNlqC7caFa+TemzgVaZ+Dk75DLzCcLeZvD9tnWxVAiAEhfAw/SJ7v6El0HiPYzi3o4MvLQkRPTRs9pPwdSw5pA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEsVECRA9TVsSAnZWagAAem4P/iMlg4QryqiE3mDxQ9xi\nY/WyG3BA26Hd3vre9sE9o0kdOe6RvUnH5UvKdMA7TtHGWnYIFn0KMEiZ/r2L\nknCkT+VogvdC8A/dakNYmA8Jqw8Di4GePR6LYEGzJzdDjDo2xMT80X4x/qVi\nbLiF7GjFVrYntD43i6MqX2d1y7k5fOOxGN4n8LOOL2W/0vI3LOXUwQjC8peM\nNBoEwgx7U7b+npkh2BKWtBwJc7qAPjCb4ll5WirHc7RLUOBjKT4kTJU42MGz\nrfzSuJ1vhhOxWFk+1oODSyVbTb9wFdQRi8Y8b8mJY53FzZxfZ81j+IavuouY\n260gun4LkA3XSnZbIYrd2nhIXSRkrp44che74U2jFhLEDTeHFdW6gGwOrnKE\n9XSideCdqVPqgo+54GfYOtrG1jpIQrxpVTxcNGlOJwZLZP+IcRrHb5V2Saxt\nLbRbjyE8JT0Jp5XC9BWs03thMix3KyC0o0P9ylnqopWgNDSq/34wznKv6bdC\nrskmHqRr2Ir6az43Pxx+mWRZpf0vfz9RfOHv/V23Hr78BoMz+UqtkPO4njC7\n/ZpD4I5SK/N0+3Y6zjA2O74fJr6NbMgtDnXgiMyo7NZsitMcrY4yTQonIyut\nzAVqikZqcqwnsUS0vgcspUiVs8QwHhoD444vtMspSbcBFxlZAMUWLXEMhB2S\nOK5f\r\n=/NZM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"177949f44db3a2222eb44eef41508f133bbd018c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^9.0.2-alpha.37+177949f","@uniformdev/optimize-cms-react":"^9.0.2-alpha.37+177949f"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.31.0","rimraf":"^3.0.2","esbuild":"^0.12.16","ts-jest":"^27.0.4","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^26.0.24","@types/node":"^16.4.3","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.13.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_9.0.2-alpha.37_1628620100082_0.269797013324373","host":"s3://npm-registry-packages"}},"10.0.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"10.0.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@10.0.0","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"b33d84591f05c0ca5ee30103b1e193d5491d8b35","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-10.0.0.tgz","fileCount":5,"integrity":"sha512-gvmTOkALvkeLbl1fxbdy3PqXkMMc9uC0uFpFVrCUpWlmhwTv2lXAilo0HlKWmPnENxKZX806MbqzFZE4JgQpLA==","signatures":[{"sig":"MEQCIFY3tIs+xF9enDMnavDaKmRIYTMlV53w65l/KMmxozxoAiBix/QEfw/GaZ1ayj+6QBThVN38ma//oTvpeb4oJ7WVwA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102542,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhE+yMCRA9TVsSAnZWagAA+BoP/3I0gAJ9dqhmXxwQrbh1\nFpaMsrxEtWNoJCK4g6nJcVnZ3kJbAYsMC1dBWPYgKspXMPLRbp/TPzCu+maf\nGYC35NlG7fii30RDJEoxs4RmhdSMvUXtxqiRHbdSvGT7VTNKHZtphZOL9yk+\nXq0ahFuDbp97Ud5eNk34N6+LxoyaDj46idiIp0ta7mMKbwLkUWPYY8jQ++rP\nTua9wvsNI7C9dssuhC4dXMW0Gt56O6ntiDX0HcYd2q+jnB/z3iTbEXQXJtHa\nxpf2y40di7MhClU4VB8PnrtUk3hBkHJtc+OqQ4A8nO5A0UFQRMRM9L6Kt+cK\nWbK8/FnYtkL6aOwJ/Dg1j3l3jDSAhVCZoj8EBPGpouF24IeteNHbdV2iKtDf\njgJ4ZxHsGDlVqJ3ffuqK8YmMEFPNgjR0vM0yxKednBRLoU+oNK6bgSj4C7rX\nNqmK6KSMBVWGLwRYb+AA5lcLZbnW0ydW/yEwzLmLM+bIVywx7F8a5pYwa/Vs\nb9uJAi972DREePplYd7sL33j70sxDPHoOU1Cx1q+7OKhvVV7rvipflkCFiAN\n9n+GB1kO1clNSpxtcHVh3uJKUjjl/4flVDW43U500rwADo0zD2hU8xnVEtQz\nklh8Ja8bfA/UP0lBamVTu1wyyL5oefcjb5ONqhrcAdzG+lcpyxt8OScXD/GS\nppMa\r\n=gDQZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"c76b880c79ec1ceb4ae7969f82c21a032b6984ce","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^10.0.0","@uniformdev/optimize-cms-react":"^10.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.31.0","rimraf":"^3.0.2","esbuild":"^0.12.16","ts-jest":"^27.0.4","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^26.0.24","@types/node":"^16.4.3","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.13.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_10.0.0_1628695691914_0.5726303512082995","host":"s3://npm-registry-packages"}},"10.0.1-alpha.12":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"10.0.1-alpha.12","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@10.0.1-alpha.12","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"e44e48a83a5c27708ab8167ed5c7fcf1c112e8da","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-10.0.1-alpha.12.tgz","fileCount":5,"integrity":"sha512-1UyGGcW/MfGjavZ+/1LZWS7Ew8qzRnVC5zie6llTTS2S6/5zPVERyUxQHmZ4f78azf8W3ObOOlGYqQByswT6Lw==","signatures":[{"sig":"MEYCIQDi+/OPq9ndUN3E8GgS6DrUcvQZJv6j2rvume0vJY6y8gIhAKuoM1rQ4sshM8ZYpI/Ix6A5UIai6GQqa5TKKbcmd+RV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhI7tkCRA9TVsSAnZWagAANPcQAIY3jLrSKXRP3MZgPCAo\nls1T3TiCgfyQ3KmUAxhg9ETtjaO0ltfzz2FdRSM6RJ1xRg8CuNgSmt5xlKUi\nhn7vaMiFs+Sw24cTJy0gPVBKrnxLgTVZ3gjyqhepIVD5itn1uMi4YkA26NE/\nlzg+1UBk3rmuXmcpBmNVlGCVXls4v5sz9eove+1hiG6dtDuDLt9TycELL+4D\ndeQNeuDgjonPpVkUHPRWgN21xu2mev460EvaQVgAfSVNuYOtzFbD4FTW7rfh\niF2xCJMIGyU0jWjhjGzHl77H3gekeY00uQkcaF0Tfe+Nl0v63AFL3N1ik8zY\n5i+wBP3bncmFa9WO5eQioOgZqyBUPVt30q2Q3psX4q2ThRLNoFG6b/kX7WkY\nGUrYXJ+1QrcXlr4waJgVZ45+EJz5im9X99+IAfQYFF4pnVx32+DhFv/Q55WM\ndDU4voivIvNDlsdoAbTZs3VzVpEuQ8oxB/zWovHjadkyJ+vCOj4dgkDRDSo2\nw07Z+qYDRGme8n42SeqsUmiIQ0L0/gUj6PNPeF67BbTOvOid8Zm+WeGHtlMN\n0xJvicjSegh+MYp+ispJx2xcDzSdai3wxahziFiK5LVnEtGul7KlOgON9CBC\n4oH3kOB+dDywy1DrEWbBoCxNBxkMh5Zpt7NsZZFMUK5edrO5kwyyx3j2Jbz4\nbPa7\r\n=4HwY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a1b9228c828c9b8f56ea7288bbe564a55ca82d98","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^10.0.1-alpha.12+a1b9228","@uniformdev/optimize-cms-react":"^10.0.1-alpha.12+a1b9228"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.32.0","rimraf":"^3.0.2","esbuild":"^0.12.22","ts-jest":"^27.0.5","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^27.0.1","@types/node":"^16.7.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.15.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_10.0.1-alpha.12_1629731684415_0.007698370751949568","host":"s3://npm-registry-packages"}},"10.0.1-alpha.14":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"10.0.1-alpha.14","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@10.0.1-alpha.14","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"dab20ce8c3113aba48dd1654e27110751540bb74","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-10.0.1-alpha.14.tgz","fileCount":11,"integrity":"sha512-rzZyq1AB0HWi7pDfPOXm0zQ5uEkgYS06Mf65C5W9YYP2yin9i7WeVfy3BlzoFGp/8IVZ93yHieHoMFB/i8B4gg==","signatures":[{"sig":"MEUCIQChdgbH0Egwzz9O0oEQaIgwxp0NO+KUgRbW8XCTTaMNIQIgGvqR+syskD9hAK/W4JdPxf/B1nfnzqSHJbKrayctslE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":107731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJBIKCRA9TVsSAnZWagAAoakP/04GZjw6TAmflkAwNOIY\n5b/S50HkCxuf9k7dmd5OuN85iFOaCtMjxN+0uw+lkXBoUiD6Y/avA6gGLjZ1\nRbW7Be6lOu19x1BYIWLiZr8QLLvT1zQpM3eRjCxq1oeD7P/aQihkMsEn9bLb\nrUxDZu+N+PzmKXvxb8dGmNR77MLtDK+bCImNMPcQYwlK0Yc9LAEomLoyKQhc\n0eAMyT1+lijtqa43ClO9Wf8I+SCL9tntGq1n9fK/KDAXdJBHFNJxzDqY9DDk\noWoYP6LXn6iNIaw7vDWqhKaD7/o6EsGLAZUfAcEV+N8eCe1YAoIgod1Nvl1j\nysWsTnztD0eh/go/NgJ+1cKmmiKIIqvIwma/LsNBKWNM7FeIxmorU3RSuChr\nl9MASTCZEXSf/mJngdumj1buq980F1XMctZwmKtZCoh3z7hqFaKHelNXH89L\nQl4u+zmPtfNIS2EgxN2DJPheHf7K90DYaxKBDqRCRPFMy4fGa9Y9I9uKMiGl\nDm+j9SMOSW1xpVm5o9sIFYzSDNBVpqN947twGJigzx3GVpmsucYplmL07Ywq\nH8ffz0VNEtnFOZAm7oaEAqlx0eZ4J43mlNtIDyk6Sy1EcDG2d4WyheMFbuaI\nkM414H6dj23xbsuwpnCQy/MLYSEfS4rDjGkd4hucBSEbQB27y97f8RHQba7P\n0LTo\r\n=mque\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"cd47f5be6d4503fee9b4211d02fb2e214ac0236f","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^10.0.1-alpha.14+cd47f5b","@uniformdev/optimize-cms-react":"^10.0.1-alpha.14+cd47f5b"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.32.0","rimraf":"^3.0.2","esbuild":"^0.12.22","ts-jest":"^27.0.5","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^27.0.1","@types/node":"^16.7.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.15.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_10.0.1-alpha.14_1629753866639_0.4913357002901113","host":"s3://npm-registry-packages"}},"10.0.1-alpha.15":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"10.0.1-alpha.15","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@10.0.1-alpha.15","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"751c92d408b3696c93df8bd7615d4b63aeccdc47","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-10.0.1-alpha.15.tgz","fileCount":5,"integrity":"sha512-utJL7xlDpK972QwG0nypGRmkeA0rMB60oakm+cBGsoTkj0rYGHd5uhN4g2/lB6XWFjFV9p9kuGEd4LndbylMdw==","signatures":[{"sig":"MEQCIDXao3rQoNBrD+lpm2J3tflcOJ4nMqG91bzzEr5VVUxuAiBphrN8f+PNON72hvbWw6pfXMcYNO23WBCuS17dw1mp7A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJBfRCRA9TVsSAnZWagAAwkMQAJmCyVTA0ZWZiKq5loOS\n3RYI47H1DcXBmkFxzSHRZ456ng4nQsEyuL1Ib+b3pdAA0e5reVIloEiGKI8Z\nr25yn7GjyHuw/7M1SgajrDehwauYNngPcZF/mgoydamzAbg8pLVAWIEmHCgP\nwIgkAR6WPrk5L6U2KhxRuJXHxD6UEZY6zTAgZJI5KIAum7G7JbWjaD4UQf4N\nkgdIHQ1BWTkKz+RZkssn0TUssJ9C+M3XdgiOGKTuwR9AfYUixazx/d05SQIY\n1ecNcK9E1QVi10GYfp3UdEFPtgCLf3cdnri0IbolR5a0EXcETv/z7m/Ieh3o\nsSfwoRG7qMbM4w4GgewViKOu9qAMFoFeCyPfG3VgQbcTSKjDP7OrV8sOS7MI\nOIgTWLF92FMPlu1dmW67p1Uu1V5c61w/Kq7YQEgz0AQgmk57d0EDrblzN/UY\nCRecKZc2xHj3E0WUawKE8NHen25YgDpHxdjCvDkEJ05IkG+JXbmjtoZA0okx\nmHsptz6M+Uwq50hjgtsCTiM/6k1LVgydVRJQp/rPOwK5AOvpWnDSlRLhlA34\nCKwQ9wFEPIFzm1YytS5/fLxXh+/AxZOlzcD3E9Qz49dvdyGi8tYZe47OMLg0\n6Rr0e/T+XkOt7j3xt7TDC9x6LgnMLnriUtJxtWuE+EdbA/aBrDCGMoLzhHpn\nFS1W\r\n=IIX+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"d913fc6983a501ef501295cde1ea4c05b531eefe","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^10.0.1-alpha.15+d913fc6","@uniformdev/optimize-cms-react":"^10.0.1-alpha.15+d913fc6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.32.0","rimraf":"^3.0.2","esbuild":"^0.12.22","ts-jest":"^27.0.5","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^27.0.1","@types/node":"^16.7.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.15.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_10.0.1-alpha.15_1629755345082_0.4187860755079855","host":"s3://npm-registry-packages"}},"10.0.1-alpha.16":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"10.0.1-alpha.16","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@10.0.1-alpha.16","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"702aa174524a448d3c11646760856c6141016d07","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-10.0.1-alpha.16.tgz","fileCount":5,"integrity":"sha512-jDK2Te92lvh2eOX1HdJNlKnFwOp4G5kaKtOmgGp1ErJ66nhbcKF86wcHra/bXf73hzPmHegb9kXIEbx/NhIT2Q==","signatures":[{"sig":"MEYCIQCMceytGriPjPZtIXp0tudme2J4rtYXC9l4z+ZUaMT6tQIhAM/bCuOiMeaPOG7xP53bM5oG/kJz8g8P4WuGF1EGSB+7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103375,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJBrbCRA9TVsSAnZWagAAu44P/RxHDORotC+646VNxMOI\nokL5fAjYijID2aI2S3Um0pvdP2TKsJClznVhaN59iySgx2LPKk4a4gvN3/q/\n1n/MTzBVfyFxcm817D/ZbRquJbW21nNrqU1cZX6Mrw3iEFvnWyR+6vqMDGte\nPk5/30wQZKAgpnsCOZkdgrEaaZQmnZl1k6K6tWaZ7/s5Fl3HezyXF1A0Rebw\nhUsWtEo/6KHT3yUhxASjVTRY80fJWv5JrRp53E3XbVN/co5FAV7zGG5FisiR\nY+nQBHTjERFA95VLEdrc4VubS+esIVJFK3UJLWNu3JxQTei8jtuErOJdP7VU\nISAw5WRH8zIwIx8xBenmwcv7lXsILIE+2ZwO64P8Fk/zoBZDsZNemxomDOcl\nXPeoHepxW1tqkrku9UjeYZn5PMjzdOyMTB4g+zAqKLLm9l9qlSjU9PDNNx7q\niFn88lyh84GTmJWe1AyHnc1a+RNOBYXsrjgsN7ggHIpVQcLWyfuh9yWvFxxz\nkFbnbqzJ4tKSTJm7yusxqEu0N/GeIqEr+C5w/GcItE1wFAa7eF5ZyQ9AcGHG\n3AzOTvODGwuKgilp6Es8dvEQ2d+j4FCG4xwJB17Hz3bCCdGUd4wBHWWGmVJa\nyaVG+/RrL2arHVRx0Cf7O/YCYo6ZEoDDbSVwoxO9Qo1yQaD6c5ykSfa7IuPQ\no/Ya\r\n=EDzV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"3bbc36d0277b756a610a2e2470e4fda65a499f6a","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^10.0.1-alpha.16+3bbc36d","@uniformdev/optimize-cms-react":"^10.0.1-alpha.16+3bbc36d"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.32.0","rimraf":"^3.0.2","esbuild":"^0.12.22","ts-jest":"^27.0.5","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^27.0.1","@types/node":"^16.7.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.15.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_10.0.1-alpha.16_1629756123694_0.7112355246429531","host":"s3://npm-registry-packages"}},"10.0.1-alpha.17":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"10.0.1-alpha.17","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@10.0.1-alpha.17","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"d43d4838cc9b43a6f9210d40551d5c77988a561e","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-10.0.1-alpha.17.tgz","fileCount":5,"integrity":"sha512-596N8ccY6le8nz+h80I7TOCVXDR9iJaYEPBiidfhISsOOitRANvp2LQWaLMUQ+gTg3+PjqoH93R+BOmvWLyeKg==","signatures":[{"sig":"MEUCIQDN/Ob//7LrLYXNSnBMv03RwNZUtIi8Nz8w4JKOECYJ1gIgc++1vjaEF2agLIsfO2OZ9gTvYGdCbfh8InRBNEabU+E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104532,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJCeHCRA9TVsSAnZWagAAr7IP/jqj1scPw5/los+d8th/\nTofBqxK3wrsZsV5AIW9uSYKg5gsFl2MZ6aECEEa7gfuxAPzIwtyoO02564l7\nIBbGk5PxPFN+tef8jBHKBxT7/7OGBGQV4nPg9tWChWJBFZI19fO3U21dhNAt\njuEa7/z/jyMp+8f6aFDisHDOAQ1h2g8ZV89TurTXW6pUX2RGUC1DpbM4BiSZ\nwshiksZqoHcO7ms/j94cwyBCeY62jL7GeZub57rRDRdJICXYKLvO5NTlYU6X\nFZWoI/prNvJcyiaVjlwAfci0GIFbSIfJbxpBJIDCLLYkGL4nhxb0DwGMuHII\nY2SS4t92F8VQYQgMTmoddwt4SkzfrbB8rdJqSIG0WeIzxHPm3X2kGjwJZrti\nE45pqTy+vpBSQv+NtMZErRScPgbtyhuV8O2cPVpdc1bJ6FXucYHnSUgVx+8f\n417EGWVfeV2ZjQIUeBUqpmrcgAX/UbxxMPiOVyb9CwQDWLIvE9G1p9w+lgqr\noR9pZe52c8dsdK3DK0Y21G1g2J/EIuE3lJLA7Sam5W43jtxm+CxjptfWOT45\nFpkTWvM7bgb2O3S6syPOLqknIEKYi7iY0PYKbtwZQIVBu6AJMtVSJnFcuK4w\nkyHlntHBmqC5cLV7fQSQyHANUSc4v4/vFklTkoLPePPsPOLdA74Sw2xK4PGO\nwKPr\r\n=tSl1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"1ee0f9518baa1cef82cc84d58265cda5a606ace5","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^10.0.1-alpha.17+1ee0f95","@uniformdev/optimize-cms-react":"^10.0.1-alpha.17+1ee0f95"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.32.0","rimraf":"^3.0.2","esbuild":"^0.12.22","ts-jest":"^27.0.5","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^27.0.1","@types/node":"^16.7.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.15.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_10.0.1-alpha.17_1629759366892_0.5502581980346981","host":"s3://npm-registry-packages"}},"10.0.1-alpha.21":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"10.0.1-alpha.21","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@10.0.1-alpha.21","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"160b0b600038fa2d08c60efa195ca6077caaf791","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-10.0.1-alpha.21.tgz","fileCount":5,"integrity":"sha512-idUBBRKrkAGqrUwN8vHcdn3u3yiNq49xvHp+1kCmQNqUi4W/9oPcF77LhYwrM2MFhkM6OEtqVGMAbo09F864Dw==","signatures":[{"sig":"MEUCIGOT+1N7H4NqetuvUALuIwS7wuH12S8TK/DrWhfB0bozAiEA93l3OaJ+1qfTM3hr0BEwmlApqg5y0gCgSbwtqEusOKA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104532,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJoIYCRA9TVsSAnZWagAADwkP/Ajks1hJWwtk3d05QBB4\na9pKTYTOlY3Je8yR5GrTWkRjZVxFwUXfUCqOu2cwnYHX7mGxmglup6W/eCKx\nx0oHvB/bc6hf+zhf7Zx/BlsGwmqRgDFl1NSUr67Hmdq4sEb/uI2VD7vv28GM\nX9V+f5tzQNUZjxdpbD7KvClsaQX7yS6bo8FRTmQMQENdT4hqk/Ex4CJyI/8j\neXE/jzzmnj0NMqwoVo6j+4hubCWOzOIe4Q3USTKpF7bD8kg1qWCdG2XV2kbK\nwVxPEf0JDXBfIe1fHzju07zKznlvcGJ41WUqQ/d1hF0Gk41IclUeabCpYRV4\nDCGl0IoTvi7kZVu+7omHiun8mHBNEuqVPnnToqLacuRcPIRdwH2kQy1dkvdE\nOFF1aedhWBdG6mBDCd5nXuZL10BD8aKMF2LgC/DIvQ2GutfwWX1VAlUvkmme\n082px2Oez2hQB9zLN9yLjUOeW1lLd6eORygy1myBoo4TK+z21vAWy0ez64cm\nXZO3M6wLUU5i38PwNSbTnMCllMsvYATKemImmdwTySz6r/gAV2AinJZSJ5YQ\nc7LvE/WnfNPXgzqCzfbVKMdEDu+tWe/7Ae1jowbO0WYGsMjWsG8tQV1IsjAn\nzDqP3652X9rYvga22OnJAARG6bnXvYBhw+I8u7T3Awr4gUPiC9CUQFSCJLCw\nLtNP\r\n=QFFW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"f355f5db5391568df4aed1e65a2817e61ff36d9b","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^10.0.1-alpha.21+f355f5d","@uniformdev/optimize-cms-react":"^10.0.1-alpha.21+f355f5d"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.32.0","rimraf":"^3.0.2","esbuild":"^0.12.22","ts-jest":"^27.0.5","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^27.0.1","@types/node":"^16.7.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.15.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_10.0.1-alpha.21_1629913624254_0.14615133266911484","host":"s3://npm-registry-packages"}},"10.0.1-alpha.25":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"10.0.1-alpha.25","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@10.0.1-alpha.25","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"5211c6ce7ff775fe23e43244dcf703461cdf84c3","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-10.0.1-alpha.25.tgz","fileCount":5,"integrity":"sha512-igf4UqkcOHRpquOhLZG1sI6xOLc/klnqsSzKTT9gglCVEv/eSnbC7xeCe2gVeZlG1vLrZHswR4UmcXsQyxEaFQ==","signatures":[{"sig":"MEUCICSzCsx8O21VPGetQShu2IvKI8M+UtcYDtV5RlTtBwKsAiEAonAxSUARQW/qzwiYCzxQcKfUF2mypjUbApvWKoMEyiE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104532,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJzqVCRA9TVsSAnZWagAA5BoP/irWIvjF6F3bHqIk0tXM\nU9reaOg53YZZRW+OncEUayD9KmCb5osQ6B/gfa7L+OjnNitop8lJvrJ39vjG\nKPkdBMbiDx7FZhP9gWnij9tlCZQfdwyJkWUcu2N0HF590JUp7yU4En+k97VP\nDzj+PlHmcurpmzJm/0ZZjxYlrZVS5jN0JFxoWMc7jeJxWpaMGr4hrJbpIk6q\n1zFoFqsJvufzWduKjZHfuxxOpNk1DAAah9n0PggIsyVsq+1pgVQkhzB4RID9\nEb5M0Ekx4Lug66bib0DFG/mKzCx4yZ2xgOk+y3G9P1YXYulSruKOBwA1Y53L\n6pWNT0UHAKfGyavJ7IfG8tgZF/SQX3fDjoRQjN5FbYWpXwHtrjbXrHrZYqV1\nqhElVjCY5IsuatcElvtYgrs2ZeuafgiLSk0dqyakmChVlkeMz5FI77GGnhgK\nQCxlBQmhTxFnHB0GgwFJpVZvJeW9wLrkV94k1B2eI2K30IkHHKOeYe48OyWX\nhUDcuLtQek+Sq+S11dQcmTKEbx9QyszsWt+/9AsiaabKb5C4CtFruEA8er/1\n7/FO1X4HZih8O/NfqcdGVt5RpLh+P5XCccj2UEg8dPnpsr9+gtkWaqx2JfgA\nDyk22nFNeS1Mh52x7lYCmmPG0o9o0Qz/78FNYbiwBzRFIXT9G+SZf9y/Vy+4\nIRpZ\r\n=kgBy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ce2a4837b25181d592560976034414c3a3427d39","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^10.0.1-alpha.25+ce2a483","@uniformdev/optimize-cms-react":"^10.0.1-alpha.25+ce2a483"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.32.0","rimraf":"^3.0.2","esbuild":"^0.12.22","ts-jest":"^27.0.5","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^27.0.1","@types/node":"^16.7.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.15.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_10.0.1-alpha.25_1629960852947_0.2116416206982219","host":"s3://npm-registry-packages"}},"10.0.1-alpha.33":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"10.0.1-alpha.33","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@10.0.1-alpha.33","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"73eff2eb9f2f41d4758ae07622461c21497c1159","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-10.0.1-alpha.33.tgz","fileCount":5,"integrity":"sha512-p8eHo1h/YMh3Mi9XQNRiYL2abJ4SPxyz8HMUDXlBYetqZr6zYn6g2shZggZQh7wcr4LUJB+cIu7Cg/M2kbqnMQ==","signatures":[{"sig":"MEYCIQC254NbBkJD1BlhIR5vG+I/FJSOtXFRjOlpsRAH8LWOJAIhAMVikMj7PYBaBJw0+uQQaHIi6w4ucVkWckLqBmxMGS06","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKVH8CRA9TVsSAnZWagAAWEEP/2y0PgzCIX9l9ZocfDCG\nnAfflupmvP/pWWQ7eaoGeVqwkOXFuUeuTw6DcqGU4iib1v5NryqZ2cF2rlyn\n4VmCvCPHwA82HpSdQGOrOTmRMginHsm2We9XC4IB9er/U73mbd0kMBAJyE6i\n5XwXiSB+u1pouZY/M7+pEuCeifUWBSyBjFXiS0tLUt7XFfURN8Bl+hiEKiH4\nqzACDT9p7iNBKmDdiF5mrFyHUSBrKZ0CeG8BKOqfnv/JCFwIQlHKRR/KUpWL\nyIVrrslUg2KiInIvVVHK6OXT/WUr9RaZ8x5NPjp9NYHacjhsfpD76+ppGXNM\nISPP6kMsWGjSBwgZnrXFb0JNAVcKH8BKDO/MfUCgifGKZrOxgF6ETK+ZR38H\ngL7eKLBU02vjedFsniql1skvmSKRJrlT2HfCP7xm2pzzg8a8YLQl2E2Tx4m7\nBjQOiYL3zPIM9FxoDqF+B1MiEyk68vBNHvIiYaI2wUug1uo9bOG+Z7oCyfuE\ntRsaW8Nh1t2kegrXzHcbuZ2S+MlGxmwJt4qAf95He/T2dDH48cToRRFQ5lRC\njLR7SaT0wpoYDdW7M/ZNVmwlIQJeS/SjFVluCS85L5gxCBv7ilCs8ubutKov\nlaTCNu8DjtR+Ee9PApQK01n+8y7indo6Z/miBX99cPgLhRlxhWxyXwXb3dd1\nbSqy\r\n=eZmd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"283a933d00c68428cdf64b1a127fd57604baa48b","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^10.0.1-alpha.33+283a933","@uniformdev/optimize-cms-react":"^10.0.1-alpha.33+283a933"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.32.0","rimraf":"^3.0.2","esbuild":"^0.12.22","ts-jest":"^27.0.5","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^27.0.1","@types/node":"^16.7.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.15.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_10.0.1-alpha.33_1630097916467_0.626658851863257","host":"s3://npm-registry-packages"}},"10.0.1-alpha.36":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"10.0.1-alpha.36","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@10.0.1-alpha.36","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"7aaeb89fdc6f40fb688f8b1205edd0b2440857e7","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-10.0.1-alpha.36.tgz","fileCount":5,"integrity":"sha512-uUoe0zRBCrVO1S5Igk89vb1lVWL7r53vv90KGnudngomSx+vnGuDfteBoKeClEXgXSglvXgwxYDudcz71IxvXQ==","signatures":[{"sig":"MEQCIEhWU8cEvYpIFh3MTsaoriM9Z+ZuJ3bjgwluVreHly5NAiBGWvvTi1kd24OkFnEVS0X5/XSzTwrrAYOBUsoY2eR1eg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhL9jlCRA9TVsSAnZWagAA2tQP+QBgpVPSngmPbePeh1HO\nBqSCpKQq8V3XDvKpL3SY2BSYm8esJpqtCPXhCAA1mkwyfxPT4xOhpYzXsj2Z\najwgC11JG1B5jz+qQx+sDzKOWroBoPB57byp8M/RoDdazqSbQSLWWcSGBtok\nayBJqKfwmg2nbttTWauIU1jzPgqI3mpkbMDxhP1g+Q/PDbx8oSW3366uOcuJ\n7A9N5AYA8XnLwNwVSEOTW9UUzt2PhwzvF3CT8lVQsqfix6lsysMqd76wVIh+\nB0KHp9wJCHXeA2qpJR9Iae3fkx6QZR6bvnOVIb5yYKhfZEKTWxBVSX2OnXKK\nQlay3N9os9yVz4jDaoQUDnjKHxvv/jVwa2XG4qr6bpDq9K1bWlX5R4AZqqOR\n51rRv3/4YL9VzV7bWKLDyhWe/7sSy6F2GnBqydLPJSWyHZHf08zQCmfNmTnr\nVCmcZeA2sIz4nApw9ynaBz7cEaRLSfou2rAjW++6hq+qVOPWTHRgqiHzlj0+\n0P6q1p5yNHwazt9jXx4ID+HyybjXOnEvNTpThpcQvEPUq4LSsQguInImfDuA\nyGW3uuMmOlrOG8Ojm4ZvJACVRNjHKOvBL//HSGCovRGcOxfxF2ajclUqUavD\n4MSaakv5XNVY/JinNcg6I7bkdzSjKh9IaZsku19ql4S8D9sUcRuiOKscrhS3\nOIlD\r\n=EcgT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"126554db62121470f7d7439cd3c7f35f02986c8b","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^10.0.1-alpha.36+126554d","@uniformdev/optimize-cms-react":"^10.0.1-alpha.36+126554d"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.32.0","rimraf":"^3.0.2","esbuild":"^0.12.22","ts-jest":"^27.0.5","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^27.0.1","@types/node":"^16.7.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.15.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_10.0.1-alpha.36_1630525669040_0.7706180738438342","host":"s3://npm-registry-packages"}},"10.0.1-alpha.37":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"10.0.1-alpha.37","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@10.0.1-alpha.37","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"341e1b926e726840b43544543ce30e74f46c3cb6","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-10.0.1-alpha.37.tgz","fileCount":5,"integrity":"sha512-knDlnc70gA/8NC5uiE8wV/0PBcbYWY42gJkkSEBNjIJsmJkcyjm4VsQqZwbt7yghszyCmOC7osakH4M2zZg3ZA==","signatures":[{"sig":"MEUCIQCmPmKpcbNSEVVLs2xcDU4IWpcqDU+SJ4ONYfxh5l22SAIgEpzKVjSC8hRLNbQfvpMfFCRcJSnlYxQWqo1AlDLmQTQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMS88CRA9TVsSAnZWagAAm/0P/RGAgzV+0+VwTJv0pXwc\nyyhk82uMpo44Py3c2mF+8KlbLHMA6Dm3AMeUYSocdWcqkpif3g4fyX/L6txZ\ngKoat/4/IIE56ENuNzjc6Ju+Fju+ubJFOtef3M+Yn02/uv684motZDREfhJH\nJTOL4FKi9C7Ml8MWndzOdvTmkxEc/XFj9tcRz27zpvj6wq/rDXNd/K5FJ0Q5\np7KvXXo7qYH9E2+TNjPvDHMrwF3WtLat/BMfmg8MHgzRInQ/oUjuPuBfefXo\n9BXcoEUPAAClnyvf6TSX2d7ruS6dX1TGa+Pn5OM5NXxfbC1HhmH5VcoGMJMv\n2xGWBvxCDEnqsyZeKEO97M6YYHSryur+MO0LrFPkz8+DgzjFAiiem0nHAT1D\n5+v4CallIlPzXfI+cNdP0dNOKDGnYJaJCMMFibRH1HKTxMHpJiX7sxc1jG86\naOkClJsFhRth85pTf4+QZC4QaUgxqNN3OGvyPE89LqBxGpMO1NpgpvPXCdOd\nABv5CWGnvN3Vnfu8iwklLEBuxp7gjsx1H3IgC4RpP2Q80BuxWCrVuf3WWqVH\njlJnRz15WBt9n3GUwSsHoFEifU3LqavwbiYs08EK43t76L3cqyw39B0oWP4t\nzfdapLdioyz7y4b1BLLKxA2wE3mvNr3psnvFHzg735nC/kMaK+QVazY4OJp0\n/bxy\r\n=A43D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a638928a17b8cc56b125e62628881819f26934e6","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^10.0.1-alpha.37+a638928","@uniformdev/optimize-cms-react":"^10.0.1-alpha.37+a638928"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.32.0","rimraf":"^3.0.2","esbuild":"^0.12.22","ts-jest":"^27.0.5","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^27.0.1","@types/node":"^16.7.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.15.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_10.0.1-alpha.37_1630613308643_0.8142644639286543","host":"s3://npm-registry-packages"}},"10.0.1-alpha.38":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"10.0.1-alpha.38","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@10.0.1-alpha.38","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"c1ffdb0a6330faf3386780655b3ac3dc5822f91d","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-10.0.1-alpha.38.tgz","fileCount":5,"integrity":"sha512-kshfSNhmJ+UbSVoZc9fsMsdj+9JEcoeoVI0NK58YOH74ZgHskJih8EXVblQswPPvlDpbVPtRkIcEhv6aJ3ufZQ==","signatures":[{"sig":"MEUCIQCj4hd1vcUd9hNqnFdZoXfULbN8urYX9bqhesk6SJXh3AIgRbHbZMmd7YaU+AukNHYI2n4nJxFaO3wBRr33qmMuFiw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMmurCRA9TVsSAnZWagAAeTIQAIak9eJGj35Pv6AkRCC2\nNPSCE9nSQN1gxva+zSe/ubVYDJWv/YGvnqje80y8S3J2lvkDKiuy/JEZFxZW\ngr8TH49CWpvKJXx61W5xvVzUVDJKqPBXlcytRRKQx2mKu+Oekh0loclqWAqX\nD0ATX3reWz697h/jdNHs//aZbF7ZtHXRRV63TiswR4o4L2nUPDuT4/E7DYmq\n89R+JYkO34NJ1QegGm07HZBKNqViL4BcTrkS24QRfmnxkyPAaEARAlTADD8Q\n2GZG/u1TlOdckpKEoReLrj2yKljftN6M0Ezyzl0ZMuYlCI/z2erkpLK37nKY\nb8UJFCRmSUSHxhLSeKTW4734rDRPL/gl+IhgE8UVkN6j+bXtyQEs1KTQJUDK\nrOyPPT7E5+xvyEl8aKBcXf4bsu4X1n0EkyICBCWXFxZkL21Tmd2AyALU8P+B\nXZFbfsrawiaVOETIELW9H2gS5nZglbk2fr7XgOOcjF4CdQD4FhI4/ypLIxoq\nJTptEWjp7YAhODIPQlt9X2inNB7LApNONUclqHJjttqgYafK88btEw01mTXV\nYEkRQflH6rV2e6MSdsfOMUzG+GsqCcg3eca00cCLYVYxYG0Q52mYrilO7+Vl\nkgEwK1alYkv4XdGwcDkoopg12K0nmy4m7RjNPSh3gnTIRx9CoYexvYcpIWar\nzGDo\r\n=0bCu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"78461020ca356fcd51b0df0f32757374ca5fb2ce","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^10.0.1-alpha.38+7846102","@uniformdev/optimize-cms-react":"^10.0.1-alpha.38+7846102"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.32.0","rimraf":"^3.0.2","esbuild":"^0.12.22","ts-jest":"^27.0.5","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^27.0.1","@types/node":"^16.7.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.15.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_10.0.1-alpha.38_1630694315472_0.9298995107649817","host":"s3://npm-registry-packages"}},"11.0.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"11.0.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@11.0.0","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"15ef894d011518b5e28a71ceeaf928b3f3d8f415","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-11.0.0.tgz","fileCount":5,"integrity":"sha512-dXnqhHCiuzweySjAp2WxV+/M9jjq6RJR9zIJdXiQmykCfA1zK/OE0G93aO5Q7OmmCJyZb0ZWUHckMDuhJoSwvQ==","signatures":[{"sig":"MEYCIQC3k08bk8Aa3FIBbw9tSRbUN7eh3b1SWBl1CpIREtGS0QIhALT1jEtl8vgvV/Rtzc+AYpDo8Is8q+pKCGCXM8U3OVke","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104453,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhN4jLCRA9TVsSAnZWagAAy6IP/2Ogrb8KYhpm2J5C3s9/\n4ulsashymVqNiuV/aodxA12zlGltIsao2FzI5ItJ75wlaDYrg/UC+NM+jDaz\nxH4W7F9nATGd2ti+JGd0JcRcTC2Okpo1aGtaL4RanCJfzee194689fUbMJ2X\nya/NM9dTE69WIGSa6OChZhVDcKiUINNijLPs83XdW5cdBEO4ZI8bBQv1Yakn\nECpdY6Y8Z1s8mKI58Bdzo+73UjrdH/FvPYCF/A3J0Rx4ZVGhOGy2KtxNaTyk\n4xhVDFHKtRW447BLRSYSdExOdsakcvyTq7DDmWRpdTHuH0E7+INIXSkJxM+Q\nzH0RO57J75eiA6BK9kcsw/PSFbyizF3v7Pk0DJmg965B7blSJW9hNvCgehGU\nHg0NaGmG/pkUHh5+z7q7aW+6t3nWoUfnJF1XIVU7eBJp+aGczApTuiql68yZ\nNjw4ozOPMSJo70OKFcOvD8BGuOp1+gwlPuqpKeIWYTpIQUwvrocFh2atn5RV\neJCrJ3nIBS1HLBl02X9qXzOSWWGZN6R+NDeOoveU2aQJVHvamr7qw2Y8AV/9\n+MtVLEhhaBOoEmnEcX5a07ocs7HvJsMocdeZJKq4gPr8TTxm0QvLKywVR3cw\nlSS+eRy3ke0p2aK3k39E6k3qdAklypfjwkTfM6oAPbCVFG8ChuK6hCMTvsJ9\neTTH\r\n=XdWg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"267779ca92246f93229e9c8a4700d9a7c127cbc2","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^11.0.0","@uniformdev/optimize-cms-react":"^11.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.32.0","rimraf":"^3.0.2","esbuild":"^0.12.22","ts-jest":"^27.0.5","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^27.0.1","@types/node":"^16.7.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.15.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_11.0.0_1631029451403_0.5983696442974904","host":"s3://npm-registry-packages"}},"11.0.1-alpha.6":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"11.0.1-alpha.6","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@11.0.1-alpha.6","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"0180544745f291d4138b9e1ba3cda4c8c2235d1b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-11.0.1-alpha.6.tgz","fileCount":5,"integrity":"sha512-WQad29f4J9JOJuAOfGjPPu3tusj+rFrPXS8eUwkdj3Qp3zVLipyqJh1CX3SERqV8q5CeQiFn21UkCQzcYd/x8g==","signatures":[{"sig":"MEQCIFUJhGx9bTbnPvtv1yZn5dz7lkneQPwyy+cNV58xnY4wAiBVMZgmkaJgdD0XJx6zB3dsHf2RpeOdMGfTdY4COxPsBQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104501,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQSe4CRA9TVsSAnZWagAAGZAP/j6SdhEWFPUM2AHdMNue\nsVNEkQBxvxr08/zREy2G5bPurPj3aCEKjXQawniGadW/reziaoEztaD+aXBb\nH/XNIcbKTvwa6UyGNalgbqIDFwncqujOW/rHWzylFCSVZS9qbXiN/7I+uQtz\n+RUIFRB214CFfbheITqglBw/43CGtMha+mQvRonu2s0dbc2cX8bD3vB1K2J/\nD/Um0pDfQ2xBEZl0FdVAu4eRtfO65Upuh2tw37J4mMVp/jtejic4z5/fkDLs\nN3yIMK1ZzoHzTehaXdjs4fzph1CUbzRQBBBJ/K4bYlFhr4rK8EatfdAIG8z/\nvUEE4lMwVyzdlhQ10GRLhqaZgxLuHsoQVxwRLo5JfWo9m+35QW9US3v5PKcH\nE+d9gPo4s8So/ZfSjkNW1gHlF/jDYV7k4dwlU8tJ/jdSzA4BFLM0Ji/hAvdW\nVSOMp+AfqCYhgW2U9jt3zAysW826726Y6RpRBVtWgFUH8ulig9AzAxjT9zOH\npVzvQr3Cp6q+ZUUYNBmHG+FStXXAb2VOKRx+v66dXbYNyKvfnR47FP/O990Q\naqDgObggww8o6al+6EY0VuPQQgVi4cQvOd2goGnxvSsFOUAW8gIHHIt/GDf7\nFo8JSamoh2ihwNhp03gvEFASc6dNEGoppgeRVcCfs+u7wIxD9GXj0OyIMsx4\nKHKW\r\n=EtxO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"359c0efe0b244ddbcb4ba9f4f0d634dd1ad603f1","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^11.0.1-alpha.6+359c0ef","@uniformdev/optimize-cms-react":"^11.0.1-alpha.6+359c0ef"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.32.0","rimraf":"^3.0.2","esbuild":"^0.12.22","ts-jest":"^27.0.5","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^27.0.1","@types/node":"^16.7.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.15.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_11.0.1-alpha.6_1631659960060_0.3020642999125751","host":"s3://npm-registry-packages"}},"11.0.1-alpha.8":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"11.0.1-alpha.8","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@11.0.1-alpha.8","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"3589a42b7ee2e9d320c156f5342f106ca12ebf92","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-11.0.1-alpha.8.tgz","fileCount":5,"integrity":"sha512-C/+zQN73gKrVn0VsFYpNDExELpH/eh7D6R41mhelGsd0l5QStRY+NdEG355tLjE8AJbFzVn4tLf9zV5FH06R+A==","signatures":[{"sig":"MEUCIAj6EYd1dK8JMSoRVgEdjzRjV5Re7TF/bMuJm+f4yBJ7AiEAyHNk/4X7fJLfTTnQViicDQJaIikQYOt43W4vWo10QNw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104501},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"e6e8f86b224897b83859d21305a8335eb8fa1a73","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^11.0.1-alpha.8+e6e8f86","@uniformdev/optimize-cms-react":"^11.0.1-alpha.8+e6e8f86"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.32.0","rimraf":"^3.0.2","esbuild":"^0.12.22","ts-jest":"^27.0.5","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^27.0.1","@types/node":"^16.7.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.15.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_11.0.1-alpha.8_1631904780935_0.2649340708796797","host":"s3://npm-registry-packages"}},"11.0.1-alpha.12":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"11.0.1-alpha.12","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@11.0.1-alpha.12","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"785a2ff5d220320aff9b2fce020526bb656d8208","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-11.0.1-alpha.12.tgz","fileCount":5,"integrity":"sha512-TeJAch3diaXb+akRoXCRKPZnDpbrTesEECpZa7kT5wRcxSq4zQg0CrEMjk9W9Zf1ywtiDWHymqBG6swuKU/b1A==","signatures":[{"sig":"MEUCIFmfvJdIwzbQ5yMu6oDXMzVBgd1JNJ0X5YjxbSbQA3ikAiEAkaPw7u/+aYgDmJRo9EyA7TWzomAddSOa8T59A+VLyJo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104504},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"9eb396055e73ba549a41f5ac44811329075419b7","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^11.0.1-alpha.12+9eb3960","@uniformdev/optimize-cms-react":"^11.0.1-alpha.12+9eb3960"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.32.0","rimraf":"^3.0.2","esbuild":"^0.12.22","ts-jest":"^27.0.5","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^27.0.1","@types/node":"^16.7.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.15.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_11.0.1-alpha.12_1632174372673_0.16800668281981124","host":"s3://npm-registry-packages"}},"11.0.1-alpha.14":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"11.0.1-alpha.14","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@11.0.1-alpha.14","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"a81799405873fb66e96824a74968dd4c552e9a84","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-11.0.1-alpha.14.tgz","fileCount":5,"integrity":"sha512-SPI/OGxDgFJO61tVgtBneXkJvm3pZCvWffPMw2J2oHC1BJbr6jFn3wCbJGUDZbINzBZDe2BbcQUkF/bv6js7yQ==","signatures":[{"sig":"MEYCIQDqMq4cFf3cjamGdnoiXWqMvhaQ/xUGc4esX2nPGhgzPgIhAKMMGAgwk13Fazyr0U/pQM3xbFjPAIC0ma0useHeLjcN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104504},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a21c3980dabd89376b0d59ae057297efc46a7abe","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^11.0.1-alpha.14+a21c398","@uniformdev/optimize-cms-react":"^11.0.1-alpha.14+a21c398"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.32.0","rimraf":"^3.0.2","esbuild":"^0.12.22","ts-jest":"^27.0.5","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^27.0.1","@types/node":"^16.7.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.15.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_11.0.1-alpha.14_1632255609472_0.3113957682618935","host":"s3://npm-registry-packages"}},"11.0.1-alpha.15":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"11.0.1-alpha.15","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@11.0.1-alpha.15","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"8003bcdbd98fe18fcaaddd45a1f3e460d3b1b7f6","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-11.0.1-alpha.15.tgz","fileCount":5,"integrity":"sha512-I9mi4Q3nV+2bwQApywSHrGUmX/pXnmXEYZHlpAZjV1xVkw0JuzG+Z9DckC+s586rJw8q8cRa8/sg/R64F4J12Q==","signatures":[{"sig":"MEYCIQDsGBrys0rWSr4MTDIcZhjFMq/UhlQ4fGymIr3S8b4ukgIhAIFp/XbsZLvCtpM11MsK7nsTmLmASbMChzY/XnYReeim","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104504},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"981a26fb2279399f5a53efc511dea78ff4036015","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^11.0.1-alpha.15+981a26f","@uniformdev/optimize-cms-react":"^11.0.1-alpha.15+981a26f"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^27.0.6","react":"17.0.2","dotenv":"^10.0.0","eslint":"^7.32.0","rimraf":"^3.0.2","esbuild":"^0.12.22","ts-jest":"^27.0.5","cross-env":"^7.0.3","typescript":"^4.3.5","@types/jest":"^27.0.1","@types/node":"^16.7.1","npm-run-all":"^4.1.5","eslint-plugin-react":"^7.24.0","@sanity/form-builder":"^2.15.1","eslint-plugin-react-hooks":"^4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_11.0.1-alpha.15_1632262666752_0.4365225384872815","host":"s3://npm-registry-packages"}},"11.0.1-alpha.55":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"11.0.1-alpha.55","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@11.0.1-alpha.55","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"161ee855bb6d6eb369b1797b813baac8affe7a47","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-11.0.1-alpha.55.tgz","fileCount":5,"integrity":"sha512-4L8fUPTu69BP6886mhyO7R/26+xR7JGksUMYLvlPkiUrTtBmHAbQONvAUjqc8sPKymrJRTchnBMx1sjQo7j2pg==","signatures":[{"sig":"MEUCIFLTEyhXZux60S4p7/gJTtm6SNgufn1f9JusF1Qt2VGXAiEA5gwPaDqLHS0/DJ7ijLryOVMi/Pcyvm9uG5vAOeKJSrU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99663},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"0127b48fc5c58590e64a206f828fe0bae0b90d11","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^11.0.1-alpha.55+0127b48","@uniformdev/optimize-cms-react":"^11.0.1-alpha.55+0127b48"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.2.1","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.1","ts-jest":"27.0.5","cross-env":"7.0.3","typescript":"4.3.5","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.0","@sanity/form-builder":"2.15.1","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_11.0.1-alpha.55_1632409106366_0.3746177214415598","host":"s3://npm-registry-packages"}},"11.0.1-alpha.65":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"11.0.1-alpha.65","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@11.0.1-alpha.65","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"f425f6c62009d98aa19cc0e4596bc5125dbea545","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-11.0.1-alpha.65.tgz","fileCount":5,"integrity":"sha512-CKnNVkbT2UHzXj5hJIJTzhydZi61OGafjA9AKUTSA2W5D84+tWCp0Fqod4AQ3Y8jQHETmAa5nSp8EYaUClcH3A==","signatures":[{"sig":"MEQCIDyJMWDuouMtmz2SouksRlIsqUQDwlkigVHUikoT37+BAiAixiUNMnxYYM0fIPYdFRZ82j18EVmCbtQcxFq106DscQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99663},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a1ddbff0a3bedc3f44c39f6f8ca254a32f26267e","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^11.0.1-alpha.65+a1ddbff","@uniformdev/optimize-cms-react":"^11.0.1-alpha.65+a1ddbff"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.2.1","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.2","ts-jest":"27.0.5","cross-env":"7.0.3","typescript":"4.4.3","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.0","@sanity/form-builder":"2.20.0","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_11.0.1-alpha.65_1632422903703_0.9995554923407706","host":"s3://npm-registry-packages"}},"11.0.1-alpha.67":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"11.0.1-alpha.67","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@11.0.1-alpha.67","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"fd5b611e928007771214f38e304acbd10593c878","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-11.0.1-alpha.67.tgz","fileCount":5,"integrity":"sha512-Ceg2yVMK+dh/uW2guZl1o0K+0gDYnnxjJ9b7Da0Zp+gKthDWzens4mC/gtPeQKNdIe72fRItlcX9pkR9dXvV4Q==","signatures":[{"sig":"MEQCIBqDHQ2OwFnaejC7vJvofq/QYvpEXbQ8JWd0L2uTcn1dAiAxeHCv2dqqBL5RcGXYqx1ESLEQvT0Uuih2tr/EGjYSaQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99663},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"c1f061506d9324e20625d5a9760c2f99bf5fbd66","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^11.0.1-alpha.67+c1f0615","@uniformdev/optimize-cms-react":"^11.0.1-alpha.67+c1f0615"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.2.1","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.2","ts-jest":"27.0.5","cross-env":"7.0.3","typescript":"4.4.3","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.0","@sanity/form-builder":"2.20.0","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_11.0.1-alpha.67_1632766035276_0.5334629776520141","host":"s3://npm-registry-packages"}},"11.0.1-alpha.70":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"11.0.1-alpha.70","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@11.0.1-alpha.70","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"ae4591e25259f4c9a81fbdaa9551f920a8616b93","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-11.0.1-alpha.70.tgz","fileCount":5,"integrity":"sha512-hH4Kt1MUj4GjbEMS+d+kinrhKRRJt9umnJs8Sxla8CKd8CZKokRMwJx3f8dnVW4cx+07Utl1sCY2cWyUALSG+A==","signatures":[{"sig":"MEUCICDEMU9lRAtk7A8ILehHGlChbYSy1D2UpEFaulUSrpMHAiEA/UvgU1pOCorMDXupHRN2ZG5qSqp29qovDrA+XYZMXLE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99663},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ab31981d8d4ae5f09e8b078e514b18eba7120f6a","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^11.0.1-alpha.70+ab31981","@uniformdev/optimize-cms-react":"^11.0.1-alpha.70+ab31981"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.2.1","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.2","ts-jest":"27.0.5","cross-env":"7.0.3","typescript":"4.4.3","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.0","@sanity/form-builder":"2.20.0","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_11.0.1-alpha.70_1632775619295_0.1276373787265881","host":"s3://npm-registry-packages"}},"11.0.1-alpha.71":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"11.0.1-alpha.71","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@11.0.1-alpha.71","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"f1d3e9512b1b7e59e4ad0d9d870e5778057af2f1","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-11.0.1-alpha.71.tgz","fileCount":5,"integrity":"sha512-3Y65t2+W/Xs5kJgPMOvt38AUuUZpetckLPsJ7gmF1uZp4pOPj7pWpPK0BYtI54LQ2FzqNmDnZYtnjDe+IQV0Ew==","signatures":[{"sig":"MEQCIB6qwGGD35NCIRFX6VkuZaGNTWSpG9/c46HkoXue+91CAiAz3fbyLRfcQbzXvr3Z9w/z1ZCZE2ArtJEGEpag5mBF3g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99663},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"b953fe3a8f07d1626ad3a05ded38cede2061c39f","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^11.0.1-alpha.71+b953fe3","@uniformdev/optimize-cms-react":"^11.0.1-alpha.71+b953fe3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.2.1","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.2","ts-jest":"27.0.5","cross-env":"7.0.3","typescript":"4.4.3","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.0","@sanity/form-builder":"2.20.0","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_11.0.1-alpha.71_1632775866639_0.12394247194577046","host":"s3://npm-registry-packages"}},"11.0.1-alpha.83":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"11.0.1-alpha.83","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@11.0.1-alpha.83","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"1ca50b41b6260e45528c302a9d44b573195a2ec1","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-11.0.1-alpha.83.tgz","fileCount":5,"integrity":"sha512-Yf3EzoaIZzVxy9jW7cwETlQWTe5BVCSGL3WEV14FSQY+QhyyB9+WyojqO1ucajlO9Du1+VPoQYG8cmgdZdvp+g==","signatures":[{"sig":"MEUCIQDNmaq2HfcruwT1T9HCVY+ETwcQEPfAzOL3Z5cm4ViMHgIgOfx0HjFKob6UQPCn37UcxRHOJeUEAkxAgIH73+TgD+M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99663},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"109fffd530132938fb824bb99c2bb90ea88ff082","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^11.0.1-alpha.83+109fffd","@uniformdev/optimize-cms-react":"^11.0.1-alpha.83+109fffd"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.2.3","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.2","ts-jest":"27.0.5","cross-env":"7.0.3","typescript":"4.4.3","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.0","@sanity/form-builder":"2.20.0","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_11.0.1-alpha.83_1632933419284_0.7345907395205025","host":"s3://npm-registry-packages"}},"11.0.1-alpha.85":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"11.0.1-alpha.85","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@11.0.1-alpha.85","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"742556eba320f648ad2e7cecda7b92e84be9d19c","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-11.0.1-alpha.85.tgz","fileCount":5,"integrity":"sha512-yhy46Y6vkOyXxdckng3m0ran9HeMwugnVC1y6AnmUjgaXi2pCMgOpZFe2q/LAzpZmCvwXWFeQyRyYIPihQnciw==","signatures":[{"sig":"MEUCIGgq1TIzGXLp2oxk9wIcvD9ZN4vH6VgfA3q9+st6JWAmAiEAnLfPN5DO9hPlZECD8mDRLZwSezOBWGBx/9C8fLkCWr0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99663},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a7108ce3923682fe416e7cb125e81eb4b30e75bb","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^11.0.1-alpha.85+a7108ce","@uniformdev/optimize-cms-react":"^11.0.1-alpha.85+a7108ce"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.2.3","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.2","ts-jest":"27.0.5","cross-env":"7.0.3","typescript":"4.4.3","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.0","@sanity/form-builder":"2.20.0","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_11.0.1-alpha.85_1633033172134_0.8654217287690653","host":"s3://npm-registry-packages"}},"11.0.1-alpha.93":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"11.0.1-alpha.93","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@11.0.1-alpha.93","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"a2b96db8f30f1bce7800d6366aa82c13341e4964","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-11.0.1-alpha.93.tgz","fileCount":5,"integrity":"sha512-VJa16epbtHgKEnM43iQdb5+P079qGG/8HMYAtQ/OP1U77dx3nz4+a2OowzNNJ7IhBuWuvBQC/SxuiIvsuHBOoQ==","signatures":[{"sig":"MEUCIQCm72IPmpmjHz1vCwV2LI4mYwZFu+q7IBx3UtQVVsJdGwIgUgv229yLLwXKN05yl44Ptvo3IztCIXhkFUqv0k1yuv8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99663},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"d6cf5e11978a9805e6fe09b4c69ac95c531e1ea3","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^11.0.1-alpha.93+d6cf5e1","@uniformdev/optimize-cms-react":"^11.0.1-alpha.93+d6cf5e1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.2.3","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.2","ts-jest":"27.0.5","cross-env":"7.0.3","typescript":"4.4.3","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.0","@sanity/form-builder":"2.20.0","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_11.0.1-alpha.93_1633109300267_0.02191781534903736","host":"s3://npm-registry-packages"}},"11.0.1-alpha.94":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"11.0.1-alpha.94","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@11.0.1-alpha.94","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"ae09600e11f81599b0da52351e1400bd0c48709d","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-11.0.1-alpha.94.tgz","fileCount":5,"integrity":"sha512-hFRwOglWR2MVWOoZj9mcfCb3UCONkAg0ZKyvUREl2lttQeZ4DcVtEQ1Wzg1xqCWv/wKI7dxfm0Wb5wLa+ndytw==","signatures":[{"sig":"MEUCIERDrnMJLt3sNL4RnFME/UPkuZXz6onCFYowU/YuW6L8AiEA9s7o/6eYo6qRK5VQudGu5WtkOjlns65CHV7zfnshZDQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99663},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"9f806ad3fdb2a56b66878309874526c3085137e0","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^11.0.1-alpha.94+9f806ad","@uniformdev/optimize-cms-react":"^11.0.1-alpha.94+9f806ad"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.2.3","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.2","ts-jest":"27.0.5","cross-env":"7.0.3","typescript":"4.4.3","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.0","@sanity/form-builder":"2.20.0","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_11.0.1-alpha.94_1633115780612_0.8817430495194614","host":"s3://npm-registry-packages"}},"11.0.1-alpha.95":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"11.0.1-alpha.95","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@11.0.1-alpha.95","maintainers":[{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"mattneil","email":"mattn@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willjrobinson","email":"will@thatbulb.com"}],"dist":{"shasum":"57aad563e7679848cbc2d3fb48cf33060645a843","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-11.0.1-alpha.95.tgz","fileCount":5,"integrity":"sha512-hmNUkeB+qGmrxjHyNwh6E4xhWNgPQg7umnJq7Ln+nJZPrNM2+JKTt9zlN8N/zVPX3k+6gmReqV+h/XO7HXS5Yw==","signatures":[{"sig":"MEYCIQDHXnIiL5aY+2pvICWzksT8RQPjNmv35omvKrW5IuA0HAIhAOPzCliV9hliDZwc9qQ01VZKDkBbWCsab3q/0WdteljT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99663},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"6d27517184c24814a3e0d1f892309c0e61cb1bde","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^11.0.1-alpha.95+6d27517","@uniformdev/optimize-cms-react":"^11.0.1-alpha.95+6d27517"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.2.3","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.2","ts-jest":"27.0.5","cross-env":"7.0.3","typescript":"4.4.3","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.0","@sanity/form-builder":"2.20.0","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_11.0.1-alpha.95_1633116079385_0.6296961998184494","host":"s3://npm-registry-packages"}},"11.0.1-alpha.97":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"11.0.1-alpha.97","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@11.0.1-alpha.97","maintainers":[{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"fc8de1366ee32a129f1badf555716e5df89e10d9","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-11.0.1-alpha.97.tgz","fileCount":5,"integrity":"sha512-li15RA9ZbNTLO4zYkfkUabFyHWQrS2gnthhr9wmw8TBOgxe8Oe625PPK/0rgvVp6rXWzXfHRfh/2G4FVGsx+VA==","signatures":[{"sig":"MEUCIQDzgQ4hQop2UWMsqYLoWLLTchZLkPGgiyvpQ2N+bMTFaQIgV7E0lOBS+VD2R/e3EU2ifCn8jP0vKXej2FX2NJXBpLY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99663},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"6d03c4d1c4ac2b8b9b4e3a62bed522361df8ba6d","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^11.0.1-alpha.97+6d03c4d","@uniformdev/optimize-cms-react":"^11.0.1-alpha.97+6d03c4d"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.2.3","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.2","ts-jest":"27.0.5","cross-env":"7.0.3","typescript":"4.4.3","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.0","@sanity/form-builder":"2.20.0","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_11.0.1-alpha.97_1633120441419_0.03953772615523632","host":"s3://npm-registry-packages"}},"11.0.1-alpha.100":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"11.0.1-alpha.100","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@11.0.1-alpha.100","maintainers":[{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"a4d83cef929f15471c4354d12be80ee4d50609ed","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-11.0.1-alpha.100.tgz","fileCount":5,"integrity":"sha512-crxJ82NjseITjEscC8oaozi3pmh1FhyQkIKFqIojJzTfUEYucwEKHHZQoH5fuXzZ+HHTqG5f9ftACGftZq7S+A==","signatures":[{"sig":"MEUCIQCdTmx7UWltmpPRlWunAbblhzY8bGM6sshkUZZDYURJxAIgMFsqgyoZvC4hHYowy4U9FkNU9Ss6/jN06kjtVpWcFw0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99666},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"620d5c75566fdb5ee98ab0d1e3969a92fceb2f7a","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^11.0.1-alpha.100+620d5c7","@uniformdev/optimize-cms-react":"^11.0.1-alpha.100+620d5c7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.2.3","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.2","ts-jest":"27.0.5","cross-env":"7.0.3","typescript":"4.4.3","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.0","@sanity/form-builder":"2.20.0","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_11.0.1-alpha.100_1633121780016_0.12614939502285316","host":"s3://npm-registry-packages"}},"12.0.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.0.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.0.0","maintainers":[{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"6621da2cd6653b58833795a2ae38d0301b88363f","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.0.0.tgz","fileCount":5,"integrity":"sha512-xEJHODTUX+DEAmdyTqN8Gf/Hp9EUAZ4hocTi9ED8XCJW29Z4EScZZzMfIx+t/X4owG9CcspqWBn8vEgqcO0cRg==","signatures":[{"sig":"MEYCIQDQd8DTMTnZr+7NCZvH/C+yiBKZ+Patxcll3U5Xin80ZgIhAKyGcmWC1Yh0zW/6es4SAqVgyBvxGEj24BrIXcZYsn+B","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98051},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"2b051635cb8d3a56c938c3a9dee07c0056d63404","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^12.0.0","@uniformdev/optimize-cms-react":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"27.2.3","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.2","ts-jest":"27.0.5","cross-env":"7.0.3","typescript":"4.4.3","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.0","@sanity/form-builder":"2.20.0","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.0.0_1633397549385_0.899713696522036","host":"s3://npm-registry-packages"}},"12.0.1-alpha.41":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.0.1-alpha.41","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.0.1-alpha.41","maintainers":[{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"e7bb375a340e0786513a8510ff4989dbb96e5da5","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.0.1-alpha.41.tgz","fileCount":5,"integrity":"sha512-v5bjePXXJRo/hB0fF3ij8ad4O2/VP9G2CxnIvikVBorASUhzjygM+vazna30DI21LS5ZSGyeXYfqsU3l+zYkog==","signatures":[{"sig":"MEUCIQCbWZXdlP6N7nYwFGGDbrz9VNOVBJN++TG2DAaXoolEwwIgEYrdRFF+ChqWiLTjgkdr8zjvJfW2fSNuntqHAVXTSww=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98102},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ea8128ef54022ca921cedd97eb95e37c949ed919","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^12.0.1-alpha.41+ea8128e","@uniformdev/optimize-cms-react":"^12.0.1-alpha.41+ea8128e"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.2.5","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.4","ts-jest":"27.0.5","cross-env":"7.0.3","typescript":"4.4.3","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.1","@sanity/form-builder":"2.21.2","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.0.1-alpha.41_1634320432471_0.01901007194236093","host":"s3://npm-registry-packages"}},"12.0.1-alpha.47":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.0.1-alpha.47","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.0.1-alpha.47","maintainers":[{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"61a7c7a6e68b2c1c3380922b0780b6286fd7a99f","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.0.1-alpha.47.tgz","fileCount":5,"integrity":"sha512-a7UZpeatmeFLSV0+dv7VRX2WIqztLfncGwddGS3+FawO1TKI14HGKrdQ0yH4I6oN/Y6exnh7psf45+Cxp+/l6Q==","signatures":[{"sig":"MEQCIAeAFtYt9GZDjQb4vHVaL8zZwGB+Usvf8M/85Z0FHbjWAiAK84akiphfWGKFXnX57Nwq8Ocb8O+w9N0q4gwnVBzGww==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98105},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"58b9e61dc17f861c6990b1d6a3786f4443cee34f","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^12.0.1-alpha.47+58b9e61d","@uniformdev/optimize-cms-react":"^12.0.1-alpha.47+58b9e61d"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.2.5","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.4","ts-jest":"27.0.5","cross-env":"7.0.3","typescript":"4.4.4","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.1","@sanity/form-builder":"2.21.2","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.0.1-alpha.47_1634332683776_0.4602204284996463","host":"s3://npm-registry-packages"}},"12.0.1-alpha.87":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.0.1-alpha.87","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.0.1-alpha.87","maintainers":[{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"daa28a5e62ebcc767a83b45222546abeff605fe6","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.0.1-alpha.87.tgz","fileCount":5,"integrity":"sha512-HQ1FE80Bzc0Hkht2h3Op8KaUgofFuFRI0iciYAzMuQHsaHR1Hbyc/ZTv8St0OrXs2VjVkeumsPsGRlbe1NAwNQ==","signatures":[{"sig":"MEUCIQDwsgNOm7UdhJ4qcAgzIcefcmkfMtZZ1ITdQSOVx6otgAIgOHShy60iBW/6TYk4ip8xCKRT1hgU8TBbtKNApxlicT8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98105},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"0c1226dd231f429b74e0a08d3c9ccb6be0b13ede","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.15.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^12.0.1-alpha.87+0c1226dd","@uniformdev/optimize-cms-react":"^12.0.1-alpha.87+0c1226dd"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.3.1","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.8","ts-jest":"27.0.7","cross-env":"7.0.3","typescript":"4.4.4","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.1","@sanity/form-builder":"2.21.6","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.0.1-alpha.87_1634920415474_0.8211545102534119","host":"s3://npm-registry-packages"}},"12.0.1-alpha.94":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.0.1-alpha.94","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.0.1-alpha.94","maintainers":[{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"30ad45dacbacfbf3579b4b7c8f339e68e78842ec","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.0.1-alpha.94.tgz","fileCount":5,"integrity":"sha512-B2SxLKMU07ic4hPpeHYMzGauH2hOKEUXdgqIn/jyVE0osLlPuwBiM2WzGx4vJezBZ0SWITHgKInzDD8wP0jbtg==","signatures":[{"sig":"MEYCIQDZVQ1sQyHOV252Re63izfBwkUY3qhDhy2tdUdkdvaWjwIhAItD8GG9n9QugWzlnUlPVVwzJVFyH/rzWoUpDXL1JrsF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98105},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"0290763c5d9801ad4293fd59cb4cbeb35f5e1408","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^12.0.1-alpha.94+0290763c","@uniformdev/optimize-cms-react":"^12.0.1-alpha.94+0290763c"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.3.1","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.8","ts-jest":"27.0.7","cross-env":"7.0.3","typescript":"4.4.4","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.1","@sanity/form-builder":"2.21.6","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.0.1-alpha.94_1635259026687_0.9268120851830821","host":"s3://npm-registry-packages"}},"12.0.1-alpha.98":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.0.1-alpha.98","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.0.1-alpha.98","maintainers":[{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"7c0752a301297b48b4d0585b837b7f8585fc46a4","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.0.1-alpha.98.tgz","fileCount":5,"integrity":"sha512-PCLpLWSd79YYiN2wS9biaTiUL5rsnnJ8XkOrrC+Gq+nFL1g4dtdTid+aFtu+OGq927/L5rMwu22hhHUwt2Zaqg==","signatures":[{"sig":"MEUCIGi8aMrKY4yxDjsiqFcURuX0uxirEyvaYIV0EEzyUg4WAiEA7sqUnf+eIaTIKQRxFvgkhFa9VjdW0zVFBLwgkjHhQxU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98105},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"1249ba3583b4bd0785796080f0f11f279742e471","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^12.0.1-alpha.98+1249ba35","@uniformdev/optimize-cms-react":"^12.0.1-alpha.98+1249ba35"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.3.1","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.8","ts-jest":"27.0.7","cross-env":"7.0.3","typescript":"4.4.4","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.1","@sanity/form-builder":"2.21.6","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.0.1-alpha.98_1635284904910_0.40576987216373817","host":"s3://npm-registry-packages"}},"12.2.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.0","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"e13de29d2f89a95355698e9681f89a735d714c28","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.0.tgz","fileCount":5,"integrity":"sha512-C3+DsrvPgxl9YbZGVM/FaQGNx8sY6GVPelhymyjOOsQyCHboRYHCyhpcubwDMkBpB86coTGh8HuVIGrQ3zIjXQ==","signatures":[{"sig":"MEQCIHrklooj0XoB1PbSiInWIcrcVJFdfpOs4T3nTnIrGCjXAiAnLyr07wH/JgNlwPbel3IQnvgpAwPD2QilXnOu/31WKQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98051},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"f3fd2aeff34cf986ccb1c2d50e5920151beeafe9","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^12.2.0","@uniformdev/optimize-cms-react":"^12.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"27.3.1","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.8","ts-jest":"27.0.7","cross-env":"7.0.3","typescript":"4.4.4","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.1","@sanity/form-builder":"2.21.6","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.0_1635393913298_0.49875207003393585","host":"s3://npm-registry-packages"}},"12.2.1-alpha.23":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.23","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.23","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"a533b1cc5f65aa9a8b2f4f839e48327ef7f596a9","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.23.tgz","fileCount":5,"integrity":"sha512-hRmJpeGt9IP72zqxjITVI8fvSHxC70fejRwBYvsyuUgcb5sFH+8nx+c2jIzzyXUzJBo45Zy4INQg57dXiSqFwg==","signatures":[{"sig":"MEUCIFwJRq80oCh20s5h3Np8sKJFpv6nRtQ7YpLzLe6+w1BkAiEAyD4NwaY6dDS584ouGmWdCikvdDd+Nqz91/4SMYDnG6I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159178},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"9f08d814affae6ba2f4f9d65aa2ff1bfcf5ccf93","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^12.2.1-alpha.23+9f08d814","@uniformdev/optimize-cms-react":"^12.2.1-alpha.23+9f08d814"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.3.1","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.12","ts-jest":"27.0.7","cross-env":"7.0.3","typescript":"4.4.4","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.1","@sanity/form-builder":"2.21.6","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.23_1636044165613_0.0003250096391200774","host":"s3://npm-registry-packages"}},"12.2.1-alpha.24":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.24","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.24","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"9acb1a4dd72aead0e35dea8042049dc952455ca7","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.24.tgz","fileCount":5,"integrity":"sha512-PqksjAdy0hvjh6qBwKJlOta3eF+Mn5Uuh325PShv2WPEWidtKdjdqcBOKB3/dstP9OBaBRtJxvMrrLJMZwidhQ==","signatures":[{"sig":"MEYCIQDYucGgTHwXqmjc3lNOr9qS4KbU6zJYIP3U2kYqBAEg0wIhAOrnNfVUsTawLGwDf1r1RgnVsA21XnOth0i+q8AvO9TT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159178},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"f20c30130ccc9ecfb833c8705fb217696445c90d","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^12.2.1-alpha.24+f20c3013","@uniformdev/optimize-cms-react":"^12.2.1-alpha.24+f20c3013"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.3.1","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.12","ts-jest":"27.0.7","cross-env":"7.0.3","typescript":"4.4.4","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.1","@sanity/form-builder":"2.21.6","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.24_1636058036959_0.12004410460658543","host":"s3://npm-registry-packages"}},"12.2.1-alpha.37":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.37","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.37","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b7f8596f05c783f6c566205ad85497455a749c19","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.37.tgz","fileCount":5,"integrity":"sha512-M6giMJzG7UmmBUv42S60jFwFwCIDTCKUWaFulcUMLVKKRGWhHgC4RXQxtWt2nh7x09c9+s3KGqJHPjOno5DDRA==","signatures":[{"sig":"MEYCIQCbaCjkSCsrvyJckVUCwAQMAS9M7n1pVnJ+23G1tAs9MAIhAJqZsRvS29cfqj3vnmbAmB4UPN5pXwfGSylEiWV+inFW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhksDMCRA9TVsSAnZWagAAMhYP/1uZUJ+jXaXSFufAeEtF\nNV81poH96IvaqgwRV+leNymphq78O0Xvuf8OipOiJWGnXtiKAcO9LnLGC/eY\n6gR3h4JRH80GIaUZ+5nKmZqbJvW2r9cIp4I31T5WU2Fo6Mea4oGaw90snOAD\nAoNWC8TlZe3S+Tsk6kVTSMFJoJMw8gCDpI5Ge3JMqro9q32buQOCjvoygxR2\nxAqcx26ASeJTPBLpomzj1oLtS8BUVWZlIlHtZTldT/Mv4Z3wHX49Ya2yBsmT\ntnGegIjyIpD0na3rvC6TaL6qlj5MQ76URWoSkT6GY7xbYz8MyKhiczmGnQT3\nR6tEOnm4zkqxZkjVisDh5azROTxcE11cmsGww3VSZManCpIVz3plsPpYLBeV\nVoHgPRzVaC+buAy5r78RHS06+Ei03hfCOJZGdIuFRkVQUD6vU9xzvzUBIPfZ\nsvKkVzMCE2LPbbfsE3xpPPHgjewnNq+pt+RAX/fF/0AIm2Gg3P32oFGFiU1j\nIuFAVE52qhGakMBJs+GysKbskQAsAvRyfDAxh8gnrQBZyXgHY9naEXu7Kigp\nAaiyY9tlXGd+BgsGoLJP5Pm0GEPavZGo92IExN02kuZwAXMWva2IPLi79eTW\nZJg6IUX2DJ9cxai2xiHDdJdoj5/WX4lG16diKaEWqm5o7rXPzg2KoUxpztsJ\noLGG\r\n=BsGb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"25f2b1873668b171a2f210000d785108c238fafe","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^12.2.1-alpha.37+25f2b187","@uniformdev/optimize-cms-react":"^12.2.1-alpha.37+25f2b187"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.3.1","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.12","ts-jest":"27.0.7","cross-env":"7.0.3","typescript":"4.4.4","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.1","@sanity/form-builder":"2.21.10","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.37_1637007564041_0.6606250959271129","host":"s3://npm-registry-packages"}},"12.2.1-alpha.39":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.39","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.39","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"3f476521ddde1465e8ad7d7a7d26126a4d692baa","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.39.tgz","fileCount":5,"integrity":"sha512-bGoKCpR2iNQ0uJtwJPyO3/xMRQqtnRHI/6Q6X+xgE91jZI3+QGKFeOdvxYVEtXDjBqmaXnM/Y8BGmDrpZWn/Wg==","signatures":[{"sig":"MEYCIQD2oVsy3A81csQd14G3OxX7ht8ShtI5TdVr55iZd3YI6AIhAPajYLfTFupXlncxA3tSyfnfbkUnnnwZ834xO2KyVqrl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhlANjCRA9TVsSAnZWagAAQR4P/2zs54qWSrpnB/RBLgYy\nX3Ov6FukTdhRiclKa2ZhiOsiOE4JrunXvDDV/Q5it6wjn0OIYcFsJIR5Scag\n0A5QSwaTFCFih8+80pVDkpMcPYzpZXOTSm6+6uCG2GKBXsRLr5PJeen7fVWK\nojXdo9p7H8m+56UeC2Sn9q5EXaxeFDZAurJ1aONl7DbMYChVjJKLEA7uCnbR\nOyYNflokZyd1hw4ZSboZQrOw0HIs17TaUbc8OuZIzY9pE79thpkHHCkzBbbf\n8kafF6z19shOTkmCpaRQgTv4xQVXooOi/SXicrOmDWJ6yvPWGVbUWESQbrHq\nLYH38oNp78K+GZbglJmSjoX1a9iSrFuhS8IpDERsUvfMugUtSPK1eJUxB0v6\ntTuwxUGJEXXd7RnoIDEkMCyhiQ9lpSq1oADiGeVFPCA2oAnu+xt1Ws8iv9iO\nWNZClT0/W12MtCEx0gGyF4Rg+SCSmZwYNToXTtQVKB7LtCZYDiZFqPBSyINA\nf9ykRSt3JA8u9hmeyqlTPcDKgEsX9osgC2qPrxEijttVAGDObxNCx8nzRx0U\nuNY/0p+tgycDE4llb2FmoGkbC9p5jt7Qej9czoklGb7gM+QXRcefS1NXHLsV\nA3FyFAGmZgl1yXznU/DsLeSJfIGlxTMFBfkOtq7VA2CGGzLl62C1pgNIOozo\nd2OA\r\n=q6Li\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"d752573207ec468ccf0479f90e06cc252a74c84e","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^12.2.1-alpha.39+d7525732","@uniformdev/optimize-cms-react":"^12.2.1-alpha.39+d7525732"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.3.1","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.12","ts-jest":"27.0.7","cross-env":"7.0.3","typescript":"4.4.4","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.1","@sanity/form-builder":"2.21.10","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.39_1637090147008_0.8729017885380073","host":"s3://npm-registry-packages"}},"12.2.1-alpha.43":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.43","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.43","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"bd6d56e61f200fe966ce8a41e98606b34f2b260b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.43.tgz","fileCount":5,"integrity":"sha512-Gn7pjEBATnbXERvlsBfv4mZhcXzYek3JrUPhgQ2AkEH45unILqwQsI9t/UceG7l7iw/NwnXLvz4iDr5vERBFwg==","signatures":[{"sig":"MEUCIFdcyI0Xqpdf7+TmbxBcxWzsLGZZt/D2sIAqltu6LKCYAiEA8y2hzAwX3Ek5vHfdUS1WO7MW7UFIBZCG2kjpANIW9lY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhlUIBCRA9TVsSAnZWagAAWzAQAIRIQbnbL1Rn2/EnLsR9\n+Br9DmZUnLJkvE/9pD2RM4lGTWrqHfRV82FHb+raeU0IvO18YgHg2QwOSVDB\ngJmhqMnHgW2ipn2Mhxzf+Oqrm0RKey/O499l4Oanovs/ynWPSEJ7yT5Q5Hf6\nOkQXvqXnSf8SlymktLa8Xgvq2NHsGR6C/1aFnAYFdCVnPm2hYZecAaP1E0Cc\nK9ayiMtbneNyiJcxbOLXATenXmy8xAXfwhRiMsKFwB5n1XFeVnqzi5F7+AbV\n2lTIITODq2BGSwwXXgSZp++sQiMMCH1VS+v2P81MXto2f73IQkac93LFB2Qm\nxnfHZ+gsMp9VBwsioxKDi7hN+e/GTT3Nb1IEClzTG8XjYMh7OYD1C6iDYpAa\nhiyBpm27q1ExrhKK0Ah9gDa3G29ITRRIhG7mRP718T9Q50vEqIDbW0VM/yGL\ncuBhNUwdDFHVnfali+NdZrSdobMyd4HsIfVxCzUtEHk1QdOR44ifP7AF9rjF\nF52uRDcdohOt6uiPHRVskw/7Vc8bMx/lIIJXs74691MdKovw+wDSmlHwk1gh\n/0z/AKaGHQafmKa57upp1OOKfQ5QTepJYDemtB0BO4YwVFY27LkeypEPDvng\nbG6+qd63+SNeK/qoIoOX+k9hxxYxlg+7TDAH0f6CMV72DSQkzhcYAxS7lUw8\nnR2+\r\n=zLgj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"0071e168f8a5e5f5cecd3ce908383dc690d3fd3c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"sanity-secrets":"^0.0.5","@uniformdev/optimize-common":"^12.2.1-alpha.43+0071e168","@uniformdev/optimize-cms-react":"^12.2.1-alpha.43+0071e168"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.3.1","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.12","ts-jest":"27.0.7","cross-env":"7.0.3","typescript":"4.4.4","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.1","@sanity/form-builder":"2.21.10","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.43_1637171712918_0.644965567247842","host":"s3://npm-registry-packages"}},"12.2.1-alpha.51":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.51","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.51","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"dfe9eaebeb13a3a21e472c8d4a1384b5246acc72","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.51.tgz","fileCount":5,"integrity":"sha512-5nwRQDTCn2hlbJGpFJcqJBHGD3m5qqzZXnSXj2CyNthFc9yoWFuzt6Dl5Her+M2xcbP0rmK+/GmZEbC+gYRl7A==","signatures":[{"sig":"MEUCICaWYBnMn7eOChZpZpk473uc0gnrILfjERSeGhkpOS6NAiEA3sjT4LboVAxqkF0wBfnIuZyMC63g+QYAeLYZDAl+5tU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmCEACRA9TVsSAnZWagAAObIP/i+MTQ5y10Ad3nTlvX/R\nyWCnDdCg2hPT11rRH+X/QEPKkys/V05NwmX0lJa5N0xQTskufgqi+tTGSTiR\n/0uovKYX1BHTlZ5FfDL6C5z7uKAUGh6otk/2je6ZsAA0jWChZrajsay3/rIK\nvZpgef/n5SvZPIbkGqZh57jzFEGuTxdikKGzk7SsoPr90GxllwUq1uxyLGl3\nUVUTr2wc0oXjwTYWZx4YYik5olu+xu4lIyknS4Gir6udfcJUBcmWxw6WQ43p\nRoGbcufpjGETj1ei6Lgm7AhKTiox0WAIVod4tE914KO8L2H11EaFeJjbKinc\nzG1Erv8Rg0TV6Nsr3NYJ2gBr0EHIxfr7qqwM5EXFuD61Zy6IL763liZRESXa\nvjgFn1mx4s/+W4irnnvDKD7zSWE6E9cmiQY4HDTYj53zTSOWHcd4TganfuRS\n8z2AsTzSSqn3soW/in3kgc+jhJZsxwSXNPCk6NxJOunMF3YxHl7beoj39yXU\nXuTg2klrksgUhDZVTjSwihbryawyBqb7+X3AXc1sxD7nLEZpS5kBON/G6JF+\nYfQggbd1Hi2CENPutnWL27yP+3G6FXxn5sMieZ/MXiV4CWdBZ946WtV1KcA8\njA7so0d7ap1+EILn4ijGVrdcgYfJUkZkR8XryBVcRcT2YcnmaPKN0g/CKXUI\n1S5L\r\n=nxFR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"9f55cc00e4a351a0d95d767e66a3e81fb9fb29aa","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"sanity-secrets":"^0.0.6","@uniformdev/optimize-common":"^12.2.1-alpha.51+9f55cc00","@uniformdev/optimize-cms-react":"^12.2.1-alpha.51+9f55cc00"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.3.1","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.14","ts-jest":"27.0.7","cross-env":"7.0.3","typescript":"4.5.2","@types/jest":"27.0.2","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.26.1","@sanity/form-builder":"2.21.10","eslint-plugin-react-hooks":"4.2.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.51_1637359872267_0.025357648078954798","host":"s3://npm-registry-packages"}},"12.2.1-alpha.58":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.58","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.58","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"ebb1654279899789fd651918c75a4ddc036ab788","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.58.tgz","fileCount":5,"integrity":"sha512-23lmPCT+qEZlUNpskecVEuss5bTDBGmIpcls9PmlxxUw/5iKaxJ9cCbCLyHK/lpCqs21jLdUFQZg03iWBiVrLA==","signatures":[{"sig":"MEUCIBr53YdPHBGrJOVhdwtIhTfk1PL4HOoccXoDH+SOOiW1AiEAoUyfS42Pu+OHxWGaqhBYpgM0YFKqvGBCEZ3JxOUEW4E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhm9vLCRA9TVsSAnZWagAA6nUP/RZxVfZS0cG8OheKIMJt\nh6h/eWzs18bqOHP4QkQ6DH/1pxfq9lqhRkOaJqjK3M018MsGRltjk5IUATnv\ngfmtaHrLq86BNyP00yg92eDVP9sjyH8xxi7XUXz+hKNlT8n/dxqYOxKc0R5w\nH9T1Wlnrhd1vkEfismG8qbSAnq29cizL7gIfYR0SvVWuGGqsm7afdcjYIpQd\nBwx5I5vL/gv+R+jqxj3Fnqw5pv/WXd8YnmMXXepJJAg1BidVEWUeNaPO88fH\nb/+DbcOFp1eCzFE7BidJHm2fE5TvCfpMkFFw9MT1nR4TOhP+L1VAxs94fKHd\nvAHA8j8I069yD6pYBT0t+wBmW2yvhF1hQGP19wr78ocic0VHu2a9fhZRKr+Z\nUGjCxEnnD7zo4KNqvXChpd6DzwYz77TXotyBFIsUQj3WY7mvlBo8G4k5r1p5\nI1PC9uXPhYbx0T10J3pLCHyPSkc/dKA3qSlXckzjDkkKRffbnkYBgtqSCfC3\nWol20cbGiANQfeu/Z3vWixyyjPGRQnU7/NAVkRmFfpgBdfK/V7Bpq5fuy+W7\ngc8DVPmpRreqpcTt8tDJQEbSijzDdMPfVlNgrGu5KBsuZkWLILe07pEVFinv\nn1jImb55J6i2c9lAWRyML7BBPoWLQ6Zbsu0GDJhSpMfYqqMdmF/2Rsv+5Elz\n/DRW\r\n=G74F\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"8276bc9379b344eadfcb6e175e415f0ab0d93689","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"sanity-secrets":"^0.0.6","@uniformdev/optimize-common":"^12.2.1-alpha.58+8276bc93","@uniformdev/optimize-cms-react":"^12.2.1-alpha.58+8276bc93"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.3.1","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.14","ts-jest":"27.0.7","cross-env":"7.0.3","typescript":"4.5.2","@types/jest":"27.0.3","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.27.1","@sanity/form-builder":"2.21.10","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.58_1637604299701_0.7795535108732963","host":"s3://npm-registry-packages"}},"12.2.1-alpha.59":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.59","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.59","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b66cac480485b63fe4cd67e85a359a78c31d258d","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.59.tgz","fileCount":5,"integrity":"sha512-giiFVdrA2WobZxOpw5Eg2LVYNsHx/OjjJGXgB86ftj9EUtghxpNiPwYMCmlXpdQB60owJHE0pNBmN4d8FnbV+g==","signatures":[{"sig":"MEUCIC7AwEgUtF6GSX6zYixNXDjcRaF0t2JrCrLnwJU+S0doAiEAnZsVM5qN74NAEMxWetnDpYhUNivjtQLeI40rsW2tIhg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159171,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnTyTCRA9TVsSAnZWagAAKnQQAIKB7dYdKlNgD2NSr44f\nwDv8OCwnkYD39BILr/Cd92AMCTLdx8xjxw37sRbmt+ORU+H4xCVgF1g73ADn\nnN1Yuqwfi150u7zwg6zdcbIKaQ+TfH7SdzD8tmkwUtj4BTsvHTkCOYOrt/Dl\n8KX85e1sEw4NkFoz8AcPYIe3MeE95ugqEJuQOTZVBUy5xDSgOmo3SbII8ZGg\nAEGD7WQ3t+t86aMVM3MAXDKccNfi0HnT2PYo/FGymdfvsaC6GgS0G/E6Lmm2\nBZ6XqacXa64L4r8W8GmT2qugZ/etfKakaUfrG159Xe3KBUo0iKoER4hspCiJ\ngcIivRNuIE8wtAO6tFhtuFnJ1fpQPrSy70UgOipa9USObNoTTXjLvjZOG1bb\ntVYLVb3pBrd3w48uQBx+JRH4mGTmfDGv6Nq4pCyredXTMd0cUtLaTkQVuhI5\nXdY2XjRDtvpYAfcxBgAjloTs87+fTOVMNgBvEYPT3HVa8Df3UpxCghlzgj4u\nJzJSH2BBkUSRsxE4b7JmNnrlxscWVLRXrmn+9Q1+ssLEdLteGj6vhfKL7wmS\nvCgMHW79EZTGWdiMS9e6lPndg7bW/7ovWLqxNY5xyT3r3DP+c87RSDh7PZ56\nzsFneJMHrKUOqG9WvXQEfZL/eoxzVCCdyY6HhQbRKVu+fWose/mEp2k04G4d\nFfdd\r\n=zGiH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ee5a4745535ac342d62ba2472e2a681c9867255b","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"sanity-secrets":"^0.0.6","@uniformdev/optimize-common":"^12.2.1-alpha.59+ee5a4745","@uniformdev/optimize-cms-react":"^12.2.1-alpha.59+ee5a4745"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.3.1","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.14","ts-jest":"27.0.7","cross-env":"7.0.3","typescript":"4.5.2","@types/jest":"27.0.3","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.27.1","@sanity/form-builder":"2.21.10","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.59_1637694611200_0.817056916906028","host":"s3://npm-registry-packages"}},"13.0.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"13.0.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@13.0.0","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"9813d7ead58f78671b95861a1d38472dcb4475b4","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-13.0.0.tgz","fileCount":5,"integrity":"sha512-htihFR37tkx2X0nK74L+Uu6yYTicp+7eKSLz2xqcNgC4Y/u1QZMfkQsgFiYLlQiHMHl34uMRyYcWQLpp8RyEMw==","signatures":[{"sig":"MEUCIQD11b29TmFxOGpTnXNzVFJs3kppZHmhyMznaqycgtnt3gIgE50wQ9ZbN3m5c09iqt9KDgdRHUE5dcEaXRBJah02BSQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159117,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnaqrCRA9TVsSAnZWagAAqNQP/2AzK2LT3u2JXJ/7s6vz\n6vIbNr2PSbNM0uLkGiTT0QpJsD5xMwPskiPBc4OmhMrBCLMtTF3UoR5baI/f\nSZzWPv5NIhhsxcFXij9rC3XlR7EzQV0k6T/IFAUVU26D7ZWzERUjpoG6Allq\n+hpR2sBcUbYSLo3J2JxMZJxN2NhIO6/fQlJedLosEsoyYjFEZFNKsCySl4t7\ncxKyd91adIq9MOVTa8R0VHJoEpqQ+PRDSanybYSt8I25lKZJhEscAgUp64Zp\nckpNdLMxOUjYg7hJz+dIndrfr5gN51+t0RC8TQtD++tmJ10o4SScrZQuChYH\ntJeAATXOSAizNnvDfuz6CLFCIkKedjQWTysx40cROcU8U6VHOBFM4RWoM/w2\nnchUOGITZsh0FeJ34y41c3in89CrDnAn8njfRe2jm8NjDyJiEqGx34k3/cKj\nfjuAiqctDE0/pc2hNrNENDgpYNDLkoGFeVl+U6DIXmQ/mpeLnRAMyQY3/tw3\nPPFgoG4rZ30en9myAZC7nkNqfYybwcgeI9Bp6c/acqeBSvgK4QgA+tSFcigo\nj76Q1f+Oqkfaythw90jPztcPZpj/iRjtE7+04pPYLZJq5+O5w3ynjSPDTWaF\nE7uo6TQC8ACOyDNd75Kjw2AQtma7MxYtWgRm6e/LB682G/fl2zREwrFICMAy\n8vh1\r\n=eFU+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"7ca5b6971d631f339cfad85a7c3f415b01d22248","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"sanity-secrets":"^0.0.6","@uniformdev/optimize-common":"^13.0.0","@uniformdev/optimize-cms-react":"^13.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"27.3.1","react":"17.0.2","dotenv":"10.0.0","eslint":"7.32.0","rimraf":"3.0.2","esbuild":"0.13.14","ts-jest":"27.0.7","cross-env":"7.0.3","typescript":"4.5.2","@types/jest":"27.0.3","@types/node":"16.7.1","npm-run-all":"4.1.5","eslint-plugin-react":"7.27.1","@sanity/form-builder":"2.21.10","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_13.0.0_1637722794954_0.8542722479164635","host":"s3://npm-registry-packages"}},"13.0.1-alpha.70":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"13.0.1-alpha.70","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@13.0.1-alpha.70","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"1cdea08f9e98251778e3674803e9dda58d2a8605","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-13.0.1-alpha.70.tgz","fileCount":5,"integrity":"sha512-ou0TL5H7zUUd10mlllPZE+uNUZVF2wWU5tS5wwYTs3EeQnzWr/okbLhnmXgXrjFokH0/J3HLyX8XsrisVhaBzA==","signatures":[{"sig":"MEYCIQDS6xJok/flw4SVXFZjhFZHI9mjox4vTb+PdJqMUU/MmgIhANc9ZBMsVrmze9+BIAXxDS4qZqVhnlPiyjjGSZC8B8e2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":169524,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJht8BGCRA9TVsSAnZWagAANv0QAISt+UBohFPWRm8wtnxV\nS4qVHeWrFOHlg1g6wEMrPfsKIx/nnqXyBh4wV6u++170N1XxvjcN/D+1hZ6y\nJpq85OvJ86iczmy3+UXvmp9HVLtTiebaSiWXe5uRBvOV6Gg+/8ZjMw5CMtFz\n3FUN3kFsvYJYGdlbdpm+RJuxTwUrZn0Z93cwvTCeg9nvG6sgND1zGjl3eUMX\nKzEgGp1VayfdY14iGNkWA+IrL7152bdudzHvy90OO+nk4HvYcZvxkdcQKSmY\nPou9+oPf2NRJRQyZLLsLMOvs10EpFt8uqANyEfXDIndUKmMWTcl42eqE56LU\nn5kAcWGXxuLF9LzmM7EYZY8AVwnMu1kUiOb/ob9ZosAluR4L9ekoWP0H4IGP\naffI1IwDHAs44evDWKDDBvorNrnm8GAEV8vebQ0gpCEAHB5gpTR4AsJAQ0MK\nZaMLd9fl0MLOo00+6s7WOG+GRbIsK/EpFfy8Nh66Va/QvwHE4MFuqzUkSDRD\nzhicY5t5pXW4nFg8KHgGEhB2O9VboZmPkbFzxGtTNxfFL52TfHTL4CZq2fLq\nYLXdw5/NbvVlmc/yakbbAkmTtA4BFXRK2HRBz9fDb9U9XXx+cW3uhv1YSABW\nLxjHm5mfKVzlaUJNcrLozWvHclC34RJsjNOvWSXD+b12JbVxGjPp9LDKqJtT\nWam/\r\n=TwPw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"21cf4cedab72c4bd29048c47d3a6a772d997985b","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"sanity-secrets":"^0.0.6","@uniformdev/optimize-common":"^13.0.1-alpha.70+21cf4ced","@uniformdev/optimize-cms-react":"^13.0.1-alpha.70+21cf4ced"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.4","react":"17.0.2","dotenv":"10.0.0","eslint":"8.4.1","rimraf":"3.0.2","esbuild":"0.14.3","ts-jest":"27.1.1","cross-env":"7.0.3","typescript":"4.5.3","@types/jest":"27.0.3","@types/node":"16.11.12","npm-run-all":"4.1.5","eslint-plugin-react":"7.27.1","@sanity/form-builder":"2.23.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_13.0.1-alpha.70_1639432262776_0.5527669499220378","host":"s3://npm-registry-packages"}},"13.0.1-alpha.73":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"13.0.1-alpha.73","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@13.0.1-alpha.73","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"a594cb353a0592b969871dc70eae916e35028767","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-13.0.1-alpha.73.tgz","fileCount":5,"integrity":"sha512-dCznMxbG7zJWWbK4DD+vvzoEHUXg9xKp7nQz6sdqDS/x9v8hcL2Oe38/rMIyexv38rE5QeG3V/7zpmfh9BZP0Q==","signatures":[{"sig":"MEQCIBA4p1Q/nrQ75h2GVm5F+JBwrXpcottjcy7tadbNo++PAiB4VB2r9DMG6Ul+HEGyut9G64aggI6S23FJK4g0k2VGEA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":169524,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuixMCRA9TVsSAnZWagAAnocQAJo91G43OPhALcAGIFWc\nJ9liJWcz0boVFQ4bQe5Peg7ltMNMh6e4oeerZIPVqKSkz3t9w1WXaFnsaZHT\nw72x+6Y34zhyg3crGrrRJd8qkPyW2IwOfm1awdCw4k1OGcIoDmURZHdSn/zH\nWtwGad5zu34w6BGbYr1s6PmYG2aeFrH0t7fjl1nFBHAbgNMxxq8OYXrfYTO6\nfNEM4ld51+PCeOgVN5LnF9j88Uh3zoP8tl5LJtPo8TWctbaTa6zg1nn58u+r\nJBdwqNQocjTZIzVMUk9NmqnORBBYeUIjdicwHxzD7jWuNlNQM2j9qn72KX+v\n+2Zrmk8D6J+Bx3EYWw3f+6ixGnxY3uqQroTUNkQYQrMLL8Y7k9BQgFrvCeY6\nY47mjTVEo4u5ne+UodTIrdvLznDZ37KkZwMkeOb9SX4wCB09pPYcRHVqh+as\np432eOV3/7JEUWHaK4bFgG4+W0r0orHZ5C7ymrqNnABtNhnNe8jUuTP7VkFP\nWTNEqNRfqQEcfef4+kqYyGh1FQsa5455Mvof68PKvCr/CvdvkDysnX4tSyUV\nWAx0teXE07YSbOWUwbM8+fAVs5yuQhnXDAudY+iyln6kc0fKi8lAjD+0FiIb\nDqc9lpxrlTBaKawXqHBKXUzjUksqOHgKA2GC7ypKifbOhEPIkPDPwxHMtZDs\nKMoe\r\n=YTyc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\r\n\r\n## Build\r\n* `yarn build` - builds icons, JS modules, and CSS.\r\n\r\n## CSS\r\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\r\n\r\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\r\n\r\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\r\n\r\n## Icons\r\nIf you want to import SVG icons as components in your code, do the following:\r\n\r\n* Add the the SVG icon to the `src/assets` folder\r\n* Run `yarn build:icons`\r\n\r\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\r\n\r\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\r\n\r\nSo, for now, icons are somewhat of a manual process.\r\n\r\n## CommonJS\r\n\r\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\r\n\r\n## Why `esbuild`?\r\n\r\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\r\n\r\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\r\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"bb24cffed409f57c9b1b3fe0ece2313d8279f566","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"sanity-secrets":"^0.0.6","@uniformdev/optimize-common":"^13.0.1-alpha.73+bb24cffe","@uniformdev/optimize-cms-react":"^13.0.1-alpha.73+bb24cffe"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.4","react":"17.0.2","dotenv":"10.0.0","eslint":"8.4.1","rimraf":"3.0.2","esbuild":"0.14.3","ts-jest":"27.1.1","cross-env":"7.0.3","typescript":"4.5.4","@types/jest":"27.0.3","@types/node":"16.11.12","npm-run-all":"4.1.5","eslint-plugin-react":"7.27.1","@sanity/form-builder":"2.23.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_13.0.1-alpha.73_1639590987796_0.6165510330040185","host":"s3://npm-registry-packages"}},"13.0.1-alpha.83":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"13.0.1-alpha.83","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@13.0.1-alpha.83","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"c0bad19f470f2afc209defdbc7be219296c4b679","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-13.0.1-alpha.83.tgz","fileCount":5,"integrity":"sha512-z3DCOnvUEYTaTq9z3jbX2uELZcHPUPaGBKmGBB94QnUVK+dWQ0AJZsttd9NsZCGKo+bPXRAgEycjCej18CpUjA==","signatures":[{"sig":"MEQCIA6TPkhFKsC9lDrKtAoInX4yuGf9w+q5BUvEKQeoCjHTAiBBZyoMDyMYoqjjodak7uiA0Bj0wDhxye3bX13k8lEjMQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":169478,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhu7AbCRA9TVsSAnZWagAAs3EP/jmVolWRANEqiyEqQBM2\nKJZ/Zqo5eX713umqYJYTMnPjwAl+73wftzNHn6V/ELRCOuJKMnTi/2mTSqmn\n9uTnq/Z/T9wrpMu1qjYZfeOIloVDX7GnvLYF7o6FVjSnX5VBpUDUpXDa/A2h\nc1Zxw4DuxTJ8ZnHhq3vryIU+VnPDY0iUbXHELUlilaMNhPzgmABSYLA4KO6u\nHagP0y1Gk8LU/EHX5VjvQM9lKGlHMgZmwU86nhmO/zsHhI0jREko6jpw4KPv\ntJ+AMgDFv+hrNv8WWdZU7GeTpJCrygpWsP4t6PKYQbnUaxCa70ucPfkaeIEv\nxjmCAR1uLBF+7Q8QYb/HLNA7LrZDrB/oYpF7F5LBWdkMz47qndBMjagl9Lpb\n1rIulqjcJxF8cOfDyufEaRwQvymQezPRdduSqPYhEe4/sk3u0xXNlS+ZKik6\nZz+jwhEQ8vIDpPf7g/85K5gKn6aru+eS5fBwMw5kCBbRdlpq345geCrWKc4n\n0mLTbdgUM8yz3I4wZe8twl3y0mm6XNWb2NlFINfMDZl/TCA7DeZu+CdAsKBb\neSznwwQ1wfFn2vLUbmp+rkRtVthY3p0I4wZRht5v1fvbwilSriEmsOjU14+Y\nT2I8BYJTZzeWJU04CPAmIX2zlbftdgwirio00RngIlA9XYNT63Lc5MJzPtUK\nhL6u\r\n=ioTi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `yarn build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `yarn build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ca85e1dbe78e521ab829624f9b4c8ad0744d3a95","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"sanity-secrets":"^0.0.6","@uniformdev/optimize-common":"^13.0.1-alpha.83+ca85e1db","@uniformdev/optimize-cms-react":"^13.0.1-alpha.83+ca85e1db"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.5","react":"17.0.2","dotenv":"10.0.0","eslint":"8.4.1","rimraf":"3.0.2","esbuild":"0.14.3","ts-jest":"27.1.1","cross-env":"7.0.3","typescript":"4.5.4","@types/jest":"27.0.3","@types/node":"16.11.12","npm-run-all":"4.1.5","eslint-plugin-react":"7.27.1","@sanity/form-builder":"2.23.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_13.0.1-alpha.83_1639690267788_0.769970526522102","host":"s3://npm-registry-packages"}},"13.0.1-alpha.81":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"13.0.1-alpha.81","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@13.0.1-alpha.81","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"0076358361c9807e055150d446f436988ee14ddc","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-13.0.1-alpha.81.tgz","fileCount":5,"integrity":"sha512-sdrfjHw4r0Zhx3S7fzASwnsqgN3w+1Wyzl+rlrBGg4Nev7A+DBJHDA6iulLTd0K+85usQNAsWuofgKk06bjS4A==","signatures":[{"sig":"MEUCIBr2BsJMPtX2TE3QKSQvgiUWyEuXL2BnI6Ec8zCHvPu0AiEAl7fT+D2vrbwEkjtu8VmLVe8nsm6YxjrMmwFJJaE0Igk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":169478,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhu9dgCRA9TVsSAnZWagAAXKwP/1IN0Pz9HN7Rtn5nBAWA\nGEvqQDmZwSWxKtDfbpM2Y8CNqh+M6qNHQ65xbgQYhdeFX5lfyOKlPFFhzqWy\nnEp21DY26BBw0QdnDPet2yfiuEm7AdyihII8thF3cuDL2gIWlEGSjsTxme7n\ngNq3gnFxPrI9p1TMubEJgUKN3UU60F2yz2VZvTA19OZ6L2+oO6NQcUUoTa4I\nJJ2TydZFTSnPINZoX9qZMU5f8vnyZSTlaHEvfuEihSXkZ77QoHKWATg/MQcb\nyrf/t/lbVmS6yOt8uGVSMH7AsXxjH+H+gcQADCOSt4yIKyj/Khnpqg0QVDXP\n3nFJzMpLbDXHoKZ4Q5numLrvhtmoprdsc+QH5Q+jwZ35PYOJPNJRbw9076Z6\nSBq5/VE8oLWKcTps/yfkBLM6j4bLmhsYRuwniTd2pJ3TTqFtdzNO7av/8TJ+\nzwo1T9oo8XKfY4KG11XE4V+W9tNElzG9Ce5rSbGtOvCo1TzKtjcLC4pW6P0P\nheYxyiHf5B1YnM9rLx+1HfH4zTOJ7g3IwzmTxflwmwoQFGyIbXPQYrxdy7Ks\nP6ZV97L9hVZx3rzSaUGwDjDpWE4y1RMEUR8yeccoNht0+moZf7WMFXwwyTPx\nTlWk9f6P665un4iMfwVa3NgDrp0f6+U5MEKIuEGgXMXRd1u+dtCyRMSFTAJq\nD+JA\r\n=Kg54\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `yarn build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `yarn build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"99d530a4a0d65e8b249fc879fdf40334bbbf7a24","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"sanity-secrets":"^0.0.6","@uniformdev/optimize-common":"^13.0.1-alpha.81+99d530a4","@uniformdev/optimize-cms-react":"^13.0.1-alpha.81+99d530a4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.5","react":"17.0.2","dotenv":"10.0.0","eslint":"8.4.1","rimraf":"3.0.2","esbuild":"0.14.3","ts-jest":"27.1.1","cross-env":"7.0.3","typescript":"4.5.4","@types/jest":"27.0.3","@types/node":"16.11.12","npm-run-all":"4.1.5","eslint-plugin-react":"7.27.1","@sanity/form-builder":"2.23.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_13.0.1-alpha.81_1639700319935_0.9236784009638042","host":"s3://npm-registry-packages"}},"14.0.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"14.0.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@14.0.0","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"212276f392a6d1586dde10c56de59fb834858e66","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-14.0.0.tgz","fileCount":5,"integrity":"sha512-oT+3miFm+u5dZkHzmyqpuz29HkxOpyfeEeVXCixkjn1xB+Yl/BxSiTBDYMpd59igB2JKYMvzVBocO/CReiUEYA==","signatures":[{"sig":"MEUCIBW5onUX0nsvNALs/0ghK5vxheSA1EeIdH1/wve97uV+AiEAwAnX4wyP4DA1gmQ+2uPl7YpvRlGtx6HxMeG/yzpqoag=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":169424,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwfU2CRA9TVsSAnZWagAAdcsP/iI7eZnf+NNN+HuHO8Wc\nyePy8zsP704SCbwcjxvKIWtFfpkvbC1lXpzpkMqbx/FJNucIkBWLStfSK/+6\nB4s3V7jRyF4LU6SY1hud2G5b99dPf9Hh7roxgi5dR2nLg/xUD8ERuq5dhyjy\nT3XO8zduHDJSrFInuoeQAK2027RAWIcyFQtEZumMoVA39GWLR6il/D5GqjBI\nHa8gKK6uu05S73LeqYCH+wexbz0Gv+ds8oYHl4H72Y7Wc9fIMfMQ7y0OF/Oy\nLnSu2+2gQu8SdrstRDUDEospQmxyqGURM90/EeNjopSyHDDbEm2CszhDdrbU\nl0ZbNFWvJqyK/1TFpCf953P6MGuOFc/0HdmDA8PVGM3grQify6n4DVfti/t5\nr6O9XERujiULgio6Mk7Z2bj+lUbrN/D1Qixb9UziWTouwe4qvoVIU1cdB1O9\nt6s7B+9pwCkefVBXilKhxLasbAB2hQwFeFgk8dZc+CBwi586ew3ecDgffhu3\noxKDk6CkZxokFKbgQj4X6FrTafEwsNlbXuOGMDsDawAvOi/StmmalYzt7mtq\njBLLcPkejSdOwUDSZNlqArXrptSKMw4JEA+VI25RZ7ARtnxlcByN5qnUuyhx\nnOBmkwA41gyDT8ewvq9faK++Je+mdj61PJug0LqT1gAxNOCw5QXvBU1IgZYy\n+JYB\r\n=vPXr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"5f7b1abf0fe161630b53bde4c5530f8b12a1c775","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"sanity-secrets":"^0.0.6","@uniformdev/optimize-common":"^14.0.0","@uniformdev/optimize-cms-react":"^14.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"27.4.5","react":"17.0.2","dotenv":"10.0.0","eslint":"8.4.1","rimraf":"3.0.2","esbuild":"0.14.3","ts-jest":"27.1.1","cross-env":"7.0.3","typescript":"4.5.4","@types/jest":"27.0.3","@types/node":"16.11.12","npm-run-all":"4.1.5","eslint-plugin-react":"7.27.1","@sanity/form-builder":"2.23.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_14.0.0_1640101174030_0.06687595629211485","host":"s3://npm-registry-packages"}},"12.2.1-alpha.107":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.107","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.107","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"6308368eddfb48cef354e93ce92d6fb3005fa793","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.107.tgz","fileCount":5,"integrity":"sha512-L7Ogmt83kVm9D90xsogVjNzQDvHC8nuCNtDrShgKOdA8a83GiriIOk1wDxDMWKMnoplNW9usPOaxEVagOmJ9UQ==","signatures":[{"sig":"MEYCIQCLHQi4cgu+iUlvg4cQaT4djrYh1eljbKcN8hOaq18MhQIhAJ4gnQzIBqcRP7odxER1G7eG2PKxIpGqn7YIKlzRC07m","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":170015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3ctBCRA9TVsSAnZWagAA5vsQAILA4Q4FW7tXg6q/1qWC\nGDLaKcolQJsVy7V0+K8a1WUF3Lv28hXbhw5admhpYv7qLU8Jt4Ri/P1G1tWi\nCWoE5hbrymaAHf9InozHEO0qs6Iqx0nvyoDJm+6fDHf0WYLzud9KmQEQwMK6\nqUmD2CEERZcDg3qRus2vYVeyGkZRM0wXjW8QqKVZ6SIFqNboMrfkMcx78f6i\nsNJQWstORa+JFLV21OL1l2U2NgKblv0BWVu/PvxG7oraNdxlBqFbUft6DiWl\nExnjMlaUBY/TAJmE78lg+hbMdwQ+mBtcJoxDa5+A25HQBJJiB0Ab4zAKcGkt\nMOeGwyONSzoeES/uqleyxIcB7rnv14yCNgTa0wHjpJ983LdeoEwOHr5ZfllK\nwFn16nBwX7DOkKOkpuMnusHF4DTkW0xpvxvZIR9GUfxTi/H7syhNsHFRqpkR\nMlhWPqo3N0DdPBkpo5RLs2zFt02w9zlX85uIL1oeb6zJ6L+rGcQBldNlcgV0\nEJEm9GODjzS9WYhGe4CRNyYzQkaC5D5JXLkN+NmA0/fVt2zqWKj0jIUOKHG6\nlIP0LRwcThiFK76DGUqkTXncukKWMPKOdMvf24G48GRwqfEGRETMQzqGXNeE\nrzTIESG2soqzdunxsVPtYMe3X5v9cHx7bS1nl9GNF25NWSdCpCl3uxwNwwi9\nypWp\r\n=PaSK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `yarn build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `yarn build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `yarn build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"b30768d5d58d4c75b390274042724d50c1ee1041","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"sanity-secrets":"^0.0.6","@uniformdev/optimize-common":"^12.2.1-alpha.107+b30768d5","@uniformdev/optimize-cms-react":"^12.2.1-alpha.107+b30768d5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.5","react":"17.0.2","dotenv":"10.0.0","eslint":"8.4.1","rimraf":"3.0.2","esbuild":"0.14.10","ts-jest":"27.1.1","cross-env":"7.0.3","typescript":"4.5.4","@types/jest":"27.0.3","@types/node":"16.11.18","npm-run-all":"4.1.5","eslint-plugin-react":"7.27.1","@sanity/form-builder":"2.23.2","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.107_1641925441140_0.2575428798680879","host":"s3://npm-registry-packages"}},"12.2.1-alpha.121":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.121","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.121","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b2cfa40dfb1ae6a35334ff0e52a6e3c617e06d9b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.121.tgz","fileCount":5,"integrity":"sha512-UFepy15qy69hV0wzlpGbDxwUn90YLuikf0MtodTjT2ltrD1YdBp2kJvH94W90bjqQi4oQZYMvAgp7dGYmHeyZw==","signatures":[{"sig":"MEQCIGkvKOcVHJdzdH7g7xk+NA7za3c5sxBsP5HZu6ngDhHeAiA9JOIr0SFoMKv0ykaFlxsPCST3zk7ij8AE2kwxlL0CiA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6FIKCRA9TVsSAnZWagAAHtIP/i+cZXllUFTiR2MDPih8\npiTo7M/hbrsZ9B+Ui9bhZ7nuMQUFirrpJy4dhpWfYDBcdEO0J7rD1oWTe0ah\npbDBPjKZoegBBmgtC9l1kT7Q24VBOPlJpTIsmvAQumcLrraIE9EemGdUWT+A\nhWrnYv8xtECbkHZeRJGb7ZDYh4xUFsZL5TtuL+FvKgzTQbkp7vpejes77y0z\nFkwhbh7nwR5hjXDYShF+vb/7dMwzwEALPVy1pQC46SdBH98HHMH6HhFSbDn4\nx++zMNxZBnDjvNioipNZJh2EQUqAURqfFK8cli3kOta6N4EkhpZtEBx65ItD\n2v+gCw9srK3b4aXo0bn3i/Xmwon4BKe+k+3n3Hmsk3QByZ4fYgG2RGAPu2c5\ncOsJMdlpbeemNXRzHSKg7uMvEUGyrDGXRj+pG0C0uQANZrxYJLf2V1hEWuvB\nEANVJaBiPBYQkqKbHdaOehTCEmfJvY80VNTgtb0VxH5LjFQTYuvgsuoIfwsC\n20Y2e62F36lRF5C/dJLe9GbKbCmkD896t8SRv9nodTykGXq890ssJ+HHYmrs\nxbvJ73E9lpCjXNI3I32F/8hqOkjpyGXdeD8ZKKkTc3gi3EW/Xauo7WQlWBc2\nVthPsnIVOMYTnAcypc+Tam75iCnkyEg7uFb60oKQyyt/QUzQ7SO3fnq6m6vC\nxWxY\r\n=irHK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"3d33c2be484210ce3f056e80176fc6f56b69dabc","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^12.2.1-alpha.121+3d33c2be","@uniformdev/optimize-cms-react":"^12.2.1-alpha.121+3d33c2be"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.7","react":"17.0.2","dotenv":"11.0.0","eslint":"8.6.0","rimraf":"3.0.2","esbuild":"0.14.11","ts-jest":"27.1.2","cross-env":"7.0.3","typescript":"4.5.4","@types/jest":"27.4.0","@types/node":"16.11.19","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.24.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.121_1642615306056_0.9850979775196087","host":"s3://npm-registry-packages"}},"12.2.1-alpha.122":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.122","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.122","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"3d7ddeba3a8b4f4fd7f98529664c80dcf1ca4d44","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.122.tgz","fileCount":5,"integrity":"sha512-Y9Y/0AMmKCUZ/WX+MUw07hfuTa91PLZMj6wts+x0LZvy0OHXRFYmPK0M9LM9EG0Sm88AMx7XCtXNU+8qbHzpDQ==","signatures":[{"sig":"MEUCIQDng1dO2sCstGYHdqe2SEvhkQsSPku1mazTmTJjD2tKAwIgUQHQqkjdhUTKCzeqY0Yp5/tpQbMQrUSkiH7rfAkphF4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6FNzCRA9TVsSAnZWagAAY2IP/i6zFk5lAFwP4mq3378f\np0cxCa8BqhEX4uQJ5iKQoZWKK83aInl1RB9tInMpbxQboCMQlIa7WlMpEwTG\njaZzixCtfxortwowQHQy9qQACu0X6oJtqwVxsZzvwgvp0UqOZgkCv/gVFWZC\nEbR50gnfgTRdkXRSai0cbw09QDfkOdpQ5SB7N5nwNKT/JisAbIjB3V25qCvU\nO9T85hEkcLo+/ebsSOxWdVo1jtdFawZaEbZmm5e4/qvxWpfs2t9cjC5ttY7n\nKlgZtpOwNgp+zGr0f6SvHjgTxNNPwp+Vg4A9v2S0B0jhSbx/6WwwuGff1O/W\n2YwDq+rdEcJp567LjvqQgrXwyQGGRD3Ru3GFU7o1+XTjYW6eM6EHaRB5xqno\nlO4CrbR1fI2VLJ4ctJQoPKzr1rcSQdQfhTJNi0x2YWgBaFkjGEpWPRv9AJ4h\nYKXqoTPFuOG8RYHVr631oXya9hs/llYmrm+lBMddAWc7/yU2BvZTsKn5GZsq\ncdm9MOixPkVwfoiYt0srQfTVc9njJ3jfuwAtYopQieSkZ2aZrN6DJfoICJJQ\n5h5STudFJhewUlE45rfAIkbqGws9r6MXK0j8ZRAQO/3I47u0Eq08IC/+ga91\n8s7oSz00TY7YJ1HO7KjM0apx0V9pYsUwSJQe+/Lo/HCiVwR5W2L+1QEYcY4m\niov4\r\n=0nDz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"78b1fc2b13464a32c3d1256c1d98ca2a7f59fd34","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^12.2.1-alpha.122+78b1fc2b","@uniformdev/optimize-cms-react":"^12.2.1-alpha.122+78b1fc2b"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.7","react":"17.0.2","dotenv":"11.0.0","eslint":"8.6.0","rimraf":"3.0.2","esbuild":"0.14.11","ts-jest":"27.1.2","cross-env":"7.0.3","typescript":"4.5.4","@types/jest":"27.4.0","@types/node":"16.11.19","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.24.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.122_1642615667091_0.6213084620757752","host":"s3://npm-registry-packages"}},"12.2.1-alpha.123":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.123","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.123","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"dc3e07d71fb25803d1bd011cd01838b110e856ee","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.123.tgz","fileCount":5,"integrity":"sha512-pEMj5Aa7MCEBf9ApJBw6Zx3kd7HsU2gCTIDDJ2nTwY1ACoWXCCcefUrH6KP8lmnjL0yUCLqJXgUg5nQ/bnzo0Q==","signatures":[{"sig":"MEUCIH14jcZh3iqfhqzXZwE4fEm+ZzQXzQyyIG0naRrioLBTAiEAifhvSuDJ/13c8CzvYhYw8SG9DeXKg16pM+GVKtNaYqw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6F06CRA9TVsSAnZWagAAYA4P/j4GWYiApoKTvY7T5SBj\nIIsKHwC2UY71izAQLABTmqvg7TnHPpn4TIerYzQspUjXuvrRa1PVxU6UHGuu\nnvI8ludurp4JVKdvE6CkyZL3zTk/dQUp+XY101GFkWBfQsi/iP1i+hhnUzft\nScm5T917bPIaJbH7J14yubeC595DHFx0NyRmWgLuD/IPt13WfPios3chJFDu\nkvyo3Usy7vu9ybHeq2FxQMHqmkZVPjWXwQqRQAqUjOKvrLyML9ZlfP9z6dDm\n90jHsYLKklniI9st+FoLpqog3SY6847eWw0yFFb/fdPsMMT1AcsO879rbJJJ\ntYIMjQ4+PGVDvt5AsMR8IHnh4LuvQjLUlOKTlZ/dTDwymawNkq/EFAttBczR\nWF9ykSYcNw6xPgcjUX60bkT0vuvMFTYCJoEKul3R+LUysUaj6HGeljAP3yfc\n8xQFxkwtp9UYmKjZHV7iZRwFOY2GAkH+ZRdgPaieQzxU4rcoiHdmNz/HVFrV\nQwCdg0ZPsBHvSK7Bxpe6cvidFReuYx3wD0n9ioivpaSc4Nl/vd0QULkREm+x\ncNShXopNORhQRnD2iMYSJ1rdRDimIsx7xsUlBWINkh0I6RrRIjnsmsEcpJwe\nK/eQsoCTpGrG4UmdeaNynIYPbIxlHWRtz2+W0Tp7JMtJnhyI0Fw6gakC4Q67\nCNsr\r\n=Hp4R\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"e808953c0687577d4c1a09b480a93dedd97680d3","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^12.2.1-alpha.123+e808953c","@uniformdev/optimize-cms-react":"^12.2.1-alpha.123+e808953c"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.7","react":"17.0.2","dotenv":"11.0.0","eslint":"8.6.0","rimraf":"3.0.2","esbuild":"0.14.11","ts-jest":"27.1.2","cross-env":"7.0.3","typescript":"4.5.4","@types/jest":"27.4.0","@types/node":"16.11.19","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.24.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.123_1642618169950_0.5776301095179113","host":"s3://npm-registry-packages"}},"12.2.1-alpha.124":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.124","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.124","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b47974dfd2c34e4e89aed2a7647ae13da84f1396","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.124.tgz","fileCount":5,"integrity":"sha512-unlh3FasE9xDEQAjHJadQeZ5sfmzzW74sWd6P7snsNu3owu2eH2uRrWwOn6OIn7Y0zsNH+yQJRygiy/PWwt5vQ==","signatures":[{"sig":"MEYCIQCGqvqJSC8LpkPLmifWbD86bnd11WpWRhx3srVhgZMTMAIhAJdipdpS4eL8Jw3KDodQuoWVjD0ZG+J7g/nn1QDcC/2h","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6F6GCRA9TVsSAnZWagAAdsIP/1dwWO7HlO/9e8o6VHlI\n2IXqYhq8p244RJ7vPlb2OkNQ9n9GRQXd7g+tzYh/eg7wD9rC2eknkoqmKWbN\n4sGcFyfhSiEkNM5TZ29P0dqlR+mnSpZsESXpzcPmVJXJ96voRVOrG7B/YxDK\n4DR4CdQl8qOuywZH5NsFHeXn/fWCq+yiD+EgSsNerowIuk41zTq5dFmIUPjw\nxNBGt/uTchzeWNFYokhFQwO74+s8knBPlSSmroJkK3KODsRQ+0s7NdKnYaS0\nkwump9l8sWQ1+u1GjmKP7cSTA3p860dzQfcIjtxZ/8EpF/AnCZFKMNT/St9z\nB1k+rUMY5YQrcsovwDew8aUlu9lOZkS/LrCnEsayKAWffshxetbF3/Vs2vjA\n+BfrL801iaAdBmI1HCKZVicVyICMX9ERkZJ3tvmr3kzroIyjvVRPyN8UsUJ5\nQZsJ9dljnPUZCvXKPPgp0aRzhBd/WbuPc5gtta+CQpQuXVZG8dFzsbZLEP6B\nrkpH5lTgoF7golBfOrzawhsRYLLnu04k+/Lw5iO9q0i37xrRU5FG5GdZEBU+\nGr3gBCtUEH6b/AfIw4kQ+cHVPUtAve9vyg52D78dystLNcaSDsConQsPEwdj\n/0qhbyudgUZEenIjpM/eDlbib5sPX1HOQGzLINCNd0QGzq9ZHaxS1iHXWvvL\nNO1r\r\n=AVDv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"5b0636beb4ee594977e72eaa53fec643d799b97e","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^12.2.1-alpha.124+5b0636be","@uniformdev/optimize-cms-react":"^12.2.1-alpha.124+5b0636be"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.7","react":"17.0.2","dotenv":"11.0.0","eslint":"8.6.0","rimraf":"3.0.2","esbuild":"0.14.11","ts-jest":"27.1.2","cross-env":"7.0.3","typescript":"4.5.4","@types/jest":"27.4.0","@types/node":"16.11.19","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.24.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.124_1642618502169_0.14915951991541454","host":"s3://npm-registry-packages"}},"12.2.1-alpha.125":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.125","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.125","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"0f99ac2586418cfb80909dabd63d636f26cac443","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.125.tgz","fileCount":5,"integrity":"sha512-Q98QeYEC2V6/zKX8MaSuA9Acph25WcRkycY8qA2jN78+3B4KwXfVDC45HLuF9c/0nz3+oA0a2uQbCN1wcQEAmQ==","signatures":[{"sig":"MEUCIAw7L1aHdjV5aWobIsiI4r7taYZTAZO3nGzPehqiM4AoAiEA2uD+vU28RKuFTdIPZ9TZxCLDOMXAnfL01T/OH/dqWOE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6F8wCRA9TVsSAnZWagAAe80P/jufY/tsrBfqe7Bj6iZi\noLH9rep1Wy/6oFZw5SHZcf9FfwGT3sVpJ6gKskwRUWrbOfJCtymD1D6SaDVU\n4y++lNgXkBpvkQ9Cb/bKOmZJxCBVjTwuozSfMZR9bHqZl2VdNFxEFB71qm/N\nWxQZ/vquOJ0SNzz1O5xDPYdWqLIVrZkUOu4nJMsQVS1OSuhlrRAqBjrjvWUS\nizCC2pzRqs+wk0UiqUqVJ17vVW3ezv8TZljTRCHhg6s2C40d7UVU7r1igc+b\ng4RegcPAK+LVq5O6WZLjt5kIYfERDWTUD7CcJjWesikmAZWr9qvoSDgyANd4\ntpyWFK/OT6VPituw0AxOpqdMmG4fghHfGdgL4/F9iYaQi6Zw7Pi9M3x7HHuv\n3QMXFhaZPND9PN6LfzuWtsDMMD+vLAvNIPqp7pgzt/gRdERSJJzWQtFemK9/\nWuod0jrp1RC8D/dh0/d+G0sd6BBFunGxnfXgYX7P/v7qhBr/+H1WZloL2tfn\nIgpDYru/4OyBeri2dEIBXegAv16BATX7fmVYYvw5r9JHMD1RfODydJyVqIaJ\neWJ2lLBmxD5BChMmdPc3fBGD+r7tMJ+jwToRWQshPrBPvwiFKjILXX4K0FxM\nEAGYvA4CdqkozMpYulXA0jN/ckFd8Lw1Ro5T0NCrnIoyfzHsqVJYwS6LrSuH\neAT/\r\n=Jlaq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"5b577e720b99d9f334756ec0e25cb5c44d4a98b9","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^12.2.1-alpha.125+5b577e72","@uniformdev/optimize-cms-react":"^12.2.1-alpha.125+5b577e72"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.7","react":"17.0.2","dotenv":"11.0.0","eslint":"8.6.0","rimraf":"3.0.2","esbuild":"0.14.11","ts-jest":"27.1.2","cross-env":"7.0.3","typescript":"4.5.4","@types/jest":"27.4.0","@types/node":"16.11.19","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.24.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.125_1642618672724_0.6148913434913215","host":"s3://npm-registry-packages"}},"12.2.1-alpha.126":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.126","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.126","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"85555b488c86e4724bf6789944d804f787a0ff45","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.126.tgz","fileCount":5,"integrity":"sha512-CBBkCE+mvH7voqJd+/tMS0FBFP9o8eB4p0+hqD/75GitXGpHVsQmjuiMB8TX0NTnf6/q+VrlRBz2HSfUHsOQBw==","signatures":[{"sig":"MEQCIELU4QJPXzADgY5rKQVmfFTzP551BcKeGXsZvLhwgenGAiAuLncgqF6ZCHnstMv/Z2oRx9eFMD42wI7PTJueqWdTWw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6hBPCRA9TVsSAnZWagAAsFIP/jnoMRBFZWJdwh/fbs+l\nYNS6sx7Waq0sMn8LW4PmF7kBMERSh6z0pqH5zg08m2h54a+X6yuuSxL3KwdM\nkwF+1tfcsmjiCL1BCUTHutSOI57XfonS7ILQwT/TLu6BOCZ9XRfJZJHantyj\n3AKw5khBkJEah+EdpFhWGUesfkQ/Sdi0E19d4OtUD0I0QllDwbqbHVMWp0/8\n2AuqpCrLeADJDKj0+JN94cSVCe8giU7Uvrmvt1QWMI8XqA4rtO3svXOOXM++\n1gDgBy9s2K2K5Uri13wZDuI6BLKAmaD7bk5+6vbTqtc09+oSrRzZca9x+RPM\nfHPwsWvVAw+rKDWQtXvHHue/ZETrPSAYfSSW6USd/WXrRFc1FRTbRlIC84g3\n8v+/06h29QLcT66Gw9jU/EKLRj9evEpf4yQMejlKD6L7IQI7R0JPOJuGKy23\n/S5sdpTaDsVtolZnzcX2jfDhIHCznU3Hc0aE1GIDjMeiZ4FNvFyd/60dZUfc\nYfpakT82DkrJp5Y13Yr8vjePMt/bt3xYLKRGS+kKcHcqT75kvJ+d1YpdAgyl\nyaOLRCwrtPv3YN2+i9b2DHCD/Kmh2GjLxxaLltLx5tf+YxgPrCnU4WjTe6v7\n864A31YzgzS81VpX6NYw8POqQZaUMaKFNaUxUeo9SnigopTQs28AD1s279pm\nwOMv\r\n=bHZ7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"0020de873546cc632482fee984c2900d6154e29d","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^12.2.1-alpha.126+0020de87","@uniformdev/optimize-cms-react":"^12.2.1-alpha.126+0020de87"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.7","react":"17.0.2","dotenv":"11.0.0","eslint":"8.6.0","rimraf":"3.0.2","esbuild":"0.14.11","ts-jest":"27.1.2","cross-env":"7.0.3","typescript":"4.5.4","@types/jest":"27.4.0","@types/node":"16.11.19","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.24.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.126_1642729550975_0.9475724311151996","host":"s3://npm-registry-packages"}},"12.2.1-alpha.129":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.129","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.129","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"067df335039bc0e1381d2dca596ef25dc0977ac0","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.129.tgz","fileCount":5,"integrity":"sha512-+9HM9eUTdmtk4aCHVJNWiPngGyoe1pSujiChGnhxKVZVFf1iiTP+xlPFTRRq4Zi9B+9ccSgVhO8pemv0ThLyCw==","signatures":[{"sig":"MEUCIQC3Ik0j0EltiDcxgWvuAervMrZeD6tTAuGURpvEr/j2SAIgOVn3GIIVNA08sJJdPLVtMA6N2ndxyQakaOkYrl3UIIo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh60fuCRA9TVsSAnZWagAAsuUP/iXo7gjnVtAn+8caFFre\nH+g0zmhfjT33vdOaSZoWevoVWCAcQzG9kZwOKrlbuJKDuj5Z8d7JFdaEwTyf\nZwLLB1ZdZsb63eTyVGNw+hUpqOI0x/Bi204/yGJcTWhgn5h48evzXhjFIi47\npABYb+FC58ICaBEAHH3KJfyKTRtVlBIhbrLqUolPriQ7+TZTKrdvx4pXr0Ef\nVtizXw+wOAjRp4+krMCMc3bbPQOuB036awFD7zgUa1tP0PuKkYqZRmzUZCO6\nI0SarC/q5YrZ13osnvq68siNurU2Fvcl3y5/akFfKRk5LGgm92qMNZbXFgMT\noxYH6/Li/+8pu59Ovv8oi1qx6MQtZBqS1p1WtGYIMe6Dgy4vOzFMtu7+bJvB\nVvhZzOiFmhPh2GrROp75MjXDHPHQascbL7iECAp+5N4CNCfiuq489E1hY/X8\nePFWaEd1BaN2uw2FM+4DQPrr8Bvv+W/RYPlhLTIQmkiCePmuuzkRqUGTj+s+\nY2A2LG0sN4IdL0E7yBQpspElpbrebIxl1tTMeSigV09npQbrCDAAeNbtVYa0\nHGGAeQlIixSucrHKr8gvO9OHjUpXl51j1OoadYc5rrW5gLXfv6MFVVgAFhSi\nsjeWpvdvx5IKS4lY+VEp2mrIjJAziRdXwfp9L3J7npVU1FwavzRQqsO2x/yo\nqmvu\r\n=LMAd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"f2ec0677fc02b2a8fe6788019cfd5812ff5048af","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^12.2.1-alpha.129+f2ec0677","@uniformdev/optimize-cms-react":"^12.2.1-alpha.129+f2ec0677"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.7","react":"17.0.2","dotenv":"14.2.0","eslint":"8.7.0","rimraf":"3.0.2","esbuild":"0.14.12","ts-jest":"27.1.3","cross-env":"7.0.3","typescript":"4.5.5","@types/jest":"27.4.0","@types/node":"16.11.21","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.25.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.129_1642809326168_0.7327619446780989","host":"s3://npm-registry-packages"}},"14.0.1-alpha.94":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"14.0.1-alpha.94","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@14.0.1-alpha.94","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"999c3201e55ceef9609de990b3c98d8505bdcdd3","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-14.0.1-alpha.94.tgz","fileCount":5,"integrity":"sha512-DmPOIurrevwVW6nI9F3DoT4nXr5dyAkptmpe23R5Ie4iOTULpKINtyVVqeyvJlt5lQoCplc9mKpP8T3uQJxy/w==","signatures":[{"sig":"MEUCIQCEH7iCMusUhiFOpJq6xjpMAe7jWVTxFX7gr9PsCqEaogIgQFhUjfUIMUHn9fEZrVN6w67Ro2NULbh+KLmRW5hfoK0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171285,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh60kxCRA9TVsSAnZWagAAalAP+wftVQrhzj9I9H3QAdqZ\nXSDhwkVMjmpTwljeEr0t/8Wj+7RVQZnSCoHPgHl6F227ieGBPJhm1FkY6gpk\nWT9hmXsNoXKwLG1jWcFvdxkoEvhXrtC5xBbhL3N9sHJdJYnRvgceoDQTwOVZ\nrsdJJ9HwQ+IQZ/Cp15YU7eIFG2XfTKF+nE+SaomFxXMNl9nH8C8SsEj3EFId\nI7wOTOmrUvDpD9Nya7FdEMDTv9pde2WgpWJMwZmA2U7XaTPc5T1nMZ9lmwrB\nxzAoyfgiQOWV0dxUsuzzDNYVD20b03QhMSYOOCniuHJqcviEo0P+7hECtsaS\nOBYKdwJYAighmW2JZGhWp8SX+R69Kl170VW9tY4OSCvYF0aNA3VhQ4AwBzaS\necvMZoADnrsvViIAKqbKIHqHZQ5IZzgvnl+vNy6XGiXta3lN3mbiBnIIeWc+\negWLdQMMUEblnCGoutIxcwfofp6kg2MNa8qUUl8c9Kr0ko+8kWYWNkgk/7Y2\n86cip2rQbJD+E+poXQJ1FXvIMELhypeWQiR5G9Z/e8+xOLc43iHGo/Ifmkqx\nV5YorKhzUws/HRzj9EvH2WnN3BPVIFMFgzygoi6ENwsUWBfEurT0SuVUV8XA\nsuOB33DyiN/8J4jsAZror3gpR+jsyBdYtBzxSyWnEmRFQAepNNATEZLH/aBz\nBtFv\r\n=ExMV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"f04d63590168a9c7dbbfbf2b2425c72c07f1ce84","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^14.0.1-alpha.94+f04d6359","@uniformdev/optimize-cms-react":"^14.0.1-alpha.94+f04d6359"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.7","react":"17.0.2","dotenv":"14.2.0","eslint":"8.7.0","rimraf":"3.0.2","esbuild":"0.14.12","ts-jest":"27.1.3","cross-env":"7.0.3","typescript":"4.5.5","@types/jest":"27.4.0","@types/node":"16.11.21","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.25.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_14.0.1-alpha.94_1642809649241_0.8137994405334954","host":"s3://npm-registry-packages"}},"12.2.1-alpha.130":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.130","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.130","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"5ac85ac3fd12abd65647d4f1df689845e1c251ef","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.130.tgz","fileCount":5,"integrity":"sha512-HIBM15D0Wou0a4hhVdbmyl8YQJfp53az466C8ukGJ199+Vmb/a3OeEKbznFRkYFcQ5mqU7RSswF1C5kRUDp9hQ==","signatures":[{"sig":"MEUCIQCiJrkMmgT1ogSkqPu1M7Yed0IriC4tTcPuD+vd2j5JiAIgeQ1rybqFYFr84JT/HO03lTWAs2RVoehNDDvBVsTEXIY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh60ulCRA9TVsSAnZWagAA9C0P+wQHK8YxsFkUlCByrMac\neDizDSq7J64JNqZ5QsGPQrc5e6QE9SOEOFIqanJhK73gz0KKMq12q31Qi0mU\n6pkDjTwUB9X8bhO/ZJBoMsQG2J84RhmTXIBlHFSI8TlwMuMD2Gu6qJebtuNA\nM/FI+dJDuu2D9P3ZeULxefSckn3QfiOcpNAAlXCZ0YQHybzx26qu9rzFnXct\nqX3OU6LZXQwmZ4+oPrp9cNR4ct7+DnDw8uxyE2SsTIA3sQc05bemWyGqO4ha\nXVd2zmsCYqMHuRHma3mB/C24HD+5Z4MivsYJMzIUK498lzA0ZczyMDiD7zFD\nnPeQv3PxjWO6K1U2BwU+JogepMiYSppuM7cjZukpIf2KKuGwhH30+ZVjeFf/\nmOX8haETJ3wXF0JBcc1cq0PNYlBPBgC59yVu3mQzKVFJb0efUTIRfthEuZkg\nmBjondo5ecPXcKcbWrL6k4P8pZ89NvWVSHfoiPvXYMx1j1bwhp+ye+BFSYls\n6+pHaOiydMZmOFzgU+0UrvQjGs5ODe48Fhb8JC4bL317po1HbPqswcubLGZa\ndxlVW4wMCL0XOMcj/soods5Uaymz1YlPMi0RM8XnsHHY/ej5WmtLPPaAjafQ\nojoiZJquj+H3yladbu8c2RovWOHPyAaBC2kqdl17bKv0JiwfjLgTr8zhf/mt\nw9YX\r\n=xnqJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"8121a627f5b23ec7faf8574c4b795802ba045aa8","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^12.2.1-alpha.130+8121a627","@uniformdev/optimize-cms-react":"^12.2.1-alpha.130+8121a627"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.7","react":"17.0.2","dotenv":"14.2.0","eslint":"8.7.0","rimraf":"3.0.2","esbuild":"0.14.12","ts-jest":"27.1.3","cross-env":"7.0.3","typescript":"4.5.5","@types/jest":"27.4.0","@types/node":"16.11.21","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.25.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.130_1642810277400_0.5955028976598393","host":"s3://npm-registry-packages"}},"14.0.1-alpha.95":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"14.0.1-alpha.95","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@14.0.1-alpha.95","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"99bf45011c85096260ca13289fe61339ce5d735b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-14.0.1-alpha.95.tgz","fileCount":5,"integrity":"sha512-TFpfSyrR434sXFl/y6DN+XGZQ33Cw9WGqINhy/3VaLk6wLMYaEUUzn856gvs47AOEAGbK8rkIt3YOBfiAPTt2w==","signatures":[{"sig":"MEUCIQC5dbMf/n8fm8QtF3Z+Fxali4YbtQp6LCk9C1aPT5tzcAIgKk8KsFcrkE+TKuiAG5ZGve8E07TC6VdK+wk/On8skoA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171285,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh60ybCRA9TVsSAnZWagAAsssP/Rv+O6xMsMCrB+P/cp/Y\nibRfi1S7LKb1PDEc0SIbQ5hChXV/E6QGSBD14xvT73iFEdzvBU8rybjcSoKs\nFyT5dPV7bKvdCUwVdwah9IgbfXrhUhzvvRKQBLd40BahKTWGW7R/YO2HIIcF\nk++kK5A77lsmeGsY4nn29h2nBj/FztVQvqWqRjo2mqFpxph/hnfCNfT3JigE\n23jTkyaOJlp662lD2/WfCc5/+aGVobiT6EG7EUDeGVaOQSoMFeJYZ2FvdPYq\nwodEWhbwZmtgjHeiv12A+q39kQhjuvZcL6DR4jRMlGrZi+TPZBf1fFYGAxP8\nM7qNZcXs28E6RgSaitlSNiwinfntCxnqwkSI+pDbDUQEnklEwt+q82n83g6D\nwkzcdeZNYaigFyAu4eY1gKjd4sgk3/qtGgCeEyZCMZ49LUkLwFaobLAW7AoS\nhPJDcvNz7akwpVAHlBK5/HmHjGedLLWPiXoHmQJCJ84qBVrF7t4Fmgxcf/8p\nj0W+XYhM/dR2/ay+1zaQC1p1MkC5XWOeXX0qWTn9inq03HHN8PYDAif1Xt7T\np2f4YJ6wEUrZPIHc4iLZrFG/bdECXhKMckRCmd6FQvhZ2drOCEWYXO/axlKh\nguTgZ+cJeQrSXwbG/0vqMaViwKSJZkFToOECc9zdPeEP7A1PmylgzYaTM1dK\ndVew\r\n=7idg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"8da07b5d49096489ce9fd4da0c8a8bbe06ba5737","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^14.0.1-alpha.95+8da07b5d","@uniformdev/optimize-cms-react":"^14.0.1-alpha.95+8da07b5d"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.7","react":"17.0.2","dotenv":"14.2.0","eslint":"8.7.0","rimraf":"3.0.2","esbuild":"0.14.12","ts-jest":"27.1.3","cross-env":"7.0.3","typescript":"4.5.5","@types/jest":"27.4.0","@types/node":"16.11.21","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.25.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_14.0.1-alpha.95_1642810522807_0.7482858001319765","host":"s3://npm-registry-packages"}},"12.2.1-alpha.131":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.131","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.131","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"1ee5bb4bf4d795c3053b5e54d6525661e255c32e","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.131.tgz","fileCount":5,"integrity":"sha512-Na99FqkGynLJMRKEQ0ZPB5CILUuzDPPpPpjaYQvnpZwj88EuY5CB466kWkxc2PlbS8gY/Og+KHOAstOkFKWrDA==","signatures":[{"sig":"MEQCIAE7TwDvZ6S1suzW6cQGAflQjtq5ger4JEAGzIAvcQqoAiBUml71l7wCQMKZ1on1BhfDsnbx0ZNNroM45fcQ+bowFw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8Yz5CRA9TVsSAnZWagAArC0P/Rr4CT9Widaz4X0R8Kpb\nj09pL2vP6/j7iaw6SYyxoA8cJpj78uBZRZMEWxkbY2Afb4pUE25XCQZM1f8F\nKsBhneJSolVf8fATs2VHmLF0qpAxM5UKnqQyhlKL7NBaujbJsxXVmy5BjLYd\nywFRaCs2abXeqoIjXaBVOTc83nSDZpL6ePa6pkRUCLf2ygqCMJZOIRduwVOa\n+MlbXi1SuzH2hnI8Ml0aElyQJDZqV+Dks5P9xIoctIqcD/bFDtycn6Ag+z9a\npHoW32zLEJtxdM0nI+c0uSQzt5DV/Fm2te++TiEhIwjoJaCm70lY2ZZNHcL6\nrUCvec6wz2DtM+2elajDFyDHhxTfd3Hlj27fRqdcB6vyhITEWQaomCq5pz5l\nrDWnD2AC0FD4Gu6B2WAmUOBw8fgx5BvBM7St+vOCKlbMKkKkRdrLdSr2sOK6\nt4s2w9KGCH93NZKZfC44ir6rqizNMzaRxgOkbXJUUqCR2UWHHsDz95RUC8oW\nBKmtRTaijmrtt+6bPJuBkJWBe9H+CG0DB6vDJSri5veWm+F0a3gQ2jYrJbU5\nBCXIWmcoTUB+jOBPUyz/6sZKhTBd11MdWU/YzHKeR+Z1If/uFtnizkqPrOVd\nOUGxENpiLUyv3aPNaVYrLMyMALIUn1TkrdHz9kVYcDMacE8ZH1ui26fYApHP\nqzZT\r\n=+9te\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"5bf57bb51f3e8726dce0db3269d34c51a19b9340","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"adamluniform","email":"adaml@uniform.dev"},"_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.17.4","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^12.2.1-alpha.131+5bf57bb5","@uniformdev/optimize-cms-react":"^12.2.1-alpha.131+5bf57bb5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.7","react":"17.0.2","dotenv":"14.2.0","eslint":"8.7.0","rimraf":"3.0.2","esbuild":"0.14.12","ts-jest":"27.1.3","cross-env":"7.0.3","typescript":"4.5.5","@types/jest":"27.4.0","@types/node":"16.11.21","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.25.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.131_1643220217312_0.8335493652206176","host":"s3://npm-registry-packages"}},"14.0.1-alpha.101":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"14.0.1-alpha.101","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@14.0.1-alpha.101","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"mtony","email":"tonym@uniform.dev"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"cddda7c1425eaef333bec7a10b323180a1d2fcb2","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-14.0.1-alpha.101.tgz","fileCount":5,"integrity":"sha512-jVjqTppA5M2vZm4JhF8dsplvFzIbsLCafpgghCjeHELntps5R1OH1Pz7T+q+zYMkhLLsAcmyPlmkwhy0IMg5bA==","signatures":[{"sig":"MEUCIQDtSRU6PYuvLR/04LbaDjZRvIzc60BKoc1dsYDrMvnksAIgX9qy2JrGH4+wyr55LDIPweeNF1cE4StiZfP4aR04Rt8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8ZBjCRA9TVsSAnZWagAA1ZYP/jDT7D2CBdAxSY1YxP7f\nhULFrdP9eVsuX9TeHDO5vbj5HAh4RaYsl7IvuRx/qzjomLJe9IHIhTHIc4Cf\nXlozE5tB8pO9pBgG0O/V/laL9hcwE4kykJli1/byUnjPtfFrK/CfBKRhhpVl\nR0G+PldB3yLYaKKumJRiO/P3FbPNn80VJ8VF9Ix+8kEhqDYLSlXcxg7HzHNR\nFFaReGfzyiDNkhvWHF+jjGFQMI6dZdxI41FkbLFQiKfMMHqa2MFSHiLss9Um\ncK/cj+IaCGsRXtju0TculUDNgvjQDVxIJymAe3tQZDnaQzTyjcEtRQATW4zu\nD5oEsQ0v0IcKY8g2hWS0ogIBcXiV+xPzRYVab/7vbQIGNWEgZMmv7EQZ34xt\nf3V86ZUDBypmrkAW3fidOHbE6GcwE4LgQzd1QqkThk82iMLK1XFKUOIApZBL\nlXdyq5nl69opUTrcHJ2HJlJ8ymPrHfe1R4x7ikebwN2GRRAicavJKlatQq9X\n0wf9/6YTq9s6h3lBFQ0gC7GC+m2P+ppX361XrnD0PtiDx9PUiL0vEqgXcLNu\nrIQjkI0Xf5+7MGZPJSpbCoYCuZt7tm6ZT8X3hqzITpHLQkF5xBhyWxvfazzh\nfGytG8UTb5WXLE0qlNC/jlKLqspSsz7MAtyZDBKnoe6dI+RLwp/D0e/XpChY\n/uC6\r\n=A0pk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"61fc2a311b553e21d03b1b70ec6db0ada73974b7","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"adamluniform","email":"adaml@uniform.dev"},"_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.17.4","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^14.0.1-alpha.101+61fc2a31","@uniformdev/optimize-cms-react":"^14.0.1-alpha.101+61fc2a31"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.7","react":"17.0.2","dotenv":"14.2.0","eslint":"8.7.0","rimraf":"3.0.2","esbuild":"0.14.12","ts-jest":"27.1.3","cross-env":"7.0.3","typescript":"4.5.5","@types/jest":"27.4.0","@types/node":"16.11.21","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.25.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_14.0.1-alpha.101_1643221091522_0.8544155336035555","host":"s3://npm-registry-packages"}},"12.2.1-alpha.135":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.135","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.135","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"df8409e4bd38bb08e886eaf177d6b6b6818ee36d","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.135.tgz","fileCount":5,"integrity":"sha512-IgPonh/n6VSCbzf8HbPxV3kqMQzGwmgBTsJ3+C4IXc9n5olzC2W6fUxUFWITuRqtph1ZYPpg3LnYru0/yF8KUg==","signatures":[{"sig":"MEUCIQDYw6YugsTv7vG4o+fjUVXoMk/RXSHN3FyyF6A0fU/jHAIgeLICf8ncCGbDuHXdLq7uuPhmJfPX5Y3SFKJNqPhKDjU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+bJpCRA9TVsSAnZWagAAJ/AQAIw1dxYGk+Fw2XRYzm3B\n150iUoGKFIrtO/KcnpzBiFmaOseND/HpnWWhAIMYVX5/D7fNZQmM/axk55av\nc4/GAQ56anEX26zNLrNNMh166iLPPVtMhw8Y9SpPgT5qjp91Z2Nh3+s6p45X\nVMOJacDVYVAp3f9P+DZG6YiQ/eEwWngI0OsKxjov90c4kemSeREEzrX1dgFf\nfehzXrCKghPQ87Ql2k6RIVXAbTztaOzOlLHIy+c074UsTPNVOyoVSr8iiAc+\nsNRjAzsP9tvRModGJ5w/+fIpOrisjQtEK7IGdsmlHzOirspYhtA9WrOgJZwD\n5sPhW7rAMIG6DHfq5lzRYIBgft7+gh+v6ITX4kjdw49rzqLokEXpZKr18aIM\n4jiEK69IKtwWBeQ3tCZvIwEzHsI7CLk8c9Z1nmUGg3vu7rb9Iy+9Ttz2DYv5\nfBiBBuT5keY5s1ELAsKMZ1B1XtcTW/JF1YAUllOwUSTjbpMkoK4A1Yo9Y4mu\nJdcAnCce/e0JF9dYW4gTj7QrWbxhQsuzyIkitwMMT1VN8Q5TNOCfJGQBpgG3\nbSg8uapzs3+W4wt7esi8kAzAwbMNsskZaZSyyLpzZdwhFYqhjVk5NFWDROxE\n09bQ1Aj07l1MkwxKJh8BoQaQFmprBM1lPmikxi2dALsyaGMLXx+ooUhB7Ck0\nOzg9\r\n=erb4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"7a372e5f5dddf0b615e61d765f5545d0dc642216","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"adamluniform","email":"adaml@uniform.dev"},"_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.17.4","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^12.2.1-alpha.135+7a372e5f","@uniformdev/optimize-cms-react":"^12.2.1-alpha.135+7a372e5f"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.7","react":"17.0.2","dotenv":"14.2.0","eslint":"8.7.0","rimraf":"3.0.2","esbuild":"0.14.12","ts-jest":"27.1.3","cross-env":"7.0.3","typescript":"4.5.5","@types/jest":"27.4.0","@types/node":"16.11.21","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.25.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.135_1643754089565_0.5123538266014167","host":"s3://npm-registry-packages"}},"14.0.1-alpha.107":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"14.0.1-alpha.107","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@14.0.1-alpha.107","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"f304a2861621a2b27c84053a0ad5c30ae26dedf3","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-14.0.1-alpha.107.tgz","fileCount":5,"integrity":"sha512-U1F1iM95B798CaEbPhyphISIgrypoXvgb+bZtqF2G/H0sLtOWbjhiZk8WNyQJ/7/Yk6IHrN2ivs8gSZc331hIg==","signatures":[{"sig":"MEUCIAzEolanDec/XcFz1s6fA3V9SOVrwLGTqNesXCjOiUGjAiEAhqKcP0w/IT9NyruiM6hJBEc6qi6TYzg72Mc3ltGgrHA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+bTSCRA9TVsSAnZWagAAEUEQAKGcV4kUPPIcoY8FS7Ms\nJqhJZRG46ISR6DBxFePg84R2109oqh72LOptgAThbEc3zYCa/Q2qHaD6/YeG\ny/CgB/kEtWOLgBTu3VBAvlGLomxXPDV5JVQlYFGdduZcVXTtpRh13trBqdUU\ncl0dF6qqBxFTktxl/qzzSH7Lpm9HjcKJxMDikfAyRY3WVmsMy8FLsVN5W8La\nIVmhTIDkzJHff/72dJ6Bb94srRZAEhGD3aFYEFF8+J8BmlST15hXp4S3eXsJ\nLMdEMIqlJm9QgMgAy7tKvfqnEDTxmqvoWa6hLYXZcAa6NO49P0ce5kG4Q43g\nGE0GuUbk+tRhOtMpEOdgomdi2AtkDSVlWbfjfLpMjbChcHh4qXUtLQpuKYdL\npj/eVmuE2Lpfa1n5QelpfrE9uj1HtkchnjJyXKQo1Tn71Ql91NeFXyoQZ5JP\nd1B5UAuu5qQu5EpVwQ5bmYCmexLmfySRxmVrgBGxGMUWRWwOnt8EiV8sC1p0\nK0U5KR8XYvh+oQE1clPWA2Yo6KjT6NGNDWtUSzLYWNUOSv3qVtY/CRkrAWX9\n0fqRQbBvIKao3GwX8M7/dSjiOIhBMa3RH7+PhS8OyqgcotUUpWeQXA3ryesC\nrJSVajbU0ipv3YdsgOb3jM0mNq/MhdxT3XnvhQt0fJ4V+dD8+ggRhLFHLN+p\n0nVD\r\n=Kl6n\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"b314fa0dc93c5663cee2e38bc902ea9007a8ff77","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"adamluniform","email":"adaml@uniform.dev"},"_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.17.4","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^14.0.1-alpha.107+b314fa0d","@uniformdev/optimize-cms-react":"^14.0.1-alpha.107+b314fa0d"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.7","react":"17.0.2","dotenv":"14.2.0","eslint":"8.7.0","rimraf":"3.0.2","esbuild":"0.14.12","ts-jest":"27.1.3","cross-env":"7.0.3","typescript":"4.5.5","@types/jest":"27.4.0","@types/node":"16.11.21","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.25.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_14.0.1-alpha.107_1643754706059_0.3853469809250456","host":"s3://npm-registry-packages"}},"14.1.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"14.1.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@14.1.1","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"d22ef076cb4220e6c244e8105725a4703f4ad00a","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-14.1.1.tgz","fileCount":5,"integrity":"sha512-IIVDqMTFVdybj0puOL7dLBTT3gwbSMDY3KVxzNz5cTPlj2uVIRvKn6ZW9gQ6RvLuIU9kvtiHjs2pWn+TvxJ0zg==","signatures":[{"sig":"MEUCIQCUgldrP3x1nBF6M6BU1JdjcazNxnGanHCsRiPiZs8K+AIgV5pXlH0LzA1qb9SaCQyjgpPF47Eh/hQyfrlZY7jrujE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171231,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+r3HCRA9TVsSAnZWagAA8HsP/iTxGbpGnK9Bqux72MEB\nAtPnjAUBpY0+xCCZJJtDMW1TKF5D67gcnGQ0fLOg44NEnbh2EeVCUu4lbQLh\n50Z/ZJBFjad6lLbAwgf/9MhDsix4Ky7P3CVRBuHI2D7b8jMI5xFSRd+gyFka\nVJ3w9NL7joSdUllNbc+o9hEV/HElmdF2l2rl9ZOjKvFxNGwD3GNOBQL5gnue\n031e2HT36g0h2f41mmnf9k8LwOUZVCWXH2dIXwI6p5jwa8q5cBIWbS8IFCIe\nteaXspTa4fGW/hSJgJYU73ncQr69wWCuqnRDseeJB4h6puZjzBKW8+U6l/4I\nBn0lAl8PGOdRJm4GG8jfbu20AlNWFZiFIbsRUlDJnKJNcj4EKyV45SjjGEW0\nBiZ28+zFiGg2WFby+KcLQTsW9Wvx7k4Te+5PFuNG80tyNn1rQMWQpNrN9p72\nB3bkYXD32634zV1mUoFyP39Ocf5neYpqxTPf5BbZ7MQ9Kjs66cAHVJ6MJdYz\nQvCpzIeGz8sx5REQScT97xmJEYXfwPWVT9Uxg9WXYxvGAFCzODHsWfMhyanN\no57F6B9OF8DL8OtilZAGutiJ0c4H3KBuHlxGuLHDcu520lpq7ddBgD330UBO\n4+58Y8FHohu1cTAvNFyxf2xO76m2v2csJMrkaYKF8LYPcRc5+3B3ytgiXVX9\ncQJ+\r\n=jUtG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"af0cab00330e67e5aab9f3891747098004317b95","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^14.1.1","@uniformdev/optimize-cms-react":"^14.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"27.4.7","react":"17.0.2","dotenv":"14.2.0","eslint":"8.7.0","rimraf":"3.0.2","esbuild":"0.14.12","ts-jest":"27.1.3","cross-env":"7.0.3","typescript":"4.5.5","@types/jest":"27.4.0","@types/node":"16.11.21","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.25.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_14.1.1_1643822535699_0.2086886259817078","host":"s3://npm-registry-packages"}},"12.2.1-alpha.143":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.143","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.143","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"084840962878277c0834d5bec4353516542affad","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.143.tgz","fileCount":5,"integrity":"sha512-J6HNfj4CV+2XmI0cVfKgmIf2fTrr+nI7CeOStncPBvzvtPRPcNG/eSoPldDtG2mvdQ/xbE/NDJIh31TdBlnQAQ==","signatures":[{"sig":"MEYCIQDYu9iT1EoNXF6sHd2hZWJO+TegRQIzMTsp9NzqjCnW2QIhAOX6RNptcvfiDnMPK3MreFLm//CQtGraaBMi42zX3xxq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+sflCRA9TVsSAnZWagAAvbkP/1EFIIr49Iv/UC0PXC1Y\n2VGKGeX6hDnPsLjwQSp2vqWjW6lNQzkS62PZ9brtDIvWcWc7PGoGYYB/fn0J\n4fZY8lwQTP5S6bb1di04nDxadF44W/zwIWelZcK937RYOPalVCFURps5ZBUr\nEKhurL/r0CRwvlgCS6VkvLQ4tyO3Cii+xtZJKHyQreTmwV3C3mO3QySPJxuk\n13q7Nd1znnw5uYADHYOZODwtsfbL88uAAfDHwmOzoacIXUKgS7LNzF9umBZI\nk7ossjJlOQSzdbi3g6JKL95qDXZkPXzLgRefKKTWgapKM9aTZMt8y9yk0jyl\n6bNxmdZEOicypSTgSjaUlSPbuKJnoND5oUj+bvWC6fQFDrezNeIQ4ISrpTCS\nCdh/IL7cpPfrclX/JXdqfNN2sXASiabAlLG68UPC6P3mErnmCG6iWezHY7B8\nRr/JgiH3P0uMOhnzfMwBwc28x8/5SVTKJvUKBkTT4y32o1U/OztmXRskWJCs\ntrQAcANuhYsYzzMfFUgwUmPu2HZ9MlVR4H6KmTbTWJ4RKriQ62X1AzWWgObb\n/ZFXT7Dhzgyifk9Rr+Hkeq74nPHDMJjcZLVZuRsXqp+dDjy20SiwNSA/8O5B\nL/5uPdghygVLfKZc+NuDtaffSzB7vVkO3P5wXK7rkFWjRFlBNmsRXKYlIzR0\nNXEl\r\n=spAZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"b54f3127570a6a8232fda786952b3abfc0963a49","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^12.2.1-alpha.143+b54f3127","@uniformdev/optimize-cms-react":"^12.2.1-alpha.143+b54f3127"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.4.7","react":"17.0.2","dotenv":"14.2.0","eslint":"8.7.0","rimraf":"3.0.2","esbuild":"0.14.12","ts-jest":"27.1.3","cross-env":"7.0.3","typescript":"4.5.5","@types/jest":"27.4.0","@types/node":"16.11.21","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.25.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.143_1643825124977_0.038978823220393144","host":"s3://npm-registry-packages"}},"12.2.1-alpha.170":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.170","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.170","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b77be7974501ba73cf7bed08d8f1b3664ffb228a","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.170.tgz","fileCount":5,"integrity":"sha512-zNbcIzqGm667QqpEgPVnfKceF2O3lebz8tIKuEpPJU8dsb9hMzMy7RJLMZltLlIGDW9RPgRDjkGftyk6zNXHqw==","signatures":[{"sig":"MEUCIQCyf8Or7L5HtJNAbyuy0niejynP+HEgTtofWiPb6F8j4wIgIBSsI11q7wsBNciRwhasZ8nwWgsEOPy6b8P9oYsQ/F8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBqayCRA9TVsSAnZWagAADWkP/iu2AiXJg3R71ufzf2EM\nW213rxf1+il1ch0th9GLWALcRjDMxJQJBHz3mzmG0F3iGXc2x0mikvd06zCL\n/QkVKc+T9wSbqWDeJLmwuYww5v9EQ+Mn+dsaLWCiiataAvCRtIHgYQiqjVNW\nJHWQAj5iaCKGRZ5MQL8LawOdrOtmZhmj/Mcgbt2ggJeBLndibmqaFKgEGrB5\nEWju4NRzqG1Ihz1L/Dd/d/X/5CSCa4JbxJgTPG3jpS/K+5fBKmXU8PR/Br/r\n10myRW7zkX2qss5EsPEhKwPEkYOlizEec3q9k/EKRB47v+pspraSvJgZzNje\nEVxoDcltfqH9NSPxfx2jB8SGLkgVkIw3OoC3i8CTN8txRBYcOOXOPUCO/I4X\nH6Dz1dE+BIExl1RGV6I1VOFZznyeBTprR/vQ+tSqCKcUFsQtME17HGCiUioJ\nL/FrWZp6A6Z7rInBbvOi87m41PBEiV6PBYnbZ2UKoR1c5b+ZoEyOHPhol+A8\nOgcVE6nEiYN5RKXXDyq5gXclsjGru8GgQR9jUzj5OhF9au43JzpJ1nxH5HVl\n9a2kc9fdmvBM1VByuw5e09t/WMB9YT33CRtfbCyWL/a/4LJ/VOBf6WOAG9JK\nQ9bqikMcpntrbdridGL7dbxrietJL03EtdgH/WTb/1+xrvEpkmqIfbxIfdF1\nyPpU\r\n=EFZg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"899ea147cdea482a014e02911fc9554c81dd2cbc","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^12.2.1-alpha.170+899ea147","@uniformdev/optimize-cms-react":"^12.2.1-alpha.170+899ea147"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.5.1","react":"17.0.2","dotenv":"16.0.0","eslint":"8.8.0","rimraf":"3.0.2","esbuild":"0.14.21","ts-jest":"27.1.3","cross-env":"7.0.3","typescript":"4.5.5","@types/jest":"27.4.0","@types/node":"16.11.24","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.25.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.170_1644603057764_0.5019101900944536","host":"s3://npm-registry-packages"}},"12.2.1-alpha.171":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.171","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.171","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"30b27de624da2a84f698bc0924885db5413afab0","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.171.tgz","fileCount":5,"integrity":"sha512-SWb/7lwpaRmJ3AXJswsw/l93iwNo5byvOPRFKWx0JB+cPKTwprmrnqSt2ULYORZtdTUsfThoFRtn7gh8nptkAA==","signatures":[{"sig":"MEUCIQCAp+tf8rOhFZg3ek+bPef1D8UlN9U/8qRwuYeA2FykIwIgMQGSdKc1lSBoueN5ivZebdOfvTmb9DFLmCLZhaLH9P8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBs/7CRA9TVsSAnZWagAAxuwP/1bjbXAv2tGLqVjCSP2l\nHlF6OcMZBvYi5hhZGpFiZ4A7Exuui9YPId5t4g2ULhGJN6YRFKP4PrOrguXq\nQ4/8r6kUNLGRVae18X/2aU0cCRiQ6DOEb20Y1qDxYN8osuZ6AfTGsZEi0C4u\nWRhXmVZ3jd3NzOGsTfWBYTEmZOLTEo2UtwrMCGyBdYsbjKYra0WFYthqUc01\ntawTSci7XGUltcaajJKpQK8kmg+c91JjLhe0rezrk+NnOqjv9FZ3rX32az8A\nq6WvAjqTSAL25cN2q/NAhBSWKRnVVvRY/t/SZwF3aqTPPcDNVTMGkYRidHDW\naMnIZNjOvUZRVp3ZfZRw0JGxXUtoLN1RGv8A7tgf6etrt9LnLqQZLpukRgez\nHJ2Z1dC4Vo62hpRWthHd3l7qOLW1QjhkzAvBxNbbEowBm6AfqQj3tR5kujDE\nnU5WE+1cxcgMB3zlbeRZK/mGVUhb2BoJbBxadPVMFr3dTBYzfzyhsPyzAo6M\nimoU7DM7D48aqwPp6BROUvCia1IVcdMevSkYBqexpmb7WAr0nDkoOLCTg4Vk\nR504cW60qtU27nrPkDs4uPGL+FGxWeHiVxXmFc5l8s9rZGy5u2LleKq4R9zy\n5RZF99gXY+A8K0lPsW0qCcJkgr8IiuZvfsNaTTSifK8fA6Nv/0Cid+/NFIa/\nER2T\r\n=igLl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"b2055e2a1db9288562eb59768708f2f385d61c10","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^12.2.1-alpha.171+b2055e2a","@uniformdev/optimize-cms-react":"^12.2.1-alpha.171+b2055e2a"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.5.1","react":"17.0.2","dotenv":"16.0.0","eslint":"8.8.0","rimraf":"3.0.2","esbuild":"0.14.21","ts-jest":"27.1.3","cross-env":"7.0.3","typescript":"4.5.5","@types/jest":"27.4.0","@types/node":"16.11.24","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.25.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.171_1644613627569_0.4772838158187136","host":"s3://npm-registry-packages"}},"12.2.1-alpha.177":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.177","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.177","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"ef6141427ba80d65f0c83359c6dc34b45c4be701","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.177.tgz","fileCount":5,"integrity":"sha512-DGuwtmmo4J8waMp9RAa9Uyg8qygNo1DNGGPjpXPsjtC1v9jPrPouqMoV4SDS+HdTvEY6rBJRKmFGJMFaGK7wJQ==","signatures":[{"sig":"MEQCIAH75XcWIp94IJRVb39lbJ1l8p5CDdSoLt4E079JFO3CAiAOUoemGyy73e/KDIpjkLPUNxcSZLGG/z8m8N9yL7UKhQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiECjKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr69xAAmxLoFMN4NbbbwbqDzQ4jV3g6kGHd2zkwznxyTe1XXOK4xAlZ\r\nvH9yNJHbW8TPivnYxF69vCxUpoi5G3DH5HdYmZKpkkFPQlUtMVY+wV69gWnL\r\n4pvjQkvp6LxURr66/u+zMta31lBwxQkEZGNtbt6hBkKSqYUnk1pAs9OzIpHv\r\nOowQ65xDf1Y1HxKeH0v3N8IfONnFJdjgaYWFfkNgpMlwtbmOHl0sKc+G/8Vv\r\nAP+WNNS6hyZiGBIwVY5paAvTtQobsDmYyKoDj7uArKKdJfO0MSEbaFAjZOsY\r\nT49wa88YOk0y8gn6iV1yDiLtHNZmr1NQrjbuvUzKmMV41zWzGpnFaWS9QcdM\r\n+MfrHroyoxoBEVXguEziLcvNdioQhQkaYBoJeDcofQiumPGloY5Z5CwwjNER\r\nwD5xORKUCQsXAxVQs8VEYNi/JtwK1UsaATwXygIAZC+ucOoSG/eY9Oen0i4g\r\n1ROCfZ8jl4391aP9JOA7QLTZwcPg9gZKUWfHDK5WGeNKOU+uuilFsxiiWbaa\r\n0bacObzvJR+lLeLF1R0bPrHnQXRXIVBVeP0/8OjtXKDs8wQf3Zp45f+0LR9h\r\nxGcXNQpZujm+nHp+i2hVHby4F4fqFpDiBpZm8kFOZQ7oSVJ4Y/iuaD674KRc\r\nSF37HBM7kfdh+ngfkBHOxtu2XbBhm1siTE0=\r\n=klkx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"62e00ad7698fe93306fcbc58a1faaffbbe04f778","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^12.2.1-alpha.177+62e00ad7","@uniformdev/optimize-cms-react":"^12.2.1-alpha.177+62e00ad7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.5.1","react":"17.0.2","dotenv":"16.0.0","eslint":"8.9.0","rimraf":"3.0.2","esbuild":"0.14.22","ts-jest":"27.1.3","cross-env":"7.0.3","typescript":"4.5.5","@types/jest":"27.4.0","@types/node":"16.11.25","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.27.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.177_1645226186637_0.9338306347052332","host":"s3://npm-registry-packages"}},"14.1.2-alpha.87":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"14.1.2-alpha.87","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@14.1.2-alpha.87","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"d4f96c68d606d3a1cc98df97c1aa8a1da24b5404","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-14.1.2-alpha.87.tgz","fileCount":5,"integrity":"sha512-02TnC/Fiu9aqn5kxqmlCO7SMrCOha3Mu/IbW54ihxci4vOY1JhhxLX4JTQ45AFsiIW/vEJpqF/Yb++KERfcsfQ==","signatures":[{"sig":"MEUCICyiD0ZXJW/oAtajh6FxiygXy4lO3DIv025CY+zrXapfAiEAqXvFGLzuKMZCQfGOPt5gmb8gI2U/tkAiMCC9aoB81pc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171285,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiECppACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqn4w/8DxLsfem/VLc5vrQ8slZC9IZAWnnknMiTSKCXJh9xaYrTjyXA\r\n6kIBsRVRTqkGUspQkm8YpjCvs5f6ZUsaW0Xlpig+WyzuMjHKFstjJkBws035\r\nKuSLOHVG2GHx2J2F+8yD7s4jnr2VeD/xWRH0kzoHP4INK1ugNBdwBj0iO/Wx\r\nwJtShthR6DyPi4zGkLBnVYqh+jQ0/3VrsWjl8Rx5zBs5mkJPCKKBRXBSQ7tP\r\nNTXFWZikLDl04xefhiVCCNTF8wUQUPiOHi2tJDiS8MvCeVJw5Vl1PmNsR+Yr\r\nytLJdejlUnTLgo6sueghHFMZOiUQlflZn1nLfhL6VDSZlGWR5Ov4k2ogQ46I\r\nCEqEC9ZIbwNy7iy2H+/Y5uqED3IZRjLbv0tFWKauHcWwhjLGLSocWqz9gw14\r\nWfgUV6wWh4V10oD3j8ZbKIdy/LwSzYspUR1TKr1YQGduLzNk2bhjavHraiVZ\r\nu7JkRbv9cP0oCNLGWoflKG7l2HiTzKYgHpd6AP7TT9dLjOb9g6z0gs6qY605\r\nXOreZMLgRRPBal3GBnOSgHylUPHHuP6P0o1Lwhj0i65ahiNXDdzWE6lKXzg9\r\nKtdzFrIrUmKDVc+Rzn8FTvIbr5Sg6z7omOA/vNOxWM3LL6lDu1eKeBQZoJPE\r\nVW4eBh4L17unXccZYuOm7I6cEpRhn5q1u3U=\r\n=0EhQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"2a3499142b3545bd46c9819118a5e3d202e7dd82","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^14.1.2-alpha.87+2a349914","@uniformdev/optimize-cms-react":"^14.1.2-alpha.87+2a349914"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.5.1","react":"17.0.2","dotenv":"16.0.0","eslint":"8.9.0","rimraf":"3.0.2","esbuild":"0.14.22","ts-jest":"27.1.3","cross-env":"7.0.3","typescript":"4.5.5","@types/jest":"27.4.0","@types/node":"16.11.25","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.27.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_14.1.2-alpha.87_1645226601171_0.954618110659404","host":"s3://npm-registry-packages"}},"12.2.1-alpha.183":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.183","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.183","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"0854eb9e10ed7ef3559b6d7d16fadbf8d2083302","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.183.tgz","fileCount":5,"integrity":"sha512-WmQd/3t1xL6VZ65VW0bR3vS+CyeKujT2e+4fbBjRwfDTGbcoeeS8COwkCAnKW/UX7suGsgthAoHUGRIp2cInww==","signatures":[{"sig":"MEQCIFAwM9P5PYZ9ToELyIiQm95PMC0wpX10JJRzkl6woouRAiAA61Ni5boFx7C/Y0V2AZo1Lg7/pAVo5G24aQzIxMpIjA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiF+J0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrgOg/9EnMsHokMHwWK7/mGveHuJoGPFY1mtLAOGV79ZF6BjsufETNQ\r\nEbgDxuQDUBXfYlW/dWDdxj9Z8ufgTUOJkHYGEC8IDtI/c22dNs6ZtbIYdGhx\r\nshJn2CO9Mp0Ai9FMIEJJNfEWiYJ7xbr7rRJKYCFzLGTzvz3xXLJEqd+r9ATC\r\n6r6QM7LJxFwaELMN6nkK7VuAwNcjNIFhEfHAk1vO+1iyI+mxWEAr4JK0l13n\r\n9pWrtBBeVfHwfgCuzCxDTaFuoOQcjOuNrrcW05O55XqPcIlGh7YwIMit+VuR\r\nbsLm5YvBIw8UEWne5OPgkomCXf5VtOtgKwpLDfIaqkXPnmaObu4khP1PMEeg\r\nSp4OPClGzmJ6JkjXJ07rMh6jfICif7+vIUqP3Zh667vOJok6u4eim8aOPO/X\r\nmtx0kqPALrgZPbxzmwS7uFFEDlfrKDazIOI5M96UHnkGqOFuv0L7YZvWVhJI\r\n2OgTBXMMzg+48ZVUpPw2C6coZqPJLAInGWsZNAz65kziqzGnvszJ+SvSV7s+\r\niqaTw0OMfG8Me3/NVFRArsD85Q4dJ44XGto2YRJxhhCdYxaKh0SiAKLnNTaU\r\nwJ9VBKn7sDDH9MZ9KEVpUoKX8f3YiqQpZqxsU/F7ohSZP/Q0aWHMfR2wrXLT\r\n8WcYS1MUpk3Y0L8eflip0GhxrHNcf67Bplo=\r\n=w/b4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"49960035ff35b493601e3cb0de247eff3c8019ac","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^12.2.1-alpha.183+49960035","@uniformdev/optimize-cms-react":"^12.2.1-alpha.183+49960035"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.5.1","react":"17.0.2","dotenv":"16.0.0","eslint":"8.9.0","rimraf":"3.0.2","esbuild":"0.14.22","ts-jest":"27.1.3","cross-env":"7.0.3","typescript":"4.5.5","@types/jest":"27.4.0","@types/node":"16.11.25","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.27.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.183_1645732468134_0.05195801751986906","host":"s3://npm-registry-packages"}},"14.1.2-alpha.94":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"14.1.2-alpha.94","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@14.1.2-alpha.94","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"21034c88367ea216cee104045d0da50a8258c9e0","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-14.1.2-alpha.94.tgz","fileCount":5,"integrity":"sha512-XlqoE+lMXYxY7hTzdDcyJKRI0xfbvFMfGbuuFEOrNt1a9JkNuQZ0gYgeskfljLVILvpFO6IP5jIWuntssVmhdA==","signatures":[{"sig":"MEUCIBkuil73ojOrS89V8b0oigro6asYomb6UR1FrJfBR30uAiEAu8jamlMvH7O+vA3yAaLYY9QWtg5JynKHSkaR0fa2OJE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171285,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiF+NXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq9hQ//RhIvnPTkei1ri9wVHA97adsWv7x+8hLaqvJQUlm169r6kIpi\r\nDFIvKiW3CswCrSCubYHEeUd861GXbA/s6gi5TKUGXvhXaF9OpMt0YtD+qmGF\r\nAVoZc7Dle8s6FNlgSc53euTbM8348D4ObHiF++MGIBejaEhHLH2vADsG/1IC\r\ngLar43ps5K+GByxDBJuo4xZGi85J8TixN/pXtF4TLMKgUkPzGnltODQmUUqb\r\nZ0zHG7XG/tbfRfCnwRDIsyNbFy/u0iwXOsDvlYm/7IxDOd1u7lY/9i3wmVhs\r\nRoWrU/WhkmNtddMVtwIqfj4LU3Dk2Ai84jtTQL7LEb0c9gwmoLNGIf7m3a7g\r\nIBiL+EAbz+OnHwU9rQLfVAILN+xQLTOcedh8CsOqQOemfQCR00dqvyR67qXB\r\n/ebdAe+jhuZ4bDT+3LXHhayZXW6+Aarr+d7djJ4HaymSUnTFAIUhe8A++cEe\r\nMwoz9VW0tjjaIsKUI60AgfDmJuUQhZZBPo5qmv5zfRolY4tGRLo1x6/ArtsG\r\nPcLc2OzRxpj8J+S3L12wcTu1GwdJUPgr3gpwWfRoOj6pz+vA/EBNX/t+ES3v\r\nSu644mtXISeujsMbJe34n8a0hSawl9bxvi/URlTcLfgFTZCKSSYNG2DIuv6w\r\nAZoL/KbFtbleeXAxpuNgxMcq6UUdHWoMRTw=\r\n=BmY6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ae67f1b3366c3615afb6b9cd70f2d977c32c9e18","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^14.1.2-alpha.94+ae67f1b3","@uniformdev/optimize-cms-react":"^14.1.2-alpha.94+ae67f1b3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.5.1","react":"17.0.2","dotenv":"16.0.0","eslint":"8.9.0","rimraf":"3.0.2","esbuild":"0.14.22","ts-jest":"27.1.3","cross-env":"7.0.3","typescript":"4.5.5","@types/jest":"27.4.1","@types/node":"16.11.25","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.27.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_14.1.2-alpha.94_1645732694923_0.4728779427882597","host":"s3://npm-registry-packages"}},"12.2.1-alpha.184":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"12.2.1-alpha.184","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@12.2.1-alpha.184","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"f16da5c647a0a782505f417c1c2bb1c20bcf40b5","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-12.2.1-alpha.184.tgz","fileCount":5,"integrity":"sha512-tPXJ2KS+Zox1/UqwY2kBwR+gWq0wKG42NrF35bMCMyiYQZQsbE4txdRJGBrABGEgFGiRFperJ0LtKUs1h04Jyg==","signatures":[{"sig":"MEQCIH5K7luVhlR/zf5rXrgs+z+z0AVHXu4ggJ0w7EAkI8ajAiAZ0u0jMZa/SU6KdG7sF1htlMSEYsmUWcO0e084l4Uy+A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHQsLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmotXw//fGHAerzJXPlKLRhASRlkXby6InSKmnmZZuN3hvStXYQZqRjh\r\niAlqRM0yXHrDCswnKXCn5KT27DWNhJNuXwYniy2ymFjdfs890gbtm1JhWqRV\r\n56hC+phjSKmfPv9bO1nwCzfLvRiU1ConXMPdz+hRCMHEnAO1Jc2rlr5VlamK\r\nmecm/H3LNHY+/HKlwpYAI4WTDp9oOt3nqnemWlzADOJkFxZfqyVKm1wih1+i\r\nhZ5/GPs2qd1Y31LDqX8f2+yfJIEcFATnCAfqSguIZXbh6+w0SqFPaN5mOMgt\r\nk5hOmcyUVf9zLwyrE1fQ66Lb0+sGr2bKWkMcV58++mkBUoUhv9rwZk1UWigJ\r\nKZv9Dn2lQ3K2IoSKzlG3z+MWrst2rQ+vCds0/7/LfBYjOyyTEdGIwfFK8J1z\r\nXFg95CaS5hhezEKfE+44mGhtwkVlb0TBsi2f4Tflef4UaccuV8BbLGCa57So\r\nQuxhx2VAwD1m3Ey9U+xdL5nF8dG/mibtQpLZZRI7OCanhf1GxEFTPmLAmPEE\r\nwdlutcTj/uuZs1fx53MCjzwXwjcejskQrDisVgl0FqAuojWHYFaqPV3wPCM/\r\np5J5XyzgW2zIpU4QNru6OdtPqhrRczVLfsKTHo/RoPCNdf10cCOO1Q5j+2Gk\r\nn2FxTh+MfqyMoVBN1Nt+bxubieTmE6XKBUs=\r\n=QUcO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"70191f06d59e536ded0bf3dc451400d59fa8bcad","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^12.2.1-alpha.184+70191f06","@uniformdev/optimize-cms-react":"^12.2.1-alpha.184+70191f06"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.5.1","react":"17.0.2","dotenv":"16.0.0","eslint":"8.9.0","rimraf":"3.0.2","esbuild":"0.14.22","ts-jest":"27.1.3","cross-env":"7.0.3","typescript":"4.5.5","@types/jest":"27.4.1","@types/node":"16.11.25","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.27.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_12.2.1-alpha.184_1646070539268_0.2946296225031253","host":"s3://npm-registry-packages"}},"14.1.2-alpha.99":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"14.1.2-alpha.99","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@14.1.2-alpha.99","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"820aced33f240fbdb25058208ebc538ed27f1529","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-14.1.2-alpha.99.tgz","fileCount":5,"integrity":"sha512-QUdBKLCAc4bJlU1B24bxOsQRkT8Leff3hV6j1TgQDIqWbYZ4NJKwqvrVWJujSFz07/Qz/p8zcAVv0+O1QQ0VoQ==","signatures":[{"sig":"MEQCIFIUdrgMgJg/h4yU2RM4yshkH31vfCtekFwdescBs9dKAiALkTbBOXeBo70ngGjiYKGJqHuDdNVe+1yig5H9zk73eg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171285,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIm4qACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqWAg//c3e4N9deRKpeLZF3GqKXDh/O3Yoa+95hzjAq3YZHG1Y0PaRS\r\nBqapjWloq+OMLHs4tek2guP+og95qmqi260X+rpI74BZgcpl8A/pOGbYcSe2\r\nCv5UpoqpJ4vHYyWgKz8/0pq6LzGHPjuj8hTNFzhpOpolCtEcM9sDwz3HHQF4\r\nQLPG9AjqiaVdU2SqCaZvuiI7dpePnrCUexKbVlvMZ4eXjLkskwPMksvuUFms\r\nVxlOOJT+8VTLHWxcN/ldPNZ748gjoZSpq+OP6pQgvGfrwlSnjIABHjxSCeNU\r\ni6Bg8HraTZAU+pcYX2G10IwJ3SHsEzzrk9QUU1TJ19nmaS166JIszIipye2a\r\nOEPjV0d07tbMkWwPiJ3odzu9ZwnFkElMO33dvFaRVM47SDe0h/tcrTXqUVKw\r\nh/FThFvgP5Tw8ryowlVm0tuodh8rT9Aa0PqhlcOYYVFq9QXsrZ4Lyv8B8wZo\r\nkqxchEo7JJ5DpPQskF9EETGEKnVjw15T00a6lh9A1rizUKEyKAc7xN2oMndD\r\nzS7K/9WblMPo15OMlw8L1lx73wVXAenKLFyfzuLcwlbWKZS66a+rMRtkarIb\r\ny3LH2Xq0KwbNSm9iZr+VLVWAhxluc3T0UYg8XJSHYHl0JnWsIFT8narIP3Jn\r\npa/HPjFYHMb+CEeUpgDeQ2KAxnstPaJe6wc=\r\n=+u2l\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"0e111aa47ed0c8581baf1b049738f0967ab50a31","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^14.1.2-alpha.99+0e111aa4","@uniformdev/optimize-cms-react":"^14.1.2-alpha.99+0e111aa4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"27.5.1","react":"17.0.2","dotenv":"16.0.0","eslint":"8.9.0","rimraf":"3.0.2","esbuild":"0.14.22","ts-jest":"27.1.3","cross-env":"7.0.3","typescript":"4.5.5","@types/jest":"27.4.1","@types/node":"16.11.25","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.27.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_14.1.2-alpha.99_1646423594183_0.6452931970466529","host":"s3://npm-registry-packages"}},"14.2.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"14.2.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@14.2.0","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"20ac49494c50655905b062e0a9ff5ac1fe171a4c","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-14.2.0.tgz","fileCount":5,"integrity":"sha512-c6CZT6wlPuiGs4d0M0ndfKnVzXoU3hk5F6PyBYRetO9kbsH2my0E61DJM5f3m21yADw48MP3ItVOoZnmeGrLoQ==","signatures":[{"sig":"MEQCIDpklMl3rxkPZSeFWCPRuhl3+b6bcy4Gc1A2OMP60MvHAiBTzwK16i8hMwSdOKbGKkvrYEmynP8J/3bU6U4ZLOxBkw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171231,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJiLKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqfYA//cAPHFN2TRC17IqxUj8sOqHL/sHCJo9oscpF/o5B3TYUDBxXM\r\npWsZ6PHe9wy9FG/NGRw7kSQa4ck0QwGRBXU1ZygHKdc8ACgHGFV/3dQNURSa\r\nsuyqux8LzLyNBmCZx2nSggJ4mIYlXHYkAGZR5CxjcKpOC1Jfc00hd9owJdAf\r\nL5c/o4AncNGExNd3ZC/JZLN5UAXhbW/PTgDLElu41bS+NqGFaLOkBmnbk5W1\r\np+f+B7Xt4VHTjzJjApc6afeHkQaknCVinLtWjH1AAgI/el2JqxsIlKpgzGjv\r\nn1e9Sh3L8OI3gVFzQBcH4uCcmijrl9s8w1utf4VQtOYc/wx5K/WeEzCzncZH\r\n6ST6ogUmZ6y4+dXuQli/v0aIoujPL8Pu35f+Mo1JX2e81U/qrnQV3+hv/yTU\r\nD3uGsAGj7JS7jV5bE49I3j8G1rQNf/y3nxN1omNsIgrWESuJu1kRdYcjzrH1\r\nCExeJOlCncJyGTBwaerv099IqjfEMEpW3epsWgPBxNC+1eFShNNZfbw5k9TR\r\nJHH/RVZvu4eX9Zg6d6g5a8P9h2y5Zo5uF9DaeLq6nXXLoL0vbNpU1g7f6Vv+\r\n1y2RpsOKimQM5l0nhg/g5CbtQEnAx3CI++JzF2Nl19zl2/vAePXO5CvsZgGC\r\nxGkhd0lPkG6cpHlFxCgo5H4ZdmPaxMJJQVI=\r\n=8ns/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"9325a6f4078d55da8dcc0314344fe6838b380288","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","ci:build":"run-s clean build","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit","ci:verify":"run-p lint test"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"27.5.1","react":"17.0.2","dotenv":"16.0.0","eslint":"8.9.0","rimraf":"3.0.2","esbuild":"0.14.22","ts-jest":"27.1.3","cross-env":"7.0.3","typescript":"4.5.5","@types/jest":"27.4.1","@types/node":"16.11.25","npm-run-all":"4.1.5","eslint-plugin-react":"7.28.0","@sanity/form-builder":"2.27.0","eslint-plugin-react-hooks":"4.3.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_14.2.0_1646666442603_0.670603792738288","host":"s3://npm-registry-packages"}},"14.2.1-alpha.34":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"14.2.1-alpha.34","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@14.2.1-alpha.34","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"7ea44bad8a9af8f417d920df41d498ed307a960d","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-14.2.1-alpha.34.tgz","fileCount":5,"integrity":"sha512-M6C+iFk6r6ehTavJZ4/yzfonI/cx1EnzTLvBLnZTY3V4X8/dH7uj9fDJPwgfpE7DOZj8vJPuU+XVvPru46CCIw==","signatures":[{"sig":"MEYCIQC03MNgRVj8pQQJ0dIO8R0Kfffz7s1mGW7MFgHcSkkthwIhAP4BoltR9s3Ew2LOGFJMA9XQXakFFBk8H1py6+Pc5jn0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":172307,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJ+KIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp3Nw//YyswLOuK3h1isPlyM0C6lHJLklDM0SxBjE09dKgrMXKPlFyv\r\nQSh4Pdzxkjl1WXwd1W0sgYApm7bDgd12g3ffj+97yv8YHsYbFK0NCqBow3zF\r\nzbpFu9Als+6X5zx0zG7WuQYd3rWwBqFfyecFmZ6Hu1o+ZQOH69LzdR8ClBbP\r\ncvwzEAEL9bftVyrHur1pauL1rCXhf5cqu/WyOfZzJUs0uR7Wqxkxdgmk304i\r\nDPjknPVyULUJVLq3WzhHjfs+Qnj/799IZ2/5ceWBIKMPI0mOCU9NQ/444d8c\r\nCPjE+bbU75BkxxI2QLDz+mqrJwJDMNb842HfWP21aHx3dATyPp5Dz1DLE8eJ\r\nmj/mSTFPSrF4Qfi5lDuPQZt9Vr/5QCYw2+Vc9MDDtu5A4qYk1k+PsisAMjrV\r\naI/BV+voePPtTfUl+ysA1SKwQXCi49CCsAW7+rPR+Ob6uKIahfS9ct2Xm7M1\r\nI8uL4cUwe6VqtmkxNmnxb9k5ejL2Pol7/fZMp5TWu8guh/Fxq95Yhf+IfbDE\r\nbksa5tv1s65de4Z9WDo1c24TtYnAjXx/jat0+JfZVm9sULHEnYK4jiDaXMTC\r\nrSGqcpWNIqFdt6tCOH5YZ+SpNX23ZwTabcHmn8qo+GzED7i4Rln/lFzeZ3TM\r\nEWHL4DpOcqtiQZ/X5ZK6g7dhkgt12kL0PHE=\r\n=eHY9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"baf2e926f0015c9dd4b67ac99dcc8ee1f553d735","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"react":"17.0.2","dotenv":"16.0.0","esbuild":"0.14.22","cross-env":"7.0.3","@sanity/form-builder":"2.27.0"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_14.2.1-alpha.34_1646781064512_0.19692906094802387","host":"s3://npm-registry-packages"}},"14.2.1-alpha.119":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"14.2.1-alpha.119","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@14.2.1-alpha.119","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"08b937058dd04759b237eca803d2f143586d785e","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-14.2.1-alpha.119.tgz","fileCount":5,"integrity":"sha512-UYlaZkHLS+iveCQg7spTc45cL61aUXWK7bag8YmBz7sztDGWCTUruXkdw/T4nJ0b1rLnQSF1q6ddpjLDNsSupg==","signatures":[{"sig":"MEYCIQDP2Ku1/LlqhnbrCZRHwm3mgPli3siitEwb0yrwVixjDAIhAI8GdcsFqStEs8bYBna0qMY0CTF+nxjGdpHZK2uiLqjv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":172308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiL2t5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpPVA//avaMo3ZomDA0iRjivI+TfUTAaOePKflaJGBg46KXA+E4YPh/\r\nHcpjPoLqXNUt18O+xDFQbECh8TJvlbhU6eu3ulBV/TVzyTq1h6mF8jfBhkcX\r\nj4G5HT3LnIEP4fH31ozwIy5+EIcTupQMx9cfMC82aVd11Zc/CYBnYcSVxutn\r\nzkPF+p/F0U64DYHizZtDqin71tAUgZ6C1zXJl+z6DK/8w++Sry/5KS6hasBi\r\nSPgs9lCZU+xfLVQmT85v4tUOCBNIQm5jg+G0czHwjSf+qGDaVoOqMIxUvC0D\r\n6+pqbngjkJcQjndEz/DuWvnVe8K86vM3CFWehf+VMBX1UTj/Wy3r0eNUhvWK\r\nX+W8/5tNTaouBF4+3N2l1CRU7931JzYkMqN0a06J7GwtW69XjShduGyAI3ZK\r\n3q9LDZ8Mwj1J1aIJDs2zhmNm1rj78w4iuDxX5ZhLHmhH9QIWplzyIUWdIwMq\r\nO5HjuJDHQbex1KSrvPU0FLkW9D4Ltbyjt5hplvAloj/x5bxxU8ONchhqcVcy\r\nrfsBTojnb2+Hhg7r7e8KkOR0AcVLiHzt6O8IxA99wVeaL9oMqsFzGRVOkj9Q\r\n35I+O1jbE9mbYJFOMVsCGJNlb4j5nJM5jtQtycbocqgf5ocGqDn5T1quvV7K\r\nqR7yOg5ErIumwykSr73Nxx1rypF48y3Iswg=\r\n=VuRP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"b726f7c2068ba5527031277697f09965afad3e7a","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"react":"17.0.2","dotenv":"16.0.0","esbuild":"0.14.26","cross-env":"7.0.3","@sanity/form-builder":"2.28.2"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_14.2.1-alpha.119_1647274872816_0.4630865916363538","host":"s3://npm-registry-packages"}},"14.2.1-alpha.128":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"14.2.1-alpha.128","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@14.2.1-alpha.128","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"2506d5399666bb889b06d78e14d56b63aef509dd","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-14.2.1-alpha.128.tgz","fileCount":5,"integrity":"sha512-t+UdNt6YO82y3oWQw+gyz2ZnheugT/DzQEC0XZwfrxIJ+2UWzdViYa/iWm7f8s3EQbDJVPSqui1KtxsK06frkg==","signatures":[{"sig":"MEYCIQCyRbwKXElgzKP30VDIdeXKK26wFpZtiMiaLKtjOyX1mQIhAJyY8BEbrIiktWvi3U6wXyPixck12iastu1436qD2wOC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":172308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiL72UACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqFvg//dANNll2HGLh0/sGgFkJYk9CtkigdAhdgjJmjaFbO6KwhFBHN\r\nF3et+ch5mANueuFhkxvgvc9EtjaN9x8rEwgVULG2BL5Jyei80y8gmrTRwDm7\r\n712+7+6RwKsOPryKuK/u3nWI4r+kWIdkS+Ju/XtCPo1e/uSIkDANXItrlWYg\r\nWBs+8RtOyQkzPBoY856Q9Tp1IOCJtQ8Ri/tzHTil7aEMi2Op1V4yOHnDxK9r\r\nl9gC6Fl9MUVcoQQz7rTPPPpgBw8itsbMk6lvve6wtuuVOQJpieJV4HGPMeEO\r\nGipKQarWVjk5mG3UAW17nXAqYxEtf0HFRi6Wqdo3uE8oPM+XZosYs54EItxW\r\n3ZlZMGnKEFsM0PdstxQpQv0eKl1R66HqSbL8ALd96/ZMsz0515Ojf6EIgJJG\r\nXfMgflje1jpi5H4Wkd5GSsZH0O+pq6HId5Stlymq5K9TvpjzORgyfx3LkVk9\r\nNblOYtCrjmFSwUhGIokKm61wdTjSQgIYGSIrNJCJcOkSqrXJqm+fJ9fe3KVh\r\ntNVIC9QfT4C+gGGd+Di+eseWgK+dDJtDVsUvw9hbCPBFe8A9tVRL82dEwcwv\r\nEfLniwvX2GCna8osUeau6X/9wnICn8VD0HOZlq1CyTT1qx6LoAGGjUIroZKC\r\nFt7EvtzkTyiFMuyoEBg5TMOGG/5yLzwVOqM=\r\n=+TMd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"91f51f85f670d8832e6001ea541e5d1ddfb79194","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"react":"17.0.2","dotenv":"16.0.0","esbuild":"0.14.26","cross-env":"7.0.3","@sanity/form-builder":"2.28.2"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_14.2.1-alpha.128_1647295892264_0.9118264203552364","host":"s3://npm-registry-packages"}},"14.2.1-alpha.145":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"14.2.1-alpha.145","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@14.2.1-alpha.145","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"561cacf35b5ccd73faebcc7177a0c8b88a8962a4","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-14.2.1-alpha.145.tgz","fileCount":5,"integrity":"sha512-5qKcHaiMBurbPHvoN4qwduxEbcVJgrnJTRqv5URTQEb/PEW5Wz2EMH3K353xf57JBVimyGWQ5SV3E5GawmkjEg==","signatures":[{"sig":"MEYCIQCGtZoqN0VQblcHyO2rFLeFHCB1EbVrJVSHL8HZU9363wIhANQ7wn/I+hluRU84eyu5FnMnptfxBlyKwR4dgfuYU2Dy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":172108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMO3VACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoV6Q//WKMlgEa4qD0FDW4wvEhCsguu0wURjckLRhmTPyV6tDysFM0j\r\ns3QYmih+XD8uYRdyZzA9BelyTcH6qc1PKcp//SEcxpvA22I7LqWhcr08ISod\r\nhwhglhkE0ga5JbtKEjFidecbznLrMH9jnXVM6nVHzSwNpW4YVYjT3np8kCov\r\nzi0LA2FlT7sFqheBR8A1sncVXItDtvJ9sqvB2ct8Eom2++u/L4Z3gYnf3K6D\r\nESmZpi+ZUJ7SH8QlF9nwnwy//SF52X0NVTfSd1rxcey2RvpaeOw/QYtnJcVY\r\nR7NHhzVqPUxXeMRmOCGtXbC9AM7M+C3yO1O3iE1ztrSKnWbvFcMul0sSthjl\r\nEogOU+5uGhVbwwG/zFMy1GI9EYkohMcxxS4OF3zy13WVwmb+4kmIT04AHVxN\r\nS+AUlC0gGw5kg2MdEo8pweNGwBokRosAMZTEcs/O0b8r7zCDNdtZ7rhC7ZP9\r\nwvRE/qE6Bycvy50sTFPegSocr/82ZbHY8bFDks7J365t4/jy/66GX1rBy3S9\r\n7/lpWyQLKeRFX4vG0FC/C5XnhmqKk1G31HBZfOdfXCe3yWhW5cK107gq8c/J\r\nzzM9nSlHJivrUqoiYAQhryNlHTFAuZtJZUJVhYZ5GdvPYAmuNPqn3oHOEIZ6\r\n8HY7yAog9tIVFvLo/1muyXSHxDbbfvpFHxU=\r\n=KFJD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a3b9cfa674c238d67d33e04527fc43f97cc1a20e","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"react":"17.0.2","dotenv":"16.0.0","esbuild":"0.14.27","cross-env":"7.0.3","@sanity/form-builder":"2.28.2"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_14.2.1-alpha.145_1647373781275_0.6874096078596725","host":"s3://npm-registry-packages"}},"14.2.1-alpha.177":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"14.2.1-alpha.177","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@14.2.1-alpha.177","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"0b0e1e0785ec99beb3eff84e3c2e616f07ed666b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-14.2.1-alpha.177.tgz","fileCount":5,"integrity":"sha512-NosLSE7fxOe1DAxTigWT4k6NdtY3MHuX1UbV13bWAMj9JYDaCQLeWsyeMObLHaruU0l6jNmL/m23vLFPfD2g+w==","signatures":[{"sig":"MEUCIEvBKRXtEuwnsxDUrznJqnn3K9ElPBKdkiJ3TQrZCfNyAiEArCHF1SXxmr6ixUuTvNyg+M6yNHhZIfgSnPRzuOKj/vM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":172108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNJqfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpH8BAAlN6JLkuuT1y7jcH95gfakIpFu7MJfSXPbpV+3bjX17WU+2o5\r\nkzAEbZSESuHjrsgdhOAW6RHaPPztY2qy6yRxzLbN0RgF2B7X3eAcWk2E5Tho\r\nwDYxv92E2s1w2Fz/SjT1HH1R7uaYbWbKh0XueYetX6liOZw07wAy+HOP5po3\r\nfWnAv2XfgbS7qZiZ4Yu82fNIRhvTmfdHpYAxKb1bR6ngwvd6Qm5UAjqUpEqA\r\nSR3MEv7jteZYQ+zEW3dVT5GDEpOsvBKcvwzhGhpvzFFLNF9nUv5ddPHC86mp\r\nvtgUMUAHpK+TUJbKewg8FlV18+mhcF/aof6WQIwwd7oxt3/SjPsZNoj5MHcl\r\n7UiYPuFQAsmybFTSmXK38AuO6jrTB/K+vyme6vaYFMprxgGKL+vHuhWPyMQN\r\nDdJUa2VTKh5+oNls19sYr6jylbuMZpRgze1P/O8yKZgE1JNAnxR0ToQtmxT4\r\nRTKcAW32Zm5p1SxcKCdjIa1XLDX+aLOfc06YkKdQgOAtGn4ngHJ3+o6vAxpv\r\n3U2NS5C7noB6sUm2w8gCwxkUjVeBKRMgHjzQDa0v0zP7oLN1vHy0NmbCDTkr\r\nqTsl4MVv44l7DjX4Ci3gOqzjSdRbacsVV28Lh95clUQbrcwf6P7jj345dafh\r\n6DGCup84kVdhZeqYFNPjBMJGFWNqN7JuOIM=\r\n=yAk4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"e3102741f79fa495dba2796f59e3b2a6734c3c7e","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"react":"17.0.2","dotenv":"16.0.0","esbuild":"0.14.27","cross-env":"7.0.3","@sanity/form-builder":"2.28.2"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_14.2.1-alpha.177_1647614623567_0.6623679972219583","host":"s3://npm-registry-packages"}},"14.2.1-alpha.181":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"14.2.1-alpha.181","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@14.2.1-alpha.181","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"4b2f0a23905b4e0c1b675f528ddcf478f8e7df1f","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-14.2.1-alpha.181.tgz","fileCount":5,"integrity":"sha512-ZTpgqZ2+OUOEZWgN0mb5K6BMreZi6anEU9cSE/K3psDMtHYN7ex/K6LQ8LB6DBEOkzh35KegRScG7kxtsjefRQ==","signatures":[{"sig":"MEUCICDIqM7oZ44Ds+c6Gc+51zc6HdSn4DbfjVrbHKnYN+n9AiEAvsQ3Czyy8jTxJBVwA2OtKXc0BE4kIlQuFbYw8hDLB3s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":172108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNNXZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrUhQ/9HzO563tZ5hD8q+njLIvnlnqvg9o3oB1sXWRP3InoQ9H9IPeo\r\nnK61EP1qlCeTKHrh1uA3zYPcnW2L6JZYhO5N37AVXc82jDbV4/j/FqLKPv4Y\r\nH1cSouo3foN2Af0uL6U9uhdgvKVAtHaexUH8YGGIifNEMq0Z8zcD8dsEiXI5\r\njjmPO1pd48rP0kmhs08/lc/ZPQHmw/gOFCuzbpV8Hi7RH731nad/QdW2G5ug\r\nsnEgmOpSVFb1Jp4ND6jXzYqKJaobIxbkmtOgBhy3oNMtwT9ZS/0G4e0fXR06\r\n4oSXMH/rd7iCCp3aeh63u2iFZu4Z/Qe+l/v+T8P8F6y2LHAvEVszunsGufEs\r\npEvciP6u8MFA8zg+V/iab12TBoZm7ykCTB/UL/Aa1dUS1UZSup/cfxmj/5aL\r\njlwehX4coN5JrHwRdpMhgOq0kfyl7rNwBaxydzMedZZ4HWSC6W9Dbh5n92SU\r\n2GXTHUx9ykxk3hD4w/++XlzLjBQkIIiXymL9JqABBSI8LGubXMP0e26zHH18\r\n4BvGrDfXWfmBvm26Vyd5ksrG7Jus+G3eBXYlJBMDOQoRzEaR2I1bs5ZXRc0Z\r\n5wDtx90NhWoAq7+QzsZCdQjXiSWKA8Z1p6WT645kbSDAW7eCOInNbPKsAyGk\r\nYpr/Tmi2GCreU0qQlr24H8wM9ffSuYgO/s0=\r\n=U9GM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"5f7721b601b0ce2ed15f2369ca87c2e2b1bd3c88","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.0.6","styled-components":"^5.3.3","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"react":"17.0.2","dotenv":"16.0.0","esbuild":"0.14.27","cross-env":"7.0.3","@sanity/form-builder":"2.28.2"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_14.2.1-alpha.181_1647629785478_0.8033514999789841","host":"s3://npm-registry-packages"}},"14.2.1-alpha.249":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"14.2.1-alpha.249","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@14.2.1-alpha.249","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"07a5ced2e9fa6400dad1d43bc248d11af97997d0","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-14.2.1-alpha.249.tgz","fileCount":5,"integrity":"sha512-gCGdWU26MfhZlzNU7fs01NNgaRjaHRGKNJqsnmzPrG7tCDVPyTuc9fesibHONw7PdVFiUwZdSwmDQ1wx2YH5rg==","signatures":[{"sig":"MEUCIBDzGnwawHaECM0xhtD8PNERdZNSfNqASyOuMftJ5nKDAiEA4g8b8objyR/epxzir/Fo05XMabXxre/WHAtfkJYghtE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":172256,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPVPFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqpjg/9GwRv7l3BH2CW8akTk2hmaomYPF3IpOO9A9R062oLpCnLd9T5\r\nWp9brvSespAhGBiXrchNNPsUvuu7Qbzm2DwdHd0AhJaWWyAz9H/Kt0eYrqD5\r\nZFdsmXHfKjyyh0URgWJY6RXcSgh5lkGqP2QTUl3f4SqpRifQ2zouKJOOMaji\r\n9yppJlFqDpgs8OFz6hFAUp6oLRw72lPJwodopuNd4+lf12UveE4VhSyCkUFD\r\nKZdqje9VljyxUqneQmvwXC+VfqxNYAgsR2sOwe0aCKMh2fM29oSaezZQYOBR\r\nYJ8oV2IgEIPRXpo87UlORZy08qeOdCCuHCk47Ys/wvkEPFDiGIiHsoWKLiak\r\ngHB283M0YaGxViOBTp7f2YUp+PlXHjOl6k+DOqJ7TwfiRD/eDpXMVUxNNcRc\r\n/0oCtSnzYi1Nd9Taewaqn1EO0Lp7bxOgvPxO6gx/nKqdaz5sWEvim+iY8hHj\r\neWK5EP7sr8iWx3UNxy/IVlkQt4nV7gFkeizAtx85Gjk9OI3uVX1LRgLAF8qi\r\nAVCg7tj3J9IHGwaok7009Q8+2vTfhnyjVeeiYPdtcD6PtLjIIRxKcC32Cr3p\r\nb4B0WMBB6rGXLAOFYM4PslEl3M76WuP7ERIu3zms4WCFGFoUAYVHZ0O9JTWz\r\nCn53a+xugRBSi5czeybe6uUe3ph/oyfr1mo=\r\n=DQBU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"3a863b13876edb83f462fd0594d6a275e9ae1f72","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.1.0","styled-components":"^5.3.3","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"react":"17.0.2","dotenv":"16.0.0","esbuild":"0.14.27","cross-env":"7.0.3","@sanity/form-builder":"2.29.1"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_14.2.1-alpha.249_1648186309396_0.7685059188646985","host":"s3://npm-registry-packages"}},"14.2.1-alpha.256":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"14.2.1-alpha.256","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@14.2.1-alpha.256","maintainers":[{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"8f4cd3bee338e7dd8a1c68f4dafafa4c33bb997b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-14.2.1-alpha.256.tgz","fileCount":5,"integrity":"sha512-Mc6DYYRj4uSKe4STnTaaLztScXJ4toPhkPn7bjRVsQkLcIT0oJF9HSMz2l4h1WRw2iFs5Rnqud0QR7rnB4earA==","signatures":[{"sig":"MEYCIQDqQev+rOtZvhEp+K++6L+rRTMUhIwfv/aLQFQ0gW/6ugIhAMIICxO2P25UP80D0r2cMcAmNAHijdz2yyXehTGpt5Fo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":172256,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiP1ZyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo1pxAAjst5C+H1QZ0Z4ba4zinhkYtLwtAnI90xzpiq1wi5RlSQfiPX\r\n1N0wbk5NkV2s8bpT0OkD+6ce/APXc80AUzlVyRZMxBzd+2Mgy3Bb/7BWt/3v\r\nn59dhK752E21FR+fvJ+Nf5G5QWtB87+wknKQquSPSEkL0ggQGbUWfr3K9OMj\r\nLeUgrvAIIWyEnPqG6k3gzAFMDLJYTBc1CEatA7rAKcQRIec8hkTXD8MU8vrd\r\n2Xp/XPBOIIutnjv+peRIY3M+y1bKXC0R/VFuGtpo9FYNVygGorDsf5iBnZ+/\r\nBBrvTzOaivoxfxKYFQOLzWd6nz0FDlDtABRWgnobe3xBqgjHQVbY6JhR5iHT\r\nth5ThXdfETSD4Cml4wkljLXDERCSts2jlC7BLWTWxK8MLoE7KRd4H+CippMh\r\neFu4obJqkM3nBK8Sc5QlPS/w4UZvTZ3yWpHmjXyMmRAM70d9uq0+2Mpgtm1H\r\nTCXYwVyZqcOEhiCL6rNxHHC3Cp03tuhlkDfhXbax058WCmSjTZXVJaYNmhAV\r\nxO7tgVhVh3WIjn1+WeNDpEMa17K3xAlaSPucWkeeE0xnj3g3KnHR8I9DSvPd\r\npQac6F5cG8vT45zPLKlhW6EA1mjxBgN2sJ/26JaB2Lk9CpJfE7HlGCGNPKo0\r\nPFBY1kDekKFDR9SFu7rQIBnqPbXC6QXKpOM=\r\n=RmxL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"3b08eaee27018fbfe1ac4b2bc7e1d6cefb4b9bdf","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.1.0","styled-components":"^5.3.3","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"react":"17.0.2","dotenv":"16.0.0","esbuild":"0.14.27","cross-env":"7.0.3","@sanity/form-builder":"2.29.1"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_14.2.1-alpha.256_1648318066614_0.9620261382379507","host":"s3://npm-registry-packages"}},"15.0.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"15.0.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@15.0.0","maintainers":[{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"4c48e85e573929859934c6cc9dbf15f4a38f2d4b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-15.0.0.tgz","fileCount":5,"integrity":"sha512-m1hVlSThy5wz8R6Utouo5Bkqz5v4YHS3H7uok0o+FepH5UZPhmPXpA1vhDrCeeZCUwlikmMlAMExSz0ug9dSow==","signatures":[{"sig":"MEQCIA9Kw+pgdw+k0d0cSRq6e7CeZuJ44DhAHwOaJcI6r6CpAiAwb2FYx1LzTEn7OO/MpxIqM9luLZuw18T7q8x+tixI2g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":172236,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQdgbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrv4g/9FmutWKBgD+X5ZkkAyuGiAy/7bJuFxUXkaybqz7BB6ZCXBVSN\r\nLxQGDMOYjR3l9/f+A+n98uZJn9Opeaeu/hJz4ebNNhC6XnWenpwOjPIjtJwH\r\nhzzJg/Uh+JFDRzms7WaYuP0D1u4Kz+7gJhIIlTS9d1o1zAJ1vDtjgZ55bqSV\r\nR03Er+0p87ILYDWAhn3qY/dvf4KfWixXv+VxpMWiKPdfA1MrbdJdPRwlWt/Y\r\nx2QeUXXQ9xwgvGUF3aCfiwTDZRDQXrauXvSxPvuupoRii2TfLx+YD3RWsXjh\r\nKIU0w61xTUY5r1o3P8YwUlC+d7lEqM3Tu1fHlSJd7jCw8ohbndrmkkWNvIyp\r\n2LzjmMe6C7HdVyREAMPzVwzfOWC63mGgcWe2Txf9oHbcS60ktwMtZJAwJec2\r\n2kRbfxL0FnP/aEm5zm3jn3LJyujJlg/0mnhv/q+3/rGIeSQTeMjsKoZ7rRH5\r\n+5iFGMML3zpiI0SitDipaDCpRJr/pnOZPJ8t3D20MvXwAJPFY1/cN+WwVBLM\r\nLrh1ihzC1mhxVUuNpieCahGyPkhKuovbaP/B2BcWa3sMU7Iv8q0w5PrHceTV\r\nHiRiMRL834Poh1GwbQFCs+HBZ0x/fyesp/E88nfSdlv7baeQifl5nZ0br2wz\r\nqcLEzGceV4nKXlzVYClaiNhEfhAsPvN/VJE=\r\n=8nxn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"91416ead97d1c39ff1818adbf6b9505bf713fc39","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.1.0","styled-components":"^5.3.3","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"17.0.2","dotenv":"16.0.0","esbuild":"0.14.27","cross-env":"7.0.3","@sanity/form-builder":"2.29.1"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_15.0.0_1648482330924_0.3406067502766821","host":"s3://npm-registry-packages"}},"13.0.1-alpha.96":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"13.0.1-alpha.96","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@13.0.1-alpha.96","maintainers":[{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b35a68d0682790a95ff212aa7b9dbaeb7a7c599b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-13.0.1-alpha.96.tgz","fileCount":5,"integrity":"sha512-0HGv1ZWhkSqzhGy317nvv4IC44gNFR7X/fX//PQsHFO1Wo7O//OVwvWdppqfU5st04ltmfiixa2tAITqHsGXmg==","signatures":[{"sig":"MEQCIHrKkgfJXykixFlBSZTZMLIRfuxtZhvpwFYk2qkDkpTEAiA0uFDR2P/EaI4JS786kKxAyjem+VSDU41l524n68qehg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":172224,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVLrFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrL1BAAoI9ZyywhvekFZgy1iXaR0w8qxhvYv5p/F6wFcaVSyxqddGzb\r\nPH5icZjxD8C8cP4fVRpRs7Hx2JyPvzVj8vZ0LrxrrERCx8r5S1lQM3h/3i2e\r\nSxAsa8mZxwQilfIgr+PjK9vH0U3tWNrAYNbuMopYTKV9N7QACfMG1gZWPC1u\r\nubcUaOMGKdM0QbcknrwJ/N8q7rukOA8QPGSYdf+Sef92S00GjbTfMlg7Lv0m\r\niBoFEv3nLxpUioceNKuzD3q2p9FaFLaPpRUZeU2X3FwigDhFIXBhgF/kv8rc\r\npD+ktgp8+XL1ic1MeEaLcXYdTTpsU/LOkvs7OIVLnB8Su7vwrjnkNEY6LkUa\r\nFvzWF25YI/nqRy56ue6RA0FCwEgWHzU71/MCse2DGaW5AEBeddy1/tUcvsXk\r\nq2Lt41Yreh5CdH4L51ApATIh75t2zJ+v2hENyJpJRntSM8wMm4AtEunEpRtu\r\nYDfqAnqrbEHY4+lOSy1K1vDnpOYlYuJBIU6lPQZVpA4xBOtSVXQvyVmKXzxU\r\npIO/dvMOYvHkOlDyQSfSPXjd3XFEOnxQaj6UktiBP0ArBYJ/xStFvPx6KU3o\r\nDbil3fZGnAkh/Sqt9fz4K3uw8Qb/bKVr8hrEpQ1H+Jc7Gq/NLSPpKUcsgUxb\r\nF5MyoFv8vuW3g+mYdrFVumumMbCoZqq2flA=\r\n=mf6g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"63b9d66978bcf803b186efd292f08101a7c66d66","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"react-is":"17.0.2","react-dom":"17.0.2","@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.1.0","styled-components":"^5.3.3","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"react":"17.0.2","dotenv":"16.0.0","esbuild":"0.14.27","cross-env":"7.0.3","@types/react":"^17.0.43","@sanity/form-builder":"2.29.1"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_13.0.1-alpha.96_1649720005559_0.5224528394964438","host":"s3://npm-registry-packages"}},"13.0.1-alpha.133":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"13.0.1-alpha.133","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@13.0.1-alpha.133","maintainers":[{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"8ee25e2ef6ca321eb19c21805a1bad71973e910b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-13.0.1-alpha.133.tgz","fileCount":7,"integrity":"sha512-MkzVSnDmKKc5l5uRofMVJIw8IWOCUDbVZAU6J0YOoxmEfXY/kTGutsdeZiIxywGHZSxVI3QLq55Uq2rm8Yfy2w==","signatures":[{"sig":"MEUCIQCBhBIgu25yTY9vwZtxg0WPmygbxyNsuRgT0y7shOdSaAIgJ0fiEqkQYVqSMyoT61yurIRZ7ZebFAK8H/gtUtyXTF0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1052947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiWHKUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrFfw/9HgodzVxenjt3B43ElqYIzpqt4yUBxf3JEBHWrGHHCqA0YCla\r\npZpxJpbSmAClJw5152y+xobZJUWiD56whGUQwlk3okdtr6gGE0/SM6puideI\r\nb3jiN8gz9Tyce65j2g2aPPXynCzgG4Hpz/hP7T6diDCqwt6JvMGxlH7120Im\r\nK1Y1S9qB+IDful0yyO3JSSHvJG3E5IYEXw4UxDClooNCAHGx+RJK6S1onUEl\r\nyjae5neuOk8niSZCSaasB74tjS+/pnN+vJUtsF78AmX9pr+SK95MJmbRbDta\r\npvkQEWP79BTlCJTXcKXJYEbKQ9jxD1WJy98R3Z5Ana7S1GKnCv4BXK/YnLjK\r\ne2IyDrOjLxVIlWXZOnv8vHKBXMwdd+O4rguHk9+XuSoNh4UrHil2EzKHtOt0\r\nIW8lYKmsgOKwBEFKQTu5aa/fYD+XekbvsIRLUsUgwnjImEXyAwnMKQyvvrWJ\r\nxfthF6aMKWnWvQmxgGbrMx2ecbtEcwSds5F3/Uaj/LFVJ3S3yrl1wWmUqQwN\r\nfslv4Q/SXxqCGeGlK2P1wySPbSN2GrZ05uHAHwZewvZvvUaOjSpYsv9dNYzK\r\nzSd/kmfxbr7PY9g9nBDnbs+URbBEgGHP8wJEWBYNKxRw0SCp+xJC3Lo1GIGP\r\ne4AgIXEL2BsmKHou46nJE4dRwpbk8VQC2MU=\r\n=/XSR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"5e32ce3cd962560af97708369bf4c4c91a0116d1","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@sanity/ui":"^0.37.0","prop-types":"^15.8.1","sanity-secrets":"^0.1.0","@uniformdev/context":"^13.0.1-alpha.133+5e32ce3cd","@uniformdev/context-ui":"^13.0.1-alpha.133+5e32ce3cd","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.0","esbuild":"0.14.27","cross-env":"7.0.3","@types/react":"17.0.44","@sanity/form-builder":"2.29.1"},"peerDependencies":{"react":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_13.0.1-alpha.133_1649963668132_0.49946625240078446","host":"s3://npm-registry-packages"}},"13.0.1-alpha.271":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"13.0.1-alpha.271","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@13.0.1-alpha.271","maintainers":[{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"99b7c143afcf71b65de8677993d8da0bd9b73e4d","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-13.0.1-alpha.271.tgz","fileCount":7,"integrity":"sha512-+Bl38l+/XQyxf/f9cPL168f/oJOb97m4uMVqL3bE2FE1MLvBN68m+8coGe8UfoBagjqCvNuLtmLijeXu7mX5Rw==","signatures":[{"sig":"MEUCIQCfW10dCI6D+PBGrdpg0mBdcVsFBtWUkcK3zEZY/aAWkgIgJsECAIkzBrpTiw4xJa/9i6flrMMrW3oCuSdDRdBhrYU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1025829,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiXu3ZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmof8A/5ADoNu3bwobaXd24A1hJghm4CaU8eNStcXtLHGB5TtalZQ18Y\r\nAshFjLKoIf5q/Ja+7wFbFwcU2k8xk3hAXBLZr5SB/AkzcAWCHq6OLXDqND4k\r\nJYSHRfEQCLliHBHDzSaeNIRo/K72uhw6SMRK4KaeDcSj/VK16mNvFuYZo1nF\r\n/qk8pd7+iBMYWAy6exV04GygV7B/O7O1Ek3IO8t4ir8a9cuieGN+NCQjQFjA\r\nXNWN73Jo02qyE5XzcJuSD6AbD4QEPk/mF1fsgYSESLeVLjbtOY7olZARiPGK\r\n8e/Z6l51AOL2TcwKkLxq0WMllO/EqVtr3+ofxIz/1kaxap7ClGnBpI+DmMj+\r\np+cwbu2FtkeeSrWHMvu8Uw30qXL/9ky8vfkyI0dSQiLyr8zbDN2zIPhHQm0K\r\nuDpUuFk2j9nMuh5+kGB0R0iLjR+MJ8lbYMVY+OUjPphC/gkXxHZGMt1Fy470\r\nm5wfoGu9wckgFDsb42e+nygNLN3JICDcMueQzz1GlqkFGPgAKPFAJinAJDrh\r\nSQXy/SgZK1TfNyX4mQ10AX96xoVxGaprmSOg4oZrDVunesi6fRKLvfLfPbBG\r\n1JR7GBZwV0m0OWfHJI31f8J4N3hS/6vDYPYC/rsqnqe8ExsL4ndZYfQkbDpA\r\n5Gj3PShmyHcitRCeZ0J/EcYiAyS3gfM2ZMo=\r\n=wEHv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"7307a0d061e09506ffeb6a72798a986f0ea2da2c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@sanity/ui":"^0.37.0","prop-types":"15.8.1","sanity-secrets":"0.1.0","@uniformdev/context":"^13.0.1-alpha.271+7307a0d06","@uniformdev/context-ui":"^13.0.1-alpha.271+7307a0d06","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.0","esbuild":"0.14.36","cross-env":"7.0.3","@types/react":"17.0.44","@sanity/form-builder":"2.29.5"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_13.0.1-alpha.271_1650388441260_0.06576955864875633","host":"s3://npm-registry-packages"}},"13.0.1-alpha.278":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"13.0.1-alpha.278","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@13.0.1-alpha.278","maintainers":[{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"20fbc1cd641cfad2ad7f86e55c6c24d7dd55fe66","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-13.0.1-alpha.278.tgz","fileCount":7,"integrity":"sha512-mUVEVvXu4HiZPhUC9xfo/acjEMRtcbmp7xPsfPNVc6m10qwhh0RI+0DrOseRvoIxg1RxXUbM/50rcrnS1KeErA==","signatures":[{"sig":"MEUCIQD6i3QnmuYOK2IsF4PBxn2/T883NNu+nSVSINRqx2xDtQIgOy87JytwfEOLo4IMGAjk1vY52f+jYID72WGqKu5gZHo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1025228,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiXyE1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqPOA//bZBD+DLR8Fsc2Vv69BTjc1krVNfqRk+6IkOV7rw3hbM0TOAP\r\nDpq5GnQnjX29ARjOtyIyrcWqdD1P7/xhaVBtSawDgI687aV2y+Q9yEOJcvlC\r\ncFPxtY/wIYJfSr/nrhuyDxM1wXd96lbIX8MnUEnf67YgE6OcJbGDeWD92JgB\r\nG9EolWDpuHh1t+8QytjRrGaNCHp50OLTDXD9Yi05a15mb5ouSuA84xUAFCz2\r\njLu13e4DIFMNf/OK+JveVEafg3G0CmwPcrthGLHQn+PofzKLfGC+ORSQqltm\r\ntFR7gg2tMj2TiOLMNLvRD14GI5UYWynmhxLcYLOkD3I1lTZxWk6FMWjgBfWz\r\nXb1CTAxryT4a5oMKNUc0Pl6j0qAoqvEzhm3Pqny46V9RsQkH6z+ql09UTNvV\r\nDmaSqv2uvpP6eG2+ju/d/WfJcE/BvVAtUocvVtohd38XDPKyAVicDaJi1QUZ\r\nmeajxmHyDeK60N+kctdcE3hw5Ys+Au+ZX6d9st5BQNqZagsAecqnzwrTi7R9\r\nAoN4va9c5/Fkl3xbg3rFmKzR6WgckTIWiudHt+nqnb63ov0XjDX3BUp0H+5A\r\ntSXqwnHcUPFNM+I0JqWSaizA8pJOetkOEziQDxpJ4m3yAs2KrdDzTiT8Db60\r\nlD9krrdn4IQBZTjl3Tx0bDpMvWx3ZKNA71g=\r\n=cINM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"8557f2dc1d71ce4c26b588fb5a4d8659a4ff3966","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"aweber1","email":"adamweber01@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v16.14.2+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.2","dependencies":{"@sanity/ui":"^0.37.0","prop-types":"15.8.1","sanity-secrets":"0.1.0","@uniformdev/context":"^13.0.1-alpha.278+8557f2dc1","@uniformdev/context-ui":"^13.0.1-alpha.278+8557f2dc1","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.0","esbuild":"0.14.36","cross-env":"7.0.3","@types/react":"17.0.44","@sanity/form-builder":"2.29.5"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_13.0.1-alpha.278_1650401588835_0.1372251131852904","host":"s3://npm-registry-packages"}},"13.0.1-alpha.311":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"13.0.1-alpha.311","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@13.0.1-alpha.311","maintainers":[{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"66af80902057c202311d6fa52f58c61ac9c07cab","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-13.0.1-alpha.311.tgz","fileCount":7,"integrity":"sha512-qydo9Wr/gSURa5Ir/lFI9jy+linq2OVjPiLRTFd3xCgrnplS0qFpUAYSYDVuyceda4S9JBoOQ9bAb8lT/wIk7A==","signatures":[{"sig":"MEUCIQDn4xr1TkbnGZmKgx4DPCuw1FMPXOGVoXfJepxnc+nHiQIgNYQEa4cnws0oBeVLQ/Fe7itigsL/X74vPOjU6SISHNw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1027752,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiYM5VACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqG5Q/+LPVMOwWwQ0cbP1jZsazYcDkIWWq+C5+0K/l4r1oG7fbSbWPV\r\njjNvNMJqgVX0P/K8dUPlxpVXg7om0UoVuwEV5ihuCjRRHCsOq3yn1MBPkOkn\r\nuk6dul80Q7LEPbZd51FpbEwfFP2IB5Mkdnd/z+T+tgWPOx+SXB7YRBrqmvBC\r\nNMxmSXdWU+aPyrzs1UDpAv8Iql+SzQkUYcigV8bhEPtry0NdAFSiIYgizxoA\r\nx7FHEsASzcoT838vV0pDRdCJVK8vzhcqLZB/Ge+lifB19yf75munXZ6/4wHg\r\nmwrQ+CjhoKd5QI7rJVgjptyuNN9Em2C1j/0exa7EeAe3FhEnz/fw5o47oqIy\r\nez2MGWvuRmY6ux5zCOb04726iwmQ/RqKHE+XFlO2UwilC/lqAshCF6m3Ncze\r\ns0WwM4W/X38/Wt/YW/KAA5Tw+4ourXfSbYha7DuPes8JSy93xP9i93K9vGJ4\r\nSGFrlZwjPAvw09qsZjrA3F498t1pdX9W/hjP15WHpgAqhQqnJflPodR7KjGI\r\nc0svWy1SGfaGkjhgKk0f43KOz6uXTGvKFN5p/3SURkuf1FYGbyowPRNu79s9\r\njSaawdownK1NG+79drPjHypxGuJSmYCKYACD9TxxLYVz1vWj7iLG7lHUHPBS\r\niITMgNd2Mt8aeZSgk5po78x3zHtEIR0699s=\r\n=/DKW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"62a25a81bec8e7b4775767a0ada3320cd1c1a39a","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"aweber1","email":"adamweber01@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v16.14.2+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.2","dependencies":{"@sanity/ui":"^0.37.0","prop-types":"15.8.1","sanity-secrets":"0.1.0","@uniformdev/context":"^13.0.1-alpha.311+62a25a81b","@uniformdev/context-ui":"^13.0.1-alpha.311+62a25a81b","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.0","esbuild":"0.14.36","cross-env":"7.0.3","@types/react":"17.0.44","@sanity/form-builder":"2.29.5"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_13.0.1-alpha.311_1650511445724_0.5776254858516949","host":"s3://npm-registry-packages"}},"16.0.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.0.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.0.0","maintainers":[{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"079ec8f66bb52e0d494d18a1e8f5722b99f1ef8b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.0.0.tgz","fileCount":7,"integrity":"sha512-Yra0PHGeYjIS7Kb6qpSJYD3DqwQo7lW6TN+17tGAgyHqooa0jLwsd4u5GAkfxlJnQQyAohI4yM9C3OEhbXmcNg==","signatures":[{"sig":"MEUCIFF4H4tj4Sim42dW8q1ZZ2L7vNaNnozAH/5pf0fsPxHsAiEAw6rBJ3SVFP7o3vi9onYAHjsZSKIl85JTPH2YaMOjKWU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1027988,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaBXWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmor3Q/7BZgvjPyrEFStnC/BW3lxA+q1/5osGv1c9LAX3vthTAIioKc9\r\nFF/Zg66y2KR3iMSrmocoj62xmYH2zf5uZNWZ0lzbZ10X0PjvjZhixKhKhMte\r\nNj7xdkUJ5xZWt1RwIwSYrlU5tV1U2yOOHNeCAwISVcMR1wp01tUpEecXSEPy\r\nv1SP+5QwffSUGPoVYP3jbgG0YRuXOG9nLF6y6oUy7HUY/sxsiPWns5JCMnvW\r\nCSQ2PRPpDmqojGIsM8Ped2fOn4DYhVRADAfFFErr814PFrJrwUf83r97azBh\r\nQ+fVajHxSqQAaukEiYz5gSGRhmDsrJIsQp3ryhHWrzmNPv+j+ZxedGuTU7P+\r\nZ/G1JSdiJYa6ERXnZGZvQKlQDCORmmbRkST1GsqJYFOFo44tD2EylSRUPLC4\r\nmp8v/HL/Esl1l8tDExO46IqFzkdFqCRkozmbZ81LFwWw03twbfkWlybKVoP9\r\nex9rjVITrMSgbgFzi9fdPBUnhnIWmzvF63nTuzmWQXc5dIX/xpjjx6b6MV4m\r\n/Oxn1sKBl7iPEve9ZI7YryX/LmAwvKFNmsY4Ss68b562ape2gbqUCdU/ex/E\r\nQ6Z7feT9SA1Mm4XXWbpIHDYr3Wi1Ougqla6r40Q9CCBse4RqSXICM40aiCsK\r\nrztp2bTfkbXmAFvVezxImu4UNr4JZwbIr+M=\r\n=05nN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"72f1d98e96004c4ebf4bea49bf27aa4ecc036e33","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@sanity/ui":"^0.37.0","prop-types":"15.8.1","sanity-secrets":"0.1.0","@uniformdev/context":"^16.0.0","@uniformdev/context-ui":"^16.0.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.0","esbuild":"0.14.37","cross-env":"7.0.3","@types/react":"17.0.44","@sanity/form-builder":"2.29.5"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.0.0_1650988502476_0.7554879635399852","host":"s3://npm-registry-packages"}},"16.0.1-alpha.164":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.0.1-alpha.164","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.0.1-alpha.164","maintainers":[{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"584ef58647f9bbd1cfbefe0042a009c48c4d0264","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.0.1-alpha.164.tgz","fileCount":7,"integrity":"sha512-RvD5VgFnUOGC4JEYDzN3aWo13s7oO7JyZ8vTdKqMHDKi/DCwCxpYKgv4l4fRRoAo1RsSGmJKuNH6h53XljXtLg==","signatures":[{"sig":"MEUCIAVZKMdTB271QI/YlRSfXcZbd3xRmsdJOc0iQr1ABgmiAiEAtttSyrgkBUA9eNJLFK8KcIk0M2bKGXJAmF9GzhITLeo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1022763,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiiV0tACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXPBAAl+fMQkCbZ9Z9eMOZ3msnLST7m2EohNlf4Dn4tuLe+UfBvpkb\r\noxSwRZVqyv2cxt4xBx3j7TiEmI3+43uzUCTDwTgvCZtwEMk4aaA0U9fNkej7\r\nj84JwAqRZyL8ei+X8jxl+UQynUFJLOilSXq6OxAMoE+HpzKoP4McZGkqV/Fh\r\n6jSAhFQmqOFciDv4AQ0AvxelZfSEuzwKy4vDyv1SRw7y1rLyNKLlCxC7YV/Q\r\nYm+4Hn+OM7aacmjnRswSDLSJsadOJyYcbNKiS1RNabeX1FONTs66uWZh4ACy\r\ntWE1lq0gtdF0vWQE1/ewDCFPLh88T99i1GDJKAQv1+1Vng9g2BUfwwoGPzjN\r\nS/Ya7FQ8oTjoREwC3vikUs13VJBl0n2ucRV1NlKF0Bqn69VC9ttvGvMc9Okf\r\n6l+4NCd6nrX1BQoszh9RxniCZ3anjT+iMlLp39Y7w/+wali5cYGnpXSqg3x7\r\nHzP/HhLsWdOI/7ccEe9mYTT/z9TDrufNpnWv/bbTESYA3KDKSxgXwyV3IHoD\r\nkES6cFMEQzRp4ZIzXXhGkfR1IR4AJ08WPUl41oC9EZ1qjlQmQTyYGi4FFh1h\r\nZ9Eudy1B4g9szP55MrbBxtEd8ohxcTR6y9CazO0fiUBjhLb3H/KVXtw/kF4W\r\nirhCpeu+6/hlv1G98FWZdupcLJu2hpaj0HE=\r\n=41nT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"c3b15fc3f3101dd990d7adfe84cb7e0bad77899d","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"aweber1","email":"adamweber01@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v16.14.2+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.2","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.0.1-alpha.164+c3b15fc3f","@uniformdev/context-ui":"^16.0.1-alpha.164+c3b15fc3f","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.39","cross-env":"7.0.3","@types/react":"18.0.9","@sanity/form-builder":"2.30.0"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.0.1-alpha.164_1653169453501_0.5889054862163838","host":"s3://npm-registry-packages"}},"16.0.1-alpha.194":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.0.1-alpha.194","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.0.1-alpha.194","maintainers":[{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"61e19e51051cb3abe06f38acc515cd84cf763fa7","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.0.1-alpha.194.tgz","fileCount":7,"integrity":"sha512-yQXYI2uEgss4gI7RSEgsHeiMmhgPmz/98PImNt7/SSVedU+zHw1JT71whBmDH3bg1iAuvHaFqf+oDHRvtZE4HA==","signatures":[{"sig":"MEQCIB1DajeffDNJQoYUUyQBlVDcLpmPB/8JmhqbuHpMOkPLAiBAFVL3jjTI453SWDUqHAU23A8DYmtbh5sOKAk9NfreEQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1022763,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijAfDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqbFg/+LVXoYmRZ/XZJztfozA5eTm0hmj0LjielPmKRN8ej1rt/MzET\r\nF7IYdhbBvvGd43NYbEuJzJWnQH/UEGi62p3c0bJPHyGQ60EZjAuWM+/VHyaO\r\ntas+awKWFwlfgcOpXB3oLMaE+IpNqrsvGFxpYsFLONeTVcnlwXapNTUPGA5c\r\neXTa8v2r9S07eUphf8+IUAXbo84k6Mj2AqUZbkeb0NT0GDJqduJq/hvFwWG4\r\nMZbfeQ8WuBpcG5DtKnNdzvTSTS7l+fezs8octEemM6Y1r/MsFPRK/IN4bR1Y\r\nTqBR8H1szPCU1d00/zb9recvQLssbyXH7hJO4duWl/jrMez9YNHJ3WSN0j9s\r\nDl7MnBOP75DrTkh5ihAzmAtzhH554V124QHWcu0t6ZOMERe3IQGONTRllYOs\r\nf/z0/CLkOiXRjOdsXLiQ724R18CgFwXvLsh2yi7o4QYueuvehNmQtH41BjOr\r\n3lo+tz0gaME7DpqCiFb6Pzs5I8GvCDmTw+t8AuK6zOIqQ1jwfmC0Q0WVT/J4\r\nEzEPp1VjIaYwno3UvncBb7aOiIGDHxJle8eQiTJfrv8b06/0YBY+8MqI11Wy\r\n4koSS/tqxba3gLVyfCUPVcTUKZpfKB7h0oza0M5G0BpxC/oTyb32UuR7NP59\r\nXOAykBUWD//oUadmnfPT7YClvdHHljy1rZo=\r\n=QR98\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"4ec8d4feac57ef54a0c53203a938611900385c3a","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.0.1-alpha.194+4ec8d4fea","@uniformdev/context-ui":"^16.0.1-alpha.194+4ec8d4fea","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.39","cross-env":"7.0.3","@types/react":"18.0.9","@sanity/form-builder":"2.30.0"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.0.1-alpha.194_1653344195413_0.4980523699977004","host":"s3://npm-registry-packages"}},"16.0.1-alpha.221":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.0.1-alpha.221","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.0.1-alpha.221","maintainers":[{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"bc2e2687edde73cc77fcc8f068eab775ba237d21","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.0.1-alpha.221.tgz","fileCount":7,"integrity":"sha512-Gkmkyd703ag0ZcFdLw38RrkLZKkbzqc+wt6Vojk+VgITL1Rp+3AR4sGV2EEqVQmme8oxLjomrcuvfD4SnxfqAQ==","signatures":[{"sig":"MEYCIQDv4BIQb0uTo2b4RMrNT0QG3RU+EGWt864JqOi1zXJtowIhAO9o2Hp7KO2dVvDtttYo70cFWZDKvONOfV7j9EhvwE/e","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1023332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiloajACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmphjw/+MLYrQm7H0g4ApcButruzvzGkzDbkG5JCN+AsvrWt8dpGWnAW\r\ne4Ic/Mkktj+pzd8B3UPMb2RPdcG3M2wVnarV9wx4s1IhRQmsHbnEzMT/4OBZ\r\nQhOuEa/OSfPyJV0A1aWSOslE4d5Y+Wp+tvsMwUKx+1aReJ1oGw9zGwiryErG\r\nWxZlpb/7j0gN0HNmpXFsIoV12+DhEidqlMSQLZZyIqkho1qrA0HbtJa4kZfm\r\n1RjjSXg10dO6g/OB+Lp14H+MzAR1SV/i4QyIT35vCMpvYkuTydj8GLsGvTUE\r\nt/ajBo839AYbrOsBvhzzl02cdkkU8l8mEK7fdd6KgkLoyD9HNvSPVxRtB26O\r\nvA+MmSN/Knm8TZVqbly4b0zVQ8w/f+0QW9yI6FOiP0BvrAotzy1J7uAKumYz\r\ndRhKD2T73puD0F9YUW1N1RbjoyaZR0RTMtpdC0zy9FN7XdKrgYHmlH5unVJZ\r\nhPhj55TvA2qxxlRCmDA8jz5mygicjAnrnOOSpuXREaoLW20vWpoXgsZCaqBu\r\nV6rFo1DHUI1KN6V0VlQg6SNwPGoh7fErgAlhnYmaIeeGRpdKXnn/JZlm4rp0\r\nu1M4tAyTAL0xwhW6JvFYCWipWeKLqqqWpdEWMH6YfuuTI9l5cMYsc5My50bA\r\nAO21Wy9J2uZ9UQxQGPcAJ48hHX+EfJpCXz8=\r\n=yH9Z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a3ca7566254cda6539ae81923567cc06754241aa","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.0.1-alpha.221+a3ca75662","@uniformdev/context-ui":"^16.0.1-alpha.221+a3ca75662","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.39","cross-env":"7.0.3","@types/react":"18.0.9","@sanity/form-builder":"2.30.0"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.0.1-alpha.221_1654032034952_0.20389057893789952","host":"s3://npm-registry-packages"}},"16.1.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.1.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.1.0","maintainers":[{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"168e1494a57cde18c8e789bdc8671b036ec5875d","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.1.0.tgz","fileCount":7,"integrity":"sha512-KW5pPuliIQlDYkCPXs9RRD8R9vZYjzqQ4Iv+0yTvLh5KKTXjTRIREJEyjvi6LQjLcqg2hFv0PZD3Pt22lBW0EA==","signatures":[{"sig":"MEQCIEekhCnMpwpzxjwEpKEP10NxMGamJu2CeiUOve30C//kAiBVID4Ru+sa80zorzq0M9ngqsG/r8Axnr/Va19Dnn6vmQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1023429,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJimEYpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/YA/8Diwd4YdajlFjW1DKYeX6r/W5hGQ6KfJv1zBVstj/Hqarjckh\r\nEt1erXXYOzn6NyZ1M7qgz5tWOm0ny6Sad4EgULyN68pKCbF5Xv+V9pSFy1Jz\r\nC/UBGq694UGgcEWzj4/5voCPw1ox1HOgpCq4bfM7iMIApdG9KB7cfikvN1E6\r\nQk7a2ROxwtwmc0jpSFoqqlcboEtnSbW+ydGPP0I9MTdxoVh+cf2aKPjee8rz\r\nFnlSofkfUroK3T/I8NKWrGcuo7l6STg/dBCTQUoAjB9Livez+D1GxRTs5vfk\r\nKTLPvC4oFqPglxEmifA1UNMBCL6W9fa5xTiSCsvhL2XTmBlhA2TL0a263L5/\r\nUvhskItKg2xuy78gaKEJJzLgxvaLPAJWlU+admOh2pCWiF1AV7rlkopXbdBj\r\nf/CtAb2GjZsQEu9QaEJt6vVfKQIJoYXmcNYuO6NmWHDDziv3ddxDqdZE9dyf\r\nawG02v+MGjZYK93mlujk5dZGDCI1nb2CQAH7psZgc1n/r40R4hR813aRxa5n\r\nx1OHY+w7lkNc4vxkGNGKkwdE8jxoqu84yI36cSBDaSrm90w6IuxwD6oAGxTT\r\nJqoreGWrmlqfD1G3HM6fZ2tIKi6tSGYMe+7jG0azM5lRu/CweeiX05fnh4ry\r\nf8HskLto9C9tCebWY8T6qFiEZZnM9IDnOaY=\r\n=Nmub\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"18a24d68a80d079bfdf74b52ccf352fc2f8a2821","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.1.0","@uniformdev/context-ui":"^16.1.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.39","cross-env":"7.0.3","@types/react":"18.0.9","@sanity/form-builder":"2.30.0"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.1.0_1654146601098_0.9569711393755245","host":"s3://npm-registry-packages"}},"16.0.1-alpha.128":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.0.1-alpha.128","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.0.1-alpha.128","maintainers":[{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"52be6c36ed4f1c8456191fe698af053771d07f29","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.0.1-alpha.128.tgz","fileCount":7,"integrity":"sha512-Yp+J6jSUk6nO2Y9QJUu/Nb2tiJ4t2w3MJrS6BJ4Trp0dy0HWLsAQSLLieBGdtgWApetqO2EK8zgjR3xlEqwGqQ==","signatures":[{"sig":"MEYCIQDABlYX9rrsEUHx1WxzX3XkZ/RlhL7ODsdgvgPSeckNBwIhAKIQNsJMTTN+lRU34wUPHpkqLdDRLnnnNOoRu/WL1/85","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1029664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioL2rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoVpQ//TwDh96jzceyAaQ0ahoFLTTkEPBcySqMTm4Wd48NVmwL4lq/D\r\n80x9azQTTk/BwKKJdtCbqqm7fQ3Gh+XBD2OCgkoBxpsJ50u8Oc/Hcj4Bb+gz\r\n3UUE/ZWWyI/5K5iurZ3BZsxM2jCWtwpt8iYASVhntc2Hq1MP77IiaJQBvnXh\r\nRY0bZw4GrnlJ8rUNtCcEW8NubLkrf3JOKbF62JqjKUXbssaksDz95kFiD4kz\r\np2MAUeB/4cH48FQVm+B6byw6jJTyPEbGlUSN8vWyveE8qVqSwBDXCo0RUoGy\r\nnbxfNTTrEaqJXLx8PpVWyjH6dumix9WvfRW/qyP93QlYYgih/MPepTgBLNZp\r\npUWRNLz2Xucm0jFoY/08PLxx2lg94yFSXAAZp1N9Oo1xeF4R7oUzfbX953wN\r\nUEuqTMb6cnWeZ3Cn/I1uZ6e3MB7zhEEqjmaT2aZcr+5ePLdA+dFMtIJwUdg+\r\nT627R5HMGjrjH92oZDVtjSbRMlKn7lSNRv93Ms8tjJb7MrmdeeciVxCHTOy9\r\np+nq3LRVkDir0+4RTbeAj0pU+d7NHxYw36nrQkPKakCIhz+mgcAwcwa0Umrc\r\nVxexeBAOOrkfltOReBdbB1fYO9Zkvkg4gUcFDCBjE1XHoRiYUYARKy75kLzX\r\nThE/gw8egKTkY1XO6XFaT93lBGVcJ4Tjie4=\r\n=LpYU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"6cdb4ff331d6d0d9d5c154b7b342e7703067bfc3","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/4.0.0/node@v16.14.2+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.2","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.0.1-alpha.128+6cdb4ff33","@uniformdev/context-ui":"^16.0.1-alpha.128+6cdb4ff33","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.42","cross-env":"7.0.3","@types/react":"18.0.12","@sanity/form-builder":"2.30.0"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.0.1-alpha.128_1654701482872_0.37380192491210806","host":"s3://npm-registry-packages"}},"16.1.1-alpha.139":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.1.1-alpha.139","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.1.1-alpha.139","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"7cb04953bc7409abad4d89b91166ba3594e5e8b0","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.1.1-alpha.139.tgz","fileCount":7,"integrity":"sha512-uwZeXEd5HR/T39OUq9XMHntkGek/gZejBpI43OnTDTZ+PSAmkt0QWYnW0QmwQmD0501+IJfdF7h9/zXT0pYYbA==","signatures":[{"sig":"MEYCIQDsJZZ1JvjfUc/vyRKAmt7DEhqC843DJImiarvEvSMOQwIhAKTvkx7znnxrInQ7h+UKuHbx/NVLmONaBPcaPx2IzAU7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1035882,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJirMT8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpe5A/+JE2vsnA30l3ec+EmrQD5PUoHFpB8asvle1ngXGnGviL4LRyz\r\nc9U5hOdjYmQ6rzI65pSjRT2Xt5WgJUvzOWqBYU5RlWihOGIQQBwZrTiVgr80\r\nX/2M4L0zOX8qeGNbwdpNfCFPqPO11yWm1Pzv4Yz095/9ncP+FE4SYCIgacBM\r\nUT1d+0iR7uGuM+wr6zVBWAZe9Aw7PLjnqLEGF12U8YyqRlq/v2kffmyU9wwH\r\nV8fk6uLh40xrgXawezqVu4GfbjRZInen0SmodzPJ5zDab6D70ffj1eQMZwjP\r\nRas3UFYDEHzlWT/3E0jHn69Hcc++cjaMn64AsINwjFWoWP/3H6xXB4AHLZSz\r\n6kpwAEWXjGmF7n16xSpN6Af2SYBiCHhDJxzYPyVfIVwJyYPQOksduVBhuBbQ\r\no8KTFtlx9vJj9AZ03YzHuJ2JzB519Vvj0AqyRFmS4oyXfRZN8DKxP93QDEYm\r\nRH4+p6Df9iJmlVxcZRR6Q82tACnm8mrQ8DXUZEy6qXycPvBWe2iJNckEdBJe\r\nKcMzEgw9RurI/AZWes/cXFybMm57a2TMTjxHDMJA5g/nR3GhNle16sB1pxvP\r\njh73reXPX7oX0yVmbnnaQMzPWgPPNomhyFfgqrmjBd3yIvdCgrQ3dRM7oCne\r\ncEMSpyG8+GA3l2tZEsaPlnLrtDbfFguknxw=\r\n=LZsn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"190bc76f4f0d6e3c1a61fbbd8e9abe8a0571f85a","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"aweber1","email":"adamweber01@gmail.com"},"_npmVersion":"lerna/5.1.4/node@v16.14.2+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.2","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.1.1-alpha.139+190bc76f4","@uniformdev/context-ui":"^16.1.1-alpha.139+190bc76f4","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.45","cross-env":"7.0.3","@types/react":"18.0.12","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.1.1-alpha.139_1655489788569_0.41737268185853305","host":"s3://npm-registry-packages"}},"16.1.1-alpha.145":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.1.1-alpha.145","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.1.1-alpha.145","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"edde5fcabb2a1c8dbcc4c712cf049325c75b41ba","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.1.1-alpha.145.tgz","fileCount":7,"integrity":"sha512-MXIvqBI55uoO/su0XBhWq7OiQaf6DonYgrSGDWWSQMW61vkc400fhrEf0ZNEJgktdc3uXp/sPdtPvCaiWqmvoQ==","signatures":[{"sig":"MEUCIH3AWE7jBoxsRS5W6UbUHbht1G32b1Tn+XYunXMmCcHrAiEA/sSY7JuH5ooCWS5PSrVb9oHaQim+LioZFUmVvQ5fP0Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1036227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJirpvfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrSng/+JwUGUxcNpF4xdzXNGfcsToMlwwzTKyiHAyEzu4JSr7Fib31q\r\nMveeqzxZ2pxAEt++0JcneLHtMZQ1q9GGmO0m8oqgxY7XNUTtIGYNlUJZNjuI\r\npLA5z4lBgVfztXRyhPF29/NFmaHtvlxU2V9ktLwB5zAVvF5EVnAavBnGY3KJ\r\nOPdqbxGr2B2mcw9+2CvhouBUKpPjiFwkCE0hZgu38198h7F5S/d+W+/Nl6CM\r\nOTGOAjQzoX4erUsW7BJVoPs3GKKL3GTlHNZTWRxCb+RsJIubonXUCQ2aKhch\r\n13yA8wGeVhIfJGi8ZXMfhGeMFY/pdFnAmKmpkoQRG9bPDGLOY4NdVE79JYB7\r\nY3o21zIf3UY13mxvQBYv8JACDM0fjM8dpBjypn9sEJjAA0ggl93EutyJDl1d\r\nhbZXs3DmtDKPdtspzF9N+dUYhVWEDgOxeRTVP7nPX0U4AqesAKSVy4iWdk83\r\nbgl0J1SMBF+ApI/ab2FMKyWmWEysSyzfjk4uAJe1fBq1yBnB0w+cdtqu/JPG\r\nXjfITmIarnPxb3KpUv2bGFyqUPdfuM4vYmgu4HluzR3B5j0sTVPBK7EcqAl3\r\ncec1zDc0S/k7i4xbfguttlX8KyBHRC6AbVTDnkSCm/clEOMz2cGarZ6obyu1\r\naf4zrNv0J6bSHT4SLey7NDw+DbMWI2St+FM=\r\n=Upiw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"312640ad103ea811c5e15d37f595cb485e6f07dd","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"aweber1","email":"adamweber01@gmail.com"},"_npmVersion":"lerna/5.1.4/node@v16.14.2+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.2","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.1.1-alpha.145+312640ad1","@uniformdev/context-ui":"^16.1.1-alpha.145+312640ad1","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.45","cross-env":"7.0.3","@types/react":"18.0.12","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.1.1-alpha.145_1655610335097_0.8130434001094724","host":"s3://npm-registry-packages"}},"16.0.1-alpha.143":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.0.1-alpha.143","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.0.1-alpha.143","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b82211448424fa4c87579308c5a06eb7b3a4e8f4","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.0.1-alpha.143.tgz","fileCount":7,"integrity":"sha512-G1TVtynpgNE5fhGe5KTPwzVC0aVmkjGI8mqB+ZdYiL1ilak7lgR/+hsyTx+R8fKurcSr2nwO07jysGffOHspvw==","signatures":[{"sig":"MEUCICUSX1pMJcloQIZyvogiEXsUYh81vB2QMjW/p2vVwewgAiEAycIhFz2N6BetjAwASjcB4fURv65fgjbtOsftA/HPwuE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1030999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJisfEYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpdLw/+OIv0zqSpbeqjmfcKHOWCitqZ5+m5+B9mg3nNnz2NXEQS8U0z\r\naWgFVUqUugpLqkHCFvAWR5h8eSG4O0bwgL/S7Qm/bTRd9dH1zAtTpJII3TMl\r\ncc1temhIdoCr7h85aKw90q5O9JI9C7jTsOssQ4KWJh8/3ldpTUdQvl87wbhN\r\njV9dSOrFw6WbQj5VA5XtmzgdLwiOxoXuaqxktlUGn5wAd5zjlW3n/s96c1ER\r\n+0xaVgB2wB+H1D8fXtqk8B9MAe/8LfrnfVuw5zHUZziBzF8GHgEzH2shmJFr\r\nO+eiLI1llPHyOnAvJb9vJnfGNoV0Vp9NCmvYNdlTz1rVidmRuImqD3YF5BfP\r\nEE8VZMNryKbkanRjY1y/BdfIdztGSGgJrdj0pkzfoGM4usIgBwUX3B/94ydx\r\nP/iPRkM1G3soRwpD+41aN1lpSOxwy8m9wtMCdcSmZCvoykrpn6kRA9Fp7xdJ\r\n+qoq+9abRFsON/NbphGnlR52rWy8IawF3NtLoKu78YyWVpKhVGH2Hs9cpyjZ\r\nCC906BuqRTvcmg0/frT8bGKoAb4xL5DRr7ZHAZtEYFnrVcKte+m0Qf0cauc7\r\nqCxajTGEKVKNfMF3vM910JRnapfcSaCDFhKfKO6COrXbLvGgJ5K400Wz+3b0\r\nFI7se9ndFLgm8jmgAEgTysWMWbO4EmJd6zA=\r\n=amj3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"8bf270fcc0cc82383d1f30311fe11dafd5fe3782","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.1.4/node@v14.19.0+x64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.0.1-alpha.143+8bf270fcc","@uniformdev/context-ui":"^16.0.1-alpha.143+8bf270fcc","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.45","cross-env":"7.0.3","@types/react":"18.0.12","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.0.1-alpha.143_1655828759838_0.8208148267754805","host":"s3://npm-registry-packages"}},"16.1.1-alpha.169":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.1.1-alpha.169","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.1.1-alpha.169","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"9cc1a6e80969cd6caefff09ebe0998e91291f55c","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.1.1-alpha.169.tgz","fileCount":7,"integrity":"sha512-bV1FYyZBZAtv3h5iDxd/WZ8NnHSkhxTnfOUfzeZJnftsBnaI17iLDen5U2RTd0Ynfz5nF91686RCcOMIM2TMFw==","signatures":[{"sig":"MEQCIGAFz+dc7uTLu3ccNEYD/SJDMQL5jIml0W1O/pxvohixAiB/8Xpvw10HAByc56QMHu6N7st1kKARstC4TczxMaSLKw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1037844,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJisf8lACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqEfRAAgrBg3RrM/AC03oP3/ltJhOC0Sh+Co4bdNDNobswPLcc44qwH\r\nd/15Und6ANgqw8vSuAcICAh9pPj1CIpo+9RStFNeLM17GnbhZNMs9dxXLb2q\r\nkHiJB68mpHeCIz0nbP5DaGHkCI95c6cLW/tfTRkTaIJvrV+Xs9T69akH2ZMm\r\nuPe6ka1+xMWirKsN+lyOUbtI+oBM+dKVr5o8FuMAOFemAavxnmpJOsSnxrSy\r\ngtS0ifKL/IzfEWqjRCUmyXnAYulA4v26HEqKsXrC77qXPo6PQoKU7pN4i8qa\r\ntkf/GzYqQQ6VIs6Lvbcr+E62jWPso+U690JrTxfkyX1bb79e+fUBJljDLfh+\r\nmM3ThkD+C1HNLjljYOUYo/z8vTRojxlzfe9q8plD5xg5BDrlzboI/QTc0Vh1\r\nZctGPBDiUq9GTFPFx25cvyigar7xYhIgai1JbdmUsf74JBgzC3uSBbpPI5gp\r\nOg8T5lTnsshaKBfvQ5Syg5RwjMMpkQ+7KGQuDXTy3RZzDgb854Xh/dHMxizc\r\n6y4Gxhw5dYo7r3plVCU/UXN7YuKh+xVQXkOGMq/8yhuW3quVh+Z9Eulgh/WG\r\n3JVlzyfVy28SaYy4u8tB0rkqLSiatZ5mqLYSJFXUlTuY8MFvoFZ0+HrGWLfR\r\nn1uXjW3r27LaIsQDlzGNS9K/ORVzsiBy1Io=\r\n=hLrC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"9f94bc146bf17704000703b458588ee627f027cf","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"aweber1","email":"adamweber01@gmail.com"},"_npmVersion":"lerna/5.1.4/node@v16.14.2+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.2","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.1.1-alpha.169+9f94bc146","@uniformdev/context-ui":"^16.1.1-alpha.169+9f94bc146","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.45","cross-env":"7.0.3","@types/react":"18.0.14","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.1.1-alpha.169_1655832357320_0.002744544842777863","host":"s3://npm-registry-packages"}},"16.0.1-nuxt.146":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.0.1-nuxt.146","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.0.1-nuxt.146","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"f549dfbff320ed4924ed08199cf7f429b09b9677","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.0.1-nuxt.146.tgz","fileCount":7,"integrity":"sha512-ryMBqxR0Bwclq1zaxtWz3FHTGBg0xhKs/dqh5IUFG1IoUuPOL/R+s4KCD9AG+nfnmmmEXRsGpsCZtjLb1dt7AA==","signatures":[{"sig":"MEUCIQDcsFzG3wWOwKrEgDNuyGrYAVpMMj2gs8BeS/bhV6h6OgIgZyqChziHGXxcERLgNWhF9uccTrAM/Xzjiu+LL+UeT0k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1039725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJisg/pACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoIlA/+PJLxO6xyZgFcC2QVAeMFkW1uas2CwQEPP837Aem3WYClz1I7\r\nazi4XKP5KdAsRzxFHu6tQOGy7okxv05V2uxqal+wy9fZJSsguen9a3zFmgEj\r\nJx6l4TlXGm8NwjMgf33Y9f8PgZGtVXPYSeAzNE6hynPW5uGrB64mTEFd8Phh\r\napagMmPGEhRy+mKAmcgefuq8RLkIATCNp/PhnMH7zEZCrrNsbuRcl3zI0aH5\r\n+IJbDkvTHcZu373KpZ0T1zuOLTD2EVtWTqD20U1X86OM8UQI01bJaP+zQ8wN\r\nLjNN8jyIM+3hd8H9t4THnM2YOxtrVladJxCH1bNlUT1Olbt1rmrQQXGdxCVe\r\nxY3KJxAnLJ1YNzbW951QOe6kTH9mI9FtBQ1xIIUKZtPW/43qDoTSuHHOzF0c\r\n3Hwlkv8bdP/ixd31bJDpOE/cesPe5tizQ+Awlakt5+pCm32t53hgLgf2HcQb\r\nDJwHBydDhQ5RETJV1Um39kbOWb5cAKsVJxFqT6cg8FyJXC7/E7s6+bBfWZQ7\r\nXtarbHDRbAT25C+WTGXXO5kSd3t6uAd0g1JfzI7JO117VkNgQA7QraIdyojp\r\nasXS3746lFW+DJ1E2SW9QXMJV9sc2IUX3YoRuGE1yvV3wx/Eut17VPHfZi4m\r\ntYd3QztRLmg62zB/KdoxPn+bo4aoBrq7C18=\r\n=fZuU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"04197b8d483707f49939875b690b902f48f1ccfe","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.1.4/node@v14.19.0+x64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.0.1-nuxt.146+04197b8d4","@uniformdev/context-ui":"^16.0.1-nuxt.146+04197b8d4","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.47","cross-env":"7.0.3","@types/react":"18.0.14","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.0.1-nuxt.146_1655836649446_0.4949826776674555","host":"s3://npm-registry-packages"}},"16.0.1-nuxt.149":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.0.1-nuxt.149","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.0.1-nuxt.149","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"c3b3df7e0b6342b0316fcd6edf3a8813868dc1c4","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.0.1-nuxt.149.tgz","fileCount":7,"integrity":"sha512-nrOMSJmPyjDWWv1V470YSCVAt8JDe1akmJoQeXU1JcNFK+S5JwaUgYu+hRSSbEA0aYXI+sY58/lXQ3fTZInCkg==","signatures":[{"sig":"MEQCIH89VDn8z25C3vPEWWzsqEFlVu3zp/kZ8SlYyBKjAGZMAiA4p8KGt1B2B8ENnaqF+iO7RO3JY78iAaLQ0+a4JyABPg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1039725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiswk/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrwGA/6A5GU7kWqfbl8wzk55/Fo7RtrPS1lSJYbwC4rZyfyTVkfpRen\r\nJJBPXZlO7qbep/OGznyVYA+au94OdEGb/IOsB9xRz4TtE7BhROjDBgmTkAhw\r\niBrgd1KXwwOGmyFzIK5KYK+ziJPQOt8XTj+i8TLwrngTnYkVtb1YPNR5Q+el\r\nWoR+7AL/fXEFSzEixBvzk47AoXBwI30lbNRmXV9d305HH15BDdpXi6RoD2je\r\nxVBY3KWbkgtssb8h3y9fODaOssQtDSxn44Y0Y7lsOBOdA+hBfn3btJERTYoi\r\n/Vt5F5UpkZ/ujQ2FCxq1No/U9CJK6tklS+AM/orWCLyLSQvP1KpUykRlEqOo\r\nwO0bAaz0bIXnEHnBOkz+x4ddwwGQnxHW/WZhY8Gu7Hlc/1H85Qvjxyh2NW28\r\nXrDjKW/E91l+yHf5btIi9do79O8XPGNCbUeDUzF1/Zl+DuFboDLj0RnXfqTb\r\nqjP8zUkkwOqzUr/kZXxlBIwu+TNUwmFSoLaE0CksnqFFbUkkZNZQqAWDMMqV\r\nTtb4MX0/k3K5GN8+uKywhdajL5oPWu1Eix3SPjNIlS6DDJ8lN4snmb0SCzXx\r\nfsZOrJXogR5UNRSbcb7uThn+evn1UF2lVLiCYh5kxaH4ctybTJ3Fc7gu3hRf\r\nI4qobzkga5hlh0QoM9Qsr7dir4jB0MRhekY=\r\n=5L11\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"df378f9aceb4936066e0fbcaa76de8630f0fe654","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.1.4/node@v14.19.0+x64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.0.1-nuxt.149+df378f9ac","@uniformdev/context-ui":"^16.0.1-nuxt.149+df378f9ac","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.47","cross-env":"7.0.3","@types/react":"18.0.14","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.0.1-nuxt.149_1655900479360_0.6848838907103123","host":"s3://npm-registry-packages"}},"16.1.1-alpha.238":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.1.1-alpha.238","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.1.1-alpha.238","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"1fc2a6c98fb9841322ec5b6edfff3e0deab96459","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.1.1-alpha.238.tgz","fileCount":7,"integrity":"sha512-ot8YEVDdBZvlLPq874Fa6Z5hO1owW8dtJt1WWVTDF5bYRI3P1PvK7oiLEGKRlTrLiTX8QD76zt6VOpbtPDFl9g==","signatures":[{"sig":"MEYCIQCbMDrh4GYWibLE9FaJnQpgnQOt0FipQwHnDmcWo+ZUSAIhAJGgxxQ4MMGEOZAXXoPkpbJmjVV7kPdMmToFn3txBe6K","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1046411,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJitIkpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqGlhAAkAjRHjK94LhLNZP7tQpxKTfaaL5VCBr4MBGGOt3PM9VQtFNO\r\nvgvQE/HQNmYobIC/JiDgFCbp/5Wj9A+pRg8tawpMnTcfc0rECpEgkX+PUs64\r\nQde3V1WP1wXnAv09XC3nQ+1XfGgVo5WXgIi9f2rgZ6GHMTT1A7/cTQwnSGM9\r\nyJDH+cAumJAb7mqErzFUslQVzXyCDeoEjO38jzqlIviDUlB9jpfqXQcecFA+\r\nXMuH6DGXV93rH15mzGiiIeJDQ18qGSLHRPMqcMHsnOhApTPLQyQn5uVutrbW\r\nCNkRbRELzeWr6HLNUgvgVDIQpilaHbTh/Bo7Q2RkRAEeMVm0nq9RNBZreBfn\r\nqzylDSxbNgiEEOp2PWVYM+OsiM2kZlZdYdojL6TjIodwSCP2LN9hJuiGFwg/\r\nq+HvYrJqZ4iJ3P+B0QCFoygDpyfzVZuaTt7WHaRMruZuCpOos56d4H1xadQR\r\nyN7JXtn1n6C73kb87Nsv5dDcFNer1CiebdYc5jtu6/5RIb4gM6C0blHNii0t\r\n9IVPbyJa29XoqAPf80z0kv5boZqcVDQRasO/cQ5/qHv8lYyeNKKBP5Q/G7+d\r\nPc53GJO0oa/mkrX+obdpTdSpCogu0YtkUDNSHUG9a9j158C9ExZ2JaIqaTLh\r\np8EzqyYE4G+Z4wkNEF3rsftdUDl0fwo3QZs=\r\n=tYy0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"173830b3ebfe02dfe01d82d28eb97f517f4e58aa","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.1.4/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.1.1-alpha.238+173830b3e","@uniformdev/context-ui":"^16.1.1-alpha.238+173830b3e","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.47","cross-env":"7.0.3","@types/react":"18.0.14","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.1.1-alpha.238_1655998761537_0.7894660860735423","host":"s3://npm-registry-packages"}},"16.1.1-alpha.281":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.1.1-alpha.281","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.1.1-alpha.281","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"cf76393431045f84bd11d0d007159b9578cd38c5","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.1.1-alpha.281.tgz","fileCount":7,"integrity":"sha512-7Kg9mii6ch6zBDUYBcKUzeNZUk6DJs+Z6NOns3HHqLPjG0DopmO0eF9US6GeMM9/RHr5loy5vU2VDe1jPjG7KA==","signatures":[{"sig":"MEQCIEPnf3GeHoDO8CkjmU0o7pb4RiawNsVnVsTYpw9Fn1/eAiBcK8VCsOOB/3zveyx2ijvfHGQq/h1l5ghYQqvxAyguig==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1046650,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJithl/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpdSA/+IUgBnv49KzCxVQNXAXp/gPzu4Jd6DmK4tDs8TNw9jzJMDVAT\r\nUgkuSCUTMlEnreL1ykup7Mjxxn7zgGai/By2xTV+NEIHFshB5JJU1oK+sMSG\r\nMCV+7ypNkGimuSsx7qPt5a8vELpBODs9HrsTlh4sTXIbXK+8wjqo77ryuCW7\r\nbUb2qYOJnGuB9XiXmUv3E7Y0qCDqh0eDEFoB1FENS65ETVEWW4AsJ+lNKN6Y\r\nUnar/DU7SZ4BA4WBzu/W/jEYTQT7iQ3AUeYNgAhiiHnEIKl0deghyARGFRN1\r\nMpYovqbE85YzhHilP7GwAXddJd+h19pA2/k/ss/WiQ/vsqkRqfXevnV40lcb\r\nDyEevoOZp/zAujz96qxEo7BL/puMWllHvMX0RhnT1Eofh5NyxlXTHF16A/0N\r\nUtXgrRqjk3XWMG69pMeQC256Dg8BUyG6WMEnBm8zuEd1b55MIFGEouFSbkDw\r\nFU0cIcRdC/8G9smfSMVZNYl4ZFcqhjxXisngO/slb1YHSbTpJC+OfJOJSYN+\r\n873XnW7DxBcDo1ae8DO0Pfoy5ETLUAV9nVEA5NT8E0oY9GHqXh/+5DajJAoY\r\nC7fd5ml7KbKcdBLFPwQITsQaaCXrVKIeR6AjtRmPS1EHZr5mYIohZcDJ0NQC\r\nxoSR6dtNSGc+WD3sWTOZVrhZYZ++HdUZEvY=\r\n=bFAc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"1e3a525e658169c20a3f3aa9f2603650543f1053","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.1.4/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.1.1-alpha.281+1e3a525e6","@uniformdev/context-ui":"^16.1.1-alpha.281+1e3a525e6","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.47","cross-env":"7.0.3","@types/react":"18.0.14","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.1.1-alpha.281_1656101246953_0.7665898903244657","host":"s3://npm-registry-packages"}},"16.1.1-alpha.294":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.1.1-alpha.294","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.1.1-alpha.294","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"d2c947308e180170f7a0eae10e020d27ee82c079","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.1.1-alpha.294.tgz","fileCount":7,"integrity":"sha512-QJb+MPnvEgxCrf94EhA6D2rxks3pG6uLQy2dhbw4hqdvJT/YuvP0veQZVpQ3dyk3QAiFp0AXrd0WoCPwd518jQ==","signatures":[{"sig":"MEUCIGf8xWzVDTuhTeusCp6wuDjZUUx0u0x83Lh7DnYJVbXRAiEAiLuZfPZxkoWR16m3N682ub/RSLZQIo7kHgdvEXK6C8M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1056001,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJith0NACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpuog/6AuzX+sJusn0djNV1qxd0Zu843bs9GnkNpzWQzocJhjXvmZwW\r\nO5wsCGhCDyng5Z6OsG+g24YVGDXQQZRf/1WTWJcieBV8x8wFx2hQfZfDdQfT\r\ntzDKkVQUNdE9xBp/IXDfz/oxxdis+Y2MZ8/wWtJAZnS5B0HFs81QlpbTvn4i\r\nustYu+4yzOR5JXIJfc8xxnDnV05DA25neZYV2EDbYdoMieiFlCvXK0xmKSQL\r\n1NHlRrP1G0PFAX+l1Xj8GTpENjvBGlP4yhXzGIisTZi+NzsU+iJog3sdYf1l\r\nJa+Atg6tms7qxRIN5tLoRm+UXlGA2y6H1+mF3K5YKp7WRH6Ts67rxqzmmDTK\r\n/B+1mxY0+tZV8iU37OV1NHujUKvz3dE8Wm0+ehr+IcTGbnRto4PXqBoxsxS0\r\nWjolEfD1j8FCG40/Q3oAd0S4Zj159JNjoDMhLbYQ3bDTx/DWrhew4RYHLwW5\r\nWKoxNmWPe64+GVCZ9m5BKeeL6mqOW1dnzbfdkM4sD24ozMKmuC/lJ+xC0K1x\r\n4JYYuKyfKj+I2RUN7bdHFDugR1FMQ+dBNxYsloN15NQSDEbFP5/oNTCJcJyG\r\nSZHOnXgHYkPdDgOTwEdqmFbn+k69lsTNd8ilcnVSBSqc/x3I5trgMPv3BCk4\r\nvZe96k9VJ9CBW2tMn9isoT9RMWXLi7373jg=\r\n=jRER\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"787422ba907e4819d9d4243724c3c3286f3c9aed","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.1.4/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.1.1-alpha.294+787422ba9","@uniformdev/context-ui":"^16.1.1-alpha.294+787422ba9","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.47","cross-env":"7.0.3","@types/react":"18.0.14","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.1.1-alpha.294_1656102157142_0.7681473880575174","host":"s3://npm-registry-packages"}},"16.0.1-nuxt.156":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.0.1-nuxt.156","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.0.1-nuxt.156","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"577a900a693a865cc2ae5e1a1c296b792cd66c4a","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.0.1-nuxt.156.tgz","fileCount":7,"integrity":"sha512-JotED2//GykzW1VJzsLIythZi3O7E1FNplvxdiAfR/CsDHZOPRRLL0RUfHQbYheX4ciZQoBsq0yDvRVEoE/tLA==","signatures":[{"sig":"MEUCIH0GmRdSAtPGC6tQY6YTYd8eggORabZNjDnJSs/9K/LOAiEA0ohvXvcgOBOIr8BckEy1Jbh0GF0+pJLviOuButhqv+4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1050066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuXpmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpQgw/9Eqq+udjVHBk/iKyiXY7csxSk2lej42atfu3YGhrDPdHNuEkV\r\nvxGIbvH5ePZeSMgPFY/xbu6xBA5t/fuywCIlK92DoMVW2xxQx5dDyWkNiu+B\r\nClAojrQNT2/sKLSakU9ksta0DK/JU4fUtHS2hiwMsVcf6P7ndlpeRAuCBCbO\r\nclVobDnetBv/XhQ5SmrAQPIpRT15eicu1LDvW4SUiljmpC9DWuu6DxkTYkgj\r\n6Kn76C6OjoJVqwg9iLCw4ItoSUkzTVGNgTg2RLWn8qof+prXiDzIWpxGanJ9\r\nfVAAWTJTKn5u8klJdC0IUJCJkM8/c/K7L4W+Gs3yZquuiEgplL9djhutwxyY\r\nWu69CoxPBpESVMcvIDem2ZzFDdbjPISugYYnBMi50X96/j+A+xAzYjg8bL3B\r\nCukd5hQ3pxWoxt+SfOwetuPouurGj9INSpsTqr3OTWUWCo+TczA5c02ODYR6\r\nyals5fXUWRqqCeUZ7K55jAraXrq+57VFKEdICNXC4ECaYrjlOv+t+924gLeb\r\n5kYCFn+NFbyJUdEsJrnydCWnik/toaYzGrxAu6a8YIlbexQyG3rEqTehs+Jr\r\nAVhvzSp7VtE+6l8LDoPu5gAlJQ7DWwZ3YfDxvBIBud1Kj+VZ3I3vDvwQ6+Ya\r\nkUztQvqiS4TboGMffnGaq83c9WMdw6yQnqc=\r\n=Tsvf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"99cb5fbfbf949ccfa2fa8403a9f62427c6f87de8","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.1.4/node@v14.19.0+x64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.0.1-nuxt.156+99cb5fbfb","@uniformdev/context-ui":"^16.0.1-nuxt.156+99cb5fbfb","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.47","cross-env":"7.0.3","@types/react":"18.0.14","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.0.1-nuxt.156_1656322662189_0.011884926651308358","host":"s3://npm-registry-packages"}},"16.0.1-nuxt.157":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.0.1-nuxt.157","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.0.1-nuxt.157","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"3ba82900dccb854d80bb46d8c9459f36591928a7","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.0.1-nuxt.157.tgz","fileCount":7,"integrity":"sha512-0mX0FUP2SCh7D+OCzPqPEpkQ6s5z9h5tqdaFyCTcfJxq2IsWwIyrYQKAip0APyvsr6/pcHMXotvdOiLoQqsWug==","signatures":[{"sig":"MEUCIEDRw+xIiwe1KZVPSbqpfB5QS8zcpugrRyT+LnmC7Qe7AiEAzD/C4bAnMyOaK8lm5u8pvZe+Al6z2F1ncjc3Zoz4a/8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1050066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuX3lACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpOZQ/+IF+HhPcLIXCAUZslD5qU9eyZ+c6cA2t9A9wX48DYldYCJeIQ\r\n09OpjO+/lDQxlMIE82JA4/7vcIYOkm/56FSwVwPWD2WaIk4P75gABFvIriyd\r\nEROPsk6a/BnRRJ/6j0YcfGQ8+tZbRPHKsPXmrSmLnBv+FSJpkwV9NayzmvR7\r\nn8j7Z6JBxczyMisoIFg4JZrkU77WSZNNBlXw/8sJc7ZjeArfMFP6O5jkv4QS\r\nGKUF+dUl/8uTfVEE5RuX764TbafGDoR5DPVdZZK6UEzW+mPi28L/1J3ufAKB\r\nLN35Vj/+GRVZaEQc8q6PMUgQ5OpG+yvbxZ5IZiP3qmjSPqdtZxy2tjG0rIc+\r\nUHS0XI6ba2W/KH8gqMgqjMBZtqyle0kcFla5R+VyST9+lJiTJOfwKCTE28Dz\r\nAG7+P7DJZ0H4RQcAUaeUFJdySACqG0lJf7G9FWkLrNeKoEGfYNzKCJ12CcpO\r\nx85f5PsHMBMHcGWs3nJVcZW3AJ01KfvVf7JRY8pisYlAyp+XrVFU+7AQcKkb\r\nvcGEoqC/VNWLLltVVGz4MbjXBnI+lGv/n10C9TAomd6PWMfSqpS+my/yKwE0\r\n+6A/ZysdEyIEf+icZ/XThqN20l39Aeg/ejAKDhFGwdvF53yio3uOZn+Zfns4\r\nmYv8rLxHNmrLW58f5qKDso6v2VQduD/FaqI=\r\n=3NOp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"183b5f5f5de269c8391c31799d18f0dbcefbaea7","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.1.4/node@v14.19.0+x64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.0.1-nuxt.157+183b5f5f5","@uniformdev/context-ui":"^16.0.1-nuxt.157+183b5f5f5","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.47","cross-env":"7.0.3","@types/react":"18.0.14","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.0.1-nuxt.157_1656323557669_0.6342279223236937","host":"s3://npm-registry-packages"}},"16.0.1-nuxt.158":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.0.1-nuxt.158","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.0.1-nuxt.158","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"d5b4a1f7a6a8540c5622c446d7f301c347993f66","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.0.1-nuxt.158.tgz","fileCount":7,"integrity":"sha512-uDmswe9nc3xcnwfuX0+d6MLuMFZPzjBBLApoLEaZh9k1CEuOhBaPmyPKjUTgzcmuC2eVM6S2WjSOEbyeAuDYcQ==","signatures":[{"sig":"MEUCIQDpBWJIh3ca1TIzU/ftEh6ZJIPvff45BJpu4VVzxyVGRgIgTKqB+E0mAYotUaeCQh3hxENldPLGFEUnSrBx7rGqjZY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1050066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuZn7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqDpw/+NLsJc0Za0R7EFjTDgH4MRAsYW3oHs80S71kuQxecc2Roq8aO\r\nDD4MfdBfUYT0msabg+NGiNcc/dnoE+YNFrS1rwjIlF7gvKgKhoaZsYvzpI80\r\na68vN/W/19D5/uC93TfKNTkQjS/xAMTemfLUOTQhUvjIvvDI9RbS2LmyQQh9\r\nX1PQiOyERBlTsgzNZhh/Gkz+IYMFlVq1omrjApx9MvHuEftyKgj15O/eRtI0\r\nPkWyH8AHi0oOmXVsrFNLhgAujWfKiR8z4XQW65tgRpjqYvcYysztpmARgp/W\r\nFdyzk7cfDnPdP0Yk7t0ypuU0dd5soU8dfmmgQSW85p24o6L/uZs+kxQ0RKoA\r\nicL+tCmdyI+QNvGMK6g4cFR1PickdkLGfVHNPpim1GPGKzgW1HuCxdHKLuup\r\nYxqDlUwQsqk97QJlKubA7sgsnNThC2wrCKsIObRoktdAKDrZxKVpipV7UT1v\r\nqMgBh+gwGWY79ExPIQuXES1bJmgaid11n5XO8UslwnpJRymTyk12H0EFclCz\r\nWfKKAPeW5ecobmDp/jNjy1Y+ByRtcoYyvbCsB34SqtER85cMnC75QdpIl94y\r\nEXNIthcQ+MWCGprjbmy+S7GapYchuO8LoCGFJGto9sgkdHKoUSloi+sFoIsL\r\njJtWNtUGLyqog7ulOLqs+FP2ckJ9ZjrSZ2Y=\r\n=KEq3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"fac0325bab53217a4c5a3c63d549812678f484f3","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.1.4/node@v14.19.0+x64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.0.1-nuxt.158+fac0325ba","@uniformdev/context-ui":"^16.0.1-nuxt.158+fac0325ba","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.47","cross-env":"7.0.3","@types/react":"18.0.14","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.0.1-nuxt.158_1656330746885_0.48418153330973057","host":"s3://npm-registry-packages"}},"16.0.1-nuxt.159":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.0.1-nuxt.159","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.0.1-nuxt.159","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"54750a788a363644e501b7ee7d84a6daa6451617","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.0.1-nuxt.159.tgz","fileCount":7,"integrity":"sha512-OG81r5yknFK7hDNhaXPAyu1TJ91krYbOd8n38gs6mi6tI49i0xGj1Bw+IhFS346VzYK1jNtjyx5vXA9j4+ZfiQ==","signatures":[{"sig":"MEUCIFlI7PKor6WPtr/WsLzvYAgzaLcnNG8sRj1cwNOD1+yHAiEAh6luf97JP2ALHqJJntyFKkQsKEOpq7cNztrV6Gu9F2c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1050066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuaYEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpTXQ/+O4qburxjgYt3VPOahHpZAfZWTmVn3u0osBfIQlr3jZHC0bqd\r\nIU2s7K0gQFKSdLMyIh+YdUSYCZ773/6yubJ12iBrNs2cUeepByfvOPm0xkvs\r\nDDsJ60Elj0f2NoxV2Cite/3vD+0F5U+hKwmIQUn2rMQFJZKjNidCRh8dSzeM\r\ntIoK9+mCS9nGXEtDVV2gGmwo93n5mL90V3XIIQ5d4G8OyPzYEKGGueH7RZ0D\r\nosKrPXgZRBARu4iwjd2DKH6p7yBlLzFPcDIztZUWu4aoHnf1Fupn5a5xvffM\r\nBaHl/Dgu98glnuuOBu/GF8532572FWssgCiYFsG0DvcJS2y4O/IBR+PGWhfn\r\nZM3TAWRFzTgDfhupAPYLuwaAZtrA15DC/defNV5vyv2jEBLZmHDsFOekaQIk\r\naDOX/8rDauQaDSGQz9MYBi5wRkW8bWNQTj5Kdyn3kU3a87yipG9RA2T4IBhC\r\n6sujmB+baPq9sI/RLufJxAMyCBw8o3dcZDkOiAC6Poo8EwO4A0q8BllOx14u\r\norpyc3vnpB8s5zq19afrqNLkHwlTHMd5FkOCZH6j46/kzuGDpZZHz24UyRX5\r\nO4okoOizwjn3IYjbZFKwVdozJRHyi1N3I0cpbgOXUKeO94UpDGmyNwMhnzJG\r\nLRGA5NQWU0I1NaUuT/K6XlsXIYg8ZGWQMKI=\r\n=Zt0/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"47b981cde5f19beb1b6a85b0cd6acf98e388b599","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.1.4/node@v14.19.0+x64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.0.1-nuxt.159+47b981cde","@uniformdev/context-ui":"^16.0.1-nuxt.159+47b981cde","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.47","cross-env":"7.0.3","@types/react":"18.0.14","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.0.1-nuxt.159_1656333827744_0.3819318587535294","host":"s3://npm-registry-packages"}},"16.1.1-alpha.319":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.1.1-alpha.319","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.1.1-alpha.319","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"930d00957c84fd8b393b2750f8d2b88a215d6eb9","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.1.1-alpha.319.tgz","fileCount":7,"integrity":"sha512-BL7vhpYNGPXJFpQmvhy5Moj+G/DFiYJ/3bNuHOdPISpFvRUI1I8htUuGSl0pmxTwPPsZB2xLOdsRZtqM5f8X8g==","signatures":[{"sig":"MEYCIQCHPSHW/0YvTj3T0sNXSKZFR6mtSuWHz/VJXLos+o3WtQIhAO57aE6+CnrBGqr039T5dcL27MPiigbRx6rwtp2G8yib","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1056563,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuv9rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrxbQ/7Bm4z2OIg6oCeB0juOXFQmL1JMMGuCrfJKxEcAENE8snXfDe5\r\nanLYWmhCLr8+2iEyoAyxWNKQMWCL2JzxbbX12uqI7I2Ulayg57hY61ltiz3Q\r\nGukj79+grbFg41BOR9MnCJsw2pEgHLUA+jwXLet+RujWnoLI93TKkatT9EDR\r\nVJSjeuC4zI1QiSTR62upcqk1aGtM9km7pbto7LW14D3oaDgpTJxln5ZDwTh3\r\nztZqfO7kQldcaICGq+WyzZGynpCrqw3i78oQ105kDo0TWI9XEZD6o6F2lHYb\r\nDOswLhHm+rUabWDU3txRMcJu07l3n2PL58Lf7bgIR2kGFd35CHY8ssULMImf\r\nJA4krPxDepviPN+jYh4yKx0winjuXlNYaiNfy3qkfXMUXGUIF9pZuMV0UAjk\r\nrJ0+/0wBqlHdC50DzsSdmeuUEIN29TVDGSc038bLP+qnw4zGiYtmFYmBW+l8\r\n+VNR5igIeBbgYgJIZC/ksluLSrGsX5TZIl9wFHl51fUqB/AQRUruKPlG+o66\r\n2rkZzBz7bRJD1hwVCSOJu2HQnuHgZ9+0LOcH/WzhbXSkhHFbETtCtgqLH19W\r\nM21lgZq4TPbCYGREBhq0M2afNof+e4EsmwbfJ1oj3C0MgFWPFzpSyOGtziQL\r\na61XIMZpXbUZK93EoFABmSv99o21G+ufL0U=\r\n=0KU1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"8f2d7a7f9ea39b7873f9d3bab3d6496a005bb4c7","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"aweber1","email":"adamweber01@gmail.com"},"_npmVersion":"lerna/5.1.4/node@v16.14.2+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.2","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.1.1-alpha.319+8f2d7a7f9","@uniformdev/context-ui":"^16.1.1-alpha.319+8f2d7a7f9","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.47","cross-env":"7.0.3","@types/react":"18.0.14","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.1.1-alpha.319_1656422251537_0.6619244619619027","host":"s3://npm-registry-packages"}},"16.1.1-alpha.321":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.1.1-alpha.321","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.1.1-alpha.321","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"d79312af58e837f58c38c25deddd96c2c633d469","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.1.1-alpha.321.tgz","fileCount":7,"integrity":"sha512-nsHNdNnq1ZMMyEGzgl3KE5Q4n9w9mViEyxjuwaTOA4wNAatdvYCx+kcXhuyy2lpOTGmlW1BWW3Hn81fojyGFNQ==","signatures":[{"sig":"MEYCIQDaeWExsKhyvEgBJ24ntTvV6QcRaTmiabIiuvX82rEM5gIhANL7io15sRnvISJD4LHuAF8sFAFWn3ezW9IFlxYGn4Lg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1056563,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuxsJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoVSA/8CnLoxZs1qcBOB4dF4lhrvKXZh9B/Ka0kuWqV3r3pGfVg6Ew9\r\npkvmk0uTUWAGKgn1zJ4igVcQMKl0vPu2VL22DnaHuDpU4rlyFgpEDja2nbtm\r\nhlj8G941FTiid6cZFnj+A/VgTexh+rDqUnReKUwLZi1CN08VcfC5MTdAz7do\r\nSMHnCImt9KfXtdAyZUthIs1QLsCtI6yqLelYB2SHhhTSJc3G+EHKxh9fjh3/\r\nacJRozrMSuzjtDGmuRa3ahAmn6nARagn9CBVvfkGnL3KAPa+UkJnvSKGubd7\r\nkOXDjmLhxbRAv5g8Rx/IkXfmNE71lPum6BRPkRwlCl2IXqt0IvcczYRy3G0I\r\nN/U9do4ebPXY/RuwS3XkQ713mUoTDQu/HQ1sRyOmW+58lcsmux2+1VSHCz0b\r\nqQlQ7xOg42QUC4Coj3KfmhHuMNERDdweO38pjAdJW6SIvbmJ70cmKLCDe8So\r\nZ80xYOOhfQ1pS4CO5X/Ke7RGuPNN5k+zzTbstxEREBLOSzm7h3lSdd8nNYEV\r\npDq+VIiWIFa8ANn8mls+Bg+RnIQR4LuVOShF8Ie0jrRQYVW6XVGCdpD4dY2K\r\ncfnenfIR4KmZFA6+3WR45PmmOwuJpTZLHHKUHoyFt6FVk0QWgnHFL76lMEw0\r\nu6PSwyZJoDDCA6eerVGSVLDqZf3Es6mRCT8=\r\n=1rYT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"0095551562382075ed1f09f5b22d6ce484ba3f7b","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"aweber1","email":"adamweber01@gmail.com"},"_npmVersion":"lerna/5.1.4/node@v16.14.2+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.2","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.1.1-alpha.321+009555156","@uniformdev/context-ui":"^16.1.1-alpha.321+009555156","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.47","cross-env":"7.0.3","@types/react":"18.0.14","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.1.1-alpha.321_1656429321454_0.45460805669393856","host":"s3://npm-registry-packages"}},"16.1.1-alpha.334":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.1.1-alpha.334","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.1.1-alpha.334","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"e0588f999429e79355b4f7157e274a9d9cf0c5bb","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.1.1-alpha.334.tgz","fileCount":7,"integrity":"sha512-6cE/fpyNReKP+vYrXm4oBLXbTcc69toRO32KcG6fmRo4J/FyOO/KmdRWwYXbWnY0Sg421g6Tbt3DGyAWory29w==","signatures":[{"sig":"MEUCIQDczXnsGW04vlBhfkHM1+JlflGk1w2MRWJ9IJX48ow9/QIgRqrdYzpr+TvxZ5XekskUY2ydiXK9WQq+HtUwUqh8llc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1056620,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivADVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqukQ/7BI3p/g1BgSGUMe8DtOK4qZ3EIyBKQI+J/QTi/VOmt3SgkJ8m\r\nTsgGOzvJdaB71/G0eoqxa0Wd4NXb9PYd8JTyrviHCTNV2+UdSYhAxSdrYKiR\r\n69hUGWHvhFhVH5ruNGrmK1ZYuOHLHeGcgZanQGl0q3gqhZWcIkQ2PEnbEjyH\r\nDfLZp35MCrl5SjFOQWwkXtR1dbn6LIF5yEfAW/TFCcF1A4FWcaTa5Orn6nCW\r\nYzU/LE14GsxRf/yGlg6rJal0j6kElw27ZhBMwBm7SuFy+VNp9pgf0BPgBrDr\r\nCfP1Bc/ILnlIfNOwnxSwVhXTA13yuXbKM6CWZgyhHHQhHJSz1FQtEJL2iGwI\r\n0wwVHD5d57SR0UilpSaCkGCRtepUm0Drvgc2ChwmidGo4M4aa2g71yufV5Oy\r\nVR9Uk3U1EGS+zokf7M0YOkDirlJuoYswN6ROUutn7OnAu09sViXqVQJ9ZrvK\r\nzsyvroJewjzdYOG+YCcqghJMZrZVGnpYpFNZFHlADSHtHOdm8POpGsNNhlft\r\npgdIGndp+jggwBSRScpEFL9aMgTZ0d+WQ3T3Zq/7K3pFEkO0DjNsKgqwY4pk\r\nqxOc/Ler5OsZhfFuPTH0XymDdBgS0RbhTVEsYx/0hTXwKDFWj/vkTziueww8\r\nXtN+EzbsP42cPLU4/+kKLhhJTFz+O0mYIQU=\r\n=BCwS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"bb2464577c15f1ef5a32f133e7ff45cc41fe8635","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.1.4/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.1.1-alpha.334+bb2464577","@uniformdev/context-ui":"^16.1.1-alpha.334+bb2464577","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.47","cross-env":"7.0.3","@types/react":"18.0.14","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.1.1-alpha.334_1656488149287_0.4158749171052831","host":"s3://npm-registry-packages"}},"16.0.1-nuxt.166":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.0.1-nuxt.166","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.0.1-nuxt.166","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"fb9ae46ffdaa1d10299193e83a4a22583a268b14","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.0.1-nuxt.166.tgz","fileCount":7,"integrity":"sha512-FTIQcRcXomz2rvMIoWDyoQ9XzmSBJAMBCWckawdhNccTIKy83wQzsZ281CLyNCvPJJY4J5PZSNyFLhlfOLYkDQ==","signatures":[{"sig":"MEUCIBLGht+hG4K1gO7zBAY+dP51aeScF9393MCv5hvkEzGCAiEAlvJgQQyDiKnUXQyeeHurKOp8JdrPvT+rack93fz2XRw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1050066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivCedACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqPKg/7B6otS30KzlE2Yb84fg7NDMm/UBLmFInPcX94c02F5Ja7s6sj\r\nW8D4jkYv0J9PPnA/zs6iP3jqbENLY3iE7WJczd/T1qEImE3UHkvdusrWTcTP\r\nzWyLu1zOLgkhmQEMhFIQi5KMoDbEplZ+6LiHac3kIMJVXYNz7Bfrr9a9DAYT\r\nJc2B1y0hG6I94Dv6caQURoKJrTcvf21g6UCHSI0YyHgVl/LQBkdokD04n0+R\r\nu27mFK/gsDuJulSA4wenkvaPF6REIdZklLLaRnTFJqZMdUxheI8t6UXu0VYa\r\nyZT5DmoR9jH7TDTs5GB51MxVfCsFWAFJO7LJuX/Qk1irp8yaRBnaRftq5/9D\r\nUb+ijXj7Ip0XiPl7lSG1iOJNrEX787nJoTSClG8Xs5/YBhK+QXvEEiIE2hhJ\r\nCMzM1jxdA4SGuXNoYVdfGCDzHsa0GD9O/rKeCc0rSkzFsdcBy7U5gUkyFlPQ\r\neqc1BtAlThaSAUBHvd70I57AfmXIx2VkMwJuo2q+EWjmdEPG0g8B39cCd1Ol\r\n+9Nsq313yHiDRzAO3/8NBLR/FglflBrGLv9Ok614uNzsoRZVq6VY5aff62ya\r\n9yzNT/5Cz8K5Jp3LjpGEmX2/NC5FDN5h6cfrLOy9MnftgSihUoaGyOKMvKJh\r\nFV/MaDskqL+JUxY3hcPMfWJ6K1cQAOOJX1U=\r\n=o99G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ce56da6c5608c89d33524abf60993a68855afcd2","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.1.4/node@v14.19.0+x64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.0.1-nuxt.166+ce56da6c5","@uniformdev/context-ui":"^16.0.1-nuxt.166+ce56da6c5","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.47","cross-env":"7.0.3","@types/react":"18.0.14","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.0.1-nuxt.166_1656498077274_0.6427247980484834","host":"s3://npm-registry-packages"}},"16.2.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.2.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.2.0","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"3dd1016fdd877749d420cfff60837f0fc5eb8773","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.2.0.tgz","fileCount":7,"integrity":"sha512-e0Xtw09uEoLp98cwaU4lVo5EMdnfYVMhEtUGRd4w9JdVc0DouYJjWOE/xc++WCLcMZpCXNBZHdzcMY3p8ZzvFw==","signatures":[{"sig":"MEYCIQCaFQTJH8r6wpLS5v+YT7e0GSFgJBw9LGYJxsSemt4pqAIhAOjQWwcbA4v5AK/exW/HtOsBcR8/0ry47883yRBsQKYj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1056560,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivbMLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo8ow//TeOnC6Xl53OOEsvAh3t4M9cczoclwMZbib+U7fbxA68eSZUG\r\nNlBMxchON12MCKMK2yKhY/lNapTRX1ZBD93JWFGBcO8Q8l5oNLfSctV32X7X\r\noupc+NH3bX60vvLZVP1ifoDTUG8OZteigWk6TgN+w0sDvI6Hf0xJjiuwmWeL\r\ndSctjidESSklNyK9N9K+VN/968KBWlResyr7iPlAc/Hlfm6+rFbkOPlXvaIp\r\na1JpyWrhIy/jCg76590KxvFDxd10TeXuuEDDbHEUockf3abJhbg0zgAeXZs9\r\nchfXVyZXX/Cq9rHUN8cM5NcRi1zg4o94fzE1jPrMwrenI4jYql1B93MxrbQD\r\nJqPeS1+P+t2lBBbOVVzL+8Fz9F9/0IJLLWIsa3HH2niHTUaxw9J7nrZpq80K\r\n5TfzMq4reM5SrHIO3kAc8WK3iJLXvsYLyi3Bp+Ig6tU7SC4qFCz5gLUxTfG6\r\nPmm1doPQO8m4KYA9+9Lmo7Luq1jjUmsYIdopszn0a4OSmifSDyFZVXtvHVmh\r\nIPn5TFLvMDmKgc9fbmSDOnkLEb6AOCWrq7OVUXWAzGLWZIx0acq/cDKj5zS/\r\nmA869/HSNYbsyev/sMC4woxgFVioFRPuR9v0guSdG58mAox9HAMPUyvX7etS\r\nvdu7dwbTI6seOA5s+QkxQZHVzWD1BP9q160=\r\n=xAS5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"423e2ca168df1f6715381e2c6f151d60361eb05d","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.1.4/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.2.0","@uniformdev/context-ui":"^16.2.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.47","cross-env":"7.0.3","@types/react":"18.0.14","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.2.0_1656599307749_0.03804723233844176","host":"s3://npm-registry-packages"}},"16.2.4":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.2.4","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.2.4","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"d77564b6b3e7397fad2f1da58c4f936aad4e9e88","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.2.4.tgz","fileCount":7,"integrity":"sha512-ugG8Udb2YJSF8QXw8wsZz8rIsjU4XVmyn4raEa1wxjciUEUZpb5MUNKvL4SslN0XIfsptCRS5a95oQhWbylY1A==","signatures":[{"sig":"MEQCIEZxOc9FMEP4CWvYi0l2SG9zyZKuVX1ctsjRl1nX6sTQAiBnxSjsF4tVWB8ZVD3755XH7gY5fte6GLngd3EdWgH2JQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1056560,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivzpxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpK1BAAg99qf6xaKcu8SskDTxMqNPs8NdEjQb4jvjiO9OCJAeDpYtJE\r\nKlUIs7cxvaqOPgC3Frd271Lrd8DEqEbFYz7lS4TTe5RrzZ1Ie1WAPSlPDRY2\r\nuImWx2c5Dt23rYFTStWadZgTJAXnSj1vg2C88cckLvPLFLrOxJmZ3mOAsrx8\r\n1jyCJUs6feAkxw3EFGZkjRZlS+KIrtW0X+xrvEcP8BVE3H+oJWMt3EPbVyX+\r\nAiCdO8xzyIIdHcOfCTSU5HBggLy/lRfnsoTjL2cvzKn4c2l9vARMkocmG2Iz\r\nGnOLIMxc/K2VWDyHKm8UnVMDyHFOgXmh9NScWWt4/90dSnBFBH8Ntf8ubO8+\r\nYGTPRDI3NxCrQRBhcdPdaqCP2OXkEhDdUof6G563IcxTxVusrVPj3Ld/msq+\r\ns+qOCzltHk/Bs6ObzD4IUUZCer2PMKSZMzf8sn/3zPRhXuQ9UV/4MwV0s5wT\r\njspxfSbVMpxT+xC1GUo0rLrR4Pw7pWmPbF3el7zQ0A19YzWVHiSZM7Tf11Cz\r\nmBG7GLlLOyJvoZ1QFjAIC0KHKhCZuJEa8Fz0mQjRwOL7xvgYLuyW1lQyQW6y\r\nlEk8j/zYfd8LAWlOYdhR4m3b1WosgTUeBDe30xE7nZVTray/MA6Khp0QEdvE\r\nV+NbtgoEcZVE8imWId0HsUkDPv1k63rQzLY=\r\n=28oB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"b2ed666efec0c0e255c2a1b8561ff7899834a2d5","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.1.4/node@v14.19.0+x64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.2.4","@uniformdev/context-ui":"^16.2.4","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.47","cross-env":"7.0.3","@types/react":"18.0.14","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.2.4_1656699504991_0.16260408877953125","host":"s3://npm-registry-packages"}},"16.0.1-nuxt.179":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.0.1-nuxt.179","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.0.1-nuxt.179","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"039201f431519cc74bff0a8288ec8741d47e0ea4","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.0.1-nuxt.179.tgz","fileCount":7,"integrity":"sha512-9DahR38HMaZJAAUjvgRjJ5Ydt6K3CTVDaUMiLvp67asVH1VEGa5vNqDJVm8VbY74LiZ8DbXNP3nUdIZJ1JmgBw==","signatures":[{"sig":"MEQCIFOc2DVBh0uGIHvLOK3lrGvsLwmgd5no60gsED20Hkn7AiBacnLplYm3C5OA8bn4zs94xuYEencpKWhxlaVjDrpUhA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1050752,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiw0UqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoxCw//bnQgT4NCRVIpvuBHAFzpbKUIbL9JiqG24ZisSj1EzRhuf1Og\r\nNj9AVc7O/kgE3/SLeD5Jng/6btpyb6TrfmMcsnKhndkNRm59yS+eOn0DV++K\r\nDuNo1KtXmCElFnpFXtbCSdZPugd9974yM41/HFZslO21G+jvOK9CY4oUzJ58\r\nvKNXNTTQU4cgQZtEg8tondbB7SE2E279ZQ5p7UNYEwXDCL9A5cV1c7R5SPBn\r\nBLRcStJYH6d8GunletAooNys2HFS3cSrMO6UJXwEi/Eg0u07dLZK0LEPE3Sq\r\nLr0skaPdle75z+8N262oO7PJYz5MECqpFRNWcLpYhSzx67oB0BNvOubzpVDu\r\nQ/bqejJj6iqZN8tz8NlYf66P+ps8YbysR7rFvq/YSHtlfrdugf1VX5owwhgt\r\nMlS1KvMbp4neuTuFzYGvn7pEf+TxZhFfN+evhhLwIBBzk0K5Zq1R6m9i56ig\r\nF7/MJjJsJqT/e0LgZBYdFA2gHOuZUZacVtBN7F+n72V7fI+e1OGsUivUDapl\r\n2xuHALshBJ8SyGv8u2zFWyO6PoY+SQoXifH7zC8DC5XGj44cuLJ7uSnvWFzt\r\nU4rhnsWleZIDbjkfIcDivVph9KXJdNrqkuFOkYxJHxcrdAQo8gXSJmGQSAK2\r\n1lduidd+6fBSHZCCCrhA90EXCZkl/0CZH1M=\r\n=P+vO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"842199728b5d454c2ca7e82ef7d1fd208f835c4e","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.1.4/node@v14.19.0+x64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.0.1-nuxt.179+842199728","@uniformdev/context-ui":"^16.0.1-nuxt.179+842199728","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.47","cross-env":"7.0.3","@types/react":"18.0.14","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.0.1-nuxt.179_1656964394518_0.9668501539350907","host":"s3://npm-registry-packages"}},"16.0.1-nuxt.181":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.0.1-nuxt.181","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.0.1-nuxt.181","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"474fa9a05ede6fb51415e2ec62e86620ec9c00f2","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.0.1-nuxt.181.tgz","fileCount":7,"integrity":"sha512-pqqPNFpSDmWM3oA2Wzm4w0W2zwRhWZk2CKHToPF/hDWkC1Rw+9WT5MxaL/sUuUSvoUVzwf2n6ecZE9BJtrXyCg==","signatures":[{"sig":"MEUCIQCyr5mfMOdmNxXD6K1mjeWGIZzAHjPXVMM5/LC9B0+2CAIgH0Ykv0NoQi238z5OOTxC0xkIT854XyRwuUcL3mZNUCo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1050752,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixCtZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpsng/9Hb8eifP+WMzbAveDT491Q5tlqFhzwwMKKqh9KP48x2Gqh5R9\r\njBIirxqfiEPmeGlFYEHf8nq2u2WeyuEUREVQ5XZyxJqh6b5p9lD8zk17GJjR\r\nxVTWD6SmtFi966oQprhK0CbLTk30nygd2ed4ELyq5H6b3u2fjG5MUUtym4Se\r\n/xZN3Typt0i3iS2Ko6ruikixpMKAvT4d4GIXwlV2J94aWZkdcd14CSLS8L/6\r\nWQK7xpKxn6LF7BxcdZfVtvFXwBrIr+0Ppp1BJgCe57euMZzaopqi10VXIV3N\r\n7kaLL026dwopxNA1gWMe7YaP7GgbmeySdLSPnD9wNhG/XyaR4CsIVxCqpi3j\r\nVLGvQyjzXQJ8rHhUjWY3ajbi2Ac65OYR069J7WfLvFmm8QrhpYaW6MpvS6G2\r\nQL2KY8Iy+JkuIYKtnPwOJJ+BQd3qgECeJURVDm/Syej4jeOiLjsPBmmeOLkP\r\ndWcf20zXJ3gDLbDbnlm2eN9Qc2HEDwOhchFTFtiQSrl16OLHeyyXHD6Nv6Fh\r\n35N6+AQxl15jghdZ7+RijU6osx5cn0WTpKMXcqTlhprktfSm5zbQXjfZts+R\r\nqRpMg6Ab9JYll1HF1GJql/8/+AegtLRQSE2eHgKdGui182+qO6c1AK+n1spq\r\n2E0pcUiXKpjdwB6S+Lg1Ezmg99e8GQoYkmo=\r\n=4ydu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"d2c9a0bbf7c8a640213fee2f6eae7c1cfdd08b02","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.1.4/node@v14.19.0+x64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.0.1-nuxt.181+d2c9a0bbf","@uniformdev/context-ui":"^16.0.1-nuxt.181+d2c9a0bbf","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.47","cross-env":"7.0.3","@types/react":"18.0.14","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.0.1-nuxt.181_1657023321455_0.601597471139877","host":"s3://npm-registry-packages"}},"16.2.1-alpha.60":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.2.1-alpha.60","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.2.1-alpha.60","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"3e9bf874c023febac1f5f9081a5a7efebc7c96f7","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.2.1-alpha.60.tgz","fileCount":7,"integrity":"sha512-rYPSDZQ7IcHzt0Cc9hi4AcXG17Nh0ZsDrP+fS7aouHwgudxJonj+fvEP6+7DFQICq6X3+ZJMXJBWIyqIJ72FiA==","signatures":[{"sig":"MEYCIQCr8mspPrT3qT2YrgIT+0Ic4diYS9/AqfhZXkF9eDh2wAIhAJRo9hwbaxxk488s+8TYKE4jUA+FLyfLac0fUrHBw2ST","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1558477,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixJSGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqh2RAAgMs6RPntMyC+95sftRi9RNoKf0XBACLeswaDiW3vrWeg+YLN\r\nWUWccM0zAnYX1QD9enI9fkpr1VD9eIsCOmZMkuFZ95+Y1PVXMOJExF+tHE0e\r\nuN3O9OzQfZLcIbykxHCtNG2II2S2PDie3PK+/V8+zYMhxsf9pXvVuKyVqS5w\r\nAS44rw6pMt01QMR+VPLRgT4LxhfYX79mOCLYG3U8djxtWv0kkNq6wq6z+cpQ\r\nm80TR9PLSI4EafuaLTzSxhGIfckWjgVJUIS7Siv68x+NO1IFRsYXAfqxl3Ek\r\n77PoVYcuVbq1VI9DGuomT00vloBHNWKG6/YeIauWL2OkEmqlR/DuOEktNJtg\r\nivt3QWgi41DhS6CECS6XTJ2m/redhKhJGbHAl1iGa3xwbzJ+Ri20TMnG5k+R\r\n04a+HkgeE7vIPnIsRY34ISqSaLSd0W5enMoGRHdQb/GEjVGUhveez8xLbvXw\r\nk2dSaQxReQMd9ZLHBmMUZTVduh9MJnvXuWBsKdfVxMXxBEsfED7Pkso2aU2c\r\ncwh6WlImBONBDHpBsg57dSSPmsh8xc9uQpSrvglmfbS6qOay9xJX8sg4ZcQJ\r\nx296yEBhuc552meeLCIvMG7Q0Jy3s4JB02GzQ+mUncgTzPHBpX6V5DwUawDS\r\n86RljBH9eoLDXRB29c8+ivKXgoQv9atS8s4=\r\n=mcWN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"4d040ee77ebb1baf10bc23fff43b367100350e44","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"aweber1","email":"adamweber01@gmail.com"},"_npmVersion":"lerna/5.1.6/node@v16.14.2+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.2","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.2.1-alpha.60+4d040ee77","@uniformdev/context-ui":"^16.2.1-alpha.60+4d040ee77","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.47","cross-env":"7.0.3","@types/react":"18.0.14","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.2.1-alpha.60_1657050246330_0.16224563832331418","host":"s3://npm-registry-packages"}},"16.2.1-alpha.106":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.2.1-alpha.106","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.2.1-alpha.106","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"c84312f2224dc0613bda6f9f7dceb42a3a84fc74","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.2.1-alpha.106.tgz","fileCount":7,"integrity":"sha512-s4U6vbezdZIXElfT65qVkjug3Jq1N4ufnKMMGHifAhY8LgiP6CreUF/55tFMpfg3nxkvGvC41UjZlv12B21ZRA==","signatures":[{"sig":"MEUCICFci1mxDCsyIyswf4KEvAN797mZYVaTbiGXdqW3LKD8AiEAuaZzcpsGfBlUHkxW+/8xwOl75r+vnNLz/52lKKOPR5Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1639610,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJix2m1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpUng/8DF1lUndzvWhgWJbzrDnnytvd0LVdyDv4hTLnFrx8icmptEt+\r\n38Q3vtAY+v/RRNRZ4KJN610ZmRWaAuAxGLqi0jCCnxNz2jOhR3GlqbtatYCv\r\nvR5bo8k+iX948ct+Zz4uxU/MtHMcblKmu7GiaXJHDhlmQPt36MKGiC9CybIU\r\npSMVlUvwiOXY7NebOzxF0sTRppNhVd9kvuaP74kOwEnxKjcGRHelaGBG/lMD\r\n9SFJBrZdHs5qK8x7WMjR/lsHi8cLhW06H7jYm6jzZZiCPgjSFSbXFxDCjnns\r\nV8Pfz+OBH/iLzmaToYdiIuckIhbIf0jgnj/NYE+vKhWWJJzSE4cmPjAab9Fa\r\n6IiEspvSCEWmbWhcWlwtVnmAA1xCBIdtD/3EYmb4Hu07WRx450rXW/A3T7ho\r\nnTu7baPfibC8vAubTdwjFEio4WZ/aLQYJ6S/gzjfGhZFZU6msc8gqXER6SBZ\r\nEP3ufMuoNlx5nRDCCAMgvMTOc0FTrZuSKGz0PZAVjx+J1a1Col4F0LPFZN/G\r\nq72rVBSZrkOg2S/0DRIgZ8I2QlTkQmDqm8ED8489lGUHUZKYKzAlPBkKaQIu\r\nSoetzUaE/06BZUINHLmeSwYnrCimPYN6hacuGPzJZTWsV73eSPor3c0Buq1y\r\nn6DSTWnn98LHA7Cjl05XiNJggEg2IkWsF/I=\r\n=HNJK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a3eb5a01423196eee3cb0fbb2a4e9372b420f160","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"aweber1","email":"adamweber01@gmail.com"},"_npmVersion":"lerna/5.1.8/node@v16.14.2+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.2","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.2.1-alpha.106+a3eb5a014","@uniformdev/context-ui":"^16.2.1-alpha.106+a3eb5a014","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.48","cross-env":"7.0.3","@types/react":"18.0.15","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.2.1-alpha.106_1657235892927_0.29088777815759315","host":"s3://npm-registry-packages"}},"16.0.1-nuxt.187":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.0.1-nuxt.187","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.0.1-nuxt.187","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b94cc4392284a1fb9df868e3ae02bd98e3c88537","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.0.1-nuxt.187.tgz","fileCount":7,"integrity":"sha512-nfgqS7htF3goVlPNph/mWDo7wl4VCzq3dFCJxBMni5/VTdNEzIr8hz3i2PYmWc54ztxlbqJF2X1U1Bgse0/GqQ==","signatures":[{"sig":"MEYCIQCfR/qJs9PvUcsJx8RNhVL5LAG7XYLx5uBj8wK2P4XrqwIhANpxC+73zgEghvoWsPya53lA367AGl4Oi4z4eoDvIV0T","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1050752,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiyFimACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp1PRAAjmpSOS2zpjQMvG55fU73xxJ4d8eCswJfCRuqihJaEwyKvK83\r\nZFreKeExm93BcagxOQeHO0+bSeDhp/qfHRmwOtg2N0a6/DbqbLh29EnI9pzc\r\n5gGJH4hBbTDQ/4/nakHoUiYaDtCvuzGVLiaSmQ7CMr8v/GnetnNpeC/LYSwS\r\nkZ2LP/Ha+E4xAjfVrQlA7w8YDVyVhxMWQoLe+TfOxQNP5Qn3oglm7I0Z/WBR\r\n5bIh7xL7A17vUqWnq3DgFOSJQX5c+u7YhbWMCeobWAmZ1RPJeVM/goMAKLCL\r\n3UlVLsDtRGq/NKX9wXOM9luQgtNfbyfiK5nAgqRKEVOUwLH8uqtI1pOzpn2Q\r\nm/F25h2SGnVXIlMAnWJ7Q39jme7foLQyGPMpP9VT/8V1BypJw9ki9X1mi1mW\r\nMVgorQvQuXV6ahZLjxcnn3WqMNjrLCnPGKEeizE+8t2DUnT4tcp9mh/ErVu6\r\n7X9vVgXNCVcr7LQshigNR316gzEKdkSrTm8P8o+n8rWBjNd5/CAHQpm665SI\r\nhIZM4UzL2euKrrLDcGO0XVWZ9QG7OfqKuwm2KpMwqypYmlAWyskcg6kQUHkS\r\nZp+5R3jBC+vb9PHCK/TARyevsrBmMnPO48knPnc1EjrBGs9nQtY2x8KJUYtK\r\neysdoyHK4bPmQu78qBcCwHR6temJ8UKnfyE=\r\n=3u01\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"32dbc55cd49144087464781aa4072501b46166df","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.1.8/node@v14.19.0+x64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.0.1-nuxt.187+32dbc55cd","@uniformdev/context-ui":"^16.0.1-nuxt.187+32dbc55cd","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.48","cross-env":"7.0.3","@types/react":"18.0.15","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.0.1-nuxt.187_1657297062613_0.4491286794665126","host":"s3://npm-registry-packages"}},"16.2.1-alpha.142":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.2.1-alpha.142","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.2.1-alpha.142","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"51ed8fd37b6850790e3837ee0ca2281aac3d1b88","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.2.1-alpha.142.tgz","fileCount":7,"integrity":"sha512-HKnds+c/BwFCLVD+HHFab5bn1AX03hyOWnVROEHAxa1wQXsFayE2O2wenA458mYdwBofpgTYpiKeCblJmt9hpQ==","signatures":[{"sig":"MEUCID4Ixtjg8SZ6ZR5quNYGlV+RCke3XyJr/OKgoFAr/kbAAiEAiiPSiCc4IuQUgCdFh0PmhcOM9EZ+l7MhcI5eIv+D7ac=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1653161,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizHyJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp+9Q/+OKfKI0ZCgOMzc41Hku+TLhdPw0vRYjUTN7qsqJs+EFnbiuwU\r\nanva0Gm3MwgNLH4YfKinbE8TCVw7vfbnn7SJBpypRjfxuwvT38mJ9lab2rRd\r\nZMGQwEGdFiGUk9KGx+rmORRRhedujt6xLFzbucUOrauHEwiAPULaE5HjP4NN\r\noHlrZz+DHIR+Wt1m8slhkcWCoXgoKa5jzIvv77jrO9nesExKLL5Z+z3A0Q25\r\nYy7GURO2FhchgRZj7caiD0xD3lMg/Ha9nad/bBfOPG1mvQDdEOR8mZqWukdf\r\n23iFxmRwLRkVnmjvngBHfDuaqGV7UVo54QrznJDKo9gcP9kpebuggBj7E8qT\r\nE3axBOvsRd26i7x2tzxE4l83T5CdwV/GVWUbeashAgU6Kf4gyjeADEJ04oR1\r\nyYZoIBB6g9rOUaUEMbcnrELovRGYlsKzoh+V9CifEBaDzimdwAaA0dy+/gKy\r\nmJzdYNTexAH4meTMADh9EBYiEEQ6i2twiiYHGF9Rm4e9cBcL0BQsEmJ6rEz/\r\nB+YDDJimKn+tSmN+X/8UYDXEyBET5MBIpU/xGWZwbKUa56AdXdI2y/eViVJw\r\nmpWCMtiZtUvJHKxZ0GnKyf2dAhnKS/88CY5B16Fp0jCNQufbMujOK4SH/IFW\r\nFaEHAMAcp+20tqLegsow0EO+JhgYJvp3MM8=\r\n=DT0H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"0cfd8c64a32188799639bf906d0a1cc706dfa957","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.1.8/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.2.1-alpha.142+0cfd8c64a","@uniformdev/context-ui":"^16.2.1-alpha.142+0cfd8c64a","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.49","cross-env":"7.0.3","@types/react":"18.0.15","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.2.1-alpha.142_1657568393359_0.442036419618286","host":"s3://npm-registry-packages"}},"16.2.1-nuxt.249":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.2.1-nuxt.249","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.2.1-nuxt.249","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"66a6b1cc928840db54d181bd7fad580c147ca5da","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.2.1-nuxt.249.tgz","fileCount":7,"integrity":"sha512-tkrdHuuJVNab/gIYbRcWqxC4FFk7qm0uYTiF37Ac54DnFnHwVSVm/moPCn5CH+rjIJrmTUSLOD/A3iE3xlq4hw==","signatures":[{"sig":"MEQCIFx9xdQmBhKkFlwqXM5XQb9ZCdqKznZW2rob+dYE8KLPAiATA/YPuF4kvyKsWfqP2yx7EnYrlwIi6s4kQirOy/JhUg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1655275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1oMoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrGcQ//Rhg9CwvpBKenUazmf0hYuKnweORJ2QRBZQmVjEjAGvtzkHxQ\r\nErwa+MmCnQEWYtHkwmiVNgN/qIcUY12iP1ncvF1q8kC+9aDr6ukRPXgeGKJ2\r\nRPWdyIOagruKBt1STl1XEOhBbmsxa8oQTPLNnhF903jKmowUGiL5Ab29UdqH\r\n5BKXGTB6x6YeCdUgdNMy6UFMyxwd8hzqG+tNdLn1nDdunykjJ8KMeb2oF9vj\r\naHaSeUVU2U2i/PT2oSseQtpLzS7dxND4aA65V3sY3nm8bJK5gKdB0vHvz07c\r\ng4DJLK/t5ogQC0Mss5DzHZ06CODAqxisVUma5vGjSJb8P0xYMrI+QT6f46LL\r\nIs/dokNjJ4ajJ2xV956XjwMXun8oSLEovZlL1JxiMyO689JDQth5XilbZWNi\r\nBhEWThRUk91IbceS7C2EMVe6tfuWe0OKASWIA/48r5fyxsbu7w6gOVWIedLp\r\nf4VX87UK7MFYyrFhyKQHTzPNOu/zdgvcdPf8R+gNOG5hgJ9Ir0ONj1DyQqss\r\n6cuPmtgxRmfW8Hvu5zDJMNLIiiun7oVBLI1pCLFp9L59dgOnD3Id418t00j1\r\nzHtwkV3nRWxS658vrii71V4JXqK+avZEYD281XVPY4aZ81IuBirqVvfH3K0z\r\n3nh9jwEQbehdu9f9K2lvj+7xg0Hj3U1F4G8=\r\n=1NQq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"6d2287689097cb256d17483ea3726d4bb87b2fa6","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.1.8/node@v14.19.0+x64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.2.1-nuxt.249+6d2287689","@uniformdev/context-ui":"^16.2.1-nuxt.249+6d2287689","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.49","cross-env":"7.0.3","@types/react":"18.0.15","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.2.1-nuxt.249_1658225448202_0.6450084325546084","host":"s3://npm-registry-packages"}},"16.2.1-nuxt.252":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.2.1-nuxt.252","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.2.1-nuxt.252","maintainers":[{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"d4b75f6caa220e830fb8ad4fc398cd3dd917987c","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.2.1-nuxt.252.tgz","fileCount":7,"integrity":"sha512-pfWokv+0wblzvFCybeTjPeAlhJIsxOszgtJvnJdoGRvNeoqACL6Q4ygkPwoa15VN8HDwAsLuSERrbcbimsLxzw==","signatures":[{"sig":"MEYCIQD5Sp8/V7HEN/PrHlRu8H/qaC86M+QK6/XcjuXwhAPPLgIhAOVect2ySi2pGO0uJHi0E3e4pKiYX6fZOxdZK+rN9QSC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1655275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1qcPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpH3Q//VVds7vqpWsSAt2hD2ewfjr94Zt7oj1niKAmmkhALp57FCJ6A\r\nKNa2X3wEXNoXs8sFGcEXf0XSFSvI28G4opJLpSZWmjGPZyzc0/wP63dU8ruG\r\nYTV/mD2sK5gCakMuAyzjCsdLLKJunK3Q4irSXVmIDiPGbiSv6cz1ft4i9qdN\r\n56Gdyt0O9n6XK1tb02fFCqF5kjUGpGE+BL9/GNP44cnN2BlMhZOOqcT1x53m\r\nyU57fckesJIh4VeYLo3T8VFCWF2TZ1C37I/kGA8/9uYiPyGGPsa/iqFutsfm\r\n4UCgZBmFMDVs9/wAFmtgzLcmy0ema2SPXDbcDlF6xd8MiiVMW2hZdi1tXvgH\r\n8BHiHAzFR0jNAK6lkOROIdJU0kQjdteL2eLjtkW+CfQoCSHUxM3PHT5v1l+Q\r\nEQNWUQ8SoEatWJzI3P/PhIMaO+CFlEgHgCT/X7bCKzCE7y+YqYVm4sYolf+B\r\nflH4yS5E5xU8/eOJ5syaay7rApeRunj2Paz2z2PuvPzP2IcFlLk+LbMqpLYZ\r\nPAMBnaazG1wdpWwn9KlZOPIr6rz1WxK1cZhmbok8afr+jpZy4Tr8vMeDkNVr\r\nTWd4GB0LTwxzKmYDU0wUa7sxn76G/NxHQtZ1ffWk3QT7uEOMBiftYaAw4vBC\r\nZ08F3ZIbKLj4a5wYtFo1iM7ljx5lMScYYn0=\r\n=wEkI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"5c8ef696a903f69c8f4c369bd117611b9073d55d","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.1.8/node@v14.19.0+x64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.2.1-nuxt.252+5c8ef696a","@uniformdev/context-ui":"^16.2.1-nuxt.252+5c8ef696a","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.49","cross-env":"7.0.3","@types/react":"18.0.15","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.2.1-nuxt.252_1658234639066_0.19645624254209837","host":"s3://npm-registry-packages"}},"16.2.1-nuxt.274":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.2.1-nuxt.274","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.2.1-nuxt.274","maintainers":[{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"4c5240bea1d359986430393f1b7131438314b037","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.2.1-nuxt.274.tgz","fileCount":7,"integrity":"sha512-FtwiDZAKdJTCJ6f96Cp+sBJHd8JN3lS+MZOSHrvKX1wgCrgwaV/NFjgA3QJtIopeUJrceyVd881bVoBP/yAfVA==","signatures":[{"sig":"MEUCIQDv3RlojEJZFVOGFYSw8NsBDX8+UJLbOAigy8tfp2pGmAIgKVPSInX777MrA5fw44qRx0wGEPit/K8+XJ6uO7DmQEo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1706089,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2C8MACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpEOBAAm0e8H5BqYjAWtt9NIBJzSq0Q1BtWli71QzT2TgCAhA/sAMmZ\r\nh047l1Pht3LXC+zemW55X3SvcS0TKXZ0e/zRCwSGqLJGd/LLvVdGO3aR2f06\r\nPu2thiDmtdrorUL0Cuxf8gFNiIfX3cK+gC1Xd9gI3Yx/KUj47Bx9c38MeiFd\r\n2nyi/nOQ9NegITf25LfHk+qij1MYFMer+HCQgFfm08KUx0BvfD8bZ/MPF134\r\nw6tUH4DSAhrRdUDy81pKjlFpsNUhqj7WJma3pWreSKgNNAv6tkEDTabnnY/6\r\n0WvlzoPAieAU1u6EMcnG7RQFq6HVmVLMpZHa0d4QF6uHtiseaNKE7B3en0VO\r\nwfxHA/V6tkZ7DV/gCDHDd4OoR91cLweEuHTWXrXUtZYWfJ7i/Hu0iC2GigWV\r\nxr8SmNIz2TK4ftSGBMZ9m5vwV6KrrB10Jyim/VmiNK+nksDcwbK+lx3cWwvu\r\n1ID0py8bATXVFPbM2yNg2ZSvXFgAkl2pGDIL/DebJGPRU7la8nIN8uxU3UO2\r\nDY6FE+Q/+u33gMcuR52g2kMKhZUr5QIJnZJxpqyNtWy4MmnsAFJKCdAVIlnH\r\nCeSxE5gwFmwBSQmQH43Kry8ALGNkW+1hh5USwEyY730mdzAhSWje2TDapOFV\r\nt8Rmlj8sWkZeObamx4X8a/VEazW3JO5x7xI=\r\n=8fcN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"0a8a48855ef532336761a3872c3d515ab6b9113e","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.1.8/node@v14.19.0+x64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.2.1-nuxt.274+0a8a48855","@uniformdev/context-ui":"^16.2.1-nuxt.274+0a8a48855","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.49","cross-env":"7.0.3","@types/react":"18.0.15","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.2.1-nuxt.274_1658334988099_0.8867007480561806","host":"s3://npm-registry-packages"}},"16.2.1-alpha.320":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.2.1-alpha.320","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.2.1-alpha.320","maintainers":[{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"33797df5e90502ee848ddb3e1adbfd140bed1739","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.2.1-alpha.320.tgz","fileCount":7,"integrity":"sha512-1tA2AmUGt5WrqGufd3C3xSH5LlY4YtwYRIEBkQ9EgmgABjsRz7Ot0aVMO/PB8YpzQ7568nJc1xJ6pJvqIvVpZg==","signatures":[{"sig":"MEUCIQD+Mi6QExKQ2rUYaq2dMnsAikSw3zPoV6ViH1wOnOlv/AIgNn1LamUiyIJfModK7pQ9yuiOoHzhIVNzAY2xLZn3jo0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1706635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3ISUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpAJw/9HXPwHhQ0L8N2S7RckXM8fS9hlGYZGGZeiShyxgYRYT6/TPnU\r\nGZExu+YQYoqRLcwJ1Y6WvL9g8/QARxm3uzXlH3/QLrRCRFHKJMSb1E0e0IcX\r\n2PxWO814gkBtdcluAG24JjqxI969gIYCMh1g0Kj6PGvn33s6T0SC23PUki1j\r\ngi/Nnjn1+dCSSZTT1DToZ1tY20kTpF+hjdHCgWv3dJqFCYNKm3cd1XlkZz26\r\nCeNGaE+0E0Nj3R25c1IaOoFqB75tiejs45TjeTzidLhluDg+JKZJ6dWsaiKz\r\nqn6tT5CyxYG6JEZQCtTAyFbjDI30aDEWAC4oOb+zkLPplvJ7B3q1fs+3+16K\r\n8M9tTtntvGOcR4Mt/iqOY03n9mTlol0kQre1Y89k2BmHXf3Q/kCut63KSCqg\r\nGpLLU74mriIwQnuegc66qG67XrqJJfuVTwU3r2BoYJhTnT9FP0z5jCWG29/V\r\npyUuY0TU8V8sfxjrWL6dbL2f2nPonCVit7lfwW5ru5WGQFLDlXS3XrhteG/V\r\nq7m5acIOSUFFLpSLyTnjNSkYdU6LO2K6ANdYh238U005qT6lC4u4DVuKb442\r\nTDjVcR2U3ohEKL17o7PGf07xpzQCYnQEpU8BlqtL+WlpGIuTNxvwxiJqaJCE\r\nvdNH50YlXK94aHHzLG9Nn9pDhU/eH/orYDA=\r\n=z/Hj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"8dcf5fc30e73cb76d24e091562e4b55f5d388688","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.1.8/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.2.1-alpha.320+8dcf5fc30","@uniformdev/context-ui":"^16.2.1-alpha.320+8dcf5fc30","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.49","cross-env":"7.0.3","@types/react":"18.0.15","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.2.1-alpha.320_1658619028340_0.9653833245566577","host":"s3://npm-registry-packages"}},"16.2.1-nuxt.338":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.2.1-nuxt.338","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.2.1-nuxt.338","maintainers":[{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"5ee1a7ce6d81951578ebf85eea04e66baa56cc55","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.2.1-nuxt.338.tgz","fileCount":7,"integrity":"sha512-73DCAw1N9S/gK43pSGh7di9MSi4pSdB8dyFOfnu/QbmM4KEhV2r3Fpcuz4t3E7BM1XN0artEwlTzvbC1IPWmew==","signatures":[{"sig":"MEUCIQCx+Xp22PqwlIOKqB70+PHgrQo/tVzwMAvnP6Pkl0nImwIgbPDj02qMWzp4y09pctl/h+NJnff/pt/tEbEqZbcqlMc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1706710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi37agACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJ4Q/+NEOGlNfuwU1JJZn8vn6/boE4A4xPKjF4jKkZHetsc06LnDME\r\n9BcOUnLbETdn7hNl/mHh0BApnULN/4hoxOTG53HckqwLWb/4jK97J7+9fhtg\r\nZDpuZxjJAWg45F9OYMJ6dFLinlHaqnb2YrMp4UNSs3XBNeR5kAMPx0DofRXi\r\nFQAn+tWdg691R37fbT1ib8Y0Y3eYeoU4Hrxtl6QjbDcq51pkJsv4EBn+sNPA\r\nKXc4aO9QkP+4fqPfPNtwag6a/TDxFNttsZ4k19HGBvz0RuFLveC4y5/LdV8r\r\naKYg2dehUbU4lz6GqZBj9fETmViDzAtbMH+NLsq8MIVqNSJqJzbrIC5rQXvF\r\n0Ox2U+uXrFkDopdaFNnmxmLImKOyb+Qio4C628A6sCmb7hGdqbLZQWDZ0Kpf\r\nbNtltZbpZ5ta6pddunhtA1wxnWLau54C19NKDnbMXP9ios32NBIPXn2FIlCT\r\nRBhz+7+BqBnPr2K7ktxXZ3aHqp4czY7ptPBgN2bM5093bTmchDkNiFoXfxGY\r\njOGBpOogwxirDtqv0UgSCEKtoff67Y8q7EkTm+kgMyKyOfTE73xR/BrFLb5+\r\n8+ZZop5xzjiO0nV+CkX8RHmEHgi1MtMU5TNo7Tt3pJ5riUm+on2b5f5P6hve\r\no0kdRizJoau4KN1SzWa71Asj5daSSX8M+3A=\r\n=NB3U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"40296dcbc100c48896e99b1fab83117d580dd1e6","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.1.8/node@v14.19.0+x64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.2.1-nuxt.338+40296dcbc","@uniformdev/context-ui":"^16.2.1-nuxt.338+40296dcbc","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.49","cross-env":"7.0.3","@types/react":"18.0.15","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.2.1-nuxt.338_1658828447938_0.3330868645674512","host":"s3://npm-registry-packages"}},"16.2.1-nuxt.325":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"16.2.1-nuxt.325","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@16.2.1-nuxt.325","maintainers":[{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b2fe30304c6ab22cc2fe91c4cdea24c245307225","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-16.2.1-nuxt.325.tgz","fileCount":7,"integrity":"sha512-BOL/Xn3rKu9HFGSyRSvy4c7P95vWWygQGgCL6VZOFr46kNdemVtXLbqvAmocQ8tVyyw2vSotAXkeZDS4PXXMdw==","signatures":[{"sig":"MEUCIQCEyDTtjhIub2y2XMHfyHhUPh5BZNtQyOgZCOMPbR85awIgdoWD6rN6R4xZDLwmEF//wmTssIc3/5gv2u/sFK1s3OA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1706710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4SuDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrukA//VKSzSEZ1VcY1/j/upYiOH+d0Hf0OG1FNTqGpGWDN8UlurEBs\r\nin1Adq3mPq61ESpGSiUUNO/fPLbwsBQo6g74KUTVZ1JghfUe/2S0JHx3N3s3\r\nT0hwiWYCS29lhBaEFKaLUwIogvF/YTGHTYZQkPgB0OJHPKggR3oF96WgWN+x\r\n8dI5+5s2eOBX7pw18Nc8Nj/PYgBX03qIQZT0PsCAaXDOGMX99caxgfYnkZJW\r\n1pwahM78W0dIMCvvvc75Bcr0QJWkiU6poplsbUlT6n4trkbDAVSd+0U5Uwi2\r\nhzr9qbA0maGdk/VEeBkXUGHaHA9Uued3EIpGgTYMvrlZV/oGzSdVCTj8L8af\r\n6CMxZfD7q8vi7lYt7ly3QiiNuFpuTWfmLB0D/bL+9DxqxrK+3wwYMN9AtlIu\r\noRC2pZB0bJvIjupnWECZycRdOn8SmXR62o4gyYA4P1ZNhiuBwYV9EV09AkIV\r\neX8H/cbBd65L2nrKWZZc/EI2BkB0f3UspQDcI8mJEfiODiEbXECt+hPvTDoN\r\ngVLS6q943d7XMhb4+TvW6RjFj3rGBvdtnExT+E+hu0wl3iQRPfgyPB5o/kX1\r\n7xFtKtL+j4WSkGK8lSOFkGDhyJTR0ZyYKDjykrwcrNT+TUa3UA0XS/Wxgbpa\r\nas4BeouLpUNpKkrKLj1JbD5CnNuUISV8Tto=\r\n=MXJj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"c1c2247c820522de8ca9707a76e5697b0e3df334","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.1.8/node@v14.19.0+x64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^16.2.1-nuxt.325+c1c2247c8","@uniformdev/context-ui":"^16.2.1-nuxt.325+c1c2247c8","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.49","cross-env":"7.0.3","@types/react":"18.0.15","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_16.2.1-nuxt.325_1658923907111_0.3248753626749161","host":"s3://npm-registry-packages"}},"17.0.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.0.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.0.0","maintainers":[{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"fd001d16b721c6b8b8b45107b63bec6467d028c3","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.0.0.tgz","fileCount":7,"integrity":"sha512-fqiKumRl7RFGZHyVIjzxbS2CHU6WMQes1W+o/O0+0H16bX98Cj620VN80W31nKs8NiM4xfmj26U7wakHXvDSNw==","signatures":[{"sig":"MEQCIBo+C0U0sgDrHF4ESBhoNHMwcjPl3JFUxIkYhKBGXv9pAiBhR+mpeu4SmBs+uQisaNKBp8KTmCUUgpsJSFnswgx93Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2763892,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5+wFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpM7A/9FcaQbMxyaVYyIdFlpFBx/2hT/pmltG4atSuMVWrsd7ZkbMO5\r\nHB+TFHpjQRjoL1uO2DrDAUd7EBaYxLLa/J5BlMaH+0JtMlmb9KNb+XilCmU1\r\n5oj35/0VsJV3cIcqdy4A2GGecdf6V9lrh031EhmYuePcU02why4ZaMieBxAA\r\n/bFyBcu0ERh59Z3aeFQEJk+S+Jf5Hbvo84T8T/3k/DqxGFqxco1JaPgbzY5I\r\nAkptRmuAtvdpGj9OLVC+2wZyhurRTnXYIHpcgcTYK5bsoiJmxA615M/sia42\r\npejZtVPBZcmyhuH6Jf0G6FHbybUOSbOLgtTxtmG4A4u5RMo1OWgZnmj5cfhN\r\nZUXXDlLhlny2pOXMFWd5g4BcgiTzSxztuBMfCdKA75PiilYT2rK2Aht7Jslc\r\nL4A2/9PVm3hqm7o/MNr/DmGoIF5CG1otbitTw9k6zV5BDHQGJnyLPerzST9m\r\nCWQ0k0hGVve/Zqfg/MylmavlCX5pRv8MtrBR0rllV/E6PtXAYTRCvKD7Z1st\r\n5xqPCYhAbVn2bO1OlaXAnD7zsiD0vt3v2LpWd+Ym7SzVv1A2jMwoX77WmbCr\r\no9fDdCjNJ9fZGPhf744C0hXVnwCBjSohOtE/k8eS1kekUgRCqm9J5W3clBgV\r\n2QOGy1qyuQRMjXbOBlSXKe1JO0CNKfStDz0=\r\n=ECwe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"d15f59e5cc80184d983b8c1ca67b1ee390158672","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.1.8/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^17.0.0","@uniformdev/context-ui":"^17.0.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.1","esbuild":"0.14.49","cross-env":"7.0.3","@types/react":"18.0.15","@sanity/form-builder":"2.30.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.0.0_1659366404943_0.947113681976999","host":"s3://npm-registry-packages"}},"17.1.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.1.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.1.0","maintainers":[{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"4551e7197ecde3b377da0026e3ef63dcc731e913","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.1.0.tgz","fileCount":7,"integrity":"sha512-jjZVpLXZWaKZfXFBiBN1zxlND5sOYh6JU66Maxi7arCToULUyRqu8vQiW+Y5Czca2O75Toj+NmfsUabYUaVB1g==","signatures":[{"sig":"MEQCIGc5WSyzqLsRbDGfZiaWg0J4nqt8WbmyNK27tzA62hQjAiAHXsckYstLUKhEc9t2ojTMPSuHKJAMZwcsCDtjslL3yA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2922599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjA61NACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqDYw//diP3kTdeww2E5/o8IozXCuVcTZMAiMSoOx9dwlayJ3k8HDKk\r\nuGLjOc9Zl8J2hEpeqhTUp2yB5TmlbZbkQ/8dtqHBzkhdZtAUGSaGa/MHm39y\r\nZAhA1NAS1B2D8CL4GkSVLKoGvtk+u9mgzkKKjDaN1FVsnG3HDV76BWRItl3S\r\nvKDT+J2O5PGerciCaSzMlbXttZxcLKhTwADuUR4SHa0CPhAjR0mEU4RNxP8S\r\ntYNrUNSQdYTrMBP7UlwxLjKXE+kVjxdFk6ubhNlau4veEay+EXt8x/AaQIiO\r\ngDu4sxrW9M21frS2w5xZ+IfO1Gi4UcbKiDALS2WTB4dzvUBvBxc2V9EstIzG\r\nIotqRmBbg8f4bJZ4I4GlbS3vu1QpdKbkTKxxabXSYT5vUkeQwNelUPc2lKPT\r\n0vcp2705K38TQRgyEuGW/po2uFaTHxMvs2R6+vJf+34SYBtgMJuoun13ME9i\r\nVeG3CF6BackVWLtEXESM7tC+olJYQQdSHkoMCG0o7LVnJvahAhLtwz9f0Sm9\r\ngyjJUICR6PLXHpCR9yTbmlSSMRz4IeGHVRib1vC41F21HmDF+3+CYp8u06b+\r\naIrj4aHJK/2002cQnNhjXxdI/tetko0kbcZU152Dx9Yn7N24r5uQbWHKOqzx\r\nleRIApmj1mEgABf2MHrawHu0uk7e+mjEvVY=\r\n=6SEg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"47c6abcea06f19dcd2e723bbee79da32e7c395e5","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.4.3/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@sanity/ui":"^0.37.9","prop-types":"15.8.1","@uniformdev/context":"^17.1.0","@uniformdev/context-ui":"^17.1.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.1","esbuild":"0.15.5","cross-env":"7.0.3","@types/react":"18.0.17","@sanity/form-builder":"2.30.4"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.1.0_1661185357397_0.6243565902926533","host":"s3://npm-registry-packages"}},"17.1.1-alpha.151":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.1.1-alpha.151","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.1.1-alpha.151","maintainers":[{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"c4e5614c5c06c1e2c1f24348ea813ed7a7e293d1","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.1.1-alpha.151.tgz","fileCount":7,"integrity":"sha512-Jt+7cRiJmCEHP6OM8LmJx3ZYU6bTp21CEhuzU6rsUIjkethSBwlF698G4ovTGhUlCX/z9DU4H8JhEB28a5O7IQ==","signatures":[{"sig":"MEUCIAwFl9g3Sb/55RlAP7AUDi6vBxEjgDv3weAWemIz/LzPAiEAtxmPLO/2fYbPRSMzfNg2/QxTRPDSdOQoknpbELUT23Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2330213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjFcgXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmot3xAAh9ukXGJRQFk+iTiR5Ybm6davAYvMx+l/sr9v4QnAbYIuUzmz\r\nhTzI99Y7QzR+7dkS72tYGK6045Q6y99k7Zp2GJsWO/+YTqd6+pZFzVzTRs0n\r\nSgrc3KOfGYSgOMWImA2R4pBmjdgAE1D302Ls1td/2l1+7uvBqMD1mfPRVcns\r\nSYO7zsKGaRkr9yJK90c47q8lK2g7str8JeyHIlUJs2zZalHIFDPGjLsTXh1K\r\nwSUBsW1sDCRtGE9TkT7k/egFQnMUyi4rMxAHE0elJfjPZNsLyh5N78NejN7q\r\n6nIWNbaLq442e+E4OE35mf+QGNRST/CHOG0QJViAhdbHz2BaCVTnJkAN4n/0\r\n835de3ta2DkskifWzAgNgG1cxo1WLz1mZ4UMUGR6mZC2ogTXw1EkqFfrKHTl\r\nF3W1pt0YW73pwEpu8Ntewb1gjzbMSztKR0IcqNnW0t1SWVuPCNRU/SCRQd9K\r\nkrM8Hmqt8/HmoPQFWbg5bS2OZFpNvVEnTv1vqsMLrAF+qxvWkksno8YZfTpk\r\nQfsUIoxeirCWVgzUn6yx8lA4F6iYoSiZz93ZXOdrsUNdtUV8BnrRBkmFlT3e\r\nHRbz2UorTC1yTyLnFAfmfrUgsoOJ3OP3IMUbAcUyhXVDLwARJYG6J3B6+k9q\r\nFnIDytNy6SwNYME1VWldQ2XPhfqw/xIEQ6M=\r\n=h0X7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"3c57dd245b59aa55368da8991d1e39bc633bbed8","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.5.0/node@v16.15.0+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.1.1-alpha.151+3c57dd245","@uniformdev/context-ui":"^17.1.1-alpha.151+3c57dd245","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.2","esbuild":"0.15.6","cross-env":"7.0.3","@types/react":"18.0.18","@sanity/form-builder":"2.31.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.1.1-alpha.151_1662371863183_0.8894192103707541","host":"s3://npm-registry-packages"}},"17.1.1-alpha.231":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.1.1-alpha.231","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.1.1-alpha.231","maintainers":[{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b1509b349efb7e65345a25f71302f0cae14e01ee","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.1.1-alpha.231.tgz","fileCount":7,"integrity":"sha512-nEQj8pcKdoMMqQu8I8Q7pMUM8vq+JtMTdFwFih2yXwtWcjotE9bzKjZyGK6H5niJ21ed3dEVBFlAe4g7zxWPTQ==","signatures":[{"sig":"MEYCIQCvCSU7auZoMQSEp4hnHLuSVth4zLV9jSfv28t0o47cgAIhAMokbiVKLJVh9edD/bq5gkuOaY11hAHIygPIDec/9+bB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2331731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjIJ/8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrg9Q/9HlLwiUBuY5CMA/P/zuuENOK26sdX9qU+/c7Kc3U4+FqFm4jM\r\nz+yTns1BjQgiPxAI9l2DOWjJ/HT8d+BaQhXnWp+FuyPImnxXLas6K5C2WtJN\r\nk5H6Lfzh35G41zPlM+Z0E/Ol8kfm64rU9PwmXnz8yOKQKt9ntpahc7qKTHok\r\n84D6Ojdv7c5odVT8pU282dowiSvpBG3Jv5z+ArdlEHDh6FkibZwl8Nl4H15+\r\nGnbJDHhXccLPkDIsWzpcWiDxaRcJQ4/QMG+ooktQv4yOPEKSHw/cehNpp+6W\r\nhEryApbevWleTz+XMT8ZAIQGSaVL95F3wa83byrdUwOwCiHuaEsFyVTCJpdu\r\nDE8bW9jq3L1YUEB/3LPlE0ln7qavhUBlMB/flr2h+p3lwu+IWQMSCzLGdUkE\r\ndb7+oddYU2al+K2OPqLNg9gaUN2aeAkYTfv7db4POjHVKWLUVdS2BEJQ5upB\r\n0e88GE5sd86cZEGMQTSDk2uHNBNPotCyFG8708O+8sevQgKzED6n27wxosxm\r\nds2PtwGW+se78vVtOtCyovYX8R1/Ugk8ZjLFH+dBdoe7Pf5XWYVpd/o57Ucg\r\nnsHQly1Ik7/FStISzsaAzwoHUp0+d7x0aF0miQtQ7/JRxPipm7BZ8qz3WJL/\r\nCs+c5m3UbrA56Q8Yyogfit41QCRQK8aWAZI=\r\n=6Du1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"6a46086627e0ac9d6b37542e01dd01c3468331b7","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.5.1/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.1.1-alpha.231+6a4608662","@uniformdev/context-ui":"^17.1.1-alpha.231+6a4608662","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.2","esbuild":"0.15.7","cross-env":"7.0.3","@types/react":"18.0.19","@sanity/form-builder":"2.31.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.1.1-alpha.231_1663082492646_0.4597078696349215","host":"s3://npm-registry-packages"}},"17.2.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.2.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.2.0","maintainers":[{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"2ca720e45c4b5397f67a1fda4681e1317b7090df","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.2.0.tgz","fileCount":7,"integrity":"sha512-CdZnZarj0snvM/SbXR1EzvvKFtr5RxppcZTpidC9Vl656oO89c+4ogiSdoKS523TI6tXhyH8u6Mn7nPueUJqag==","signatures":[{"sig":"MEUCIDrqUzYglZbYyOVuklOFb70G3Rw7/eRansrqAr7/qTogAiEA2ZSFaGcxtQhcAJQ0/G91nbcjtVRUphAAJjxMsz4QNGo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2331671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjIf/qACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGqg//fc4Jl7Hp/8Uw41Es22ejntK08+xYXgP5rcQn72ZaeIElf2F6\r\nZsy1tmGsCjfgEBJ2SlIqLbJjMRti654bjFjYl3p8ddMcCR+DIxM6Uq6vbbUW\r\nM98y2HGb10FVsL9VUFBLeRdkf9g6GkMa2eQXI1xWDbn/orC5uGQiQwGuP0mR\r\n11husJMu2+qhJ9F0h9pgB5K2E1TsjeuGBnxyzhH8U7peWkWqT6+bCTaf1VWF\r\nSGdGQuz3Rm6F7ikEnyj4paBPj7zBQKQOhZLvUTA0xFmaN0uUoYDRbpoyqkeq\r\nK7yeWwm0FbCRgVrLwYI/XwKZKvhlNnNJvcWP9HVS/tmCTT+Hos365nfS63au\r\nIJ636SGbMI3oO8rhZ2x5+cGTBqbLtIvrDbbMYYsTjfJAawNyq7Ydjt3tUTv1\r\n5q6FmIp0bdd9HhCA++KLj00lSH5v2K+7HYIhUk6/NTGGamZIdQCd4kRQx4v0\r\nPl4DlUdjbJT6iijVdxPgD/Y1lND4OUWa1wqohM3jtCvpCwzJzDFAKWkBdTLw\r\ngzRqKmxos62xAbrWopsbYBOCJMHyNNZVaWTZDZIqrEdaNQHxa8Ch4TWYGO9O\r\nZ5OI4WT2z7Uhs7LGla9vLDK3YdXF4mm+/C1/7B1Lv07fe+5aCzNXc1hcZqDa\r\ntuwBtudAOQovisrvCYnNTiI2/O461MfB9yE=\r\n=TKM9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"18ea48d2d1da97733e9e3935e72bd61c665e180d","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.5.1/node@v16.14.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.2.0","@uniformdev/context-ui":"^17.2.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.2","esbuild":"0.15.7","cross-env":"7.0.3","@types/react":"18.0.19","@sanity/form-builder":"2.31.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.2.0_1663172585954_0.4816764952025445","host":"s3://npm-registry-packages"}},"17.2.1-alpha.134":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.2.1-alpha.134","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.2.1-alpha.134","maintainers":[{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"aweber1","email":"adamweber01@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"8a452c21901de56d5825abd17afac30cb00974c4","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.2.1-alpha.134.tgz","fileCount":7,"integrity":"sha512-iintYwnMvQPC07Wc9Zik7LlnDbKOwSGfXxHrozghUmOIfcSEtf9Y7AWCTHYVkLosrqAmf1IJogcg69LyBalhwQ==","signatures":[{"sig":"MEYCIQC93Y8IKYUVuefTJVpX6qsO+xDiIjtLILCwgFoFo/WxSwIhAM84h27Kf+s/+zk9LJzu7N/j94ePeDzKmvuWDmz5kUbX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2333658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMuFmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmokNw/+PBdp6A6OgWov/uJBSdbc+EPuYlJ/V2IZSeb5NB+k7gGygT6w\r\nWMA15k8AjMVw5wvU8VDRKNde13/lawmGu/2DsZV6Z57V/LFVZKs2EC2yjNAc\r\nMW+i82+kN/zeq3EmitLsXF+Q+oEqVKnTtj9P/Lf94JSXjyvwJf7XICqeQhA1\r\n45C8vd4maqguTS82o87zO8Fy+4SoD2xmH9aGggJw1VIp+wM17a36OJmxAJ0f\r\nEeeSisuKV9mqVogIXUCSfaaoEPhKK9/iiGpWR1uHsEugkLvMuo1MbVFevySB\r\nkMPoobHEmvvZpNg4OLAl9VjQJFWdXewcalnf47/3HPPqN19qBZ4qUOx5mDeV\r\n4JKc9WAsO90aPvdIuizf8NKpOtCS65rTk94lqSomW58OiSgKVFaa9+TjGATv\r\nhe0b+yO35Czj4WcaZVJOyuZnfusaxyF8sxfuTcqnJLVi/YaorPXcukxhjSWe\r\n9OxCt1XECzH5JwqbCZDTdY5ZVj1tt9JJIH9zsYA2XIawSa1dHNxfbHVLvGar\r\n5+i3SYraFr8KpqFNTxmVGHEdQtlc8qLSiO1VNWoUCY8kSxR/+lEW6S6or2lJ\r\nGyjQJzzzBulQVboPfcAktYe0AD0Oxul8FDU5REgqEGlwfEF4apUbUHh0eORM\r\nmr+nRjrDjW6QmIzlyr408Yj5A29xhxZaeWo=\r\n=B+K3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"48f54e4c4bd691afe1103ef8b698662f6a02ca63","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.5.2/node@v16.15.0+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.2.1-alpha.134+48f54e4c4","@uniformdev/context-ui":"^17.2.1-alpha.134+48f54e4c4","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.2","esbuild":"0.15.9","cross-env":"7.0.3","@types/react":"18.0.19","@sanity/form-builder":"2.31.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.2.1-alpha.134_1664278886142_0.941226894461384","host":"s3://npm-registry-packages"}},"17.1.1-alpha.430":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.1.1-alpha.430","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.1.1-alpha.430","maintainers":[{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"e58a43c0dc013daffc35edf74f5c2158a23177e7","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.1.1-alpha.430.tgz","fileCount":7,"integrity":"sha512-tJalA7h2HTjQgkZ0eL2BH8gsmBHMaISga7POhTCoi1ijgr1jPgho+34Qo5YuasZ/t48jhsaHLesnHIw+fBcdNA==","signatures":[{"sig":"MEUCIQCJLljJZwtRLOQiMTMkU/IZ6CVmq2GDA7QtpPGdXsa35gIgRuxqJavQYCvDMtYbbMjyQxYiAskM0Vhs43MvBziGvNw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2333910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNsO5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpr1g//dlS/boK4123QA5tspt4cPTNERS3BizHkIrkSNLqASS/Uqxjt\r\nTSiYoDb1kX2yqvG7+0/OWiUapo53jsbCOImiOUJfCBoxhq1BdgHzeRMbMhap\r\ncAkbkjNlwN+1EYsn+qXIj9XZv/ZhmI5pyEf9RD7G02t33S5ZJjeuQQKgZxjM\r\nqHxjQix1qRP6oSVkX9AoeuwifaCN6CY3bJEcMBXO2U6qKxUw7kM2fTj+4RNh\r\n49F/vsBz0nyftb1rxGG8HWBlLBLtU8aqaxEjJQc5v5Gtbd9SEhCPlxc/wT09\r\nxATQZPx8XDvpl0vQSCDsDPOcJbRiuQ02QVL8ya+vdE2OTFYzGe/TicSTFWOO\r\nnjmAbPSIaLFwg6qB0YfHGBDmV38ojCWfxZcki+nZSEZUwZZ3Wz6SC4MHYi0O\r\nPdASirvMWkUR35ZtvpwfJOtMVj+Mmbp5Sk8z2v1BEEZ4xKa6z4KtAmfPJiE8\r\nn+sqZGtYAEzMdaTviulcL+bD4sbYYEK5VyoGDJnCeh/CsrOsa8hJTh/fwSPJ\r\nAQcjdEtD6cpuVk6tTczSX3y38Qaui4vEO4geJO1+cwQJJAbA3KbimAZis+rr\r\nU/MjsWuAptpGI1gcTXnaUHMrTE1GbPcK8BuOYfnwv4msFQcb7Ok958YOXTvO\r\n2qdLQYlE1Gq1iLs3Y2LASuPtN3gY6TFJpyc=\r\n=q42l\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"bbad72abe90c2be0ee138f96dac41d6c591e008a","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"m1r1k","email":"artemm@uniform.dev"},"_npmVersion":"lerna/5.5.2/node@v18.7.0+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.7.0","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.1.1-alpha.430+bbad72abe","@uniformdev/context-ui":"^17.1.1-alpha.430+bbad72abe","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.2","esbuild":"0.15.10","cross-env":"7.0.3","@types/react":"18.0.19","@sanity/form-builder":"2.31.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.1.1-alpha.430_1664533433662_0.38734344242635355","host":"s3://npm-registry-packages"}},"17.1.1-alpha.452":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.1.1-alpha.452","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.1.1-alpha.452","maintainers":[{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"1208c401678578beeeb021e3bcbf560ac06f54c3","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.1.1-alpha.452.tgz","fileCount":7,"integrity":"sha512-ycgOK+9wnB6PgPfE/yeobN5pF++t8ZOpPQznlctsz3fXsAoyvDRXxUR7swvtARZHZQ0DljVbw9I4dB2sULF2qw==","signatures":[{"sig":"MEQCIF9LBp2qnkROjxncg2vydf4aOU40uG9FR8wu+LUs5Ux2AiBowhd43QmODeeevBblKB6pl7ze4mxLsQsGsOD2nbyTDA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2333910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjOqj7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr0yQ/+Pd+w+KcletTZFtB5z8CTqc+IoDBavP3Di6NkNvO/sJVWiZX0\r\nzzBM058wD6rZmjpWdnSIdDzyPLzozMveH4ly3z1xTzBHFRJmrdT2r1PVZMP8\r\nO+/lq6CkcNrO6496B4zOfQksu5F4eVs5y3xd4vOyfUu0qz8Z5vf4f2rUYzNL\r\nRjmdbHm+S3MOCr5s+k2iff4lDjOO9vezbRly4JQxCNHkJaLiEE8QNerWYvO8\r\nTgMtrdp0Nsh+ito4DKrTC8VAnlFVxpAm6c4X4f4HySAHXbXuH7xf59IOJSP5\r\n3cZrUhQLJ8pLg8V50lawQXRkkGd1YinnhtoRcR8GFDXu7wg78qVyNsSiN6Sl\r\nZc/VmE2gHLzhz74TqhMMjSA7ozT3/zcBPrajIZNl4LIV8AZ//bjd8thmtlWU\r\nqbV9e+Ea1de6OaMdcQ007TANyCRRc7/LYMWYS+RQDj+sCDigQ+R99/aVO3zZ\r\nDz3a37g9pHJRkWpkft93n1H8b2zAkLguYkEnt7QC1qrwq/1UNAY9TCL+cbED\r\n7Pc54lAmPnd5hM7kZuLjEW0stKA0o+9HkFAMPRBiFACVXU2tvPRBtXIv+XYx\r\n940niQAe6Swxhc5VOWfKHbA63AlLtxRRnSJ45ug3/9CBixPyJZGb0t1zduf4\r\nWCodC270LBkd8mSGgl2nfJ/RWSzEd4yAzyE=\r\n=SGfv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"d6844716c10cd3f918bf5337fee88d3849a02fc0","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"m1r1k","email":"artemm@uniform.dev"},"_npmVersion":"lerna/5.5.2/node@v18.7.0+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.7.0","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.1.1-alpha.452+d6844716c","@uniformdev/context-ui":"^17.1.1-alpha.452+d6844716c","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.2","esbuild":"0.15.10","cross-env":"7.0.3","@types/react":"18.0.19","@sanity/form-builder":"2.31.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.1.1-alpha.452_1664788730804_0.45385997349422347","host":"s3://npm-registry-packages"}},"17.2.1-alpha.201":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.2.1-alpha.201","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.2.1-alpha.201","maintainers":[{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"abd0edbe6cde6124e10646e51370d563cb65fd4b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.2.1-alpha.201.tgz","fileCount":7,"integrity":"sha512-0psQVcbie/AGloSJFQU+/P3wqE8wOYAX/rfmH3dZxG8yQkmnlW0yobINVf2sEd0ghcbFICHTEQZDuW42anjYOw==","signatures":[{"sig":"MEQCIHQdaK26QPep9VtGBdLBfDK/hbbfJixnvfN3mfmPHsO/AiAK2ESzABZ7tYGsJ8JaXp3+zMhWsZWL12/WHeTNVcXvsQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2333910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjOxagACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo1Tw/5AJnBrZrhtTkEM1Y9+YH2VX5GSqF/if62qA7AcMgV0qU7wrJo\r\nyQt9j4N4lbRH/fvE5W7fHH/Xc+GnWrw4UQ51A8HweTWH7akjCGxgWlWk5c0+\r\nFxVqPe2218r+8OoXk0x5SxIu4CYm3k5RCLfxLOOo3oAY8/K22nYehnkYxazq\r\ntDZrx1z41GcPrGvugTTaHqSbV5YUew8A0ZvtjTerPPdvgG3D/sZIlB3A3iA7\r\nf4mEKfomAohuh6qMa6UVUy8+h551nrELXSRSiewc2/WE3TFvcGlhfPEBwyW4\r\nfjv8vscb4GJCsAIS+smzpSCP5sWXBCDn+15NaCLeJ0rooL3NPTIXGJH6C5Zx\r\n1/3EXYHtfRp6+BbHNnooGL6hVzRFRYN809y3ApqZr61GfOSqBLuJdQWHoVKD\r\nT3qoGVtss0jf5Z2HwEKzk5wspAR/25oKT8MdTdu5MTGsrceXvh6yKMlM3iex\r\nGKwtlf2f+o9pssysR69LJAWntS77Ry3MdjuN3ndGzQ+kN+0rfcMUOeHqmwYh\r\nqORB77J0+OF788QSQP1NiJ+7n4ztqg4f96N1NjAMnXujfT1iTsbIWmuwQ5bp\r\nw3YidxU1DrDaZZLor6aWm5RNcED4EXVmPHYggWRteuf7CtPj02c0S3T8gSYZ\r\nzTU4Ki4CifSYsXKBhTinh4Bj0SdLGn25s+w=\r\n=w00g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"4882e550610b976378e7a39679f67bbebd3e023c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.5.2/node@v16.17.1+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.17.1","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.2.1-alpha.201+4882e5506","@uniformdev/context-ui":"^17.2.1-alpha.201+4882e5506","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.2","esbuild":"0.15.10","cross-env":"7.0.3","@types/react":"18.0.19","@sanity/form-builder":"2.31.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.2.1-alpha.201_1664816800688_0.49477864254138426","host":"s3://npm-registry-packages"}},"17.2.1-alpha.215":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.2.1-alpha.215","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.2.1-alpha.215","maintainers":[{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"43bb96431bb7e05f023317d2feac3bc132e1fcb0","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.2.1-alpha.215.tgz","fileCount":7,"integrity":"sha512-mSjaTBt8gVJNHFbL2J6rY8ZC8JBKr8ha1rk1aMFQGgh4rFF7W9p3scDyjZuF779xEZ7FCmWq8Tovzwi5WAb1iQ==","signatures":[{"sig":"MEUCIHpnXSdfMLTzh+qxURda+0OpnXy1E9VOCZZxh16zOHIXAiEAlVuc2ubqgTKd2XzKYia0FzC00mc5EXwAaINt+8pDCJU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2333910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjO6LRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoq5BAAhKo7nZIEbWYdkEGMZMqOnW+8pL65jNHJdV/Rl5REzFM7HHOf\r\nROxWDQB4XY9m/LrUrUDoPrVB3BKYA54zxHD+VHQ3l8ylG7Cj8clkFxcallPH\r\nBjHkPfLTGNcWbfK4pOSs2ARmbFGlJqnnJSTHi/ySsZ+YcqqMZgF6kVS7IBm+\r\nz8oNaJZsg9WKtEdm+HX+/e3sdRAaupSaJVOi9KHS6U7+6y0EzIV1me0h8PyL\r\nxTSpp4njbwE2CgiD5FL5zatxS+jk4x61tDIz89dW1PfcQJ/7c3U9WZsyVk38\r\n0rZntdGBUwFk+EGK+/CTvNVSZwUZr5QaI8myw8ED09efZsnWWxmzPNdgbFwL\r\ntSCZVxShGaSCoAh69O6E0rGsFbojkgXxKeI7cQBvo4jajRc/q9ETWa+nhwXg\r\nyLQOSIRy3P1SKhH5rXFSjRK/qbjhcWzjD4XbGp89H5Fgc1RT2xDKsvDn3oGB\r\ngzkxgFaMQeHKZUic9rOsAR3MyFT6V0mnkTwLh2BN6IwbHznIx5/qc5gYmWy1\r\nto0CcF7facklw/6+5x0H01/O5n5pNX7K3piqy7WbAJpa22/+rMbaAY8/gjzQ\r\nNcUOe68vmOJqwTu4IbETRZy8iuOQ+y8W86met35+eoHZEvbaCHwHI1qjRcLT\r\nHz9uED1OIsVvmr4qxH5HXD3elOmLLDZVEPE=\r\n=LvRp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"8334897bd5562a42a47f4d099444e466039cb391","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.5.2/node@v16.17.1+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.17.1","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.2.1-alpha.215+8334897bd","@uniformdev/context-ui":"^17.2.1-alpha.215+8334897bd","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.2","esbuild":"0.15.10","cross-env":"7.0.3","@types/react":"18.0.21","@sanity/form-builder":"2.31.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.2.1-alpha.215_1664852689429_0.304601779045494","host":"s3://npm-registry-packages"}},"17.2.1-alpha.224":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.2.1-alpha.224","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.2.1-alpha.224","maintainers":[{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"6ee62873986f7fefae9b471abf624554a8cb0bcb","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.2.1-alpha.224.tgz","fileCount":7,"integrity":"sha512-+LsUSZzuI2Jy9bmlqpWtLbzYxm2WfNnPuI3pKh3eaXWHNNQ2LuAmlWoUrlU/0Mn6w6IALgIUFP629N2k29Iq4w==","signatures":[{"sig":"MEYCIQCankITdx6F0oehhzU82rxkPBsczve5Ye9u6BLJZczWuAIhANO3gGiajy7zuNgvTfMPyvDYDzn1I5DsC8Q1Ko7J8hUh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2333910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjPIA8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmooAw/8CMvVisxm3qr9jBkAMtDq86KG76ZjTKjyMZStubDbiCrPqsqw\r\ntdY5qOs0j8iawn3zyTNa7fEWybOdBu8ppz6ftOI1e6TRRxSzkhDcvBlOsqOV\r\n3QLTFaubU2Xn/2yeYxBePW23kPiAk6QKoInMuxb/8Bd6yQXq6qaYoPjUexaV\r\nljDsFKjCgUY57KlDwZnpepYWkFUlTDigWvTuwj1IkUL/EfH6wNP6N/+YfcvR\r\nUmA5Wr54FfoQlmAC4GgsC+9Fv6JhyT3WwotTypgJG85Kii6XdXSSsgiD1nzV\r\nYYZLpYE+spNp6Div3Qf8Gd8VlZArXr2UapT6F9SYiF9H/JjXfehxMhEMzMHj\r\npQHzv4atFN06OMH1S4Bl9BbyYQCO2QKubFcrjjBTtzDAOntnVcBX4LDJRHYJ\r\nzUzAUHFFOkXk4qRxZgQJ3RA9/Odb9yThim9jAnVzhSKGZ+VwjQNt3uYFdJZT\r\nqC+ke8vUrLPNlh8bxW5CdCju/o6nLjmpWeAbUp2ez4hmGddLfnurj7KPxiBr\r\nfxK1SMjWTrX7RNSbIsNB9zKsiqFrX+ICBS3slIalaulWO4asZvRQnOV40zzS\r\nH1gOtdMUusK4o30YBFDr5P77Dxrx6420rzZxn3aq/p9TtvXLuvAJQ3s424zm\r\n1jKbHyMkEx/5EEIng11OogsnwtWMqndGglQ=\r\n=zKZ2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"2dd819c95552d9384527f9f84afb0ea4b43207cc","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.5.2/node@v16.17.1+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.17.1","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.2.1-alpha.224+2dd819c95","@uniformdev/context-ui":"^17.2.1-alpha.224+2dd819c95","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.2","esbuild":"0.15.10","cross-env":"7.0.3","@types/react":"18.0.21","@sanity/form-builder":"2.31.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.2.1-alpha.224_1664909371914_0.9189656691881734","host":"s3://npm-registry-packages"}},"17.1.1-alpha.498":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.1.1-alpha.498","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.1.1-alpha.498","maintainers":[{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"6ec9b1bfbf4934d67223f1a2a655fc1cd80fd798","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.1.1-alpha.498.tgz","fileCount":7,"integrity":"sha512-d19XgtJDJulx8ZSls7k28Jqj1BpHrIw/+cEYEjOy/Okhs5RSY1VRu46kB5cx4NTjlUHV5vs3P/0SgvG1cbhvzw==","signatures":[{"sig":"MEUCIG/dzdmSC/B4mQdKRmia6fvBaFEaUWyI+AjSSKRGFY8pAiEAloXN3QC856BVURzNvkWE8ZCD6vLXjW9Dd3wxg+3k9gI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2333910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjPWZhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpK4BAApKVLr+iv8MiCAmIzTdviCy/XqLnQ7IpzQ34To58p+kCWK+Lx\r\nFeW161suikaKcn3Fgado5ACII9GeRH/r8RErWnJGyZXtl26y+lYP/KRnK5FA\r\nI5LccdKuBUQa9J2hygsixrnTeyv+G3am16YUZerxqoUdhQsZWronhn5iL4Ny\r\nOep0q/wEhpGS0dcMl9D0CucLYy4BW5HBqq+1ESVMIbB/iOgZleF8hGLILpkJ\r\nhide9GWvmwvJm0DHFTYdE54/aJnDnxwnBlGoZzemn0q27zVJzTR+tMMZ+QJL\r\nHZ0GaVKuhINy9ETX1loHmOdwY00uRVWF+L2238gQH+7c4qesnYCV5AFrR6Bu\r\nzTA3KMtcgZqxdRmyGmqK5HXF2F5ImNss0LjwMwNR+M+hXwuc83A/aeqWjC13\r\nGlZ1Qa/hPhmYcNjF9dT5eAE4OUgJUbiya0HcGunkKtOxQ5cCuy5wxCyHJP5g\r\nmHnP9bcjisF4JPrAY6qBKRy/yBC82tN/SzflO98WRNaWqtv3wobJg6oJ/DjT\r\nJH/tdN01xz73OfD0KzBNwc74s+xDip7FvzCtr61zq+esqWDK9fbS4qsPse7y\r\nhKYgMjKCFZcrQ0MZ7BGWt4rw52CnlELVZ3rd6byHbQEOGOVCIJQGgLRTSJCX\r\n11iLs2r1yHEtQZFqZovJHteWj3sy0M24kSQ=\r\n=3GI1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"8b406a3f5371b2910459a25883bd14ff5c94cd69","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"m1r1k","email":"artemm@uniform.dev"},"_npmVersion":"lerna/5.5.2/node@v18.7.0+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.7.0","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.1.1-alpha.498+8b406a3f5","@uniformdev/context-ui":"^17.1.1-alpha.498+8b406a3f5","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.2","esbuild":"0.15.10","cross-env":"7.0.3","@types/react":"18.0.21","@sanity/form-builder":"2.31.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.1.1-alpha.498_1664968289415_0.18373495354153846","host":"s3://npm-registry-packages"}},"17.3.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.3.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.3.0","maintainers":[{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"e17035caf725303b3499c4baa8788628d283793d","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.3.0.tgz","fileCount":7,"integrity":"sha512-p9qDQBc79L1n4Xzo9vof/zkRbj0lQ5A03xQoRKKZiM95YTbVgIdjvR3lbowbPRmg3ATMmW+Jt051Clo/AXoE/g==","signatures":[{"sig":"MEUCIBKHttfrA1lDoB9Tc7HE58nBIq/5e59f3GV0B8PDrmmdAiEAuZR3vtm3+qUYFbeLBbpxsvPKJp2zSYOb2cDeO5VOng0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2333850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjPbZVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp05xAAh+C/59k7EyktDhmaBhtvtU93e8PvbLXFYVCBLjPtb3mLbK3l\r\n73Lrbsf4m8ViZ3m05HXp8gv2G5mWmlJfTFD7kQyrxGH6OKha57EA5vQeEF13\r\nykTwQTf1X31h6n0yfLcNbJCmfsImIcqIUmkLO+Llve5FvxNJTjQfmgv9g3sq\r\npAXTqFyvokPZVjVn8dAKi9PUQUypmOmc6uTek6pAQNjxM1dIi9/OG7nOpgdj\r\n8jqciaBLdPwdj6RmFbe4orZ7ddtO/iz5rHn8Kef+QvLnkQ1TvGrv9dL2NcKV\r\nPOAV5iu+Y4dOKww4lfxSKheXaVV0tfSU3A+UvhRf2WNVRCBjzjWUAbAWXSc7\r\nlij0A0H9rZdjWOtPp6B6ugcxfwhnRTxqHgBJlIMXkTj76FtU7uOz2uN/dzFS\r\nBzQ4Gv1KSPcDi3IFe/5jQ4WCymZn6JCU+2vZpaoQp8SXdjzzt2v361DxJgyu\r\nzoPt8b/iZIW/kpNWL1Z8PZd4wVAvI+23Y0jkYCb14ME9FjmeX0OAN7Jc8AwD\r\nmccM2lUOF75fgqyXVk8JiTpFyFaP4JVgD8rpjZOWIpk8l9zk1XUaP2nMS9Bh\r\n/sBh4lzukOVVX68F5VbxCjl4xNxxIOik+xA2peZZlrCjQE0iL7EMgSJ2GXpZ\r\nebiwM2mxibl2ePqW1PM8x85VyLlhns3/Juc=\r\n=bbPJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"4b7411414239d033ceea81c61360995e4920a3f3","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.5.2/node@v16.17.1+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.17.1","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.3.0","@uniformdev/context-ui":"^17.3.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.2","esbuild":"0.15.10","cross-env":"7.0.3","@types/react":"18.0.21","@sanity/form-builder":"2.31.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.3.0_1664988757379_0.560772646007436","host":"s3://npm-registry-packages"}},"17.3.1-alpha.117":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.3.1-alpha.117","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.3.1-alpha.117","maintainers":[{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"a62489a007bc19a7311c4d81ed23dcba9dd16244","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.3.1-alpha.117.tgz","fileCount":7,"integrity":"sha512-ycyoY4sfcnajc8/CBoOWSWWiF5MdusRRvIfZfKMOz8MDhLGI0w4+t3vG53fN69amMXGDmPRfN/FBm+EP+Xg1+A==","signatures":[{"sig":"MEYCIQCU6IS1IqcB+LVy3tfEoPrTyXIcNz43x5rX8FAIE50rHQIhAMHoUmlNpeV+DJlidQrgxp680AdzyfJvQwqqTuca1cvF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2354694,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjScjvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpeWw/5AKT4gFtWsyN7+AxPMGDYKHWXSXXihde/BqXI659wFVCcY9l9\r\nIkDW8aFJvjkzXez1Mp3JIbbN5swh6q412vizEgFJ7aeecti1+IL7TSOSdSfX\r\nvBc5N09wDef32eD7ofsBP80CGAmeWpV7pd3kr9ktFjrjuWGkGlZvmyPUP4a6\r\nH50U5Az3b4tTKUtSLPU9lAQ/e9ACn91bXD9e5fBBTVeSWwPOJpQ+2G2f43qX\r\ncpjFuXAFG5REbr/D9L88dWRYPYqUasHVk70r+6B8xgTkqY/WK7vDTnfDBnW/\r\noWkAqNaVGdA3nM0rbYn9A+LgmlBWzLv8Dpcv2M8AJSFHdPmDKQEEDgqHYnIC\r\nXp6114Zgs9qwMCPaSliLsE6iHXT5/PK/5vWqczChl1UYPN9aNqn6kuKfkCh/\r\ngyVt3g15eMjk3j+myUww+rNjnHIgnnaOpGuoLzeR4U4NyK8ohg+UMPGoUpNy\r\nyuDPf0AGr09nOJcr4H6FqAzVpxlMLKZMcYvu/zlQ4htQoCkhy6KO/gujTUxe\r\nsP3z2UbZNozgWGyGsIV1WhZMVdmVKZPglSui85mqQPjF1JqFl9ctT5XXJ6pg\r\nxdLzFwucoTANoO+sEo5kUd74p+GUwTgiaH3UdJVgLos/6md1h+KPNtlwNuhU\r\nhpqlViRwjzrxq3j8aeOLYeLXGaGQE/jdrcY=\r\n=35pb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"8812fbe6b2d14f5b53cd9163b163fdd18bb76799","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.6.2/node@v16.17.1+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.17.1","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.3.1-alpha.117+8812fbe6b","@uniformdev/context-ui":"^17.3.1-alpha.117+8812fbe6b","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.2","esbuild":"0.15.11","cross-env":"7.0.3","@types/react":"18.0.21","@sanity/form-builder":"2.34.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.3.1-alpha.117_1665779951123_0.0791281148875338","host":"s3://npm-registry-packages"}},"17.3.1-alpha.146":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.3.1-alpha.146","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.3.1-alpha.146","maintainers":[{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"7a6f762ad8a23aa8b0b3fc879a4355c7b6b049a4","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.3.1-alpha.146.tgz","fileCount":7,"integrity":"sha512-LBSKnVTC/9xylkeTgpRnaBdL8uLk3hh/IhwxP0jgJ/MyYq5Z0LOiYmzRfw37jRlSv/fUp71Mypx9nVbtxk3NOg==","signatures":[{"sig":"MEYCIQC/NdkEVM7QzjUqhixyedpE8MoR/6GAInB7LPxF5gxDZAIhALssJkOuMWQfTxxfLAvQ06loK366UAeh8n4r/8JkuNUK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2374952,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTrSQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpKVxAAlvpjFu4seXAlWEs0md0dmG9iNLGe+/e0BlYfNCzyINsUc0JK\r\nzLmChQfvl5o1xZRW5COzc7BcmC3tFxawz61rGalxh5k+QeYmPJk65nyGB0r2\r\nNq0Bi2795Nb7NO3bXUUFl8a8hfbPIM5RHaLl+xgmZL057jw9ginX2wSygI+t\r\n0H3ANWQJU0Ug3j5ktKuVLp10lDk030zkjY46Tb+X4lq7uZJ0mzmdKYbCeg36\r\nHXYHKYU/Cls4IGR5Mqvk6ak/+e/bB718JlqZGYi074SKl0DCdHVnuIjx7fvT\r\nIWt40VdzZuduSXCrmoR5oy9Kk2EN2207iy+sqOEiCTQYsGaeAU7p1sAsJtme\r\nZmzMOl34lFR7NmooZtZ6Nqp55BmEc5lkdk25epXTRzMgzNskhC0VXefrXv6r\r\nJYHq2m2sclrvYQbSmE0h34hac0DytXBGFy1dzk5WIuBXYyEi4GMjTQ08HdmH\r\ncXQ1DlDtwD1vr/gk7Pv5FApaSgYJ0mOYCubbU+a0JDeSZ6KhvuNDD22xMo7m\r\nmHzNukKR4GQNegLyX026w/F40JbamzS3FjbtMLUumBhbRHDEpTlwxDpTGQqO\r\n5ltArtvyZOPnRDFSxaDtjjOTSPVD1ZiHJHeN7QFWhmz44pXpftKeLOkH7Xum\r\nFONGMT8J9pgtISjnlWbWxwI92uF9U5WY1W4=\r\n=jfGx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"33ba1d5c7cf8aca1d9d5c7c14e0d97c0805f6840","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.6.2/node@v16.15.0+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.3.1-alpha.146+33ba1d5c7","@uniformdev/context-ui":"^17.3.1-alpha.146+33ba1d5c7","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.11","cross-env":"7.0.3","@types/react":"18.0.21","@sanity/form-builder":"2.34.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.3.1-alpha.146_1666102415752_0.3053343986889383","host":"s3://npm-registry-packages"}},"17.3.1-alpha.194":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.3.1-alpha.194","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.3.1-alpha.194","maintainers":[{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"68e9757e21623e5c140fa1c45899de264c499d1e","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.3.1-alpha.194.tgz","fileCount":7,"integrity":"sha512-Nq9jOY7Dos+oCFIOnoXAWshF5gfXzxmj1Cb1HyINBNqMYuY6e44CZ/i7KEnucpL275q+fdRh/TWEpDzVK7KCLw==","signatures":[{"sig":"MEUCIHhT1THNvVh6SfFl9aPoIJnMY95m0MwG2uwZf1QIQxihAiEA0JAaOjrkREdgOM0Q7jKnLpCvvnx9vBLmpHxZm5ShmoY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2396147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUcpMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqFFQ/9GRmhxj6DD3s3mRC+b065UbzsV6y8XwtOLLPj/MICD6j3gylI\r\nM7des9qeL+Ilv/WeOUbRIQndQbJ1H5FaBqlSQXTB7U6GfwwlBvrvENf9hX39\r\nQN5C3ya8ztfv5JPk/mcujN2IHKIIIfPp4ptjdid0ntxTYIe4aaNcQJOgDPC2\r\nXB5P/raWlMH9jecovhjfzg2og9q547RSHDYX62pGAl5s2Qpol6z8ZoXv6kmX\r\nGUgGxTwTIhDTT50Jdq/hdQPgWe5AI3e8z5JRJumTzsocvM7n4J45JCTNLJAv\r\nc8Onigh4gRj7xs5gKL1oZqSgPD/DBsxmoy1lSsVifl5JAdGZB/Rx4Xitl6k6\r\nM5KXs+DHh0Q+QYP7LW1EtWUobdjKQltjvzQfrBZCxXkZnalykY3StvoNqG9s\r\noZzVI2k90choT5w0iEIi7GJORIYn+5y4wJnOVK0xwuds9s7+6ylTZfAKngSG\r\nWeVUFbRQ4bwNNDYx7n2P+fesNVt3+AuKYOM8zSQK+9nFY2PrkNkwF8BTLiRC\r\nmLbUbh/TzH9fuYxXtB09nmfA6Y2rIvroBR8kZ4tTIbY9RK6xT2fa/tDGt5it\r\nY5bBne7G/Q1g3pMgWpeg9BjdA+6rM1ND898sx+AGdw41fcw3Mmc7xslRb8oF\r\nQjfFyugxo/OjPjeBuCGvi8mJeLG1tzj2V/A=\r\n=lFxk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"213d546fdfd0eb7482a220be62a91093b6925eb3","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.6.2/node@v16.17.1+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.17.1","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.3.1-alpha.194+213d546fd","@uniformdev/context-ui":"^17.3.1-alpha.194+213d546fd","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.12","cross-env":"7.0.3","@types/react":"18.0.21","@sanity/form-builder":"2.34.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.3.1-alpha.194_1666304587669_0.20625621520135495","host":"s3://npm-registry-packages"}},"17.1.1-alpha.752":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.1.1-alpha.752","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.1.1-alpha.752","maintainers":[{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"7d53b4a9d823b26656daa3f45efd28dc04ebbd57","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.1.1-alpha.752.tgz","fileCount":7,"integrity":"sha512-Ow9CfAcDYKMWDryr+tYzR1JM+UEtU2sVWzTWliIdXT2Its2UY62YInUgG+0DAXpU4wZadhgKKw4waZ+M9VPdPA==","signatures":[{"sig":"MEUCIFAW892YWKyEB/S8gE9KP3fXOoXZMvy7swWq44sbsnw6AiEA1gpanNaYd5NYbkXkAEnL8K8LTrqu5yYopqGsFOeT3no=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2411310,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjV8bnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/Tg/8C4qVnBnhxiFGTgMXEfxQ06uz19MO61Q81I6PNjNHjKT9VxT+\r\n3U6geoDFTcGW/WOHAWGm7s0F3yIMEXioEIHYmOo+9rRlI1YE9sWPvnD8KADL\r\netf03ySnvvDwxkZ8yWXnfg41dfkZfLg4GZ4OTG2/GI+ILriS0/g0zpekTH0E\r\nMJ4BDcWfhbUjigWQyC5DtISeOplKQKXqksgINliGmKhxCi39Bko1d691DKLL\r\nFsIUMd9YS9Usj9VCIfjhAi3HCjVAOBdyGrZuaKE1R9OgmEXWZOPoZsxLEL1s\r\nQ/Vrctsyog9VVl4vxxWaciGArtWWdkwOcAZaw7lTEESoKjFmSM9hg+KfL1SW\r\ngLqXaa/g75KMyQtmLHfG/xbpRlcoZFRhZAVOReRlLi9EQ6ndo0ANUm3/FviR\r\nSC9o35zFKPgOFXqhr6T5oZCDQEt3rLWEaJWXgzFoMlGbQig9bZFTRaQPEY/i\r\nKjqiOLhYXx4ybc6muvRTQUbnEcy9bFXswOU+G+gZhsqnmbUrnghkHmL1868l\r\ncab5p9Tn0Z8XQHRFDZOfZEC+bOraIfE6rwcAROrk8g6Oysacs13VwBWhH8zX\r\nMruCLFdvIiqzI9bNf0fwd39/kIGDYkr5lV5iAV9OPil9l9O1f71zUwRRTKCG\r\njRukVPDsP92rpcPYR9VgHlCYBvBG0kP01Zg=\r\n=QiK3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"3e63e24bdfe658b80cc14a2dbc84748694637c52","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"m1r1k","email":"artemm@uniform.dev"},"_npmVersion":"lerna/5.6.2/node@v18.7.0+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.7.0","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.1.1-alpha.752+3e63e24bd","@uniformdev/context-ui":"^17.1.1-alpha.752+3e63e24bd","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.12","cross-env":"7.0.3","@types/react":"18.0.21","@sanity/form-builder":"2.34.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.1.1-alpha.752_1666696935154_0.9820597639528768","host":"s3://npm-registry-packages"}},"17.4.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.4.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.4.0","maintainers":[{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"9c570ffeb82db915bcaa0f50e946e9c7cb13f6ce","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.4.0.tgz","fileCount":7,"integrity":"sha512-/oR2dg9oth8fX/MZA+Z2CARzfLwYUAzxH7iUmiuvPtapALwhwNXbwjG3XwEKyZlwT67mBxNEki2S6BInI67Gqw==","signatures":[{"sig":"MEQCIEm4mZ9R537xgzBE1C/MHpQ4rQo7L0TVX6JTdpvUrMb/AiA1zbbhNoPp/+DdRDi1CCnnywT4DBd6U69wXqkfcGCn8g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2411293,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWrDrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr5Kw/8Cbsn3BWoKMLpMtxNlYlKPk3TM99c6OnPw/UcgrYeomJ5RQS4\r\ntBGe2/frWs73dZZcPeiwYtugMfC3R0UslIoTytnYIneJYsmX2ntaxE8yUIVE\r\n67VSj31OHzKG9jcqVt60Y2Y36rZOYFwKRM0brMiDsVmUdLM0OyonF9NXvPe6\r\n23iiTGuxVZB1rbFJZ9uTajFUKIbilKRezn4jLM7RkaiibInnONFElQ1fXtEJ\r\nB539M3OtzoYC7MiCnMl3XDoR0KXQr8m4LwfudaUAsGk/SfQ6kG8zyX3O+jZz\r\nkJcoSwz1B0nmOpKCJozJiEg6sy2uMG24YTPWv7pduBpwNET7p4bvS25HZWw9\r\nn/7EkUtJ3xeMea17l4geIQ00moSLAu7GOC0C2wuCyIdAZWfg05EZUQoVXxY8\r\noFlX3WLv9CM82L5SI6zw/UcXpYr9SoffocnDJodZ0ceMgTyBfYCYn7QhQjX+\r\n4ugnk1vUYxKHlowegItqWBdArrqKClP8mENgJTwCitc0KTXUYq7LXehqt706\r\n8zTsy+Y/S9V+RuM12MK+cxEOPBxixZkjKgzgM9KAJLz3dUwRO8s3+k3G+Jhq\r\nsIjq5KANRiEoWyvyO/ogk1azsvXj3KnuI/LuLEyXpm+YApysLRsi8NQBMkf7\r\nArm8x4LTAVH0h7fYv72gOTIsoaW8xvfyKC0=\r\n=J32o\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"77580d40fbad3c838310f09824d29c067686fa64","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.6.2/node@v16.17.1+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.17.1","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.4.0","@uniformdev/context-ui":"^17.4.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.12","cross-env":"7.0.3","@types/react":"18.0.23","@sanity/form-builder":"2.34.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.4.0_1666887915230_0.3966052836466707","host":"s3://npm-registry-packages"}},"17.4.1-alpha.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.4.1-alpha.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.4.1-alpha.1","maintainers":[{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"912ef4e860a2872b7a3b4035e4a1c84e4fd2379e","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.4.1-alpha.1.tgz","fileCount":7,"integrity":"sha512-5xknDUu7X2Z+xSeVgfcOocVbjP7x4798QfJItwbAgpg3/326gk7/1ZqEDIhThjWW51RgwmeJ74lE6JNAFo6aJw==","signatures":[{"sig":"MEYCIQCkqTrTPOvSJ9XzNVI8ZwYv+VhL0KDLaKo7s4LDY9r9IgIhAOJ/dQPCMwjVb9BJRNCCHU+n6X3+3bbIQ5Chux07P3YW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2411347,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWt+xACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPTg/+NV6IoXfzufWBZiLl2rUYg3TGvn1YbdGsLtBTK/O46t/vIk2D\r\nXTlkwLr9QwLhpQBg1RAQ9Ri8v2CbU4QfqYge1l02e1gHvo/2qtXrWMxPDgtQ\r\ne7+msN+yTy3mEn1OsXtg3JbutxT8N1Tad7YZ2dMCYjaHzYgq4sGEPhYPeHKd\r\nbEIa23xjsLMUsOAfTze16hG8jWaVaTfX2VHEmw1QbCnzpy6/EIHWH1XaUPlp\r\np+0D8ZM6fsoF0rKCqx0vu09SeycOnqBjR7WCJ9tAcLyjvJJug6ErlUqvGXHL\r\n3e35b1oUTwTTkrGSgTNnqDHklOQ5TxxdqyT9n3/VZoQtwF/eyf4Tioj2ivqQ\r\n92G54bTdDFGFB58qlgOpOWXPNp8ZgocEZN0jQ4WALVhScaSKw36599xj7PED\r\nUrFt6DIsKOUbX1oqcvXDzorSYH6bLlzhnZRGnv4aoQApuMBTdn647GJf4A5d\r\newwWV5sjxKjo+eYAquu94ymVCQYNZOZE/ojhvfRAJ8G25RgCq6Tlfu2PZP86\r\n0CzgDHJnawaffY9G7nwrnb5OdC7y69QukIYQPoOm7j6yz3qqQprlrJA+pMII\r\n6W2WQJasOERo3q5bAgvVbeXa+VXD6tNKjwA3kAPuCBfvXE5YTUe6EB5whN7U\r\nckYJmZD9nvzbG8gphTch2QkJOV1u+XcqmCc=\r\n=hddg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"7a1e7b4d44d88107d0d9bfe8767fcb3c94c80a56","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.6.2/node@v16.17.1+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.17.1","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.4.1-alpha.1+7a1e7b4d4","@uniformdev/context-ui":"^17.4.1-alpha.1+7a1e7b4d4","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.12","cross-env":"7.0.3","@types/react":"18.0.23","@sanity/form-builder":"2.34.1"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.4.1-alpha.1_1666899888878_0.41409324197709707","host":"s3://npm-registry-packages"}},"17.4.1-alpha.34":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.4.1-alpha.34","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.4.1-alpha.34","maintainers":[{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"3b8429a335038bbad6a65c6f52174df6e91cd6d8","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.4.1-alpha.34.tgz","fileCount":7,"integrity":"sha512-xDErbLepzyacmkxQRH51OvUSFuaFhp9L7ehnWLXlmfiWIoSFpv1PRG+7x7tDBndB7trE24NaM1qYYGoNYiVTmw==","signatures":[{"sig":"MEQCIAjAWESci9q4apYGoKJ/FrfirfMc50WVK2GfOmWxw5WnAiA+Tz2dIIhmCEudaz0A39Wj2p/FkFXkjmHKwsW3+a3k1A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2412535,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjX8rjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrAEg//U7GL/mtsSPxxGvWDBv0LcBxTOgX0TMLUx/7cgB4V7y5DGzXN\r\nvAcqu2rb5ysvjTog/OY53qIErEFZbVorD/ozEaas77vrW1rPoOd3OLeTt/+t\r\n8wMOL3114qp4/2Wq8P1YPcBHGDGj2WuOHB1OkJQ4SWKK/z0CJkuRGlF35bzu\r\nfd22G2OLwmtyitADalMpwbL70MBehAa1IK9WxtA0STXFsXYmsK/LMfGYyE4p\r\n73IeusXhxxUWlZqY1WOeYvJX/pRErTvsEyQ3f3Ah5WIb48QiPWHi7JIBzcN2\r\n1aGEaUsaCX4v9rUUg8HBIyuKKbzVOQ7IbvzvLyfd+IAug8ZVnaRAgn7WjpTo\r\nF/3S/Nd3pBpbeSP6idu/LekNHLH3dY2fQbXBA04dpq93Rn04SOfMHvWn375G\r\ndUiEqdifFzvLFaOOoV842w/fN3AvwLicuzsehE86nUPT7rD7AMGu3PsQ8vgv\r\nfQN2VwIj+s1gHDW/HyqrJcrzJrWKRIBngsOnLqt7X6sbSm9STaYo2lKOEW+1\r\noavobF5HWo27bj4vTSUwdsGDnzZTSuQqi/CpeXNuQ4ynpnP50zlT0gIyrX9N\r\nDgUTmXN1095mZP/O4v74jUlfVqMrs2TiGSLHJrbNCYWCkllQ82cxXOGXm8k1\r\nPATmrPZAUaYlfih0HLStL1MQcKelyuNKUyg=\r\n=GfO3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"d7b9aa4ba467282780318d3b3eafa5f38ca886da","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.6.2/node@v16.15.0+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.4.1-alpha.34+d7b9aa4ba","@uniformdev/context-ui":"^17.4.1-alpha.34+d7b9aa4ba","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.12","cross-env":"7.0.3","@types/react":"18.0.23","@sanity/form-builder":"2.35.0"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.4.1-alpha.34_1667222242852_0.8718002361380939","host":"s3://npm-registry-packages"}},"17.4.1-alpha.37":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.4.1-alpha.37","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.4.1-alpha.37","maintainers":[{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b7b7daf5e7f375c61a28aef1fb37eabe4a9a1751","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.4.1-alpha.37.tgz","fileCount":7,"integrity":"sha512-ZfU+55wwIQucuoi32sCz5LlNe8/uDTsygbqVDOkz9vosoucEAx5MajBm5kcJjNAzHbC9z9Dbvenk71xwS24N9w==","signatures":[{"sig":"MEQCIGOqWaRYWVfz4TTnLFdfVliZbZNuGuDnu6pJK3DSHDlgAiBd+ULZwqYP1cOvOIgVLeoSxYN1i+EbGiQGl8qUZlrw2Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2412535,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjX+dcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRMg//WlFxJaZv8B/8XPL0WTUoLs23NxflXk6RDsrlT7RKsLlSlV0K\r\nQf21+V4BJjKExtVqh7JrGpc2uvOiJjttXTCOmVDZTLtsMrY5lR3bTK8ZqfUF\r\nlDK3AoqAW4sAkKM3JMgu16OkMsCK31COv7Cvdi10Uowe8GwzQOe0BmnVi0jk\r\nVgiEyv6ThpmL2EVDLRyqqr2U8uQzqqIEtleKwh3GIJya176wCt8rtSWWbjin\r\nrKXfgpcAYtskDmc5o0sYYy647XiIJy5A1WLGwcmPvroOR/U/PHuWerR6Ii8G\r\n9EoFMWmYTJG4ZimeUZ1ayW+B83bCfCBgCcQY3bE1FMWqjAsz9M3PuCisRQ7i\r\nus6UQUdh2TOstQDTMuTgxEkql/AnFi/gJHWRuPEJWBHl0Zf6Bf2yKwUH+nY7\r\nCy2JVD/DjP4sYF36tPnfvAzMdqEK5hiCfRIswSZWrIB/nKEr1OSisIvmEi5M\r\nNcHZOQCOkYyJGYHLknSXtz+bvQptKrvz0C3HNw7R8hdP7mUCzd66X1O0ssvd\r\nQn+Q7Qx68pdJ8BEQSeCpXTo3kHCEMvF5kMoAHhCtKGU3Z8pewhQL8zC92Nje\r\nSOWmd7zlhLSQT13HFIDEV8nEZuZCTWsNvsheBBtYvEbL5aXWSaZMUI3KhFl/\r\nxx+gFRQm0d9fO7CvMoXB4Ld+TrHwo3Jby4s=\r\n=En4x\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"64ffa66b143c02fe53de41c020866b72873a4457","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"m1r1k","email":"artemm@uniform.dev"},"_npmVersion":"lerna/5.6.2/node@v18.7.0+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.7.0","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.4.1-alpha.37+64ffa66b1","@uniformdev/context-ui":"^17.4.1-alpha.37+64ffa66b1","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.12","cross-env":"7.0.3","@types/react":"18.0.23","@sanity/form-builder":"2.35.0"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.4.1-alpha.37_1667229532225_0.7599538109834714","host":"s3://npm-registry-packages"}},"17.4.1-alpha.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.4.1-alpha.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.4.1-alpha.0","maintainers":[{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"996c9ed926f4424042d1e8b908e2d87b3d4edb7b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.4.1-alpha.0.tgz","fileCount":7,"integrity":"sha512-6MbDOK9OJPZ3oGfOnPBFCnJQ/eOlHnl3elAJ7CzznqynCnJn0DfaNPVbIqTvfT+4Clr3bFiWH/EjkfhmErQUNw==","signatures":[{"sig":"MEQCIFJvBAGHLGxk0VDUpn/aEMCfNq9BIh11EfA+QcELqIWlAiBlXcrUe6tQk8yUJ1FQEIiAgOSewqFeBynWcaQzya4HHQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2461727,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbTwoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpcAw//brjesTePNjK6dmJgJnVmO1L1AXWwOMsOnZUeGyLOH1SZmLOs\r\n53488IFSHE8ZaFBi6Vbe0Cu/A1+T6b6KfgWby4auYVxOGo7DNH42NObnfO4x\r\nVaj2yi00U3+DItjHZjYHbA54TuPhd1kAZs5EXvxwvVmqAs+a8BFImNwce4LR\r\n0NWjnjiLJ9FX5t2PYSQxXA7Cd511mCIdyrQJ2P02XWF9It6zsHLBHy96RnwA\r\n6VegxHlnTHr7ouFLy7HzzAxfLoFv+xjTWd+fsVEr1LYV91yN7CL8WiJnAcPx\r\nuANyZLzBFgWE1p0NXeM/byDR1vJe63VzNf1JllnBLUgAP5oOkkY4G+C+Z073\r\n1ZSbAvy/7k0COulSO3nh8XJvOZlM/jPhdQ3Bnol7TUaFlDFeeBsLh8dgZCnA\r\niXtHpM3LchqSwiNHhKcWtZeyH2H1Y69rdHjgxOdSV37lVDg+HVpO3173U+BU\r\nOOEJWnU61Ue9LXEBgiiXjt5dpybQu9x2BZB/cJqU8JvxH6wpH8KPuJk+YJJV\r\nZP2I7A8QIRnUYw9FAkQqf8SjMSKIRhwzvmwmLZVHNXsrUlLSp6pDZKfqB8wy\r\nkqoD0Bn5yceg6ZBc0xHhDRev7VVyA2u7FQamdQNNbqa2NYfbmGpg/xMkfrhy\r\nF5ZIDz2omRUJvf/oeMr/tc6Ma+d2jqRNKWk=\r\n=A+OJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"59ecbc39bc240b9e2e5312a7cc0a5bb565508612","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.6.2/node@v16.18.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.18.0","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.4.1-alpha.0+59ecbc3","@uniformdev/context-ui":"^17.4.1-alpha.0+59ecbc3","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.13","cross-env":"7.0.3","@types/react":"18.0.25","@sanity/form-builder":"2.35.0"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.4.1-alpha.0_1668103207823_0.10897207153912492","host":"s3://npm-registry-packages"}},"17.4.1-alpha.230":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.4.1-alpha.230","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.4.1-alpha.230","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"e699e812f01c4082722c636132892c254b69d69c","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.4.1-alpha.230.tgz","fileCount":7,"integrity":"sha512-ZL8taia0dTYjZ2LO7ocBxA/FHCDWNpjkDCaex0dJcfab6d3rmeg9+zQ7v0ugjSIkY4RLxm7wHBF8luGiW8uVKw==","signatures":[{"sig":"MEYCIQDrl7+JNbPyGRtK8SYfgXkgbkEk1vtYW4//uLstr//4AwIhAJkwQt1ebKOXHHP09Wc7adblPvcDz2zRccPUdw+v8K8i","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2470968,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbtqTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpJDA/8CrcvtL/C3qQhyvnQGAf+S3UGECmkCJ9dpqcZF68Ujhke0cu4\r\nDYSU/HWDpCUcGvUrAf45rAWVQXPLKs62aZwCUE37KHjG/EYCQtsq6qHz/OQp\r\nb1NIJbcob8eNcV4pwkg67JYslbo/zVeghMicdZB/tNAeMkZzFnG03/s63YIl\r\nBE28SNkt1GnXsdfXj0JuBriwiysbP+biHj3ukmQ7DFxnT9hmlr69EgFiQBrA\r\nns+imaQdbHizqQxn+hwpqEsZecP/naOwandmafQFzVUo6eRuZs9drICLX0IZ\r\n+PDxeXEDZGaPA+22nHMt/4RQ1LTFTXlKgiBr7R9eGGbt2szajVYliLDhYD3n\r\nnmfOX613iG36yC9qYZ1HqOIlWJjNDHZ3hAHP240iELk879KL1lfVP0m792bg\r\nugGqevCJc8J0icy3G/jgUy30kD3RY31FgsClv6+ZcohIRJFhE20/IxnOHxKc\r\nYrzHhdNJqa1KFVzdBmUPOVM4XFWb2XH/NTeTGSQeWIYN1UbqgnFVq+c/2dSH\r\n8/EPnIl2HNPSDmcw82ubHV2mAg9o9X0MnSyxNasC+AzjE67+gm0lAiyJaeO1\r\nnREMSQkOmnC5KtDD3Yhp4HANNdFn1AOktJSYqv+ajE5/bIESfnGuT+LwyEu3\r\n+55SD/rXLW2b4q0dMowADqcbWce+jetGZnc=\r\n=Ng/D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"663c9dab33e3560a1bab56c5ea082817e9e54418","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.6.2/node@v16.17.1+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.17.1","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.4.1-alpha.230+663c9dab3","@uniformdev/context-ui":"^17.4.1-alpha.230+663c9dab3","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.13","cross-env":"7.0.3","@types/react":"18.0.25","@sanity/form-builder":"2.35.0"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.4.1-alpha.230_1668209299282_0.7380171024543225","host":"s3://npm-registry-packages"}},"17.4.1-alpha.250":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.4.1-alpha.250","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.4.1-alpha.250","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"436fbfe6d7c169530b4e9779325434929cf595b4","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.4.1-alpha.250.tgz","fileCount":7,"integrity":"sha512-tjUtXNV+lnVM8YqwVtNJe/rT/WU2KPo674V2IoAE6ykRQqYFLtiODPZhHdszVKXzD01uAMfVuXygPSyvhoBC9Q==","signatures":[{"sig":"MEUCIQD8c4nmi71rfrE91QchbMuovM0dZi0t3V4gnr76g+RzkQIgbmoDtYG1UYew+Q1JB7g6EHGcX5XxA5V9LRQQOCngt04=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2471589,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjc27wACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp9JA//UXLvam+QrcwT/3JGTp9RbIZalARE+OAl6H/eKKTpWctFJWtb\r\nncY8kZI8RE5zw8FouVc/E2LqLFFRjt+H9/3MldJBFqN+qhl1e1aWNpPib8lN\r\nwyUiB29MBIbOHc887PPL2Y3nws9pqthYmWiXgVcovQm8e0dh1JcyeJd9f8xF\r\nVtfvAVI+KuOLqh/T3LhtL7/wLplFIL8XKv04rnIQawYRdcVfcYyb6wIoKaYt\r\n6Q552DuJdTBZWrj9rO4DrFb1eINtplFtdq79XolFJf9waEMFNqT1T+hMbvZ0\r\n7KbAvMlI6gUoWYKyFNVPXgoMpct6MiVhn7+ARcNrVdeaTb7WHZZSjaqLmKJr\r\nWa/fieCaJY/DDjVl8Ps+cdkY3Daxd0/28vh5/ageeRbIFusqmmHptSvSpKyV\r\ntU1ks6MSJ6lFPBub47sCLJG6Xra70DLLWQduBmbve001amogBwQSU3V+f83C\r\nsyzvTuPwDdiQuTvfTSoJ/pjS/RckRIYBj19gL/46I3A07+A2/QmOQodm5LtH\r\nB0LdYyr9W8zF/gxm1EjjwBb4bUb8VhE8kBTLwgQI0lO9tglmOno4qB8xPpNm\r\nlIS0xTFs6FTp873+EoEpHv+GHO60vSsN3cWCfazjm0aSQq19kljalspPm7mL\r\n65JReISjmNvYit2jOm/m6yHqqWKJnFLAu8Y=\r\n=W381\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ee2ca070b1530fd28705311e38ae19517c4fa872","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.6.2/node@v16.18.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.18.0","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.4.1-alpha.250+ee2ca070b","@uniformdev/context-ui":"^17.4.1-alpha.250+ee2ca070b","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.13","cross-env":"7.0.3","@types/react":"18.0.25","@sanity/form-builder":"2.35.0"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.4.1-alpha.250_1668509424390_0.030606910903284934","host":"s3://npm-registry-packages"}},"17.4.1-alpha.262":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.4.1-alpha.262","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.4.1-alpha.262","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"fafa9e5bd32a0b259283070a607bc2874796f9fc","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.4.1-alpha.262.tgz","fileCount":7,"integrity":"sha512-dkXM2aFEAJMAnuaLGd4HxKViIFjnk1mPKbgHio50qGxC906vBhnG8VRX6aO3G5QC8zfGWQD8c7Z97RUaihykxQ==","signatures":[{"sig":"MEUCIQDnrkL/Khl6SEglXbC+3MSC7L4HoP9vKEQpQSInuh8cfgIgEy/Oo1OAcj/F4rNmbJ+BDmXxYT443DI3j2mLAUXjaM8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2471589,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjc9w5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqbHQ//YgxiXc/KcZRURi+hdxabLOJJyfK0xcRDMw2U5TiK7H6IVfYN\r\nLkBZYD/SJzDJGWGR4rn2/2n2GTG/nfEmIrWEOtDECG6vNOOkpMI7SnqaAOdx\r\nIBj+Ow59bkdg2s3KjHTJ8oaiKke50xKZ76dDRx9fjujDSay3yPA84g66WJHB\r\nRIqGAK3dMnuWtFpHVZ00Lm6KAaa+/E8lMMzyTrBnncr5MXgXb1iu8IuxEQ2X\r\nyH3wieznlgnwWamAb8dUy31hFdMiVRcsAD2gP8XzWKDXkqwMHyxbxs2QhPf5\r\nm9nx17GCxi04XXUjeRjd64eWYyVy18lScgmLOccbk5d94h0H3f1T9CMIOOt7\r\n6JC5hi0I59LFdHrryu7DFXbGiI2RRGEzWC1vXQx307VkVZcCdgaiWUxlteRu\r\n98RAz96DBeUqHjXIILu4QLh/cRpCALUN+4/twCWPGo03x37OWyUZVPAQ3Eew\r\nryzM1lzPhLfd40nd0NrlVEwjGswuf/bWO6K8M0cZv4AS1PEPpdFIawG8Z3Ou\r\noe8e15kzTob7y4NbWM3eCqkQWUkKxg/8aWjVPpJWQXPf5HZWtuY9I9MHgRkU\r\nFDzy60jTuRc/jT1hhJJV630C21YwAuRMWNxjrAPmRVUsvTK+Oa5FPs7ovByg\r\nVeh7mqljgow1xA4nOWxbID35X97nB8URQ9c=\r\n=bxil\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"fc5c48d894a330b46b421d2b3f61b2a18e506d48","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.6.2/node@v16.18.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.18.1","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.4.1-alpha.262+fc5c48d89","@uniformdev/context-ui":"^17.4.1-alpha.262+fc5c48d89","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.13","cross-env":"7.0.3","@types/react":"18.0.25","@sanity/form-builder":"2.35.0"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.4.1-alpha.262_1668537401103_0.9146086836620178","host":"s3://npm-registry-packages"}},"17.5.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.5.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.5.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"87f49d3f12571cae6854b45f556a9ae02fc9a779","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.5.0.tgz","fileCount":7,"integrity":"sha512-F470rLLV6QSc4X4Gz5ce8m+M1+YXfxRnrj9+mOFW9bBZBsYwdR8aaq4Z7rx6Tr16jSIlGF2omHgqE0RkK0kOaw==","signatures":[{"sig":"MEYCIQCv/Tl1fUTp8PwpHJQUjKXrq/el1Cx5eT6OgzIF9DKaVQIhAIz/xg6oj2f66Ce81oojZmICvLrU5srvVaR2vTdajCn4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2472538,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdm93ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrhfA/+LAFU5C86Ro+h5eeuLX1zFnyuLZc+UIXZkQGaHqQjSC3AL5QS\r\n5Ol7Y2bMsjOkTczvMH24+KyoKrd0lM4mKwsinutbWL4uG+Qp+CJqKxAPH2Xa\r\ny5KlaOhZhY+N7iGxqMZS71CtmfbbP2As9jHZdpb8zUQK4s/mG1nNn3gwFE7J\r\ngXTXeVOa6PRoV5lsRtE2Y2mrsM8lM9fn7hk2wtjALe+ZQqIR7FwLLwZ5uBYp\r\nFtcJP7RT08+8QHjE+EYDqs5/aVbuVmb/3I7znQKPp+i689U5VKCyziXa8ZOD\r\n0t/8EYz02jbz1ItwDMukYzjDwacnJPzwqNY2OVx/Q3EWQnLmkqOgftanVtyl\r\nnwYXLaIJk1D38pEpaOMZaggHFzU7HxQMnOC62DfNqBJs9darm5UCAbmjXUVT\r\nTMkLZYfbn415OaRxO+/l26h48vGFE8nzwcEhlcm0Fb21xCqZQPOePS38cz5W\r\nqVNrF+gX46H02X50qf4kaIdAh1rnGqbZLphecQm5WdI5Qj+4Swqjd64gQJs6\r\ncKtlXbfyD7Khw8kAbKOkBd0bhh4Q6W7xiSRW2NPrXlPUKNbgdcHOWFQrT2kU\r\nSQBsYZekE/5PnGnuAomdLrP2QHsrFiIhXr5YGsYHhxB3AolFClClaccmcqOE\r\nyrGFhVCwufsE0HRWaJ7pl6OP5OKIfD0nhOQ=\r\n=nh/Q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"de1f52defe798010336e1dd3b2732fce359855fb","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.6.2/node@v16.17.1+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.17.1","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.5.0","@uniformdev/context-ui":"^17.5.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.13","cross-env":"7.0.3","@types/react":"18.0.25","@sanity/form-builder":"2.35.0"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.5.0_1668706167059_0.5047670237245607","host":"s3://npm-registry-packages"}},"17.5.1-alpha.6":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.5.1-alpha.6","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.5.1-alpha.6","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"5c415a553bc4ed90a9771670bb264c26fe15ba92","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.5.1-alpha.6.tgz","fileCount":7,"integrity":"sha512-R0YImYvQBXaA77llixu0KSKP9y8vyJ0SWnWrtcN5wg51p+mv4ZGbxgKqCQPMLICk+6w6I+zFLd6K/PdR2JvT5A==","signatures":[{"sig":"MEYCIQCzyvUYdnmcmw5FVKCRlRI772I4MvjR0ZHEIsaLYfWyCgIhAJMihEbUw2Jitv2ZQdvp7CD58uf8iNfYpcuom+8K3IOn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2472592,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjd21tACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoQVw/+K8ZvihE0dHHYy/NqbbNu1Vd0kZt35w4nHhyhIiSSbJK5rRof\r\nRX6zvqOMpdu2GzQakKQipAtYE0aJ5eT/Q46bqoSgVDMRISvb4VS/+j/B4ocj\r\nCE6DWNatGWOUuLxNkzqycfO8a+7eT9HI3t3Y9ItsXjaTsVIV8C1wt2L03PMc\r\nXSzanWg3/DnPqzy0mP7P5yHtdWlaihA8N1VV3ueYi33cOxVYkUc07vkWkSo0\r\nUhmLdUGrnP++P3oeDULunhUczWDJjEWIfUMPWdexPPVwwx9WL+50Qdh5615d\r\n8HenInODr0cTfSpWJifJwbvn5CAG+y0+C5JYL4Ws2s2YY/woywI36RjK5I5U\r\nhGg6sL+8qEqF51qBCKY660+Z5g5vGuLNm48/knWkqwwqnO8LxIshe3UtnO5l\r\nJ0g7v51LbDRgyfHiOdlpozU7C4wuq3TIwmS62aonfN4amzrlFZk3GeYqswYg\r\nYspOek/SGMPp2zYrIBBLCJ2dRk1hNpRQnGsVg6nfNFTp9mA1v0Lfuto+cIX5\r\nU7UAePhI4tPMJlxeRVAsoQb9KmKl5ntxo1mFCk15+Cwswhrn0yxdrbVCyP3f\r\nxQU0kY+ywBiS3+eGYNHQM11q2eAp+d3jdaWRoxU99gho3Lf4uEvNSkmGcj4g\r\nVCB7ILCy7fAw8IjQoXvp5u8MbT2StDEozh0=\r\n=axFF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"56c22015c4959f040eb9d2cd02edadd53e122ca9","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.6.2/node@v16.18.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.18.0","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.5.1-alpha.6+56c22015c","@uniformdev/context-ui":"^17.5.1-alpha.6+56c22015c","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.13","cross-env":"7.0.3","@types/react":"18.0.25","@sanity/form-builder":"2.35.0"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.5.1-alpha.6_1668771180830_0.4661923353304658","host":"s3://npm-registry-packages"}},"17.5.1-alpha.7":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.5.1-alpha.7","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.5.1-alpha.7","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"d6837d2959178346f263d0dede2ce1594c6309df","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.5.1-alpha.7.tgz","fileCount":7,"integrity":"sha512-ZA3WTIalxdOuXN2Qw7lRljiAfoHFi/Hgn+teW9iwnGKcH1cSNKKV7jQgz2jFFc1kW0yi/ehEUdsTMto2L7Lfkw==","signatures":[{"sig":"MEYCIQDOMk2VUsxv1+F1bNng0OYPERKUe4uSjRLkRdUIizAuewIhAMBBDkx2zWSvM4FrNw8Anz01UN4Vw/5Z5+uUjj+A3Ai7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2472592,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjd3MVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqa+w/+IXCtQcggiHSmPZT2kstPAW3QOi19XQCRWrGcHLSab7tFKxgQ\r\ngYRtifx63uRlB34InIBXCQiWvds+Uut5r6VgbXsC27pp/ww5S1WoAGCdwA1s\r\nbrhRe77MbQhLw1fvbLgWt85osswSJyuhqX3fRcMKHYTIdP6ma53EhiUKoLTw\r\nYgZo11ikg1lM3pHix1lky2t5uK2yGSz0kQmwwYYWVugbDYBazxYUE5/Qvjqq\r\n/I0M/eRe17ySi1jpcFoL7TkCZlIE7YNMSTULg68uHYzSxAYyqUORqrhWCHoV\r\nggdsR8lOWokUB2p8AD8eVWpo0VNQ3IDUoKy/q9FmceenspjVY33nitAtdQ/Q\r\n2kihU0DWlRExC31rf4+qQBr5jlxxhy+kli2nALbjl5+JMV0M8C8qZNuzcbRN\r\nNyaNDgc5/cSDE2A6wr+lqVdfx5CpTeWC0CNprtM1H1t0GblIzaouLVI0tPxW\r\n2BdHMRDmjbnOzSRbm3e9grFsJX+4xhRx87VpTyieBZoIkwzynvP6wLnMSsDl\r\nTSzuqjwAwLqPIROTYBhzTrhVM8Nvh2U4Z3ycfxRXd8ZW3rQB9bA+UdyXAJdC\r\nHFR78KpG4toVyd/wuoz5rEZf/rrc911mzpgco9knrGDLzCFIXQBnnItFpKXm\r\nUdnMV81oAIFPJaocubPmEdBmJgM7GAqx+Zk=\r\n=wrvv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ab97e4ba97e3842e6c7f208c4c96be3f9f74337e","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.6.2/node@v16.18.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.18.0","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.5.1-alpha.7+ab97e4ba9","@uniformdev/context-ui":"^17.5.1-alpha.7+ab97e4ba9","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.13","cross-env":"7.0.3","@types/react":"18.0.25","@sanity/form-builder":"2.35.0"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.5.1-alpha.7_1668772629707_0.8210570463490305","host":"s3://npm-registry-packages"}},"17.5.1-alpha.105":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.5.1-alpha.105","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.5.1-alpha.105","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"918ea8b2b3d3a3a014aa36e3f924d4f2e27e6bc8","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.5.1-alpha.105.tgz","fileCount":7,"integrity":"sha512-/wLVXuAync9jny+a3ziqWHc5+Ui36Q7wx7dhcAp5qMqWG6vww/I1Lu2PCr+BkxwASAkGqZor353Zghv209Yqaw==","signatures":[{"sig":"MEQCIElMfpjVG9kxpFQQ/QwYXb9oQ4ahdkDngVVIxURvCC9HAiAfIT9Indog+ATI47bSnXMvnbRg4FpWbNyde04+iag3HA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2474747,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhRMqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqIGA//Ryqkrjc+vzJpaveifNiJrGtTPW5D0AJDmNSejD9Y2g5QvDvn\r\nRaNWnRG5z6OsQtssmYUanbiqqhIaoLTWbw7tzsNvFGPf12czx+sIDbJM79qD\r\n9sTqpfLo4va25Q/M8d2BLuPEo2PKLfl7+NlWHGJJqUrmwumAw67GZmOGAXKe\r\nlIgX2kRhSGVq7PsdPU+G6l7z4xzslSrhrN9l3xItJUrQko3TCwuYgnIkENDn\r\nxu7mr+QcoYKZsTFvXs2n+jdR51NlnhTRubg/J5q9jFkCKxMHQpMWv0Igo5bU\r\nSK5EtHlku4bXWePlUhmZtcuQny3ccOfO9/l6kPl4NEdnLp/hPY+9bg1mXdl8\r\nTaMu9bzsIpWi40OusHLrifLqlsatzsKMJxPmL1p5T5GBCiP3b+81TPYeMuW/\r\na2Wf7qnQT8K/+CgVpKBjKbriojZ1DuXuMlaP62tgUGNOtg2WO7pzIxkt3Sxu\r\napRzrfx8kKe0aJi8CTpsg/wx71xufU4/V/thGNmKjx92oZQqHndCKnC77MUQ\r\nDQbU5qjprMB/JfjGiXwc/OdJt+CYJMhEs6xWtbEw54UxmGf0ujGeHx4LXMLv\r\nMiI0H2oZusnqvAogaUmC8PpTvUALzYPCEU/egZlhzA8oX9U6g60zSdqkEzHJ\r\nYhdbpfLz/dcz5u06Rx91+eW0CQsw0l7XDCU=\r\n=QTyG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"9b3f152e7455f37fd8609004bab4ded4a9a88bc7","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.6.2/node@v16.18.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.18.1","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.5.1-alpha.105+9b3f152e7","@uniformdev/context-ui":"^17.5.1-alpha.105+9b3f152e7","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.15","cross-env":"7.0.3","@types/react":"18.0.25","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.5.1-alpha.105_1669665578343_0.4912295717341504","host":"s3://npm-registry-packages"}},"17.5.1-alpha.130":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.5.1-alpha.130","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.5.1-alpha.130","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"6d9e33a04ca7e528e894030023d681c93d2ee3e9","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.5.1-alpha.130.tgz","fileCount":7,"integrity":"sha512-fQGApT4YNhQffSvWHPGbYK40UV5hFP6W7NEFDYqxQzgEIpQgTcrusWWwsqJ3RSe2pBCHdh4IE6d0MrVuydaEqQ==","signatures":[{"sig":"MEQCIA+MP3QRQtYhABbRSqda9BtxjdghH0jRfNVq3bUPd4YmAiAquihlU9NcXDTLsdgy+mCZOELdk6XPgfy9xtAvTAgQ5g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2474528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjh2XaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqaog/6AqPsMihOD0t8vwCABq02YcIDVFRuC/DWMGi86GOg88crkbgp\r\nI1cHypj9MYWzkEfrSxiokrizC6J9zhx5ly9FQ6ytmpJVTPru2gRRDjOWTu75\r\n5Dz9eMHEv2wpnlcTNzm8FFNt6IEurDUPJSVJSm0mO+GjvDzAazj7VbTagFoA\r\nAkrLtqCXM4o7ygHavxvTkVU7iAatkDwSB/bWe6CStBS7ZARzskVPy4XD3NhG\r\nNpfuZfwWq+2RZV+qkCdZYv89q5W+j4EK17aKhaWD0QoZ6oUPYEeRDmTiFES3\r\nZQd7feqNMwo7qqA0LfeVdWiR1UIuvS3o5d63dct85qgAD4ksGfiE/++PwAdL\r\nwgLXm4OO9g3cTcxvSCX4UvmhgGRnpcWRvbhOkOV0zeqyXCofhBpyueyhg4yz\r\nSEv16NFLuwTehoHk1WQTGe/OOQ9MLOlTu1JN+W06eVg/opcO45oTfbQwNwDu\r\nHQhZI3/Lg/EOlb4UukzgnS+rifBXlWB7QBdawS5ku7s7M45OyQoQvcgYpY7f\r\nIx70Frm1OMIWcRZlN/m6ESZ8gdU4sv52/0BOLwy4NFnW0ZJmxCflRmfOAjoh\r\ngSYlkOOVuAa4DGhHsY3mBLDbeEtVSI0n6kVvCDrgtoFtnwoiVkjYIG8eQd+R\r\nfyrzCv3kr/09PkcV7f1uXzGfNKDy1bVahjs=\r\n=Cled\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"3fac779b1b42a1afeb05156cb51768a98573438f","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.6.2/node@v16.18.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.18.1","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.5.1-alpha.130+3fac779b1","@uniformdev/context-ui":"^17.5.1-alpha.130+3fac779b1","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.15","cross-env":"7.0.3","@types/react":"18.0.25","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.5.1-alpha.130_1669817817809_0.8847374497575016","host":"s3://npm-registry-packages"}},"17.5.1-alpha.135":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.5.1-alpha.135","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.5.1-alpha.135","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"9f8611b3a3e350c44e3fbc3016680e6bf9e3da53","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.5.1-alpha.135.tgz","fileCount":7,"integrity":"sha512-2JaF+cZ0PhkVIW3LNi0pV9V6+WtfjBn/8TluUTn1B2JSgIOJCpb8bOyJJhiS9oysw1N1jbSUAWAHFeu/UfpKAQ==","signatures":[{"sig":"MEUCIC0RnY0LAzUV92dDs/cwQqQsZvj0vyJjl87cRmYiOm6tAiEAokh3NIgk8EGLVqcNQ8fEBSil9DgHsV2np+Ub/fILz/I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2474528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjh7qaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoVFA/+MaT1iEjoN9oTHUnjeoNcttHgW3/Q6KfXlCCutn4eimqsZT8h\r\nEH0Z0Mp1dBtOqYYNbsLyY/BFRlqQEmD9YF7XrLsdw6CpNewsaG1H/RWEcUL4\r\nMidfRHip4qyZ+B3xWeQjCnb6JRfH7606Mj8VC/baUKx+oK5r7i6QO7MILS3e\r\nxoG6E7bQsVw9dobIY8bXr4Ou3lNnMKRxHMhe0D+YYN+m6zGM8tnfkFSdgPbU\r\nokqs0LWTseTfkJvBuH6o1r5V8fHa0UouzUvy4sv23hPJET5Vxv3yeR1Tx07g\r\nPgqceMkDWXZ9kfHV/EXlvWBTM73TtsNdBh5YuCsUGdv/i2xdNuXu6LSBTl18\r\ndITyMsW+yZBjM1aWXDgjvVY6rVA9HIwr3nZb/R2TroWOmSI2FbXoaHoS6K5b\r\n84OihvjMf1g9ThCPZMCJ3X8dx8YvICCSHtALSHvA5Kt9m8mNjnDRh/3f7yAi\r\ndASgE9lVU2BWI11sZqrWDMP3TbC7MmAaxHahRgtaOi2RgrqAKz4vmB0qC7WU\r\nKXmPcVnj68YrG1tiicdzLQz+tHxZP2doDVcGymPHX0UzlM6M+1ZxiWKiEFK8\r\n6P+CcNJBLUVQ1L4pKO8gvI8kROvI/vVDsRNSuMcUazVb1jPSbDVMT2DICdIS\r\n9T3v4Gm9XFfNP61Ckop6HC7kwhR4Iy0CgAQ=\r\n=OziI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"34befe00943e830990ba91f431a2b064f29e097c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.6.2/node@v16.18.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.18.1","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.5.1-alpha.135+34befe009","@uniformdev/context-ui":"^17.5.1-alpha.135+34befe009","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.15","cross-env":"7.0.3","@types/react":"18.0.25","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.5.1-alpha.135_1669839514493_0.9123665238651755","host":"s3://npm-registry-packages"}},"17.6.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.6.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.6.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"4a56aaf7563ed567b13e8a7b36d846fda2920d97","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.6.0.tgz","fileCount":7,"integrity":"sha512-6nWEt4kBdSsrOYupD2aT0b1lBLl6jlKG87PW6Yo/q+LFa5WAcKt85dFt7783Xip/FBoGfJguLDKuOO9Httkudw==","signatures":[{"sig":"MEQCIElJZSR1hrJoUYcRpIlEaVQqLt3JNCVxdWlHZAmfhiaoAiBmDqA3OCFlSk7cJhJVZasg9JQceBmzaW9vLcVx0QtAnA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2474522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiPOiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpDrA//SpIegewdxRZSX7HUFHizQ7F5hmBtv6989iz9vCdQuBF2BWDJ\r\npvAjZTaXjUrfXzPvlKD7eZoAAkCU5yWOgpKH1bDSxjbH2FtB9I89D7NpAWYD\r\ncti0i4TCCnRrzEuMu3+pRzAhNK6h3xpLj/tsVKHyOXAr/gvaEPjT9VVtBwYp\r\nVtX0uRUcDDnJAAZlBVjpDFDFSRERKgJ53v8lKx3MCFfG1sSJrLu51ouTpGhF\r\nti5R8CvWPRInwtzJANWn8FU5hofMzk7mt9TzvJiy8WFwQa1ts5kzMZtMDEDa\r\ntSNUiqOVHdKLnaw5PJgW0DOXMgcQ9pJknSQmdzICRwj2B6yvdL+8S2lubBee\r\niLW4HV6vsLWgzbc0hyQI/3TQ0WZ0Jps4uaUk+S1N6t4cRnbuKR5ReXTAN3PR\r\nEFw5gWHv2uwAQ2BlMiPccIGxsnZvQIg6pZP0+oW6OPYwI4CSXiMWjNBD2KvC\r\nDRwr6DAKSBWp9miBgjcBPO30mtB0v8NXTXoAGphGHaepSoIRMkw4WXupK4Aa\r\nM1SFtf6tpKll2r56NfTa1LNp8O5gcJDKumV+e0LPrcAhxPM9zCxrMK7wQ6n9\r\n0Szgcy09BCCKTEXTj2IJ/uCzA96HzsqOQGGcGSGA0/pU4EBz9K+zNC2kQPOT\r\noW9+D1RBRYkQugRP9W6jqPelsVD8PUebLLE=\r\n=cXot\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"8346fa3ffe24fa0f81fb0c8b0d12e27806ae321b","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/5.6.2/node@v16.17.1+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.17.1","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.6.0","@uniformdev/context-ui":"^17.6.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.15","cross-env":"7.0.3","@types/react":"18.0.25","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.6.0_1669919649814_0.3658378499539796","host":"s3://npm-registry-packages"}},"17.5.1-alpha.131":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.5.1-alpha.131","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.5.1-alpha.131","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"22232eee058662f642a396bbc3c96fb8822e179a","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.5.1-alpha.131.tgz","fileCount":7,"integrity":"sha512-gycN4DpgFIcdkika/JcF1cOOsAY8F4ozlD1fJTgfQahpfuyVIjs6rE37W97+cxR+soGe+srKWONmdy/o+CtcMA==","signatures":[{"sig":"MEYCIQDVl01jPXZmh3azCFhb8LTkGJ94r15e++ryfvrvgLbvCgIhAKEzzCey9wfxUCk5OTuVDHL5Ib4Kmei6m+T+GVuOXSax","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2474999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjj4e5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo6oA//Z3W0z+jzqRvGX82DIEF9jz3WcryCtd2PXmScIlDChZYP35sL\r\nELKlu1YdDNKQOL9wfX/CuOzsKxD1R0lDHWT14ncgTBCx6QpyzUs7SFcf3B+a\r\nEgxX3iaGoFRPJHMQMEft5y9RV5h5Smqnu6AsrRtjjfjj1xVcTs9VCxbZf64/\r\nEh1Y4FwWDJBsf/G2ExVa1mXpn2L71lr2rGarnEEHdjujlXws9pUYZe+16pxp\r\nAzTvneCJQC6Wd4RHTAetWeFphq57zLE1SiMj3md4BNoFj2W/O0DZHgSbFgbt\r\nSfaB/FBiqPHZAINFVU0rUjRKn3Y6dIVpHlAUBm9rfSs1FCllzrsGVFiY/BQG\r\nM4G2/tpbvr/tDCemN0l/soEVYZupygSdv4NjWpnUkcaSjG9efR1LX8574YOG\r\naMdbguhqu+oJ9OoR9+fGH7qrZH9pXuRaPywWtBDFRN2Ho3ffUebSXlnSUGwA\r\nywZetwMm1BfMTkdDihhsz6DgVMsa5mNjXJ6Oiifx8E4Mw9pieJKxxmI7Un1w\r\nEx41k61RqHaZMu8h9B/49uDKuWP9gAgTe79obpYHEIMdxVmjirXJXsdzZWgu\r\nbqO2AV99QR2+BXOOogDV9wS/HTtjKNLmiAn6QJ4Qz+1hmVZxlEBsyypNusik\r\nOnWEjaWV/DuLDkrl6zathKgLQRVuiKwgKYw=\r\n=u/oN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"1a06e230be7112298a5d5bf6d93bd66c9cbc39f6","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.6.2/node@v16.18.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.18.1","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.5.1-alpha.131+1a06e230b","@uniformdev/context-ui":"^17.5.1-alpha.131+1a06e230b","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.15","cross-env":"7.0.3","@types/react":"18.0.25","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.5.1-alpha.131_1670350777308_0.4952242105852098","host":"s3://npm-registry-packages"}},"17.6.1-alpha.60":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.6.1-alpha.60","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.6.1-alpha.60","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"9ded764fe6462ad2c5f140fd6449a63766a682e1","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.6.1-alpha.60.tgz","fileCount":7,"integrity":"sha512-VsYEvs3CoD2lwy875Zvh5AgskhI0gWpBV99IC2ASLDAdfejFVu7fbPMq8Tf2hTQcEliZwazQh50M85oZbBp6NA==","signatures":[{"sig":"MEUCIQCc3tQglvy6o0/hMLwi3V0ENH1zfxlmX1wiE5CVOoS6iQIgQ3kFllgZSYuwbYU6UliTfU67HGGPY2aRo/dWYu1WCDY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2475179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkgToACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrFLg//ZIJInbGXh7d85cJoFaqlkkpu4U3sEsKHeeph0V7fHq9SOWXG\r\nng1NWmW6nm5v2xHaMWah4kBIExtCb5hxGuGcUmywG4UkSgIEm2dOg6pZk1qC\r\nY6+cKA6eZbNagvOcXLREBjHCpMTx3Qfn0SHdfj1TDUPFaGUQqOWU9ipG5rUu\r\n4V1A+e1/9HazxYvohND+4zjG9uXx/1jGjh+I7ROGQIUxekbNeHkDzOf1/iAU\r\nbU4tMqNEKekx9YPYmzSfDpDSoBN6nqnHoFoUBV9FcXMdeRv3vD1qqlTxVz/p\r\nTNvx51upGc0gkvfv9QzAxaLu+Vg7uTGvxJ4IUFrPOGV+zCYsLOT8Yqv2AWhu\r\nps/ryXzNsyn02iQzg/kXPSDgVKT6Id4A+ye/KCDhRnSvwOz3kM/x/W//3+se\r\nb83IwqwyuAa/x3Wk7CE56AeXMvTt2o2KsIRqKyoiRfiR9b4aqyPoQcgdZl3i\r\nKvXmZi28iOLPNpYynYO9dGJdzfRdaPSYlxqCleZAsEUv8JnjbiJZToJRo56S\r\nmcUAMmHvWYAkYwpUUE5LiwQ+Wn/AJxfoqKFcox2zwPysQOitpnx48r+je26L\r\nTYqiwLCXPLJr/PdzU5XR45YHqWTPWF2W+6+fi667oaUAAuEoNvvuV45XKxPR\r\nJhn8DHl4/ox8wKYJHQmXki5FElj7YcbwpHU=\r\n=pRbh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"dce2049a142bec6e78cda9d976eacf13a96aa483","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.6.2/node@v16.18.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.18.1","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.6.1-alpha.60+dce2049a1","@uniformdev/context-ui":"^17.6.1-alpha.60+dce2049a1","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.15.16","cross-env":"7.0.3","@types/react":"18.0.26","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.6.1-alpha.60_1670513896445_0.9041615866840493","host":"s3://npm-registry-packages"}},"17.6.1-alpha.106":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.6.1-alpha.106","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.6.1-alpha.106","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"748d8a6d19337c25488daa38f0934c54dd9b95b6","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.6.1-alpha.106.tgz","fileCount":7,"integrity":"sha512-MBFNjr4gcAjCh13YtffCzvF27Vv8v9vnxdXeI0WFWXhTUIAoGfQfrD2Rh4fiQNnKYUTaF0YDo+ZEc/2GCzuXKg==","signatures":[{"sig":"MEUCIQD9M8cL4Bu213QfLvCzn4vMcxAZwCkC7cDlp7NuG4wiEQIgaGh3c4IvCMG6tsldnBDowy4aBYOfXx5g1txE1FRMeyI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2268035,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmdAvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp4AQ//dfny/9maHpdDfygQntfS2+k/YDvf4Pa8wyL+7YK0m8P/BpjJ\r\n0JKiuZSZGaw7o0qSuCQkes7MFHP6CSFv84/yB6TsaTm7hVJ8hb0fVAmpetxe\r\n34pX4Vl19Jqm+7ofFlGJcuPYi6Sn7FiUhC5uByZePn0fGZC4IPsyd6WK2vnL\r\nRdxGUTuG8x0uUbJrMQIgTCSXfAAqT+Ef55qoQf/IUfgT+2L0juAHfHYl5zAX\r\naXcVYekIgVQOIRfcpxGQGGpOvebw7Uua3n1du/kh54+unE57Rs7+sB6Joa25\r\n+AFCl7DyTW5xVlHz6WK6hXfMi9WE0p+13qbd3mrhM2ebIpUi/qSFLZv69p/9\r\ntCwXzpvQJMeCbs/JHgPz2vjdJSJ9Iopqt08Oq+WgyaizTHGwVidEQf1fHtJ8\r\n5f+NX/0amL/XQ6H/uXcihoIjPitzjtB2PQoTslP+owXyRJMCKI2O0kK64DoT\r\nctbWb/gPxLS9gINbWj7dJYsG8YQOR4jvStQvb9O5BhQ8tPNtoXrQ/1H3Dc0l\r\nS8LZBWbC9fUteFU1s4/36F8II9v6aGfwR//ioTmW4tsm0E3iOvcRzwzWkW+U\r\njNqCGxbMk+phlVO/QcASjERHHhd1nScxAqVnMD/aqVVphrNj7K5rJYIhWc3n\r\n/Plz9MpcpWKrowlJk+IzYJB6oGUjVauXfyg=\r\n=kxxb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a085c31c8c2e927cbe2b2332854a199a75198542","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.6.2/node@v16.18.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.18.1","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.6.1-alpha.106+a085c31c8","@uniformdev/context-ui":"^17.6.1-alpha.106+a085c31c8","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.16.2","cross-env":"7.0.3","@types/react":"18.0.26","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.6.1-alpha.106_1671024687352_0.03586010100240711","host":"s3://npm-registry-packages"}},"17.7.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.7.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.7.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"5a16d7df22e7a65be409c59687af6feaa4034572","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.7.0.tgz","fileCount":7,"integrity":"sha512-OtLbyLGxpmXFoQZp1EYrM9SbwNpJaFh6kZDaw9CkIm22t7P41vmmzcrv3DI9u/lIjID1EKy7g6EIg5X6eHL9YQ==","signatures":[{"sig":"MEQCIEip8q/TFzvjYbGQcmTmbmWGKEHwF/WwnyOH3K5wqYZTAiAS2Q4eIP1WoT9XEpjyattRl1wiskZzEC9WL9/vcQnjtA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2267975,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjm25cACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpLhxAAioCmbEWa88WQDyX4FIETf45K5FEcx0O4euJ6R0TF8VxtCqy1\r\nZKfCOsHSS7ZPK08uy5xiZyozqbkRugrBOVKK0Q2Zg61sVp/sWPzvZcllbELq\r\nQtMmwZnG7jo7VO7CYOCTF/rhlyBtvMEPQkO7AwnSmLV8bZeF64S0WdjRvWOL\r\nqAjN6cHA26M3xTeQ+rUJEDJh1NcFrRNxXGFjJNNTgyUIvYCKLdeEBjv4eZmD\r\nAWBgTCs8WtoP9ZeI/RudluVlwl2TLzVyzrxNUOHUzCUz8bE6AkOhTCKEvx4r\r\nLp7gVXhnqyMWM9MKKEKWYiBd8dZar03WIrQB5nc7qnC9s3LeNcqZmOk+gBkJ\r\nz4DrS6NjcK2sEHpqubv4TRAIkL8xyGAmPrS9YQVtlgOZy9Q28XONW0UiVyaE\r\nYKtd9mOoHt4FNmMOql3bIy4GnlIoVZj4+4pZL1VdNrG5iVCPQbufGui2IxIm\r\ngjy6jgZ8/Z8ShYWbElqfJl2gPh2xJRtxXOCOY25hKylVa8PYFIaooKKCz1ig\r\ne0aUpRA1ioV2lIcyWmW9YOyISCs+iBTrfDKaoOPXuQE9OJDJiHTVTTWGQraI\r\nZfmbGOGyJUoOGAtj6RpRHj30M2bQnDeZBRw057roDb8rEZW9pMnsva444EtN\r\n6q3/C51Uf4NTpm+WPCE2gHCnL26unDT5TKs=\r\n=oBFp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"545eed0c88e608c46fc33048f50ccc8a08bd8cbb","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.6.2/node@v16.15.0+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.7.0","@uniformdev/context-ui":"^17.7.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.16.2","cross-env":"7.0.3","@types/react":"18.0.26","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.7.0_1671130716361_0.5433431287153476","host":"s3://npm-registry-packages"}},"17.7.1-alpha.34":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.7.1-alpha.34","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.7.1-alpha.34","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"19244b690a9e448ad718990d34845dd878faf38e","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.7.1-alpha.34.tgz","fileCount":7,"integrity":"sha512-3HZ32ObFV4SV+tuUuPJVA0dwRS3xRZnieZbUfixfZFcBi0dLw7eKkwqbAf6HdpAiDQLsTpZQy+hqwsCZGI522A==","signatures":[{"sig":"MEYCIQCTCSL1Mt5WH+G4YoTMWFWL/ldagkOWiRWdkBKJdrdPbwIhALMUKZFP6PlP7e9i6i2HuGd/M63MiLT2NQ2yFiNMrJFB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2268032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnMtXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo5Dg//bdRC8wJ2tlfds6rfL6K5mLpBxIMSaiG2t9RayVCELNfrweS6\r\noP07sFacTkB5R8GthzlEu3KTA316EftTieuhUDYyIwFsf5N/y9+MBTLOAaY+\r\na9YA7jCtbcwSrSg6fhutLzIonXKOQTY7bJoXKkUeiHV1CAntHa/XqIWSSdlQ\r\nfVjdR24fXR9ds5Ffreb/rxNd/ah8ndHpbawzr7451JWWF6WQHLqzbqBgs8Hd\r\noiBtce5kSSPWSUNmdPUStek1sJagpxoRytWWNKQRJVM/fpU4v37eRvYhp8ai\r\nYVveuLGqHM8/LgdwqnFI6d9gd+TsIZIxhN4uqc4E69lKJhhjPk0Ms64CEVz4\r\np8s00OND8FldWgmcP/YzZIDUCm0SW5PTTU2XoFWhmwZki+p5i5V8DObXEKF/\r\n4/Z6IckwX6fuWKmNDrjV1KNmXkmOqdtLmsZHRxZrB6lIV+/wv0/4Xoay/qey\r\nt8Mq+IEnAaksjei7kCfi8Ydp0PVip1CMMYBm1r/1AOhT8xVYhIVDtcsfHyCM\r\nop14c//lgdz4GXnNMcxV72uo798hOdGjA8xOUmh38I3QAjuRu0McghxcgJpt\r\nEAvx8NED7WqJFc9E6rv02GDNFUhcMh2BaNVH0DREzfKfLeG4Et4HitN3tTF1\r\nTX/w+43t5xB1A5lG5sgYmmP1OmuNDBIjy1Y=\r\n=cW3W\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"084da31729798e2c1a1f26ba38c764caabebc958","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/5.6.2/node@v16.18.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.18.1","dependencies":{"@sanity/ui":"^0.38.0","prop-types":"15.8.1","@uniformdev/context":"^17.7.1-alpha.34+084da3172","@uniformdev/context-ui":"^17.7.1-alpha.34+084da3172","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.16.4","cross-env":"7.0.3","@types/react":"18.0.26","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.7.1-alpha.34_1671220054845_0.1412295986650649","host":"s3://npm-registry-packages"}},"17.7.1-alpha.140":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.7.1-alpha.140","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.7.1-alpha.140","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"4f10065fc34d4ee68d105c6b943d7050f63417e5","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.7.1-alpha.140.tgz","fileCount":7,"integrity":"sha512-tFGAfb2pwRFI4zp9ylK+HqWr56odiQPXQO20RdedGCyAn46U8IdxMyrydSEj7sdCad63M0Cy0PHKacrkqw0A+w==","signatures":[{"sig":"MEUCIAa9apBPZq7EQKD82wCSgYG7dEm3TFzQbcLNtIhC42HiAiEA3jvfVfjMNgmw+bb0KdzyYHo4ww/oo0Vl4YiIjCdZKk8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2253891,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvaVbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqU2RAApHL0nc0A4s/H1vjRCeHIXInjToAvhVvBtv7q2XPw+vSb2HyV\r\nb6Y1cy1yiv4xXJ/xos8VUYC9FPsm2nTq8RLDgaAvNW1R6tCl+Nbme90X+cjQ\r\nHgBP2DytY++HSYE3XjHOY9vMzatlFk1oSH+3ESTBJ8VXDmb6IRI5A89+B+IX\r\n4vZPsAQHUYXGV2J9/KmVP5eyZOMTtCoNUILy5aYRsR6v3hRppcSuWmaia4pC\r\nUppqqYjxEeNKxSWbZyfiIyTD1oKIWPouio+dOl88bDbLJJlLXmz72g3yLvJw\r\n3ygqVj0sLhRbSqBVBadZMkCamAvBKXYOa1tCldafsVy9dPgzRsacyu2p4FGf\r\n1Y/00AbgP6ITlB0cjntMpx5h23TC52Lh575PVz8mQGu3qEOXvAgocYpn78tJ\r\nFb8Mjkksv2EykAfnYBBB1YOaB60zBG4Z8sj7kpF4sNR+lhKQqI7afqGywokX\r\n8aQ6bDP0YEPSkQAIMclAUBB71OqP5xX4UYgjVfon4U1swYmRfzeNnh/eqi9t\r\nb/bvlSqY2WyEknaoseXSjbLHkQHcQ8iSnTQxvHVOjuF4ofK0nSlcm3DyXXIm\r\nvf+Kh2b1S1r7YeIjVfaYaIl8ICZU79+dY707M7KAbQcZp5trUvMvCM+66oJs\r\n9mfZM72UnUeKgRYMAF5ZMldr12VeKmVDrxI=\r\n=8ATT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"80ab6baf9edea6b520738bd3dff5c6afc882bf77","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.3.0/node@v16.18.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.18.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"^17.7.1-alpha.140+80ab6baf9","@uniformdev/context-ui":"^17.7.1-alpha.140+80ab6baf9","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.16.14","cross-env":"7.0.3","@types/react":"18.0.26","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.7.1-alpha.140_1673373019516_0.8392767520180433","host":"s3://npm-registry-packages"}},"17.7.1-alpha.167":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.7.1-alpha.167","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.7.1-alpha.167","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"e5bea45e965f00a635c8cc29b3fdd703bf5db971","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.7.1-alpha.167.tgz","fileCount":7,"integrity":"sha512-WW4xhCP7R29B1i0S4d2ZDJJVRhgyKWYIPMPWKQlgVOEl25VQGNdChiblG7Ewgn/60yg2yvYJsoMJnvD1SYFQDA==","signatures":[{"sig":"MEQCIEeCgdb9hbcF/y1vRVKI12UI/NgJjFQAR1yzuySXKEqIAiBGRWirxE0b/CeQniX/5Ke6UNF7OIyr9Fpt03KBC9MngQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2328979,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjv0DkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPpA/+IRpvJrQ6NtuUT+YkTk/Z/dVofTExDrClNzmdvOdDRIvc+nB6\r\njR17/GB63kJbbniJGZtQfdmbq30IpTzX3x+1HHH2CHet6Xo3O7E8c66DY85/\r\nSVOZvLixI/mOosGJKWR2Imm5TAck5ELiKzBIYDLpgDFGkpY/iHsCZKZbXC5K\r\nFGGXBF+WLlxU889q3ZNeYH2L1WK/WMEw4bsJ/r9tkHjwuNDm8uZODvgPSi8r\r\ns22CXp5ID6//dXEWl8OJR7PmJx4MgvAcNXkO/B1hiy9i8RposbP1JuIIVDEK\r\n/uh9iPAJJJwq+VrT2f3bjp7SgWMFUyqQV5PG1A+uKAjKUzjAeM0SqcR4xBr3\r\nZNcxW0peJ4xMOshL6pp+UyI8tXRe0uEz4H4t0yX22jUNdFpTyPU5tn7SsjEy\r\n3apglgZgg2gEaaEcRKYbsqs08nBpcdzcD+HotqS2e65FaLzvSaygLZPlKMan\r\n3zA4OJ0LQyitfayBKlkHx3DAynpqRFMQRNzg5HGlxSyi9VPJQihyOXLUpXje\r\n1P5cGld9mAfwG2djv0IfPSWvW8NQqxld8N3kguqnM/gNH6DPmwy96Ms6U+KV\r\n8Hl1azt0qm7WiB+hbSvZ5gJkiR7kDMSOEuTYlMJF7Cio8qIjMcZExWWWiuHu\r\nhlfhBEbzZc8NXply0rTROTfmjo3jjJI6Vnw=\r\n=WnWs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a358adea91b24a877e577be784d56b794c4cfab8","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.3.0/node@v16.18.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.18.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"^17.7.1-alpha.167+a358adea9","@uniformdev/context-ui":"^17.7.1-alpha.167+a358adea9","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.16.15","cross-env":"7.0.3","@types/react":"18.0.26","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.7.1-alpha.167_1673478372306_0.1809540583951359","host":"s3://npm-registry-packages"}},"17.7.1-alpha.169":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.7.1-alpha.169","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.7.1-alpha.169","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"0ffbd01f0f3c699b31776b6b5c5211fcc736fc62","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.7.1-alpha.169.tgz","fileCount":7,"integrity":"sha512-ff1jkRgdtcrdKL3Fpkj/q7eGsVyh1kXLZAtkNlRU8iXHagmFVznYOBrs6uyokEHe3mnhOTCJ4jMjUwWyKWC0kw==","signatures":[{"sig":"MEYCIQDYX+TE+Wo9DRqhDy6co+f5EYXRISsM3WdHGETkHRxYHwIhAJtD4OHEbd41ZRpplM6Jd3raw2P5tWa/HoLZvIFddsu8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2329409,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwRl8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpRWQ//ekHUApLA6MoaKYjTH0W6F6AoSXsorJFepDPL6tguEEKfGggL\r\nIhaeXUyc6coGVNBLjUbJrjyg6TfvUhs+o4N14kVwBxRiv5/TOCnp5nLPpH/Y\r\ny9B1mk0szRVIvqRkP60/5UFJk/p6UifjtVmSDOhpaTRvvsnXTaD+OPa+JxWA\r\nDksCiZC7Jr8TomvAWNOIgjsgAtdTK1diaC3jd6OvhjqXog7QJ4DA+4PEJ6Gl\r\nZRXGEPHGg/czwRAjHWNfw4b2HaGLFcP2xgHUmm9pcl2ZAsE9Vh9FRtAJEDVz\r\n5/6JqQ2wbLUHjFDxUyGWCaLcUhIr/avcKd2HBJ5eoRA1Kim3YLxaQ/Uibp7Z\r\nYZcowJiPk71wKXOw/v8jDuK6XDrVXwd7fGnnVZ1t91SqVG5v+VGToLtQ21iv\r\nv0hUO/1v1gMkqP//mD6TwB4BQJDJXF2zIPdjLvm7KY6orxfGzeGJpjjXNCKI\r\nHo6IRa+pn57gs0+3gjasYLXONrTwt7C+5SuMwNVTilefNbw1c18wjKaMiQ5c\r\nbAAOoP5ovHwWbahXReludTF1keWpoNK/ZEw97TRkzh729b6N99n/DtZV1tE4\r\nPhg6Zx2gYQaENqpmRtWAXpWUh4NmR7xkmJW3RBrL6rY7WfbALJjO0DTNSvYW\r\nof1ItTRTLVVFUC2tgWx2E70BUwvd2cahohU=\r\n=9P32\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"522807b78c5e15b076bd07b4a1a4124de07dcb5b","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.3.0/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"^17.7.1-alpha.169+522807b78","@uniformdev/context-ui":"^17.7.1-alpha.169+522807b78","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.16.15","cross-env":"7.0.3","@types/react":"18.0.26","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.7.1-alpha.169_1673599355935_0.05569813232636256","host":"s3://npm-registry-packages"}},"17.7.1-alpha.172":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.7.1-alpha.172","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.7.1-alpha.172","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"242a80d87cfef1a793e50e1d0733132ea7ac40d5","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.7.1-alpha.172.tgz","fileCount":7,"integrity":"sha512-o2G1lG5wIOp8Xd3PRJ+0MUMZvzQUoZVSEQFut10Vai033Hrg6qV128zy83JjbYaqbpetBgXAuUtlhBskSg2rCA==","signatures":[{"sig":"MEUCIEUV9BnXu1QwqAHJVp/wae7ceXvsU0d94gQPpwZgCb+jAiEA9HXty/jQTjGSgRlv6V+4FHynFuUQUC8bDSFKBPWCY2Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2329409,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwTrGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqXLw//f8ArDIy+tRBuSZmaC9BV1WN8on3n4tfsJs19Ofo9ArMkpUX8\r\nJJBEPqKk+nyxSz5v3ucrcOW/C8XtFUnsaMETShVJex0Ogl0VBVRvUmTn2F8/\r\nHYAexqX2agqJZ4aDfuto1CexuGE0lC2k+BawjDnoxYCuXSm54hHspWrvvOtZ\r\nuAvWjxKuoXJQdlBmnQ8/CuRilOeD6lBQQtlB92pmKN6wqI9OkAJsNl991bFF\r\nq6FgHLhCOIN1Gxm3ZpaAa8EKMUHLCUidkiK1h0Axkwp6Cx5RaiFapHkGjxQt\r\n4c0w62EGhudQxC7ENrlJ9GuKSqSXxTs4xEKt61G+H9WLyXIeXNRUQZUOUtSo\r\ng9Yj2vXKZZt7gQzmmILcDkjh34X74f+XlNRI43IvIBHVOtgR9xeAl5On1Wwx\r\neXEM5w/BFNSDCNUAWYVvGjmT7sINQbieGyviw6KT6D7mhsZTI3gTXsl8MVy1\r\n3BntLXnESRMpPMHCGUUe572tLjo4JGd9/VlXJKNiKHy2HDdPoRx/C/Wxv1by\r\nSDk09YG1Unp1kCuo3KnWpC1ZC0+jcEsqOZFNL42NLslMP03M1oiKlb/eo3Qt\r\n0tKloEVsNhiD6jqixtVY23pAryXOLH4R401VfQ0KqwGvg7GXl+nLWfLYdGf5\r\nzkAjfMIr+bdn1yX1aFmbflaMdRin2CUvTdI=\r\n=GmVH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"bc69aa30983f9bc3f4aeea9af5974d417a34dbc9","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.3.0/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"^17.7.1-alpha.172+bc69aa309","@uniformdev/context-ui":"^17.7.1-alpha.172+bc69aa309","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.16.15","cross-env":"7.0.3","@types/react":"18.0.26","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.7.1-alpha.172_1673607877923_0.4345037322828891","host":"s3://npm-registry-packages"}},"17.7.1-alpha.173":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.7.1-alpha.173","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.7.1-alpha.173","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"e62d2ce4a19c751aca4d049e049cbef2d569f5da","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.7.1-alpha.173.tgz","fileCount":7,"integrity":"sha512-oxJQnqNz+xA0fsdjDN0o8mQcLZ09Xwzuc6pupOGTMrUQhWqIscQRlxdEIe7R1p9Kk4jIEVRBXTuCF6Ieg2Oo4w==","signatures":[{"sig":"MEQCIHC+DsFfHxAyKBuqRt0t+VREG5C4m8ylNpMYvJyj8L7hAiAhK2wwTkqYm0pwXBDGw/3UoMVX/Rc4+wRD0l2fJ6bcaQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2329409,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwT4qACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrKkA//RmSu89JYv93lPSid6moWC16GIuW9isxPbW6P0kaeDVLdixJW\r\noRQYPOsdLr8dlsQ+kzuMnu1jWHaDiM/OH0gBPWTfrKhi9klBWrl8z0sgDNNA\r\nFzmdyyHtXCbZNVXbkt7Ca3M0IB3+18NEzoMKJQgaXe+l95lVOhwU/3PIQ0HD\r\nxgCUwoRhl0jnvPZ2xFeWY13xLZpQeeVvU2wHTLsV4PWr+BCUm7vvHWS+k+qM\r\nzRAWF+6ZtzMaoGx3Sb8yZ7WDWHpVVFQEMF2rCdLmsIenAuoymyP0SFLj3at9\r\nq6mDe6EROy7HF4TmSqaD+4jqcvkVrI1gLvyBokt5BXIoZMzGQexK02C5LpW1\r\nesYjQSb36JbYIudIy4g7azPOoAJD6jkLcqe7QOYjA0WeSt4kx0Z7kd7c1elQ\r\n1uf48IpIDg8MNvv5n2IDeWy9LBgwcUrkp5d9e0XEw/UDNgWC+shGOYBVzokX\r\n/FxG2oDHTyWPxrlvmXTsoII82HC/8H2uLZUBpbtQo93eHrgCIdHEIZ3cM7L4\r\ndB2EqhzIqNEBna4nE5Q39yM+cf4+iUPZcuaqQ70iTOqM1LcgzSo6pZq+oEkn\r\nw/qA+TyoXtrdB0eLrx3jBzlJLr41JMYe8Zz7hJSkZoiY8Zz6cxN2xPIrGzxk\r\nz/lxRRyO0lOXsmPe3PhQYXnEJTa8uIZkG0Y=\r\n=GOrJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"bc631d4089a91019427d326ccd3472e88cc97ad4","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.3.0/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"^17.7.1-alpha.173+bc631d408","@uniformdev/context-ui":"^17.7.1-alpha.173+bc631d408","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.16.15","cross-env":"7.0.3","@types/react":"18.0.26","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.7.1-alpha.173_1673608746535_0.28048683167689314","host":"s3://npm-registry-packages"}},"17.7.1-alpha.174":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.7.1-alpha.174","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.7.1-alpha.174","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"1912a5a85a2b3e2c5b56573211ddcf8244872646","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.7.1-alpha.174.tgz","fileCount":7,"integrity":"sha512-DJ/hj4/zAXgaNyr1ggslKfECa9XV0T1J2uUKESjA2CzdtrlG3sHm7cXsh8j9/rAyCTR6M5/qt+HcZgs5NkxxhA==","signatures":[{"sig":"MEUCICB6ZgMbByTdWKm9gRICy5TrC2uyWzKf/xnw2nZh6uguAiEAkkos034WZsdAWS+nhOxJgstAbY5zWRh+8HjDziqArCU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2329409,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwU76ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpgXg/+LPiX+lW1JPYNtwOKu8eCd3anm0gV0SwFl/qLSiozr5Dm77fO\r\ni0lF6BqG3Q9aXJwxNoPJ2Mi7sLo1An690SKuMi0TlS6kLK8Qbmsfb6ZToZox\r\nOrYHqIfa+SRR40hxQg7VtJoOGGqZgPurbg5CeNuB8mJfvffz2oDmBv5x7xcK\r\nweib44YwHBrPm9QXYI9yVQuj7rO9LiFSX8d+KOKrruvrpYtEbnhMp3xVsRMu\r\nCpYdBzNFrOsvUBXUOofdzkWsaR39/W2N/3z9f6EMhow4kppwz9a7AXC/P2RV\r\n8fY5PQcaUbxVE9uxIProwFnavP9KdYOwf8aSjPWk5xRC7zfPlKQTOcmQjUfo\r\n4CClk8m2dZDOpD/T/0wqekZOj/WSwdacTTu5pgW55WhmTWZhMJSPLh2ABe19\r\n7kyzXaIjOm6+KovDe/xfq0pQdXiSoOTDcrDY79IAZn7HvCyo4+9p8Oold3cS\r\nMdE7DjmmxreXotmzusGKQP/1Mf8pswtp49uvRqXZKeFloGb+yxY3H6ijXiUH\r\neLHuMHrTiNeVbARyyFwU9iiWeuN9AyZhQG8KpAbKtJQl2qIsPLUdqk17k4mf\r\nO09+sO7pHi/g5swUv6Q8ky+eqUz7RKMQEOjW+KOgFeh8c2si07u1cLiXrALx\r\nwl+b3r83J7d9Kb2DEv3PpXj2mNnNtyKpUCI=\r\n=OfTA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"bb858f2213756dd7b1493e92715152739d8f401a","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.3.0/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"^17.7.1-alpha.174+bb858f221","@uniformdev/context-ui":"^17.7.1-alpha.174+bb858f221","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.16.15","cross-env":"7.0.3","@types/react":"18.0.26","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.7.1-alpha.174_1673613049794_0.5432545998522542","host":"s3://npm-registry-packages"}},"17.7.1-alpha.176":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.7.1-alpha.176","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.7.1-alpha.176","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"916c757ecc4a2ae71a2c0cffe8e9f3182ad5aabb","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.7.1-alpha.176.tgz","fileCount":7,"integrity":"sha512-U7/jFMQMTNl6HAIcIdTvxpuXhDgkH4wse4D8IidSOWuKYAZ7oQBAYZdva/kVPOyKpGGWZrpMx1AB0DvJH/vvCw==","signatures":[{"sig":"MEQCIGRUtcJymZbHfTTY28mKxqjSDbxiLeL3nsHQdmS4akdmAiAI2NC3GMpbndKyRJl1jsoFROqLpHOSLACvHGWzn7En9A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2329409,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwVqJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo3Qw//UV8BJvmXw8qacdINvC5IakEt/bWCotTw6+IEplh9cA9UdGqT\r\nr/0xIqWy/gD+s43ofLu/hCkOMt6lPoDI+DO9n3s2xvS5wopZsFleRhQx7lr/\r\nvwZiQI+eMhFcarONMYz/WK7WGkFJ5N+AinskFRqQmOxsotD6NTiRw1xrUGSe\r\nHVcVuEI0B2/S3zgin5mgRwurEb0o09fhJH+diWaYo10ltCfzDDbTMgnMdxUC\r\nQmGBxb6g0FCHzy7NNlNLwnuzO8UqX1Q0FdsHdKIYfxkiAtJDgBjgZ1ta6mqQ\r\n0TZbMkuP63vXEDwHIcZb7Q86k/wJInqb88Kv4UG2Mu1RMHe6b8R1Pjn1nm4S\r\nQnshKktveV3JvwPFb2FfcRyZs5re19OVaF9hY/48gM7n6ZSKV89fPHlF9GAc\r\nYv1VJt5V+nQyteBQwDJdbPZLuqF8zUrwmxmSUMRmsvbPRKEPjw4kMd3eLWh1\r\nR93qxTKshR6pFvVyAt7ycbLV1CYuspGwfp4u92X4xrzw0tLcuerAuYuAV2vf\r\nIYb77peOqvW5Sz6CA71KRa14fdW7kRvAodzoSFHtgA3f00+ys3CUWzvaBtWh\r\nx/3XFUr1OXmG0nOIZGbjEF24z5hPJfBsrdfRtVxwMD1qwiLE/cuK3/joULVt\r\nznheF51HHfIoxTn+dBtPqNIMxypZ29NpX3g=\r\n=7JR2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"23649b7d5940d6b2cc904faa64408d584dff1ad4","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.3.0/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"^17.7.1-alpha.176+23649b7d5","@uniformdev/context-ui":"^17.7.1-alpha.176+23649b7d5","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.16.15","cross-env":"7.0.3","@types/react":"18.0.26","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.7.1-alpha.176_1673616008752_0.3587447014471643","host":"s3://npm-registry-packages"}},"17.7.1-alpha.181":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.7.1-alpha.181","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.7.1-alpha.181","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"ac426acfde37ed4353d31152651b6a1fc0d9e4fc","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.7.1-alpha.181.tgz","fileCount":7,"integrity":"sha512-XKrdmKwAFVYRlkD4Iv6XRyCwbKcB2QOSaGAFSbXMAuHS600/Cy5SYuNqnT0igtuaGkTxAp+hgaDTAt7+VlSJnQ==","signatures":[{"sig":"MEUCIE4pZusxrQJe6KYoT0YDcZk1m0mWuhycONVWQnVbWNWUAiEAqjmAMbcYEfLcE+bcQrmq3loQSaMQODzfPTVSRT92ziw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2329409,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxWa3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoOcQ/+Kk9D3ybDhAXU0ecWU7zuRPIH2nTI3LB4fGMcKpPAlyoLtOS8\r\nVQ9jzEoahaaSd8FFG8SNvgQEN9pYO2oaO/iam3yAD7wImeAne82R8ARvZJ/2\r\nxA7EyfyhPVRX6o8AgEonVMfkk4PNDiASH84hsvuxB0I0F1Xr55l3jo9smyRR\r\nM/9mcZ/E1ph5Qv6f068dlhMMHXxdyQdZfVx6/pHvnoj3zhqXpYt8iZqnscNE\r\n9XFZn6+d5R6TEFTCMmp+tW5cEVOgWqS3MgedZ7weq60uohlgmSshmW6qrF0s\r\nUSBluu3eT/+Jwq+/r+Trr59dlXq4VnDU9pgMU1Fe7UHURXE2RD/AKd1ZIR69\r\n8Dcmy8jR8xhjDdXbjDHB2/oUkuCcbRd/gflT+P+JVp0MU2V29cba6YaLbWXn\r\nN8DYj4kPEyfxKPo9roPQdRJ9xpQmn0BLpePNsRwjiGslO0xBT6ZGXHfDPs5h\r\npLCbwUmTqmFW4aZoXrbWKpJiYJqvq+/bUnq4NXIzip98g4z1DyuVf5pCpb+O\r\ngeF1Rbg7mGYubGl0vU8d7NQiFXPn6oK0X0lLT3GRyF4dSrfcLKVZ6W5FPbU6\r\nSSVBYyQJi3ecunpztgJBuK7yIfT6T2qsjgtOoZi4SCnIWJrW6KFH55H+XelW\r\n18AT2Z2/baunLubYdkNadPEFJoywMZhXQU4=\r\n=YYbr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"fd26c02ceb3e569cdfe188d605f7ca42073d09ab","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.3.0/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"^17.7.1-alpha.181+fd26c02ce","@uniformdev/context-ui":"^17.7.1-alpha.181+fd26c02ce","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.16.16","cross-env":"7.0.3","@types/react":"18.0.26","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.7.1-alpha.181_1673881271171_0.5347854538786938","host":"s3://npm-registry-packages"}},"17.7.1-alpha.211":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"17.7.1-alpha.211","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@17.7.1-alpha.211","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"6ade0dc7e6993d3a4301924095421dc2dd1a1f15","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-17.7.1-alpha.211.tgz","fileCount":7,"integrity":"sha512-zZqdJ9CloEGGEmWd3PSgllkgheqPXcbKOZiaNiTSSmejXcmYDJwxFDTet3FO9vG7Wd0xLZCmAVg47it3Kejb2Q==","signatures":[{"sig":"MEUCIQDYNUKARtKX4yN7QH+evpAAVfKcH0rZoi34ZgZOLo6yJAIgVY5q17NkJVEisZD+E9S+5skoHMcFjs4xt/4nL8MpZYI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2332003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyAyuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqmZQ/6AsH1i2FKOfLeCovl6eB0YU+EF2hf69HkqKvbr/u5LaRgWFgc\r\ndlX6ia9PY7JNA2D9S5He3nO1fYCRd+Uex5Q+wIIMWreUyO+CKf1mKD7SJyj7\r\n2hB4wPbXnbLM206PMCCE/qcWZZrYUEngK7aIQ9gSjhScjtagX89okyzBsOIT\r\n8TEWRyAKBdVC3YyccRD+nC7KtCaZ2188TjiGOve33trOhfa3OkHQaDdHRBOX\r\nMLVAt9x7nUlBg94Xejdpxetrk8P57YH95cGtr64tLo5ar18hRAt/4VxnkAMt\r\nQnimJLZ3oR8f1YFE09RjE0eYIykbxWsN7t2Xp26KPEZqGpj1ACmM5WZLe1QO\r\nZiJURqxf7D215ZVKZgbNlylskotZQzVQo7ASQ2/mSHzRlzGhC1fuDPj0DlMm\r\n10yWzqpFsm66x+rGJ4QI+xBEpVbEkEmt5/ulG1xp0oOMJO5RAQwkRjt2jDbX\r\njk+JQWf9FRAakiG2gzZK54b/Y+xP1E4V7m4EQLAAPEnnqwpBvssfiC5pptcD\r\nf1Cjz443TXl4NS48nfqC3EKxXAJ/zvebA5I31ag/ioqBZKjADyzDlbNEMLKt\r\nzfY6yglkRNE65nEElDwskST+FQLOxEgWzRtsJkid5FelZx/JU18KHVKLev2d\r\nCFBH2UX/lwI9WmfitilX7LiyKjfA/ZxLKWw=\r\n=CIiD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"e51b76310a677d0f0f2b35bfa1f7416c733cf25d","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.3.0/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"17.7.1-alpha.211+e51b76310","@uniformdev/context-ui":"17.7.1-alpha.211+e51b76310","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.16.17","cross-env":"7.0.3","@types/react":"18.0.26","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_17.7.1-alpha.211_1674054830424_0.7523439849103368","host":"s3://npm-registry-packages"}},"18.0.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.0.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.0.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"a558e3e75543f796f48a2eb1040435e11f43992c","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.0.0.tgz","fileCount":7,"integrity":"sha512-toh8Evo0DX4LzuVkoAyKl2HteULn74ITv2DV/pjVfRaGzGsLMwT6kvpVZnkBJUgpME/xZD4U6vsXSjCpaF8OOg==","signatures":[{"sig":"MEYCIQD3qSjoqXnjBK0mZmTacRWbvFT0AU97yI3glzjTKwJhVAIhAMJmjKLPNKB+VCJcM0dKUquZGXWIxd+0+G5rAGSiJzyI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2331943,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyCf4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmplbhAAn+XVQ4a4vq6pQi99lBh/rB24klfqovVMYlua/59qkf7v4N5f\r\n1Z3ngwhP5SLdzS7ur2sNNQmq97TlAEqvNLP8JSG0npb3/7XXfGP6L4r3Vwff\r\nBH9QPsVKct6+9jPxnw8uRsnYBcDmSjqujNPeC4zxalNLwSbp9tWR7ZjkOfvq\r\nOIpcaCEU8wLPwmTRB3MPWtk/S+y//9pIxpBtJS44rgznkXCBcTwzRgOfZniE\r\nhoLPpoQTEGsnXthSFfsYIVW/O6xL+nbpDATCMErS0yNjR8Usc+o/9uewkkSr\r\nO4mzL9XHLvTspqKssuwRdPWwjG65bzzIyEy3uiR5rI0hemNqUpJoIUP/VcW8\r\n0X43NXHYUvoL908f7xNoMdueLbgrbuz7Tmdk+pmcZU+m8g8MuKiYeQxjYtHY\r\naeGMvBDw+6LnPorlLIQtu71Oyu6NsFzCSAYfVhCzIODTGgY1orrzSecyEzNF\r\nc+3rhdC2Ed7OinJNRv9l/aST2pHf/soRMbjKnr+2zyd3WoW4Mt3kdFfiXnuQ\r\nPj98x7w4skMS3eivQugnN4KXTMzk0Zduzz2vVfOI/5xhKs/WnxSEfxpPkqXk\r\nI06mVkgLqIdMyHS8yf6bELS5MSNKaeYoj5WOph3mZypilD3cKY7Rd1G3iVB5\r\nVeQj8YTFJgO3+a7pz/Tf6w2yGwvlrtK7bAE=\r\n=A6vN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ed311bfb657d4b90e7d7c80c046cf2f115a94abe","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"kamsar","email":"kamsar@gmail.com"},"_npmVersion":"lerna/6.4.1/node@v18.12.1+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.12.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.0.0","@uniformdev/context-ui":"18.0.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.16.17","cross-env":"7.0.3","@types/react":"18.0.26","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.0.0_1674061816143_0.5743793076279056","host":"s3://npm-registry-packages"}},"18.0.1-alpha.3":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.0.1-alpha.3","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.0.1-alpha.3","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"edbd13d102f6eb39b68b59d59a8dc5192714a97e","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.0.1-alpha.3.tgz","fileCount":7,"integrity":"sha512-h1QGcX5tynUcItVMo4+vkj23Yy0cG3Y6BXvtoz6og6TqgMoHd5hlRGVAMAHUOwbj2kvRfpp8FA1W1N8ovBW0Fw==","signatures":[{"sig":"MEQCIGBvesVpDzTzGUMxU55lnXnwijy4UMSK2cDBW7uAS/JYAiBR13X+1IrB28oYHk6mcgJxaQFDxLE73glhWtYGhhfXMw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2331997,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjynJBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoSCQ//Zf4xzrS+tXDb8VWPNhLfRyKHaILcSaCDfEnZeRNIH58LoOsa\r\nFWSQLfN8kE1hRcFZuS1r6wttu9qeV1vtgAmXZ1d0nHn5EfWT4pNYuN0KUVj5\r\nq/PpICW0OSYl6VCj4Qv58NKJ/SJwn9jsRmT44xV9pq+9MBRrdlTHw84ZN1Ew\r\nYrX71Oxxm/f7CS77fUO46KSs6uNxtJQjVKMHFrfN66nlptBFOicnMfr+ht30\r\ngB3G2ywchSRMl9VgCCsX9i9AgEcTPCDjSxEWWq58bvKhI/VEmG/d/AMpe72v\r\ndrzifNia93Tcxrz/UMSvzjwniHtMhlzX+JWLk8ptKJIJlHyLxPpeXVPtPAHV\r\n4brgOLO+ZNe4/e2ugsedwt0wjHb2WlHvGNhgdklpE+fj771x/DPSGY2R1XkU\r\ngq5bziCVV8WT4M7HbtcT2m5klqX/Q5jFUORp5OF89FsSRAIYORjg9Z84pAro\r\nCAbd26TRH8ZIVwdq3OQAWjZ+6KzrGsqpUcqglx/r8vtlSWJbJLljrUw9JYEZ\r\nBZC7/19wN0bUxLZMSYDQjmJKfJ/dY5Yml1DV0UHHWhJMG4uu2NQjGNvAuHpv\r\nojuxYvx1BtxBZwbeEmmh5FhPLdmc9pHlV3EKBW6A+wOPadIMNO8H9mpG1Fzs\r\nhPp1n2t+NMs1MZfskvUONK1tXnU5uJ1gm5o=\r\n=VEO9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"2267c1ac6f5f6929be6b12d0099905ab46848d0c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.0.1-alpha.3+2267c1ac6","@uniformdev/context-ui":"18.0.1-alpha.3+2267c1ac6","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.16.17","cross-env":"7.0.3","@types/react":"18.0.26","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.0.1-alpha.3_1674211905060_0.3608930255923495","host":"s3://npm-registry-packages"}},"18.0.1-alpha.7":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.0.1-alpha.7","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.0.1-alpha.7","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"d076939099315b498a60d843cbd8525b4c6bb009","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.0.1-alpha.7.tgz","fileCount":7,"integrity":"sha512-PR4skuHCUhBoWvnksNzSTSJiXLZs+F8QmrsmFOGWd3VGA30iD5VMNS7zdLoSQpSm4h94AbfFzeOVicT/L/HdnA==","signatures":[{"sig":"MEQCIHyK85tle4I3QMdEGCwPP0fw2zLvphqJXWB5v5DbtxkZAiBnf9Kwzr0FX61bkU48Xuv2o7mAwuXNIDTZ6Xc6lfu5eg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2331997,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyrOqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqdXBAAhPk7hCU4J25r0kNwSawNqTnKYfqdYpF9wYevcNV06tGG6WI+\r\n3Y0twYnE7NEtRh7EJMfbaiYx1r/m3Q2LLDCoMziC0Yq9kK+k+hUGKnVH1orM\r\nmoR6R7ln8nwAMBH/LrDriSEmUrG2e9aI6d92HfLkZ0NtfC+Khdv3+Q+pNldB\r\n85aNiSA34xbYxKk9R7IH4cxcK1JJWVaSAwLg1U9fiYIgTdLIm7GqbBnS21aX\r\n7w2tKNfnS55veby8LTmmEZS2NoUCEkgnBPIjt+Dn0/0WtHovSvkT0DayBM/2\r\nqTY3rUxMXlVFTdfhbmYsUHruPXZSZ9cLIGTEHvX1evA3b3zKZAFRXfCuVOy3\r\nAl5NAmWOpjtbMW84KZJVsyDZs2pNM+A8e6WVQQoRqKVWRXLAUKf0pAhCF2hw\r\nlTW58YbYos2KxP7Og7ekmPSPYFUccQtSc9Evd8ekgbfF5AD7EjoPzrqwkx6H\r\n5tXiIC6lonu0vLQ1GWmVqm63nq1KyfiBezjY7hkOIuupr2ne0AFNRv9tz1id\r\n0zHWYcINZPJjFNYmIDnwGGlgnt6B9ZfLKn6TJAVH9cFzI1FS6dcsvZJujdjH\r\nirWfkwxBit51oebiuFHsFAUblXTNQhDWC/2+SfYFdjvpZlogWSswe5w8/4QI\r\nj1XOGmmzvEiJ9b21OV7RB0HxNAiZRRh6ZcU=\r\n=n0aN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"919e1112a0e44600072a7309798a55bcf70fc0ed","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.0.1-alpha.7+919e1112a","@uniformdev/context-ui":"18.0.1-alpha.7+919e1112a","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.16.17","cross-env":"7.0.3","@types/react":"18.0.26","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.0.1-alpha.7_1674228649886_0.5525588944271289","host":"s3://npm-registry-packages"}},"18.1.1-alpha.11":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.1.1-alpha.11","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.1.1-alpha.11","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"4356dbca7ce93a3b991a67cc6e5fb66f9825aab0","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.1.1-alpha.11.tgz","fileCount":7,"integrity":"sha512-9T/DBE6ZKr7LjaXVEEkEKXHyWFfdQGWLKDEfZu0T/XZl2De8WT6TcdR1LiSw/sq7Ft5WCKrvL8RayJ0sSFzGGw==","signatures":[{"sig":"MEUCIQCvdIDBB8FtuegLbygVo5latmmFZbImAI458fYR21YXqAIgCpQfD7kJhKZ0mFA+zbIf2yA+LCwvvuazWNbmPpaXUCk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2332146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjz2UKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoPTw/7BQfZo8cDEOAeMZQsaGPgyUTOB+kapwCfeYJG0G+6WrEMrpLo\r\n+J7houyK/Jrj7LQIWgeIu25DohYDHV+PEJimx+sB1bGr4Ps8odmDN7sJMjpI\r\nflhehqN5Q4AckmTNni16FhDrDcoUFeqlHRqGXgvUwueCsfiNyNY7F93gg72y\r\nXkAPsf4Xv2ng765hJYtwT2S7Q0ANmV0EkhkcVAsLGJPhOv1+P4m7shxFqqPk\r\nc2rL9zvjmzpKFIYzv+djLgpfByNctb9aqDBBGbpQ/e2yvq76GzLl29jtQI7C\r\nYb6xCW8hcGo2pHzjNcLl4JASoxXMNlSR3+NsV28kUWLECZAMc0FZStzRQeiU\r\nZmjw0HfG5pacYa44s48qOIDUbvS/1Lbz9jMRih5lWppdJ9re7jeNfuj5SwpV\r\njUGH4jiYWegZE2P8j79io1yJwFTjxu7PlCkkQXKRUyHpT6OYcEswmjQJcbQk\r\nYhoQk2nZ1AlVFQw1S0BWgBJja1+EXp0am2LZXoGuwyMJvDuNUPsJwEJzJyx5\r\nqt/7eKtDZsNkmIQUPoZWCZI8GORD5Jztvb1xcTnXAA8rc+b5vkE0XZ5wYN1j\r\n2+gTYkKhUyjO+K/xP0F1ZadfAkVnFICa16/e8ZZXiEOktzJAEKjlwKZDSXu7\r\nlKpzm3Dc8ShXqP7Rb2T/hepcUf4WvIHmubY=\r\n=/N7j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"c81a052e2c13c6d3d786d7030f11a7724a52b2da","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.1.1-alpha.11+c81a052e2","@uniformdev/context-ui":"18.1.1-alpha.11+c81a052e2","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.2","cross-env":"7.0.3","@types/react":"18.0.26","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.1.1-alpha.11_1674536202123_0.1528488827877088","host":"s3://npm-registry-packages"}},"18.1.2-alpha.4":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.1.2-alpha.4","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.1.2-alpha.4","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"8db16eb1bae2f83aca66f840cac0d9ec7e5c023e","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.1.2-alpha.4.tgz","fileCount":7,"integrity":"sha512-DVHyU//LrjMOD8pzuc/z+uc6/v7pEHuhb9Wneb/zN4OL43c/+BbVSrzmmvRQP1NjxiUVpEWxuSBCE9+Icq7s0Q==","signatures":[{"sig":"MEUCIQDUjPeGo8t7Ka7q56VCp9SXytOVWjn3gyEF0SFMBxzpswIgANoEIMpwcX1AC42tpKCuX0+V/8QHj0m7xWbyI6wcaxY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2332143,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0SCZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrVFA/+NZWMKzGEOyf8Wsmga2b5JfLbDBVInoL8rZ2Nzn7v23s5XxRo\r\n7fQTMILFSH1Dkakd4CcrxJutHeVn0t3EYsmu/dj2aWgzOrvA4OyUl0Bu1jd9\r\nOvXAEzK2LaieQ+1fkhVGJxqn99R6UPwW2H8KCfj8j5/qLfeSWPhCwYJ5gmZd\r\nK2FugHE10nBm7rmfgFzzinzeVwmeFkW5tMnKjEtWzxkuKF9OBaY+cU4lCzVI\r\nbUiNkYtLzgs0eRt7wn+F2Pogv1f53atVjJQz31jnSa/yQS8IQoRtF+x83jY5\r\nVkQHeh40+DnlXsGBrfSH+2ko/3wbDfQefuxrrhtgUuPBdaJfn/VrATIGsBp3\r\n+phEdJHESA4QgUJGgf0GjRR2x+HB/ubCtSdPa1JkAxz+KKan0nkxuBIBKsyv\r\nRF959JXlptjDwyXrrmhHnzoqG+5eDn2eYkXTiC7AOy/PSFf9ZmXgMN+15t/m\r\nXzyAdLGtRHgFplQUsOCJdgf0qFdop5n4ML3/kIERNqpaIhT1D4LGbaHG623P\r\nQcU8eG82+/tUfos8luDLxtjTFbxalqG7AFouxOlXW/TL2GdfX1lDVssRIiH2\r\ntLgX7yhXpM0t8iObNnx7wgDIuCwNqq91Zaeg4ywiWjU2Uv4+IO2zxw3blfOf\r\n9bJ6NXT3cbGhFvP4Z/5TvbWNkV+4ZE+8no0=\r\n=vBer\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"e9d268bcef28fc22632f4968ca988e3b0b92d146","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.1.2-alpha.4+e9d268bce","@uniformdev/context-ui":"18.1.2-alpha.4+e9d268bce","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.3","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.1.2-alpha.4_1674649752843_0.8935497513350978","host":"s3://npm-registry-packages"}},"18.1.2-alpha.7":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.1.2-alpha.7","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.1.2-alpha.7","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"e29523e183cf6e652ea147781119fe91658c154f","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.1.2-alpha.7.tgz","fileCount":7,"integrity":"sha512-DTOwRulXGe0HPdQf/6tIxNzEfi7tYNYT8VjIVzyFAsmKilvWIkiZmTYk0FmSdwBrbhLjvIVmX+7SqGkeoK60pA==","signatures":[{"sig":"MEUCIDm9sKel8LZPfqF2Hl/KHgafIEVWfzKtpSrRGKzYnd8gAiEA6FteQx+hoVljTKkF5UAeTiGrdHsj87t/mjZdY2v0xYY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2332299,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0m3oACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpxGg/8DnOewWVfj8xn8braBXwxlpM7qxz4ylv68KG2b35xRAy3+m7I\r\nxwasN/THL5XWbvHUfaGxADEWAAzBnDCNAQ5SpXQ0w9HA2qRRozqhZaUSIw25\r\nluKP8228xwcMiaE9mCc85lL+ahaq1p4Bn5lvq4d15vzPOyZr2iO7Xl4FwkcN\r\nG0TWYqKMy6L5HbNsIFdeFXCHL4aKzn/cROtZjob0rppE6hpMtJSzt4lknpnw\r\nzc7tfTWBOCVQpMz34WlBjiSvJQTy9NuBlh+rSHlIR6Fj4u5awigzx/izWUPt\r\nHM3WxTc1wTollmOIpkn9aauNq/cxpC9yWSh7LbV2zqELnt29Uj9Odwg/OxGW\r\nGn84Vq/8zQlU4nZvaiWCUiksCZ1cu36wYtnsu3csmxATcMboYFiErrtb43hV\r\nwYm57KcmWw31XdeS8UfUj8OxYcRI/CkxN1juLDIaZ+TxC4XwbN6LQ7eaE7Sy\r\npmtNdgSm+XuWO1BLRXVF2u1RQIiF6l+sShOwXLuyXV5RnSuSyUPAOd76iWX+\r\nel7h74z9XNPUhNMJL7bPM9nxqYDMtmjEneiw35lgh46kuPuLnmURIJpd9Npv\r\nWcbCWUUiDEv9VoheETJLI9Hq+a7xY6Xfw38AvLJPP7rrogOO5AVeNTwT5LWj\r\nDdE78Dz1R2qFm3i0PueYRWNIx/77nCFsUco=\r\n=vmOD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"682b9aac6143d5f462a7126f4ceab55a7c7d0c09","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.1.2-alpha.7+682b9aac6","@uniformdev/context-ui":"18.1.2-alpha.7+682b9aac6","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.3","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.1.2-alpha.7_1674735079765_0.07216666050731901","host":"s3://npm-registry-packages"}},"18.2.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.2.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.2.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"f4ffb803e533b43d5e1b84ad347f49d5671a57cb","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.2.0.tgz","fileCount":7,"integrity":"sha512-c0uG3ZPjRe5M1h8k2zonoSLI1Xd0X1pSLdD6lfSQWdhyxtdPopB2S+8WyYfU1xtAerseT8RnIKR6hXRPjGr9Fg==","signatures":[{"sig":"MEUCIQDy7h+ZblZFUWmIYGgeW981aVgfDFaW0wl/WXNLDWJiQQIgAnz09buyMNqXOzUTe/7OnhClgXv5lU9COLkzngSA1p4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2332089,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0nR1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqBQw//apjscktbHFSDImqFWXIi/ldaAm6YzqilaRnyvPiqeFBhbSVY\r\nVYl1/7gokCLala6wMsS9KLGRcTV4o2DZfTx0aUww3+gx0Mz5FRpbxpXiuDsi\r\nmX5ifYrbziVFyPIdMOgMcgxBynNO+Ty1Dv3YoqBLQLaL0n7KRgzeMS/06gni\r\nsYPCb+TlnteMJcjwVEljrKkLO9uwTG3Pv9XvvACK22k8ebuDmoxVmuMtmaPI\r\nHAZyZ8FsB3AIajKnAl/pKEKgksp1Dbnygun10lRcneyWZ0SH9q94ExPxsZZG\r\nmJ9G18vl/d2qV93zkkp5W+rLbnZQODRUYSKXtp8cEidUfRXBkYott5cCrpxN\r\nDxbrfSeQKDHYYXcwV9rAi38amMy/4iLU3oQ+npVIT3yOzV3oKX9lnDFu3Fdu\r\nc/BctRnIikGcB3zpCB+hh4XT8qiX6BacIyfCCkBFJyYzeirwTJxgXldV3n6v\r\nuqOcigfYGnkukglNpFN+vKN21CjMSPoISrhZYCXKMfAhLzVSPExmCLfYXS1F\r\n3buZQVM89od3NSBm+sfVseabXHq5Nlsxmq8AYByZZgId4C/rTsry6mK8l/Iq\r\n6oYMR83va4B5dgSLLoQ845uu+4DJxAvbv6Vl22qAHYcqqqYXwH4mqIWiG83l\r\nNzStT0t3acj0Yb1xDXujeILTRd5/qfF5Q5M=\r\n=RfwJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"946d96f5a3ebd69cfc1b4fcc003dea75af4480af","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.15.0+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.2.0","@uniformdev/context-ui":"18.2.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.3","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.2.0_1674736757605_0.8618105034625101","host":"s3://npm-registry-packages"}},"18.2.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.2.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.2.1","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"983b9a5a6aff0db93c20659613dfd8a4cc5f1f25","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.2.1.tgz","fileCount":7,"integrity":"sha512-EmpQLd2A9jyP9ZX4Q4kE0WWc7fRlWfvwEHGW0Cq7ORnQItJo/3MpgIgC+RgOP0iX3lH6FSWMDrdg0eDGo50Ddw==","signatures":[{"sig":"MEQCIGaoDPp2mC2pTJVbrNDYDOpKLNRO/WqfVtY47nK9M28gAiBgVKQrFQzvFZPclrKXigRyW5Q041p0Zz6auwTkdL3V8g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2332089,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0pRDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrv6A//Ve6fS4Sjz3fEcAW2h+d9NsVeJvUrxIV1jgylHuow0CSkGsUQ\r\nAiI5HRBRG6vD0npRzWrk7oSqOQPR/UmrpEBlAsW+YycsHmeWoF0EjQX41GRX\r\n5tSxgTNxdSUmyE0stxjjgfbA93vtHus9pgplB6nhwHMvrCbQlkcaQ1rvGXas\r\nVO+Hx8ZI5lGRVJfHmI91tIz5SymrwVXkc9SNEKjK//RRmA5VeVYAgPBKaDvq\r\nmVn2hrihnIaMdmus0bG8+Jd9Rd8/Fn9lvO7mbXsqRSr1/2FoAKbzbXOO1A13\r\nbPpnuIHKgpQ+ILvxh54kvFvYSnG85x1u1ggkwU1mLqIFF7Vt4ulOOKgUSPbi\r\nuaFDaS2gtqolMuoyjjii3soAQW4sIR2gNU9PlfqQBi3hzcviMWm8RTz0IzM2\r\n8i8l+D3+K8/XR72Axqao9WymnngAEZ3toF7raZOdFmjtd1harhW8L1z3OJdR\r\nAVjfnXgKNQRSQL01xIL+LEb0+JkjNG5Yn0lTJJjJ1Z/rSXnbqo8ezUgG1YiM\r\nXJtmQDSFCwWRlOo+ibn7HN6HzJrsKJuiHy/qMH8yUDoq+FdaH5u9KD+q0szI\r\nGHgxHemMkXwXa/Fjr6EbHUVmKV5d6cxkoKagnrqiDZCvXhDqGCnznCB5JRWY\r\nHq6thgNLrBiWd3u8w5DM0fx77qt8LOd+zKQ=\r\n=pMgI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"c519c1d6b73c928ba0b795702d56fbb63fdd3c90","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.15.0+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.2.1","@uniformdev/context-ui":"18.2.1","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.3","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.2.1_1674744899214_0.485705969257509","host":"s3://npm-registry-packages"}},"18.2.2":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.2.2","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.2.2","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"2c1317a4cba401bd157e6919746b5d53af0d0897","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.2.2.tgz","fileCount":7,"integrity":"sha512-c30DZQ+YWoicn5qI0iS/WnYxzvus6t9AGCdM4EI/H209W0x/C9MFrcuSn+MZ3l/NJK4xvY0IzxKJ+jfUExDlKA==","signatures":[{"sig":"MEUCIDCa32wGVegFoLxNUzO4EVVPQIj3vEatmmxr1P5wNYacAiEA/LnxW6EKOHCKhQAc3SOV+GhCXxoHGsPxu9IewEWK0JI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2332089,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0qS8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/AQ//alaaKOLbXo3QochNxlQNmH8LETJKvmKaLIQwTo/E5pjWzYP+\r\n4GqxE6knX+vWPbRFLjfVqJewulvREK9gMuj0tOOklAAcSgiRKj9X10oFpiv+\r\nIO04v6cOHsIORDzlx/hellmMMqIxYJ/I5o90Zb/shtDY2KNT3DLCaX/4vk2c\r\n+7EPfiMi7j1YVOsj2ZTuDnTd2WdMSBF3HAbWKXNzD3wGZnxxwqoP1fPP8Pr6\r\nqS7Q9EDWpnU86vXnQXSsVUVpD0Sl8BnMFlSCJxW69ZtJJeL6bSruiRGk2oIg\r\nE04RA3KGhKEDUDMJGBIwYIlFKCwmzWhDRBJ+tDI1/9Wn9fkwarghxs+JFmRo\r\nS18wyIE3KSX7XNl0X7AmeMGXR6usv6CMea75bzurWMBnO8JVbUj8lzrndsxb\r\nJ9By3PueNZBa+1KG4HvzEWAykl+oU0PPChvdNekVB6s63j8v4I/uv00GbUdg\r\nDxg+HxXaluZtQPJEtei+D+rt6cnqiUSr1Uvxs9PUZMgyPnSu3DLu03mlkKeB\r\nmkbdsDWWkRYwaX4iNfZNmQ3daoIqhzxpiLDrdcl/pHdd+wUt+oo/taG36diC\r\nAjbM/lnQMUreONyjXW3OHnPfF/lcDZUQ0VikRO4lvaKD9GGv3gfJqDScjAdR\r\nGxqH+Quw9yBvlltT+zsob8gklIHhe0jMsi0=\r\n=0kz9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"eb69f934f799579fdd71d5dc7dba0375bbb5c265","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"originalexe","email":"antesepic@protonmail.com"},"_npmVersion":"lerna/6.4.1/node@v16.14.2+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.14.2","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.2.2","@uniformdev/context-ui":"18.2.2","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.3","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.2.2_1674749116419_0.2711516482075127","host":"s3://npm-registry-packages"}},"18.3.1-alpha.21":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.3.1-alpha.21","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.3.1-alpha.21","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b32ba7ae5baabaec2d7deeaae7fdbdf11d2aa53a","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.3.1-alpha.21.tgz","fileCount":7,"integrity":"sha512-7Fko+kLeNPf6zlU1aBktHwuhlz/kXQpnkmO0FwXG0e5rT8dUZjldG6Q87BtvptV3SJ1yLZdBO+vwo0WNXfSMLA==","signatures":[{"sig":"MEQCIFyKuu4+IHgpC3X65SDPeWCZw+asrQQ6de6Yi9njfx5WAiAuN7AtfeBdBRZdp4FMoEv+L6uC5A4NaU3+ggXhxEtqAQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2332386,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2BEfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoTgw//UZvSK7XJsx94sgBewclh0okIfvmCK9q1VDNCIlwJqRjtUMwB\r\nm/HBGk7ezMos9/WoR+szSQqxkN+VPqlFziAoxTrp2m713Kz1nseCvKiOrerO\r\no4padJLGdHg+RgrlXQi7eXVHuI6w7PBKO8CkipEfakoFJ+yeBWQ+K9hi+7J8\r\nJ4d8/G+gdaSCoH93sfastY6tTms3Y5VT0P7GINrdeAiwBYn0v7fa245bqSeM\r\nTtB/yu7UTw0hJH7Nmgm44/QP5E2s8vUqVmIqmAPlLpali65ajJcmA8NA/n4F\r\neJOVuIn1AxrhBm2qStVALvCmIT20zegQVYr0SQEwQ1kz8Axq26SBb4y8BRKh\r\nteUcL3LKtOD7twsfzi7OcwtL3KBLRkidzqdf3eeCN/PJKWv7rQ2QyByYc6ss\r\nUP3mcAlmfw8AVJRoAF5F/bGHGto5+IkkGtcc/+WgJFkt4Fz8IPr7ProlgDa/\r\n9WPtU3EnZj2hJ6PRx5l2bHLHjsZ2t/wT84ayp5oX7BOvfpPNFJnXyUVnkFan\r\n8Qq2Ie5ZcLbJIWrMAEW3nOwKi56ab+Arn5oTekUmFjSwONG/mGKt1Yv7IZri\r\n8vQIm5Oii+O4oju59mcRsjB1X44IiPv5mUOXBIi1EvBkT6lkzdmpZJITyDCj\r\ntTXJyFx/LNAA5IaY5hcv2nK9kBrjcnW4qjM=\r\n=bUNl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"5789df064396b6ab274cdaf44743d48bc1542dc4","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.3.1-alpha.21+5789df064","@uniformdev/context-ui":"18.3.1-alpha.21+5789df064","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.4","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.3.1-alpha.21_1675104543433_0.009657196823364966","host":"s3://npm-registry-packages"}},"18.3.1-alpha.22":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.3.1-alpha.22","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.3.1-alpha.22","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"71f1ee8026c7ea5f874c88009719831f178f9755","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.3.1-alpha.22.tgz","fileCount":7,"integrity":"sha512-cxc/yuGt7h57qM1mlVZ8ziP3o3KCVs5l0UdgawrVBHWlxcfYebTof0p/OR54SPL2EZNVJi0Va/jPxtftroQ7Og==","signatures":[{"sig":"MEYCIQD7poSQvKsFPekhOoqi7AAhk+rbxZosHxFDY8FtyLjz2wIhAMJeeq0RY/n9EgpmvWLkaqwzomZgLke5l+zHPPPkZzGm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2332386,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2BFsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpsEA//WLoQKUI69ZV0QS6cbj3yOo12UvYeYs23YQOl+gAbUQrvprA9\r\nHkUWNjRr05VPJraYgPvbK30zppP5fMNgNDE1UVSmCmuiyeQ/GXhkbtJNmB9v\r\nLIg7CWfZE9+63Hu/WvZ3h5MKC/R4nqwYkwIB0IObTWOLHQ88j1q9Of6/7r2T\r\n9hj14wEsjFobsClo6GzM/f4ungvCAUFXORk8wzEj20wOAzOcznQ1vO/JLi1i\r\nPRMc2DtdVCS6boSRGKeJZJicxqu/ai2VPckk0zczK7jtmiktQ+rNjnU37x+2\r\nE95l32i9dZ4KPQxwpBX65T/ynIrXClawLRx6a2S/JNObarTUyPukRJHrfbcj\r\nMr4dGS/h6eQxOuHVnH/hpDNqXwvHzq83+9N86AO6bSS2OvdwFDlutFdIQG11\r\ng4HxZq5vvrwDFeCvgt6n2lvaLqbdBglgxFeFzK+cSIAsqQUyJMF1fbXU7Kyp\r\nWnp5iuipx/Pi+YAUhAmxTHsB5t0RyidsWsInaxYxwYnJvhdJyRalxApEEIrY\r\nRKBt8wkfyIU5DzkdBh+qZt8ewGJGYbBcyu6mN9XZFaedQS/4m1g3kXey8QRn\r\nYRDzL0UmqJ+QiAoZ2ezPs4/2d5KUCbn2oOvwM0LLgttjYpYKbXPl638V5qUd\r\neQ0scQRZ2aeg3gitUtVND79Fj0MmhBlLiM8=\r\n=rI3y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"61a3fbd5aadff46369076445db0ede53fc229d34","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.3.1-alpha.22+61a3fbd5a","@uniformdev/context-ui":"18.3.1-alpha.22+61a3fbd5a","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.4","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.3.1-alpha.22_1675104620131_0.739504700043575","host":"s3://npm-registry-packages"}},"18.4.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.4.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.4.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"d26973402adc60a5db4b8e1e0dd59854c835aa92","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.4.0.tgz","fileCount":7,"integrity":"sha512-sbIlR7SjHYvOA8z5MjpX9KtQ9ylabWRpUyrwVgPa8FruxU85L7Pnn5+BVWR2u8GknUQumV5KjRwqHw5zi81b4A==","signatures":[{"sig":"MEYCIQDsE+dptoAWfN0Dpkwm8zA7KZztEh/RE+Y7KBy1bnkuLAIhAKOm+BOgvtfTaqZTJmRUtWaqDJoil3qDMNFUxV9tzArs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2332329,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2qgqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoXCg/8DoM0TqYta+J5Vn72FByQsZLC7siWBWvJ0SabpQLCTA6+uGbc\r\nLhMEajW7GXwpH6RMNqfOjpDD/lMm7DScVfVr0ycU1uEW58+gVUoB5Z1B+7SX\r\nC4LRrZ5CDUUfaqCuwmU+MeFnZoDMGnMi1i+DJBwEn/3dz2ghE+frSQaldtVr\r\nP3Dbnt3WyuPF5T+EEV/cnLNusbEL02jXEzzZMcis7oi2CWn+R/VCJ3i1Sk5x\r\nTDm8l+U4d8sSDxVT273cq7jFYAqgjRSa0KLtNTdBxiRkvQeIugxroL1GZy9X\r\npJT6MxvwXlkYNg7gbk3KBozh/BuP2/hspQCwJHmjd0GJI/Z00Xuj+Cz6lEtw\r\ny35ECnY26l2a4SGqpZp+pLPtQkXZRYHHZadCC8tLe61/nxds9fRWIKhP88r6\r\n959wdrQYbWu9f2QfU1hrbX2KIH2GGUjUwtB7ODIW1T0bdE1eYzTQIYdCj1T5\r\ne8Pb9oMmmxrbY0ha+D7fHK8pD9zhuSsDZXiTqt0JLebQfIUxofxdfnYEY+ga\r\nZBBzzXjY5BFtqg+MfWCK3dStYkFewEZrZItwXru8+z08CqrO0U8SVo+wnKhI\r\nqNfTr9gCNni7KEaEZXgjEmZZynnTN5gOJTrVHEw5ReFOQHmrx8+jhDwzdY2v\r\n5vBE2wBzR5pBXDLaOhV/172x8zzKy7+1LGI=\r\n=NggI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"34456ffbb8609bfaa0c2e321e1ebea82f02e040a","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"adamluniform","email":"adaml@uniform.dev"},"_npmVersion":"lerna/6.4.1/node@v18.13.0+x64 (win32)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.13.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.4.0","@uniformdev/context-ui":"18.4.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.4","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.4.0_1675274281924_0.8844279270926092","host":"s3://npm-registry-packages"}},"18.5.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.5.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.5.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"c81fde0d50adf0f2327dbf882c5b93b74a05e70b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.5.0.tgz","fileCount":7,"integrity":"sha512-gcScRBcGCRdT3tmH2bJDIDrpdQ5mbAZGktBjttIDTOHpJYWEWm+eDxiqsKxTWIxitdzx19nQrTHSJPQAHPHILg==","signatures":[{"sig":"MEQCIC8msr/sUpFYe7uxnZZNQPSvJhHjIb/2LNxC0Yd9DQDbAiAUHDLrLzVo/Gti6VIjFOy7EoJfWkb6cOKBPYJdxO9+vg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2332329,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3AVjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqx6A/+KjoD/BGRQUwLCnS0QxbLfKMCpmPed5lu9CIqE0OQaKDIUBXI\r\nsUuMlN9Ub6GavV/Bmx3aFRAYfP/SO7NrhMs3MhyXCZSZXCpw+3j6MpHVSGuh\r\nwkgL97yJ75Dnd+gXer6Rjpv/c1PqmAFkN0ERAL2cXASeINbJu2TLEvptD48o\r\nTdrxMYN6cGmMLJ13bhm6fvGlRjeCNZNhyOGAHM/4bFWlUd+5+UbZQ+H2YGuM\r\n1pq8gvqqqLzcpkI7KF6jaxDGFKFNoOLQTMDNYNmWrrKAA2BThnW9rSQ6nHZc\r\nou/n3RQknQemmxt4LLyqOiAn8fko/lkWGi4wL/OpAcHUoCUqUV8MZVb6sLXI\r\n1UQb1rr24AAzA7pq/picZ8fQEd5wlsmu6DUF8s+NvaD6WL7RaQ0pk4tkpRn9\r\nAWuUUesYpMeVUm87QC1AUz4RcgKHp61gpJx9LYevENcJ4gxq/KFopOdDZ3HE\r\n31eiLoP9+w620eE4Pjy2rE1sdwf1OyuEuaQEmrnHufpX8Z/NsqQu1wr+ycOD\r\nUJ4FCT6/cKmSEuD1zqBF8VJ2Ft5tQHFKRXXvlFrezESY5tw3iVe/DVxpwb1R\r\nGrb5yLKBesmOWaCpmTw5pOCjCiLCr+6nQdMVBQWSmv8L4cE151Ltr4xuUQWs\r\nNRotdgbjj1JzoeAzfZlc++imae378Cqx6zo=\r\n=cC/r\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"757923e90bece28162621d867709e08674bdaa05","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.5.0","@uniformdev/context-ui":"18.5.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.4","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.5.0_1675363683644_0.20480131913270316","host":"s3://npm-registry-packages"}},"18.6.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.6.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.6.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"35a13cd80b98d6446b59b265363b26a9c41ff5a8","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.6.0.tgz","fileCount":7,"integrity":"sha512-hlmrFAPX19aYOEs4AEtqndw0cHdTYxe1r8R3TOpERtzcZ7RJPjsoBCbvqWaDiJ/s63ocTzxj0Dml6YMgl5FItg==","signatures":[{"sig":"MEQCIH6WUE4KEm5OABv8HedlOWPxiwGTPjlBKm5X/K0Iq9rEAiA+LVX4D6cZCQcgjM2CNd9hOwmnOAhE2qbqBiU6ZDXqSA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2334483,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4TkGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrvSA/+O53vYanfe8MDSdlEyHzypbKqJpYotUBwTYgHK1QDQdpSqnxl\r\ngH3ExGmEIPKIt5Cb743Z1eP+a29WeVwXGuK0qfSaM5y8uItb1y9caIH3Rdwx\r\n2BcM1hqeRTdgZ18arF4vcdC0js6Co9SBeSFDGuIQRudFEMJNWx7adfTsaT06\r\ndzLKber3mwrGsY7blOBVM27Vxmkb+itf8GlukqYJ0M1y8SyCByUkgz82OMzL\r\np2V3P8uIH204HCO5iFeqbbCwWV71lctentN9qX2y2KQ1jk73aUA1onmlBsLN\r\n7a0B1rEnieqZKl5R/Lm+14zUgJMJmj7WOvttfYyLBtTwlnZHvG6bJ3oKTTXC\r\nYzFJlRdHeXVvit1SH0tJW10ACS1FzLxGjmtguXSMqWsXdUZYu6ORP1Ady5BH\r\np7mdqDor5hzvhYXViLdZQl8Qqwe6VXljQlmm7f7+ARC9sSl5vuRed5Y0100q\r\nXHUPt7SEUK5Uc/ujVSFxf6iDnxM5HnAsnNKLWNFInqhbPiEKBEyEakd5tdYr\r\n1XHfmMBuZgb8wWm0RFDCB6JbX/iL5RHdSlzY96MSad99rt/W8ttOizFblBMI\r\nj94vuhuc8+u+YS9oAZo/ACDlDa9BmtEzcQL1RC3nL/a/sdN3mp4XYiAkFFV4\r\nh9xhvR2fTrQR3IbIu+Iue8fRhEUlfEK0jO4=\r\n=E2kt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"2e2b4d179180900386f8b3ceb30d4a854a7e22fd","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.6.0","@uniformdev/context-ui":"18.6.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.4","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.6.0_1675704582357_0.9779530203576605","host":"s3://npm-registry-packages"}},"18.7.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.7.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.7.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"3ace32b735b2268f761532452e458b7f87c3d9e9","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.7.0.tgz","fileCount":7,"integrity":"sha512-zqoHQRblBACqNq9QEvDimz+wVCfgAaZyNOqro8xkGay0pMOCH5JKMJ2XSqtKZw6EP5UTWRZav2kA07jUPgn6CA==","signatures":[{"sig":"MEQCIHX+OrwYFd0KodRLG/ecV32NqRoPV0U6swwM5Y7am2j4AiB/AnFNE+udsk9MXuPsMNHPtGUOA1y/AryM4XsgkF52/w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2335947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4pQXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpfig/8C5Wk6IcEPjlnmqgZXDi3SezqPAm4xU2O71ogXnLqTEe3ZAyR\r\nupNbROd0vJy0AgIJlGCfRFZHnMuKTJUBu5viH8qEJxhih61UXIGzyomftTc1\r\n7KunzLuRfqSHVky4GIFLPXmxhgTS/8irL/sUTutDSOXSX5G6VpFHfzAzjnkK\r\nrrj9BYMJd8fTsOjPmRe/97puB6E1UzeDVDEz8lE7iYTyt9bYJuQxo5Zw99kk\r\nY32jBwTZD7HgmqSF9k96pHDM/frzD/FX2Z1QJs141MMLQFqhTk3NsjOKimpz\r\nBIiOW1g8I2zf+RCYsQ9FkWYUSdoJjSrEF5qyIdirwwS/o5CWP7Lu6bQJAMY/\r\nzyjjPIFhNCKn847M3ZU0ezjhTlMCTa1CHH2pbMFynQmJIhIXqOSMgnqRoJal\r\npChmuuQW0sNWMtCpDWV2AI2qlMmAqe5P1y3XBTap1V57H/hhIbi/0IlKt5Ug\r\n5EiXcCThdv1OBsUIZkwe0y/xAw8j8tUfXn8p31yQ4F+N9A3h/tq5icR9JnA5\r\nnZrDhNNQXrBw4GCizXDq4n2oLpCAaBKxFLKEcOoWug9x02W4ahjAJhoWu8Ct\r\nfMcGXnhrGJqohAAawTmhLV6xpbL19CCka8a5VCJvN8aky/PpL19bGCXwp6Mn\r\nwHqa57fKuWw1RWDU+sT31HyiXaK6XejwDhQ=\r\n=yVcJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"eaf3d0e5c1c124d6b449a2f2b16b327d6f3d3666","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.7.0","@uniformdev/context-ui":"18.7.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.7.0_1675793431580_0.006656632883670355","host":"s3://npm-registry-packages"}},"18.7.1-alpha.11":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.7.1-alpha.11","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.7.1-alpha.11","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"2f198b0bd05982394f85232e6a0badeca0d49cff","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.7.1-alpha.11.tgz","fileCount":7,"integrity":"sha512-/Ri4mTqpE5VufXaf/TnINIlp3lcysdjCbryB5x/F5qwm3ZCcffKxziIXWpF8DgQYdo7M88flCByChTQb54nLOw==","signatures":[{"sig":"MEUCIQC4sY4nUNjxlMTklKxFmzF5vUBiJHm7/xk6MLnGb8JS9wIgFtPI4myfPXwepM1HsFbvDzIraet1jxw79R9OP8U04ok=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2336004,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5OHEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp86w/9EJKczdBYpM/p3LPAwNODr4SMIAyCKhkcwZFtOf6XYKO2yp/q\r\nU+ISWcKjVySgZIPsyPJFqO568Jifewva3hhx7ek+9ERLpVddo37wc5H22LHo\r\nVUeYkpWOE3vekkY4+ZKDqw5Ltbjv88QzABvBHgNwbIIL0QPUvBai5f8aItGo\r\n+fTttzCU8cUP6VUTRqgW/lNtSgl+aTmMsWYy+CenTAmTu/s9T6mL1TNhmYez\r\nYPSnNw38NAQ4RTaDzc6tYKWwmeayt3z+wBfnuXt2Vg7HAO4tIc3e6dc4ifhg\r\nUw58JxqjcBNRKD63lc7FmsuOEF61AvKNt0fOBL2tro/592CpieGcRxsaU5EL\r\ncTpgTpMwYWbstjY57LuTmwyJVFY6PQmZG/2EturOSBxaAbFWEZJJww5RvdZX\r\nlVSutBFV44R/CvZ8+NjbCT9zX/YGjjkZz64+HhXf2viVsUj4vb3YPzPEe+Yd\r\nApBJ6mSYoA3EpV9genJX57cYpMm478V1zmFCBQSK9tmzcxoWOvYWWCYKtNVJ\r\nCncPuEshmqF+cuJdCj67aaQQZsB1ic1OkKluC9Eh4iW7b9OTuV7pXQW9Zw1f\r\nuT2oYst7Izb+cueFNtku0UgyFrIg6ox3ncyRMEmbTWx9FgeHCBFSnBhhmAIp\r\nvbvEjKtVVMfjB2R8SaSgdUHzipaFWvbHqrM=\r\n=17Xk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"7cf93b7e693ac5a98f87d00f0028c43be13733da","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.7.1-alpha.11+7cf93b7e6","@uniformdev/context-ui":"18.7.1-alpha.11+7cf93b7e6","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.7.1-alpha.11_1675944387883_0.4069978435373849","host":"s3://npm-registry-packages"}},"18.8.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.8.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.8.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"3c29785b98e7d19bbef32f778a6c6f68aaff95bc","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.8.0.tgz","fileCount":7,"integrity":"sha512-JgiP/O5cCEhVwtSwO8fAzCdXAn+pVtH7a2vii9mqF3ZPLrB/4AtvaA2FkM7dZbK0HUODwnHUDK0GnKI7Le+29w==","signatures":[{"sig":"MEQCIGG6bsQ+yAJcxxB5fGDJp1zHaI8sZZyTTBVvgOwOrUt4AiAzBm2rH+IReabbC4dKJEVALhuNYq+2qlabCi15v/8qAA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2335947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5S2RACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmog6A/+K9EsZf4dzdhuZbq/GG9fUUNfwxPMXSzujZSOW8YLcen6Qop1\r\nPtSxsQS4K5+rT4kNreTnwV7D8sm4PEFb9aWHPyHilnnd4+qpaUyN1H8CKc2V\r\nOm5cXVdKrk8WB0M2Xvnd987NivJr7rL58CWzyl/Jo4H/MTC21xVq8hwIpBEz\r\nR2XwKwelxIJpOZ3AEJytmSaCEMPfqDD4Wbsw7PjNgJgfGtHmwErrsMIthizy\r\ntQauZaeO+mKUVfwD2H5cycrRAKnZbdbjktEDkf9/SC8WGfJdJyp4fUMi9fSI\r\ncKQOztYpz16TphW0VZJrksrnzx9l/yIthi1ezZwyge6LvtrtkPrprveBnksl\r\n+mc5oxegpYE2HWh2w7y7tn+Y21pav8YbSIzUw0HfipmnHFl/u1lNUes/wQ/b\r\nmg6l0LsWhYiTXAjLXwmYXfxDe1bUMQCSNwpofrtHd6dfKRPEbDbvPjTYNNt2\r\nRhiVWyk2/ytwcRa74/xUC/wMEN/d5feT5E1omNUK10xgewCbfDoY/rpAzkfh\r\ncvb+spHHFETtUpYhxR7Fq0JK8mOELkJxRvPfqyrWY2LNyvCbvsr7lz0WuHeo\r\nAt7rdB+Gy6pXdxkp5belooS5g938xGteICVcqST/9mfLXAYog2ba8AkBapqN\r\nlHXLrW0VzF8sS5t8eQZupYZokXb56K87XNw=\r\n=G5bG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"d1a61982946fad3479b8c1d5fdc89c241a5893df","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.8.0","@uniformdev/context-ui":"18.8.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.8.0_1675963793086_0.5525635832401157","host":"s3://npm-registry-packages"}},"18.8.1-alpha.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.8.1-alpha.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.8.1-alpha.1","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"dd749ff21c4ac7ce098d5aa92910d87821216481","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.8.1-alpha.1.tgz","fileCount":7,"integrity":"sha512-otgPUnIx636v0kT23bInIdknJBQdb+pc578bWvxdiT3oVCRE9YisVgrkIB4lSIP55boi4kVLk7YTrUP3SGdFmQ==","signatures":[{"sig":"MEQCIDk3JG5PvQ9HLiGWf+EZLIBaUuIVn7ClktS8lREPjOjAAiB5gblWMJ09iN+Sbw7kwkaOBwh9K/vlDfzBydLs13g4pg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2336001,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5h3RACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq/Dg/5ALxumIFk9Boi2gQXwIftij0SNcdOV4kzDLp3dp8A3nh38Ut4\r\npFr1tTEJDH8VAZlSwZR2cGIboulYRk4e1WIjsOcd1RD96cxu0dEeEJxUiMiL\r\n/s82rrjEptGCgBg/fqJdU74NkGGFlLCqlQmXsWXjDEW4oocvsxqAI9Yc0QHQ\r\nj7N/0EfjU8iezpEG8Orlh8RIy7JxQ8q7kNK6hrtghoNQjqokX7HAiMnEsfVY\r\nF3x/drsEeICAPkVQLDgwmNkKmq5bxxI61uj+5+bkcFvUZN9BLnFUqUjhaCAA\r\nys9rytG1ezNapAK3lGoDkcy8GBd01eWlKifFJQL2kyjcmtovYRHfWKkxv7vF\r\nR83pW6rJqQHR0O5XYG/pfSZC00IErTBbb5IdP8qfqrGf/o8cGaoitWuwvQxu\r\neGTn0o7cXeVdzkRsrpXAdF/2uwr84zO9hjeUd+hKdM2WN/8X+vrnxXHf2ppo\r\noX8nA43zjy10mUpmolNRwBigVA06FEvMUjh2dIj76SKJ4+vTSRRwr0pzK7ZC\r\nfTFtl0GOaMT/C5LaXdmc0zbwoD5ZdFY6veFHl+BBQ8iReWfv9EeYJkJ2hHDQ\r\nnfZgW3Ztx5eKQ4TPBg/NThXPfxhb4b/G3yQj5x1tLvfIAlWw3N9a2ToAG8aX\r\nGFd/KjIFWzkZXWZucAnunNau5TffvjhfW6w=\r\n=/XZO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"bd6b62da892304cf7aa52da4d5214858fd6ee5ba","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.8.1-alpha.1+bd6b62da8","@uniformdev/context-ui":"18.8.1-alpha.1+bd6b62da8","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.8.1-alpha.1_1676025297725_0.047021816340684586","host":"s3://npm-registry-packages"}},"18.9.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.9.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.9.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"9a13c7eef2ec01c9b7ffc06f3a3efa71fad97d40","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.9.0.tgz","fileCount":7,"integrity":"sha512-J3GJxPGjuQ54bQT14fK4e9RJF4Zttv4jFwzV/vROkoTjzdy2Qf8AVZp6IrhT/ICs9fR2oqvZ/1lcsnqsi6/jRQ==","signatures":[{"sig":"MEQCIB9AJISfq7WCtVO2bhSZpJ22R406eOabCiU9U1u1zmyDAiA+V6nRfivWjEujhl5B6JXEpPUNggX15agQv8isM56tWQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2339625,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6mhsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpxoA//cnen0VfFgdEFUiZOwSG33Pdk1WqnHrRmgA16WGaF73Lnu7/n\r\nRXA2HAtTLxSxhxu0d32eGtKrfGCYLb7/l5n8D7ZkSv+cgTr6sJc8FYRBl3X8\r\n6mvUd+AgvALt8xExuhRUjipfdWzX73ul/I+xBCa623mWonX/2vsOPLLf17bL\r\nYKUsOc9QGP+E0zD9mENclqXR4EBz6RdPS0ObvcVGoRuQiT8p9uLlZmIB7Lx8\r\nzt7+SEMFlAoASdwrZjCoj1j/HyX4nH3+WNOAnf9ttR+d/9XVv7UFoP9JiSO6\r\ntsFu1+NAFdky1k/VJZ4CCBXRFHYAodzbH1yrb5ayDvycKaOFPEi4HleJj7u6\r\naQlffqASr3bQo1R881QUg/+TNlavH1Su7ahF4bB8xu/MzZObGgKd6pZGZ9fe\r\nQBHxkr5pJlMzJ+kIEbky0FnEzL9Q5XX0Vq/Hp+iOrK+Q1WJQU9IMVTnP65fe\r\n3Krjt2M911jdwVJg43rJxGsgLE3erVugHMHwlXkT41V5NfFASlScD9WKqq9U\r\nGoKYVn4ec33u/+f5sBtcRygjvOLWDQeJYnLNsAASRz5cOo6y9CCihFl9/HUQ\r\ndvqC2D+BKOgH8NiRrGKh+bMRftvxacPdaWPeD4n/tOhG5kP+E1aXH1pUxuQ6\r\ntXncHwTDrVjmNxTLiQldwI8l5vGuPknSOZA=\r\n=bKfX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"684988a2ac324b69e6b4799e55f2d33db0c7b652","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.9.0","@uniformdev/context-ui":"18.9.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.9.0_1676306540093_0.9501967037774701","host":"s3://npm-registry-packages"}},"18.9.1-alpha.4":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.9.1-alpha.4","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.9.1-alpha.4","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"afab4a5a621896b2484673933f93b68a45787f60","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.9.1-alpha.4.tgz","fileCount":7,"integrity":"sha512-a4mWBaSSDO2CZYgOmA01GSCMzjykkXY7tpono8hamOnYFOoM7H3D8n34tlJxaKo2iwbm266A8vPjNj43S54rFA==","signatures":[{"sig":"MEUCIBvsNYz+Fx/t3xUXwZkML0GdBfyjJaHf72S2FnPyvCBeAiEA7X4LFFOhuRliq53+VjL6npUG35SSqBwJql2Tcq3Qy/E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4365836,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj64bGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmocrQ/6AnaYMcrg1O5T7LaKcq9pwBo/xIsTE/LN96KD88tAXBh05TdC\r\nsa1tjVnQs2EiufYVOWLfNOUP2rST4px4p6zmXeExAJOQkS+y6XF1+u38AhBS\r\nJeY0G36Geap8+SzfqfJpwPccDjyfah0poVRWRzgCqOPkeuZJuZNmq8P1Ed9Z\r\nD1rxXiqxBtC+SupxFz97R7U5H0+zREX8wzUxTPOwED+dl/cROIKsFuw2weVb\r\n25KMdBmTb/SevC9KC81d1DEKAQ/Z/gYBEDQEIBOXRiIp7PYmXF7pMOZaKcva\r\n+fZpXmPN3Lxjzab8Q686Ranx4TsaiQLKTRVjEjsd3U/dmpqajV2g6aDhyadQ\r\nPnQc9rFv0rLhFsyrvb8bZhl5VmOi18ynzTJGnDGG4TOHgyrdrVUWD7IveCMm\r\nM8zNbyWm3Zu23xmcJ/igS+L8HObTQOJYuobdTEgUKxkUjVdQExoei5LAH6Dz\r\nvJ7v0eZPEu9kdvyKLsco6tEDuyvwRVMRfss+kst5J9ghf3Bq81DFmPiUU05v\r\nW/9W1BoycfVskSykFW+ntmKEwUaQhc2Pc4YRgf2dSOtRM6KJ1snLKBt1IEp6\r\nWtRUrH1KrCGR8l66CyFCciUf2hvkQO6jICoTSlCG+fJswGrlaHthYEKz+L1i\r\nOhSvmkffrcupXgaknA1spihrRk8X5UPV6rE=\r\n=CZCX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"62fc5d7ecb13c2a8e74fab5b19524479c9d550df","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.9.1-alpha.4+62fc5d7ec","@uniformdev/context-ui":"18.9.1-alpha.4+62fc5d7ec","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.9.1-alpha.4_1676379846266_0.5165407163154803","host":"s3://npm-registry-packages"}},"18.10.1-alpha.7":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.10.1-alpha.7","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.10.1-alpha.7","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"4750da3ab561e5b009ffeff717823527eba5d154","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.10.1-alpha.7.tgz","fileCount":7,"integrity":"sha512-4LACnBy+96yPubJlotRAglKs7eLSyudVTjC3uO3JE1ZzkIMMATe7vN0a9oeDwFLUPZDBtQhn+sxISB37HTzEpA==","signatures":[{"sig":"MEQCIG3R1IYvTVy/aOZadDciC3Yi4aWqXiOPDU++mX+I758eAiAcVwNE/GqkmJrGyPt6muMnqWF9wgMfZSbM910u4+MJDA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4367306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7OoWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpiuQ//ZG3ejNA5k9S9lyaO868n3WwyoaMLz+Nt3aYigebLNrq+PPLt\r\nkbYxyuuXrInNY3PFhWXtyNDhgXeJ3tnP9Gk0R5V/J0k3he2WwpwucSQlT+hG\r\nO33UgLYFzriwUtcGK5Ixo8/DTZjKUmhxVyICaSddJaRpSun681hWhlXYIzNr\r\nzEucdsnC3T+/083cKW9c5azi0Se8mbgngGwuXOZDQdeeR2xrsHHfknObVE1i\r\nOSfVsgBah30GYZE2GyS7lIkP+rSV3HZA0QkoVzFbSstdXf2oUMDoJpJUYSjz\r\nL2dqzlyBfe3UG7Xcjbz6SIieuxjvG+de9+AfpqlIExqs2x05MTk4d2yzFpgJ\r\nTBg6SqoqpErPDUpu3m619dFWxHVw4+hxHGta1HX/t2LKtKWBFYEug4VKb3MS\r\nS9ZVJP5zWvu4A/4YEdDh3FjWfrlCMEUh8kR5Th0gTescl6jk2qYd7cpW/I8Y\r\nyf0Q6x3IGhUxajJMVsNh36toHtYsGTvTmJQjbgWb0iC4C7BqQUWQVft398Oa\r\nuFWKYLu40jUgXz/aXnHWXs4qlf8cZveRRmGV7Wurj3sgJ0rPN3bJUCNk59Zn\r\n55GAd1kRwC3/VFOcZmnRibY8Mn8KjHLo9FyRpIpeeIVbHS0oZobc98M2Otrg\r\nEyhl+he69SsswQPkkIn6QTgUzgEf65tHCaI=\r\n=C/WQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"f2a138dc52971e9e89b453928f938a84283701bc","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.10.1-alpha.7+f2a138dc5","@uniformdev/context-ui":"18.10.1-alpha.7+f2a138dc5","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.10.1-alpha.7_1676470806461_0.1536792202497963","host":"s3://npm-registry-packages"}},"18.11.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.11.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.11.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"ba9cb7b665c050c3a91a12078a813a4a53b942d0","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.11.0.tgz","fileCount":7,"integrity":"sha512-naEb2sXX0ovQtuf75d/ExqdmvgP03H66GpKqNeICVqn9wTWrHxEMS2cSLVUXLnxWsQoBTF/uLzcsvjfSu2CyrQ==","signatures":[{"sig":"MEYCIQCFy3wmT6wrEqAIx4A6o9X2K75S11L1G0CDuHn3AMNm2wIhAJg6dsGtrcgBkSXZNtsnOebUE6lGJ8cd2jYc7xyLQDdd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4367597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7QYdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmru8g/6A81XAVgaspUQkEImroHtvDg5ou5u0vkqA6ckeBbJVgBnCL0q\r\n0hHHMIlfoNZBAc7WtVjLV41gZ4TGJ3fx0KEe3ETXacqo0iZAOIuUM1vz85zP\r\npmxEOO1zGrQEf1tMYKzGTU2ZDrUCsr6i9w8O4Hgn+g7FzjuzV7UP7vaxMp6A\r\ndoC3ZO2rF4mz+ajhJYXSlW1Ij5w9cnXj4J/CQdJjVkZWu50dznXBlAawZZ+X\r\nXVGDXihuRV8Xu4a75PPfoioDAvxeAPnDR+pQl9WDkLTIxpp3eRezpleRFWnX\r\nedfdRAFtmM874yKmxX+Nu7rMm8rIHKUV8gZLG8u9HeOrKUX3qM6oXM08RDfp\r\nhbj5tng0ewIKZ8CZgC0fjocpF2BrPBRQ4tEYR9+g29QmZXcUhNZt7zrbPnjm\r\nmpMkX2LhA+naTXot5CPRJBufAvdTbrUvzrsjow19Moabod5d6inu1inhZ495\r\nY6zW/5MXdd9naVuMi/DBFik8kdJySf9eRpvPUhW9ABkQQbETwuXjTkNLAugg\r\nL5OpTV/bNTMb8RO+CoanQViaMV9CJei7VEpCjjdNJYpN0X7KQN53H/bpT0pa\r\nQt/u7zG+aYfSYqD6Ny1d2d/RULMQceFSyxjNxvlHNPct+w3fphFlC+48WzGX\r\n+PRckMcaebmFGEbsHyL244tPy6+lT11evx0=\r\n=W/i7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"87433008a407efd686f3ab0d37eb5ceece6e66db","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.11.0","@uniformdev/context-ui":"18.11.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.11.0_1676477981545_0.35798424039377474","host":"s3://npm-registry-packages"}},"18.11.1-alpha.4":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.11.1-alpha.4","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.11.1-alpha.4","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"25dc7d04e747e61256e5c4c7624cc813c2f84d9e","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.11.1-alpha.4.tgz","fileCount":7,"integrity":"sha512-2xL1GWVpO9CKysEHgd6GcgDUS21n1Nkt6CR66uJtb0BMHdYWmKscUnXqE/s+zPxX0SOrn1h6K2J9jWsTUa7r8A==","signatures":[{"sig":"MEUCIG6kYaKJGFj0gn0qkzn4eTx59OEvR4WN8y3B+yzYmbM0AiEA45BAeyRMcTPRW6ooTLD6voTMLm1idQuPsLzjZem3iJU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4367651,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7jGjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq6fw/9FxEigQeartpvpQGCq8CNMGtYU05l8j0XBdoJZlx7WFPtBcSb\r\nO6RGkE1cW0Mq41flydW4AUrzJBGQPZimz70dFA0r3dAVGq49nZYDXHEumo81\r\nXwoDDNrgl/Zz6RJXBn9xoIS5B54RpkNNFbKc5R7UHktT0y1/IIkl/Z/JRXMI\r\n53bZDNy2lAvJY/w0xTJQwAUUqHjT8+M9jVENdvNGrXzDuLW5hglGrmbhIShf\r\nDavdit05Ut+RNk6BRWEg4LYfYGEn/fgFcT+hQEjW/BPwe/Ik32mXsV/WTEFL\r\nM9bxVxIdnYgp1WodZC1+ms6p/fUIMT22Hkzeus28LpzXno4DF7kbhgLoJ9cJ\r\n3GQsmCxaNJT1yI9jkDEnD9kLU7NFdfjkscUMXMiBkcvkIpuHW/EffHxMPiXX\r\nOQTsbmDC2tKIEU8Ilr0APx19W1paWXXK3QoD+1oGX3VgwqGXx5jlfXqKuBEO\r\nmm+hIZ7Yw1YfYE1VyFFEjCsD+xhUZZxUBK4yze7f2CkMsovK0/UBDDa3yPF+\r\nj+mjqfpv+awloSv2MsccN+WrA0d+J/vpTjcf53z5E7tx7YG88yuwFbInzg4F\r\nG0nrTWeiwCTw4Xv9NJlnnmCsbBPI6VsLVzBWKzwCHUylRhoeu1wsvmzTCGJh\r\nYbfvZPJ3Rj2uXB8Jw/HZS/OYN4Q+xZB7DAg=\r\n=52lN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"66560ce3318690c0d27110357d13334a63e72d32","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.11.1-alpha.4+66560ce33","@uniformdev/context-ui":"18.11.1-alpha.4+66560ce33","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.11.1-alpha.4_1676554659139_0.7023795452364865","host":"s3://npm-registry-packages"}},"18.11.1-alpha.5":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.11.1-alpha.5","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.11.1-alpha.5","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"7d93c141423f919ba28758ead197535fe510d531","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.11.1-alpha.5.tgz","fileCount":7,"integrity":"sha512-LCh53wPVu9+E1JopJeE4F7D3FBtK2tzdRu7jMICYiNKB5qBzwKyveZMp1rG0sAykH/Zn81EgzfAc4STaiVoMmA==","signatures":[{"sig":"MEUCIG94qndwsDwsUrx2C5770R8bEXbSE2J54waiL5lMm0YwAiEAoacNALqtCbWZk1/dyz5OB+b2nkTsQKuFRzqogWpS8oA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4367651,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7kQBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoghg/+LSI0pYDU7kcNZD4Xy7W6+ILr0Abpb/CERqSPM8GBAeF7dR2p\r\nOFNjNbKZC/RX2MkowGEEQm6Szrkk10jrFp/yRkFQXUbTxvbAHXxUdVW7V3Sy\r\nrvasHMgv/eUojELxI/9iBWkPnBdQfTL1p9hrOWIRrJG1g3F763YUVBnrASaQ\r\n54cwCsehrsYLJOmZRCXQekaTFBfa5ha2TVGpeBoHN2/UhNpuwQDilN3EmOr5\r\niADq8vTGcpvapeo42vW4DFD2aYnAtdpI3e34BEAVQrNnnySjXuWx6wzBnYrB\r\nBLlG83n7Y4T6i4+r6HXt6kxlH4DN8NgSz9/+JJ8dO3iiPttuG8cHJUDOdsNf\r\nOIzvZApCJVDmPLmOtql9qzXu5G+hmsqhTgg4ZLGwu2faiaCY6iIdzQNyo8Tc\r\nkk0rzEg1hm0jUSQW26XQWG9Mcs3cDAI/CDMPQ3/vEkGLvnhsjrhOe4Lr4IZY\r\nSZZsHc7SFw8xRuzkt3UV0bTPvLbxcxG9hjB0SN0T5lUOiWu5sIU5ShAR9aVk\r\noJEkLQEDBdh/HuXwW50MG+UsKLnKJgWjovZ4gCaInhBustVekocRdXO80SQw\r\nqATTZ9G1eBunnx8Smke4q1lULXw23Ix1eiTd38jeTN0zd0EB7TR4gIfXMtDx\r\n1HWtR4KXN7uj8SBCzIwEhVRc0mdiJvzobp4=\r\n=eY31\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"f9e0478f758622e7fe503b1490a13ef102f54566","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"m1r1k","email":"artemm@uniform.dev"},"_npmVersion":"lerna/6.4.1/node@v18.7.0+arm64 (darwin)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.7.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.11.1-alpha.5+f9e0478f7","@uniformdev/context-ui":"18.11.1-alpha.5+f9e0478f7","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.11.1-alpha.5_1676559361136_0.6018436685607849","host":"s3://npm-registry-packages"}},"18.12.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.12.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.12.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"willr_uniform","email":"willr@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"9717259829681c7a6dea0e1600b41e6afbda9d98","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.12.0.tgz","fileCount":7,"integrity":"sha512-sHD3aW9ZikMD1y+0m04k6YJh2vy98gKIMu7tyZLOznrRlaCo/BbyMiX7ZN9+u4RHq0lNrgM8hqUBiK/4l6EWOg==","signatures":[{"sig":"MEYCIQDyQV3I9UrBXGBIIC490GcADJX48WHc8hfkEk0hhuuB2AIhAPlVYCa321yi75YUuU7YrXWuOBzZMW+JX+MQswrdoO4h","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4367597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7lmIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrIKhAAldF4hWKl6v4nC6ocvfbGwrNZUhyeNRSZpUIMngdq9jFqQOS8\r\n/L7tC5YhvUxT3l4v0CWQUbXJaQtjuTiMeDLfEdnQPSzVRgXino5/k0OHzLje\r\nm4IXuIlQxzJz1kinv1swEr2d69d325HcC0ey0x+jaUIOwL5xVZYRSk351FIs\r\n8+QY47gXqryIRgx0wpoetK4XhjOCsZZYuzQstIu3TXpWV6rLjqELmLm88qDj\r\nJPbXD6vZLVUh9TVwXuTWAa9DfOM36ZtAYMQG7eoERgc+JWbf5aerF/hqTUwL\r\n1wcZnEOzXUH5fDQY0SN74+CRbB7uOjMC7NZHwC0uwSzu4A8KnOZfjcCZw9YB\r\n/MkLMIr3oSItXKNoC0uWNPD9rqBLmTcfZ8gICDaUyQOMkd1FNGCMbi0cq4jb\r\np3dcVNTCQOI9FIVLivoswgRbXRJrpmse/Mfv5rqJMrWA0tuVTYG6GQN1OV6s\r\njpDv6j/LS55CkkSQaczavhIKe/GQV65unQoZV7ftcqDqmyCpUgvZbbhmRLKD\r\nqSLfKg6SlaE9cM6rMIQVkWlRjPidgyCUoTWBLIGgJ67+iCvglpeSRAmcD1Or\r\ng6I556CA7dscYfiGne4vGQUZ02NmtskSHjw98Fxv2q/GlMFnrN60ArYSGFqw\r\n9LaoUzouxCfvcdw+hzmfS+8y6tN46EiIcl8=\r\n=hCow\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"80d99ef272482848ca9a2508937fd19cc0f23508","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.12.0","@uniformdev/context-ui":"18.12.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.12.0_1676564872282_0.3106684459679756","host":"s3://npm-registry-packages"}},"18.12.1-alpha.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.12.1-alpha.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.12.1-alpha.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"58f2c44a0d8530c2e93a7556371c8bbeb3246bc0","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.12.1-alpha.0.tgz","fileCount":7,"integrity":"sha512-Z2gRI3PXGbDJlZwheKpyPCIbGQ6nVTPyECfjSbS70EgREwoOGOPkLGLAZ5Qs3K+uSjDxVpcQza+UgFJYBNVp1Q==","signatures":[{"sig":"MEUCIH9BJajJ/iw9QlsiuIlHSrlVCK3ttK9pHp2eM2TTtF+KAiEA/86PitGg3nWS2PfePAgLhHFyTLUSm9jfYFKbIfYvOn8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4367651,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7080ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpo+w/8D2B6Mk6+HKrTEo0X+F9BRu2DmLO40eW8IRvHvNtNkdlh4YCp\r\nyyL6UZ8nDdsETFP9rnQvphoobKe80lI6P5lr/IiN+JzFm1fz8YN3Pbh3w3ns\r\nl6tE+8dg81candXjh6W9UpNttFNU31TLZCxByiRdQ8BwuorVX35nQuQRWWbu\r\nn9bXXT68QbYFQfZmuqJvbsZTj10VlwE0qSVRJKJCNNxDVnGyAlIOqLQoDXNo\r\n6PPSjr6act+oXPnPR6Hs0aDKYFGFo808B35//ntcMh8j/I1xUxrz0cYQKOHo\r\nVJ/CT2HIxGEEx6avWZNSozcR6eWxRa9HeoSIAYEaRRiC+tImmKS+dEQT7Qpm\r\n329/o4qZLftLQiVLj31Ju+TZ4YEnuPawkOAUpJjyE89udCWSkDGhO+S3TBm0\r\n+49ZnCdiVsr2Vl7lqJVsoUxoCjd14OGD0iJT5wU54Uei2nXBFp+Bzjr8CvQV\r\n40x7AIf5sVgZMccdTNKV2GAl3Jb9UusjpwtZ4JA4SwepVVwBJ7CCJs5S8+Yx\r\n+3vRbGHdWEV9a1nihVICGv3XzUPfOnNZSsNLZw8pRlphqpenuKcBX+5P2s0J\r\n2UuFeMP+tiHWXtIKnzTvXcaUv9mQ6MJIgdrdF4Qsbd0WKK/O6NFv6glrESrO\r\n4QV4wn5k52UXq4fbaA9E64/gZpayYI4Aki0=\r\n=3YpG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"3a6dfdc173e0a04e23441bf0dc3903d3420e271c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.12.1-alpha.0+3a6dfdc17","@uniformdev/context-ui":"18.12.1-alpha.0+3a6dfdc17","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.12.1-alpha.0_1676627763811_0.8368353399850434","host":"s3://npm-registry-packages"}},"18.12.1-alpha.2":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.12.1-alpha.2","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.12.1-alpha.2","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"6df5f398336f0f2b7ef9285771e9aa3364341427","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.12.1-alpha.2.tgz","fileCount":7,"integrity":"sha512-bwhnkp8K9e5NuhtixlPO7rdGh423vBpsEwjp1vCPqDZgZIgTazx5dTmL9+MyghgcPh0QjqdHzEotw5dYB52vCg==","signatures":[{"sig":"MEUCIQDZzBeR7Pku45hlA+J7/w+6l0FNRkb7OggqOIu0HEUV6QIgUGEQQDKO1hIuGPeIzlIXby6e8co57J7rJDPoboXsqfo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4367651,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj71xRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoH4w//WrnZu7DqMYSXU4TsQTpAu3K3lfYvRyMe8lHwB2N5W3omBq6j\r\nx0gDDD90tAF0TNHihgMk6b85hbSTmUV0QYlaIFZ7Lzgea25/67M62Z+BxDwO\r\nyRAy/nuhw/Lqx1YPWjOWpUclR06zC8k9BHeGXzLRotuz29lQx3t5L1APZnB9\r\ncqZkRBMQJ+dCwDmbrrIWgvX8RNcjtwaMj+SOuEYQ/7c7PGHMNHAP8dOmfHoH\r\nv/nbkdn3HkuXPiOzpTQP/s/tx7jr0EI9JXsXnKREt0z5hOpxEyuhPKFBpXTM\r\nX2RgL7LhCubD9Nqg6dkcSMfRGzVPJjReQ5Y5LyymZEkx9ohz1HWO0ZCV5dAv\r\nE8ckTwBL8+yojA3Za/1tM0IMTAD3H5CpxuPxFvh2Mz6qA45Qt67E1V2dWkAE\r\n8RplqFz1op6rieAngqY/Ktc1f15dto2wg2d966OW0zvuRE4xE6eco+2DJDW9\r\nA/JPeysZZsQRiEkfKmbuoZH7iskVEZPSj0/bjyDMvY6eQM94hR3HXCWVLAWr\r\nctmqzlltf8fQm8KIkj37eL/8R+PbAJrxiNhre7A8oS3PTioA3EPeub/auOuS\r\nw0JZjojFrT/zt4vNAaC9YEtzaMgtS2Qmxr6zQ+9yPjndiEBwzAYl/YsARaJO\r\nWWXxGQsuu1YcSvguhlwtuvE872n7epeZaCA=\r\n=JEyw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"26f03dee375ec814540a63606cce5dd9f88c22c3","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.12.1-alpha.2+26f03dee3","@uniformdev/context-ui":"18.12.1-alpha.2+26f03dee3","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.12.1-alpha.2_1676631121043_0.9772217296225534","host":"s3://npm-registry-packages"}},"18.12.1-alpha.3":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.12.1-alpha.3","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.12.1-alpha.3","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"72e56e992d6f0f51b896df68ee7ffc3f36c9984d","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.12.1-alpha.3.tgz","fileCount":7,"integrity":"sha512-OUHLQAdCCmsUPwOLIUdO+4COMr43qqUBDF/C2obttslqpkElFf1hAvGe8wxATemKym+uQb+eNv7Ah5ZK4f1P6A==","signatures":[{"sig":"MEUCIBYXGh9PGCUronRUztK+1vfi9IIneLMOXMz4F1BN/R7fAiEAtpwl7LzH57msC6/o4ERavfm25HUfgEvZeTrNdYZZTag=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4367651,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj76qbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmosmA/7Bn8nKCo/UTrAhw8EQYQ76AyNGUtB+pgtuaJCJrtgKMrawnrS\r\nYx6VDfAFoMGg+GGl0zYq1Yx0lvi4NCr2CkiJDTEQYEjctIZ5JN9fGngwpOfj\r\nfwY/ZI0njqywQN9q4hv6cT+8FwKioUOTV4zp7+W67zGHjWhdly67J3LgLi3I\r\nMtVWygCALxlVM1Iwog5LfuQqUnUymHRRwZLBkjHVMsIKlzJ2cUs5bsQen023\r\nry3K58UPZQY6h4QEHuHEN6Dw+hy9aMA2FLAKC688rxWl+rTusDuFnBv+IJ8J\r\nT8fb6LyVEUzYANJKaUhUZwLcDBwsm/iIAr9CmCwwqqmBxAfXGpaRlcxqONsE\r\n1ey6rjWqYCqYmRx73xl0fiRGXY8iRzzo5ALswtSazw52Do4wIQjrH6wm4MhK\r\nz6aZDfoBUbbcQPJdg9DM6lafXdYJt4Hq9iNdmbuhyNbhVOTOst9w74aZWelz\r\ndExbK46W1PCCYKA6IA0ZfaM5QwFQmjYkY4i3YO40WoUeaNeM0+eDaN5lwCUa\r\n1t7et6X55ljuEKGDS3eAxUL94kI7qsmfo7TnFyYrQXl0EGMswj8F5onCN7k5\r\nbPAysJhCHquAnRho9sDXjDzOx8xcVJMKxeEZ9ibRCxtZ6zI0eRjw+oHgKiQH\r\nh4DGf29kZf9XHpyXQjPe2gZrBu+ztEai02E=\r\n=AsYm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a644de994a3272e46ed9420e629625feca639761","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v16.19.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.12.1-alpha.3+a644de994","@uniformdev/context-ui":"18.12.1-alpha.3+a644de994","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.12.1-alpha.3_1676651163011_0.27218880294126446","host":"s3://npm-registry-packages"}},"18.12.1-alpha.18":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.12.1-alpha.18","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.12.1-alpha.18","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b033aeb3502e9684f77a3169390d6c20120f8a43","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.12.1-alpha.18.tgz","fileCount":7,"integrity":"sha512-r93PCIaXxAhrMz2YqQg+pyiQnRQJ3RgY3Ve0wQ+6bgwq8S4omGJ9p1srTmm4ep2SDpFk/Ddo1PepKAazOhySSQ==","signatures":[{"sig":"MEQCIB+L0Oun6QhRTq5Hz5ZvIsQDHjiFBJQhOkL6QRCkR6O5AiAoqcKOkCrQv8CBZN80rXGOCU8SBq7eKB+bC8l6Bsc1yA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4367654,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9OYOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp23g/+IzQBUhZ/sCgCs0f5zXli5cO7wBtCRU1h+6UA8G6O4pG1Q4jJ\r\ncUvxMVft4RuCXdkzroxpF8KjCm5EtcsA5ZnEfidJfOyF7dPoetVFGL34Vl+X\r\nEQxVMlbUvSuVXHjUVPAFjGFE4U83ju7jCCiydmFiWYEdWnV9hN1eluH51NOz\r\nde+l+SA33pfpfvnyS8EE9oT6AYY7iWjIkQV/uW8CItD8JsiDHAqZfENhmw3f\r\nsB3KaZsqJXsdZiNFQLQBV2Aki/i2vj2mdnDHdEYfW9C7/IJ0A6Tqhr9zCrJY\r\n9uasmSvGr7fy0RP0tAHVd1rF3Gznkpx5MDYl2ooopGysUACVDLsoqcfXwEF9\r\ntZaYmG0osmLsOjk7Fg4nYAJwkKz4cmX4gv9rkTOcFunUKlqZraajLkXXLlen\r\n0Ti0V4yATxn2vk37CI+Eudo0WqAmTTMKLLryPihP9SL+dybIQaBSOGYaN/Nu\r\nWpIV7YHQVBWiFTrpDmvFUN5AJmgaNfvfWcsPFHRXk1ggzG9yCVuNU9rZJLlK\r\nUNU50OoDiKGJ4BO/VMIRqUJrjh7xe42wShpfUsB2WMup21W04K+yxIfz27OE\r\nhd+CeEAq91wgtgrQ4ycUXXJzowO41c0Gm1ijEiudOl3Y1U6noZNjqCptsZDN\r\nl5Xh1DW6y1+rWW1iHEHZIhL8zLxGZ+lx6jU=\r\n=7xFy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"19edda8b549122f979543430d69de751df221ccf","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v18.14.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.14.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.12.1-alpha.18+19edda8b5","@uniformdev/context-ui":"18.12.1-alpha.18+19edda8b5","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.12.1-alpha.18_1676994062544_0.7236931070517645","host":"s3://npm-registry-packages"}},"18.13.1-alpha.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.13.1-alpha.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.13.1-alpha.1","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"1119f229c4f37eb93b2d2fe3088a8e5fdc395061","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.13.1-alpha.1.tgz","fileCount":7,"integrity":"sha512-8n2yM7Kew2MlgjvFNCoZPXujT+0qmdmOdgjHs35sLFwfcPIHdF5oVE+33pmlntU0BompK+1KTvgKooYK+suKoQ==","signatures":[{"sig":"MEUCIQDWdnpHZoogR2nJqm9GnXVpx2I7KEQR1HbWYPr5V4UR7QIgEE8qBqy85EEmo3z/HLXeEoxQXBQ2EConft4x9Idax6M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4367651,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9PZUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpzpg/+K6Pnxs9Ya0nmjahP48WLMBtwGJX+t/H7mwHQnqdj3NB2ocoY\r\nYzyONok1Nq1R2KYlceGk8cLRxcjhYn9IIBWUwUUC2msdIPTJ7zilosHZfXdR\r\nGj+oc5fWB4isVXYKVqf3otBE8rq2Y5vqOOtkI3lrT1Pn++GNwWnLUvFOf2oX\r\ngrpEq/XE1zJKS6uXolj8/t/Co9WXk8XcvIlWQl61Cw2jo+mRw5DDN80yYGM6\r\nQb2l3nwWLdYsGbzzmc6jvlO7iRbH+fPXZPkn2RmpiQ2IkuXcFxiIMVV47+E2\r\ncuggObXP+y7fZ9ZzU8PUgKa8atOArcjS56S8YpeqYiYsFATwq3uYO3+O3l37\r\ngaOBUgabDrmmgpSzboBycCem76u2xmQuImtfgkrS3D4sOMtYiVD/qZ6nJ/Hu\r\nrXKhGw/5cMMBQZOgYWn0dlxo7snUr27xif2BIaozdZXn02P3XYGrPJWq6XmD\r\n+9LcQCflwwKR+rop/s9TCzJj1E62GuC6luh9F7pFlGLs5XBSgdlBYBK2tyWH\r\nE+LzPGSrBKeG+M7ad7cIt3K/C+0yGGw1SrT455gacWANdVulmLGem1bsfr2l\r\nAmA2O16l+pFuFd21b4EsRY+1ETbmVPlQVIGTO+F1IKrSxOjee7HuAMXzhg7j\r\nh3hL+l4l45vjPVfx1+WJod9qxKfgKzzLee4=\r\n=Ee/w\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"7d1f189b2affdfb7ba27640dd8d6df5620ce4fac","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v18.14.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.14.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.13.1-alpha.1+7d1f189b2","@uniformdev/context-ui":"18.13.1-alpha.1+7d1f189b2","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.13.1-alpha.1_1676998228209_0.9306612442646358","host":"s3://npm-registry-packages"}},"18.14.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.14.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.14.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"a3e5d0a2f0d9dbc2837153fe162cbd2828a80a45","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.14.0.tgz","fileCount":7,"integrity":"sha512-xgp7OMhKHavVV0T0Rl+EhB/9rtXHdifQwJNgGVJRLcB1yAgqpZohJ6j2SPgf1jY2ZG0jsg1dUoFnZ+yP2GVr1w==","signatures":[{"sig":"MEUCICLYbr7WPMPsnrWARmoRyg2lneAL29rpKzcJbW28QrdLAiEA69b38WWupZBiIQL+QFEOGex3bctFCDkEE8FmNSUD1qI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4367597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9lX4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqdjw//Vjh8C7chSx7Q22LsfyLD1BSUYqnXJxLzestRVxFo7xs0+AJv\r\n+KypvA9+S8pjdzsFvbuHUiRrrgYZGrn8YZfhz4zVV0I92OA+JHkB9pTIvdU4\r\nTZnq2aVIGMe5fG0kKUfeX+v4o/WvLYzYnrJ6yVhb493d1VkvdyNnWiSuZ7m4\r\nEAf03djFhm7CCicrfvo2QK7BP17DoAIOnL3PByKLaY5nyVyf6YwjoaTGMEia\r\nNHyG8oz+Qd5glgyWlaOcQK2XFcWxgbKEmKb44UYdr71AuBp3PmGEOGl8eed5\r\nhi/pBfwEQBzsz/FuN1dO1nZeoheTpzctl9BUffoeNc1l/QJNiLTTvjr9nMu3\r\nq/GFUNtLztF6IIJFYL3ZIcof8hOnBfPvljQvxkmhWfvGmsmhJhd8hU4C1One\r\nGvSKCuqmC8XUxZcgOh2WOydoEU8mY5OlrLBheHrURFTIL2sIoY+KOkjl128w\r\nfKsQj8PbPfNeA08+CCUq1nfpkGRvu6aHZQKiMlIHMMhcVtBff+mmjv3lbHbA\r\n2mPQsXxoAfNVM3XI8MMohEMEiBOirptUSPPx+hjPWgSl55ki+IEut9s21KyU\r\nk7kYs7x/FlSySachscfQdLE5+HPYCT2/Uni8lu5MED4IhWwXgAThSX/P5GGA\r\nfPXeVxV5Yav7YY0+sLz5ilbeBnEYOp28Drw=\r\n=2Odx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"43f1f11d6986b7b94c3287e8cc4b800937edb805","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v18.14.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.14.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.14.0","@uniformdev/context-ui":"18.14.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.14.0_1677088248561_0.08009750503538049","host":"s3://npm-registry-packages"}},"18.15.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.15.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.15.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"c4405bf3952cb71eb1d7cc89400663d3a70941ba","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.15.0.tgz","fileCount":7,"integrity":"sha512-MRZQhzyvX3Js/mfdArcCJoXQQpYRFea1ZP9+HIS831g2qdAWByCu9lPc//iMrm6IoPMhzXdJWc3PnUZhm2TCmA==","signatures":[{"sig":"MEUCIQD3RJXgq7ZM6IurWe8Sy/hv4gGe10FyVq0XD0odWbmC5gIgSPYVLeV6Ry6xChEKIIX5XxdNjdxxHeQiZZZxLH2WtHg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4368047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj97AsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrw4w//cFoplkwDnVjZaQv5laJoXxurVr6/OGFfDy2MW1J1NWkO4F1n\r\nZZyrcTbbpvahfOiIvyoQFNVXnLeqvKItK6G5SzH0iOS+4+FcaRHPQVpWbxvl\r\nsMSZiO7qJ72WeYqSSQA63dqieoR4AVqvD5wFGq1I+htEn0vj2rxm8VpHndvu\r\n2SZyLYMZV5Ii1XjI8OLfSMEvkcWFO98qs2TjkBhnGf834l1DFF6OaNA0cQEL\r\n4bKIZKCyMqma56tHc333FoVseX7BB10WqyUuXaihegJtqNYwc5t02FVd65eI\r\nZU2Eaea78yEIbGGLdvQFpB/zj2o0EdjyWNQ0c0SFhXoIAfe3CJwPDkx7NrKQ\r\ne7ccZbJQuE022gfrllemxKJN2NXW/CKWdX6GR+DD0X+sWGBlsg8mwoUvB0Ta\r\n70790UvHaIWsoy1B1avN8UK6pvLjbNFToGATRY+YNS5+2jBIozC7ijRGV0op\r\nOf+DaqYhcOcTg0GMWw1apMDxTlf52Z6qJoP2jsvU4GCerTCIDkat1tnFyUx4\r\n6RDN2TD76zPZjcwRtAjvxq1d71ssghZEFP5U1ReA5SzS/R8KPvyS7+X8hRji\r\nW7wPkVjvO8FAOSCl1tW0kTxDMbzcSPQZ/4doAui93JJWC4lhhu64RSD8Lmqe\r\n1Tk48w6xBLpuYdk73C3Wz8xprGmyR4k7zB4=\r\n=F8wa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ca810e990c3383c9ffb39bb67787f4ac3a1cc075","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v18.14.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.14.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.15.0","@uniformdev/context-ui":"18.15.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.27","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.15.0_1677176876351_0.8724293939693026","host":"s3://npm-registry-packages"}},"18.16.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.16.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.16.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"4a325deda71a16ad45dc395f0d2cf63b92e3823b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.16.0.tgz","fileCount":7,"integrity":"sha512-iPXbyvz3FC1Jw2gR1dbJ9Zm1dADXABDMK6UyciGxy8d/ZJh3r1K6XWpozfy5XjjxWvGlfghw0Z32TkLI6LvcUg==","signatures":[{"sig":"MEYCIQDOlaqUumktQcYKZxaL9i3CQGofbdFYhpp2ZvIc/Kg7zAIhAML7dC2BFA6m+LYe962rNolHBMcOK8Y9iYmIViT1w0s/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4368047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+OXiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmokRA//UHWr2ZCcWwBxWKctMb6RWYdXpS6Slmb9PRorRefz+Jw7IFps\r\nVRMSb1VvU5TpYlRxBeDuOP9GA/pCXwYHLyp6VGnW6WdAf0W76h9h31m1Q48F\r\n4999LciFEn7glFFhTIHLr9FBTvE+6S0ubJXnwIff757GPGRU5q8Lp+EYlq+J\r\ng8JaRUxmP7Etm3Jg79e+YTEH55Az955pi/UrPra3wyQWN3+EPt0ALAhMbW+H\r\nvLrPI9aTeGqwgBcTYpiWqQv274jwYcwSAaXgBY8UmZGm12rK9++Yw0u6eeCz\r\nloi8viuhSZvrySbPaotNdAoLqIvRhuQltWtIVdsSPXsQynyyH/hKwD7BiUwi\r\nl4L99rbML075k1QKRrLflETlb6TUb40YkuzmbEn0mz+tczAINB+REAqc68Up\r\nKzCeodiojcvMrNcyTIxVS9zBaoqmRo+c5zYUPDf2Vhsarsgs9ncD3VfTESv8\r\n8Z4pi8kroBKEQ37pKc4VgslaB2zEBuHvoDnJcXTiR2SyE3S9hpjju7v6c4aK\r\nU1lGp/ERfL0MmyYhucTIeFtcImQ/fWrjPB8z/9EL5EeRRsOp4NKNrm/Jt3Xa\r\nRgi2zUgBt7lJKFITPtJ49fL0HW2nA3brsTik6UIuFN86hkB4YQ/mUnVNnj70\r\nARkVBv8R4ddvYBXo6WejKczTLv9SNImDUv8=\r\n=kC+5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"debae7a8698824593e47c8886dcd6a5d4c4727a7","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v18.14.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.14.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.16.0","@uniformdev/context-ui":"18.16.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.16.0_1677256161931_0.5828075572548916","host":"s3://npm-registry-packages"}},"18.16.1-alpha.6":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.16.1-alpha.6","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.16.1-alpha.6","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"0bfed2ba672a55e4239a78356da2bbfd99139e9f","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.16.1-alpha.6.tgz","fileCount":7,"integrity":"sha512-BLkREtq10EJjgK7ykVE1lJ53SX2CIVWePFhRfmHXmVfoCMgnTcKj/nvSsMBxUD/JfkAXgrMtpsN98Qj8+dIw1g==","signatures":[{"sig":"MEQCICTD0g0Nfi8U7hJSgO4xbwkwMWaYgacfnUn0oW0yVB6uAiAIKex4tntuey01Qk37hxwv9ZtdKY3wffZ4HvhF0PopoA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4368101,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/L31ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7uw//W3QkfZdt7N7nVgkdAyddYqArYVkBw8Pi6ybuDGhz4YG3pVAk\r\nN4d58tgy+07jOCqIHnG1puAUCKe9nbng5FaO5+TQm8MBl76kWv0mVQAcd5Vw\r\nQw9kRFzMTbYVQg3sLONdoUJriPafi9rq/1R/FfnGQBnE1yzkMOEUhzUQPeDW\r\ngVTXKJGODe9b1KtRz6hBVBGIDtWKKlGJWNy5aKPD6JYLD8fdjQN971pxsoUb\r\nimW7SvCvrbs8GPY1l6WTVJmbBAn4HqjVbj7goLLF6YQ0IJ2zVj7noE0ZhO9Q\r\nTS5o4fqjAQLiR+xS4EatiysMUrZwDFs27I0nRq61NKkVhvTDWoqJ7oPVoStS\r\n4AM88TEKT0Id332G6m449Tl/jL0tWu31TwHB2q2Pg5lYff4lohm9nyVpw+Z2\r\nROBelY3niSXFTIUm6H69xv24tYBdSFL1m42nZoj9VmhymOE3rSyI8LFw3eop\r\nk15E2GWB1VcMeQ3jK1fCfOvRTj8B1Rca1wD/F4omzlm4a8jhZ4E4nsiMCwwg\r\nz2LDg4v5rMidEelAvoPgjIL98I05ZfVn4RQC4MwWkPofuqr5q0wM2RRM18Ag\r\nCB8FcZ8vLnrN+NwJckFtkfJNLl3Gu3p14oyH7zKEWO9nyKXqldcCnq523Cle\r\npMbcMgjEdc6jiFwsCkfSkRE3mBMRWmzx/2g=\r\n=Y+tz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"644024d8ad8a3f1f9341039c8813f03058068e9b","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v18.14.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.14.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.16.1-alpha.6+644024d8a","@uniformdev/context-ui":"18.16.1-alpha.6+644024d8a","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.16.1-alpha.6_1677508085220_0.16096736612114126","host":"s3://npm-registry-packages"}},"18.17.1-alpha.13":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.17.1-alpha.13","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.17.1-alpha.13","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"877c0339ca64514c792cb6219e4f1f510ccb716b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.17.1-alpha.13.tgz","fileCount":7,"integrity":"sha512-30zDMfNZEnDyLrgMsrSGIcYGOKR56sp10hjmxLqlvfDUhoeJXK09hDSaY9r5cIc+UDD3TE37+3rjqgGdDCBieg==","signatures":[{"sig":"MEQCIGhy8vDXkG7nKJ/AscjwHW5edEDWYJ3Cf+M5IcM5XW1sAiBb44CPflUf7no+Yom2WRmh2fk/nlEgG7bIEZ7+DDeSwg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4368104,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/SpxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqK3BAAkNcVIrY2+LYUcrEib6ktEJlAKgo4AIa7TWnQJQ19UFE4lv+W\r\ndzTbENnRaLNiq8XrmxiIp56rhae1DaUmCBG1MOgy9PPlm0jTmeGtsZZUrqqn\r\ngukjooYbxbRlh+/AI5a22+1RrIndWb345kfJTDnspBVtswvxzcbnuWyaSTTL\r\nnk8Ne2EQL8tWz3LAe6Il1TzNeltr+WT6eseO4HvabSINvNWhvF9LJcWGXO0/\r\nhZ19nK6nLoJHs1bgxB85AjgX3fO29pMDrVMXXyG/JRJUmYIHSxg0dQNIfpBc\r\nM+FgiKJxXhCePc1csGVy2m5x1kQvSo+gR3LDdTIYZ0i4oGm2khYI7G4NFTAt\r\ndPrXziSAFKpr36E0BJK3rjO/C9vFBHvW6cF0PzII6jA4k9G6rOkYlPYwKmKm\r\nVMmuTAm71bM2Hh2XHhAQT2+AcXJN+lJkFn25jQCcCJpHVgpJxArtxzGsExIU\r\ne8Kx7/BqGL96gj0i9zdwKBp3k13L1yAvtD6cWy/2ZhqrkxlUDylCIBeBv5ju\r\nt43b/10PxpNmTs3UU4YDsQrtzE4D8S4Z1SuGNVvi2EMMhmqSgwHpWCUtT/Ix\r\nFoJYkM3Gajnlhc4X/SsZxH5nBFehjzw6wdFsUWCY8mnfyZ9bD5p/Sxf8Rw58\r\nGh4lDdWTfCz+Ve4HcSxY+1LBopUhBJZqG6o=\r\n=f643\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"77f2eaabc380a8251c040f8bdd21d5451351022f","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v18.14.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.14.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.17.1-alpha.13+77f2eaabc","@uniformdev/context-ui":"18.17.1-alpha.13+77f2eaabc","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.17.1-alpha.13_1677535856811_0.8714221759805125","host":"s3://npm-registry-packages"}},"18.18.1-alpha.12":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.18.1-alpha.12","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.18.1-alpha.12","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"4a5a20d99654ccca2b2507fe72b5a12202df6719","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.18.1-alpha.12.tgz","fileCount":7,"integrity":"sha512-lUFkZU3UvBaIz/tjtaFwNrV0b0PfbrQC6R6shUlcNpKB2rwJPlNybN+Mk52I4QL3BGWgYA8lQaX9WHJh6lJZ/Q==","signatures":[{"sig":"MEUCIAkHk+IhohkAJVWAzDPNzQDl2n5ABpcDpl9W44SgxO8lAiEAyj9TdP1PtzMMgh1OS/4dUrTEa8TLLLqNadoY2t2RAOM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4368104,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/xiVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqVUA/+LQmRwS4oLZsSVKeu8Ml+Qn18UOH4ckajsfJbjbrzyQ2fYHyd\r\neGngqGPt0lMwl0SMj/ItPML0jQTcI+FD0E0ZbH6lpWmXlQBeUh8Y6d7l7t5F\r\nTB5VugCP4Wngd1H24eDxsesb0apGfQPNgcW6g4cLk0oMv6YNkKVfq6L7yaga\r\ntk1bix267I/FqupQzMLQxWQycpecToXlvthLt+Vb8CGu8POlc1rZGabl1FzO\r\nE2DeeGp5GS2/9qWBExt7j05zFa1RD4lvCHfAFvk32zvX6HlKAmq4mARrVBzk\r\nX5R7jd5AwdCwLpX1wnaBSkb2Umog8kCb+QSgatxctKg1LUJpjFagdH/svOXY\r\nS/MwW39N1EukyENdYtJcSGZL1LZnGlLZht5QzcNxJFXUOF5iu+fXKp3vQyAD\r\nmfnCvsKWelSndcd5BBM/jaw1MIHkZNRCF00EbfWsPsjGc8zH4GJUJfyJ4Phk\r\nblP6mEv5f/CVpPoqgNh4MdSuY5gv3GkpgY1qW93XtKDEl6DxWP8yYJaZhA3X\r\nuln3jvUpfv4kUdp9yCWcHhimxwK1j8BzZkPkS14fJbcdagOK8g2wxzvlnv9g\r\nfGCb21JLOZLMceSZKaIlt1g0pu8tmli7OS25K+l3+uuTfOUbhq9uNz9QLPGN\r\n0xAL+CXprWiD6zj5sWykUYxWc+hnALtRU1A=\r\n=4MNL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"e9f4d7eda7b1b425205d0be4ec736ebd5dbaed4d","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.4.1/node@v18.14.2+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.14.2","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.18.1-alpha.12+e9f4d7eda","@uniformdev/context-ui":"18.18.1-alpha.12+e9f4d7eda","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.5","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.18.1-alpha.12_1677662357653_0.5293307802726261","host":"s3://npm-registry-packages"}},"18.19.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.19.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.19.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"022cb7a6cf2d8cdd412b1bc59ff2812e1491461c","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.19.0.tgz","fileCount":7,"integrity":"sha512-ixosWOUcFd1E9N81YrI395ROy8YWAB8eIOcaSffNr1R8XSTpwtDp6ouahlPXsDtq+O7NtyKlHegU2ZWnwoCI2Q==","signatures":[{"sig":"MEQCIAyTF5iDsblAaWot4a0HR7mTB0p1jcOtTEPJKuQs+xAtAiBAxpbV5yOHS2cksYVF51QdyMr3jZUBx+fO32qm0ERJSg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4372039,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkB2aqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpVvBAAooS+KRoY4zd913xMtM+FiygBUDrRlHX9kUQT8st1VnADf+Cc\r\nEWzZH6+78FF7PsJiF6XgJxA+Amqrp0cUzFTN/xssfzQt4L8Vj6iz/9fhgM1D\r\ng2xmh7ZUPmCjR4Zw+IQ1DVRRhltVOAc8Yo25peWLtclMZbXopTVM8EFLVpPF\r\nzJs4k3S+MYz7fghRojj9mNyqJZIj+rhJ8VzXUfKWDFhV+9cVF2EWO8zsPuFt\r\nIkmqwUMvraEWpkLYIBaVcL8Cd24GIJlB454iJIcNdPSUBBQFBFdaI1Bb+csU\r\nowzBC5ONm7mS5MukF7vGjnRIWq6+xz9A6syf4eaFH2cv1CoXR+HY54UCiNnE\r\nvhXErPkOFWeGxSKs2koOqBKEulO0/Repq2pWdsmoHOSHE9+GEnOwoPIJ0tNP\r\nIBPJo7AypAQIBw3Awdgji1AAUFH//yUlnrTPYULTVJhb9g3MmqzmZddWh/EP\r\nPs7EGqMosn4AZ9ZmGLmfiD/9sUY29z1yDO6u6iU2rt9r4DyTPuODwDdgMv3w\r\nhuAbrtYJhsQE8TvjxBPXvie+3+KPzh33Q0ifkJf1mlQy3eEUYeft1gRrMgZp\r\np5ZcnJTDLG7GwHHxChEHjxvglAzY9C/c93jRQ2caaWzJVc7yw4T3CUE5lfjY\r\nvAsV1L6DWgtEZ2nOKArtAnf2/Jbe+FrKlpQ=\r\n=Lvbi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"bd4414826a6d38b928b5ba2ea68e58160b784562","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.14.2+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.14.2","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.19.0","@uniformdev/context-ui":"18.19.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.10","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.5"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.19.0_1678206634690_0.5951362624636709","host":"s3://npm-registry-packages"}},"18.19.1-alpha.7":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.19.1-alpha.7","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.19.1-alpha.7","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"1afdbeed9402a2fbc3fe61cb7d286ba121e1b495","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.19.1-alpha.7.tgz","fileCount":7,"integrity":"sha512-FL8FtmgARmGfS1aHatvR6WQnmI/Upz59qF9z8otJR5RBYxnYqPpuY1Fgu/a8OA21rNo20EWQBqMuWP+3+O3TkA==","signatures":[{"sig":"MEUCIQC2jNAKt+YD6ixsxLwjnSyhxRNcS4v+ZKis3b0HDhmdGgIgHtq8KF6P3/T1ORQrdNfwYU4wBfvh4eiv2gFebIHjpOA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5052486,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCLPuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqrKA//Sne9C83I/RETNLePu/n2R4zvqC4iPm9xHI1KGvUXeKZ6WI5y\r\nJBdyS47p9dTiBC5r18kCHQP7pX0ERUxxm9qG0gj4OEk1lJtX1Eyk16aTIFBf\r\n9CsEgTo46oXjLnxj4AzITdViN8APnLvGVAIwmHDcP64ZxXy2bgYjJq/Uzvbz\r\nS4+EsN5fDLoMC3TeQ4bMxdZRhE/HEK3ihx8/qvyk1AY5CaBFLM8ayKelGk1G\r\nkMQABmxslO+inFAev0G5ickfmkA6dJ2XEPRedfZhjrhFahrOsVhc3X5Op9FG\r\nwnDnyUB8jlxPemj7MAVKxTis+OPcg9M+Obs9X0kQhGuhzExuF+b/sq5zky9F\r\npwH+EH4z6yOzWfGAbXUpCOIhiAHVB2cWv2FfTWilJ02ABrn/iwN0bs+XufG4\r\nVEXiZZzZmuNQA4WDgtX4KHPKdXXZBwuuDfwzWTrFTYzxu97absEFfID1tnwa\r\nP+InwIXjklEr3/12e1Gz2/6EYVFPRLiGuPsUVWRwahUO4FhVJeud02b4Y9hw\r\ns3thS/nuI5FQajyyyI50p6pyUR8VOojSQ6LXHQmPVD8xh+iaKVdOeQvAlpFZ\r\nEaolm27zYsOezMnKc30nkZipRk7+1UZlpa1br3EjMjCgwORGCda2hcs0iRpn\r\nkrhaPup6YOcu5rKiCcZrRKMJKxYDFB2AlXc=\r\n=lDSa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"b4918b2f547ebb0b889528bbbacbc930cbb66694","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.14.2+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.14.2","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.19.1-alpha.7+b4918b2f5","@uniformdev/context-ui":"18.19.1-alpha.7+b4918b2f5","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.10","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.5"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.19.1-alpha.7_1678291949810_0.9974551748201257","host":"s3://npm-registry-packages"}},"18.20.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.20.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.20.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"55ef59778771f1b1df98214d356bfc57338f5414","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.20.0.tgz","fileCount":7,"integrity":"sha512-7YZVW6TE1NeNl+sTXn8zWMqrF6mLpukZcJ6ZdVp1lC1tGq9hpA5Mz4iK7LTqFRiOpjva2fb6isl+5wEiONmkiA==","signatures":[{"sig":"MEUCIQDPwsNuf5TfGNpYXYd0nATF61jA8q3YeloSaClHRvjbaQIgeYS4wtpnCb9wgkrs6G+Vfc04qtGBz7tB6Zm6YJ8mff4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5052483,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCiEdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpKyg/9GDjX9vxPbPzk7ozdPAdZbt/125xvXcjjtb2XqztrEhnc6ZkT\r\n2RNDioRv1Dtj/sRdjJeEzLGjHp8r6vpORVK7Cd61vVQBUmQmZnULWk3aShsM\r\ntm9IuHbzm2CFUF2zGNkzAU5TZ5XTDkNMzKLkA4EPtjYw/cJ7qGPZxQixhdjW\r\nOWmNt7JsYOdtrsfSfpgD5GooSrgcShSk6DsCx7WFD61+7tT1HT9YHZ1WZMaP\r\nR+G9g5ognaqXwPpMu8pJRrQNJ4qPqZFxSVPnCTSDcRKOnG9NDUrKnu0e+a8o\r\n4zQhME47JFT3r5m7pr7kNRuh/uEZfvqqbjsbQysOB+XbY+pjyCREbClw88zG\r\n4hEgSuCYAJQAzDA1mzHMG1Ux69+yNC0a5bxBIW29ky9CKGBjs3sx64yt+ycS\r\nr0mSmPwpe7QDf4+sKKew+rmxCaoLXlbfjLuYLBOolDP+gPlKAHvLX6EgJV0L\r\nCYV9/oLFIbZQzAkjuJ6U1dL7uxilc+xBywGoeDgiA+G7PBuhHz1I8cBcXpr3\r\npmFJ1V/XvdQEN6t4Cdyw8ZyzaU9PxR1lIDMMGWP1Xe/XqjTS3rF7gcB3U0P8\r\nvGsOqnqvL4e+OkBaAIrR2swaOBzqMo4Q5MXoaMo7X4OPwYZg8QfTpnn4HGPv\r\n4VO/UgG6D6rrIvh/l+1Et3/lTPkCSRJUXp8=\r\n=aAVR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a16271ccfcd23212b325176c726f52b7fe9fa890","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.14.2+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.14.2","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.20.0","@uniformdev/context-ui":"18.20.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.11","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.5"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.20.0_1678385437397_0.6652505326552949","host":"s3://npm-registry-packages"}},"18.22.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.22.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.22.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"170150af7fa04375948fc9e99a7900f8a629c611","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.22.0.tgz","fileCount":7,"integrity":"sha512-YK1bjjS7jXu9YqkiCXtYtdxOFyQ2KiXkW4uEi1q7vsI1SoV8jgvYvlMwGtLOBFmQ8irxfs0JHTPzr+2wc0jf3w==","signatures":[{"sig":"MEQCIBXmhb/WSZEbBxjkhgbFZ/qCSsOYMPfJKoHnAKOfNb6VAiB16HE0qyapbHvHDmAFIGBEGEm8OFiZwB+gFqssm8et1g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5106850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEKzeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoACg/+JdAVwtbps0M4F4kvxin2RbCtf5warYffWDmeYy3IZTk4IpQn\r\npPYpQ3+JT3nFeYIi5hW7RWMpI8E2+1m7iIpJKEKDH/vKN7wkyKz/KLy4TR1M\r\nezMrzTix2aezo65h06+U3rzPXoXsBpIZ7BpN/oO2XDi9its+X7m4UOKW/X3t\r\n2ogsly79Ag1Cy4y2aAs+2BxrfTXvhW37FUEZdvFJzWUZ+graVUiPjzlnGEEl\r\nKWJni02iyGWUuPa5pOLEZR31/UgAzwobuE3XciDUDgLAzq43U1beP57cIqs2\r\nlo0S0fLaagIM/+hese1qm1RG+t8r7l6c+aSOTzxA9fQL/ANjiMYUwddktU+9\r\ngA3tiIxSBXDentVCtS6n5Yz/1aRt2Jeli86hZw8egw71lYAvRtzCR3flzGbi\r\ngbtsorC5uNWMrvd621YHUxzbk7AeRAH9qvPXDOXmTFsaidvUhb1PaTIoxsOi\r\nlGn2mLagFS9VKX1GB2TUCAMIlj2kSQQQKiISgdMrU+/UO7DsdJG9Ubkh5Nxt\r\nyaiQfjJyEwgCLLFi8Z5j7HdXiLpj+QhrPeIOD7QJMmRhUpjpK/S2BT3YrAX1\r\nvCZHmJEMKXKFiN59lIIRAbSPjdYT8VYfVeYClxQXNcmF4R+3fRwiEZsM1cIn\r\nqYzMPgE9qKxu54VF2GKbcQkue99PcrPWE9s=\r\n=wzOM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"55125ebbd2e43c65946984dbd1cea417e089f75d","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.14.2+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.14.2","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.22.0","@uniformdev/context-ui":"18.22.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.11","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.22.0_1678814429768_0.2929673506764279","host":"s3://npm-registry-packages"}},"18.21.1-alpha.4":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.21.1-alpha.4","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.21.1-alpha.4","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"62cef594e5c07c545703c8ed8b3624aa5699f5c5","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.21.1-alpha.4.tgz","fileCount":7,"integrity":"sha512-DfH+6oLFgL/dbSc14Vu2emKPowS2wPSoPVm/YGJnGbSJhlbG/LOj+KTA9QYSS+4F3Dr2ChUzkQVEe8d+h9gGbQ==","signatures":[{"sig":"MEUCIQC6pPb3KYUUJcvMrFBagSVdgAK+G63lxHoEFCWb+E0XaQIgF2voOX6+UnF7GY5GEvv2B1UJoi1x94FAjnnaYWTvlxM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5060227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEMBSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoI9Q//TX1cXxj+CoM11a1P0uitIEgDmknKYgfWEQdqlZIA3g5WLQ+Z\r\n/1LDv3caJWrl2lzj6iyPQigA/zsYsC9XYl8nBQTppzpsKl7ltZYYIe46TCNa\r\ndmkMEFFKaqhiQorOidGOPOVX3UL0Z+WA7cua9EHFbwL9iAvGOtpJEiLl2Eyg\r\nJ1RST1U/fUqAqof92DqsPGW/i31daTuIm2a9l1tkBiaeLt+0KNzQS0ZhDKNc\r\nWI0KIje9vJ8yEvr3GVToIJ4Ka6TeuFaJBUypbOs8E3+KEQRYGEVHC8L8lC+Z\r\nbQ5vC1dP430AhWMkCI0aySMAOJWPKhjlGioGfWF0fsh7sawG4YbzsqqvDUa7\r\nSzEmQprWMt0+BobFROlMyexuuplCtPbcIagjg9cXj2d/NSKYlNm/oUtRbkg9\r\n94bimIEva01a2P0poZ3a4Cl1SJ1sGbkpmKlLZ1ecEChDacr3YGoqtzvXgjes\r\nQYrGHuxEkuK8GOkoyR8gbODT1zr9Cun7gRa6ISSMruNoYe0d7X9cmkMcGWFg\r\nk/GHYvK73ul3gjt/QDZfQfxCC7X1xZbihZv+l0FupbcZbk7vG9SK1rf0f+3B\r\nbfVCz8+k006RqGir0WxybYgManMURypr/tvARGxk93Pvew3M8nlQ8ZJEgjBu\r\nMM0mWzTy76FPjPwHUQ4CQe6VRsjyFu934es=\r\n=D42M\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"677936e4a7af7c7c738893d83a2afa8cddbb7bbc","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.14.2+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.14.2","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.21.1-alpha.4+677936e4a","@uniformdev/context-ui":"18.21.1-alpha.4+677936e4a","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.11","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.5"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.21.1-alpha.4_1678819410065_0.6661329257052044","host":"s3://npm-registry-packages"}},"18.23.1-alpha.34":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.23.1-alpha.34","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.23.1-alpha.34","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"770455bc34ad22581ffd11496687ecd07b11dfc3","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.23.1-alpha.34.tgz","fileCount":7,"integrity":"sha512-veMQbzGbs6FDf0FaQhIErq2gvCN0D9NRvSupamPqRMBY0f0lcGMGSqNw8Ngco6AruJPPm+1Ateahpvjw5y/iTA==","signatures":[{"sig":"MEUCIQDLN5MwPezwJGDKNdoJIGWeGamM+rK5q9liI25Wru6SPwIgeDHjahzwqJgC5Idc1mb24+ne9DqFZVjEHg6mToV4aOE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5107944,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFC/cACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq2PRAAiMJCUL16gDdvI3YWDtUHAxwiXBsWhfAabajs9yg4aoQycCJw\r\nVDukuHPGMRIdyKr6w3RqJOxq70/cLah8/lKxo7EMKylT/5MU7wGyd166Z2DI\r\nV7tazbfr7EB3NnM1qXpqe261Vmfy+EV5PH6elIUI6b4t6UZzvO83zRVQmDwB\r\nOkX86PUujR8G0hBckO7gMnBkF2DriMFaUSq+WMYL+OLZP8VrRWmKRWfOs0Mz\r\nQtzfOfLIwIst6iZ/m23tR3USjha6uUdqil1LH+YR7P3CDF2by6wJT22VjVsb\r\nSV1UzJkd+O8ttj7sVIA/SwEMa+q+8A8rg4UcXLyq9E8YiLWyuxL8sCw499ev\r\nzX8ZpE8FyXF/ZmRMyfuKhyEbx4kheiA1mF/QRvNiD+1opFWLwwBSV9hgZ7cl\r\nIzyy2By5JnHSB7Tb2usabG3WgtT6RNMtgjC6f/2U6tTidt+IKLXU1Hx7YfnJ\r\n4vCcICQjcMhX92k9wtdBbtW4GdbHZxz2KVs5qBtiHsBfYJOO3bqSk5Xv6r7R\r\nyiqTo4G/Q5MYiij0Mq7WOUV38oBIMiHwkL2dvqg8IKKq2EolVbjElniwXB+H\r\n3TZwI6od4cHwLoHwmxoWFnCFE+4ziKzIedJZ4fxgy6K8q3TUoMdjr4LuU1zp\r\nqBlH21mYymEUemIdvpAvffJSG2u7XLomrBA=\r\n=3qnH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"8eddcae607f5c8b7ef9f7752bc11e186eee4305b","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.23.1-alpha.34+8eddcae60","@uniformdev/context-ui":"18.23.1-alpha.34+8eddcae60","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.11","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.23.1-alpha.34_1679044572643_0.3226209978445971","host":"s3://npm-registry-packages"}},"18.24.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.24.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.24.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"6f311c2c9db48345c41dbd312fea4189b6cfb315","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.24.0.tgz","fileCount":7,"integrity":"sha512-4dbD7VGSrV+W96aw4rl0zFtIMt7P4FhgqEOXgzNhVpFPLj9lWOOZQ0rJ6Rg9tGiltWsC9VYGkY/iglts+z2Dbw==","signatures":[{"sig":"MEYCIQDbtTvHp/uDDLr+WwxUq73uGkoQ7P6nYvPUM/EmZ2jF6AIhALobbdxurVxVDEDWHhgddWBpBPwAIhcbdGm115O9tN48","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5108585,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGJYRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrsIBAAliDWcPKRnOtFUtiUDeWOmm9vSUdpn2nUUapAtHv/B2G1FYq9\r\nh5tlqY/i20ZBHMvAZeCvoENSWS75kmGQS/TxhHFQdXygMmyLKnPHNRt/SOu5\r\nxtGtDSmfhHcf1wOtUU0S8aVteRmGV1WOF1PxEZKPG104Q0nrbEPjrvQk/sZx\r\nhkvt/RQE/QMf1X7dcDHKzbF8Lh0uI23rheacjCKucvWKhZnjM6j+D8n8o8At\r\nOwaRjt2iFBQst53Dymo4E35Wu2U7JDkwpsMhYVMM0fx/1ls4Kuz5Zb92uDtg\r\nabKj6Jo3kgfpt1nRZxdyvLpjWut1bD6iRaemEk7S82AunxBr/3jga0TeYoZP\r\nsPbOfIajjcUERvlbo9/LeWZqGULNx+wVuECNn6yyxszAO6kwau+BRsHLE/Or\r\nCHCVpWvpUmHIOt0FLagmy5wUNnHGSwJh9UL2ZdxhK3VUginKwwuulvfepgDv\r\n6+umNkyy67pzCwAANUIf46c1rgQtLG7lF+vF7n8Ka66/f9vQRf4OpXMS0ZSn\r\nE1l9ajVO6Q6C5kn38siXyjxUqM3pl7yTopdr1P5q2Aiq3SvaxrgjDXkEuCcF\r\nQxXAsGQXaQIvY6BD5Ghz2COWp+a/GWRMyuxeLjRJ4JyXXstxknUgArlbMxXf\r\n1GKY3ERxbsrmk3rLP51qez7tcx58oLa/44U=\r\n=HtFF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"1e3a51a48860f7ec5861307dcda7d75278ac1505","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.24.0","@uniformdev/context-ui":"18.24.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.11","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.24.0_1679332880919_0.23033161308250483","host":"s3://npm-registry-packages"}},"18.24.1-alpha.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.24.1-alpha.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.24.1-alpha.1","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"7988be31bcb3d0d933c312a9409161ff76315cc0","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.24.1-alpha.1.tgz","fileCount":7,"integrity":"sha512-aXQhFXqIN/UCflUh4P0iyEA9mbZmzGX+slC+UOplAuV4/Y+XQIDOswY6fMFt/416yTTW6mIgEo4nW5ziUQf8yg==","signatures":[{"sig":"MEUCIQDCvHcrKvxJlpQHvOxDXS4iEQLIPKXtY9twSeKbUf7nxgIgXjKzXEpN6zzRU3rVcjPt1BRZ0+3U6gi9KmJCaqU7aUs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5108639,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGMFwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrocw/+PrZI1+ivI6Bt/awq2XcX3VyCVytu62XyoeXbFXTiOhJYDRcq\r\nOWlBvHzOVTsI8fBt8sJ/6ehjGO5pxuIU1NXpEiZaSO85UZSpRRb18/NhFoW+\r\nhjB1VZqlpzE5rcA/GgP2FKZodZLepQ2w0xJTLfKZ0qwZFfByYnV8hgmWQQax\r\nDwpvGvxR3hTec9JeIPavyEkjCNu17tdeDhyZ1Jxy3m+CAzf83IEfYYOgtid+\r\nIGMcpnoNXOFIDWDD6lkCm2Fgaa5lYP7jMPTk2cIRXieRhudvoNmfqSnMb7f8\r\n1UtHKebcfTCzlxRuq6al03ajHSOKp/CtqZBETTbZ8wTBF86veI7eQMr0nJI4\r\nBOuHmpHIj2vGbsqu4xCVSPgM8NzTVEFVTAtSfZR9d/fnFaeWDXfwsBbPvZnX\r\nZlFNh2IXLbBzb5j3r/1Jrsk/9DP73g+CJApNjxxJ9Zda0t6CfDQT2ZDUlCLy\r\nGPChwwgBKCNk2w+5GOWj05bgNn944hdsthdkZb6jLNTCUdxLdaEKFqgPwN4J\r\nYV1tX11w2jzs/CAS3kLL8IzRsZQo77Ej3ArAnGvhHBUbJlX9NDRyPkkiIZbS\r\nrF6Ww5xxbRWxDAHirBTFM9PgdeJNQIblQY7pwwhvzv2v2vuE1XQspM7e7URs\r\n8YMi17Q2WCfnjkn/fZxTcOdUmQSNljeNyqE=\r\n=9Kse\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"65e77b56039b0c688518358a8402acd84686e9e0","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.24.1-alpha.1+65e77b560","@uniformdev/context-ui":"18.24.1-alpha.1+65e77b560","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.11","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.24.1-alpha.1_1679343983762_0.4512201334928043","host":"s3://npm-registry-packages"}},"18.24.1-alpha.2":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.24.1-alpha.2","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.24.1-alpha.2","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"8186ec5423e9b081e26bea661e2d2634b2ecff7a","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.24.1-alpha.2.tgz","fileCount":7,"integrity":"sha512-09O/a0TwJE2svKyo+EmzbXbp5XLGSFnVCIM3ajl2liFA2bSFKMoMbvaUl3AL2q2gevcCSXQsan7tBjyXe5Jwkw==","signatures":[{"sig":"MEQCIAd6gh7XUrs7tiOSAfAWLf0L11H4yGineI8m4zu1qCptAiBhu4DJMYUwli3afjo6w5zpaU5SYLSuQ6YAZAtPWr4D8Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5108639,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGaJPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoccRAAkwfrsv4W3eHMq1bLequNM64K2UIwB5ToeZHRt+Clf8SOudZy\r\nEteAGwkiy4pahTrTEFdtD7noW1p+AsFtKVs+FQI8xwXodV5s++zubLaaI21K\r\nWogVlkCzicLQsfWmLsQLYI2SYdoM3xcA26lejmejiu20VmUiAvhQppUz30Bc\r\nzXFdBvs88YsLJ941CXlnuYvlxYHkHMAq8aEoZY75BuykrEyUsKpfmT4NvYW9\r\nN7Nqj271mpZxN/weKHYvIoCfFjb5fYLJ93/71YSq5VwHxzCgsfWL7v06CFVa\r\n0r+fNtOlq6AXLk1kgUicfeNyUSQPMha8glMDS9tb8UkQGJsDq62Bjh0cyMb6\r\nog3PeZ+v1RS72ceT7gw+q1L89yneff6yRw5GOzTJFL1dltmsAXlKU0G2x6Ra\r\nU1EdA1Y8R+c5tvga2/+b7jwVxVPX2iWyFumpZNAJEDb9kgwR/NriW/KHNNiH\r\nhxXlgEGc4diPYCI51z6fwHeSdas537jq3BHBFCRG2lCSeny7Ds+Uc/Hty6S6\r\nofaUUacsgDSwOgtsy6JH8SS2kk9FBUmWItLeL5/4L6MR2BoywuYM5E8oiM51\r\nUuNuxZavm9332SRnVT/SWIMBgML11H5FiUD+uF8JGZ6Uhu7aBQjBmC8s0CBw\r\n5DIlSkayS5H6QgZMyAgH7ECkDJi/YVvEQyA=\r\n=nY7l\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"0802c591e6e0730c6796ec9c4bca8ad8be427a54","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.24.1-alpha.2+0802c591e","@uniformdev/context-ui":"18.24.1-alpha.2+0802c591e","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.11","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.24.1-alpha.2_1679401551116_0.21555028227524797","host":"s3://npm-registry-packages"}},"18.23.1-alpha.25":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.23.1-alpha.25","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.23.1-alpha.25","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"9897c350d6dc20fcfb5b12e36bb1c1474a562bf2","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.23.1-alpha.25.tgz","fileCount":7,"integrity":"sha512-eNa+i+Bi3OsRKJ1HIdBWaYVWsYL44iJ0Ez2i32IzoqGUZO+7nSMvXQGLnbtlufprpJzCp/zNoLTHE2gWKSHeEQ==","signatures":[{"sig":"MEYCIQCLj5smaEW39KeuAWt7nstaxQh3uUBkoFrcY/OKZOVe6gIhALEDMi9rhKHD7h0IZ6DYpExPEY7JvOPVdC/Ze75lNOvm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5106907,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGevJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZXxAAhkhq/z6CvbFXXSLgAPdQZZcQiW6fvIoTnLQiRYQpp/OsWgrk\r\nCMRyWJhjbbjzHqrmo06WtzLDay5z11uw734+hMsPYwFYxHwuJMTJ9a3qI44j\r\n7taeIYanGhCnHEb1zGYtL7LOqbVF3gINRwNpvBKLWZfTKwiql3Ojw2Kmbrc4\r\nI55CxLH0im5qf4TAY7N0SrhD0t0nMPnhHkbeILYw4oIrq4HTl5AiFgDy62P9\r\npM8WoBK5b+aY5Jix/S5jIKPMnnT3aE2Dm/3yTwJpLQskXFxEXEXLFD/+C7OW\r\n9pVUjiG9W6nNTB3sN7VWW1j7QxFOpHY/oW5lqVfne31UPSkwiZHyXRjj4gJ0\r\ni7ji+wQ7fxAGPbX9tIrc7P2NnwAAriAwrzR65N6U5sasC2TIAHijW6b8xksU\r\nycX9UDMaOU5tHn4D95syUp9T/Fg5QNO/cmDXVCFrmqUf05LFRmOgsjSk4Zrg\r\n8pGjPWeQ8EX6jjU6un/VD0xLRhQeaViCJDvspzwmeUmqE+kyjNDzRnIzd4wg\r\nhEKNQ5HVsc/8Yn18LTAQPxZFlJ9iIeR4kNIlM+Xy5H2Uif3RnCtgqziqxSqb\r\nkN0M9HISHx1h3X3UnCCyoYdpEBtLUXka6uE34DWqwoAurgNQq364OKX+REFl\r\n6rLWAVoo+Jxx+KlU6vu+MabeDQlH9VuJwXo=\r\n=AQr+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"6ae528b111d6948dbc768a06f57f349d95b69b96","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.23.1-alpha.25+6ae528b11","@uniformdev/context-ui":"18.23.1-alpha.25+6ae528b11","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.11","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.23.1-alpha.25_1679420361503_0.36164901714441333","host":"s3://npm-registry-packages"}},"18.23.1-alpha.26":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.23.1-alpha.26","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.23.1-alpha.26","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"00443620830b6a4d589979283cd48619fe5090e7","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.23.1-alpha.26.tgz","fileCount":7,"integrity":"sha512-AiNvlQsG9qZTJp14YL8hfA+X1XW8EG8F8nt4ZKegeTryjkbXvjORXwZqqIuC5lJnZrvmgURzGzGk8YDZEJ1DCw==","signatures":[{"sig":"MEQCID2NU6YNec6NQPGxOrdpB1pi1sr/tGeAEYs9Dlbm1BO1AiBH2d6teg75hptWMwvemVxGYmx17cCfCP18v3PDErkZIA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5106907,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGfd2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8sQ//ei3POpZfd0Mkwqk2un3TE4Mx5Uw1z102dmmdvGbjIXg5PpDg\r\nM/eTiohESfO9io0Ru73bp+9SjapM/RPvjLlnOq9mQJyBVh4giFK3UpwoO8I0\r\n2N54wbYtXMaXo2rUgzV2+h1WnGtaOn93/Wtn4hjovdz4jlWhYPabaup9Pi0H\r\no1Tg/Ed1m8+pghZUj+3yjTfi5SZJlHnI0UeByZ0Hv2Co8+WlsTlX4KuecWzg\r\nahAp2p4GLyePEJFt16ezBvrrvEW1I2F095ggssFGWhCmFoxQ//pzGxhVisEe\r\nSRo/cj2DqaJw1SOLBFH/kuSQT/K0bLrs5tY69USRLHKFm4HVPetf0PVJSJot\r\nonVcHI5oZ3gEOBbQYwgQfjY/ByX6L1AuyGR6bicyaIdXWFS7Cp10gYtKQTOa\r\nXHxKtL4O8hIiM4SMhLf5dopk1LD0djTdEYZjqhuiofqEyzT02d3leDPl10eg\r\nBilQVopNqd78a4McZk2hTmVo4bkDV5XXe/a3Hv3fJ2T4LL7C3BD2BkUOOKc6\r\nMEHTnjIzSWIcAmnExoDzYujcwnzu3ak4Qd/p5M0TqloFlopMxr/Ow+dBFh6G\r\nLGtqWR/dQvRlWT/uZ1Qcs74jzRmKx+sTJ4OHdaLKghsIGH8+4Z1ElNQJd+kK\r\nx85IaE09I2QVaMtatoYPpvi4WffIad+hvqE=\r\n=M9b1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"668a4ae9d1d3a85ac601091d435e4abee736441f","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.23.1-alpha.26+668a4ae9d","@uniformdev/context-ui":"18.23.1-alpha.26+668a4ae9d","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.11","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.23.1-alpha.26_1679423350233_0.17917425088065153","host":"s3://npm-registry-packages"}},"18.26.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.26.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.26.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"8c870607c51935b6cd9a30addfc54f375d724541","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.26.0.tgz","fileCount":7,"integrity":"sha512-bFl+nedW0Y+9Afh5Ff2NIPAJ1lJvh95K4iLFjH69nIvSMiYqCIvkPkVEioJ/koTRwfa7GCIQpbmu5kC3NucR+w==","signatures":[{"sig":"MEUCIQCta3SPZkE+W2UU9JCRa8Uh6oT6gcR7a/SqqEzFSubgFQIgegrL1GBOTgdN3rpJbz+w+aQwPsvXVOYJ8+D3lKVdTh8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5301205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkG2owACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq9DQ/7B5I7txFxjlDZnswBrvCo+QIRwUXXHy0AstdJUhCCzCqtieBb\r\nqrPbo3+pR4/7fs7VWlT78bDpu/nJbOUXVh3WQlse3MWn6T1zAtUxqtRKm4x1\r\noX8owS/wPuINWwwXFkqtE4tc34Fzria/AShPuZ1DuRCd8B5Z7d4DMYio4Agw\r\nUA5VufFqukbJdzHQvaYs/YcLuEDsriYUOi+rQWgg9k+wQTfKWoP9zLqNY63j\r\nQ2kz8xEey131TZ+3FIwm7JQz3CY0fPL8vEcs+LMvUeUMmELuzgSwSg1vrpEK\r\n5pRJpJLIxB1ojxy7a8jtcnT74Puls81FFBDUBIBuZi3a145ytumZVFro6ATu\r\nrULZny8TCUGWZsq9FUKwE3gH/IVaQGTcvtMVeu60/IvOejNo1yIFp4ulwHyI\r\nj+yYbeGynBuJ6Gz4m5+r8y3UUWzneCz8SaXi4istfeSQml9DJQont9BZOkWr\r\nHY2R0HUCs7fBYCEl9aH/ubYQHABVGgAA3Px+ldv6+xLYh8m8oedYgNBxi8GN\r\nps1tflN/CDWRw6pNCdkdPB8sRuee8kKyQNMiAW50qjD6JY0fS5N2kRI3VmYO\r\nGWVnMiq3jz2y7IrDxeMlrNQm+A0JHwkJujlEFw2slSZwbjBFljfD46kPw9Nu\r\nYUfzK8pY0Zl05BvwmreNiqkd+nq92xOc4Yw=\r\n=Mhk1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"776654d5b12c24cf597acd66cde039d6b0111419","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.26.0","@uniformdev/context-ui":"18.26.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.12","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.26.0_1679518255894_0.3906762551761471","host":"s3://npm-registry-packages"}},"18.25.1-alpha.16":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.25.1-alpha.16","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.25.1-alpha.16","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"33ea1f768f0f898f8e6473412893942e96445237","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.25.1-alpha.16.tgz","fileCount":7,"integrity":"sha512-xg57ZtUJnvn+rliztS+i+9PlxBlhsHmz8/QKrJvOHpF3EDb5Rqa1BB35vEujhkC2ksQPOuNA82HX213JoJUmaA==","signatures":[{"sig":"MEUCIQD+infuwn9gs5Rf6sphiwG1hwZ0Gajf9zy2SVIKPPjKlwIge3nlBI/0QU7Df75WDHmh+9mcxk+H9CbQ6hHKDrGqcEQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5301159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHHuYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq3Bg//eukVIARm7dHha1rr0tDe616RbthngQgpM7DQJZry1Ux3liae\r\nlIs7/R4fjBn51L2ZceGRNNx97a1P4RSqtyVpGC8KvgHZfZ8UWUNZNImWz9HR\r\neBd2ZKsXHIfu/kNopyNH5XFwtMDsPe6K3G2UahyswX18Dj+lLAW47LLq+mUE\r\nDqZiKXQH4O+WZ2YMmRxDHjASzfIAsb2Jq51jgQSoxMvDV2+mHOGG5aVgWRFS\r\n9wrEdR7T6nf7QFwR76sPvaAZXGV7P+AJOzLsyUmqLrFlj3pKKv/A6T9b0viD\r\nn21XAGgfNFIlp3pD4DwDTq54scvseIRswTa4nkU9DwBlgeUAtxqZGhsbqFA4\r\nE7PIeO6z18LBF7lMQ6tl/8dmpaZ+UdECp1F5MrmUikHWHQ98vqexKe82jpyF\r\n0nDoV5IBHTbIjLjbvs/liwDbAdUMGl0JYO0SZaExVTfgil8BTDey3bC384Bs\r\nHS3Cs2uzgJ+k7zC+BxBGnGO7zR/SWUWNXJYHxlNbldVuWUZRynghX33NJ0p7\r\nq2Din3mAy0v6a/h6pcqNUkBJqSsbQsq/sD+qviMj2M5sHbALrdH0WEhQscNb\r\n/pyoo/arP3tDPX4PHZoLbJfCTveOJ2lQKZackvLsGa6U/yDKMju9oacRHTW1\r\nBzO55jDCp2KGaZIour6jg5hDeHziPpsEWmw=\r\n=4nsY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"650a7b092914e3eb21d60d103de9e8af96e4575f","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.25.1-alpha.16+650a7b092","@uniformdev/context-ui":"18.25.1-alpha.16+650a7b092","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.12","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.25.1-alpha.16_1679588247745_0.9870510876260716","host":"s3://npm-registry-packages"}},"18.27.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.27.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.27.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"0239c90ca35882869f8900a1113c46069edc932e","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.27.0.tgz","fileCount":7,"integrity":"sha512-ZDam1WmGvZV5cIaT2mdrb9P4vUJrK/1dUu4IGmd0eBcRlPYNwfkShiq9k+OfkOc5Io8cPl62SvFjRWCKfAs8ZQ==","signatures":[{"sig":"MEUCIQCGd3jD+m0Wh4WmF1FxJW2QSAheTfxAFREaFPRrRHG7pAIgcPPhTK1SS9SCuekkDfEfOmAuopG5Gx7KvNHkgkrwW1w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5301205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHJsuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqOAA//V17kqOXznsiTYorwLJyFkyRLQLyJHEHx5pSuYUE+uBbVCYmC\r\nuV4E+398f/XVi2ovckJLBfQyh7AWl4HbaOzm7X/kpljWLGMmBWM+ZcasP7V8\r\nDJfa/EbA1Eyfx3d8GosAi+/reYq3GwH7KyCQ9bB/rJ+n4Z8jLVPzcS3Lk83l\r\nQ+VPLpFnRsCPaqi5mZFQsTceQQf50MVf2VLCUm3jCHMbKcqXqjf4rSJe4b/z\r\nYGTrMh9/BszpiGqXb4gt6X0S7ILPWKkff+2XtPYRcays8lVpXiOvGQ1HxBQL\r\nuhFuqG7E4+YuLLD/qhbsglxQeDpPVc4b0C6u9/yZz51Zpfk84zORPvDCAVUQ\r\n0M491NmJQOpgb7C6VuVozVFJqYjjyPRap0xQyUDkxIchPjeQ5FVNUeVYMJLT\r\nRl/QQpR2KOfGaQAJAjYN+zVAGwi6OJ3aS+AGhdohFFppkw48r/bw1QiE23Q2\r\nLZnfU2cpEb8EGTiLMeC0skz7qddrnKVvS2QFNenRRFuaMNgtssJRzVUHelzO\r\nOux3Log0wo5W3t7gS7bQrHivzjNIXvQBsQ/lIlqb4fAdiAerCSWPd1jBZ7H+\r\nucjew3/3dw0XEyqAMzG9szkREuM/kiqdd1omQXpK1hJ1tql0vQjpKuNQDqYi\r\n0i6mmUXnom0bxsD+gOzNqhR4Hnm2K5HEqMw=\r\n=GFif\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"2f40af577d2f8ce537e857f8fbc08b4030e73cd1","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.27.0","@uniformdev/context-ui":"18.27.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.12","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.27.0_1679596334166_0.06740016259623638","host":"s3://npm-registry-packages"}},"18.27.1-alpha.12":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.27.1-alpha.12","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.27.1-alpha.12","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"f82c336f445dd761caf5f0efe09c4bd41aa95e20","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.27.1-alpha.12.tgz","fileCount":7,"integrity":"sha512-RF/lLyNa6f9LW4FJm1GEucDxOzhUlvyxSq31NMQIJy3qjM/aaoMYy5boQEEmXhT05ayRM2cZrP5QUHwFGyAdNA==","signatures":[{"sig":"MEYCIQD8r3KZD5lUM9iqL35BUbLVG9c4I0qQiybzJqStQFcyxAIhAMM1YlsDkovZK1xsiaYUnRtCqg/U1TIe1mUO9jjErOQb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5301262,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHcqGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrWlw//dOpTRYOxXltq0PPyDL/1BltNw22xibT9nNo6ym0xFokYZ/mn\r\nC3kI4RDrgReEla4akwXugeGqzHGt171cNo0yaqRM6R1XNcKhF/8cTcxNS8zk\r\niH87ACJXzj9MIyE7YSbMCDC4wcp1kRTOjKllOijHn1dLT9wJr+KHInxfeUI5\r\n6zBj1YIOTG9rZe+yvD/+HqF18MPqR5nEb7YSqmhaaY4iBFAXtbALcHHKyisL\r\n8SdTjJ+G+TGxQ56JKhUbF/QoX4ep37uePZbAwmIiK1RNH3x9a0AbBvvM/DSQ\r\njxtGzIhmulIYmOlm4O6lgA90Ql2D8apbgfRT3m5tuLanKPCUtGtj884ArE6I\r\nuHe81H8B8clMPNrZVkTJXqmU5X/+g2eWNocTuDFEMBSUlaNGZZB7VULsw3bc\r\nEnCTLGMKlF3sOyspk+uIX/bWU0ghsD8Fp6HniTQsgGgHvhuI3ydfhkuYnqft\r\nmokZ05nQdtWqkOh3de5dGARWDAvTxeQYNUAl/O2aTO0ps9FlwTgRGgW7p8YM\r\nqIFM2eK3ccnhr2fR+uQRhzWZ2O3VBdAcb5/WoQVpNIcurlOyCNV90fVgsFEx\r\n8krAORg4CQRjnJvWh10pTc8wwT3zMDFNAetx7SYVhpMoVXDCJZJKLzKH8NFA\r\nX9mLedmf0kfRUDQYZTS6CPoEMoaRouxQCyg=\r\n=29J2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a2ae84d4d88dab29f6291a75d7628663dc2df8bd","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.27.1-alpha.12+a2ae84d4d","@uniformdev/context-ui":"18.27.1-alpha.12+a2ae84d4d","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.12","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.27.1-alpha.12_1679673990405_0.8338521626894106","host":"s3://npm-registry-packages"}},"18.27.1-alpha.23":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.27.1-alpha.23","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.27.1-alpha.23","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b40b37d6126452cd5ec836ebec640d31716dcc25","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.27.1-alpha.23.tgz","fileCount":7,"integrity":"sha512-lAPjA7CDd/0W6SWVicllM1tFLG34iZSUxQ/uX49i/+JWCXOUAOscKLi4qjlWgpqQFgrUJ6FVKLYF0ggB+n6XBA==","signatures":[{"sig":"MEUCIB/0xcqCV4CmonWibLgEPLzZ2WQUWx8cWjjEtLFj1FVRAiEAoHKAqrzqdEEF1gj2DKWFG56xrf08dXmnx3EvMoejNXw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5302427,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIGMoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpzZg/+OYtHR2Og1LMXVfkmcDDTkf2uMoeHlUm7NqQL3Te82MFtGBNu\r\nlF/m+1BEC6XCnxeI6FpgVXjff9a3xnX4X83Qlyl0RyomgnBoyDB+Httoyhyt\r\ncQ4g7C1tdSUuh9gs+G1DKapgul2NsE9qKuR0bxthBIHt1MtSsF4mMSdrTqC8\r\nyqGmAZwOmDUR95Lw0Z78MM3GdAou0XOnjjeb38icYA9Ul8iDEXu9zuQxS54Q\r\nTp8fUZ5a3BX1QQRI1zomHbIn7J2bWGqQEfWsFx4JGeYuvUN49FYUdbHbPZoJ\r\nFbigxO9lWy9+z0mzBo5LXA99uXL1YiGkyZKb+fHK96b5KY0Vax/DoAG+s7Xd\r\nfpU7e36eiWe0W9FDPH06CDNvTrJPyvGYPqQOXfwq3BpYW27756xAsCRMPOUo\r\nFavzevHDRbtUm2QkyDoyl9p5ksla6rlvor5irSGVPvGuWR/HKD2zGtxjhX8R\r\n1aC/3ukxDr6u6MEEh3hLCTKre3eGZPcyP9SFQGlnUmfM1ved9mPW+LS8XZQf\r\n24cxQVzmIKUn55PGtBE0NtNw2xAg3T5N83RNARJPIocFK9rysHQOOMGIO0ya\r\nzY9qMMSFMpoHVbUAB8215TnKuJCEFH7trCXvbNIVGMCKHKF73A+3vww0KExE\r\nRpZDGGxfX1TgLdK2MnrOUAfXVjJKB6RSM5A=\r\n=uW0q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ed7d9bfa014db103691c2d2030b1549770a48d6b","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.27.1-alpha.23+ed7d9bfa0","@uniformdev/context-ui":"18.27.1-alpha.23+ed7d9bfa0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.12","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.27.1-alpha.23_1679844135762_0.18893729337222243","host":"s3://npm-registry-packages"}},"18.28.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.28.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.28.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b978fc5fbeda246b41577f3990e36b6df4cf029a","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.28.0.tgz","fileCount":7,"integrity":"sha512-jmKm6cgMNSUcCB2Zm47izgdX0+yL5/3we78GrthPzP46VZG5ckqFv6no1GhR8/a82vjd6KBY9mOj0j+c7qrabA==","signatures":[{"sig":"MEQCIG+2SwsXR5pQWoSZy6icCqZF/TRE8SVF36J5lUI5Db5cAiB7sv/BFea0fq9LZ0r/LrnENw18tHKzPETw8e+FyMin7w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5300908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIb/sACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmos2A//bx+dVTdZlKqAcvcgFUFvlJout/K8xH/xmMqg/Ttg45czsvJC\r\nkv+1E4hGUHyHaD+7PdnB6GpvToBUauKenJX7Acw8x8oygIGpM9ijaz+xBjMT\r\nBXn9mJPYUO4zqQQWG7kOv63lFOQUHJazBXLcbWeEbAKHqbm1gV7P/k2xzZ26\r\nmC/h0F+sP9endJptgypxsUUJHOAtSwTGawPPqMpMjYvalirfDH5UhpBkYcdw\r\nWE6hPVPpGy0BChc0I9TSxdpnbbyA+K4smoJEm//kcTebypJlK32955wAIMNQ\r\nSA9201vgcoxHtmA6Vh4qA42BGZA7o1uda+j8XOOl8wxeBqXIF4vHhjHvAaJA\r\nfgMhu+JeXyfrGF19bzHD3xxCpT6F3x89e74Y8uVkJ+CJBRMKMEHgbGuy88rU\r\nla6IHMI6SPXLVBJbXD5pAs6t0LZlOK/rPDBz1/0FJwaxMuVkQFerNwEyFT3K\r\nxTf/7xdw/Gk2qZJy0HAYBehOCdmO6K2JV6GqsQR6GRugVuZTS3+GFeIi+Sxa\r\nXrzrX3Ec3JYhjcrbqELfftat6mpVDzQc2Y3CgxjyTYdkfslegfxEnsotWpMm\r\nO7G0LCT9SHoTIbvK8m+gzneJYJccAmxGMwK6KuvMy7ZvDiMYoHiK3nYATNZG\r\neGhr55Rk2NGPPJpCPWAVfxfCn921GXAkfWs=\r\n=Ppor\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"97d916ca20965e8a86d2454847114068895ccddd","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.28.0","@uniformdev/context-ui":"18.28.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.12","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.28.0_1679933420363_0.022318911869440017","host":"s3://npm-registry-packages"}},"18.27.1-alpha.25":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.27.1-alpha.25","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.27.1-alpha.25","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"defe6bebc1c5a64d6512a8c500202de6112c0b35","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.27.1-alpha.25.tgz","fileCount":7,"integrity":"sha512-vsJd+l/VGfb5djfW1YKTsdDDif4+EIpZlB3q/V+J2OZcffg1GwAy5/17rZKek7/If5AM+BpIJFgnnOUaYbUXrQ==","signatures":[{"sig":"MEQCIDyMLoMm4RhY91XMqlQaDjzk/63f72vxbTSDG59ghcQTAiByqBWKbN1H7kfOSh589pV2zdfnlrbIFtUDE6Rw+Cr2CQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5302427,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIhI4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq+zQ//YA+fHN23liwnyzG7NqRUjgRJvvtF4paRx4AC2pl+/p1R9wwY\r\nfnF4tkr/rptTC+UqoMd8wIJaPw99VIauautdQYjyfH/YNWPB9QR4Ww8WQldi\r\n7Fx2GWA7p3bQZhT4IFDOsoAwen1EAOE5WKjepS960yUUbFtsbM66U5zaVOvH\r\nAVpoE/VzKA7mLwuDEQxBQe7Qy2EaD9i7weJy6UypRy1C5k4p8ZLRkYhmqR1S\r\nQuY3IOJviLfw9kIlknBe7oYROKXjqbaVSwYzrwV6bCRwj5ufYCyA9ifm1RNQ\r\n/5Wp5oZfKPyYlaB/gi0k+nxjLAfBsqyeWXtxvDcvfT5DK/ila7/5A8TZ5dJv\r\naptt6h8qzfvs7swUhGQP4Rd9TZP4lJhUeJSfu4OuIAAkIuh3E9dUlWNxnYwW\r\nWdRJaS90LzYhQofLw0gHkj1lSYsVKXoaUbbmBtfcvreaU0940ieKYhEzM5Yg\r\n2HCM52mde7e+najEOYnkLNThfCa3kXw+PIrfPGP/zVUqz2K0Rp3oSCLhM9nB\r\nwPkkRoYtPdOofFRWRNX96KWjJdlvwvTahDOA+xkddrMLoIyZoy5osafr5nZZ\r\nK0FL596ImWde/UgX/UUt5YePdvZ5OABCC492uh8xvMxXEx363dCBtFmBUZEJ\r\nfDoB4Em9jhnOsOoPlP4+c8zs/65EeVfMKUM=\r\n=9RBz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"16ccb5a67849a262c250651e2574d64a7edd12a2","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.27.1-alpha.25+16ccb5a67","@uniformdev/context-ui":"18.27.1-alpha.25+16ccb5a67","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.12","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.27.1-alpha.25_1679954488243_0.33506672307562835","host":"s3://npm-registry-packages"}},"18.29.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.29.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.29.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"c2d9fae7bd33f0edbb784ca6023e8ddacec700a5","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.29.0.tgz","fileCount":7,"integrity":"sha512-0Va2XKfl9LZHkiGFew/EU+JG616orqOdYNRWMdhjVNp7loY0buMGSMbFB7VDoUpEs9FEwUSX6NJSF3d3XufjBw==","signatures":[{"sig":"MEYCIQCyWL6Ou2nVafJtIQ848/qvYHx1xmx+EYxH+4DoAZVUcgIhANPR9VZgzU2hDgm/wprsBN6LSyuMNF72NHmL3oGbKFA2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5301418,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIybDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp4hw/7BqK8Yrf1jKiYBmp8eaut9t7IQSqL0iHNvKzHBcwkUCzB+EsF\r\ncKGF+t9it7nc2IZ9zpBi0o9OoQI1Ne8+GpAUXsJBFPNWHCJqRApZcDaxEl7d\r\nAYYU9bb+xnxcpCAVHbAeIzjUKSXUZ+oXA4k4vag3Av/AghP/hogIg8PD2XBC\r\nKprpBUyZHifI68eFUWk7Jg5Z+Ghvi0WNEf9E8jm9Ja2lQhDnERc4xvJL6eN5\r\n26UdLgA7JeRUbpcJBz7EGNSxasONS/xTmcxnBLWutkYQLI4HVP65nE2b4rxg\r\na8qNdA3BwZb+WTlEistSRkxyYOxItMONkw18uGu3k4iRVS/ST7c7kUKDHtIz\r\nGa+G7+GGlg28nNq1+CRLIZrp+o7c/t2A7q9zHtufC3/bBGzoPOv/lxkv3CgH\r\nOpOJHfzsUaIi9ykSo0ZHmS2UdfiBpyBc9DSOHfYfrhnSQ1uOKgyKb8XOKSCj\r\nFJDpvu/SCPJJdm+5F39y/5gz0qzOJDe7kT/Ax/5nC8HLr8g4ugttX5kPVu6p\r\nv7/3wk2Da8BP+t2tQF+hBUvwb/cmFe3vM9W2nX39M3kDsO1si8LH1Xw/BU6K\r\nWp4ivrgKWYVXDWigOgee4PCvxXV/mdVNbyVyfJ4tB74OFenXeUNHJ+DeQmMF\r\nqAtqpbMcPXVpzPcjjvw8s4Yxdhdhc04RQKw=\r\n=Dac/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"6f1bd112312b3a261b71cd94ea3e74151fc5b0d2","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.29.0","@uniformdev/context-ui":"18.29.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.12","cross-env":"7.0.3","@types/react":"18.0.28","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.29.0_1680025283063_0.45005721087567907","host":"s3://npm-registry-packages"}},"18.30.1-alpha.15":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.30.1-alpha.15","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.30.1-alpha.15","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"aa253464c676ea42d51d335958831da7127969f2","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.30.1-alpha.15.tgz","fileCount":7,"integrity":"sha512-i0tM2Pd6EXMW4Usj+bX+7dIC3ahOdrNtgP3gLU3cbQKUzazn7s55Y875bHzjRUko1h4lAIG0nbiWU0Y0q/hk5g==","signatures":[{"sig":"MEYCIQCFSjPZVTEBV7+OiX304rQeT/WF/gMbGBMzr8IEWePNQAIhALu/O4uCroCtGLwyjiGGKtxIhtEUNu9LOoP8sDly9Wpd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5306787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKoqxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoctQ//ciPr3Z72Ae0yxSC37JZvBQoblee5jmLsSsxycMhdq6hzdCOE\r\n/Oob+FRsW6Ecy6QT7UPcprsrlJZinRL6uvWYMCGZjcEIeJzbIwOmJSJA8ewd\r\nD/jSdBnlzIVBSj5xxwOzqUWSLJv7FyWmV9HEWeuflsBJmTSsT8Zy7XEd0yyb\r\nCEAjQ6pWf6UTrfyeTiuFGzv6zjoex6RwBHtMaKJ4Q9Vg51/uyDFQEpupHCbM\r\nNmA+isJkdcD/RyITOikZKfwD6pOLFlioGA4I3UdVXAOWU5nKrRPGKcwTaDmu\r\nPoszASA//ONbIJkh/UPMVOhRJMVPHM1Br4vKyk+FjnTFQgEwA+6atF5Z3E9B\r\ngl7TDikVInbLzHbRgj1R0CaocfNFZtt6ROBcdXaB7ZOzKJJ1NSQZhhtj32qY\r\nBHmFWwAIhCuPsLIoT4PUFyAo6/mUiksYp/wDqM9ZxUlr5PkYfW6UwUzlgUbc\r\nMAkKUOOGFbEYGgFEPBQ8s1jNO4t8m6mHk/+HtxVOVptKJ8iQQbBSMOQCZj/C\r\nhtBw50ZaUWuxLy6Cev7uxuyUcRx5whKLLv9BJZ0G+3ENST41eNqmdTzaqd/9\r\nUxSdqZ4BDI5EbZeThgih/pz6xwLjwlh2PyO41aF6lJ51kmAFDMOq7fjhd4X5\r\nZbPQHoBjksSUIqAC+J8SFLqMqfWSZXX+Ig4=\r\n=R8pE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"d985383e09e6f498197945f05ab5a43e0bc61eb2","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.30.1-alpha.15+d985383e0","@uniformdev/context-ui":"18.30.1-alpha.15+d985383e0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.13","cross-env":"7.0.3","@types/react":"18.0.29","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.30.1-alpha.15_1680509617241_0.7523065866400522","host":"s3://npm-registry-packages"}},"18.30.1-alpha.16":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.30.1-alpha.16","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.30.1-alpha.16","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b18eb4303e4348fd86c5b3776b65c4bab18324f3","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.30.1-alpha.16.tgz","fileCount":7,"integrity":"sha512-VcrrwcW6GwKZyb3PzILlAXGAeJm2ONqu3XX0W87Q2KAVYP5/tMdN9zvVmOZCTU/3EFyYjuRZ+kFL3qqIW+VjGQ==","signatures":[{"sig":"MEUCIETB5CjOOpUn7nMlH5mnM32LmPOvFpvDuEoZjubKv6uqAiEA2QW5N5bSQx4EG8DROfI90R+rH/levARGxWxEkIJf1WY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5306787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKqo9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoKug//VahhPpMxfXaSIVFLUreWH4/CPTgTWvVXTroWLiPJMHlk/MS7\r\nhnmrC7muB3av2BEYNsdAedj87dNNn5Cd1LIiJNSvRJ58NzPQO8rJ96/driTU\r\nIPRAHFKyfnvL8iNy5ggvHk40PLlD0V1c1Mns/yRIPfA02bbYTFIu19GeH2MQ\r\nmZJzC2lD4M1CTnje9gklJgUmgpBz1zVnUmU7Ke9m3XYgOkeQ34yxwmhNCavC\r\nGtfmRUmYnGa0CqERi/9zoaZXJhpB1ud5L96VDFc+mrJAS5xHtd5eYNcPyzBc\r\nrGFnfcMiQfuB2dJQCYXneJ3CLx4cLMs6idwYs1gecbIF9urLOgLcgt/ErWbv\r\nvMOkgPJemD7UI+gieyY8cV0HKo4GogFAv80T945EBsFc4ZLEGnZUT/rCUqJW\r\n/rU4/pJuKLlLgiDNs2xFBYVb4qp9RVXOKw3JPZtrVV2LnsLMqEsQ2b1wVNaM\r\nlC7moRBOOftTIfoixIHr7alC8xa8zFmY2fh9XBheeiFD5CfwpkAbq+wAI7GA\r\npJrq54t+4P5Bt/a8LvUxzgEczRPcfo+jekmVNiOiMbiokH2TPKht+KMKpGlJ\r\nXZFXOXmIxy5F0gHCzAsIbbwEYhTw7nierePQgF37AYaEOPzrqkDpAc1DB051\r\nMFmAUfjxvcBP5QLK4NN25iopuhXMrCpLWAE=\r\n=zOB9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"307079cf66af8d71316cfb18e9dbc3ff3f059838","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.30.1-alpha.16+307079cf6","@uniformdev/context-ui":"18.30.1-alpha.16+307079cf6","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.13","cross-env":"7.0.3","@types/react":"18.0.29","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.30.1-alpha.16_1680517693146_0.502614267339988","host":"s3://npm-registry-packages"}},"18.30.1-alpha.17":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.30.1-alpha.17","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.30.1-alpha.17","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"39284013cdd6222c7a000bfc735c089fa043fa46","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.30.1-alpha.17.tgz","fileCount":7,"integrity":"sha512-A6mf+u5n9l/+xU20Plc16GCjtcv+IQbFLm3KzeB9JFUxY7hHmGUhQ9PvqUhYmiyctJMf/6tMguROKQ/UJZWdzQ==","signatures":[{"sig":"MEUCIFYdC8e63ex6bTrqPoCaDBO0HPSD5j9HKzM6z2j6ak53AiEAovVmxrZe+/4C01cjt/W9h4qH7tehOCaeCRPf096xoB8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5306787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKs0WACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqFHxAAmMEIK8VwD/q2xB5NekDsKyVph0JbNrHDbceWJSdG8vgHVK5t\r\nplgjm6VwNcUoD5b+/NX28LYgPyX4Nn4X4jxUGZ53mUe4BsyEkgow7128+bAe\r\nfNygW115ure5k7ZjUE6Q0V15QcPRT8BITgg5XzUAnTvBoQn4m7QEP9SanTn1\r\nKxmOUkEFWcbfKSVNgwXARZom/nhZ00OcrGgAQQG0i56iUimnJw6ntAqgDdoR\r\njlKHh5Ot3jZL07OQPrUrDs3mjqGn/u+GjEKcKnDTVlUtyS/7qG+va6Di1Cmt\r\nwS12YsczE6QdX/c4AjRlyRTQyJ7cHxyhB2ywnZDA/5F61H8cxvnNEAKpbDx/\r\nY9Xx55iIcVwNS1GbrvY+wO9f0Me9GzIQRAGD2IAtzwl+q0RHTfjcE8BOzI9a\r\nu7xG/+TXMf1gbXXAo7nx2BZSU2t/3cCuV28aJMS5dB7HzNxcW9iSJVpNO3Sj\r\n0zF2e491hGxt48JUg42VuP6yyF2JiCWJE9QDx2vDQn+Bns2NXAAarh3WFcP7\r\nf0gkvYqlGZT+rj4PrOt/PlA3Awoowz+u9+/719q3qEObMLep6vEuCRIXtqHv\r\nhKvAreR93SxdekfLIieu/wyFCdf7Gm5szAmbRhti8kVoU0VSHHH2PMXuRSix\r\n76REjvlc31qhcxpFbI3ROLmro/RnAGCcnXQ=\r\n=5iK7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"2d6d0880575669784931c6481be92847ac55f141","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.30.1-alpha.17+2d6d08805","@uniformdev/context-ui":"18.30.1-alpha.17+2d6d08805","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.13","cross-env":"7.0.3","@types/react":"18.0.29","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.30.1-alpha.17_1680526613856_0.9712660728721578","host":"s3://npm-registry-packages"}},"18.31.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.31.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.31.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"2b93ee06e867bb6d80599d6e2f5bc522fddfb6cb","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.31.0.tgz","fileCount":7,"integrity":"sha512-+IR+6GhO+ZNpocRULoP4aIIXOc82R3yGWRhccqTtBy9EOxdtcMLC4gyJt5yhYvIAQvN0w6TFdwL9Gll59ff1zA==","signatures":[{"sig":"MEUCIQC0/t67if7lCYe+gWU9u+MxCjXDtT57/ROhMX0WLoZAKQIgHEzw0GctgS4bR5UXCbItSkXm+cFYqOJa8FW5UXchn3o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5301251,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKvbAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoOQhAAmaa2rL0iiuFHHwV8l/6wk3E41JgPI5mmkr2UMo1k+rvJL6dH\r\ntKe0mUEic3086kcYD1Jn33JExLwZDuEPuny7Tj91KqMZGOREPj+73DrPuobp\r\nDznoJtCMxBZrWUWSEmy4GdXV+WJSfdOQpop/b+cg/wqKHA8DzNlbWpCBIuKb\r\n3BODxaGtdUeGNptTDaIW25MXmmdFWI2qRGGRgMa1/gVUTXGyO/+PCqFlNBFe\r\nXK6HzUmtw3Pvsz1wNZpRpEUi3MVcTTCGmxjiAt3tlD01nQhiUfPZDx37y6+U\r\nnnu1W7QOns3rGCbjdS7hKDcpq/QjSXMFAUt7lFSCYf8l0GchIl7fp+DbGdaK\r\nqiARq5vEtTIpvLPrHjMz5rJzYUZEqvJ1lHtV5q9DBZlQP7WE7d6iDRrctEkY\r\nFmVQ0PtqlbBEgk/dRiY/Og1cdLmlMmdCqj+Y7Euqvts3m3XhYjR4/i8pHxgw\r\nz3PJsw14uMtGW9NcL9rPCDm0FsjcGadsl7SuSttxurIXfqJeBu/Y3WPzw66Q\r\nEGDghPSaom0X5HMbIv1jIuFv7PGa60qtpkh25tRA8zqjOl2aOY1J6UypoTTr\r\nV7aQ79lPssRL39k2PV8a72Rf+1xbV0LA81l539MlWFRdQRdgFC2lCRYnTiAI\r\n2AJs3VL1s0z2Kem9iyDsD2mVcEHqsE3kmps=\r\n=cIay\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"b7090bc4a0971e51fc9ef8f5cb56ebf6cb3f7f3b","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.31.0","@uniformdev/context-ui":"18.31.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.14","cross-env":"7.0.3","@types/react":"18.0.31","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.31.0_1680537279880_0.9935460629523629","host":"s3://npm-registry-packages"}},"18.29.2-alpha.11":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.29.2-alpha.11","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.29.2-alpha.11","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"85542a30ad200f82fa1f95dc045208879d4ca655","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.29.2-alpha.11.tgz","fileCount":7,"integrity":"sha512-2aFRrrcJq1UB1BdBk0vjUEEGJTYttcE2Fi8i5BEjMQ1Csd2nkExVEFKyWkG2Y+fi62ocokTKuH56fKrcVhhMMQ==","signatures":[{"sig":"MEUCIFvoKuuhvUsciBInDwwgbPPj23ksXEDpvdggpjtUTgWvAiEA48ya0EFNwyeDQ492iNijUTO7tGaThkyTtgDoR0wdMxk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5314592,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKyC2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrq0hAAnaGhG0oYnch5a4QyvPMC0JBwr40twFiKkn3Ybpm966OYGaV3\r\nGD3rDWcL2wsiZmO/wcuy3318cj1YjxCh1gTiZPpH7Kk12/Lhpj2mj9+QlVs5\r\nqe0kFowDZtMLpftWLil8GG9oVPhd0148+McmBe9m0GnJdCQDomUQzpHynkeB\r\n4BAsXzbVXM8fPuaoHVkuJNDUxPEum6K60IoCNifD58VnHFRzAEl4r3/scthp\r\nxhuOnGNR6Y+1WbVOWZdbbhdGCEtr6YXadDP10I/D+xXsgL4qAdjP1ycnSQQb\r\nkrOW+Y4KYYKHrbJD2Ae//Qlenn26AeBzXmgq2NCo5RK32J/kxTY/zsZ8B8It\r\nIL3sqnodQVjQ85DmkaFN+PwMp+pB1gp2cXdw+gI1MqzDq3j7MxQRt75Sm1bA\r\nwxwUc9jygNW5MSz06FVIwr0Om2jX439rIXrl642HD/Sb/xBqCyfPElPkZR37\r\nIl2iTgGagRivwC8lZW4Y1y8XBjkXfPBUX7ZBnN2JrF+fGXOl4oVKoC8o6nZT\r\njOGFXglSXqjlaAraR6tt/T9mE7jTVHcSzZWqLtCf8XJ79LCoYIilaijmBZm5\r\nwDXAj739qx8pCMYNkN+gtLrrmoteUJkGGa8dbX5lTNoP9lUbD+dUktEv/ENO\r\noQ06NEFjOZhVwwqugpf75Es7z5EK/l7FvfM=\r\n=Ptp7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"299df840521b9a41a3e683a9095b7b5f45a8cf12","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.29.2-alpha.11+299df8405","@uniformdev/context-ui":"18.29.2-alpha.11+299df8405","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.14","cross-env":"7.0.3","@types/react":"18.0.31","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.29.2-alpha.11_1680548021889_0.29235973013926064","host":"s3://npm-registry-packages"}},"18.31.1-alpha.22":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.31.1-alpha.22","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.31.1-alpha.22","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"1d9a65212be575a78a69a21d3187beabdfa5eeb4","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.31.1-alpha.22.tgz","fileCount":7,"integrity":"sha512-hAQQyKEY4RE3Yexzsm+zrvKRWcUzyJlMf3GY1QK1Td9pxN1AT131aAhNmvz0NDDKe4kGT35lL/iuDEuuFWEMJg==","signatures":[{"sig":"MEUCIFHYTmQEQQCmG9NtDrJgexS5LNPzL0b/7bl4JTDiT6FpAiEA1ChM2Hefqogueo4g0aLgpG1MrjpkvnGAMEoF+mcOVRU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5306787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkK9HnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrwNg//R64R65dAzSQS0zgICjXRWRXOgDSbro3y3pfRT1s/P0ib24ll\r\nUugAT4yV23NCOGTJvMnch4Th9Yve8c+MBkjHbLMkdV/yd0/zr2IKX8hcvBpM\r\nAvZF1l9V7NSerK6VATgFEnpERY4hamNctc/fUM0vnWgg1zyPZf86zCRBZHzC\r\nUXlv3TkpLw9ufPpOgZpeSPyMhgITeq5287VLRZ+7T0+yZL5Tf7/LVJRiKxtI\r\nlS/68aEPDfJaB1sm7WbIzZZAEG7GFEPzt0AVUj4lF0KivFwajm/hrdnjIwAf\r\n9+FSo5iwXMNjT0/tHGMSoi4rp6F/B9ksr04GAnwxjYHdgP2TSXar4PJXWRAQ\r\nBndZUXsGBRwioYBLkJEL3/3WkUNed/1kZRXXKcE17iid0EvzHqBfNcfPEZSf\r\n3whhEasCtTh1h4bFGsNdbGLcpFWkwrTVkS7beHNoXbLpinzoIkvykAK0q01M\r\naerkaBsUWR7A2T7YminFh/BvzAvzl1vrqxVeNUcDhnWxgZvlVfEr8BvPHGKy\r\n2kV0Tc7BmIPrrKbN0XuLU0jaxINUhwZUyKExnK11rVtYx4rtrBpwlVP2YD08\r\noDOg7niM7xJ/Bcb5IJWjjdspEkJR2B1b7SvEAnBEi163tHfOhtheCRYFJmKj\r\nfQPINpnZ6wMQZqYWVut+mbzphqC3qFsfgvU=\r\n=Pe56\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"342a682dbc05a6b97b4d529b7604daa62f7d1066","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.31.1-alpha.22+342a682db","@uniformdev/context-ui":"18.31.1-alpha.22+342a682db","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.14","cross-env":"7.0.3","@types/react":"18.0.31","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.31.1-alpha.22_1680593383357_0.23367367757660018","host":"s3://npm-registry-packages"}},"18.32.1-alpha.26":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.32.1-alpha.26","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.32.1-alpha.26","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"22120ca7b9293df168f039a4b36c6d008f936360","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.32.1-alpha.26.tgz","fileCount":7,"integrity":"sha512-M3lRMIgogpo46YK9fSGmNLxEFFFXWgVBHmgb+UxQVyUhuJI05CNw1J8v3B7f71w7oHS3wUxkpVoiBLM06Rv30g==","signatures":[{"sig":"MEUCIQD/agQ4dhVNVYbBpgGr6v127QwV3/wKhRd4JejJulNdKgIgAKQzF98N8vMKl4gZ4grzzm+00g87X6U+Mcc9i6f6mRA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5306787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLW08ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp30g/9Fg2sdwGDEOSzpHh8wTWww4PBZOoKrb3ms+yW/4MjMU6d9BYY\r\nE6ptt0SIxOEIy9M1KJ+yAnVrknxJoFABJVzvKYR3O8sna3OWo2K3fFE5uxeS\r\nPbfQb3Ljey2HFbTtTAqb3Ko8BK2WEAafZUdIAoCgxoHclTvckk0gl6dPfqgJ\r\nyyjWnAJnEX4e066oKguNxvtuQ1uMDXb3m2UimJbg3N+IVahmpPtCYeRk7ysh\r\n1FUZh1g+kdOEHcvVkzrJojtK1S/SDerJOo2byCXOqk/c4yW5T68fRfrE+QEd\r\nO1BhGQWCoC3z0n21Nn4gaUmUKu257BV06arsJYrS6rSlbUC0HvZ1q5TPQqPG\r\nMLD9cFJGxjL2zwElP+zJdToMjWxGXYAcDz/zZdj7dZD5V1OqyhZQM3GBNQqZ\r\n7fMDRY+9EhAXIbkZU55r+8x1aiAWbfGzT/Dy3Eb9GyHNCsM/a/MNtk+3TSa7\r\nhv1f2K1r5pOybeWoJK26jmihww5b2P4lAtjS40PcCUHWh/ibkMrbLO9Vo8ni\r\nm6/JV4F1Zx6Z8/rCQbAeR8dvX9vZwar5zkMrgOBKgYg71yWYD7877uw+aAz9\r\nXgf+avLsiqzRPmjJjWY8hAy8aDXt+vwi0ziEh4bdP+JHgmDvIbZGJ+17+6ag\r\ne2OBaBVPr0GFXkjZYM0iWsdq3m8tyZEA9ls=\r\n=Wlzz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"371f15eeb2def5acf3000d0e6efb6567c1ec3395","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.32.1-alpha.26+371f15eeb","@uniformdev/context-ui":"18.32.1-alpha.26+371f15eeb","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.14","cross-env":"7.0.3","@types/react":"18.0.31","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.32.1-alpha.26_1680698683862_0.05150927955983642","host":"s3://npm-registry-packages"}},"18.33.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.33.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.33.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"ccd152e8f133f9dc13d865a847db38d902a4383a","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.33.0.tgz","fileCount":7,"integrity":"sha512-xRAZfPcfXpeMIqPhBaa+DZlyIc2uD1Q1wmuSMGdRnVehXJiC76C+851yFmBY9w4j6imsbx3X/co+izd0+SUD4w==","signatures":[{"sig":"MEUCIH6CximEpLsT/myylwKWl2Yq+dPkiNbdpNFh8AZ4gnM1AiEAwdlKjw2QPtS0EilxWDxc5aOPYLFG07RSTMyD7cU+GVE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5301251,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLaY+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrdwQ//b+Vj7WVRctW39ySlk6GxeIto0Trnwi+Jp8mxkhugRaUWXV37\r\nsluNbTDGaZVQFWL7IIoEaVRRVVqQ2D09DVbBXuj0kZ54+lUftKF7hMhRGy/T\r\nEshm/RvSofGZOHbjn6Dq6s8gmF3VKWxVl9GpbHoP2z8LAjXi6Zlnl1aau1mt\r\nV/GFAY6zF7B+iTDIOCXpoJr95rP1gbUuJl1G9uBTneipuZm6cioX1rqvPIqQ\r\nSyuj1tuvnn4AFQZAZycPoefbga7v/d+Lalze5tcJQBA5TQiGpwapTHXtwX4t\r\nUHx32jJhrDbjGwqcH7vHhcoJWfzCQYoFbLBSfKdBOtCeF64nMTsXbCUg82sj\r\n/zcmQGtempj4eKVGuvVLaIkphSEfngUm13z1q1n4C01RLR+DZAhMN99PUOOb\r\nOacgdnMIanLXOVl/h70RhzPpBNZjQaSXcFxUbRIM1/LIJQTGh1W7Mg3xxHg7\r\n7tn3NshFkufo2bmRD0Bs0+HbbySWCEK4QMQvoqpLlm3qUfFYJ6sK3IYujXbw\r\nevB46Q7mtz6eVn4MUV3qSXFZudA6Skryvd2s1Uy8AyQKRi7k8XsRiMuIbd/S\r\nchaQUcNYCM8ONXXv80tFk3b8o2020Obiae1JiQveoEPmcz9i+EPs0TxAKMWj\r\nTvHdDcS8MluSIki49PBXMmsGDY+xbPSsdfU=\r\n=rs9N\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"2b6ca533e90fa133ead4ce435f4a3f19e30b21c1","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.33.0","@uniformdev/context-ui":"18.33.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.14","cross-env":"7.0.3","@types/react":"18.0.31","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.33.0_1680713278101_0.03533771459138424","host":"s3://npm-registry-packages"}},"18.33.1-alpha.7":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.33.1-alpha.7","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.33.1-alpha.7","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"a9c1f77d8475e7327b2efdec7623f26b44e0de72","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.33.1-alpha.7.tgz","fileCount":7,"integrity":"sha512-wNGmvOGyUYYzKNdHe0Vv0ZHEoPc6F6fOzBLQUiw7ew4qYcjuciRfaPlUczu59HhVycUgFa10DcN/WjbCrLHbyQ==","signatures":[{"sig":"MEUCIF7Y88YoENsaTHzkgOlLofXlMG6WWNz+TuZuMOkgJZlSAiEA8JqqeRNy+8flkNZZ9JmL0IPY0+nGPKcGDtxbkiHZGoU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5301305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLeunACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr6NBAAkDnUH3BFrJUUDJKTJPVjxpA594DtBZbejIxCKrEG3dvYpNBy\r\n/hpQPYCQfK+XYrimfCEdkFTgiYuxUdV+BVqRiwb7brTh0SzfE9llaLxEFmA2\r\nVfU+7xMPbz+ji8TLfDTGc2ygtddBmFyPqW+nPFH/C9L0gZ7fpar5hf7fYlkR\r\nTVUifT2BEicg5ZI2ZCA5lnEMngu0h2m3imjQX6txQsMJF4lGASBWknrbtGeB\r\nb5VTRfgAhkoT/49wzfJGtHb/UngXo7zgaQaK6Th825g9d14EvZMV1QgCW9Yw\r\n1ueoqGhGV2galeaeJ7Jf8/s6+u+uL4Mym+ik/YEGKbxbaQ9b024PfpwrTws/\r\n47LfJ95+yhcAnfCy5J4ZcUw8AfKwSlnsBzP+gtskqD1c3ZSUxJV2Vz6zprOT\r\nOP9LOcSQJ3DleskETs2OOCTHNvRfzGPUJbiCHIpeO8ptud55raXxeEsFrQ55\r\nR1DJWj1tXK/ZfjzL2PcA0LL6O0YGJezPIYJNZuxyK11XTgHG2JuaT657LDHl\r\nM5Xvvy4ICFpkQ3hXat637z23Lfk68f/q96fQ2I6lm4EM/m1dfkT8KhYjqPlU\r\ndfFNO/JHdybJtUqEHX1tgtk3M58szEzsdo+S1skAFVPogF3lbERFXaiFe91u\r\nlq+NeXoJ230kyg8LWy1p4O4X8uwwqoLqkUc=\r\n=8/lI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"7127237a1e099d2a11fa8c06d49cb01cf16c0852","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.33.1-alpha.7+7127237a1","@uniformdev/context-ui":"18.33.1-alpha.7+7127237a1","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.14","cross-env":"7.0.3","@types/react":"18.0.31","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.33.1-alpha.7_1680731047474_0.13610364610764902","host":"s3://npm-registry-packages"}},"18.34.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.34.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.34.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"f628bf5d09995ab1e4acde60e122535c461b39c0","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.34.0.tgz","fileCount":7,"integrity":"sha512-SMBDoMIgMNUPYrxrwX0mJaEN/J14/fMU+66huvdKZFceWkJNcZrN7cL3tGZNCJjKNP9np8R/8aAEa0ytUqZ/0Q==","signatures":[{"sig":"MEQCIBVaAncTL5xdCQeDOYSvwoSKQbuvWDloiSLvfCOLLGsXAiBES9dHFsLxpUrMvR16xD8c/xhOM7bE1ErLq/4H00D+Ww==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5319541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLu0IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoF6xAAoUDFVjA85N0fdhkJeO5XO73TvJCj+fFZiDS6nqqNS1bD0jYN\r\naIsGvCPy9FUsjpCCk2N8+g2GM+us4FP1ZUkt/jN/kObSz7rRj62g8XX++AI5\r\nu6ugNdVl3pj/jjAiS1flQuLkBH3JDQJYuk67S1hri+q6IL0QDRDsQI+II2FZ\r\nIGua1sOUYHPNyGKwqNTPx91cLpBO0JPSWsJg6Tkj+Nu2d1WGCUCcjykTGDaS\r\niOqUbFkwW/PSE1TnE22tfB/erCBncrSseOH061pvCDDyL4/6aTCkPFJiRzG8\r\nLitLDZ7Lq+Fax8zz5hm7fDE0/I8EUCQwl5hmFR7nevRCMYWA8qyxZe5/uz8T\r\nqIZOZr5PQACGgXDdgiwfryz5jsLGUOwjHo+M0H7I/KDnuvvqgiFq1RPlW3lI\r\n9zWZATzfSs7FonaGGUfpBxUQl+v8O/elOLaTx84HfTZzN9eTd/yX57juI0vw\r\n9Z1iaLbcEOdFt1wU3EupMUJrPG1KkZZvzbUwHvhyNMdCStiEHuG9FKOwQouF\r\nrgm3nkENcZNtzWqpFBfv3A7jG9Fmq9LbHmcqdrjCIsrMX9e1vrR/mzlSvf2m\r\ngRmCJVBTw8X4IJ5VAIx3qQIBy1hOmHPH+5igEimgxpsDCvid03ZwH9Z/L4Sv\r\nYF61kjQNftAufyTGGG+F91uhCfQYiEEdC+o=\r\n=pE+x\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"563ab31aa4308102c988bea321028e73efe836d0","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.34.0","@uniformdev/context-ui":"18.34.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.14","cross-env":"7.0.3","@types/react":"18.0.31","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.34.0_1680796936493_0.601907599390787","host":"s3://npm-registry-packages"}},"18.34.1-alpha.57":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.34.1-alpha.57","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.34.1-alpha.57","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"4bd879e2a69d95feb174569f1a3d3493d3f58f7b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.34.1-alpha.57.tgz","fileCount":7,"integrity":"sha512-TOtRwttKF5t3kc8Mr8Dc8GYQCikB2vdiMWHJVWmclSKtF2NcKlsccSL+uHwltVKZEOWK/WlKyb+CrqutdwhtUA==","signatures":[{"sig":"MEUCIEr8KsqPX/PmIXXzZ736/T4Z1NTSlAprHPQf7nn5oAylAiEAuRCNgGw1a+dzOntinZ/MOu3uQWcZvm2J/Bi9VAV+EFo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5325077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNWkmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr9/Q//QXMZ+UuNQrFeA14Zx7+spGgoCJCtQ4qMRP4fEtTjIl5u8RLa\r\n/YIjsKo44TuS7CkFG5a/BjencyvlSs8k4wI9xzMFqE8lIEJlyVONpnlAqcmr\r\ndMO0lNUnXyUkYB7EpNxZ41a9hrJx5wtROFin8jAUxxh2geuCw3Uh0TP+leup\r\nsvjpk9/EJ+87nqE56CrCToBGSha5cxa7OfLbwmPHMtIsizldkhft7gKO58tw\r\nJxBQdg+5+nr+dHpUO0or2nU2d1tXyVTh4KvX0EgCcBVqFKqWBk85sTc3TKkf\r\nmHHzMwmzAZQcy6mjxq1ZbAKSQTZqsDZ2J2uucEh45uDwr+fzDmsL169u+G/5\r\nOYGNic9qElIDR47NW1cqg8QtLVF+C6wszqx524A2AKizYEvvapeBasSFRYr6\r\n9SUf9kP9LzcPNKjOpWHT0YONMMVdS1dcaCfP13TWeqZjGNgqETpoWPN+JARQ\r\nfoGOREDJqz9Qj7PpwsOHx5k282knv0uQF0n1rTz8qynsGCkE5ua1wm8OhiPK\r\nWM7DAXLWPd8gT4MKdUNblH9LIXs6kXs9gvEV6tKZ7uLmLymRA7Q/+fvTzFFI\r\nuUFrvdRd2NpEndLYnhFc+7vVDdLoxWzHXTqSDIx/1hdcLyyG3EaHYIog7nJr\r\n1t2ZJW/umoT05bY/7bG0bAaD/ltZBeuuJPE=\r\n=qGUL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"d06712d70880e665966897d71c92444ea1dea80e","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.34.1-alpha.57+d06712d70","@uniformdev/context-ui":"18.34.1-alpha.57+d06712d70","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.15","cross-env":"7.0.3","@types/react":"18.0.33","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.34.1-alpha.57_1681221926575_0.45217449727706294","host":"s3://npm-registry-packages"}},"18.35.1-alpha.12":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.35.1-alpha.12","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.35.1-alpha.12","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"a67a9bba56a04cf606ffb58104ba12b392b19db7","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.35.1-alpha.12.tgz","fileCount":7,"integrity":"sha512-KiOAJgIzLHZjx4GK6xNNW3SgBPrhyOqWU6ObwJ7b1pfUwDRx5PqXk9aau7h8hRXtRlZsvxSAQGloChr06h8V1A==","signatures":[{"sig":"MEYCIQD6txvVqHFvN5QaTlAW2slIhYPyBY2dtHuSMgMbZk5UhgIhANoe4JlCvyj6QVr0l/G3fxRG00BiF0OnFbg6PFEwNGr9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5325077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNdxxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmouRxAAodODmjfDs70biM+OMGO7POaJLRBlqcruTbIs74y1t+d3dh66\r\nNTs8Xy5X6k5ngPMazAa3nfTtQCOb6sWmlnilpmTaxIDQ4ISO6keEQUSSWx5x\r\nCpeEScelTd9mbQUNHnkKDrLj08Vkww0XFasmg7AI12Y8sqUrQmhcuTrrXuKi\r\npnWl/xiPK28Y1CLYu8RnP7/QH3j9rhMJj8Gzm3LAb1wJ1K56P+0BoJbO1Rzs\r\nM6eWRvVxyHfZ4NghJUZ4RPH80dE4vkyiswJIuaMDlWuc5pV/n8MLFOpBO98O\r\nNfmoTsUpFwPRdFrxZRUktIWvxSLZ5B8HPLZGMveVKfTRysnGi2kAltv87x/0\r\nsYYVKnXRKFh+fgYLim3QbfzrOvb03ncq6TzZSo7p22L3/9V7TD+fBqslMikd\r\nymuZ4UvC+uUU535IBiQV430vaKQa8tT4pdzF2aivraWgMyWYnHDfoLifXD8a\r\np+x+Xao+vcOIwhHr2qZjRrdpNkIt+llYoXoEPSHzWyBsRc4uqysaDWt7RLix\r\n9gBw+6FO4N8A7lfELuAk9Qll+ljCpfqZWyrSNHxZ60T6RDtyt125lgeSAqCv\r\nkWwSEllea12M5c8iO1PvWCO8ArkMIluMyj7XG19tJzHcZep4N/7oq7XhJJrH\r\ncxiAUf35j2tsrLq7r49UsPONA+lXcOKdkII=\r\n=7Ezh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"d5e86f5673575aecfcf517e684922871315f279b","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.35.1-alpha.12+d5e86f567","@uniformdev/context-ui":"18.35.1-alpha.12+d5e86f567","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.15","cross-env":"7.0.3","@types/react":"18.0.33","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.35.1-alpha.12_1681251441175_0.03978404297822391","host":"s3://npm-registry-packages"}},"18.35.1-alpha.26":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.35.1-alpha.26","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.35.1-alpha.26","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"c117d458bac0d9ce2c9110b7e93b81cfcf2c9258","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.35.1-alpha.26.tgz","fileCount":7,"integrity":"sha512-G2BRZPCPPIxKN9pjf7SFTmcMdyO/FLhWa2fmQJnpIIaCHEIclJbGa8ium4PRJ6gVRBcXfp35CUR7JUHEidPHHw==","signatures":[{"sig":"MEYCIQDePFZSxsQQk1ulO/z9XmuXvpgbPke+i53YsVaaxDGMhwIhAMIOEaxSkwI4bexPc3SBLAYIKtzmn5SfSodpeL4gKGkw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5218936,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNuU6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpbjA/9FYVdPIktjH2RKX0dmxoPa6Qvfx/XrmSzXpcSFd3Hp0QAhyaD\r\nRJjYyovDW29hvvLLL1i7O+OfNW9qdv9fOePeG8w1jz6tHrIz11M7LJ6qYlbu\r\ney6AclStEhAXvSZaWP0V7jw6Kda3CMxh3GXNXeVHfSTcGzfGBO1TZmNN3yH8\r\nj8ZSTjJFkHMdgmwoUMX4efm3B/dfwmLXlfDTlQBhyrsS83+ABML/4QAFier7\r\nUVWsqthnLXKofJK7cfdQQ8F1AbD6jOsxqMIkfE0BYpO41gQk2k8JuNJ4ygbj\r\nFXSf6B3tG1ofl2+OIbP20JkjrftMKvffWMBrwti2B+n7PFakd0Jd2Y9nLo9I\r\nVpp0HRyPwKyeh7DyV6LGICNnCpIdsWlP6ba8DNbRoHj6Dx0/K3fivfWF/Rbs\r\nqVPlffF4lcrBDcB8robxOlVf/XlScExY441tBbWkmZ8x+FPUQ0T4KSlYUbr5\r\njJzda5qvkrkK8MnhePpkxH+I4dUFfQEgEeju1ZLkjAqYxDc1TOelErI/hNwr\r\nDjrjKzVwHJNAs7tVY+IBKd1qRUlkkwuNNHBVF4fFX8J6N2UNw8hBz8zQj7xK\r\nxppDicV57CSOtA3t18MRE8FsR2WPZ5CRwR6TVTzueLiLaymbSDb1cIulAv5J\r\nUz2L8q9CK5dyVJwYwFGxjND8O/ERL/IFEMA=\r\n=FneF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"277d77ae3e30655fb8319c7f221757981e8e00af","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.35.1-alpha.26+277d77ae3","@uniformdev/context-ui":"18.35.1-alpha.26+277d77ae3","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.15","cross-env":"7.0.3","@types/react":"18.0.33","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.35.1-alpha.26_1681319226312_0.21153860604834374","host":"s3://npm-registry-packages"}},"18.35.1-alpha.27":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.35.1-alpha.27","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.35.1-alpha.27","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"a49b8352e4a8141f79f476f0fde62970293c17ad","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.35.1-alpha.27.tgz","fileCount":7,"integrity":"sha512-GRXrphiLkf6TUYeS2BG59r/EgRuNfm11sUH/efUC1t797b5Y/Py2WKtaJZZsoLH+OcEgzZAGBZcxmKmoAqk0bA==","signatures":[{"sig":"MEUCIQDiYuBx7Vhq1BkKkyCq0eRraAHI22W2AIt0TH8F3oYUXgIgfX/fMWwJj0LNWezpDzr3kw0DJkk4o1g8IjvAhUQ7j7g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5218936,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNujGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo4KQ//fXX4oi3go/uhmyjHXUB3lhbuOVeaSEHEoc7feVjRuHlO7dfS\r\nLBv4VdsGm0mMVPjey+/75GzFAdhqtmdPWvOWbYhkmaoFGD/c+zSl8lrPiiNE\r\nRRoVZKXcpmBiRVkIkk97Rm8GX24PJ9Z0xIyt3k+cOk+Vbg3U4E7p98uTG5Fs\r\nRHvt4I8d77eUnBxmPniOpzsd6BdTUhl0abA99SfYNvHyxosdQaWQG8ebqDtZ\r\n5uQknU9teWTenWwu310rsCdDpdO+OeIkKyZzHx+lTgj4l2ROXKdEjUUMrXWK\r\nCYAgXC1rfyxVgMH3PxE160ZqFvNicHopziz7R2d79czyy3n4cAhpF1WuKiXB\r\nPqGuUNQnUtDAaF3BkaiNnnC9d3uTRDpfFRJjxFiCZdBFdbvUnFNkZ3Rm40LF\r\noy3d+yydw6xNocI89BCiVznSoItCs6K+l4mVZs3Fpp7jCBzgkyDyfMEK3Ms2\r\nLOerIqAGhqIjed8I7ciDdF0VDkg/5JDksQ4j3hS2AW/l/76ocz7jyTTSPUbu\r\neDvMKbd1qNp09pa1xydPOSL+UTxKcDkj8t5IJB9x7iPzAnBYZrrYf1gpyxET\r\neF3/ucsstOP0UReuABQCoUnWNDDFos+UKaBtKVWfVOV8Yi9yqlmCIS19py9B\r\nx98mk7baBwMFty2INa6TwOMpoUu+WCqjXAM=\r\n=vW8U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"18371540510874773bba7b3e0fbb0c6427cb8e07","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.35.1-alpha.27+183715405","@uniformdev/context-ui":"18.35.1-alpha.27+183715405","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.15","cross-env":"7.0.3","@types/react":"18.0.33","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.35.1-alpha.27_1681320134024_0.853727432170182","host":"s3://npm-registry-packages"}},"18.35.1-alpha.16":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.35.1-alpha.16","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.35.1-alpha.16","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"804ba41c3b6eead14f3ad1d298396d3cc28d842a","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.35.1-alpha.16.tgz","fileCount":7,"integrity":"sha512-RSh/YHT4AOiDzExO9C7eN/0rFh2wLEi//3W6WZ+IjJY8UyBYjQETOxpisIIBkUIcTdPq27qqrP8r42Y86bVt+w==","signatures":[{"sig":"MEUCIQC5xCJSvPl990ELUnUM12bg6va8gYgALLEYtuTRaLJacQIgHEctK7JCIRHu/SsfkZrW2wY/Q+PNKaS9rQ2yffnojqs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5218387,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPpaOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpb9g/+IWvZ6QZoQ/tOMSwl9SS8ZIyKVaP1X1968h/KkcEPhcZH8Ttd\r\nLB1d8n9YwU6wbZ7nUiqIZlR2HyeTBY+E4iPTiB3OqrX11ADHpwXji8FU95Dw\r\n0Gk2xQTkhlRsNmFeefy+js1AWnipIhsE1MOIbktIvR+AagSU06TR7PPpgAe8\r\nviKZ0eFAXs+CWWWN0RBkbbxXtYgS6fpZEoFL0UmEROvel96+NP9mnP0Kn9Ba\r\nVbHDRIS/S0l/3c0GNrw96zKjxueFOf7JDeX8R0lTYMbtxdmBmJ/nD0OBKySV\r\n+38pBfkjxFKryBTVNSVd0YZaSqOlWH5h4s4PDSe6/N6pui8MinWc1lT8Izne\r\nCa1uQ7a9/cr4oIlCQyjoBHDz/U7ZIqyNhKgXhAOAaSTC696TKy4BrLDR5Arv\r\neJ1taI+BzdwunIEG6Z+VjRTphcM38aBZqv2BRZes0D1hHrakVe+olECiFHWF\r\np6/4jpQL5XU/xHnHPCYzakyMsZ+/luktpiMRXfpILc3BWXBgNYUpE1Q1Zdak\r\nRwW5LXS1bGgkhKPW9ljomyHGjztB1f78OgV5pCFe47tLwz+RBJiQ2Y64qllQ\r\n8ThvO4Tu0GhZdtFFiF9xb05xhQXf+uE2mNHGFHLcbXkseX+9faIm7PMUUD9D\r\nww/SNB4yApDwyMYrc68EJOJ6YYbHghBpVbY=\r\n=a/tb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"3d99d8fd68048310f8f6dc56a1d18e61c35c9765","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.35.1-alpha.16+3d99d8fd6","@uniformdev/context-ui":"18.35.1-alpha.16+3d99d8fd6","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.15","cross-env":"7.0.3","@types/react":"18.0.33","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.35.1-alpha.16_1681823374509_0.14278067312598663","host":"s3://npm-registry-packages"}},"18.35.1-alpha.17":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.35.1-alpha.17","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.35.1-alpha.17","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"8c5e482039ac29cf9d25d3bc0d96aee43a4978dd","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.35.1-alpha.17.tgz","fileCount":7,"integrity":"sha512-2mCfzcxCsBlobpxHc76aIqEXlTJTL7xgoUte/x5+iB6/AdIs7TLU1WdWE1IJi6/Yzi3juTIzBr2MeaWpjl0TlQ==","signatures":[{"sig":"MEYCIQD+kAJD17kw4Xi4pRK14zPrl6W2Paf7UOSH0rpJ49k86gIhAMTcjQHxbUCvpBrDTL7WSr6tl/SQ4W9pb209IPrgV3ef","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5218387,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPrZrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoxzRAAjVUEGkTWs36oFm3kJ0dSdGrSU0LPLnPepHkVl5bKltLgSYMP\r\nrsb2mq+gUVuVjv6P67WVEU2dshVJ3AjKOLK1GbqgQR3oH2lHGwRM+juj0khW\r\nfq2+Th6Ge/HX1drf9j3kwYcbbz8wyj5Kkb2SZiIjaBue/VYuCxmfJ+jL5zVE\r\nP21xLg/rtZBTW7zt0ZOBkw1zc6NwGMLMEzKNQ6NjSYLcnZerU2kULIHXKMVQ\r\n3TWCwIcT1rkCH+GBijO0zpQLm9oJQHfFs2WG0/umwDr2bW3hmDexxMrZ2OYT\r\n63L7mbXNUC5CrprhBC+3AR6IkuNKEnCzYXrlTjc+7p12d3CEd0mZKMUEPInT\r\nVeIjgNbkAOHzbzgthIcjHbG19jpAfl2ztxmTd5fuhNMWFzMDtpChRGPAd4ub\r\nfG1SNUVL8UFBmO9RPlEN/3i3KlUm8qOCtijGdGpVe5rHcIkgn9Ed3DjtB0MD\r\n7z0jxbxiFH2t4Wg7F1I61ihkwx4xd3yBToufry0pqwxqx1kX5OSTLbEWmy/J\r\navm5i1Z5rqQEKUUcP+2Pl5mT5Wf+xAJv1wH4hbZSrLzzmlHKTmKhje57r7by\r\nh93+LEmjKb0BcGcGyAM3Cc41cYu+0qQXjQTUi0yB/CbL9BJoFNm9z6O6GLHj\r\nunZdGoP77p5RSy9Gh7yuH0wG4P41GFontNE=\r\n=3qG1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"c528ec3cbb765bfd058357968a9be5ae0926362c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.35.1-alpha.17+c528ec3cb","@uniformdev/context-ui":"18.35.1-alpha.17+c528ec3cb","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.15","cross-env":"7.0.3","@types/react":"18.0.33","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.35.1-alpha.17_1681831530895_0.7085269964346579","host":"s3://npm-registry-packages"}},"18.35.1-alpha.18":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.35.1-alpha.18","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.35.1-alpha.18","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"cb423182f77b87276b2186fbc4531c41a3ad4611","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.35.1-alpha.18.tgz","fileCount":7,"integrity":"sha512-6GYpKLe33Vm5QdfeJvfqf8k0Mh2patS6eBaGPwaAcEORgJZ2/UOz5mKdo6sTvoSlLSxvkwthic+atusGhvgLnA==","signatures":[{"sig":"MEQCIBjRaN/nQKnAXWLP2ccNTyNOZ5FX+htpFFrKLTiWMN7pAiAKR1xsK9B5GRv4exppts4Ge/UwiP291Ij60hSz0bM0eg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5218387,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPsAaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo+rw//Yv8pgfEp74NVSlFXsFruMm5c+fdY8wgLUIbAjQ8EI03HFZOd\r\nkIBm2FXrGj5L8HGPv6XfRUHCf4QwQxDo2wSZrVTCZYSLUKwGvSh0Gsm2TmdU\r\n1VOfw8s+nXFIee8EolszXhJQxk9ukaPYsoStTkBAi2Q4vwtnfFtisDlGDVlz\r\nwW9AE10J9Wpgm91OWfWwcjkoAl5u9/JA0nslQdAMR2rZpegkA971yarbVivs\r\nQyCakahgl7oYE3lre4a0Xh7XCz7LN79EYVoPAp6PvrCRNz93n5mWM+sm4kG9\r\nybHdCKMg0ASpUr6fqLTSPaPzVIQhDZjiixEcAHebeulNl5mkeI5SzwMxe/4a\r\n6/04YDplv86xkhqvC5r+KJFNjQaJU6lGxfVSLkBHhwxORoMwIlwND3E9SSoT\r\n3TAVS+qnsy4L3AjghlFFPUHubyLr0S+Lx4agUZHmPcOV399d0iQDUk0Jf8+e\r\nDdCc1rZW6zahlNapp5j4amgiCpeL4hFv6U26XirHZFAWDXtIFzGCQBJYQD/Q\r\ntiI4NdIXFOLVjQLxrM8THW02wx8Un3ztQWOe3IW7rV8ndpXR0Wt+EEAbEwr2\r\nR9KXmpIrKYtOGGOE6QshzSu2ZFxun6v5cf8ZAYFDTzj4MIE/nzZNIepk2WBD\r\nCDgHZcs0bDCa337yY8nsj7iYmMUdBOD3REE=\r\n=ZGX3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"4510fc3ce951613eb00718ee1a8eea3e3d63893c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.35.1-alpha.18+4510fc3ce","@uniformdev/context-ui":"18.35.1-alpha.18+4510fc3ce","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.15","cross-env":"7.0.3","@types/react":"18.0.33","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.35.1-alpha.18_1681834009959_0.5113279171644622","host":"s3://npm-registry-packages"}},"18.38.1-alpha.10":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.38.1-alpha.10","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.38.1-alpha.10","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"fcc1c09d60f9ba1202f12fb2b057aca517195628","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.38.1-alpha.10.tgz","fileCount":7,"integrity":"sha512-qXoZUDco/pPUazl3kMhmtwerCVpU3JJgRoFp903mLBLe+TsSgZJlhAWMoX4Am6CQ/NuDLd8xCuwvT6h1wEc9tQ==","signatures":[{"sig":"MEQCIHozcNVxdDEH5pGX1eXIT8hwdETrn+4Jpad/nhXc7owbAiBs9sPzRb6PuQCtAtpVJUpJJovWhgd4FXDTlJmNwtN8OA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5220367,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQAAlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7kw/9GI8TVHLjvhaDfQIr72Y1eI0hYNch2+55ZNk47lWmw2WwZRKS\r\nHGdCh7XpMkGXO5+A59grkDPhNqIQH0ySCztskuromWgwYpAsrVhWK6vCK6lC\r\n1JrH70jyN38zg8BPuIlzerNE8QoeNwH9aIFXxrXOz5kUSYyCGv///546iDS5\r\nAm8cmjYJtFhtiYFjn2s8/4z6UNutaHtiSGgA9GC/TXbn/tFUPoPe/j+QgAvp\r\nQXLSnDv+BmXPcmAazRQC1iKvZqR7upzb8dgOKCGQ4y0vdZMFB6SeUKC90C4n\r\nFHJ0QLUFWr+MX7OwVA9eSuW3bjEzFfmvPuLS0+VZ2BRkutuKO8qanO6hWanM\r\n/zEcx3rJrgPJBZKWqUte7F4UHM/IcFURoXWaZnUAOV5IMk+slylb7dzrPLl3\r\neyhHxmpYawmmiDDVzVM3D6smMVPsvvZhzTrESzRjrinoYD+iBojJvFyPnPQC\r\nPcV6temSshLnhFO7vkRXFMIWkyhERHGcPiuHzs/qZVI81TPsz+391/V7ETPc\r\nCD8fzJJ9fQ/XRhyvgQfLj+ODWvhUte/otknOPDHbp5SkZq0v1w0VXvtT2xYl\r\n4tKPTeVJwNz1rVi7tMW+KXMp5tzin6qPPt+exhzEVS49p4n2ygcTWceWxtuH\r\nURB8U4A/ITbzRH6oDui7puhYtYrRnVdXgOA=\r\n=UnDk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"13f006c1d5ebbe593d33f3446a8de84b4a2d42d1","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.15.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.38.1-alpha.10+13f006c1d","@uniformdev/context-ui":"18.38.1-alpha.10+13f006c1d","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.15","cross-env":"7.0.3","@types/react":"18.0.35","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.38.1-alpha.10_1681915940875_0.7794798800092086","host":"s3://npm-registry-packages"}},"18.38.2-alpha.6":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.38.2-alpha.6","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.38.2-alpha.6","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"af628e578a42c08d1953731bd924784997e3dd01","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.38.2-alpha.6.tgz","fileCount":7,"integrity":"sha512-NNS7d+k5ujMhYK+TLHjA+0YU2Z0cJ7C3rUB6vt7JqKTo7KRVSMTYYcPJUE8h0aRuI2ttl6NzdgXVxP+ov99T+g==","signatures":[{"sig":"MEYCIQCUQJFXy8M6iuZQodDuMy4rCogGQTqF3c8z7jHhn9CcEwIhAIsiGb/JqSTplEXYLfoCLujN3lIwOxP9o1DrWPeDk6kD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5220364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQRnPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrDUBAAie9+Ga7s8Z7WiZyeu5WwPLZ28X1gufMyxbeeYZZnVfqTQDGO\r\nPo/j7TiCpaQSXZiZYA6WwH7HH3aecNC1679dSZlp8COj50yHpJgcmLUkH+Q9\r\nxHKUS1RtlOrB2FCuK0u8bq6nUaZBQd+pRQ33HcsGbZNeuunQYhlBFlgiSbmU\r\nDqc3LmHTaJFjXvO8Yy9zrdrHGM/fBseSIdUjREiVLYnEygHUu0XLJxtwnY1X\r\nMcpu9UPBKDzoN3OICATO7Nn4AT/ci2Dj8opsgMmnaMhOw1/OhZuSTKGFF3dN\r\n9YrObKe5J49bKEntfvS2tzwWyfT5djAXXIMJB8CETLWoBtPZUgieyuhgd1PB\r\npebkKhL7iAeSILxlyhUMoOD5AAvFlEbZpwd9rV833LyW79jM4zU5jBlyTjiH\r\nzLbXGpGdVmOFRY7/2en7WTxQXKUHtk8zSexysV9+4SSJ+/cZewGrw3zo5Xpc\r\nCFascxyeKhUIHmzTfywTIkbZ0lg1m17RvDRpgcsmQ6w2+AqAECkhQcts9GmN\r\nh0G0nequqrNI2OxHaOpa41uPTZgKsniG799PGmH8iJGpjnNBAEOnljcS5LvV\r\ngFYRa+azIGlp4e/slcKPO8Btr4OrYWIQbiE2oEu/W4OJicdjgL90cHrCjiWb\r\nUi/bm/VRF7TVbEhNVcJbVSNe4+2yXXSVLZk=\r\n=f3gs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"d4938f167d196bbd523e6cdd031f56fab4ceebf6","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.38.2-alpha.6+d4938f167","@uniformdev/context-ui":"18.38.2-alpha.6+d4938f167","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.15","cross-env":"7.0.3","@types/react":"18.0.35","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.38.2-alpha.6_1681988046895_0.8884758108382336","host":"s3://npm-registry-packages"}},"19.0.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.0.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.0.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"7d5a3ac3935b30f60f0c8e4f3158c74e95a061c5","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.0.0.tgz","fileCount":7,"integrity":"sha512-lvQ+ZZ86POwPsg6PoB9xfSXUX/4h2VqzgipFuBJgzUggyYgLtG8Pk28uF1hLTUU1bV7LbSD1bLnXr2Q7bQfrbg==","signatures":[{"sig":"MEUCIF2yRp45b9d1OvQsTJi5CqfAIa8PoL9JSSS3wXYuGJI6AiEA1vyPQdiufvgWnTGiNFPwfvvkQsaLrvdAwEm42olY9gM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5242551,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQYGPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq/OQ/+NYW4izGhlLwke0PuUYh2N+AD8pzoSmzcgVRJaV9i3nD+QVmb\r\nSZq7eb2lwjyiPOGFNYNkzlYmapAT1gyQumhx4rAgETTgi+Q7z3vFFRUSMd4h\r\nhf25y7T78DUY4sD7DYLDmXYiClFMan37tl3YLXIsUzeq+7A6I1KhDzbHl6zH\r\ngGx00WMmROWvxlqawoupHTOoQ31hLRKeaZp4rhTY4TWSyp8n/4GJSDwMZqq5\r\ndb/TekXuSWi+PuIV6PR5y9GtoYwfpcmXOSmm+e0pr0o8Exwgftpfh4Tv+L4a\r\nIHqRS+ktNNlRyRx4c7++z5dTnPeAjA2tM0ORs6hdsaesl1qBy5vJdj0wp/1E\r\ntv/DIvAc3qxKp8fHKWzZr0P1weZ3RWalF6UanLV8tCmL9LW+YumFFW5XR72K\r\nLaVX3LC4LjwVQtjD9G4zVfjSmLDJNxX7fbg1ZzcjUSqrneUI3/nNT+tQkvir\r\nhZ6tW9JqIVgXnlRVm6c6gVFqHWVVEjf+t2tvQAv5IAfla/VORuwcate36+LX\r\nTvUlTqgIo71711WHD8T9+1cTrElFR+LIYxAWfovACWZv2mXPEkz8ncKISi7n\r\nJGQghTEd87Zh2xKVbkHBpw0wsgqTFkp59qhjYJV242Shmqlei2qS7nIqQXg+\r\nDT0pi4ZDkOD4iJEceg3fqB1d1ClW8SRmPcE=\r\n=ireu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"e104985924b24a8de1d8dcfcca6c9167611adf85","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.0.0","@uniformdev/context-ui":"19.0.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.15","cross-env":"7.0.3","@types/react":"18.0.35","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.0.0_1682014607130_0.274632384322423","host":"s3://npm-registry-packages"}},"18.35.1-alpha.22":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"18.35.1-alpha.22","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@18.35.1-alpha.22","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"64f6bd3df7916268986f094451c0982bd1544faa","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-18.35.1-alpha.22.tgz","fileCount":7,"integrity":"sha512-QLlVsSqvxx5gKU9iaBzBEmiuAsUcSFujPDZQ84iN9LX4KPFL2N8HkXCtwigR3zxn8gIco8VJKNs5orWwYLv8RA==","signatures":[{"sig":"MEYCIQDfUqMBTG5G3nWCOddifgbb7NSDo25SXtc+sdD1npuK3QIhAJEuhfwIiTfIZ5BeqNazD8YWiUf+rOZ01c5TL6n+xDKH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5242611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQn7KACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZ8A/+N5hffyeBdl0TGyFzMHrVxOjY1He7XJO370jXXHzD7qMVpdTB\r\nDtC0qTRAyVe2+Q+6SAhOll834b6EuV/AVSeAW2fzY2NutWp4+HehD6vZPId3\r\nEajJJuPTwJkF2RlHWtlp75f4LLkbvAqHxcSWtIKbiB3ztX0DON14A7LPOC9z\r\nhWGXjBmbBmiOO7+qYmgRdQl3YOJgxDCRwLoQ8JK1yt8uHC2GwgtNTaEV4AxD\r\nUIfnjebIY01D2f/tVGHRFR4O63cSoTdlUMUTFw42sJ8tHh0f9LEg97zLvYmA\r\nfFwTASRJ8fafV37vgiKXXDRdztkXccSfAuRlWS7bVrqDtOzId9FlgndruYW/\r\nDSfvhkcRYVyMXllSpGz8hR5m+b1dUjRPaiPMMnPSfuEyWxgs3OooQLCryZfl\r\ntQF0FzVkM3y9fy2lzF5JVtXHQTTCSM9LcwgK392d4PjGiaPehdzujbZhpzEL\r\nZdsMvag+rb7Hn3IJxl1TAP8+4GZUOaYB+yViEtKl7nOpe8zISVO1JEpW55l2\r\nrwz44QJmTXVARZvZiuxEA0VNApi+vz4UDf2l8onHJbkKat4pcC5+WQbZ7snc\r\nIV2vU3gr9GMzRdMn8DnoAjLb5XqdDjtTxdwd8Jr5abvmV6Tj3VDLhTONa1yk\r\n6tf3zgTPm0xPifdlBJYyEVpZyaaghuHhZ1g=\r\n=cW9X\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"55597238baeb37d7e7a5e2dca5e3b0953fd8e5c4","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"18.35.1-alpha.22+55597238b","@uniformdev/context-ui":"18.35.1-alpha.22+55597238b","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.15","cross-env":"7.0.3","@types/react":"18.0.35","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_18.35.1-alpha.22_1682079433788_0.5303816028399664","host":"s3://npm-registry-packages"}},"19.1.1-alpha.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.1.1-alpha.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.1.1-alpha.1","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"77bcd4f884cd3bfd5088957ad4b2cc2fdc34b7f9","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.1.1-alpha.1.tgz","fileCount":7,"integrity":"sha512-tWmJ+8qvoB5hIYzglpsxmBPmIAzv2DZ99XUcLHzKDkZi6OSY/rfNQHj3URDzvIvli6osp/f+uWxRZQCbD4PN3w==","signatures":[{"sig":"MEUCIQC3b/p05Gx2oA5fPcu5LJnb3kW4E9dKFYhrfLlYg5r0UgIgTTgNPwrYqAU5qa9YJW+BDp0d4YuFi+j6vZta9zo30OA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5242779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSAHFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmodCA//ZPpcdlhHURfSft5XZluLvDk9sL/65bmy6geqE1R+oKMOyPoC\r\n6iVGxF73mtPCVe77ZYHP0rwhMQYmjZTrLOnpURAzxpTepy5XYez17NKWk0VH\r\nT8E31qhjLoboGFeqCZYn0t/SUxGeX+l5lgwYsSfqYALoipvapbr8A4JkJWJ6\r\nzRmCJxy3G1UJYnJDK6+iWygKeIouZ3B7N3A1HKlRbCWlQPW53HPXeGwkevkg\r\nJ2KoKAmILZ7AvBAFTSLTdjMvb71hkVfD8dbQIvIyDw05kUSF0m+/kA5xg6aX\r\n4kU/Az3/rabna2hMCneqCkV2baaNM42UU3QwQimuL9N0OMvntwiAc54u9fzU\r\nUWHn8iwujJ7gjG0/HH87OVwZWfFdaMCpPHtyy6IShDhOpdxieMgFr693Dp6A\r\nVxXx+mrtrcmk8ybYXlxF2Depha0E5spH92UwDrC7u5NJGyutS0at8txj2UQO\r\nq5Nne8CMocOY86gK41u5ITYXifL5d/7x0sfOBYT99PILowUescxbcSYvBCkq\r\nEGKZmIycHFu0h9Spp+nf5HahJXWkRpqc2Akwh13mOdLyCNZIiors/GUbyBWr\r\nRxZOS8iGM3vJJ8iuD7QFgPGwlWQ2hEhsD4O9okpF3IOXkShoOLgzr4nbjGI5\r\nC+WB2YKJZVOhWHNhOJDwACk7H1ot62sjIQ8=\r\n=futF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"3ec68fe9d54c7128e57cc8a5c8116fe968f65865","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.1.1-alpha.1+3ec68fe9d","@uniformdev/context-ui":"19.1.1-alpha.1+3ec68fe9d","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.17","cross-env":"7.0.3","@types/react":"18.0.37","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.1.1-alpha.1_1682440644878_0.01868875017321603","host":"s3://npm-registry-packages"}},"19.1.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.1.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.1.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b6d173f03538d4ee2d1ccff54f22eb6813461666","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.1.0.tgz","fileCount":7,"integrity":"sha512-D3aJfhYMzi6R8ZNFwGZgKFt0IKO072f4VDUV0PbxdnaGOy3A1Qwd51E1dRJj84zBbrh9yPwioFrE+cSh8FQRHw==","signatures":[{"sig":"MEUCIDDMPkhb2+UkuckgbHKDoNPgd2IpawTqIbTYaypSu1MEAiEA397mLWBCuPJqzg6UU8aQ69AkzwqDo8p6mnpFmZWvCk4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5242725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSNfiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpgDg/7BnvDIjJHigPJ4ZW2cir0ztGIC6NTblvJZKApD+sQVQ+W2gVc\r\nJV3c/A//W8/b69OIYDotNWeGdTmisR7nmt8X+VAj+XBV5bYf2vpTokUI5oPa\r\nH4BVCTtFq3H38qiSPaAAWXydbCWszyC8ohxcLvAh+7pm2zO8e/1ifpyWXOSx\r\nmWIq3sMVxpOkgLfdJzoRNSfk7GVrauiQkJTvx01XQf7E3mq5RRbeRxn1j/sj\r\nbNFRxGdzT0+uH8MNvWdJp2+1hrY66s4WiKVZ+o1U4yODf+nh8TkX//QbuEeL\r\n34lxTGYzoP+FUZ9RfTjO7rIGoQgUT5ZfVNVepD2XfRzAcrv4aV3FJ1NRuH9I\r\nbzg5dcY7nWy/oX0XP+8DFnDgTbUI5w0dPbiyfUsBj5l908vCehikeHkoQALj\r\n9QeomEi9F8kRypPBwf19wcjwNnwV7km79ATJeUn+fE6nzUb/vv4Qoi1nGDH+\r\nvcZ2ep2oUFWflt6TK9chgkWnkNFmXeZxoh2SX2J+0jYT9kVFANlJ2iDE/kl1\r\nLIV4QXGRe2USPuVBnI9n9AZ6W5yrmO517OrUKk3AlFs5HAtjxmHmhZZetozP\r\ncWf/L0914UPlX6YB85SNyoWfa/74VcpsqpN+//HlMP1VJ9cwoxDx6lQqAE+C\r\nQXqmgD3EwGM9eI79OGt28zGSp0X4YJ8HCfg=\r\n=ReaX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"0a06bc3cbf5a3ef7eb72b7ba237e76df645a4a88","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.1.0","@uniformdev/context-ui":"19.1.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.17","cross-env":"7.0.3","@types/react":"18.0.37","@sanity/form-builder":"2.35.7"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.1.0_1682495458559_0.5181167022250575","host":"s3://npm-registry-packages"}},"19.2.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.2.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.2.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"a32801642d64a155fcad1de4ae6adb6c94c97a63","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.2.0.tgz","fileCount":7,"integrity":"sha512-wVwVoE8O7pJVp++N2cgEN/jq9NrfhY6bAxTvFsThrIdXDdZmjPjiL6G1gRZJymX6bakFWtBrUfoNVTwnUEVpgA==","signatures":[{"sig":"MEUCIQCLGt7IXCwE5dr+gk7zUabWzJ7nxloALP/PQtGa9GzVPAIgcwra2i3AHyq5q+3bh6lHCWe5Dxz4Q14iN/VS4ZbaUww=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5243052,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSVD9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpNfQ//R8xAJzNyx9nH5n9xc9289wLe4/Ucb944I8iIk8guMxHrtkMh\r\nR9lDX5gc0yKWNL8ef3amx2z5ognnwXyge0+9dNn60jxwfEP753WpaGAXPCSA\r\n5k2eGrMGEiJSDq1qzMkd1evDnhYre9LfSabi5k2lTz0oh6nWefxmEHU0kBt4\r\nK7QUGQMxyI+JXO+RU0FtSTss8NAKBrvtjhklqhDSSt7iUmYt3U6Zx4U32h2e\r\ntuSLLsMVcqPd3Xu5CsBmdoa4be5ffg4duTSZAiY48D1+V1U5Q06J1dUNnPef\r\n2mBB6G4JqB57J56VuM0sBPKBxrU4yPi1RGzDPQlMLeWsZ4MfRiXovkV4/Rd2\r\nAUoiub+8Ygw9+U/R1/oZKKQ70ytR7RdNVaqPukXTgCbTW3lRHa+NDN7hkMHf\r\n0jLmGyDD1ryrVnxnoEcVN7guvONXnGaQ4bAdDJ7JqYI6h8FndWHaYiCCTzjD\r\nv4p1c4ui8inCXSSleILim7Ae2MortKpd0q9yCFCh1BniwzCUybIIEk+WbZOi\r\nGdWMQ5/xLL0BIiCV2SqLh1p2u6bNcBV7n/z1XspqvL0EXsJbJ2jZ3ozmKmZ8\r\nke/X6VTEfRlYm29GoWP5NWEg9dv/vqyGFrx1Wvhi4R60YKFQLf/rvZw2VK01\r\nV0JLoJA54eiY1wRyLteTgcvJNcP9/6nJXr0=\r\n=P2mc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"9eb2423cd12a5db527f9f3a9d46b47ac2a0e7eb3","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.2.0","@uniformdev/context-ui":"19.2.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.17","cross-env":"7.0.3","@types/react":"18.0.38","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.2.0_1682526460929_0.7866270419033015","host":"s3://npm-registry-packages"}},"19.3.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.3.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.3.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"914e51c4ffbf76ea269461bc08601b06849a0f91","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.3.0.tgz","fileCount":7,"integrity":"sha512-n1DQ5rTWczly2TCL+LvKRs73HZdHU/s+66UGWcYyluASCO4VjHLt1/ryLcb7bYA1pWSRap0MULzr5KoEpSY8dg==","signatures":[{"sig":"MEYCIQD9E2Roa4tNZQf0LySG8Y3/buY6WIeKJr5XcbWKeS6uYQIhALKU6unq5Xkr60BK3O1LjgclKr6gZKhjNc02KXcfDvxY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5237798},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"57552ffe10ca66f905d8908c82dde39935fb1803","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.3.0","@uniformdev/context-ui":"19.3.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.18","cross-env":"7.0.3","@types/react":"18.2.0","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.3.0_1683041102560_0.11863398356695609","host":"s3://npm-registry-packages"}},"19.5.1-alpha.22":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.5.1-alpha.22","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.5.1-alpha.22","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"e38faa77a574b0584296a70ab630ae4c87c5d88f","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.5.1-alpha.22.tgz","fileCount":7,"integrity":"sha512-AkRuHXYD6wBHGD4hr/gWzEyJkij0bQqbeRgApr2xFFoCrFqK31NK0RrpYcb3WBRsNXjNgCCQ3Buiva3Z+Cs/Jg==","signatures":[{"sig":"MEUCIQD6r48UMeziYkXXXesDXoD7xRnEzf0P/tCPtNWYETfuqwIgY58FssGiPDIXOiIZAoLcFtH70latlUSnrwiHQdAJ6w4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5201772},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"5b4a94102c83a88c9fbf888a24d633e8abf96b76","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.5.1-alpha.22+5b4a94102","@uniformdev/context-ui":"19.5.1-alpha.22+5b4a94102","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.18","cross-env":"7.0.3","@types/react":"18.2.0","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.5.1-alpha.22_1683316846689_0.08361204916366582","host":"s3://npm-registry-packages"}},"19.6.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.6.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.6.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"bennich","email":"christianb@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"80dfd6f1ddc82447c196099c668f03b8a4ce898d","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.6.0.tgz","fileCount":7,"integrity":"sha512-tgzkRPQwNZYRIkRPymm23Loh3ZmrCIEag+pv+tgCmxVup9LmRgPuw0spIOghjYnU57rZQH2XaqsWTcZhfS5YNA==","signatures":[{"sig":"MEQCIBtuG1gHkgPbX+q635ZWk+FA0vcK/a8re5B8sb4VMYRUAiBnxme6XvNm+8x1MeaOzVAa7rG2oCJ96EcebMD6GGlCOg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5201874},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a14550dd1caa33fa1310ada642d06ce79bbe4eac","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.6.0","@uniformdev/context-ui":"19.6.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.18","cross-env":"7.0.3","@types/react":"18.2.0","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.6.0_1683563988007_0.09640013041628537","host":"s3://npm-registry-packages"}},"19.7.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.7.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.7.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"80b63627505eda68ca3eafbfb7ed272c5cc9c6e7","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.7.0.tgz","fileCount":7,"integrity":"sha512-8FqUSuHnxG5i2LJifGH/WspsUrXFDqhVMuApbcuVmggxrcajUgLUx+3TMkS0gRi5a6UicQYb2Uv13Zc28otqqw==","signatures":[{"sig":"MEYCIQDLPp8g4VGrUhRpLlQOAKe1K/1JIK0BLy78cEvUQVZ57AIhAPFY19GGUhXrHhipoVXknfxrDj8yjVDmH5GtJF8594pK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5203380},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"bbcd8d36ccb082d87f1f434a94d6d9402ddb5424","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.7.0","@uniformdev/context-ui":"19.7.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.18","cross-env":"7.0.3","@types/react":"18.2.0","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.7.0_1683650793050_0.073225446514529","host":"s3://npm-registry-packages"}},"19.8.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.8.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.8.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"73ecf9294dc8fbd8d47fdbf9072df99ed29a34db","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.8.0.tgz","fileCount":7,"integrity":"sha512-VJbkFFwGZNSEKIci6EfAtcC0At74ZTUVlToUqyZP/w2yQG1G4e7F1vl3I7baWPPr5vSf6qlwU1DWn7TRSXfoYA==","signatures":[{"sig":"MEUCIQD/bZ4+ubGo2CWxME9QtaFy7F3ssg1RAIHQ1pTDUlUJYgIgHHjESV6FD86LWvq2wDlLJQnohUiF47u68Yyt6zqew7E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5214370},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"70eb9277bbfaee5f9245e1b26b4e77caede22944","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.5.1/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.8.0","@uniformdev/context-ui":"19.8.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.18","cross-env":"7.0.3","@types/react":"18.2.5","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.8.0_1683791385139_0.9534500260446301","host":"s3://npm-registry-packages"}},"19.9.2-alpha.3":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.9.2-alpha.3","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.9.2-alpha.3","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"343abc14469b052aaba713fcfb2e658eb7732a79","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.9.2-alpha.3.tgz","fileCount":7,"integrity":"sha512-FHAeF9kZLtWclqEFIFz4UVXauvg+krhHLI7l1amw3daK2FVT4roalB7LbNTFzbniMI/WqKZyXRGKSjZxLy8vUg==","signatures":[{"sig":"MEYCIQCWpNgpo9B2ji1VwhUpjxYBEme3XO8B/wWbqsTEORzF8QIhANnvpWPCSlhrnfEHhMJJ6yjyxxTe7t3JPK04ft7pUg5i","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5219667},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"547c8b11d4655b34250c2fbe3f016c9bc12c3905","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.9.2-alpha.3+547c8b11d","@uniformdev/context-ui":"19.9.2-alpha.3+547c8b11d","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.18","cross-env":"7.0.3","@types/react":"18.2.6","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.9.2-alpha.3_1684424199578_0.089342319752713","host":"s3://npm-registry-packages"}},"19.10.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.10.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.10.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"af4729c6302e213fbf22d602f4f2679b05dac5f3","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.10.0.tgz","fileCount":7,"integrity":"sha512-ZZFXjuX/e69vSiCG9ck+D/nCbejswHN5BrppSPxgBrL54dVYhecKaBWd93u5m0ppOlsNjhX0xUfvzzrm5We19g==","signatures":[{"sig":"MEQCIATsrC7G7CB3HIp7lkNeIc976NfM1hmIoWk02ow2VJjUAiBc/NWWxQAWXI+Xvw1yDvEXb0ipjaOFzVzM+ZaZ6V8P0Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5220135},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"149f942da715ed802545850283f9b99291829a04","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.10.0","@uniformdev/context-ui":"19.10.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.18","cross-env":"7.0.3","@types/react":"18.2.6","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.10.0_1684431704301_0.5011895674179487","host":"s3://npm-registry-packages"}},"19.11.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.11.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.11.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"d7be551e8f3f60c915a3d05f441e043f7cf3b78b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.11.0.tgz","fileCount":7,"integrity":"sha512-L6XVZ5Mwh0OuhEKv/Y0VkpWuIeBmpjR3R9bnABF5erbk6QuqLcMwflGv8/GXKiLktNECmRNii0HtN2kiveGzRA==","signatures":[{"sig":"MEUCIQCZiOA0+NHLoKXNdj2ghYkbHpQLazj0Hp0EOa1dbMbtgQIgIPjls1XN488jn8MskrymL4M6NLSCVIeNgCqnparr6mU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5222085},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"25d492fe923f313b517cbc70d3ff13fdcf97fa34","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.11.0","@uniformdev/context-ui":"19.11.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.6","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.11.0_1684775374374_0.03705726731424219","host":"s3://npm-registry-packages"}},"19.12.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.12.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.12.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"39fd49abaa5d631ebfb726c107aa1957e1022547","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.12.0.tgz","fileCount":7,"integrity":"sha512-BurP5TCR0FV8glxL5n6ylkYqjEd+TXZ1BNKMhLqqIdFFvQd7LI0n350zbccwz24213qbgw3xfCBdGgQv54B24A==","signatures":[{"sig":"MEYCIQDJhVuZDUh16k9hdMi5kvl9urrk3g1uXdXw74JMoQ8PhwIhAPaq0DHXAGzC+NXNw+PNaKtrEO9kDRxnQMVVVVQGbyyj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5223375},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ca508c44f1b274e3e47d90717a98036256ae8379","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.12.0","@uniformdev/context-ui":"19.12.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.6","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.12.0_1684947040829_0.17379396843764106","host":"s3://npm-registry-packages"}},"19.13.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.13.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.13.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"328725271789c7aa687c1aaba22aa69169ed2381","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.13.0.tgz","fileCount":7,"integrity":"sha512-WDDRGVRE0Ti6i2ADA68etACk1Zu+t/5pKlcx/avXbqjBtBIzJBAq3kKl/AlrLeoAeJ04/AfS8v4SYmQkw2NN4A==","signatures":[{"sig":"MEQCIGMf5bFiL5HaQ8+vwXoqJFdEnxATOnqwaT0ItY12OJUhAiBSn9vQQUUzFeJzKbTsz7HZEp+DksYIq2E37DU6+zf1uA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5223375},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"1670a0e2475a7a98745ea737cd3b2b09649fe1a1","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.13.0","@uniformdev/context-ui":"19.13.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.6","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.13.0_1685029634896_0.05762029641752808","host":"s3://npm-registry-packages"}},"19.14.1-alpha.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.14.1-alpha.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.14.1-alpha.1","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"79f0a1c6cdd9ce7ccb04d6456cd206a129b4a3a1","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.14.1-alpha.1.tgz","fileCount":7,"integrity":"sha512-WR1NaolG9ZfXZaTSDLiTklMvYdznqwTYzys7/koyKvGSK2iK0q7R9lnqhQpIMvavirPkybEI5Vmxibk2grwpVA==","signatures":[{"sig":"MEYCIQCipK2aVNG+zwOPOe21WdN6cJwJG4GsRbXtxSYBDJLZPwIhAOhQeNTlwHajfB6twicJybIhOWT2JenfYddxHunhrlTo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6839079},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"597b21eaa0a61271b8951de1d443019868f7699c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.14.1-alpha.1+597b21eaa","@uniformdev/context-ui":"19.14.1-alpha.1+597b21eaa","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.14.1-alpha.1_1685459901811_0.8403267981744891","host":"s3://npm-registry-packages"}},"19.14.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.14.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.14.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"c2c72c3d3e65f24ec10d76f20338d6769b7c45e9","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.14.0.tgz","fileCount":7,"integrity":"sha512-dUan9r9YnopeGOhSbG3XRid3jSvjrNb7OF97NuTymt0cW/YhCBpwjLojf4tZ96rZVf5gFQr4K5F51QG9ZWPB/Q==","signatures":[{"sig":"MEQCIAr9CHaqrKRVFiNdFGCV7DxCA6PxRM1RcHGLSAvVbfEzAiBiOxSyFi8nuC9UENB9Zb5qtHxQX8xhHcVB6s2nv1vB+A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5224005},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"5686491ae82205c2e7c19254246640a9513bd8e4","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.14.0","@uniformdev/context-ui":"19.14.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.14.0_1685461735335_0.6880944974459311","host":"s3://npm-registry-packages"}},"19.14.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.14.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.14.1","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"71bc5ff9562324546f5925d77476e9d243feeed4","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.14.1.tgz","fileCount":7,"integrity":"sha512-e2GN8FE+A1HF1ylYLFm731A9J2qCvXvFxr51QGkraOlECjPG4zU54XHNWUpk127PscK+c5D+sCaDNVBYN4WYwQ==","signatures":[{"sig":"MEUCIFLYzOdES5K87wW30AuywC3YJCCFYnptX2gd9gz7PYbPAiEAuzxJWQSGptzLmrXgUWSeD/hLblz1XGaAUA1jyd+hCmo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6839025},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"edd5e3bb74b148c5b947109a794a3bab42384cb7","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.14.1","@uniformdev/context-ui":"19.14.1","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.14.1_1685551367896_0.34292853971124115","host":"s3://npm-registry-packages"}},"19.14.1-alpha.11":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.14.1-alpha.11","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.14.1-alpha.11","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"db0c45a9e22a95a4f228b1ba1081e0e107ef29e0","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.14.1-alpha.11.tgz","fileCount":7,"integrity":"sha512-M+zAdXQAN32ErCWILO8FLc6o5sh8aR6t19T0icav6UHE6eSYNqWD3FU5XBBZn4aDNBWACCRG484OLh60ZRXoZw==","signatures":[{"sig":"MEQCIGpCse7pVgM4hfPoH78jGePdb74QwYszWtW2SvqslllJAiAcrw91gR1EhfhfT1DLV6C+IbMtZRpLO62Yx3gTquICkw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6839082},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"89dabee148728ef7f329e18b7194766a9e6b9631","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.14.1-alpha.11+89dabee14","@uniformdev/context-ui":"19.14.1-alpha.11+89dabee14","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.14.1-alpha.11_1685555996807_0.2883366641617773","host":"s3://npm-registry-packages"}},"19.14.2-alpha.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.14.2-alpha.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.14.2-alpha.1","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"e0d7670a08c43457f01de4989e5995435fcbbeb7","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.14.2-alpha.1.tgz","fileCount":7,"integrity":"sha512-g3FNcuBIFBbn+GTVfWAFIs6lSvmLDqdDv/FkgtavErkKu7+fK+tFoXJmqQDoto/19ygMfpfGZ+5EoNCA7AH60g==","signatures":[{"sig":"MEQCIHiSPhEElwwnZm8AyoK443OsiXgh66Z7BJSoFzzvTQ4yAiBlhXaF6fNuwISx5d67BtYjtUHd8HuNTV+XRbLlhRPaRg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6839079},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"1a0bb3525e8302e4b294f101812f195c0e5f7f26","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.14.2-alpha.1+1a0bb3525","@uniformdev/context-ui":"19.14.2-alpha.1+1a0bb3525","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.14.2-alpha.1_1685556624931_0.5005582975662215","host":"s3://npm-registry-packages"}},"19.14.1-alpha.12":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.14.1-alpha.12","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.14.1-alpha.12","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"f828bba4eecc56ffad6e4e3b5880e2fd3202ce3a","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.14.1-alpha.12.tgz","fileCount":7,"integrity":"sha512-n+KmMiY6+2MBf3qpRrsc4I5ZMZX5uI/WBlST/STNY5jk03xeUCl/n6KyHLE3aUUwR4RvUO5pzdJGdKpBGa4vbg==","signatures":[{"sig":"MEUCIQD4oAiXff29JQFbC4Af2qA5n8sYU/qJfpb/BegAw0sqfAIgexpVICqbMttFVGC6X7mkkrisGEDxWaJY4lRPwWJJJ0k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6839082},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"55ed85e4b8eb70027597dca9996d1c87985554d3","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.14.1-alpha.12+55ed85e4b","@uniformdev/context-ui":"19.14.1-alpha.12+55ed85e4b","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.14.1-alpha.12_1685559381559_0.7455550876512334","host":"s3://npm-registry-packages"}},"19.14.1-alpha.13":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.14.1-alpha.13","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.14.1-alpha.13","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"090c2478288e93af0a062417c2ba837f6e81ed0c","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.14.1-alpha.13.tgz","fileCount":7,"integrity":"sha512-IG2jBklvgSe09LQ6V/S3Xi5YiqfOKbncgDTQVR7W7pOhxI94gHcafkh23zOMyH38cGbs/iN9gmoSSLeguVKYaQ==","signatures":[{"sig":"MEQCIA6x2+xurdI8yuEXJ2Qf4FwkfVMnHesTJaLvkCiBbOxHAiA9cSMjOZcY/WZkk3569R8L16wpZbTGB9P4LirHePC4Yg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6839082},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"c4ce727bef73344e7902967975992c5efa3e8c3c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.14.1-alpha.13+c4ce727be","@uniformdev/context-ui":"19.14.1-alpha.13+c4ce727be","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.14.1-alpha.13_1685563855968_0.5067826880158686","host":"s3://npm-registry-packages"}},"19.14.2-alpha.11":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.14.2-alpha.11","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.14.2-alpha.11","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"5dfa64041cc07de033f9481c69c8e5649ff734f9","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.14.2-alpha.11.tgz","fileCount":7,"integrity":"sha512-YQhx7Mzq3doAHWnRFTP5WB9kVxK0YQ99ThHJnhbkl0sWopp8xnsBFfGg79wv1oH30S0fK0oC9wTW7OVeGwkHPA==","signatures":[{"sig":"MEQCIEts6sAbIL9FaX8oD4lC1oyj1McVJyCZ1vzu2n+/xRA4AiALA257M17nkmUbwT67gMBYrOIoCJFtgkh5rWj+4B5kYQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6839082},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"79c4dd05dd9fb452762d03812539d5cf0eba44fa","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.14.2-alpha.11+79c4dd05d","@uniformdev/context-ui":"19.14.2-alpha.11+79c4dd05d","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.14.2-alpha.11_1685621119811_0.9185869525545898","host":"s3://npm-registry-packages"}},"19.15.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.15.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.15.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"206f821e51ac14674c1873420b906113dc0421df","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.15.0.tgz","fileCount":7,"integrity":"sha512-IBCiDvgmUMZntM32SLnXMkp55FavxLDlkg4uEDdg1CLpoHfNfiWRWGklfaeUiGZSfsTeCI/fNbScChaGlFzWBg==","signatures":[{"sig":"MEQCIH9KUISZvRWe5qon6gx/WPkZOzOJdzIH9sUX9iTZWNq4AiA0F7a+nx7gd0WeJk51qAzenjNSMVAhp1s670JXxZhXKg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6839025},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"f48353eea4cf921b6c9878c007de12a9da2ab885","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.15.0","@uniformdev/context-ui":"19.15.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.15.0_1685634817894_0.7308296895015907","host":"s3://npm-registry-packages"}},"19.17.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.17.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.17.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"e1579bef8bb7a17630625b8156e0909600073048","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.17.0.tgz","fileCount":7,"integrity":"sha512-uvF0IJ0BWSA0PA3CgnzuYY6X8+Js1vzQETmPU1ZApKJIDZJXYkKqbKWVXM1ZL6tWsuCsX/qWLv87crNTq4VnLg==","signatures":[{"sig":"MEUCIAnn8mcB4s+6dan7WvcxU3w72C+conspKadFleBo4LfrAiEAyZH4t9sOST06awwt+HnfoYqOk9CDrhCa6L4XxIbRgJw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6802217},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ed86997d97cefd0d6849abdeb3bdf3737812ea01","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.17.0","@uniformdev/context-ui":"19.17.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.17.0_1685980791549_0.413734969388746","host":"s3://npm-registry-packages"}},"19.19.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.19.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.19.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"e8cb94e2e72e413f54317a1cb2b9577be44fab71","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.19.0.tgz","fileCount":7,"integrity":"sha512-AortW2C6ItlD3KCwownqejNcldaYLcwuLd3nRrO6DdlCirOrX45gxpGvim1s4c4r2RbtBsTKudKPwtbaija4Rw==","signatures":[{"sig":"MEQCICPh1Ojjxdm13D4/tLFUJ8A65lNoufU/JKVCbOD5iPqEAiABelfsTZSWv0CtyycC+5uSmDXMqKn8ch2MqcU5I0kBMQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7426448},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"631d1e21b1303220d80bea12611ea6c98d5fe354","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.19.0","@uniformdev/context-ui":"19.19.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.1.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.19.0_1686215950800_0.8436011526883931","host":"s3://npm-registry-packages"}},"19.20.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.20.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.20.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"08b6ad6b6ba85e4a4fff69fa87de33c15eb070ef","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.20.0.tgz","fileCount":7,"integrity":"sha512-UbeWQihtNRXs5VP8kzvsCms9fN35b7YPnaO/D27rbWkRcKg2tASyBY6tQbQNhwqr54ZIAWQOcZ3kBN9vGyjaYQ==","signatures":[{"sig":"MEYCIQCZ50xU6T+688uH2aqxL8jOGbsAgOClUswhaMlH7ZR+0wIhAKjKh4+pE23iF6LPj3RMB/4LKGmayY2StpEDQjdFFCvF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7426448},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"eb731fec3a9f35b9cc6d218e2a77861ccf00441a","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.20.0","@uniformdev/context-ui":"19.20.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.1.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.20.0_1686256102705_0.3855959040490746","host":"s3://npm-registry-packages"}},"19.21.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.21.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.21.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"c94a1ccdb935dfe0b9f96079dc744483f38bebd7","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.21.0.tgz","fileCount":7,"integrity":"sha512-8040lnXYkM+Ji1YdGi49OzyRCcp6yHnXxasc0BagRYIaweCoT1ASHrR8K+uE4w6Lk91MNMGm900eaT98EvYNvQ==","signatures":[{"sig":"MEYCIQDfX5NWoKSF173aPuUTSWxwW3aqaBeiHBuulirXfcJorAIhAIZyNiRMFYath5uL+SkDefKBhG4AtlQe3jKR500NlFzx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7715508},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"3db4c0f1c775a5cf9677c6df294322cfbf79611e","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.21.0","@uniformdev/context-ui":"19.21.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.1.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.21.0_1686585088957_0.9055257260698342","host":"s3://npm-registry-packages"}},"19.20.1-alpha.32":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.20.1-alpha.32","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.20.1-alpha.32","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b3fcee9c14bce56f5f04fc80d48a2d6e159204e5","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.20.1-alpha.32.tgz","fileCount":7,"integrity":"sha512-ulEdFhetxUnRnCuxDneeMIWDLICZGU3etqesi4Zvt/IfDUVPvF3Z7Jqrl+2QDkSzQSOcYGCLP1XNAJpl1tuq/g==","signatures":[{"sig":"MEYCIQCseYU4hA/ivaZ4kh5xaV0gnhDFhXq5iucIOdFU3Kl49gIhAKliGZVTzH0862Q+ZNgtP+gE7KPAXK/lLmPwsezoTz+k","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7715565},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"9ad53dedb0a0c580abc314fe1422f48a09efd0aa","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.20.1-alpha.32+9ad53dedb","@uniformdev/context-ui":"19.20.1-alpha.32+9ad53dedb","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.20.1-alpha.32_1686655653855_0.37522822696692626","host":"s3://npm-registry-packages"}},"19.22.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.22.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.22.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"f9776b35a8bf7eadb0fdf958749ad81dab8a2397","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.22.0.tgz","fileCount":7,"integrity":"sha512-6874KB2A/SSRLmtHj6QxmXbdzs91YDzuxrsOr7Fvrl7H8AML4W39GJcwg8/Kw+AaW/pzYp4pj6KMv2tHPIb/JQ==","signatures":[{"sig":"MEYCIQCIcDI6+I6KcpUH6kH6wgVV9IS8yd97lAmm+VWOg0irpwIhAJzpnX8H2a/y0fAatlbCPrjQOv4qqqv1YPPUFvJhNmSa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7715346},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"f3b826c15f64a8abc5bd7ca08c0539bd85684cf9","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.22.0","@uniformdev/context-ui":"19.22.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.1.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.22.0_1686671380120_0.7859376642965112","host":"s3://npm-registry-packages"}},"19.22.1-alpha.8":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.22.1-alpha.8","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.22.1-alpha.8","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"22c4cfdbd1017fd160d0a91aa4c6c70d0ee7cf56","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.22.1-alpha.8.tgz","fileCount":7,"integrity":"sha512-/LILMd9Fa88JbAr/QyePXm5j7PjWQYIL0YqSRrs7xB04m6bh0XEqnfM8/6GRzfEVT645i/swrEu4X63sXqtvUw==","signatures":[{"sig":"MEYCIQD4LEzYB3xCRjouxI35HoSnbFXHHE9h+rbl8tSpDDj3YgIhAJR6rAkAncQDiLLirhoBG4wx/chv/R4C32VgV3U3hh02","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7718151},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a8f730b12035a4d7c2e6a704d3777ff12df52ffc","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.22.1-alpha.8+a8f730b12","@uniformdev/context-ui":"19.22.1-alpha.8+a8f730b12","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.22.1-alpha.8_1686751099915_0.33401328622176396","host":"s3://npm-registry-packages"}},"19.23.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.23.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.23.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"d2759a2403c96b228a0afde1d4a205e2d7603cc5","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.23.0.tgz","fileCount":7,"integrity":"sha512-aI0AvkGDzsWHSZvqtTl0hdIibLR83Dm1ejgWcUKr4xawsVePRdqNk3jic5pzwMTNsiSTX/90z/KIHPWWGRdO5w==","signatures":[{"sig":"MEQCIA8Frtr81vnh6ui8tKWadncXKD0LAwjD/EqX76KnJB6sAiAJm4Iv0U6W5ngtyi4B4M6+ILKtHxYAHSsNxqChwGBsTA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7718097},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"35c696a78e1909a73bc290663603d015927bbe28","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.23.0","@uniformdev/context-ui":"19.23.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.1.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.23.0_1686759035446_0.4268666129212415","host":"s3://npm-registry-packages"}},"19.23.1-alpha.12":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.23.1-alpha.12","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.23.1-alpha.12","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"ca24edf2fc8b14c4677caa85281c3682b4c51da7","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.23.1-alpha.12.tgz","fileCount":7,"integrity":"sha512-a1kJOg67il6tFMkdPLqc9q2EK4amDwmbmahmAWP4tV24MU2ID3i7Hsl/5krsg6UD8L7uxfiV+5Ydw9Fx6oeJWQ==","signatures":[{"sig":"MEUCIDNI3qIoCY/J5m9nTPP0Ox47DmJHfA65RMFuEsONtLHrAiEArRSE1beXExuPIN2QcNLqhosYim7q6silpbPxMyJCoLE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7719144},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"669adf812df13a7856fb9bc5c4332c77e0697f3f","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.23.1-alpha.12+669adf812","@uniformdev/context-ui":"19.23.1-alpha.12+669adf812","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.23.1-alpha.12_1686843115571_0.21340294732959442","host":"s3://npm-registry-packages"}},"19.24.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.24.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.24.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"6fdcbec8af0b9dc8a82a970bc019766306cc58ea","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.24.0.tgz","fileCount":7,"integrity":"sha512-HjyJK4ZnCJ0sWtlxCZnIUgoHe1/D0HG6we3h4iVXh/Sad5Lv6DofwYFyE69cqHYHvl8WX3lOE4htiR+cj/jjaQ==","signatures":[{"sig":"MEYCIQCIRofjLLvTyaBfXQFMqAE5AJ6J0JoPfQtLpby15mTC/gIhAOVbBadi/4CEBl1JfBuD+LhHkd0zSgeRxisGK882QCpI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7718514},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ca1c309ce7eed5bffa76130e2baa0f03b08377ac","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.24.0","@uniformdev/context-ui":"19.24.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.1.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.24.0_1686844501418_0.9704734882580648","host":"s3://npm-registry-packages"}},"19.23.1-alpha.13":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.23.1-alpha.13","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.23.1-alpha.13","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"d7c516594e067fb334e02517ac662b8fbd60ea66","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.23.1-alpha.13.tgz","fileCount":7,"integrity":"sha512-kI5/WlzOs1Vj748CM4TIi+eBytNzqIpVYr//xfIRIgUVCXwTIOBRZoeFSIpU0bYaarxH6CoszX1/pmRmZdiuSw==","signatures":[{"sig":"MEUCIHgeV4z3zthK3ao6otnilrDMTZ/EyNqyQS7F1bvLo+2UAiEA0l8mmv9RygXjTG/9mTa6Cih8iVaGeR31HV2Ft/ZFWPo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7719144},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"9373933c0734ad2de988ed99278b61623ddfa920","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.23.1-alpha.13+9373933c0","@uniformdev/context-ui":"19.23.1-alpha.13+9373933c0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.17.19","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.23.1-alpha.13_1686849292848_0.18231855380332607","host":"s3://npm-registry-packages"}},"19.25.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.25.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.25.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"3695ca1bdf1bff2405f41decc03cf85d955fcfd5","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.25.0.tgz","fileCount":7,"integrity":"sha512-kEOBJnpaNkjVeBWAv0fxguUKJHcoaUVewFAKcsgOqqavjvSt/Ozo+RQfd8Ts1FmXgPsnjiuj7ZUMCub8oR6/Aw==","signatures":[{"sig":"MEQCIAdIXINtGXD2ravDqTDMW27cYkWNhlNPEwFqT2EogXrQAiAUWGuALe+znDZ4lsdx75jOZyN+X4tZ+gPIr4Ta9I9iOA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7719551},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"cb76e00b562db60df1804aa968906f2297079ed2","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.25.0","@uniformdev/context-ui":"19.25.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.0","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.25.0_1687190906554_0.7003859110273032","host":"s3://npm-registry-packages"}},"19.25.1-alpha.8":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.25.1-alpha.8","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.25.1-alpha.8","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"7aaed10703125c9cb6d54f683ff3137230260d5d","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.25.1-alpha.8.tgz","fileCount":7,"integrity":"sha512-jsR8VVUB2hGF/ntSlV5jttwm6FcXW4w19Mka47+OHUCO7FTOz+VECdWd1EmWoA4lsP5xsY0bAcWZdAc8XqyP4g==","signatures":[{"sig":"MEUCIBHbLZ4cgwub2/lsJFaW/syPOK81ADn4tSzDaL5zC+f+AiEAtifeOPAqvZAtMgpSVOq0wDx/iaIup1y/C4AgqNWmqcQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7713819},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"dfec6f6014629a7f86d8778af3af37d96b3cf9e6","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.25.1-alpha.8+dfec6f601","@uniformdev/context-ui":"19.25.1-alpha.8+dfec6f601","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.0","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.25.1-alpha.8_1687263202752_0.48490774856551666","host":"s3://npm-registry-packages"}},"19.26.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.26.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.26.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"d6105c3b4277439a1e2cf3baefefc11b9e79f875","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.26.0.tgz","fileCount":7,"integrity":"sha512-7jtBctCGBhjNsWMjPV17Zwx6KOTHIp7T9Gi/oeBMWlBHEqcpjvN+tZeWV0ZdqQCPpJYnyVn5xfyicfwcBZsAig==","signatures":[{"sig":"MEYCIQDXTDoCzkCXVL4MMtRJMLZDpeKujQ3E7GaZ27/4/S3NLgIhAOPeh+D2FneVeym+IAjPdHr7kaceqRjPwhsm170lkWvm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7713765},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"860f4f8ae7161b5fb0b7a670bdfd1566fce45bee","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.26.0","@uniformdev/context-ui":"19.26.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.0","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.26.0_1687286716851_0.07133163314411872","host":"s3://npm-registry-packages"}},"19.27.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.27.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.27.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"aa840f77ee2827ba3abb470901fb2fb10b77a71a","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.27.0.tgz","fileCount":7,"integrity":"sha512-jdPnDVPspXJVVUgtyj8EJrriEHHVRVqICvfo0sGkvwIK8kORjY6PZh6Q5m44H7mk7Uav2aGz+YVKZZZUcqro+A==","signatures":[{"sig":"MEUCIQDKhbi/zQu0KHYXMN3Rc3IOqWeZPigaoRdDRz1rnggkmAIgcrlysb4/7L740HM7mlQIGscWcqQLSt1fb+mnAIg1P18=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7713765},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"8041631f93aca51a236597c1aea606c6dc8732e8","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.27.0","@uniformdev/context-ui":"19.27.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.0","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.27.0_1687365743834_0.45850214285886803","host":"s3://npm-registry-packages"}},"19.27.1-alpha.3":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.27.1-alpha.3","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.27.1-alpha.3","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"128e9caf97a04ecfc2bce95c2535b85f6e9e8115","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.27.1-alpha.3.tgz","fileCount":7,"integrity":"sha512-9AtRT39nP9Itp4cM4OxZd0yb8uY/k/yPGc9VcJNJp0Vh+U9zEdQm9jUyQE2r8f7o2bM3XDF8grHk4PbX+mLdAA==","signatures":[{"sig":"MEQCIAV6BLk/BIigYOEiFiaXZuB9buMv/sK80XIRSvX4OoTDAiANj1B76XhhlAt7GZ8FR3iiQBm0eyC/TFJHOZBxuvo9TQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7714764},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"9f5adae974295b306b539dea3657d728fed7f527","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.27.1-alpha.3+9f5adae97","@uniformdev/context-ui":"19.27.1-alpha.3+9f5adae97","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.4","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.27.1-alpha.3_1687366975372_0.9750250893749632","host":"s3://npm-registry-packages"}},"19.29.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.29.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.29.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"a63cdbcbc066553ab2190391bc093055b52789a4","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.29.0.tgz","fileCount":7,"integrity":"sha512-O1ir54hoAJzgbY/1dFIked7CpCEbJY1GeFoVyDr92Xhu54bUs0vFajOkGCzD7ZOA13v8A6Y53TnK/uOS6tBN1g==","signatures":[{"sig":"MEUCIH4Y7fCpYAJ4yqjszSjA/K7ChrI+8Uj/zQYeKUTHfpokAiEAjzY9cIP/qEqyZkybEykwgI9DUhZ4kAYAhK7oUejN9pQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7489099},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"f8e9d5f6283fb3d72ba095c0e307907dc591ce4a","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.29.0","@uniformdev/context-ui":"19.29.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.4","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.29.0_1687884955957_0.7898569316589521","host":"s3://npm-registry-packages"}},"19.29.1-alpha.19":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.29.1-alpha.19","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.29.1-alpha.19","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"9249923286aedd99938b4ce4ffefd0bb9df96db1","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.29.1-alpha.19.tgz","fileCount":7,"integrity":"sha512-+/WABNnA+Evv/dJAglbtidF2lF6KY2nLpUuxVH4scZKHdlfIFgP0+WoOAL8LGa2/6U78hcRyUG4TVfbXfCNYHw==","signatures":[{"sig":"MEQCIHG0jgoU1qe+dxmXV55MV1cLPTByZeXhAWbFQWwMjqD5AiA3R6D0eY5ahLKnTgsyb586n7Jk5a9+NJaTsoYd2AoLjA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7492590},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"8384670725623d7fab7ef04837c79491e7e45442","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.29.1-alpha.19+838467072","@uniformdev/context-ui":"19.29.1-alpha.19+838467072","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.6","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.29.1-alpha.19_1687965880536_0.7105911834025995","host":"s3://npm-registry-packages"}},"19.29.1-alpha.21":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.29.1-alpha.21","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.29.1-alpha.21","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"8a5812f80e95ea19efc3e2f1b3a9799f24fa363a","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.29.1-alpha.21.tgz","fileCount":7,"integrity":"sha512-s/KwCZXgzxuclS8M97qJ37INMi13MKFXUk9HKKkXBf34qjv3qdndAweePFRhmuV2xUsl/0a21iidtj8mZNtBvw==","signatures":[{"sig":"MEUCIQCcDidhPL+pdYbKVrhOgjucmF3ZzgnNYHXWlJeRJMMyEQIgMTEX+fE5VUfJhU7gukIy2y5qjqYPbH9CclgIdwhPmFg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7492590},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"e4a85089be25614f3eefba2382c9704e80789a4b","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.29.1-alpha.21+e4a85089b","@uniformdev/context-ui":"19.29.1-alpha.21+e4a85089b","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.6","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.29.1-alpha.21_1687972759599_0.8810429069075856","host":"s3://npm-registry-packages"}},"19.29.1-alpha.24":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.29.1-alpha.24","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.29.1-alpha.24","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"2367d1331b1729cc04d2b4f8a1f25cb4edd2b9a1","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.29.1-alpha.24.tgz","fileCount":7,"integrity":"sha512-Fj06+lRd8gIvr6TWjGKFWIvuOPWFKW5iVBfakkMBCw2AciICkP8E1dSIifZ9G3qqF+XEnmp7fjCp8Xga+FbPQg==","signatures":[{"sig":"MEUCIFfaaSCwQRC6tHeGA70/GW71EbHlsQjvcctVIXCPPTrWAiEAkirptz7e/PmQSGEVHz41YQlMxGklxXGGKcgoIKg0wh4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7492590},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"52c8819dc742c4f4816246468258f11ed6294862","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.29.1-alpha.24+52c8819dc","@uniformdev/context-ui":"19.29.1-alpha.24+52c8819dc","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.6","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.29.1-alpha.24_1687977964790_0.8626445525990403","host":"s3://npm-registry-packages"}},"19.30.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.30.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.30.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"7e981eadff4406dff36de190d0d34575564ef5bc","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.30.0.tgz","fileCount":7,"integrity":"sha512-B3LUlwiFr8C9dN1g6tI5xLyJxm1X3R9HK9jDOSX8hv7w1Ej863URIWxXsMy0c4xrgjvfNBG/8t3S6sv5tbfwAw==","signatures":[{"sig":"MEUCIQCmY3Zt/MiOzxjkDN5dnM71xrcRn7LxkGLh18aWR+V3iwIgGVzQIV0DlGk4gV5sV9LRKIm9ISztLylKBar8jhAO9MI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7492533},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"4ba30652b254065ff8bd322072afa3149c29167e","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.30.0","@uniformdev/context-ui":"19.30.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.6","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.30.0_1687985515715_0.4684856767137704","host":"s3://npm-registry-packages"}},"19.30.1-alpha.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.30.1-alpha.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.30.1-alpha.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"5c9cbdd23be6bb0d7d1008ecfa5aeed181e6712a","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.30.1-alpha.0.tgz","fileCount":7,"integrity":"sha512-aBvA+US5T+hOQFZU1aGYOzJ8Ukutjrnm38z/uvxjC00howGoZfbr5wZPzYxicG/PQ/e8zwAzpE/3c/D64M1bEQ==","signatures":[{"sig":"MEUCIHolbtBKxecAUA06sDDlZ2fZZOxN1KBUi/tsktFcvJLBAiEA1HyBJoQZmvtIkrRJkTW5bO2aisShmr7xSO0yWHN3vOw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7492587},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"fa7b5018a6723a15f1932d306a1e674e4a8baf5d","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.30.1-alpha.0+fa7b5018a","@uniformdev/context-ui":"19.30.1-alpha.0+fa7b5018a","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.6","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.30.1-alpha.0_1687993411028_0.9956991552035737","host":"s3://npm-registry-packages"}},"19.30.1-alpha.5":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.30.1-alpha.5","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.30.1-alpha.5","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"aba9737d28d121c6992d9ce2cc4e9acb6fd26859","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.30.1-alpha.5.tgz","fileCount":7,"integrity":"sha512-LsN48b7YNBTjBy6XukinIZdJzcVEWnUjhgqYNdfDhdzsF/GKenFKtl36E/sDHxpqRHx4z0pdYlAdzrttDzQfEQ==","signatures":[{"sig":"MEUCIF6IjczrboQMPvAkCIU+HxIoX6WPTxbxvDzPkZGKj2iYAiEA6Dr6/DBkgR3kXNGGi6EZtI4lzx1ifsW0ImGfvR4/NLA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7489917},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"2a53a5820c0343ca6bc8d883ed6737717afba488","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.30.1-alpha.5+2a53a5820","@uniformdev/context-ui":"19.30.1-alpha.5+2a53a5820","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.6","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.30.1-alpha.5_1688044516390_0.31593498306767165","host":"s3://npm-registry-packages"}},"19.33.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.33.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.33.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"2c88c448497f243a25a10e40dde7edf1066971c6","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.33.0.tgz","fileCount":7,"integrity":"sha512-sjkFptVJeNqrZRo7dbTBUmhXWYY77B9jL/63WN+N+U/MGB798LmuyS6fXdXW1Ni5M+RDrIsKMakqSkWbQNF49A==","signatures":[{"sig":"MEQCIHh4RjXKpbT64Vu98H2GJPa1W3PtUS8QuyEe7vUGf+xFAiBmAwX0BUIcCVmIRvkl3nwGhk5IF67TmDEcTPmIpyLdpQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7490082},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a26cf289e832737b2cf4c9b6d767640b627a6368","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.33.0","@uniformdev/context-ui":"19.33.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.6","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.33.0_1688656055771_0.5340917481520635","host":"s3://npm-registry-packages"}},"19.34.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.34.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.34.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"97db15d97a36705524c9484c866c62533ed85382","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.34.0.tgz","fileCount":7,"integrity":"sha512-vJdMxjsP3ZaONDv4KZPO2pZ5FJcmfkqw/TQT/X/te/LGi/TDEjbd5r8rRYK36WGB4D1a/i1TRMeJQoOz8hfAew==","signatures":[{"sig":"MEQCIA1ILnzjPbzNz4x84eSeDZcZBRnduDlwRbSq6wPdvWtRAiBnthyRRH8uuoCXw7U3Gg/C8m6iWGcWNhKXtFyZ+y9XZg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7490082},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"303a002356452a5fc312cd384a67977545a4e888","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.34.0","@uniformdev/context-ui":"19.34.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.6","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.34.0_1689012534819_0.2307841919527185","host":"s3://npm-registry-packages"}},"19.35.1-alpha.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.35.1-alpha.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.35.1-alpha.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"0f54bf7a953673b00c8b6ea07d2d2c2251603cc5","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.35.1-alpha.0.tgz","fileCount":7,"integrity":"sha512-ADuCAl4DkeDHYGRuHXjThVEdPReq1HRSrVGshYKQdkfrAP6RU6P9K///wJ0b/G3HcxMiuJBRDSJRE7BLhlZQLQ==","signatures":[{"sig":"MEUCIHyOn+nl5usU9ImnTwhZUTjoVWo07ZXjS2t6Pm5cq8yrAiEAgRbEUkrsv9pKTL1lyd5VnOunYc9HVNhSUBH0ANwNnNE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7490211},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a014a056d438287f661292e7ff6a9d32bb58488f","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.35.1-alpha.0+a014a056d","@uniformdev/context-ui":"19.35.1-alpha.0+a014a056d","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.6","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.35.1-alpha.0_1689087903415_0.8740690484606404","host":"s3://npm-registry-packages"}},"19.32.1-alpha.4":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.32.1-alpha.4","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.32.1-alpha.4","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"68a7421264f5a329cea18d186f81989292f058d0","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.32.1-alpha.4.tgz","fileCount":7,"integrity":"sha512-4dGv4OpJQtHSadWj10t8or86+sgkAa4tVK/LD0gM9//wI4V4wTQppXJRda6/B8isdh+CTTytumM+2Zovx7oHxQ==","signatures":[{"sig":"MEUCIFxL2ExpFAEFss1Z5T1ungVzXbM9GyONWt6ttVA8uHGkAiEA7NHRaPcQBqGaqf22nt9qCvX7Ew2PJ/VqfmgLzVEZc2E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7490211},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"e139d9ab324b00fff68e36751585b829c3bb1fb5","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/6.6.2/node@v18.16.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.32.1-alpha.4+e139d9ab3","@uniformdev/context-ui":"19.32.1-alpha.4+e139d9ab3","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.6","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.32.1-alpha.4_1689152699707_0.7709234896878436","host":"s3://npm-registry-packages"}},"19.35.1-alpha.8":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.35.1-alpha.8","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.35.1-alpha.8","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"9c54254a614bcd6a95abc1a2285295fedc0ade64","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.35.1-alpha.8.tgz","fileCount":7,"integrity":"sha512-+D92loyXNyoTRFdU4ptH7eInx9eGD0mPhsk0QtZD0ILrqh2qZU78pTztY27liDYN5FrlVSeiPRXUHw+YuF7HTw==","signatures":[{"sig":"MEUCIQCGfPeiV90P0LAQeI7ghs6O+72Ky9ZKsH41vPeQgjIt6AIgL/uOKHXlCAOAJIJYaX4KFupG01nWWxvDQqTpMizioW8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7490260},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a708c0c034aa8375d0bd74e9f619319955b63a19","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.16.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.35.1-alpha.8+a708c0c03","@uniformdev/context-ui":"19.35.1-alpha.8+a708c0c03","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.11","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.35.1-alpha.8_1689173323080_0.4646078878359021","host":"s3://npm-registry-packages"}},"19.33.1-alpha.10":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.33.1-alpha.10","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.33.1-alpha.10","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"2ea03bb1aa3b810bf952c0ae8c1cc6b0b30e1a28","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.33.1-alpha.10.tgz","fileCount":7,"integrity":"sha512-VInBcZng0/NrLVgTMZ919tkgnByeTyUOSXJk3AIIyHe/jmLQRuLLTKINLtutGT8eFJzQMr5sqo4621p3CE1T+A==","signatures":[{"sig":"MEYCIQCcvApfTpR5tcci7orF8GSvuyp7Hjen0Iiihqp103XnBgIhAK9ZLhY/Iq3IlOlmd5TA+7GI4O36IxoXNo5Lgroy4MTz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7490263},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"468c89c7236b39c598fc7fcce5b318d23a1fbd55","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.16.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.33.1-alpha.10+468c89c72","@uniformdev/context-ui":"19.33.1-alpha.10+468c89c72","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.11","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.33.1-alpha.10_1689176241626_0.2708028327907539","host":"s3://npm-registry-packages"}},"19.35.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.35.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.35.1","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"921d735ec1dec09ce1112fd2f2f17b2e48e5ea0b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.35.1.tgz","fileCount":7,"integrity":"sha512-YlrL1pbN9BTeuADH+JEVWQv8M9j/hRIaF/wFW+LTTDoEmADD3zLOBVHmfXTO0l1V3aJ1HGv13eyFuY52DKVc+Q==","signatures":[{"sig":"MEYCIQDUkYSHMKAR0f8BHckf0MtSgmvc+RFbMnwBCGRcOyuIMwIhAN32gpt0xXQJXJ5dr+s9PGKOD9ysSYvBs2V/TgXDtUSg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7490206},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a85462ec75d379c5447dc625135f828e9d4d7dd6","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.16.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.35.1","@uniformdev/context-ui":"19.35.1","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.11","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.35.1_1689236250972_0.4540936708674357","host":"s3://npm-registry-packages"}},"19.33.1-alpha.15":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.33.1-alpha.15","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.33.1-alpha.15","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"2f1b111ba39a2d1e7d02a3f1d101ac11a9bf520f","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.33.1-alpha.15.tgz","fileCount":7,"integrity":"sha512-rhQ6Nx51hWbvsVHNjSq3/5Q9tBl+MWhSk9bBR62WcIgM1MV8+YY8RNDzZCxviTJ7ImCcVrtFLF+UV3CzzOqqag==","signatures":[{"sig":"MEUCIQDWwegDsJ+jg+EUhG/CopE3dsJcjm332TlZvxc51/QihAIgfH0kEkaHPAEAA0Ek8inUr6V6MnWuHq1MmG0YUF0tXKs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7490263},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"31348a1dd87271a9316b89ce924f634a5307f9ce","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.16.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.33.1-alpha.15+31348a1dd","@uniformdev/context-ui":"19.33.1-alpha.15+31348a1dd","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.11","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.33.1-alpha.15_1689282450346_0.7344860944122624","host":"s3://npm-registry-packages"}},"19.35.2":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.35.2","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.35.2","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"33c70b48012a42368eb83b455ba7c680038265d4","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.35.2.tgz","fileCount":7,"integrity":"sha512-dgpfqbOCifaJrE3/BMDI7KVYEXDa9hO/qrh/rCP+cLryfIlFD/nb52iJI+7bVrNBIOew0OWNJoiH7QNfEt9rTw==","signatures":[{"sig":"MEQCIAWyUePJ08lwlhTkDw0JtMMriGx3+G14mEDVALN9FeIbAiBHyFzQIvmEK0IWG943h2y/HH9iU4YOGJA43aRcx8gjjw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7490206},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"64d3270175087c87cfaa29a283aa4a7b0a98fd2c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.16.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.35.2","@uniformdev/context-ui":"19.35.2","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.11","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.35.2_1689327433862_0.11365787746936906","host":"s3://npm-registry-packages"}},"19.35.3-alpha.82":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.35.3-alpha.82","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.35.3-alpha.82","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"6adac41e44494c8f55b1150ea0e3782e635cb326","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.35.3-alpha.82.tgz","fileCount":7,"integrity":"sha512-w8zj1nKRaABavEGlP5uPCvTLVS3YV24h4iW5FsRqxCZBmAzt5ZOlTqdhNiQLnI+1BhPX7EY2byQvJYIs7SDCSA==","signatures":[{"sig":"MEUCIC99GChA7SawP4pev4wFjG86bLMeySSAcaL/nmh7ALebAiEAts54M4CG3HHe4nws9UszQ2JpkuvpdoT+s6KpOKDlsxg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7601373},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"4bc341093bc946900df2646fe53eca4bcddc693c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.16.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.16.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.35.3-alpha.82+4bc341093","@uniformdev/context-ui":"19.35.3-alpha.82+4bc341093","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.11","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.35.3-alpha.82_1690283929335_0.4019487252107026","host":"s3://npm-registry-packages"}},"19.36.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.36.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.36.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"7b78d0cd48baf4e768f43570db697a7b333a27c6","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.36.0.tgz","fileCount":7,"integrity":"sha512-LsnzHm+qWUeVNNBg3zvhBdN0+T3OCyzlS5STm3L/uHXbjywqtlPqp65hfYnAXZufVAVkzs7P8Bk2SnLQHlafoQ==","signatures":[{"sig":"MEQCIGdtIcIavag5l4agrhBkoZNqF4IiASTvuBUeyZEEyBJHAiA089LjCA0kOyriCmCl40Tb3f9lHWo0Rnz5+7z4NNIk8g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7518202},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"3ae246a7f0f39adeaf04ecba4c7e48c478c019ad","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.17.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.36.0","@uniformdev/context-ui":"19.36.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.11","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.36.0_1690387911715_0.9748485981261625","host":"s3://npm-registry-packages"}},"19.36.1-alpha.7":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.36.1-alpha.7","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.36.1-alpha.7","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"bd2571c7316dd83ed3115c6696c67c7fcc0cea63","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.36.1-alpha.7.tgz","fileCount":7,"integrity":"sha512-yY61D8udkPLB/QJHPvopXnC2BrQtKSQy7w2YLsNl8bJagtifPu/sPPT/Hox4t8LirjPL3ZFQveMmkp+9+pOc1g==","signatures":[{"sig":"MEUCICpjfTCWhnap+w/GRe+fybAkSJQfYzABG5fyxASVunbiAiEA5iF1KN4gBYcsiQjb6T9cNtnoZfjZ+OenPwXs4C5/dfw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7518256},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"859ce3f295642c78d0308620f988a51ce933bd64","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.17.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.36.1-alpha.7+859ce3f29","@uniformdev/context-ui":"19.36.1-alpha.7+859ce3f29","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.15","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.36.1-alpha.7_1690464266629_0.09050604782208027","host":"s3://npm-registry-packages"}},"19.37.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.37.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.37.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"70bfbb9284a41cd32696704d0766a9753223dadd","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.37.0.tgz","fileCount":7,"integrity":"sha512-VyFnKbloiwWYftlLMxqqSOWT894aJQtBef8+qMtNb3J9WSeXTMrLDXcQZmF85rrTaHUc+ZISIWTPBYE9nhP64A==","signatures":[{"sig":"MEUCIGEeTh8nyBAdhJDc46BYZm5Ya0mF+eKQaR6VNnMkzInSAiEAvWxjSMSNCTMnks+IBP9nKaCLs0+MU/Se/PedIce0LuI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7518202},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"2f595c3eb8113fc602b6abb0bfa7a4c5fcfc2659","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.17.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.37.0","@uniformdev/context-ui":"19.37.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.15","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.37.0_1690473655729_0.8027314731677955","host":"s3://npm-registry-packages"}},"19.36.1-alpha.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.36.1-alpha.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.36.1-alpha.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"ddd8f86ab63109ac6ca8ed31619e71ad53459e8f","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.36.1-alpha.0.tgz","fileCount":7,"integrity":"sha512-n2CaYw1BQlsQuj4g92m4cUFk/jYwd5VqtHWkdw0wyEAOaF5uAVcYlY+6TIp0GrYsEPfDYgvOP2OWvIfnbfqPbQ==","signatures":[{"sig":"MEQCIAtkm2rgtOOykGm5EjlK1KtkbzR5xOI6DGYCOypBJSzWAiAsGka+s2YCX/Wmz/ihmO6tnOwAQy34W7ykMsAWw57ZqA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7518256},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a6b7449c13066f2bdef2d5209c230986507fb454","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.17.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.36.1-alpha.0+a6b7449c1","@uniformdev/context-ui":"19.36.1-alpha.0+a6b7449c1","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.11","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.36.1-alpha.0_1690483441121_0.007886969472035377","host":"s3://npm-registry-packages"}},"19.36.1-alpha.4":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.36.1-alpha.4","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.36.1-alpha.4","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"641b4dfa28b40680d37aa7d165f13589f153fd0f","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.36.1-alpha.4.tgz","fileCount":7,"integrity":"sha512-cmqdrQ/h2J/pcJNO2oNt/O9q1ftXo3WsXVRHjanbCySpgH90x4QezSqY2b8Xmb+EsQPb3V28cXFUOEWhs7/Iew==","signatures":[{"sig":"MEQCID3H135cUAW7VzsY4NHNvagerdanCxjyOgc/RA0q8LowAiBbn7cSi2Z0hQ48UKDLTmZogNUCj8gWp7h2+YCxHCcQsw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7518256},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"99b59c4046213b258e6610258c603878c490a0b9","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.17.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.36.1-alpha.4+99b59c404","@uniformdev/context-ui":"19.36.1-alpha.4+99b59c404","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.11","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.36.1-alpha.4_1690556789463_0.3438919813199175","host":"s3://npm-registry-packages"}},"19.37.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.37.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.37.1","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"0226ae1d7c63694414dfb192d93dcf37c7fd8c56","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.37.1.tgz","fileCount":7,"integrity":"sha512-SIzF35UDxk78eIoppiqBUNrifG87Eur+G3QBOdBL7kp2UD4uIwM1dTFnqGEF/g7x4kloN58ZOraSlrq1zXXnJA==","signatures":[{"sig":"MEYCIQCnupYHQkhXTeKempWirQvdrjJXX3DiWu5DftKAOT3OwgIhAMw77bHxiQ4IKcv8fxMKePWh7aCvf8u3VSSHI08x9+GA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7518202},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"9de2a3f7515d658d07d7d1fb8ebf4805172e655c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.17.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.37.1","@uniformdev/context-ui":"19.37.1","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.15","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.37.1_1690821261983_0.3733733849078156","host":"s3://npm-registry-packages"}},"19.36.1-alpha.61":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.36.1-alpha.61","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.36.1-alpha.61","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"4e9baafb9011c1c641748a8dfac41e9d3763d3d1","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.36.1-alpha.61.tgz","fileCount":7,"integrity":"sha512-wzbC1kVRq6tUY4pAhGajiIjT/sUiFvfwenDFR+YimSxrOrO0q/o0TM6jXBGRcDOWvuaDZc1iiVM9RfNLVhdjtQ==","signatures":[{"sig":"MEUCIB3XGqx53xfPteBB+cvrlcEyK89BZrU7T7L6ApRO2K3lAiEAs2JIw4H/z1Z2W1oT0dHUytvPREeeNU4xqCRzZGmV2Ok=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7528852},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"12e4e2a6e17788b5337c4c0c90c094735d256c60","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.17.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.36.1-alpha.61+12e4e2a6e","@uniformdev/context-ui":"19.36.1-alpha.61+12e4e2a6e","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.15","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.36.1-alpha.61_1690827800294_0.8394577387038693","host":"s3://npm-registry-packages"}},"19.37.1-alpha.4":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.37.1-alpha.4","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.37.1-alpha.4","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"09433fca245930e5f47684ada8e72f5cca4ac16c","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.37.1-alpha.4.tgz","fileCount":7,"integrity":"sha512-+79/vOWo61p4N16G8Mck5sodViKJJcNBpZZUmZV5UBm4jfg/8ixTj/y1DhnyutwWVbMwP5eFQrVFf1M+qVyeiQ==","signatures":[{"sig":"MEUCIQCeip5iqF62mg7WiMOJjOGT1n/BF/f9bRKikZvOiZgvhAIgfzs09FiXHQ2yv2YVdtAp8d0vBlrm5wxoL5Cmx6E6m/U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7518110},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"d2fd8a8f3cd9348ecdd87bdd821e1ab89a7b8054","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.17.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.37.1-alpha.4+d2fd8a8f3","@uniformdev/context-ui":"19.37.1-alpha.4+d2fd8a8f3","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.15","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.37.1-alpha.4_1690915692791_0.7033381717270621","host":"s3://npm-registry-packages"}},"19.38.2":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.38.2","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.38.2","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"4e2a689f62ae5348bd762a6eb59206cb5b19754a","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.38.2.tgz","fileCount":7,"integrity":"sha512-wTuDkRrzxSkaY86gUSGo6p3tM5PGn0VV/LXmVcCQDUgbNgNzHGtYS7GwwIKF/Y/mMuk4vIv7xQdBEFsth+n+5A==","signatures":[{"sig":"MEYCIQDzrgTwipfc5PJKj9StBqm/hwKxuAF2DUHpuAcXQMp/gQIhALmBqn1Ks9bRmq9D202PicsoJdMf1dAQWnX5IQl380kO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7574454},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"b97fd17fd44e0f5bd3806e942b516cb2bd218096","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.17.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.38.2","@uniformdev/context-ui":"19.38.2","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.1.3","esbuild":"0.18.17","cross-env":"7.0.3","@types/react":"18.2.7","@sanity/form-builder":"2.36.1"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.38.2_1691082597770_0.900811780907675","host":"s3://npm-registry-packages"}},"19.38.3-alpha.70":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.38.3-alpha.70","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.38.3-alpha.70","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"4b954cb5d79c8a021f27031600e975081078e056","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.38.3-alpha.70.tgz","fileCount":7,"integrity":"sha512-4uoPxiZfgsspqRhLEisi/lKRu8qvvZUBVIsxPPFpzANDMbfFvtH/zPHOHCU+DIgQ+QiS3HCEpj0MKDykRA8N3w==","signatures":[{"sig":"MEQCIGkpuJ9TGgGJqTqq50Tlbttz3lFp75BWcjhiHYRUtbdhAiBFl+SofO21eJKmggx2bWZSkOdxu1VppB7W1qE2SQS0mA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7587383},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"55e5a8fe1d80971a93ea31d3a50cec72e71be70a","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.17.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.38.3-alpha.70+55e5a8fe1","@uniformdev/context-ui":"19.38.3-alpha.70+55e5a8fe1","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.18.17","cross-env":"7.0.3","@types/react":"18.2.18","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.38.3-alpha.70_1691499487294_0.2578629860406709","host":"s3://npm-registry-packages"}},"19.39.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.39.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.39.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"88a379c8d3d8affa15b8570d52d00aea8e7632ae","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.39.0.tgz","fileCount":7,"integrity":"sha512-IIgqWqYoft9A2oUhF3Ewq04zAuJ2AId0kgfN1812RrKk4xrTVeaPZQpL83kqLdLqUg7PtIrK0znL4ozEQlKtoQ==","signatures":[{"sig":"MEYCIQDlK6quNik12uZg68dGouRQd5aXC5ZvKxtj/YiKnp6NmQIhAJh9dHlf6GYtYsDX4XFmFi3yUlyudEZCW1P7RUycl2ud","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7588616},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"63b0b9b3d9b8f155fad931e9e5ca56d4bda5223a","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.17.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.39.0","@uniformdev/context-ui":"19.39.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.18.17","cross-env":"7.0.3","@types/react":"18.2.18","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.39.0_1691519810655_0.7315509828655573","host":"s3://npm-registry-packages"}},"19.40.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.40.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.40.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"092123b4518d9067f37cccba323023f0c3eaff63","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.40.0.tgz","fileCount":7,"integrity":"sha512-Jy50Dqc41viyHv5tEKG2VgDPEvDzDzVi6iscVGPjlj6450N9T+Vimn2cPrgq6RlLicfR676ibGLpM8pArP3ZgQ==","signatures":[{"sig":"MEQCIGREdx1YyjoRAZl4cXhfF1OQIvljqXEC494iJQE62DkXAiADY5sRE3SbENpeW7pxbI+J637WFqBLymHIAJhSUAeU8g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7588616},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"f21fe5bd9d42379336cc7cb30e5b2f1955e8c337","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.17.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.40.0","@uniformdev/context-ui":"19.40.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.18.17","cross-env":"7.0.3","@types/react":"18.2.18","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.40.0_1691593866784_0.5660450130826573","host":"s3://npm-registry-packages"}},"19.39.1-alpha.10":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.39.1-alpha.10","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.39.1-alpha.10","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"1edcc7389ccc09a2700e128fc2813f2be461ee67","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.39.1-alpha.10.tgz","fileCount":7,"integrity":"sha512-UOZxb3H+LfooftVuYluvga8UuBpBU/Q21FCA2bwQy5lHXxyLleKooyQfBLoOtGAs5icvdwiwg7jFpcrjc+EwkQ==","signatures":[{"sig":"MEUCIQDtoR1G0eMwEisXLNmTq+e5GRn5uUjpPHg//2+E0GnMGAIgXRIVkGUuis1fNAZjzo6Z6/I6zJgtRQqfpr1b9w3OWdI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7588673},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"3cadc0bda1f144a292c62abf0b90c680d44e4454","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.17.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.39.1-alpha.10+3cadc0bda","@uniformdev/context-ui":"19.39.1-alpha.10+3cadc0bda","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.18.17","cross-env":"7.0.3","@types/react":"18.2.18","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.39.1-alpha.10_1691595349810_0.5463774883676527","host":"s3://npm-registry-packages"}},"19.40.1-alpha.16":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.40.1-alpha.16","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.40.1-alpha.16","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"a26b6eb26e1efbd26bf0a75212875833451828c4","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.40.1-alpha.16.tgz","fileCount":7,"integrity":"sha512-k7j4xglWr/w78MTljDdaTaDtrjJqozxtoWxmH9SE8jL3qll6mucwa5oA+ftMBh7dJ+6lth8c3VUiRapUShapWg==","signatures":[{"sig":"MEYCIQCCFjZJKVyfJM2Ojnwg38Sqx3bb2gT8P/e/8UzZ12HuUgIhAODsBcj8iTQYShp+f3JcWomG7kO4nCnGwqRVSBDj7VB5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7588673},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"810fa24de01ecdc5411e39456f2b5341db908cb0","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.17.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.40.1-alpha.16+810fa24de","@uniformdev/context-ui":"19.40.1-alpha.16+810fa24de","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.18.17","cross-env":"7.0.3","@types/react":"18.2.18","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.40.1-alpha.16_1691658583480_0.04790595696055755","host":"s3://npm-registry-packages"}},"19.41.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.41.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.41.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b71763b0aa72b3c3b8cb86490b9e2b37fb0f0055","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.41.0.tgz","fileCount":7,"integrity":"sha512-EIT1Vh2VNRzU1yWQe9wCd2obFxmPoWq7JE5oNYhxP18ccaMMUl1kGm/8zB42jMbFhwN9vzJs0R4Vr+SQiRkU/w==","signatures":[{"sig":"MEYCIQDjg8eqvkCit9ndCjC5jNAfUdHNTgoPjFR7p1l7DuvK8AIhAKWSwEoYuh9StfjEs+byzNIto1Zj1bHuk5GI3sxdxt85","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7588616},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"cd4f9fd5bbdcba2b7f7235dbf342418a6bbaacb9","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.17.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.41.0","@uniformdev/context-ui":"19.41.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.18.17","cross-env":"7.0.3","@types/react":"18.2.18","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.41.0_1691694384926_0.538300875238547","host":"s3://npm-registry-packages"}},"19.42.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.42.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.42.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"54d43e7cffdc121e2cf49b863e14636db6f0a274","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.42.0.tgz","fileCount":7,"integrity":"sha512-UPUyXCoiKfxuLu1rsisZv3boA4JsdtAubrS7XY7E1icPW3OWp6IL56MgbtwBlWFF4s/GbCMMm2dnDejcPI+PPg==","signatures":[{"sig":"MEYCIQDlcUZ2w6VAH4t3yf1vct1Vbk0+YnvDqrva2YxVZSUTaQIhANNenMMbMh2Sd9t/28ArhB6qneoAsUBule7tVru6bVR3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7588616},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"33ed87d09bfb50c8557c6bcf4eb232c76f7c99d8","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.17.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.42.0","@uniformdev/context-ui":"19.42.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.18.17","cross-env":"7.0.3","@types/react":"18.2.18","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.42.0_1692030734329_0.7039236918081577","host":"s3://npm-registry-packages"}},"19.42.1-alpha.6":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.42.1-alpha.6","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.42.1-alpha.6","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"76181b43d6b6a5e388f36829d8485c8c9950d2c0","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.42.1-alpha.6.tgz","fileCount":7,"integrity":"sha512-/Lsh/pv+BIay4qMUXTp6FmLDwwGUmLHhobghu77mqlrN9Suw8q/7b3CPVosymjhoxDkkY/AAqw6YG7k7fJ1mcw==","signatures":[{"sig":"MEQCIAuD+yIJQ0pm3X4506rK3XNkonQYsAgvnmEpGIkxLus0AiANj9QCdbycaTBRV5bQkbXgHK30FtIhQVNP5BmquWCAAg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7591835},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"8511a0877200b169973a40ab7c7684e6744f3d2f","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.17.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.42.1-alpha.6+8511a0877","@uniformdev/context-ui":"19.42.1-alpha.6+8511a0877","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.18.17","cross-env":"7.0.3","@types/react":"18.2.18","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.42.1-alpha.6_1692106568255_0.771207443745048","host":"s3://npm-registry-packages"}},"19.42.1-alpha.7":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.42.1-alpha.7","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.42.1-alpha.7","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"e7d85e6c91353b4509755404bbdb8a28ce56f200","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.42.1-alpha.7.tgz","fileCount":7,"integrity":"sha512-pa0laoDnK3sODkTzj8a+oRO5gCXQGi3iZr6hroPYlCL+TgzY2riwYoUyat8YFilIRB5oboiALTMtPKvQEe8eKw==","signatures":[{"sig":"MEUCIEPMex5LQ6iM3Zy2YHU+/FkVEF/Bl8Mcrp/PilfzDwVYAiEA7jKbrn98rV7yZWZUhAM4Y/3nQDmr1d0sbjIowuWDWdY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7591835},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"1380aadd7c71f6f120f933a40e73e113518e3716","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.1/node@v18.17.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.42.1-alpha.7+1380aadd7","@uniformdev/context-ui":"19.42.1-alpha.7+1380aadd7","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.18.17","cross-env":"7.0.3","@types/react":"18.2.18","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.42.1-alpha.7_1692130486560_0.8656779258953464","host":"s3://npm-registry-packages"}},"19.45.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.45.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.45.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"5e76f0ac92cf421066048cd027ff3b9c1c87c6a4","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.45.0.tgz","fileCount":7,"integrity":"sha512-QhFYJrur1cdPT+Kna0r5chZn7luzEUcI9FXyUm6L89K0bXjpfmAd9VnELFOTGRtogR9LoIiwtLpqjZQ3h4leSg==","signatures":[{"sig":"MEUCIHM7xIeQXV6pGiF6uiJcgLRfMzf/DAfzTn0QXsNwl6nRAiEAjgDjfyq5KmggH8SttF9/2lh2V82y3J1iTMWBoALbPg8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8030130},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ff90cd6bd6d9db14f0d3a2ba8bd4db538b66548c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.45.0","@uniformdev/context-ui":"19.45.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.18.17","cross-env":"7.0.3","@types/react":"18.2.20","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.45.0_1692292760405_0.9837655243312369","host":"s3://npm-registry-packages"}},"19.45.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.45.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.45.1","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b8ce97ebc08fc5aa8fd1be74db9d8fb39bd4c4b6","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.45.1.tgz","fileCount":7,"integrity":"sha512-58A7Q9bTmye0xfA1g4Z8bLsUnWas/rqABkVBvHXyeG+AW52WYuPHlXT6nFR20pWbClnATJ8ZgzZxlf1ZeDK8qA==","signatures":[{"sig":"MEQCICuX902jZPRv4a1RuZMuV5LYNg9t/De0EckPc1IDis6UAiA4uxK0dqvZHKRElHr7tS3WcggKCBsbrAlkKDQMt1G/qw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8034005},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"27d329b913db64152e9d49bcfa7dddf8b3b31bb6","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.45.1","@uniformdev/context-ui":"19.45.1","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.20","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.45.1_1692646845685_0.8071207959654039","host":"s3://npm-registry-packages"}},"19.45.2-alpha.6":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.45.2-alpha.6","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.45.2-alpha.6","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"dc7e2e9bbc574a3c7736cf0bbabedaadf0af6477","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.45.2-alpha.6.tgz","fileCount":7,"integrity":"sha512-A2rmAnse1E5LSrZerhdK3gQ4llU36LTEJKXbJwJN9vIaCSkRyv6fUSrE821B9dj/9WPRY75n0JCXelhlDWOPFw==","signatures":[{"sig":"MEQCIDFBnMR7S1XBuO7dN2vwIpXppSwjDqttqDZWcLWsNGZPAiALxNNb3IwagKhAw3881l2sa+9eqJqYRqEggqsZStRBpA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8034539},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ea4628ae5765af32b174d3dac546fed03170c9aa","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.45.2-alpha.6+ea4628ae5","@uniformdev/context-ui":"19.45.2-alpha.6+ea4628ae5","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.20","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.45.2-alpha.6_1692693855845_0.181009735063127","host":"s3://npm-registry-packages"}},"19.45.2-alpha.7":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.45.2-alpha.7","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.45.2-alpha.7","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"86f0577fc4f1da3992081b53c119e0354e49b010","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.45.2-alpha.7.tgz","fileCount":7,"integrity":"sha512-3v6/KEF6H4nhTwggXbmQu00dChCdl13zf9cbPRTiMIwTV3Y32hYYCuUSb6p5f6uwutyFNCw4j0YVaFQaoKRmVg==","signatures":[{"sig":"MEUCIQDFpVS1NFIgQimAmaycea5J2B+EBDNVulIEyAx6tP2MdAIgPVwwsnuhm0utfJ9CTvePsGm37SWPNmfYJ8r9eMdzq7s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8034539},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"9afef6594b505ff451ade8bdd5a2d29e8e0e586c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.45.2-alpha.7+9afef6594","@uniformdev/context-ui":"19.45.2-alpha.7+9afef6594","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.20","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.45.2-alpha.7_1692702720149_0.016566329189925844","host":"s3://npm-registry-packages"}},"19.46.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.46.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.46.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"578ebadd2c22f093215605de7ae4079486141f92","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.46.0.tgz","fileCount":7,"integrity":"sha512-QDQoaG7rDPI18PpbKedqDsvkMTP0Wn/Tk8Jfz8/62ueUR4SAN4OBQx/eVKQXM+ZM0WCqQ/11G9OdTzy8U6y0+w==","signatures":[{"sig":"MEYCIQC8NW8Kz/9UObVjW+yp7IhpHltS0NlPbNSEjkjgHqO0ewIhANUndc3dRaXpIysggk2m/J06fao8TEORg62tdhcnvDR1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8034485},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"6adedbd963772fdfe3c43584a89704d58527719d","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.46.0","@uniformdev/context-ui":"19.46.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.20","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.46.0_1692721667728_0.418305503447272","host":"s3://npm-registry-packages"}},"19.38.3-alpha.78":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.38.3-alpha.78","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.38.3-alpha.78","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"9b003355e8395a33d403ae8e803993a95ed46dc7","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.38.3-alpha.78.tgz","fileCount":7,"integrity":"sha512-I1wNRuucI9EaRjflwLPM7x+BpQ8BsDU5rlEv5x34wffeOGDt48ldwOr+Cv96BacTOLCCjujss7hQ9jc6S+H6fg==","signatures":[{"sig":"MEUCIQCsvnou4WX8YQkk+sHa3R5QP/AbKQmGioBGf1Q7FCaENwIgAjj5Zk/QexEQHrA+LIy2L39U74gjC5v44lu6Zh8QfrQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8034542},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"5c9892bf101584d351d06b65e1658a1237594cfb","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.38.3-alpha.78+5c9892bf1","@uniformdev/context-ui":"19.38.3-alpha.78+5c9892bf1","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.20","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.38.3-alpha.78_1692789173407_0.13134738263547074","host":"s3://npm-registry-packages"}},"19.46.1-alpha.8":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.46.1-alpha.8","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.46.1-alpha.8","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"0de32da8986e1f729dd447cf6943d1d08ff6da6f","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.46.1-alpha.8.tgz","fileCount":7,"integrity":"sha512-sVIwE3ON9/jeGl6AM8MkODCuzBH27Lt+ewWNUN60Gdp0cn/qmzqvwkjoqR7ypK4NIU/TRWLrgDVLIG/Jn3xEmA==","signatures":[{"sig":"MEYCIQDhrq98R6usA/Qzn1PKGKuZ1iST5oCULO3J38xFtVDqZgIhAILAej13FYPpOaCXk2eU0JwpDPrWiPirhNpoBUzSgeJx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8034539},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a2d89f62ed00cf0c7eaa8d557ad6a9f218215213","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.46.1-alpha.8+a2d89f62e","@uniformdev/context-ui":"19.46.1-alpha.8+a2d89f62e","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.20","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.46.1-alpha.8_1692792950808_0.6468098525517989","host":"s3://npm-registry-packages"}},"19.45.2-alpha.8":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.45.2-alpha.8","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.45.2-alpha.8","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"51308f949622403e0b059d463dc8262ae9b97947","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.45.2-alpha.8.tgz","fileCount":7,"integrity":"sha512-w2hk+dLna0HL2PFiQNu+/a4TaVMwSS+FAPFgcfY8xceIEQEcp/fH4AGU8vOLOKb7FQ0yps21GYRzfc9YoD0YvQ==","signatures":[{"sig":"MEUCIQDDBLve/1eeLRZ9OLLuoDL7sSnN3T/feXQG+PVM8u+4NQIgICyrvypngWLj+ome8NkiD6ztp2Yyoi2rVq86eI2mbto=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8034539},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"1d53453a2a1c232e6fab4e3d24893c72158a25ad","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.45.2-alpha.8+1d53453a2","@uniformdev/context-ui":"19.45.2-alpha.8+1d53453a2","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.20","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.45.2-alpha.8_1692800619309_0.39783912322271275","host":"s3://npm-registry-packages"}},"19.47.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.47.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.47.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"d1c77d6321a8a7d25c7f9a51f0891cbad6e36679","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.47.0.tgz","fileCount":7,"integrity":"sha512-o+/wTGTbOgp8RqGeZCy2byFONjqeiEZ6UrKWQRnl15X3mGOcbJg/7OX1qv+sVOEeWjrIIHEAeQx57H3JlJOxAA==","signatures":[{"sig":"MEQCIGqxbKnCmpz4r+lBHiumwRqxI40bHQFg1tpTPxuciR2zAiA0CIWqwPffW6nhNORf1C8WQAoUHVnDNmVIxjtOiCMm5Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8034485},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"66bb196919cc178fc94f4d0490d0ac517193304a","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.47.0","@uniformdev/context-ui":"19.47.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.20","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.47.0_1692803879580_0.08038107988794452","host":"s3://npm-registry-packages"}},"19.47.1-alpha.3":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.47.1-alpha.3","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.47.1-alpha.3","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"d22da66af12d77164094abd912d7cf943dd3bfc3","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.47.1-alpha.3.tgz","fileCount":7,"integrity":"sha512-Kgv/4tR1U5fANoP42wBGB1iC8gD2Z5P0cP6ufQORQC13RafW27Iry68jV5yukiOF0NYoHkdJJc4mx5fmki3wDA==","signatures":[{"sig":"MEQCIF3r7l/3lYLvOInL+pBEC6MSsyOE+qQmcCVZTCouTnRkAiBA9pefZJvAwY/5LdJpSYZ1q6VN6T2hdrNp3IBqDCvCgA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8034539},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"70a8d8101b37be3b7445ea577023160ad86ab284","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.47.1-alpha.3+70a8d8101","@uniformdev/context-ui":"19.47.1-alpha.3+70a8d8101","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.20","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.47.1-alpha.3_1692809841162_0.34217032678071413","host":"s3://npm-registry-packages"}},"19.48.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.48.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.48.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"dc338f581148323c8f2ad70154d4fa29cbf12b2b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.48.0.tgz","fileCount":7,"integrity":"sha512-1gNpPHzDNfAPdNGiLIjmkYHBKuDp8xlob6oOiaCxq0STkIThnzhzvWM1jRZmI4+o6vAjQPGWDLi4R76pqctGug==","signatures":[{"sig":"MEUCIQDDG6+Fya0N/NxszSlIxC9RZorkogKPKujtGUXgOISYZgIgVw5GGxICtjGQxKsM5feNrXqKCvIb1AsPtt4eHBMw7eE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8034485},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"046d1410326925dc79a1556a8d5190c74df50d12","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.48.0","@uniformdev/context-ui":"19.48.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.20","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.48.0_1692891035615_0.585532235343919","host":"s3://npm-registry-packages"}},"19.48.1-alpha.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.48.1-alpha.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.48.1-alpha.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"7273437de6582b397f2c86835e303cb143577ca5","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.48.1-alpha.0.tgz","fileCount":7,"integrity":"sha512-psp+AQg+WS2ixjwYC6tzMgz/HsnQ3ipnEu2Rm1fDCzMkY8KJdpe4piF6Paaz02/MTXOLrpTTHc9PhtcCcxaFpA==","signatures":[{"sig":"MEQCIGlGmFEa9EbvyrtoM+NWkgc3oopzkihjxQhA5WBSYk4GAiB5qaG7NgHku8dISEiEjg1hUyPWLzfSYhzGzy0ARC/ImA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8034539},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"e1b8fe91267d33f02240876e1ecbb71e707f57bb","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.48.1-alpha.0+e1b8fe912","@uniformdev/context-ui":"19.48.1-alpha.0+e1b8fe912","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.20","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.48.1-alpha.0_1692893168949_0.3621953790963235","host":"s3://npm-registry-packages"}},"19.48.1-alpha.8":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.48.1-alpha.8","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.48.1-alpha.8","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"3665b7cea0814675a66dd75847400509678d514b","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.48.1-alpha.8.tgz","fileCount":7,"integrity":"sha512-P1HHDppwq0Vp+50A0mdrKQm0zgJ1ocV+9gQPi1bGKjs3XRdGb08o1BisU9/7kZeXJCWtnU2n5GAeqe7usByaNQ==","signatures":[{"sig":"MEYCIQDqTDBB//mssydoTjNyjnfYBg1xUps0ixFcA8ik4rsGGQIhAIyj5t2YQ2U2PjK+t4lJZ1JnIBB+zsFRq4tb3oUIIh7l","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8034539},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"0418d546ad78898515544d07f095ff03809c611c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.48.1-alpha.8+0418d546a","@uniformdev/context-ui":"19.48.1-alpha.8+0418d546a","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.20","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.48.1-alpha.8_1692971797141_0.4237713833173635","host":"s3://npm-registry-packages"}},"19.49.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.49.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.49.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"ba58a233374d7025f1b5351b634702196b85ebdd","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.49.0.tgz","fileCount":7,"integrity":"sha512-AdRtkoQrgxzyCGAqT2gGeoGrogrb5AbnXfu+/e3bCpy4tjTz0vR07C6tzcU5hBYDbApnguO4jut6MH+7SOcCTQ==","signatures":[{"sig":"MEUCIQDQH6fDFZj+pHSXerROt8j5UqNm/27tC68NwILZ0Tx3pAIgfBuwV6PfGbz3GqIsfV6+pWsePM1mwdwxmgj/0Y76sj0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8039389},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"7aaac583f8003f3e510e6a68a76828a32cbf451d","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.49.0","@uniformdev/context-ui":"19.49.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.20","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.49.0_1693240068900_0.8055893878845632","host":"s3://npm-registry-packages"}},"19.49.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.49.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.49.1","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"07673b1ab416d103c494b13ffc6ccf23b17ef4e7","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.49.1.tgz","fileCount":7,"integrity":"sha512-/h6SkLubitrz+aI3LO3oVK4Bos1q5aAGosIkotgI1V5+pQimekStRsnQ50korWGsRxuxkH/u8cW9V1SYVMb3wg==","signatures":[{"sig":"MEYCIQDGbXm9sdopnADJAy8d1E3Kvi+umsVd1DdhMPg9FwBgpQIhAIsV+ww0tXfGvDhdvqgLEXdey/9UcXAFCg/0/ltw4aGr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8039389},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a14b97601fb78b44be7f0849841b9828dec0ea96","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.49.1","@uniformdev/context-ui":"19.49.1","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.20","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.49.1_1693325627469_0.4284903461294389","host":"s3://npm-registry-packages"}},"19.50.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.50.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.50.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"f2dc585d914e5d4b6f5f0d9de1ff282720ba3bc6","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.50.0.tgz","fileCount":7,"integrity":"sha512-NSPn4wLGHIKUargm/mIrSsesiyrJMlQr07ZdHBSYdMk7jlbWNbs1/hOzxd8EkF14pSIfPxULPI40IHkc98Vwfg==","signatures":[{"sig":"MEYCIQDuJGkMosdTpvhk0iVW8NpaAFt0V+pBRXTT/COKmRrakAIhAPceIsXfk7x7muPSyk2FfMNdygFNKGfzSqkBShTRkWZO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8039389},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"b5591b7986196c3917e9cababafaeeef1871cd47","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.50.0","@uniformdev/context-ui":"19.50.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.20","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.50.0_1693844101711_0.6655416769609694","host":"s3://npm-registry-packages"}},"19.47.1-alpha.11":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.47.1-alpha.11","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.47.1-alpha.11","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"6a846d850087311b225f7773b5c63cf99f933410","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.47.1-alpha.11.tgz","fileCount":7,"integrity":"sha512-iBqjqMAs9DSELdK5rbv27P+FfxjiTZ72xHAJkzGellmkPF83b4+ItXbAv4YIGYblyWDhci6gralJhYvpC/VyGg==","signatures":[{"sig":"MEUCIF/pXwSsWLalnBCRa4R0hg3Jv+ZUUN+eP6xOvECr5ojoAiEA2chMB5QFwBGRgzyV0AlaonQjXIVVnbTqe4VnOT+UO6A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8039446},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"7b2a77395e250abc8e1d30cff034b421ac38c40f","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.47.1-alpha.11+7b2a77395","@uniformdev/context-ui":"19.47.1-alpha.11+7b2a77395","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.20","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.47.1-alpha.11_1693942735529_0.8127000618971651","host":"s3://npm-registry-packages"}},"19.51.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.51.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.51.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"6f90e87ac7e1a8f64013a27eeb0e98850de588cb","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.51.0.tgz","fileCount":7,"integrity":"sha512-kZwkEL2A+OHmmCuHsa4ke2jDERDRdZljGxkZuoSA9AEphKYnAatft3sBuCj+uQFobeiKj1J+fPXkiebouJS58A==","signatures":[{"sig":"MEUCIQC7nwFXdHmj1/7qRCKG3iT3Dtvgcisl0cyY4C62b3riowIgIhs9U8i6k4dUiYeb0ZGb7MI4HMsVFnUm0g5qP/whP6I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8039389},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"6169b3df00a64ebb66e4c4434cbf171e5cfbe6e4","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.51.0","@uniformdev/context-ui":"19.51.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.51.0_1694017937317_0.8890868110362702","host":"s3://npm-registry-packages"}},"19.50.2-alpha.11":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.50.2-alpha.11","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.50.2-alpha.11","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"81bbaa0c64058b57ab42b7dade4d2254b75c6d45","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.50.2-alpha.11.tgz","fileCount":7,"integrity":"sha512-xJxLbKjaEFPp9L1dxkAFz5Fcul3yVHcK5cm0nFVsOzsenyoN+Iyk7GICvpnqQ9hJEzc6P7gB7W7PcK3q0Y5SVA==","signatures":[{"sig":"MEUCIHRVXX7qHYcW/BSLI2Psergauw9u5D4wk26nvF3W+vPGAiEA6dhrd1Hus3N6E64hDP+YTkgp8GTAiHFvmd+jZYsJOaY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8050969},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"3ffe35383d936fe485db7afd0506f4ea40386926","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.50.2-alpha.11+3ffe35383","@uniformdev/context-ui":"19.50.2-alpha.11+3ffe35383","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.50.2-alpha.11_1694020714101_0.9878164282492399","host":"s3://npm-registry-packages"}},"19.51.1-alpha.10":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.51.1-alpha.10","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.51.1-alpha.10","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"d4d0013b25e85650e7a2d047ec2e7c3b6d8e5a95","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.51.1-alpha.10.tgz","fileCount":7,"integrity":"sha512-ORBt7LeXgMsagjpFYC6yrVvsCiZDAi8P6TkqJUeYEOZCnh/t4WtqZgrRWZQDr0SLu5Jo+3FweIzAr643Bx3nrg==","signatures":[{"sig":"MEYCIQCX8KHz11fpthlbau9oXIUSWitNQ1KvNXJzPYWsJ3PEcQIhALld4Zu5oWKP+2lYTssD2g69filTVnGwJWcBEs5kpp2x","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8051122},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ee32ab8b66da53e39f0714b708d5cd2ec49592bd","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.51.1-alpha.10+ee32ab8b6","@uniformdev/context-ui":"19.51.1-alpha.10+ee32ab8b6","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.51.1-alpha.10_1694097663066_0.6000513438304877","host":"s3://npm-registry-packages"}},"19.50.2-alpha.45":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.50.2-alpha.45","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.50.2-alpha.45","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"5983a5076da3a30bc80f7029c57b7b215028834c","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.50.2-alpha.45.tgz","fileCount":7,"integrity":"sha512-ua+ExQCJxZiqzPn4CAsTB+vmERjPWVJsjo3xV2FJm7atQXqO3j2txNZP/dikdkCRHTjccs4PUUbDJp+JZBMWZQ==","signatures":[{"sig":"MEUCIQCdHKgyrEhSS1EE6EikBXyunJ+FqD5+Xwtbuqpp5WZprQIgEO2CcMAETmJsL+uQas+k4nijjPMSK7R8w1qtomVxdpE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8052148},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a56e8590dc26a2e93a679da227c902021c519b4e","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.50.2-alpha.45+a56e8590d","@uniformdev/context-ui":"19.50.2-alpha.45+a56e8590d","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.50.2-alpha.45_1694110504791_0.33214103908557213","host":"s3://npm-registry-packages"}},"19.53.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.53.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.53.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"5c488ceff9d113adff2b05f9f759a3f254f1386e","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.53.0.tgz","fileCount":7,"integrity":"sha512-434/NP0QgR6ymODMZmE9+dHio4cv0Q+bxIxQr0nsmZvqIXR1/CDWf8EWdPvZCqBPLURaGXPN8+D5WCOdMVQ1wQ==","signatures":[{"sig":"MEUCIH+6qHUQtdo1CQPLbMjHJKl1Qk8zCZpZO/uydDrgbj1VAiEA0/wC2/8hQf6/1zdZsf8OzMjl+xY2lcA/+AJtV9uR1pI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8044885},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"2f5a368ac31888a37da39c0e449b29b94c35c591","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.53.0","@uniformdev/context-ui":"19.53.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.53.0_1694537426811_0.9418967603691359","host":"s3://npm-registry-packages"}},"19.54.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.54.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.54.0","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"3cf47e3c04ab760ad51e63e2dfad5b1b9018cbbe","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.54.0.tgz","fileCount":7,"integrity":"sha512-tBKbgkAUyHomKbVgkax316dPArtioEN6wK+k3nUcZOyTBC0jq66Y9dgwQJeKSDkt1Q1GNgzqN0ihD1QxoYaQZQ==","signatures":[{"sig":"MEUCIQC26SCyJX0PCeHsU492/8no9TAqPACc/2BEEQCVoVPVRwIgeD6Xf/PXqEFU3G6tHbMuWbM5cLtGblsEnexdNBe1wGg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8045029},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"e38bb6dd64cb9bc3b281afd9c01a72c1b18dc2b4","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.54.0","@uniformdev/context-ui":"19.54.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.54.0_1694620050998_0.5206610566639169","host":"s3://npm-registry-packages"}},"19.54.2-alpha.3":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.54.2-alpha.3","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.54.2-alpha.3","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"eb9755ad3e778b7ad96e8415d44c9fcf2e272ba7","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.54.2-alpha.3.tgz","fileCount":7,"integrity":"sha512-13iSgNfchGy6GgEOC2qSjWeS2MP9fPgd9mxP82xm2UE/AE5nljb0j+ZjimvCFpnFlHAHZ5dXP9LhQa/vND4ZGQ==","signatures":[{"sig":"MEQCICqiFBkqOU6aHrKxMm1uoOA9t9WqEUpvdoNeLHl4PZAOAiBlmaPIiZKk0A+IZ1kfVo3zTUfdvJ4RZuz7xPJA3Z+Wow==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8051535},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"f67adafccc67437fbeb610b57f759ca45bd6140c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.54.2-alpha.3+f67adafcc","@uniformdev/context-ui":"19.54.2-alpha.3+f67adafcc","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.54.2-alpha.3_1694712221730_0.9473056434894174","host":"s3://npm-registry-packages"}},"19.53.1-alpha.41":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.53.1-alpha.41","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.53.1-alpha.41","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"09b0502806bde1a5f80712b7adbafe52a2946b8f","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.53.1-alpha.41.tgz","fileCount":7,"integrity":"sha512-5Ip/CE57Hwr+Cf1GDlwaJrD2Ckuli02odGRztAiURhM8W8Fk84l3t6ZQZdZT45Nfw8z44wAPe3rY74uqLDbZSA==","signatures":[{"sig":"MEUCIQDNUCr3D4E1d5zX08TBfZS4b/LAQP0VJH1RnkGuYH4ckQIgcTUW3Zv1N8tDi88MJhhOALso7oFAT4cZmTc9oobApD8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8057788},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"27cb9eb2ddaae3cdb18163df96cf6e58440b700d","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.53.1-alpha.41+27cb9eb2d","@uniformdev/context-ui":"19.53.1-alpha.41+27cb9eb2d","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.53.1-alpha.41_1694722051891_0.08576146174255905","host":"s3://npm-registry-packages"}},"19.51.1-alpha.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.51.1-alpha.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.51.1-alpha.1","maintainers":[{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"d2eedf54cfe1959acbaee4a883cbef09a374ae98","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.51.1-alpha.1.tgz","fileCount":7,"integrity":"sha512-67DTbqGCkD6HEMaUSZ765BFnFrR93g0ZEAsD1HdWyFqJUWK8ratwXuwYuM42ZxOfpt9QOOhOAUkNf5sr8f+gYw==","signatures":[{"sig":"MEUCIQCt4WBT0Nbi7X/PR17IUfrVCU+QhFtWioEHeJIUctBovQIgeTuXe++5CKGMLAOhtsilBTCdvRhrHo8sTdS+BsZNkLI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8052327},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"e55ae6c1ea8df19f04a9dba22769d76e16d28d70","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.51.1-alpha.1+e55ae6c1e","@uniformdev/context-ui":"19.51.1-alpha.1+e55ae6c1e","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.51.1-alpha.1_1694774630421_0.5626454589891312","host":"s3://npm-registry-packages"}},"19.54.2-alpha.10":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.54.2-alpha.10","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.54.2-alpha.10","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"ed6ad7d4833c68b51cf928a54b729afcfe21fc53","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.54.2-alpha.10.tgz","fileCount":7,"integrity":"sha512-17tPY9CtnrjaIycPLjAJlsks3aMbACLYmRKJEearH9vDtFgQfNMM2sRqVPgulPx31TWfKRWMRPrekryapd3M9w==","signatures":[{"sig":"MEUCIDx3QM3yhXpVNLpn3KPwcAAuRMAbcTAY+HDgSNdo8CuCAiEAqcjdhu5lpKy5xTwsVf78Fz0GxNTluP6y5fYPgSuGDpA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8051538},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"26eb615153bcf5f11deb0beeb0f227accde9ae6f","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.54.2-alpha.10+26eb61515","@uniformdev/context-ui":"19.54.2-alpha.10+26eb61515","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.54.2-alpha.10_1694795692245_0.5228375319856915","host":"s3://npm-registry-packages"}},"19.54.2":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.54.2","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.54.2","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"ddf64e4c9fef9d8a7a673ec3a62efe5142a05302","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.54.2.tgz","fileCount":7,"integrity":"sha512-UV/M0Uzzf5Nr/RM3JlvBbZwPIINuFpT5rt9cgbfxxwZEdpKtSKLzOnrV87Y9qldiKcPX4VKikuyG83moKmtSPA==","signatures":[{"sig":"MEYCIQDeVHxX3nl4no0PPdhTQYkLKXqFIxDcM40U4/zlDazIHAIhAIPDlKJHTMhYQdmkLRfAc+CJEeN3hWmQr6jHbH5xZP1S","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8051769},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ae0ae9747a09ab2982d011b71f67bb078ed98495","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.54.2","@uniformdev/context-ui":"19.54.2","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.54.2_1695052107217_0.794569378739598","host":"s3://npm-registry-packages"}},"19.54.3-alpha.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.54.3-alpha.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.54.3-alpha.1","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"ef068af87416ac17ddd7e7b9c5d4db1ed9794ed5","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.54.3-alpha.1.tgz","fileCount":7,"integrity":"sha512-Licuf/0/kQytvj3SsPvZ9l9SAGAFTU1l4heFoOmnogBd31D7bu3zwVmW0LZs7KwIPFY52y4svXZhQSKxyf1+6g==","signatures":[{"sig":"MEQCIANplwPhrQ9nJgPl4+1A8Gu46xdHfxFXp+oU4EsE+b5PAiBYyr8gSI/3HRcI+DPRj08G4V0l2iVYrTS6LBwc+bxHAQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8051823},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"c169f04b0eaffb4956c91d3ca0a3ab0c44d64dd4","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.54.3-alpha.1+c169f04b0","@uniformdev/context-ui":"19.54.3-alpha.1+c169f04b0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.54.3-alpha.1_1695069946129_0.6630229426974072","host":"s3://npm-registry-packages"}},"19.54.3-alpha.2":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.54.3-alpha.2","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.54.3-alpha.2","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"5b6a77161db5f64b920f63d8a276b6eae4d9ebbb","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.54.3-alpha.2.tgz","fileCount":7,"integrity":"sha512-MyB8/ofIQBolzSo/EVPg7V2BAYbi163jvossTvXOwQW37QrHaKBciSzSjQguAF7zCxtREa5BXZwPZlbY0OnNjA==","signatures":[{"sig":"MEUCICZ6HdnTCToMMs54RxRIR0K4gbKU2Zs/ZiEcKIh1nGOiAiEAp6SjRt9VP3k5LCEL5NABFidHOy+zQ5Og4POja0PNn3M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8051823},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ec78449be97f7df7ad52faff4939d51410881701","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.54.3-alpha.2+ec78449be","@uniformdev/context-ui":"19.54.3-alpha.2+ec78449be","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.54.3-alpha.2_1695075825656_0.06286385791038107","host":"s3://npm-registry-packages"}},"19.54.3-alpha.3":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.54.3-alpha.3","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.54.3-alpha.3","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"8bc7fcd7bca7e1ffcd18edd8bca0c744b4d3b6b9","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.54.3-alpha.3.tgz","fileCount":7,"integrity":"sha512-3Qiwo80E8nu30+2MSZrqYTFHYObReOlW58uwYUtz0NiWdzNAcrCeeH/466V+2ddi/wFgxOppvj/VaUeXBeiYGQ==","signatures":[{"sig":"MEYCIQCJKumvUbwcgJHpcXt7y997K5ryJhzskPz8fZ6k0VGHPQIhAKNVp70rBqcPgIX3JYYNC4hF9t54n+8QBSqLML0hcJPK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8051823},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"c24f64403ca47e28674e94da9ab1566671f398fc","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.54.3-alpha.3+c24f64403","@uniformdev/context-ui":"19.54.3-alpha.3+c24f64403","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.54.3-alpha.3_1695077864433_0.405178146429114","host":"s3://npm-registry-packages"}},"19.54.2-alpha.12":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.54.2-alpha.12","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.54.2-alpha.12","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"0538a2e234b4e9aac13f03bc1086604ca55a4bf0","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.54.2-alpha.12.tgz","fileCount":7,"integrity":"sha512-/yjIKNh9IGYVfSEqdkTP14bIWmi8joWyrbHgIgZr/HNUAsuNNc95mcSzWzj7HcqLS/pebVpL8b0bGsHcTmSz7w==","signatures":[{"sig":"MEUCIQC/mmeuEzq6nASb4SOjNdPa2e1shwwtRMoeeRjcPa8muwIgcN+AmJsMvPcFE78j9SqxfDivRpAeSAAk8CZmj+38br8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8052081},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"7c9fa89606aad125a8cca19f6fc6b50ddc4c3f58","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.54.2-alpha.12+7c9fa8960","@uniformdev/context-ui":"19.54.2-alpha.12+7c9fa8960","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.54.2-alpha.12_1695205573058_0.902200346753899","host":"s3://npm-registry-packages"}},"19.54.3-alpha.5":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.54.3-alpha.5","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.54.3-alpha.5","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"3f902ace07a5fc3f68d4644140f802ac2940dd01","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.54.3-alpha.5.tgz","fileCount":7,"integrity":"sha512-uEacQDHuKmD5VxcROIaB6h9P0FH6mnGZHZE0xhD4gwC3+DyNPpfIIIHJeCKvOAqQsgfgx+kxs11WLov/kyCwhg==","signatures":[{"sig":"MEUCIQDKf5xzGj+f/YVh4ravT3KgcEITGqJMN1lcvMxbQAYXKQIgKje8q3yHqew74Xj8HybN3Ex8cuxpF/FMJ1AgGvXVcJg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8063409},"types":"./dist/index.d.ts","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"014bd628043639e39e853dfdc2a7f1d2da340854","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.54.3-alpha.5+014bd6280","@uniformdev/context-ui":"19.54.3-alpha.5+014bd6280","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.54.3-alpha.5_1695217900678_0.5672636687948212","host":"s3://npm-registry-packages"}},"19.55.1-alpha.8":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.55.1-alpha.8","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.55.1-alpha.8","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"a662b326666dcabd81330c14f31cd4cd9bfabd8f","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.55.1-alpha.8.tgz","fileCount":7,"integrity":"sha512-X9LLESPDBcQYCQuNUly0RN/0ejzTCcMyyNwxwX9FiOyY0kBhyUEmYUAlP0T3nFmFLy8Y/B0ggkkY7xH5bGECxA==","signatures":[{"sig":"MEQCIANA1ePqb89San9YfpmiG4yK50Su2poHTSDHgozJMoBfAiAYKWIE+Y3LU6zloiBPoSakMOLEgxPVV3im51EFkc32QQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8063499},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"02b3f0ddb80a99d95d2f69cab42013682d763ca8","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.55.1-alpha.8+02b3f0ddb","@uniformdev/context-ui":"19.55.1-alpha.8+02b3f0ddb","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.55.1-alpha.8_1695220476848_0.35702962345801836","host":"s3://npm-registry-packages"}},"19.54.2-alpha.13":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.54.2-alpha.13","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.54.2-alpha.13","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"d6a1c83b021d9b7c5c7df1c1f04322f83f5322c0","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.54.2-alpha.13.tgz","fileCount":7,"integrity":"sha512-mYrrNEwRH9DwcEGU31Da6ImXAehJG78XnsGtoEszy72trXVDIibduQ4G7d9+In7X4RohLZbK6hAJybFZ1DLmpw==","signatures":[{"sig":"MEQCIHVKUOcfKd4menH3pcb8CfTpsH8/+siZU9zXqaDC374gAiAqe5MHH+cdmb3afWEHsJRuSGJdyf/Dtj+SqPTIMbz86Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8052081},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"17f4994053421269d934e7b8bee1d24b022c3e3f","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.54.2-alpha.13+17f499405","@uniformdev/context-ui":"19.54.2-alpha.13+17f499405","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.54.2-alpha.13_1695281623488_0.04569516473537649","host":"s3://npm-registry-packages"}},"19.56.1-alpha.5":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.56.1-alpha.5","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.56.1-alpha.5","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"98b796304eb6458be82bb7663c059d4add016058","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.56.1-alpha.5.tgz","fileCount":7,"integrity":"sha512-nv1SRZMtwjDf1ZOpnb5v4op9VnvDiuoOJ3VOyP7Yze6beEbHyM6Yx2edNyAI81fLiz/nOujnmqLVGLDt46Cu/w==","signatures":[{"sig":"MEUCIGit+dy8F5GxDkadOh94KrRquNzQCPSCC3vPBe9whOj6AiEAgNSDWwze9e9haQF/vJ8U+mrnp5FKRhcnKzaguPpNHmg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8065452},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"7dd8fa6f965545af8b78ea3095e6a7406279bbc9","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.56.1-alpha.5+7dd8fa6f9","@uniformdev/context-ui":"19.56.1-alpha.5+7dd8fa6f9","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.56.1-alpha.5_1695314743904_0.6075027264232105","host":"s3://npm-registry-packages"}},"19.56.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.56.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.56.0","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"c0a2a3257f469eac77bba2f1398cd239e86d491d","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.56.0.tgz","fileCount":7,"integrity":"sha512-xdM08BQAbZqX8XtthDWo56+AiCRw9++yA/a5K1WiUY5vJNb6UolDOD5fJWaLq1pOncOdmUicKaD+h9A/URY9RA==","signatures":[{"sig":"MEUCIGmRcbFbl+pqKo580klGWyYIcE6LimH3agC30HVyus4uAiEAhexX0/GGD5T14xj4wxMU8b9T2O5v9tBo8sxvPggwVfI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8064342},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"56938585920b817df15d278b46cbb3bd56f18790","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.56.0","@uniformdev/context-ui":"19.56.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.56.0_1695316053536_0.680832822855902","host":"s3://npm-registry-packages"}},"19.49.4-alpha.67":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.49.4-alpha.67","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.49.4-alpha.67","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"a21f0bec0e8b2d7d5749670347ac1ba7a87f4d43","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.49.4-alpha.67.tgz","fileCount":7,"integrity":"sha512-nE7LpqNSlHEIq0N8BPHL6M84Y2pbnpcqfWIMiTsYbN33M8wq4m1wfOzOlkdTFDDXPrt0wpAK22gHkAly2WAUng==","signatures":[{"sig":"MEUCIEcoL9D30eW94nuWU5wAPClcRRzlCQSPIvT3DQrlF8OdAiEAwlninSc+3a/iFs8gKuVHVsnqk8V+7zDIoOTH3UND2A4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8066460},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"9773e3b65168255768f5cbecf2536988fa0e03af","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.49.4-alpha.67+9773e3b65","@uniformdev/context-ui":"19.49.4-alpha.67+9773e3b65","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.49.4-alpha.67_1695322610644_0.9427835634745498","host":"s3://npm-registry-packages"}},"19.56.1-alpha.9":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.56.1-alpha.9","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.56.1-alpha.9","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"71e138a5ccb5fcffde8fc1ff33a0015dbb208180","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.56.1-alpha.9.tgz","fileCount":7,"integrity":"sha512-a3mMBah/8LiMvXqKTYNmOsM2zf1qwuVDRxZZrlP+S8yws7Tizx50P9VhUrMRncVPupelKJy16+m/JRFR/KkDKA==","signatures":[{"sig":"MEUCIGm2skPFp558OgcDOoOCruAlujB+i62XJK0hW6Sm0FLtAiEAt5T4EWRd0mPL/nVHFP+9GPSv+53AHNAbxnB0sgpOFdQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8065422},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"020a9469359bc5480785058a22b87e5fe8579799","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.56.1-alpha.9+020a94693","@uniformdev/context-ui":"19.56.1-alpha.9+020a94693","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.56.1-alpha.9_1695394855615_0.8149071442734495","host":"s3://npm-registry-packages"}},"19.56.1-alpha.10":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.56.1-alpha.10","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.56.1-alpha.10","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"f2dcf80b517a6731b1310f1afc11cd962627ebe3","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.56.1-alpha.10.tgz","fileCount":7,"integrity":"sha512-RenfNrFrqLq+qcYp7OLBSFPAF2qun0O8PT3Yl1ut8rK0aA58hm4PvRT+6Yi76lsN/c0y8Y8Sf2LMdKtGcyevxA==","signatures":[{"sig":"MEYCIQC3KT4b7ugCXJMuwPzySLtilFSPt5twYx7o+kbOoxmOKAIhALbwrZVxzJh7b4O/S4JF6n76/hGA7QbUvS6qxfdfY+01","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8064909},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"4656b6da55c78e7e793f785739cd26cd252f77d4","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.56.1-alpha.10+4656b6da5","@uniformdev/context-ui":"19.56.1-alpha.10+4656b6da5","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.56.1-alpha.10_1695400583860_0.21499733728908121","host":"s3://npm-registry-packages"}},"19.57.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.57.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.57.0","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"b9e97392a49e7ba94c24c48615e1a387b627ca76","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.57.0.tgz","fileCount":7,"integrity":"sha512-MbweUpE+8igbQyVc2i/foeL8/J9oUO2n47sMb3PvuR3GIi0jrl6Okn0I3C8bkV7dsu+b2UpFJ3WjAZvY1IDBdQ==","signatures":[{"sig":"MEUCIQDeE2CJpLI13WgWrGlUd1+Wx+eq9LGRX8h8kA7ADzU3xgIgLxZ351trd2ysgJFCTUfqiB/sSAKZpT8xEU9MYKpgZEE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8065398},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"34b8d4a74f9029d507640eb8ef52d7bcf7e6d552","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.57.0","@uniformdev/context-ui":"19.57.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.57.0_1695661892382_0.9414401935563268","host":"s3://npm-registry-packages"}},"19.56.1-alpha.22":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.56.1-alpha.22","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.56.1-alpha.22","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"03bb3e167a3c10e05a6e53555f6104227b81751d","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.56.1-alpha.22.tgz","fileCount":7,"integrity":"sha512-zUXEJp2ksnQ7VAheAZEuSnEagwhFupKoEyaQPDe6v0h6KXbgvX/RwEUvKj0/Bty4W4GxCi79g3Ki97TvVaL+PQ==","signatures":[{"sig":"MEYCIQCFwSRQgHRRGfkYsqNsOUhAZ6qrkHzPJ6+Y7NffyxCF7gIhAP9e0tZKBA9Jtl9Wc0Ij2cgjNGuyjuhnqND4Fcfsgxz4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8065455},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"a6fd2a3dfdfa76a6610f664a81f3d531f98388f0","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.2.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.56.1-alpha.22+a6fd2a3df","@uniformdev/context-ui":"19.56.1-alpha.22+a6fd2a3df","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.56.1-alpha.22_1695674564507_0.6078376575255362","host":"s3://npm-registry-packages"}},"19.51.1-alpha.22":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.51.1-alpha.22","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.51.1-alpha.22","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"7547375c575b4b82ab431762487cca187bd06652","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.51.1-alpha.22.tgz","fileCount":7,"integrity":"sha512-xV+Iayjh4LKYisylgEUAnMspYjWJ5bAG8EOCAzNx+l2TjtiVobXVQkkE5oLza/+a5B8WKDXo5GAROLBHKO/1CQ==","signatures":[{"sig":"MEYCIQDKgi2k4cdU8So44FjijHj/VIvaSnAyXynkIJMpCeNjlwIhAPMKSNL6ydjxMJirNseH5gHOiyR2lzTTNRgSEjP3ocL4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8066370},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"ee274f04521c4024826b21fee01d50fcc1e414a1","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.3.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.51.1-alpha.22+ee274f045","@uniformdev/context-ui":"19.51.1-alpha.22+ee274f045","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.51.1-alpha.22_1695738188082_0.18935293580616497","host":"s3://npm-registry-packages"}},"19.58.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.58.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.58.0","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"cfcc9783b708e8adb3ec3d0a3a2ceaf2aafd9a72","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.58.0.tgz","fileCount":7,"integrity":"sha512-uhuVaAo7tJihCJjau26XBJJwk5hGyiODPM3fbYdfshtCKTrZJE1yD7sjsG6Kap3eVaBzGBV9m4jt6OeGOR6IiA==","signatures":[{"sig":"MEQCIC7J/4GO+MgI1UTouco3V0XIPOL3PGUikFVPW2UYIR0KAiB8+yWIrPP7poHssfHNb3gYmxzqOuL5TfzkRNE0wtm/wA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8064975},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"1e355c1405dc744f333cbce45766965c160c535c","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.3.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.58.0","@uniformdev/context-ui":"19.58.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.58.0_1695743500318_0.12115517423967836","host":"s3://npm-registry-packages"}},"19.51.1-alpha.26":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.51.1-alpha.26","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.51.1-alpha.26","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"69689a3b4558764b20a0493f31bcf30c1386f61d","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.51.1-alpha.26.tgz","fileCount":7,"integrity":"sha512-j/CCLoePJWj42z5mXVbBWU3aKeNTs15g8+qgO1STWM3c4ARdSpRnNYdVvoEsNZcORzsBOIPiendgGvZ7A0DWPg==","signatures":[{"sig":"MEUCIQD1iHpWPXfBVO/L2554y0Q4JUPl2Sn1s1L4RQS/W7zFUgIgE1Z0aPzrUo1Ra4iZYEwzecleAdie1AHuOEjsJUaNLDQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8065971},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"87b6d6f43ac5ed3bf05fbdba51dc239e04601dd1","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.3.0/node@v18.17.1+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.51.1-alpha.26+87b6d6f43","@uniformdev/context-ui":"19.51.1-alpha.26+87b6d6f43","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.51.1-alpha.26_1695754211870_0.24502754170362806","host":"s3://npm-registry-packages"}},"19.58.1-alpha.16":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.58.1-alpha.16","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.58.1-alpha.16","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"9e496ab2268e9a0735ecc63304a51c132364b8e0","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.58.1-alpha.16.tgz","fileCount":7,"integrity":"sha512-abt+qj4SY34puGOtpJdhrRhYSZx+3tm34Hrc1/vv9hkMuv4KN433FQrGC7HgIRe/xClScFgj9poEY3+1TwkS1g==","signatures":[{"sig":"MEUCIQDWclTOWFxn+cztXgbYAfDCdZcZNA+XHMowOnKnpqXFVwIgN67rcaJske/0ulkY+tvpkSV6ll26pQN4s/QHj1jvOk4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8065364},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"5b13596bc07ad3b8d3809122c9843d17e4a6f413","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.3.0/node@v18.18.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.18.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.58.1-alpha.16+5b13596bc","@uniformdev/context-ui":"19.58.1-alpha.16+5b13596bc","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.58.1-alpha.16_1695856375280_0.9835275155906402","host":"s3://npm-registry-packages"}},"19.58.1":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.58.1","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.58.1","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"97b1063e4415cb95ef35c1021ab4f38545370c8c","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.58.1.tgz","fileCount":7,"integrity":"sha512-0QAiqVPFXP39PM0fFqJp1GbsLiuR8V/eduK+u3yqJyqMto8N4qwQkOFHt2IsolAtzkQQjKjcm50TYv/M183s+g==","signatures":[{"sig":"MEUCIHwDW2n7LHZ1Vi3dZVJgdnN2yTdyhAbHWdanSE1VsGzbAiEAgvPPKO7V0uUyJtPwgppOmE5r/gQ3ChKWXKtOnjMquro=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8065307},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"b889f843979b69f4d17fc6d12a95cc040d9975ad","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.3.0/node@v18.18.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.18.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.58.1","@uniformdev/context-ui":"19.58.1","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.58.1_1695915511470_0.4337210167163057","host":"s3://npm-registry-packages"}},"19.58.2-alpha.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.58.2-alpha.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.58.2-alpha.0","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"bb59d7e7901e4a32ba0643e7147afa696548d27d","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.58.2-alpha.0.tgz","fileCount":7,"integrity":"sha512-YBOhGXQq258KxqiT6Gc2oPznOYjKg4QNd2ajFI0QGzFLh73tuq1jAh5/sBNBRB2/GiBB1ev0ziJM6Oknegozng==","signatures":[{"sig":"MEUCIQDtnkwduef1bgmDXP8xjNoAwO5p+pnfZbBrDAYOIl/WowIgQNVV6iAW9+D5Q1xXIRQXcmWlhER+y9WmpWkExCiEjvU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8065361},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"68d890cf94dc44136dd88bcc2d703248bae10bea","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.3.0/node@v18.18.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.18.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.58.2-alpha.0+68d890cf9","@uniformdev/context-ui":"19.58.2-alpha.0+68d890cf9","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.58.2-alpha.0_1695928827768_0.0037385134365226502","host":"s3://npm-registry-packages"}},"19.58.2-alpha.11":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.58.2-alpha.11","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.58.2-alpha.11","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"37d21076c18735d272284e99a255b6de26ff169e","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.58.2-alpha.11.tgz","fileCount":7,"integrity":"sha512-JZ1BUBVo5Gk4Cm9Bb4M0gD+3oNhnrqeMucqPpf2REzr00x7GGTxCCdACpa8ZMvXlPeJ/SZsHIaBPQbUaNtuDBQ==","signatures":[{"sig":"MEUCIQCF9fD89qw6kMJHRTQ8gR5pW2YmKDWbtr51s/F6VUObxwIgb3fNwuZ0yJ+hR9d7QKHb635Z1l0KxJBLA6kmkgXux3U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8066516},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"9a1da0c4162d8d70477d87a876eeaaf4525d94ac","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.3.0/node@v18.18.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.18.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.58.2-alpha.11+9a1da0c41","@uniformdev/context-ui":"19.58.2-alpha.11+9a1da0c41","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.58.2-alpha.11_1696256912522_0.2608292739279072","host":"s3://npm-registry-packages"}},"19.59.0":{"name":"@uniformdev/sanity-plugin-uniform-optimize","version":"19.59.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@uniformdev/sanity-plugin-uniform-optimize@19.59.0","maintainers":[{"name":"serhiiouniformdev","email":"serhiio@uniform.dev"},{"name":"jakub-uniform","email":"jakube@uniform.dev"},{"name":"m1r1k","email":"artemm@uniform.dev"},{"name":"originalexe","email":"antesepic@protonmail.com"},{"name":"ilyasmez","email":"ilyas@amezouar.com"},{"name":"jeffdarchuk","email":"jeffd@uniform.dev"},{"name":"adam.conn","email":"adam.conn@gmail.com"},{"name":"drolexan","email":"alexs@uniform.dev"},{"name":"alenpelin","email":"alen.pelin@gmail.com"},{"name":"kamsar","email":"kamsar@gmail.com"},{"name":"adamluniform","email":"adaml@uniform.dev"}],"dist":{"shasum":"4965ce373a8495d20b3b51127ba45a06202bc17f","tarball":"https://registry.npmjs.org/@uniformdev/sanity-plugin-uniform-optimize/-/sanity-plugin-uniform-optimize-19.59.0.tgz","fileCount":7,"integrity":"sha512-cSucRSc9guCjYKp6Vhb7BpTmdbbgDnE0zopi5hMWtS9ItCnOyJs6/4x/P+MRHLgl1/pmcCMsLBsnxjZIAr9JDw==","signatures":[{"sig":"MEQCIFHwo1edFZNNtyvq/KwijVSGlxHLhR7ICz2qthdAv2JzAiAjZ7e/4aI0ia9Pp6T45bhsfLzdtEadv7jBh6IkWOw18A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8066459},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.js"},"gitHead":"912b2badf364d2959cb0b664ba16d9741f16add5","scripts":{"dev":"tsc -w","lint":"eslint \"src/**/*.{js,ts,tsx}\"","test":"jest --maxWorkers=1 --passWithNoTests","build":"cross-env-shell NODE_ENV=production \"run-p build:tsc build:esm\"","clean":"rimraf dist","format":"prettier --write \"src/**/*.{js,ts,tsx}\"","build:esm":"node ./scripts/build.js","build:tsc":"tsc -noEmit"},"_npmUser":{"name":"ilyasmez","email":"ilyas@amezouar.com"},"_npmVersion":"lerna/7.3.0/node@v18.18.0+x64 (linux)","description":"Sanity plugin for Uniform Optimize","directories":{},"sideEffects":false,"_nodeVersion":"18.18.0","dependencies":{"@sanity/ui":"^1.0.11","prop-types":"15.8.1","@uniformdev/context":"19.59.0","@uniformdev/context-ui":"19.59.0","@uniformdev/optimize-common":"^14.2.0","@uniformdev/optimize-cms-react":"^14.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.3.1","esbuild":"0.19.2","cross-env":"7.0.3","@types/react":"18.2.21","@sanity/form-builder":"2.36.2"},"peerDependencies":{"react":">=16.8 || 17 || 18","react-dom":">=16.8","@sanity/form-builder":">=2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sanity-plugin-uniform-optimize_19.59.0_1696288102682_0.39232627559913213","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-03-22T21:21:29.809Z","modified":"2025-09-29T19:56:58.837Z","6.0.1":"2021-03-22T21:21:30.203Z","6.0.1-beta.1":"2021-03-22T22:46:27.745Z","6.0.1-alpha.1":"2021-03-22T22:48:40.660Z","6.0.2-alpha.2":"2021-03-24T15:16:03.551Z","6.0.2-alpha.8":"2021-03-24T18:47:03.002Z","6.1.0":"2021-03-24T19:10:45.211Z","6.1.1-alpha.18":"2021-04-02T21:27:53.567Z","6.1.1-alpha.30":"2021-04-02T21:40:15.290Z","6.1.1-alpha.36":"2021-04-05T17:51:42.964Z","7.0.0":"2021-04-05T18:59:54.938Z","7.0.1":"2021-04-12T15:50:35.492Z","7.0.2-alpha.5":"2021-04-23T16:05:49.304Z","7.0.2-alpha.11":"2021-04-28T20:23:04.274Z","7.0.2-alpha.12":"2021-04-30T06:09:20.810Z","7.0.2-alpha.15":"2021-04-30T15:31:18.737Z","7.0.2-alpha.18":"2021-04-30T18:47:51.855Z","7.0.2-alpha.19":"2021-04-30T22:57:25.977Z","7.1.1-alpha.0":"2021-05-03T21:28:57.440Z","7.1.0":"2021-05-03T21:33:04.516Z","7.1.1-alpha.9":"2021-05-13T20:42:24.942Z","7.1.1-alpha.10":"2021-05-13T21:02:29.419Z","7.1.1-alpha.17":"2021-05-14T14:29:52.091Z","7.1.1-alpha.19":"2021-05-17T14:46:39.088Z","7.1.1-alpha.22":"2021-05-17T16:14:06.119Z","7.1.1-alpha.25":"2021-05-17T19:02:20.173Z","8.0.0":"2021-05-18T06:08:22.250Z","8.0.1":"2021-05-18T13:56:20.310Z","8.0.2-alpha.2":"2021-05-25T21:42:08.350Z","8.0.2-alpha.3":"2021-05-25T22:01:21.705Z","8.0.2-alpha.9":"2021-06-03T18:29:32.320Z","8.0.2-alpha.10":"2021-06-04T19:49:33.161Z","8.0.2-alpha.11":"2021-06-04T21:01:06.617Z","8.0.2-alpha.14":"2021-06-07T21:41:27.417Z","8.0.2-alpha.22":"2021-06-17T01:52:26.175Z","8.0.2-alpha.24":"2021-06-18T18:55:25.033Z","8.0.2-alpha.27":"2021-06-23T22:44:29.594Z","8.0.2-alpha.30":"2021-06-25T01:06:21.284Z","8.0.2-alpha.32":"2021-06-28T19:38:03.691Z","8.0.2-alpha.31":"2021-06-29T16:23:27.607Z","8.0.2-alpha.37":"2021-06-29T22:19:16.351Z","8.0.2-alpha.40":"2021-06-30T18:11:38.813Z","9.0.0":"2021-06-30T20:50:56.750Z","9.0.1":"2021-07-13T00:01:46.811Z","9.0.2-alpha.0":"2021-07-20T20:17:24.216Z","9.0.2-alpha.1":"2021-07-21T16:13:52.075Z","9.0.2-alpha.3":"2021-07-21T16:47:35.555Z","9.0.2-alpha.4":"2021-07-21T20:28:04.570Z","9.0.2-alpha.7":"2021-07-23T23:28:22.169Z","9.0.2-alpha.12":"2021-07-26T19:26:01.764Z","9.0.2-alpha.13":"2021-07-26T20:24:55.679Z","9.0.2-alpha.23":"2021-07-29T16:05:53.768Z","9.0.2-alpha.30":"2021-07-30T21:40:37.312Z","9.0.2-alpha.31":"2021-07-31T01:14:30.752Z","9.0.2-alpha.32":"2021-08-03T20:56:19.851Z","9.0.2-alpha.33":"2021-08-04T20:55:42.658Z","9.0.2-alpha.34":"2021-08-06T22:04:11.484Z","9.0.2-alpha.37":"2021-08-10T18:28:20.207Z","10.0.0":"2021-08-11T15:28:12.071Z","10.0.1-alpha.12":"2021-08-23T15:14:44.559Z","10.0.1-alpha.14":"2021-08-23T21:24:26.787Z","10.0.1-alpha.15":"2021-08-23T21:49:05.254Z","10.0.1-alpha.16":"2021-08-23T22:02:03.887Z","10.0.1-alpha.17":"2021-08-23T22:56:07.103Z","10.0.1-alpha.21":"2021-08-25T17:47:04.422Z","10.0.1-alpha.25":"2021-08-26T06:54:13.115Z","10.0.1-alpha.33":"2021-08-27T20:58:36.690Z","10.0.1-alpha.36":"2021-09-01T19:47:49.180Z","10.0.1-alpha.37":"2021-09-02T20:08:28.800Z","10.0.1-alpha.38":"2021-09-03T18:38:35.625Z","11.0.0":"2021-09-07T15:44:11.577Z","11.0.1-alpha.6":"2021-09-14T22:52:40.243Z","11.0.1-alpha.8":"2021-09-17T18:53:01.125Z","11.0.1-alpha.12":"2021-09-20T21:46:12.835Z","11.0.1-alpha.14":"2021-09-21T20:20:09.661Z","11.0.1-alpha.15":"2021-09-21T22:17:46.950Z","11.0.1-alpha.55":"2021-09-23T14:58:26.564Z","11.0.1-alpha.65":"2021-09-23T18:48:23.850Z","11.0.1-alpha.67":"2021-09-27T18:07:15.437Z","11.0.1-alpha.70":"2021-09-27T20:46:59.572Z","11.0.1-alpha.71":"2021-09-27T20:51:06.801Z","11.0.1-alpha.83":"2021-09-29T16:36:59.409Z","11.0.1-alpha.85":"2021-09-30T20:19:32.312Z","11.0.1-alpha.93":"2021-10-01T17:28:20.444Z","11.0.1-alpha.94":"2021-10-01T19:16:20.820Z","11.0.1-alpha.95":"2021-10-01T19:21:19.623Z","11.0.1-alpha.97":"2021-10-01T20:34:01.597Z","11.0.1-alpha.100":"2021-10-01T20:56:20.202Z","12.0.0":"2021-10-05T01:32:29.601Z","12.0.1-alpha.41":"2021-10-15T17:53:52.648Z","12.0.1-alpha.47":"2021-10-15T21:18:04.144Z","12.0.1-alpha.87":"2021-10-22T16:33:35.669Z","12.0.1-alpha.94":"2021-10-26T14:37:06.865Z","12.0.1-alpha.98":"2021-10-26T21:48:25.096Z","12.2.0":"2021-10-28T04:05:13.466Z","12.2.1-alpha.23":"2021-11-04T16:42:45.975Z","12.2.1-alpha.24":"2021-11-04T20:33:57.472Z","12.2.1-alpha.37":"2021-11-15T20:19:24.208Z","12.2.1-alpha.39":"2021-11-16T19:15:47.197Z","12.2.1-alpha.43":"2021-11-17T17:55:13.095Z","12.2.1-alpha.51":"2021-11-19T22:11:12.510Z","12.2.1-alpha.58":"2021-11-22T18:04:59.819Z","12.2.1-alpha.59":"2021-11-23T19:10:11.385Z","13.0.0":"2021-11-24T02:59:55.230Z","13.0.1-alpha.70":"2021-12-13T21:51:02.989Z","13.0.1-alpha.73":"2021-12-15T17:56:28.005Z","13.0.1-alpha.83":"2021-12-16T21:31:07.940Z","13.0.1-alpha.81":"2021-12-17T00:18:40.107Z","14.0.0":"2021-12-21T15:39:34.177Z","12.2.1-alpha.107":"2022-01-11T18:24:01.475Z","12.2.1-alpha.121":"2022-01-19T18:01:46.308Z","12.2.1-alpha.122":"2022-01-19T18:07:47.250Z","12.2.1-alpha.123":"2022-01-19T18:49:30.102Z","12.2.1-alpha.124":"2022-01-19T18:55:02.398Z","12.2.1-alpha.125":"2022-01-19T18:57:52.872Z","12.2.1-alpha.126":"2022-01-21T01:45:51.192Z","12.2.1-alpha.129":"2022-01-21T23:55:26.289Z","14.0.1-alpha.94":"2022-01-22T00:00:49.465Z","12.2.1-alpha.130":"2022-01-22T00:11:17.604Z","14.0.1-alpha.95":"2022-01-22T00:15:23.003Z","12.2.1-alpha.131":"2022-01-26T18:03:37.442Z","14.0.1-alpha.101":"2022-01-26T18:18:11.645Z","12.2.1-alpha.135":"2022-02-01T22:21:29.733Z","14.0.1-alpha.107":"2022-02-01T22:31:46.180Z","14.1.1":"2022-02-02T17:22:15.835Z","12.2.1-alpha.143":"2022-02-02T18:05:25.184Z","12.2.1-alpha.170":"2022-02-11T18:10:58.218Z","12.2.1-alpha.171":"2022-02-11T21:07:07.724Z","12.2.1-alpha.177":"2022-02-18T23:16:26.788Z","14.1.2-alpha.87":"2022-02-18T23:23:21.309Z","12.2.1-alpha.183":"2022-02-24T19:54:28.276Z","14.1.2-alpha.94":"2022-02-24T19:58:15.070Z","12.2.1-alpha.184":"2022-02-28T17:48:59.388Z","14.1.2-alpha.99":"2022-03-04T19:53:14.332Z","14.2.0":"2022-03-07T15:20:42.772Z","14.2.1-alpha.34":"2022-03-08T23:11:04.665Z","14.2.1-alpha.119":"2022-03-14T16:21:13.012Z","14.2.1-alpha.128":"2022-03-14T22:11:32.406Z","14.2.1-alpha.145":"2022-03-15T19:49:41.458Z","14.2.1-alpha.177":"2022-03-18T14:43:43.955Z","14.2.1-alpha.181":"2022-03-18T18:56:25.615Z","14.2.1-alpha.249":"2022-03-25T05:31:49.556Z","14.2.1-alpha.256":"2022-03-26T18:07:46.812Z","15.0.0":"2022-03-28T15:45:31.113Z","13.0.1-alpha.96":"2022-04-11T23:33:25.739Z","13.0.1-alpha.133":"2022-04-14T19:14:28.305Z","13.0.1-alpha.271":"2022-04-19T17:14:01.473Z","13.0.1-alpha.278":"2022-04-19T20:53:09.085Z","13.0.1-alpha.311":"2022-04-21T03:24:05.964Z","16.0.0":"2022-04-26T15:55:02.695Z","16.0.1-alpha.164":"2022-05-21T21:44:13.778Z","16.0.1-alpha.194":"2022-05-23T22:16:35.749Z","16.0.1-alpha.221":"2022-05-31T21:20:35.179Z","16.1.0":"2022-06-02T05:10:01.340Z","16.0.1-alpha.128":"2022-06-08T15:18:03.226Z","16.1.1-alpha.139":"2022-06-17T18:16:28.853Z","16.1.1-alpha.145":"2022-06-19T03:45:35.309Z","16.0.1-alpha.143":"2022-06-21T16:26:00.053Z","16.1.1-alpha.169":"2022-06-21T17:25:57.586Z","16.0.1-nuxt.146":"2022-06-21T18:37:29.633Z","16.0.1-nuxt.149":"2022-06-22T12:21:19.507Z","16.1.1-alpha.238":"2022-06-23T15:39:21.772Z","16.1.1-alpha.281":"2022-06-24T20:07:27.145Z","16.1.1-alpha.294":"2022-06-24T20:22:37.364Z","16.0.1-nuxt.156":"2022-06-27T09:37:42.399Z","16.0.1-nuxt.157":"2022-06-27T09:52:37.890Z","16.0.1-nuxt.158":"2022-06-27T11:52:27.115Z","16.0.1-nuxt.159":"2022-06-27T12:43:47.991Z","16.1.1-alpha.319":"2022-06-28T13:17:31.691Z","16.1.1-alpha.321":"2022-06-28T15:15:21.703Z","16.1.1-alpha.334":"2022-06-29T07:35:49.493Z","16.0.1-nuxt.166":"2022-06-29T10:21:17.563Z","16.2.0":"2022-06-30T14:28:27.901Z","16.2.4":"2022-07-01T18:18:25.184Z","16.0.1-nuxt.179":"2022-07-04T19:53:14.713Z","16.0.1-nuxt.181":"2022-07-05T12:15:21.782Z","16.2.1-alpha.60":"2022-07-05T19:44:06.588Z","16.2.1-alpha.106":"2022-07-07T23:18:13.161Z","16.0.1-nuxt.187":"2022-07-08T16:17:42.786Z","16.2.1-alpha.142":"2022-07-11T19:39:53.633Z","16.2.1-nuxt.249":"2022-07-19T10:10:48.446Z","16.2.1-nuxt.252":"2022-07-19T12:43:59.320Z","16.2.1-nuxt.274":"2022-07-20T16:36:28.379Z","16.2.1-alpha.320":"2022-07-23T23:30:28.675Z","16.2.1-nuxt.338":"2022-07-26T09:40:48.122Z","16.2.1-nuxt.325":"2022-07-27T12:11:47.406Z","17.0.0":"2022-08-01T15:06:45.222Z","17.1.0":"2022-08-22T16:22:37.655Z","17.1.1-alpha.151":"2022-09-05T09:57:43.352Z","17.1.1-alpha.231":"2022-09-13T15:21:32.844Z","17.2.0":"2022-09-14T16:23:06.188Z","17.2.1-alpha.134":"2022-09-27T11:41:26.323Z","17.1.1-alpha.430":"2022-09-30T10:23:53.854Z","17.1.1-alpha.452":"2022-10-03T09:18:51.035Z","17.2.1-alpha.201":"2022-10-03T17:06:40.927Z","17.2.1-alpha.215":"2022-10-04T03:04:49.759Z","17.2.1-alpha.224":"2022-10-04T18:49:32.152Z","17.1.1-alpha.498":"2022-10-05T11:11:29.616Z","17.3.0":"2022-10-05T16:52:37.614Z","17.3.1-alpha.117":"2022-10-14T20:39:11.358Z","17.3.1-alpha.146":"2022-10-18T14:13:35.994Z","17.3.1-alpha.194":"2022-10-20T22:23:07.975Z","17.1.1-alpha.752":"2022-10-25T11:22:15.344Z","17.4.0":"2022-10-27T16:25:15.477Z","17.4.1-alpha.1":"2022-10-27T19:44:49.186Z","17.4.1-alpha.34":"2022-10-31T13:17:23.117Z","17.4.1-alpha.37":"2022-10-31T15:18:52.418Z","17.4.1-alpha.0":"2022-11-10T18:00:08.124Z","17.4.1-alpha.230":"2022-11-11T23:28:19.583Z","17.4.1-alpha.250":"2022-11-15T10:50:24.621Z","17.4.1-alpha.262":"2022-11-15T18:36:41.443Z","17.5.0":"2022-11-17T17:29:27.292Z","17.5.1-alpha.6":"2022-11-18T11:33:01.086Z","17.5.1-alpha.7":"2022-11-18T11:57:09.907Z","17.5.1-alpha.105":"2022-11-28T19:59:38.629Z","17.5.1-alpha.130":"2022-11-30T14:16:58.070Z","17.5.1-alpha.135":"2022-11-30T20:18:34.835Z","17.6.0":"2022-12-01T18:34:10.009Z","17.5.1-alpha.131":"2022-12-06T18:19:37.562Z","17.6.1-alpha.60":"2022-12-08T15:38:16.657Z","17.6.1-alpha.106":"2022-12-14T13:31:27.606Z","17.7.0":"2022-12-15T18:58:36.580Z","17.7.1-alpha.34":"2022-12-16T19:47:35.083Z","17.7.1-alpha.140":"2023-01-10T17:50:19.733Z","17.7.1-alpha.167":"2023-01-11T23:06:12.594Z","17.7.1-alpha.169":"2023-01-13T08:42:36.146Z","17.7.1-alpha.172":"2023-01-13T11:04:38.097Z","17.7.1-alpha.173":"2023-01-13T11:19:06.731Z","17.7.1-alpha.174":"2023-01-13T12:30:50.044Z","17.7.1-alpha.176":"2023-01-13T13:20:08.998Z","17.7.1-alpha.181":"2023-01-16T15:01:11.398Z","17.7.1-alpha.211":"2023-01-18T15:13:50.704Z","18.0.0":"2023-01-18T17:10:16.346Z","18.0.1-alpha.3":"2023-01-20T10:51:45.254Z","18.0.1-alpha.7":"2023-01-20T15:30:50.084Z","18.1.1-alpha.11":"2023-01-24T04:56:42.333Z","18.1.2-alpha.4":"2023-01-25T12:29:13.107Z","18.1.2-alpha.7":"2023-01-26T12:11:20.022Z","18.2.0":"2023-01-26T12:39:17.852Z","18.2.1":"2023-01-26T14:54:59.433Z","18.2.2":"2023-01-26T16:05:16.656Z","18.3.1-alpha.21":"2023-01-30T18:49:03.680Z","18.3.1-alpha.22":"2023-01-30T18:50:20.445Z","18.4.0":"2023-02-01T17:58:02.151Z","18.5.0":"2023-02-02T18:48:03.950Z","18.6.0":"2023-02-06T17:29:42.719Z","18.7.0":"2023-02-07T18:10:31.828Z","18.7.1-alpha.11":"2023-02-09T12:06:28.174Z","18.8.0":"2023-02-09T17:29:53.384Z","18.8.1-alpha.1":"2023-02-10T10:34:57.938Z","18.9.0":"2023-02-13T16:42:20.317Z","18.9.1-alpha.4":"2023-02-14T13:04:06.540Z","18.10.1-alpha.7":"2023-02-15T14:20:06.665Z","18.11.0":"2023-02-15T16:19:41.811Z","18.11.1-alpha.4":"2023-02-16T13:37:39.396Z","18.11.1-alpha.5":"2023-02-16T14:56:01.340Z","18.12.0":"2023-02-16T16:27:52.436Z","18.12.1-alpha.0":"2023-02-17T09:56:04.036Z","18.12.1-alpha.2":"2023-02-17T10:52:01.237Z","18.12.1-alpha.3":"2023-02-17T16:26:03.264Z","18.12.1-alpha.18":"2023-02-21T15:41:02.735Z","18.13.1-alpha.1":"2023-02-21T16:50:28.513Z","18.14.0":"2023-02-22T17:50:48.831Z","18.15.0":"2023-02-23T18:27:56.613Z","18.16.0":"2023-02-24T16:29:22.169Z","18.16.1-alpha.6":"2023-02-27T14:28:05.428Z","18.17.1-alpha.13":"2023-02-27T22:10:57.070Z","18.18.1-alpha.12":"2023-03-01T09:19:17.912Z","18.19.0":"2023-03-07T16:30:34.942Z","18.19.1-alpha.7":"2023-03-08T16:12:30.199Z","18.20.0":"2023-03-09T18:10:37.630Z","18.22.0":"2023-03-14T17:20:30.056Z","18.21.1-alpha.4":"2023-03-14T18:43:30.413Z","18.23.1-alpha.34":"2023-03-17T09:16:12.902Z","18.24.0":"2023-03-20T17:21:21.128Z","18.24.1-alpha.1":"2023-03-20T20:26:24.038Z","18.24.1-alpha.2":"2023-03-21T12:25:51.349Z","18.23.1-alpha.25":"2023-03-21T17:39:21.747Z","18.23.1-alpha.26":"2023-03-21T18:29:10.406Z","18.26.0":"2023-03-22T20:50:56.124Z","18.25.1-alpha.16":"2023-03-23T16:17:27.995Z","18.27.0":"2023-03-23T18:32:14.364Z","18.27.1-alpha.12":"2023-03-24T16:06:30.681Z","18.27.1-alpha.23":"2023-03-26T15:22:15.977Z","18.28.0":"2023-03-27T16:10:20.574Z","18.27.1-alpha.25":"2023-03-27T22:01:28.505Z","18.29.0":"2023-03-28T17:41:23.273Z","18.30.1-alpha.15":"2023-04-03T08:13:37.474Z","18.30.1-alpha.16":"2023-04-03T10:28:13.336Z","18.30.1-alpha.17":"2023-04-03T12:56:54.061Z","18.31.0":"2023-04-03T15:54:40.109Z","18.29.2-alpha.11":"2023-04-03T18:53:42.189Z","18.31.1-alpha.22":"2023-04-04T07:29:43.714Z","18.32.1-alpha.26":"2023-04-05T12:44:44.110Z","18.33.0":"2023-04-05T16:47:58.345Z","18.33.1-alpha.7":"2023-04-05T21:44:07.706Z","18.34.0":"2023-04-06T16:02:16.752Z","18.34.1-alpha.57":"2023-04-11T14:05:26.796Z","18.35.1-alpha.12":"2023-04-11T22:17:21.522Z","18.35.1-alpha.26":"2023-04-12T17:07:06.609Z","18.35.1-alpha.27":"2023-04-12T17:22:14.313Z","18.35.1-alpha.16":"2023-04-18T13:09:34.735Z","18.35.1-alpha.17":"2023-04-18T15:25:31.125Z","18.35.1-alpha.18":"2023-04-18T16:06:50.179Z","18.38.1-alpha.10":"2023-04-19T14:52:21.085Z","18.38.2-alpha.6":"2023-04-20T10:54:07.178Z","19.0.0":"2023-04-20T18:16:47.390Z","18.35.1-alpha.22":"2023-04-21T12:17:14.058Z","19.1.1-alpha.1":"2023-04-25T16:37:25.129Z","19.1.0":"2023-04-26T07:50:58.893Z","19.2.0":"2023-04-26T16:27:41.163Z","19.3.0":"2023-05-02T15:25:02.806Z","19.5.1-alpha.22":"2023-05-05T20:00:46.933Z","19.6.0":"2023-05-08T16:39:48.244Z","19.7.0":"2023-05-09T16:46:33.307Z","19.8.0":"2023-05-11T07:49:45.353Z","19.9.2-alpha.3":"2023-05-18T15:36:39.849Z","19.10.0":"2023-05-18T17:41:44.526Z","19.11.0":"2023-05-22T17:09:34.620Z","19.12.0":"2023-05-24T16:50:41.132Z","19.13.0":"2023-05-25T15:47:15.225Z","19.14.1-alpha.1":"2023-05-30T15:18:22.043Z","19.14.0":"2023-05-30T15:48:55.625Z","19.14.1":"2023-05-31T16:42:48.193Z","19.14.1-alpha.11":"2023-05-31T17:59:57.026Z","19.14.2-alpha.1":"2023-05-31T18:10:25.246Z","19.14.1-alpha.12":"2023-05-31T18:56:21.845Z","19.14.1-alpha.13":"2023-05-31T20:10:56.191Z","19.14.2-alpha.11":"2023-06-01T12:05:20.017Z","19.15.0":"2023-06-01T15:53:38.162Z","19.17.0":"2023-06-05T15:59:51.784Z","19.19.0":"2023-06-08T09:19:11.062Z","19.20.0":"2023-06-08T20:28:22.925Z","19.21.0":"2023-06-12T15:51:29.241Z","19.20.1-alpha.32":"2023-06-13T11:27:34.131Z","19.22.0":"2023-06-13T15:49:40.350Z","19.22.1-alpha.8":"2023-06-14T13:58:20.171Z","19.23.0":"2023-06-14T16:10:35.731Z","19.23.1-alpha.12":"2023-06-15T15:31:55.999Z","19.24.0":"2023-06-15T15:55:01.813Z","19.23.1-alpha.13":"2023-06-15T17:14:53.148Z","19.25.0":"2023-06-19T16:08:26.773Z","19.25.1-alpha.8":"2023-06-20T12:13:23.124Z","19.26.0":"2023-06-20T18:45:17.125Z","19.27.0":"2023-06-21T16:42:24.103Z","19.27.1-alpha.3":"2023-06-21T17:02:55.647Z","19.29.0":"2023-06-27T16:55:56.076Z","19.29.1-alpha.19":"2023-06-28T15:24:40.830Z","19.29.1-alpha.21":"2023-06-28T17:19:20.022Z","19.29.1-alpha.24":"2023-06-28T18:46:05.096Z","19.30.0":"2023-06-28T20:51:56.057Z","19.30.1-alpha.0":"2023-06-28T23:03:31.261Z","19.30.1-alpha.5":"2023-06-29T13:15:16.774Z","19.33.0":"2023-07-06T15:07:36.081Z","19.34.0":"2023-07-10T18:08:55.181Z","19.35.1-alpha.0":"2023-07-11T15:05:03.763Z","19.32.1-alpha.4":"2023-07-12T09:04:59.971Z","19.35.1-alpha.8":"2023-07-12T14:48:43.361Z","19.33.1-alpha.10":"2023-07-12T15:37:21.882Z","19.35.1":"2023-07-13T08:17:31.273Z","19.33.1-alpha.15":"2023-07-13T21:07:30.604Z","19.35.2":"2023-07-14T09:37:14.037Z","19.35.3-alpha.82":"2023-07-25T11:18:49.639Z","19.36.0":"2023-07-26T16:11:52.066Z","19.36.1-alpha.7":"2023-07-27T13:24:26.844Z","19.37.0":"2023-07-27T16:00:56.037Z","19.36.1-alpha.0":"2023-07-27T18:44:01.419Z","19.36.1-alpha.4":"2023-07-28T15:06:29.769Z","19.37.1":"2023-07-31T16:34:22.230Z","19.36.1-alpha.61":"2023-07-31T18:23:20.564Z","19.37.1-alpha.4":"2023-08-01T18:48:13.068Z","19.38.2":"2023-08-03T17:09:58.011Z","19.38.3-alpha.70":"2023-08-08T12:58:07.601Z","19.39.0":"2023-08-08T18:36:51.006Z","19.40.0":"2023-08-09T15:11:07.017Z","19.39.1-alpha.10":"2023-08-09T15:35:50.186Z","19.40.1-alpha.16":"2023-08-10T09:09:43.804Z","19.41.0":"2023-08-10T19:06:25.170Z","19.42.0":"2023-08-14T16:32:14.518Z","19.42.1-alpha.6":"2023-08-15T13:36:08.478Z","19.42.1-alpha.7":"2023-08-15T20:14:46.830Z","19.45.0":"2023-08-17T17:19:20.739Z","19.45.1":"2023-08-21T19:40:45.953Z","19.45.2-alpha.6":"2023-08-22T08:44:16.095Z","19.45.2-alpha.7":"2023-08-22T11:12:00.531Z","19.46.0":"2023-08-22T16:27:48.021Z","19.38.3-alpha.78":"2023-08-23T11:12:53.655Z","19.46.1-alpha.8":"2023-08-23T12:15:51.038Z","19.45.2-alpha.8":"2023-08-23T14:23:39.489Z","19.47.0":"2023-08-23T15:17:59.856Z","19.47.1-alpha.3":"2023-08-23T16:57:21.367Z","19.48.0":"2023-08-24T15:30:35.925Z","19.48.1-alpha.0":"2023-08-24T16:06:09.288Z","19.48.1-alpha.8":"2023-08-25T13:56:37.442Z","19.49.0":"2023-08-28T16:27:49.211Z","19.49.1":"2023-08-29T16:13:47.766Z","19.50.0":"2023-09-04T16:15:01.988Z","19.47.1-alpha.11":"2023-09-05T19:38:55.870Z","19.51.0":"2023-09-06T16:32:17.552Z","19.50.2-alpha.11":"2023-09-06T17:18:34.461Z","19.51.1-alpha.10":"2023-09-07T14:41:03.333Z","19.50.2-alpha.45":"2023-09-07T18:15:05.136Z","19.53.0":"2023-09-12T16:50:27.111Z","19.54.0":"2023-09-13T15:47:31.381Z","19.54.2-alpha.3":"2023-09-14T17:23:42.018Z","19.53.1-alpha.41":"2023-09-14T20:07:32.196Z","19.51.1-alpha.1":"2023-09-15T10:43:50.701Z","19.54.2-alpha.10":"2023-09-15T16:34:52.556Z","19.54.2":"2023-09-18T15:48:27.540Z","19.54.3-alpha.1":"2023-09-18T20:45:46.479Z","19.54.3-alpha.2":"2023-09-18T22:23:46.053Z","19.54.3-alpha.3":"2023-09-18T22:57:44.673Z","19.54.2-alpha.12":"2023-09-20T10:26:13.346Z","19.54.3-alpha.5":"2023-09-20T13:51:41.018Z","19.55.1-alpha.8":"2023-09-20T14:34:37.191Z","19.54.2-alpha.13":"2023-09-21T07:33:43.809Z","19.56.1-alpha.5":"2023-09-21T16:45:44.258Z","19.56.0":"2023-09-21T17:07:33.802Z","19.49.4-alpha.67":"2023-09-21T18:56:51.046Z","19.56.1-alpha.9":"2023-09-22T15:00:55.937Z","19.56.1-alpha.10":"2023-09-22T16:36:24.293Z","19.57.0":"2023-09-25T17:11:32.665Z","19.56.1-alpha.22":"2023-09-25T20:42:44.737Z","19.51.1-alpha.22":"2023-09-26T14:23:08.353Z","19.58.0":"2023-09-26T15:51:40.628Z","19.51.1-alpha.26":"2023-09-26T18:50:12.152Z","19.58.1-alpha.16":"2023-09-27T23:12:55.550Z","19.58.1":"2023-09-28T15:38:31.879Z","19.58.2-alpha.0":"2023-09-28T19:20:28.052Z","19.58.2-alpha.11":"2023-10-02T14:28:32.760Z","19.59.0":"2023-10-02T23:08:22.930Z"},"license":"SEE LICENSE IN LICENSE.txt","description":"Sanity plugin for Uniform Optimize","maintainers":[{"email":"alexs@uniform.dev","name":"drolexan"},{"email":"alen.pelin@gmail.com","name":"alenpelin"},{"email":"kamsar@gmail.com","name":"kamsar"},{"email":"adaml@uniform.dev","name":"adamluniform"},{"email":"antesepic@protonmail.com","name":"originalexe"},{"email":"artemm@uniform.dev","name":"m1r1k"},{"email":"jakube@uniform.dev","name":"jakub-uniform"},{"email":"serhiio@uniform.dev","name":"serhiiouniformdev"}],"readme":"# Development notes\n\n## Build\n* `pnpm build` - builds icons, JS modules, and CSS.\n\n## CSS\nThis package uses Tailwind CSS. Run `pnpm build:css` to compile the CSS file, which will run PostCSS with the Tailwind plugin against all `.css` files in the `assets` folder. The compiled CSS will be output to `dist/assets/[filename].css`.\n\nWhen Sanity Studio imports the JS modules exported by our plugin, the Sanity Studio bundler will also automatically import any CSS files that our code imports, e.g. `import '../dist/assets/optimize.css';`\n\n> NOTE: be sure to set NODE_ENV=production if you want PostCSS to purge unused CSS.\n\n## Icons\nIf you want to import SVG icons as components in your code, do the following:\n\n* Add the the SVG icon to the `src/assets` folder\n* Run `pnpm build:icons`\n\nThis will generate React components for every SVG icon in the `src/assets` folder. You can then import the icons in other React components, e.g. `import MyIcon from '../assets/MyIcon';`.\n\nIdeally, we could have `import MyIcon from '../assets/my-icon.svg` in our code and the SVG icon would automatically be converted to a React component at build time and our source code would be transformed to import the component. However, we're not using a bundler so it becomes challenging because we can't \"hook\" into the TypeScript build/transpile process. We could introduce a build tool like `ESBuild` or `@babel/typescript` and stop using `tsc`, but those options more tooling/overhead. We could also potentially use something like `ttypescript` (https://github.com/cevek/ttypescript) to create babel-esque plugins for TypeScript, but who knows how reliable that is and if we'd run into any issues in CI/testing.\n\nSo, for now, icons are somewhat of a manual process.\n\n## CommonJS\n\nNo CommonJS modules are exported from this package as the package is intended to be consumed by Sanity Studio and not used during SSR.\n\n## Why `esbuild`?\n\nSanity does not transpile modules imported from `node_modules`, so if you have a dependency on any packages in the `node_modules` that _need_ to be transpiled to work in Sanity's environment, you are not in luck.\n\nTherefore, we use `esbuild` to build _and_ bundle our plugin so that all relevant dependencies are included in the bundle and transpiled accordingly. TypeScript `tsc` does not have bundling capabilities, but we still use it for type-checking during the build process, because `esbuild` does not perform type-checking.\n","readmeFilename":"readme.md"}