{"_id":"@by-association-only/vite-plugin-shopify","_rev":"5-9af6bd5bb1274c21154751dd9ee20f3f","name":"@by-association-only/vite-plugin-shopify","dist-tags":{"latest":"2.2.0"},"versions":{"1.0.0":{"name":"@by-association-only/vite-plugin-shopify","version":"1.0.0","keywords":["vite","shopify","vite-plugin"],"author":{"name":"BAO Agency"},"license":"MIT","_id":"@by-association-only/vite-plugin-shopify@1.0.0","maintainers":[{"name":"dangamble","email":"dan@bao.agency"}],"dist":{"shasum":"730c0f23099996d06f6178387b55cc848d1b904e","tarball":"https://registry.npmjs.org/@by-association-only/vite-plugin-shopify/-/vite-plugin-shopify-1.0.0.tgz","fileCount":5,"integrity":"sha512-LATjlXCkfteRtxT91rhMIcewggxXwmHlKQB+NH8XCnKKecLJvcuLXOvX5Mbp/Yveop78kIJZwxqeCu+CAsVVQA==","signatures":[{"sig":"MEUCIQCr5tznwnW6TtZFKBVWqGlmnNimfK2ySxHmCGxNsuLTXAIgZLPvwwsVpnaiyWC3IEtDkxVi04E1cfl4BvMD6T/ZaIY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtXNaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoTNw/+PLM4r3QpQfjZfYGL1f5GJMikZzQw/exjJ2QZXHIO7SGSNHuS\r\neO5IbMMHN5Dhqxk/wRTUnqnIoIfzIWxf9G+M+MNyHjgWVhSsB7FQOcrgRID/\r\nY+HNIhtNqzGFVYinYgMSOqwU8P2uoC+AUed089kHYkEN0AYt2yoz3IDJTkMx\r\nDAlw+b/TNKyaw3VRCuekSPwSlQY5dJKYChJCoN3wAEjKBOY+AeV+g8/cXO24\r\nBRmNj1AbiQaN0q88yI+OP8ugEN+a6a4yGdbnvovegaLNmfzNlYR9i23cEUBH\r\n0OxWHncBxI4WVUaL3NeYuHQAdEr/QUQWS8m8gYHravXHlVbBz4qZGtCKkLFS\r\nuB8D2Whyts8+byR/Bj6/705MwMNV9L73Wm4OtScKqcfwZR87nbMRAx6hUIwO\r\n65zo584ir+TLYIhcsQX2k1mPZNyAT+mpXuOXq3e+nia/ZgqX5Da53MBHykap\r\n4CqGwPrWV+D7RyOFwFIgTCYn4YL1fBrDJJQJVM6a+cIe+FkshENhljEvMdUP\r\naBRLKSxIVBNh8ZmYFBa+JhIgt+XLCxv7Y1Kaduw2H5dgkVDXzmJ54g3kX8h4\r\nyaKbwP040JDqwUfyx5dsdDzQIXJxaZGnqxuBFBUUbZV6Vw7XkYk/7Wfxib7z\r\nn567vzZl6e/43Jo/g0sC814BWXiNyyc2wL4=\r\n=8RP3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:by-association-only-vite-plugin-shopify-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"private":false,"scripts":{"dev":"npm run build -- --watch","lint":"eslint .","test":"vitest run","build":"tsup src/index.ts --dts --format cjs,esm","watch":"tsup src/index.ts --dts --format cjs,esm --watch"},"_npmUser":{"name":"dangamble","email":"dan@bao.agency"},"_resolved":"/private/var/folders/dp/68hsqqtx65z5sztt5bmcr4vr0000gn/T/11234902eacf6b29d179aa044532b997/by-association-only-vite-plugin-shopify-1.0.0.tgz","_integrity":"sha512-LATjlXCkfteRtxT91rhMIcewggxXwmHlKQB+NH8XCnKKecLJvcuLXOvX5Mbp/Yveop78kIJZwxqeCu+CAsVVQA==","_npmVersion":"9.2.0","description":"Vite plugin providing integration for Shopify themes","directories":{},"_nodeVersion":"19.3.0","dependencies":{"debug":"^4.3.4","fast-glob":"^3.2.11"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^0.25.7","tsconfig":"0.0.0","vite-plugin-shopify-modules":"^0.0.4"},"peerDependencies":{"vite":"^4.0.4","vite-plugin-shopify-modules":"^0.0.4"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-shopify_1.0.0_1672835930195_0.11060984038765476","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@by-association-only/vite-plugin-shopify","version":"2.0.0","keywords":["vite","shopify","vite-plugin"],"author":{"name":"BAO Agency"},"license":"MIT","_id":"@by-association-only/vite-plugin-shopify@2.0.0","maintainers":[{"name":"dangamble","email":"dan@bao.agency"}],"dist":{"shasum":"5549fc47bbc018ec90b5dbfe2040c63a55ce8372","tarball":"https://registry.npmjs.org/@by-association-only/vite-plugin-shopify/-/vite-plugin-shopify-2.0.0.tgz","fileCount":5,"integrity":"sha512-tJ3TxizaMk4Xn4MlP1CW/N1Sxm1gqII3MoW5UBE5olfEYFf+u1oHTYnGbC2s6EGgfmIdNJ5yi/LS5qvwsa3WyQ==","signatures":[{"sig":"MEQCIHB5Kv9RcBZHWjsjOKaAuN+vm/2jTXuFGZlORDjLPyGXAiAzJQ/k89jtXedREWl733OCyDBxr7ORWXltyvSnpik/WQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28189,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvrrVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrvww/+I577GdAqcVWUVD+rqKncACsIDT+kK1Blig4bqnf098fMHnFH\r\ngIMtwNNx22wjN4E9MZ9CrfKzFSSmBnFBZ2muUgYGCel9r4oJG4h+x8oGTMkg\r\nIon2OHHBS9HRViDLEA+Fuq82VGMuo7To8Y8jKst3rp4dw9hFDiJMK8Q7zaeB\r\nmqf/ManMxcsPV7cC3C7C/pH5AvOtZzSsE1LV+/oYFUdOzzymMpHKOL7in+Ci\r\nsEJeCdHoHx+eWog+N00DSHeGzZN2r3dz38naPvbMjhv1kuaCSMMap8rQYX0R\r\nWVzekmzpxD+uUygc1tGGZiRu1PTV1wy+AlFaGu7PVpdhrUeilQ5VnF8FROGI\r\nstq/DbKNh6XrxNR6ElikxxX8drNJi922y33/VnOn3LBLN8MdciBGEZ9MfnSF\r\neJHgT4WpHys0VNiGl1NAGx0Yp+3nbJE5bMRh8lKG637/DsvsRp9MdEu9wsmU\r\nPPbZ3PVuu9yg2NQgUZRCeSYElg+V9AfpyhxzWfsytnlisOJ3N2noHxuJn48Z\r\nLMT0HHEAHlP4JQ3JOFi59dmCfRoCfm/ZnqI3tXvi5ekYIeObLDnhlvaHizlz\r\nCP64mF86bwrSwQ25JXpu3SmW47zQkprD/RXY2EYqW6A8dfv7FQ6jPGzUbNiY\r\ny3Q+cNErYGnzVqXWnB1A/rQysirUuqNr/2M=\r\n=gIOz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:by-association-only-vite-plugin-shopify-2.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"private":false,"scripts":{"dev":"npm run build -- --watch","lint":"eslint **/*.{t,j}s --fix","test":"vitest run","build":"tsup src/index.ts --dts --format cjs,esm","watch":"tsup src/index.ts --dts --format cjs,esm --watch"},"_npmUser":{"name":"dangamble","email":"dan@bao.agency"},"_resolved":"/private/var/folders/dp/68hsqqtx65z5sztt5bmcr4vr0000gn/T/0d512d1fce177942a02a78a766f897f3/by-association-only-vite-plugin-shopify-2.0.0.tgz","_integrity":"sha512-tJ3TxizaMk4Xn4MlP1CW/N1Sxm1gqII3MoW5UBE5olfEYFf+u1oHTYnGbC2s6EGgfmIdNJ5yi/LS5qvwsa3WyQ==","_npmVersion":"9.2.0","description":"Vite plugin providing integration for Shopify themes","directories":{},"_nodeVersion":"19.3.0","dependencies":{"debug":"^4.3.4","fast-glob":"^3.2.11"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^0.25.7","tsconfig":"0.0.0","@by-association-only/vite-plugin-shopify-modules":"^1.1.0"},"peerDependencies":{"vite":"^4.0.4","@by-association-only/vite-plugin-shopify-modules":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-shopify_2.0.0_1673444052683_0.31108428890161965","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@by-association-only/vite-plugin-shopify","version":"2.1.0","keywords":["vite","shopify","vite-plugin"],"author":{"name":"BAO Agency"},"license":"MIT","_id":"@by-association-only/vite-plugin-shopify@2.1.0","maintainers":[{"name":"dangamble","email":"dan@bao.agency"}],"dist":{"shasum":"0c8958d51c91eadff058ffb094d02716ddeb6979","tarball":"https://registry.npmjs.org/@by-association-only/vite-plugin-shopify/-/vite-plugin-shopify-2.1.0.tgz","fileCount":6,"integrity":"sha512-rEXLN4B5wu946pIbwdgbgOU5DT/VkOKtNdZOkyQ2Zf2bSGN1utCLXaMUMvA2aKI5u/rrSAofNgScQBb13YEI3w==","signatures":[{"sig":"MEUCIQDAXcz8l3yfRTaR5sY4d/Pac6GkhfaN96yX8PyKqPbWugIgECCq8Ahj9vpBtWSGnovPuELH9Iamqea+pBg2KRiFX2I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41158,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkP8j2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoOZA/5AKtCZrdKjbSIcpA3uArJnlbW3eu6w5DF+ERWdylXDAH3qhBM\r\npZ6FxDJWeTzDEWeZmGRqIh1UTOoCPc9NdotiESVIaxMgtYbeUDrxZSv/1HOV\r\nJuWDKZPUlgfhB/HNmE6Gt6GA10OcAFnMFyK0WKMlvIxrGwTT/C54AXuah3CA\r\nS715ffq7PDozbV/4AhvO9xRtFntlZHa9kan44TBnGkSTLuGnCVaan5RcM3xV\r\nBCoL/NpvS5PB8aEY1/c5tPSKgDFgjPlZdhbK3BRSR1Jp8K50/IeG2opugA/e\r\nVDQ0Uf2K8SfjlNlxcbicqC4TisQhqzGp0ycPhJkznrVjmmK4J1vrgc7OOsbd\r\n5zITUmApj12DbUYlAG2z3tx79YU9JkBMOicM3lFqnrvsCLwaqcJPjkSUb5oB\r\n94ef0igMvGyB0u7kaQ9WiOpGsL5meeNkein8aIT75vsqp65rZYGtmfpEkgYb\r\nsPqpN5Vle8rqECNbN/40w+TGLC8PC6vu55Uz1QPtfVQsUlW50cMHLQzICbJs\r\nwSiAWmxqFAY9o4GvPt1zhM995SyoyV5mtmbua02h3dbsLSQ5CWQ4+aJcoK/q\r\nMq9iuhoTPoRbiPuKkI3nUUQQLMF50aKXMGtT8JI3lm73sNQoqwzsX10YCQ71\r\nnskZgu0PVSPFDxu2skXxggQAOj9raMNiKLs=\r\n=9fIg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:by-association-only-vite-plugin-shopify-2.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"private":false,"scripts":{"dev":"npm run build -- --watch","lint":"eslint **/*.{t,j}s --fix","test":"vitest run","build":"tsup src/index.ts --dts --format cjs,esm","watch":"tsup src/index.ts --dts --format cjs,esm --watch"},"_npmUser":{"name":"dangamble","email":"dan@bao.agency"},"_resolved":"/private/var/folders/dp/68hsqqtx65z5sztt5bmcr4vr0000gn/T/cfc46e56bf541e5a26e93b6988823d4a/by-association-only-vite-plugin-shopify-2.1.0.tgz","_integrity":"sha512-rEXLN4B5wu946pIbwdgbgOU5DT/VkOKtNdZOkyQ2Zf2bSGN1utCLXaMUMvA2aKI5u/rrSAofNgScQBb13YEI3w==","_npmVersion":"8.19.3","description":"Vite plugin providing integration for Shopify themes","directories":{},"_nodeVersion":"18.13.0","dependencies":{"ip":"^1.1.8","debug":"^4.3.4","fast-glob":"^3.2.11","vite-plugin-mkcert":"^1.14.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^0.25.7","tsconfig":"0.0.0","@by-association-only/vite-plugin-shopify-modules":"^1.1.0"},"peerDependencies":{"vite":"^4.0.4","@by-association-only/vite-plugin-shopify-modules":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-shopify_2.1.0_1681901813847_0.49590434808036243","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"@by-association-only/vite-plugin-shopify","version":"2.1.1","keywords":["vite","shopify","vite-plugin"],"author":{"name":"BAO Agency"},"license":"MIT","_id":"@by-association-only/vite-plugin-shopify@2.1.1","maintainers":[{"name":"dangamble","email":"dan@bao.agency"}],"dist":{"shasum":"5bcb677709debe9fc67aee10438af2f145ac4a9f","tarball":"https://registry.npmjs.org/@by-association-only/vite-plugin-shopify/-/vite-plugin-shopify-2.1.1.tgz","fileCount":6,"integrity":"sha512-tTF1da6YoBWnZGaPMoGmVF7e26WdzNqN+v1rHcjut5yctTu4d0Sl/6H7r1kKZY+WnKFIlyTKbktWRHQoGqd+LA==","signatures":[{"sig":"MEUCIQDPziiViEsLDlxUGQkecfGs/BCJCu/2UOMGDcYKMMYTwwIgNNAxKuqxGKjT1GSY+3B2H28uTgaxBIj6ITSZD2yvuTk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41098,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQVGwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqckw/+KD4tSjffG4k9G6uEVW8qnJfuTEpQWITITQQgOW379P4zN6h4\r\nKCEF18dylQJS6U8IUoA328T6PQffMwGVFWNpfo7xPJtYnyC99/f7itmiBRTK\r\nQzaTM74H6H2xYCMtRBaYr4ygJtEcD4LxOdxioChOg+rAwh1CTe2ENbbMcB1P\r\nlZSRvLHJJLEKfGh4qnfPofRIs/A3KRViDdkpKUpwGKBSNfJpO7XDunvUZwz4\r\nFSqY9qr2QV8zyM9s5ee6noDkMI1SltYHfghwVi4L5iPS+ngl4bLHYzW/kS7f\r\nE6Qp9dcREZiqko3yFUAZ8CJnvZHgdzwIEFTMlaVUj8KgREn4oF62Ve6fqX9l\r\neVWX8WyD1HMziCbPimiJAhDIXScyXs7sLKEMHzvImQAowa/NtVIn1fVyg/a/\r\n3emKotJ0sqRksRalPls18m96oqqIvI8LskVRL3EAPzS3cP471Kg0Q2e9GKpf\r\nM8G4GCqh8TG8JgpARgexkupvBMKvFwSimdFrL+YffpnZk6VJChzhl3XDONHq\r\nCXxrAHcyH3L5sNNFBjoG2xvCigq07Pbe6PhesRetjK0x6dXqskN0YxVnFLL3\r\n5WfdocmegRqzctK63QOB0pjsOYNWgGTZ951+oUaZ3pxaxgbCK8VRdd3hp0yb\r\nHKs5WNM0k4ceLoTz5PPF/+4P0URJZh5NYUM=\r\n=CnGy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:by-association-only-vite-plugin-shopify-2.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"private":false,"scripts":{"dev":"npm run build -- --watch","lint":"eslint **/*.{t,j}s --fix","test":"vitest run","build":"tsup src/index.ts --dts --format cjs,esm","watch":"tsup src/index.ts --dts --format cjs,esm --watch"},"_npmUser":{"name":"dangamble","email":"dan@bao.agency"},"_resolved":"/private/var/folders/dp/68hsqqtx65z5sztt5bmcr4vr0000gn/T/3c23cae7d7518a81323f2538444c8da0/by-association-only-vite-plugin-shopify-2.1.1.tgz","_integrity":"sha512-tTF1da6YoBWnZGaPMoGmVF7e26WdzNqN+v1rHcjut5yctTu4d0Sl/6H7r1kKZY+WnKFIlyTKbktWRHQoGqd+LA==","_npmVersion":"8.19.3","description":"Vite plugin providing integration for Shopify themes","directories":{},"_nodeVersion":"18.13.0","dependencies":{"ip":"^1.1.8","debug":"^4.3.4","fast-glob":"^3.2.11","vite-plugin-mkcert":"^1.14.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^0.25.7","tsconfig":"0.0.0","@by-association-only/vite-plugin-shopify-modules":"^1.1.0"},"peerDependencies":{"vite":"^4.0.4","@by-association-only/vite-plugin-shopify-modules":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-shopify_2.1.1_1682002351991_0.6091219939009096","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@by-association-only/vite-plugin-shopify","version":"2.2.0","keywords":["vite","shopify","vite-plugin"],"author":{"name":"BAO Agency"},"license":"MIT","_id":"@by-association-only/vite-plugin-shopify@2.2.0","maintainers":[{"name":"dangamble","email":"dan@bao.agency"}],"dist":{"shasum":"6e29b500d41a129cd1881d4b4d749e1ad040003b","tarball":"https://registry.npmjs.org/@by-association-only/vite-plugin-shopify/-/vite-plugin-shopify-2.2.0.tgz","fileCount":6,"integrity":"sha512-03mX6vfqOdxr+pKxiIgcvfn3P23KJtb64nTtBLrbmR5rzLPYoLaU9GpENrxclW2ouhF43jDRtk6Skw4u6Wwahw==","signatures":[{"sig":"MEUCIQCfxICIcT4d44/qR0MvxkgxjRdGj4MwQtyLf1pc7EoHGwIgJ92acDK/Q9rT1u1N2ET3XLZlLldTKGkur51acCVoG5A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkU6bQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq2uw//YvGXNZYTjGiWeDB2LSCDb1hZ2kUa66ykgA/zBnauQA5CYk8p\r\nwBAXzAFvHunaz4dEx/jdOiuTIAqSK58rYRBa0RAICTgVbqMZjpgFIcid4ZdI\r\nwVslfUKCyqurJANswJPO9aGtwqPgGFkQpr8/RUI3dOMuQj2jLAMxdDXtgTEA\r\n4Q7wJ2r/EVhv6HdGqCyxSmLnB9r6NU5AFVz4amO1OaFo4V8Q4KyEXE0BX22G\r\nhC5zfzbV/44HFO0B0jCpo3YSFT56785Z/6EX8oRS94Neeb2QPIC5+qL427GP\r\nfDdqvPkgjR7hSxJaccOIByN/jXqGRC4Vu7+rjTeQrPzHTu5M9KaCmCbLQGip\r\nEOtbmxSXaDP1Xhh7WixObwWCqx5VqQAQQ89RCAnrrbdZVIkv31sZX3W44UPS\r\nQ3lKcSfVrw3rPo5TFM0vOm7Q00uT6TYmkerMCxTN+GowsTnLDYGrRRpk9Q2n\r\nWNfmCS07iyJ2YmV41ouQ6q9FQPuwShWp2tXwEt9Vs2r/qkOUI3Nv1QZu+XzS\r\nKSzed+yBK0jowCBmi2cfQhPfVXFBDSscL7P+3GI4xwh8mj0XIPZjrPdp6R65\r\n16vxc8VHNH6Q6pa4GcquJdZadZzoKJRPkkkm1gfKm8bKkRRSJEoFgfDJum5u\r\ngElB6hrXFXbXvh4ghrJ/rtETlgLJX/TTaNE=\r\n=B1Lp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:by-association-only-vite-plugin-shopify-2.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"private":false,"scripts":{"dev":"npm run build -- --watch","lint":"eslint **/*.{t,j}s --fix","test":"vitest run","build":"tsup src/index.ts --dts --format cjs,esm","watch":"tsup src/index.ts --dts --format cjs,esm --watch"},"_npmUser":{"name":"dangamble","email":"dan@bao.agency"},"_resolved":"/private/var/folders/dp/68hsqqtx65z5sztt5bmcr4vr0000gn/T/9228439aa5f6ada8171d49cea0ca9382/by-association-only-vite-plugin-shopify-2.2.0.tgz","_integrity":"sha512-03mX6vfqOdxr+pKxiIgcvfn3P23KJtb64nTtBLrbmR5rzLPYoLaU9GpENrxclW2ouhF43jDRtk6Skw4u6Wwahw==","_npmVersion":"8.19.3","description":"Vite plugin providing integration for Shopify themes","directories":{},"_nodeVersion":"18.13.0","dependencies":{"ip":"^1.1.8","debug":"^4.3.4","fast-glob":"^3.2.11","vite-plugin-mkcert":"^1.14.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^0.25.7","tsconfig":"0.0.0","@by-association-only/vite-plugin-shopify-modules":"^1.1.0"},"peerDependencies":{"vite":"^4.0.4","@by-association-only/vite-plugin-shopify-modules":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-shopify_2.2.0_1683203792543_0.6123382257423775","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-01-04T12:38:50.096Z","modified":"2025-02-19T09:06:15.421Z","1.0.0":"2023-01-04T12:38:50.324Z","2.0.0":"2023-01-11T13:34:12.994Z","2.1.0":"2023-04-19T10:56:53.996Z","2.1.1":"2023-04-20T14:52:32.203Z","2.2.0":"2023-05-04T12:36:32.727Z"},"author":{"name":"BAO Agency"},"license":"MIT","keywords":["vite","shopify","vite-plugin"],"description":"Vite plugin providing integration for Shopify themes","maintainers":[{"email":"dan@bao.agency","name":"dangamble"},{"email":"m.p.england@gmail.com","name":"eng9911"}],"readme":"\\# vite-plugin-shopify\n\n`vite-plugin-shopify` aims to integrate Vite as seamlessly as possible with Shopify themes for a best-in-class developer experience.\n\n## Features\n\n- ⚡️ [Everything Vite provides](https://vitejs.dev/guide/features.html), plus:\n- 🤖 Automatic entrypoint detection\n- 🏷 Smart generation of `script` and `link` tags for entrypoints\n- 🌎 Full support for assets served from Shopify CDN\n- 👌 Zero-Config\n\n## Install\n\n```bash\nnpm i vite-plugin-shopify -D\n\n# yarn\nyarn add vite-plugin-shopify -D\n\n# pnpm\npnpm add vite-plugin-shopify -D\n```\n\n## Usage\n\n### Vite Plugin\n\nAdd the `shopify` plugin to `vite.config.js` / `vite.config.ts`:\n\n```ts\nimport viteShopify from \"vite-plugin-shopify\";\n\nexport default {\n  plugins: [\n    /* Plugin options are not required, defaults shown */\n    viteShopify({\n      // Root path to your Shopify theme directory (location of snippets, sections, templates, etc.)\n      themeRoot: \"./\",\n      // Front-end source code directory\n      sourceCodeDir: \"frontend\",\n      // Front-end entry points directory\n      entrypointsDir: \"frontend/entrypoints\",\n      // Additional files to use as entry points (accepts an array of file paths or glob patterns)\n      additionalEntrypoints: []\n    })\n  ]\n};\n```\n\nYou can customize this file as needed. Check Vite's [plugins](https://vitejs.dev/plugins/) and [config reference](https://vitejs.dev/config/) for more info.\n\n### File structure\n\nThe Shopify Vite plugin treats each script and stylesheet in the entrypoints directory (`frontend/entrypoints` by default) as an input for the Vite build. You can organize the rest of your frontend code however you'd like. For example:\n\n```bash\nfrontend\n  ├── entrypoints\n  │   │ # Vite entry point files\n  │   │── theme.ts\n  │   └── theme.scss\n  │ # Additional frontend source files to be imported from entrypoints\n  │── components\n  │   └── App.vue\n  │── stylesheets\n  │   └── my_styles.css\n  └── images\n      └── logo.svg\n```\n\n- Only script and stylesheet files are supported as entrypoints.\n- You can customize where `vite-plugin-shopify` loads entrypoints by specifying a value for the `entrypointsDir` plugin option.\n\n### Adding scripts and styles to your theme\n\nIn your `<head>` element add this\n\n```liquid\n{%- render 'vite-client' -%}\n```\n\n- `vite-plugin-shopify` will generate `vite-client.liquid`.\n- This will add a `<script>` tag to load the ViteJS HMR client.\n- This will only render if the dev server is running.\n\nThen render the `vite-tag` snippet (in your `<head>` element too) to insert tags for loading assets from a given entrypoint file:\n\n```liquid\n{% render 'vite-tag' with 'theme.ts' %}\n```\n\n- `vite-plugin-shopify` will generate new versions of `vite-tag.liquid` during development and on each production build.\n- The `vite-tag` snippet will render HTML tags to load the provided entrypoint.\n- Script tags are generated with a `type=\"module\"` and `crossorigin` attributes like Vite does by default.\n- In production mode, the `asset_url` filter is used to load resources from the Shopify CDN.\n- In production mode, the `vite-tag` snippet will automatically render separate tags for loading stylesheets and preloading imported JS chunks.\n- When running the development server, these tags are omitted, as Vite will load the dependencies as separate modules.\n\n```txt\n{% render 'vite-tag' with 'theme.ts' %}\n\n# HTML output (development)\n<script src=\"http://localhost:5173/theme.ts\" type=\"module\"></script>\n\n# HTML output (production)\n<link rel=\"stylesheet\" href=\"{{ 'theme.4d95c99b.css' | asset_url }}\">\n<script src=\"{{ 'theme.3b623fca.js' | asset_url }}\" type=\"module\" crossorigin=\"anonymous\"></script>\n<link href=\"{{ 'lodash.13b0d649.js' | asset_url }}\" rel=\"modulepreload\" as=\"script\" crossorigin=\"anonymous\">\n```\n\n- In development mode, assets are loaded from the Vite development server host.\n- In production mode, assets are loaded from the Shopify CDN using the `asset_url` filter and a relative base path.\n\nLoading `additionalEntrypoints`:\n\n```txt\n# Relative to sourceCodeDir\n{%- render 'vite-tag' with '@/foo.ts' -%}\n{%- render 'vite-tag' with '~/foo.ts' -%}\n\n# Relative to themeRoot\n{%- render 'vite-tag' with '/resources/bar.ts' -%} # leading slash is required\n```\n\nPreloading stylesheets:\n\n```\n{%- render 'vite-tag' with 'theme.css', preload_stylesheet: true -%}\n```\n> **Note**: The `preload_stylesheet` parameter will enable the `preload` parameter of the `stylesheet_tag`, use it sparingly e.g. consider preloading only render-blocking stylesheets. [Learn more](https://shopify.dev/themes/best-practices/performance#use-resource-hints-to-preload-key-resources)\n\n### Import aliases\n\nFor convenience, `~/` and `@/` are aliased to your `frontend` folder, which simplifies imports:\n\n```ts\nimport App from \"@/components/App.vue\";\nimport \"@/styles/my_styles.css\";\n```\n\n## Example\n\nSee the [vite-shopify-example](https://github.com/barrel/barrel-shopify/tree/main/themes/vite-shopify-example) theme for a basic demonstration of `vite-plugin-shopify` usage.\n\n## Bugs\n\nPlease create an issue if you found any bugs, to help us improve this project!\n\n## Thanks\n\nWe would like to specifically thank the following projects, for inspiring us and helping guide the implementation for this plugin by example:\n\n- [vite_ruby](https://github.com/ElMassimo/vite_ruby)\n- [laravel-vite](https://github.com/innocenzi/laravel-vite)\n- [nuxt.js](https://github.com/nuxt/framework)\n","readmeFilename":"README.md"}