{"_id":"@code-fixer-23/nx-tsup","_rev":"12-d722a3cb15e48472bfd19190439377e0","name":"@code-fixer-23/nx-tsup","dist-tags":{"latest":"1.2.5"},"versions":{"0.0.1":{"name":"@code-fixer-23/nx-tsup","version":"0.0.1","_id":"@code-fixer-23/nx-tsup@0.0.1","maintainers":[{"name":"codebreaker10","email":"louisshelton0@gmail.com"}],"nx":{"targets":{"test":{"options":{"passWithNoTests":true},"outputs":["{projectRoot}/coverage"],"executor":"@nx/vite:test"},"build":{"options":{"main":"packages/nx-tsup/src/index.ts","assets":[{"glob":"**/!(*.ts)","input":"./packages/nx-tsup/src","output":"."},{"glob":"**/*.d.ts","input":"./packages/nx-tsup/src","output":"."},{"glob":"generators.json","input":"./packages/nx-tsup","output":"."},{"glob":"executors.json","input":"./packages/nx-tsup","output":"."}],"rootDir":"packages/nx-tsup/src","tsConfig":"packages/nx-tsup/tsconfig.lib.json","outputPath":"packages/nx-tsup/dist","generatePackageJson":false},"outputs":["{options.outputPath}"],"executor":"@nx/js:tsc"},"typecheck":{"options":{"main":"packages/nx-tsup/src/index.ts","noEmit":true,"tsConfig":"packages/nx-tsup/tsconfig.lib.json","outputPath":"dist/packages/nx-tsup"},"outputs":["{options.outputPath}"],"executor":"@nx/js:tsc"}}},"dist":{"shasum":"1e33ea476981ee8de097b0fc882e3bce07fe7fa0","tarball":"https://registry.npmjs.org/@code-fixer-23/nx-tsup/-/nx-tsup-0.0.1.tgz","fileCount":22,"integrity":"sha512-wWZPyKW6D7SfDPau2uGffBr3DHNE3iq1x6O8rwA0DtgLoAMQTzhTt76tdZOsH/oQiRTZ4vtDdWHcX217HyJIeg==","signatures":[{"sig":"MEUCIQDNHiW3rVJM1MrzMtlZkqD1krf5sPxX81qWUNzy8ZA57gIgYDRQw3NwQgLDRbILgSfsdU9M6UWDCvAbHehAQCivMsQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29930},"main":"./dist/index.js","type":"module","_from":"file:code-fixer-23-nx-tsup-0.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","@code-fixer-23/source":"./src/index.ts"},"./executors":"./executors.json","./generators":"./generators.json","./package.json":"./package.json"},"_npmUser":{"name":"codebreaker10","email":"louisshelton0@gmail.com"},"_resolved":"/tmp/21420eaa8d3de8f236ccd7e5b8ad8cc9/code-fixer-23-nx-tsup-0.0.1.tgz","executors":"./executors.json","_integrity":"sha512-wWZPyKW6D7SfDPau2uGffBr3DHNE3iq1x6O8rwA0DtgLoAMQTzhTt76tdZOsH/oQiRTZ4vtDdWHcX217HyJIeg==","generators":"./generators.json","_npmVersion":"10.8.2","description":"An **NX plugin** for building TypeScript libraries using **[Tsup](https://tsup.egoist.sh/)** - the fastest way to bundle your TypeScript libraries with zero config.","directories":{},"_nodeVersion":"20.19.5","dependencies":{"tslib":"^2.3.0","@nx/devkit":"21.6.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^3.0.0","typescript":"~5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/nx-tsup_0.0.1_1759683620220_0.20660164367593414","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@code-fixer-23/nx-tsup","version":"0.0.2","_id":"@code-fixer-23/nx-tsup@0.0.2","maintainers":[{"name":"codebreaker10","email":"louisshelton0@gmail.com"}],"nx":{"targets":{"test":{"options":{"passWithNoTests":true},"outputs":["{projectRoot}/coverage"],"executor":"@nx/vite:test"},"build":{"options":{"main":"packages/nx-tsup/src/index.ts","assets":[{"glob":"**/!(*.ts)","input":"./packages/nx-tsup/src","output":"."},{"glob":"**/*.d.ts","input":"./packages/nx-tsup/src","output":"."},{"glob":"generators.json","input":"./packages/nx-tsup","output":"."},{"glob":"executors.json","input":"./packages/nx-tsup","output":"."}],"rootDir":"packages/nx-tsup/src","tsConfig":"packages/nx-tsup/tsconfig.lib.json","outputPath":"packages/nx-tsup/dist","generatePackageJson":false},"outputs":["{options.outputPath}"],"executor":"@nx/js:tsc"},"typecheck":{"options":{"main":"packages/nx-tsup/src/index.ts","noEmit":true,"tsConfig":"packages/nx-tsup/tsconfig.lib.json","outputPath":"dist/packages/nx-tsup"},"outputs":["{options.outputPath}"],"executor":"@nx/js:tsc"}}},"dist":{"shasum":"762525ab25ea2a8d46ddbd90f56fb6737b2f761c","tarball":"https://registry.npmjs.org/@code-fixer-23/nx-tsup/-/nx-tsup-0.0.2.tgz","fileCount":22,"integrity":"sha512-GY8GZyCDGjxQESbYEvCTI/AqGSQgazI0g2d1riJcr8GyGXuO4L2xqZw+hy15z4I3ruWmhShRfAqLxQ7ZGAvM4g==","signatures":[{"sig":"MEUCIQCH5C8lfJjtZVKz/XUdKdGBjGt6oYmphwIqKok+ciPzjAIgTulYGUoSjFE/rbiz5PLTjD0l8UHVO6YAspgdp4BoIX8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30014},"main":"./dist/index.js","type":"commonjs","_from":"file:code-fixer-23-nx-tsup-0.0.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","@code-fixer-23/source":"./src/index.ts"},"./executors":"./executors.json","./generators":"./generators.json","./package.json":"./package.json"},"_npmUser":{"name":"codebreaker10","email":"louisshelton0@gmail.com"},"_resolved":"/tmp/1bc83feac9e33bcba9ee07ecdeaea6a3/code-fixer-23-nx-tsup-0.0.2.tgz","executors":"./executors.json","_integrity":"sha512-GY8GZyCDGjxQESbYEvCTI/AqGSQgazI0g2d1riJcr8GyGXuO4L2xqZw+hy15z4I3ruWmhShRfAqLxQ7ZGAvM4g==","generators":"./generators.json","_npmVersion":"10.8.2","description":"> Note: Minor README touch to seed the first patch bump via conventional commit.","directories":{},"_nodeVersion":"20.19.5","dependencies":{"tslib":"^2.3.0","@nx/devkit":"21.6.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^3.0.0","typescript":"~5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/nx-tsup_0.0.2_1759689347681_0.7478964283684937","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@code-fixer-23/nx-tsup","version":"1.0.0","_id":"@code-fixer-23/nx-tsup@1.0.0","maintainers":[{"name":"codebreaker10","email":"louisshelton0@gmail.com"}],"nx":{"targets":{"test":{"options":{"passWithNoTests":true},"outputs":["{projectRoot}/coverage"],"executor":"@nx/vite:test"},"build":{"options":{"main":"packages/nx-tsup/src/index.ts","assets":[{"glob":"**/!(*.ts)","input":"./packages/nx-tsup/src","output":"."},{"glob":"**/*.d.ts","input":"./packages/nx-tsup/src","output":"."},{"glob":"generators.json","input":"./packages/nx-tsup","output":"."},{"glob":"executors.json","input":"./packages/nx-tsup","output":"."}],"rootDir":"packages/nx-tsup/src","tsConfig":"packages/nx-tsup/tsconfig.lib.json","outputPath":"packages/nx-tsup/dist","generatePackageJson":false},"outputs":["{options.outputPath}"],"executor":"@nx/js:tsc"},"typecheck":{"options":{"main":"packages/nx-tsup/src/index.ts","noEmit":true,"tsConfig":"packages/nx-tsup/tsconfig.lib.json","outputPath":"dist/packages/nx-tsup"},"outputs":["{options.outputPath}"],"executor":"@nx/js:tsc"}}},"dist":{"shasum":"1d78078448b789144a2cbf1752ab54660898ef37","tarball":"https://registry.npmjs.org/@code-fixer-23/nx-tsup/-/nx-tsup-1.0.0.tgz","fileCount":28,"integrity":"sha512-oFlAL3K4aFheNeMemo4IvIkGdAp2vlLz+SVCBotlEb4ahHyfbDUuNRF1GAfKIvGtrYCxwnuQiYOnhrG9+aCKEg==","signatures":[{"sig":"MEUCIEvAhu+2/ZgO6rYkITeDWbLkfYJrHxsTQ3YezbDNIRbMAiEApiv9qjLhfBCLES6dkO+0htx6FTVlxpNRffeRDFus4hA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38103},"main":"./dist/index.js","type":"commonjs","_from":"file:code-fixer-23-nx-tsup-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","@code-fixer-23/source":"./src/index.ts"},"./executors":"./executors.json","./generators":"./generators.json","./package.json":"./package.json"},"_npmUser":{"name":"codebreaker10","email":"louisshelton0@gmail.com"},"_resolved":"C:\\Users\\bvlou\\AppData\\Local\\Temp\\a46381e62bd74281c067b633c7ad96eb\\code-fixer-23-nx-tsup-1.0.0.tgz","executors":"./executors.json","_integrity":"sha512-oFlAL3K4aFheNeMemo4IvIkGdAp2vlLz+SVCBotlEb4ahHyfbDUuNRF1GAfKIvGtrYCxwnuQiYOnhrG9+aCKEg==","generators":"./generators.json","_npmVersion":"10.9.3","description":"> Note: Minor README touch to seed the first patch bump via conventional commit.","directories":{},"_nodeVersion":"22.19.0","dependencies":{"tslib":"^2.3.0","@nx/devkit":"21.6.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^3.0.0","enquirer":"^2.4.1","typescript":"~5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/nx-tsup_1.0.0_1759967310525_0.7666593953483061","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@code-fixer-23/nx-tsup","version":"1.1.0","_id":"@code-fixer-23/nx-tsup@1.1.0","maintainers":[{"name":"codebreaker10","email":"louisshelton0@gmail.com"}],"dist":{"shasum":"56eba41e8cbf1de194825533451ed8b87c78ecbf","tarball":"https://registry.npmjs.org/@code-fixer-23/nx-tsup/-/nx-tsup-1.1.0.tgz","fileCount":22,"integrity":"sha512-Smj8Weq90iPJHZS8Os97tBhocpe37RpuW6Ew11Z/kbZ5VfLfl+DyO38ngROqf8UAp4sDKaXoVHma6wNZowgXdA==","signatures":[{"sig":"MEQCIERvTEKHCXkfozVYNQpQlZlqHGdVq0yK65F11fHiefIMAiBr8mESnY2u0w4uVju2ojUN+FA/Qm2nXPastQThY2Gt0A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":86903},"main":"./dist/index.js","type":"module","_from":"file:code-fixer-23-nx-tsup-1.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./executors":"./executors.json","./generators":"./generators.json","./migrations":"./migrations.json","./package.json":"./package.json"},"_npmUser":{"name":"codebreaker10","email":"louisshelton0@gmail.com"},"_resolved":"C:\\Users\\bvlou\\AppData\\Local\\Temp\\33a3cae3f707c6ad16d4081c57032f39\\code-fixer-23-nx-tsup-1.1.0.tgz","executors":"./executors.json","_integrity":"sha512-Smj8Weq90iPJHZS8Os97tBhocpe37RpuW6Ew11Z/kbZ5VfLfl+DyO38ngROqf8UAp4sDKaXoVHma6wNZowgXdA==","generators":"./generators.json","_npmVersion":"11.6.0","description":"An **NX plugin** for building TypeScript libraries using **[Tsup](https://tsup.egoist.sh/)** - the fastest way to bundle your TypeScript libraries with zero config.","directories":{},"_nodeVersion":"24.9.0","dependencies":{"tslib":"^2.3.0","@nx/devkit":"21.6.3"},"nx-migrations":{"migrations":"./migrations.json"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^3.0.0","enquirer":"^2.4.1","typescript":"~5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/nx-tsup_1.1.0_1760130816424_0.09048002871032734","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@code-fixer-23/nx-tsup","version":"1.1.1","_id":"@code-fixer-23/nx-tsup@1.1.1","maintainers":[{"name":"codebreaker10","email":"louisshelton0@gmail.com"}],"dist":{"shasum":"8d5421a8fd0076b2bddc9dbe883807f45ca35bfa","tarball":"https://registry.npmjs.org/@code-fixer-23/nx-tsup/-/nx-tsup-1.1.1.tgz","fileCount":1,"integrity":"sha512-zq7q0VYAon2lRN60ZaZCG6J4uI5vkyBJc6HgpBYU7GKZTUblrvZihDqhCCEsOJinl0EnuDcXqOE6rLmtl4lCVw==","signatures":[{"sig":"MEQCIF0fYQvNXRuQ7X71EFMXm4AgVncvqhCVD2eDhH7hNWslAiBn39WNJSUdMbMbbOwpQ5ftTYWKDezzVyLdvyEUfSpINw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":960},"main":"./dist/index.js","type":"module","_from":"file:code-fixer-23-nx-tsup-1.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./executors":"./executors.json","./generators":"./generators.json","./migrations":"./migrations.json","./package.json":"./package.json"},"_npmUser":{"name":"codebreaker10","email":"louisshelton0@gmail.com"},"_resolved":"/tmp/dec4f061ea3a2f9150e1c16724fc934b/code-fixer-23-nx-tsup-1.1.1.tgz","executors":"./executors.json","_integrity":"sha512-zq7q0VYAon2lRN60ZaZCG6J4uI5vkyBJc6HgpBYU7GKZTUblrvZihDqhCCEsOJinl0EnuDcXqOE6rLmtl4lCVw==","generators":"./generators.json","_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.20.2","dependencies":{"tslib":"^2.3.0","@nx/devkit":"21.6.3"},"nx-migrations":{"migrations":"./migrations.json"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.0.0","enquirer":"^2.4.1","typescript":"~5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/nx-tsup_1.1.1_1776042482590_0.5126424081621801","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@code-fixer-23/nx-tsup","version":"1.1.2","_id":"@code-fixer-23/nx-tsup@1.1.2","maintainers":[{"name":"codebreaker10","email":"louisshelton0@gmail.com"}],"dist":{"shasum":"1e9f6caeff8a5ab0e3ad34eb8e82f070852ce8d5","tarball":"https://registry.npmjs.org/@code-fixer-23/nx-tsup/-/nx-tsup-1.1.2.tgz","fileCount":28,"integrity":"sha512-olZUxSe8zy5HpmjZkEM71MS1Rmbx/BMhrf4XQMgDSjHcmpE4bN+lI5DM5M8vKB8smjdtIBcRxXHvHBkCBBlyPg==","signatures":[{"sig":"MEUCIQDEI3bzdjv5/EdcN9ACMJCNrKyCph+vD/wqwDus64O9QQIgbQKB33MHHrlWIlfldeoYgggjLjLo9rP0wN2k2CxKel0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60070},"main":"./dist/index.js","type":"module","_from":"file:code-fixer-23-nx-tsup-1.1.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./executors":"./executors.json","./generators":"./generators.json","./migrations":"./migrations.json","./package.json":"./package.json"},"_npmUser":{"name":"codebreaker10","email":"louisshelton0@gmail.com"},"_resolved":"/tmp/b02d8ca4d3b55bcc3fff23c14bdad0e6/code-fixer-23-nx-tsup-1.1.2.tgz","executors":"./executors.json","_integrity":"sha512-olZUxSe8zy5HpmjZkEM71MS1Rmbx/BMhrf4XQMgDSjHcmpE4bN+lI5DM5M8vKB8smjdtIBcRxXHvHBkCBBlyPg==","generators":"./generators.json","_npmVersion":"10.8.2","description":"An **Nx plugin** for generating and building TypeScript libraries with **[Tsup](https://tsup.egoist.sh/)**.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"tsup":"^8.5.1","tslib":"^2.3.0","enquirer":"^2.4.1","@nx/devkit":"21.6.3"},"nx-migrations":{"migrations":"./migrations.json"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"~5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/nx-tsup_1.1.2_1776128841626_0.8719293706004447","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@code-fixer-23/nx-tsup","version":"1.2.0","_id":"@code-fixer-23/nx-tsup@1.2.0","maintainers":[{"name":"codebreaker10","email":"louisshelton0@gmail.com"}],"dist":{"shasum":"990eb3818812a0a6bff3e4428c09e4734b272206","tarball":"https://registry.npmjs.org/@code-fixer-23/nx-tsup/-/nx-tsup-1.2.0.tgz","fileCount":28,"integrity":"sha512-xOZCtikQiT9yVY4OqCVEl+vRpVuHImxs13kbEgJeshAYdJ5lR+h4gWANIv2ObjAIyB2na+nJeJDom28iYNBhSQ==","signatures":[{"sig":"MEUCIQDIAOjf3ciOejcAXSOKH7W07swmI2jwOt35a4LYgw733wIgWJM0uyqtJhTm8+cuPfmW+NaQcyWCeVNFNXSjUQhNQvw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60172},"main":"./dist/index.js","type":"module","_from":"file:code-fixer-23-nx-tsup-1.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./executors":"./executors.json","./generators":"./generators.json","./migrations":"./migrations.json","./package.json":"./package.json"},"_npmUser":{"name":"codebreaker10","email":"louisshelton0@gmail.com"},"_resolved":"/tmp/8b0541b9ffe4016ecaa4fba1ff60e7de/code-fixer-23-nx-tsup-1.2.0.tgz","executors":"./executors.json","_integrity":"sha512-xOZCtikQiT9yVY4OqCVEl+vRpVuHImxs13kbEgJeshAYdJ5lR+h4gWANIv2ObjAIyB2na+nJeJDom28iYNBhSQ==","generators":"./generators.json","_npmVersion":"10.8.2","description":"An **Nx plugin** for generating and building TypeScript libraries with **[Tsup](https://tsup.egoist.sh/)**.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"tsup":"^8.5.1","tslib":"^2.3.0","enquirer":"^2.4.1","@nx/devkit":"21.6.3"},"nx-migrations":{"migrations":"./migrations.json"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.0.0","vitest":"^3.0.0","typescript":"~5.9.2","vite-plugin-dts":"^4.3.0","vite-plugin-static-copy":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/nx-tsup_1.2.0_1777240230783_0.8788656996657587","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@code-fixer-23/nx-tsup","version":"1.2.1","_id":"@code-fixer-23/nx-tsup@1.2.1","maintainers":[{"name":"codebreaker10","email":"louisshelton0@gmail.com"}],"dist":{"shasum":"45b91e5a850ed94fc89e2c0e2fc644b38b719738","tarball":"https://registry.npmjs.org/@code-fixer-23/nx-tsup/-/nx-tsup-1.2.1.tgz","fileCount":43,"integrity":"sha512-Jomo6Z28BuvQUQVSHFq47UUN+U5rlRuG2EK+Wef/6NbzUchE0r6fJRrYKCdGBLkbE9WcMbxIPAGa1q7cznMkAA==","signatures":[{"sig":"MEUCIGnTej2j1iIDCq9zwTJqIxNIu+i6Om/ciMqFE1TcptQ6AiEA81AXgPxF+V1h586i6oUJ0+bRZdoSGbrH3Kanwz2OvEg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":126648},"main":"./dist/index.js","type":"module","_from":"file:code-fixer-23-nx-tsup-1.2.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./executors":"./executors.json","./generators":"./generators.json","./migrations":"./migrations.json","./package.json":"./package.json"},"_npmUser":{"name":"codebreaker10","email":"louisshelton0@gmail.com"},"_resolved":"/tmp/349035efe6ea52f38986cf6a4ca2803d/code-fixer-23-nx-tsup-1.2.1.tgz","executors":"./executors.json","_integrity":"sha512-Jomo6Z28BuvQUQVSHFq47UUN+U5rlRuG2EK+Wef/6NbzUchE0r6fJRrYKCdGBLkbE9WcMbxIPAGa1q7cznMkAA==","generators":"./generators.json","_npmVersion":"10.8.2","description":"An **Nx plugin** for generating and building TypeScript libraries with **[Tsup](https://tsup.egoist.sh/)**.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"tsup":"^8.5.1","tslib":"^2.3.0","enquirer":"^2.4.1","@nx/devkit":"21.6.3"},"nx-migrations":{"migrations":"./migrations.json"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.0.0","vitest":"^3.0.0","typescript":"~5.9.2","vite-plugin-dts":"^4.3.0","vite-plugin-static-copy":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/nx-tsup_1.2.1_1777308802507_0.37874703667469345","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@code-fixer-23/nx-tsup","version":"1.2.2","_id":"@code-fixer-23/nx-tsup@1.2.2","maintainers":[{"name":"codebreaker10","email":"louisshelton0@gmail.com"}],"dist":{"shasum":"e60ae174f0f80a91f75456d84216bce70b941495","tarball":"https://registry.npmjs.org/@code-fixer-23/nx-tsup/-/nx-tsup-1.2.2.tgz","fileCount":43,"integrity":"sha512-G57cV2nzulX45BTqgJZ7O6RGgyn7SEcZVD6qg5FlrTgeljG4HGM/DbYv4OAmW3vpDpNAbO031AB5Yz+I6hT8qw==","signatures":[{"sig":"MEQCIHLFw4y03Vczu27ACoIi5znRv2201Fe9VBwEWfd0D93aAiARsztp5A+5RXwQmO5k7Q6KXByW/Db6xA6hygJd79e/NA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":128633},"main":"./dist/index.js","type":"module","_from":"file:code-fixer-23-nx-tsup-1.2.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./executors":"./executors.json","./generators":"./generators.json","./migrations":"./migrations.json","./package.json":"./package.json"},"_npmUser":{"name":"codebreaker10","email":"louisshelton0@gmail.com"},"_resolved":"/tmp/877defd007ebc4737d8a25e728ffa906/code-fixer-23-nx-tsup-1.2.2.tgz","executors":"./executors.json","_integrity":"sha512-G57cV2nzulX45BTqgJZ7O6RGgyn7SEcZVD6qg5FlrTgeljG4HGM/DbYv4OAmW3vpDpNAbO031AB5Yz+I6hT8qw==","generators":"./generators.json","_npmVersion":"10.8.2","description":"An **Nx plugin** for generating and building TypeScript libraries with **[Tsup](https://tsup.egoist.sh/)**.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"tsup":"^8.5.1","tslib":"^2.3.0","enquirer":"^2.4.1","@nx/devkit":"21.6.3"},"nx-migrations":{"migrations":"./migrations.json"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.0.0","vitest":"^3.0.0","typescript":"~5.9.2","vite-plugin-dts":"^4.3.0","vite-plugin-static-copy":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/nx-tsup_1.2.2_1777319720233_0.4549998538054225","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@code-fixer-23/nx-tsup","version":"1.2.3","license":"MIT","_id":"@code-fixer-23/nx-tsup@1.2.3","maintainers":[{"name":"codebreaker10","email":"louisshelton0@gmail.com"}],"dist":{"shasum":"a176af11545d4a07ed5f14010f9424ded8c9cd43","tarball":"https://registry.npmjs.org/@code-fixer-23/nx-tsup/-/nx-tsup-1.2.3.tgz","fileCount":33,"integrity":"sha512-pd0fd4MJZobcDw7rLO8/13Y6zkm0DoRkMjjydPVlw+s/97jZHlq3mmwSVjLpl2v7lYXRw+G1FOKXa4zlgSHW3g==","signatures":[{"sig":"MEUCIQCeiIZs+qSnrYsbdVsscrgd33Mw4xzNqSjRx/3ejlHKhAIgd5hXvIlBTztojZnOg/J7qVmrCCvlkvx23pGxjwNw2Ug=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63458},"main":"./dist/index.js","type":"module","_from":"file:code-fixer-23-nx-tsup-1.2.3.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"lint":"eslint .","test":"vitest run --config vitest.config.ts","build":"tsc -p tsconfig.lib.json","check":"pnpm run typecheck && pnpm run lint && pnpm run test && pnpm run build","format":"biome format --write .","typecheck":"tsc -p tsconfig.lib.json --noEmit"},"_npmUser":{"name":"codebreaker10","email":"louisshelton0@gmail.com"},"_resolved":"/tmp/5d2b36e1794a261323b2c45286aab9d8/code-fixer-23-nx-tsup-1.2.3.tgz","executors":"./executors.json","_integrity":"sha512-pd0fd4MJZobcDw7rLO8/13Y6zkm0DoRkMjjydPVlw+s/97jZHlq3mmwSVjLpl2v7lYXRw+G1FOKXa4zlgSHW3g==","generators":"./generators.json","migrations":"./migrations.json","_npmVersion":"10.8.2","description":"An Nx plugin for generating and building TypeScript libraries with Tsup.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"tslib":"^2.6.2"},"_hasShrinkwrap":false,"peerDependencies":{"nx":">=21.0.0 <23.0.0","tsup":">=8.0.0 <9.0.0","@nx/devkit":">=21.0.0 <23.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nx-tsup_1.2.3_1777666570518_0.31835437081159923","host":"s3://npm-registry-packages-npm-production"}},"1.2.4":{"name":"@code-fixer-23/nx-tsup","version":"1.2.4","license":"MIT","_id":"@code-fixer-23/nx-tsup@1.2.4","maintainers":[{"name":"codebreaker10","email":"louisshelton0@gmail.com"}],"dist":{"shasum":"0f065b8717b5ce9bf6e1799e10c333efb5645934","tarball":"https://registry.npmjs.org/@code-fixer-23/nx-tsup/-/nx-tsup-1.2.4.tgz","fileCount":33,"integrity":"sha512-5UH+g711pXNebVWkRUkdPEjF4C7w97ypMUQ9E5B1udwwCgxSuP01X3Yat0jYBvVChHrzqK9PoaDNef6Vi5rfwQ==","signatures":[{"sig":"MEUCIQDw5IAe/hs1lRaISSN4JVKdWuZL8mRcWWsz8sbZs65VyAIgKK6Kzv6ddUpdTnab4rQ+ZHvEjyr78qtkmyXJnHvf9Ys=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63661},"main":"./dist/index.js","type":"module","_from":"file:code-fixer-23-nx-tsup-1.2.4.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"lint":"eslint .","test":"vitest run --config vitest.config.ts","build":"tsc -p tsconfig.lib.json","check":"pnpm run typecheck && pnpm run lint && pnpm run test && pnpm run build","format":"biome format --write .","typecheck":"tsc -p tsconfig.lib.json --noEmit"},"_npmUser":{"name":"codebreaker10","email":"louisshelton0@gmail.com"},"_resolved":"/tmp/63f88c9e09128a99f4911b23ca19d068/code-fixer-23-nx-tsup-1.2.4.tgz","executors":"./executors.json","_integrity":"sha512-5UH+g711pXNebVWkRUkdPEjF4C7w97ypMUQ9E5B1udwwCgxSuP01X3Yat0jYBvVChHrzqK9PoaDNef6Vi5rfwQ==","generators":"./generators.json","migrations":"./migrations.json","_npmVersion":"10.8.2","description":"An Nx plugin for generating and building TypeScript libraries with Tsup.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"tslib":"^2.6.2"},"_hasShrinkwrap":false,"peerDependencies":{"nx":">=21.0.0 <23.0.0","tsup":">=8.0.0 <9.0.0","@nx/devkit":">=21.0.0 <23.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nx-tsup_1.2.4_1777674366138_0.9587519941235285","host":"s3://npm-registry-packages-npm-production"}},"1.2.5":{"name":"@code-fixer-23/nx-tsup","version":"1.2.5","description":"An Nx plugin for generating and building TypeScript libraries with Tsup.","license":"MIT","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"executors":"./executors.json","generators":"./generators.json","migrations":"./migrations.json","scripts":{"build":"tsc -p tsconfig.lib.json","typecheck":"tsc -p tsconfig.lib.json --noEmit","test":"vitest run --config vitest.config.ts","lint":"eslint .","format":"biome format --write .","check":"pnpm run typecheck && pnpm run lint && pnpm run test && pnpm run build"},"peerDependencies":{"@nx/devkit":">=21.0.0 <23.0.0","nx":">=21.0.0 <23.0.0","tsup":">=8.0.0 <9.0.0"},"dependencies":{"tslib":"^2.6.2"},"gitHead":"b8167580a7eaf0efceee38fd9ccebe1e232e42ce","_id":"@code-fixer-23/nx-tsup@1.2.5","_nodeVersion":"25.1.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-6CdWGwc/9Ks/aZg8YjX4pYBRJ2KXX+bnpMEUIiXODIHIGcknAZC45VkRmfDCx2xONrK6r3CFuMG3YCdiP1wR+Q==","shasum":"1bf936361f536ad234085d4f24e582c6cce9f85c","tarball":"https://registry.npmjs.org/@code-fixer-23/nx-tsup/-/nx-tsup-1.2.5.tgz","fileCount":33,"unpackedSize":63857,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCFIQpyXes0mOL0cJ2iDtYWCvS/esjmPt9pimPdXVcCsQIgFe0LLTKC+xi73rwDaVSSAdPbspDpg5ponhl4BTAbdI4="}]},"_npmUser":{"name":"codebreaker10","email":"louisshelton0@gmail.com"},"directories":{},"maintainers":[{"name":"codebreaker10","email":"louisshelton0@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nx-tsup_1.2.5_1779293260938_0.3226165561501648"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-05T17:00:20.121Z","modified":"2026-05-20T16:07:41.224Z","0.0.1":"2025-10-05T17:00:20.405Z","0.0.2":"2025-10-05T18:35:47.856Z","1.0.0":"2025-10-08T23:48:30.737Z","1.1.0":"2025-10-10T21:13:36.590Z","1.1.1":"2026-04-13T01:08:02.726Z","1.1.2":"2026-04-14T01:07:21.776Z","1.2.0":"2026-04-26T21:50:30.941Z","1.2.1":"2026-04-27T16:53:22.650Z","1.2.2":"2026-04-27T19:55:20.370Z","1.2.3":"2026-05-01T20:16:10.675Z","1.2.4":"2026-05-01T22:26:06.314Z","1.2.5":"2026-05-20T16:07:41.089Z"},"license":"MIT","description":"An Nx plugin for generating and building TypeScript libraries with Tsup.","maintainers":[{"name":"codebreaker10","email":"louisshelton0@gmail.com"}],"readme":"# @code-fixer-23/nx-tsup\n\nAn **Nx plugin** for generating and building TypeScript libraries with **[Tsup](https://tsup.egoist.sh/)**.\n\nIf you are upgrading from an older release that still used `outputPath`, run the included migration to rename it to `outDir`:\n\n```bash\nnx migrate @code-fixer-23/nx-tsup@latest\nnx migrate --run-migrations\n```\n\n## Features\n\n- 🚀 **Fast Bundling** - Powered by esbuild through Tsup\n- 📦 **Zero Configuration** - Sensible defaults, works out of the box\n- 🎯 **Type-Safe** - Automatic TypeScript declaration file generation\n- 🔧 **Config Merging** - Smart merging of `tsup.config.ts` and `project.json` options\n- 🧪 **Test Integration** - Optional Vitest or Jest setup with auto-detection\n- 🎨 **Linter Support** - Optional ESLint or Biome integration\n- ✨ **Formatter Support** - Optional Prettier, Biome, or ESLint Stylistic integration\n- ⚙️ **Advanced Options** - Full tsup feature support (splitting, treeshake, external, etc.)\n- 📚 **Monorepo Ready** - Works with both integrated and package-based monorepos\n\n## Installation\n\n### Prerequisites\n\nEnsure you have an NX workspace set up. If not, create one:\n\n```bash\nnpx create-nx-workspace@latest\n```\n\n### Install the Plugin\n\n```bash\n# Using pnpm (recommended)\npnpm add -D @code-fixer-23/nx-tsup tsup\n\n# Or using npm\nnpm install --save-dev @code-fixer-23/nx-tsup tsup\n```\n\n## Usage\n\n### Generate a New Library\n\nCreate a new Tsup-powered library:\n\n```bash\n# Interactive mode (recommended)\nnx generate @code-fixer-23/nx-tsup:library\n\n# With options\nnx generate @code-fixer-23/nx-tsup:library my-lib \\\\\n  --importPath=@my-scope/my-lib \\\\\n  --description=\"My awesome library\" \\\\\n  --testRunner=vitest \\\\\n  --linter=eslint \\\\\n  --formatter=prettier\n```\n\n### Generator Options\n\n| Option        | Type                                                  | Default                          | Description                               |\n| ------------- | ----------------------------------------------------- | -------------------------------- | ----------------------------------------- |\n| `name`        | `string`                                              | _required_                       | Library name (kebab-case)                 |\n| `importPath`  | `string`                                              | _required_                       | Import path (e.g., `@scope/package-name`) |\n| `directory`   | `string`                                              | `packages`                       | Directory where library will be created   |\n| `description` | `string`                                              | `\"\"`                             | Package description                       |\n| `testRunner`  | `vitest` \\| `jest` \\| `none`                          | auto-detect (fallback: `jest`)   | Test framework to use                     |\n| `linter`      | `eslint` \\| `biome` \\| `none`                         | auto-detect (fallback: `eslint`) | Linter to configure                       |\n| `formatter`   | `prettier` \\| `biome` \\| `eslint-stylistic` \\| `none` | auto-detect                      | Code formatter to use                     |\n| `skipFormat`  | `boolean`                                             | `false`                          | Skip formatting generated files           |\n\n### Build Your Library\n\n```bash\n# Build a specific library\nnx build my-lib\n\n# Build all libraries\nnx run-many -t build\n\n# Build with watch mode\nnx build my-lib --watch\n```\n\n### Executor Options\n\nThe build executor supports the following options:\n\n#### Core Options\n\n| Option     | Type                       | Default    | Description                       |\n| ---------- | -------------------------- | ---------- | --------------------------------- |\n| `outDir`   | `string`                   | _required_ | Output directory for built files  |\n| `main`     | `string`                   | _required_ | Entry point file                  |\n| `tsConfig` | `string`                   | _required_ | Path to tsconfig file             |\n| `format`   | `('esm'\\|'cjs'\\|'iife')[]` | `['esm']`  | Output formats (CLI-only)         |\n| `watch`    | `boolean`                  | `false`    | Enable watch mode (CLI-only)      |\n| `assets`   | `string[]`                 | `[]`       | Additional assets to copy to dist |\n\n#### Build Options\n\n| Option      | Type                                     | Default   | Description                           |\n| ----------- | ---------------------------------------- | --------- | ------------------------------------- |\n| `dts`       | `boolean`                                | `true`    | Generate TypeScript declaration files |\n| `clean`     | `boolean`                                | `true`    | Clean output directory before build   |\n| `minify`    | `boolean`                                | `false`   | Minify output                         |\n| `sourcemap` | `boolean \\| 'inline'`                    | `false`   | Generate sourcemaps                   |\n| `splitting` | `boolean`                                | `false`   | Enable code splitting (ESM only)      |\n| `treeshake` | `boolean \\| 'smallest' \\| 'recommended'` | `false`   | Enable tree shaking                   |\n| `target`    | `string`                                 | `es2022`  | ECMAScript target (e.g., 'esnext')    |\n| `platform`  | `'node' \\| 'browser' \\| 'neutral'`       | `neutral` | Target platform                       |\n\n#### Dependency Options\n\n| Option       | Type       | Default | Description                             |\n| ------------ | ---------- | ------- | --------------------------------------- |\n| `external`   | `string[]` | `[]`    | External dependencies to exclude        |\n| `noExternal` | `string[]` | `[]`    | Dependencies to force include in bundle |\n\n#### Advanced Options\n\n| Option           | Type                    | Default | Description                              |\n| ---------------- | ----------------------- | ------- | ---------------------------------------- |\n| `banner`         | `object`                | `{}`    | Code to prepend (e.g., `{js: '// ...'}`) |\n| `footer`         | `object`                | `{}`    | Code to append                           |\n| `env`            | `Record<string,string>` | `{}`    | Environment variables to define          |\n| `define`         | `Record<string,string>` | `{}`    | Global constants to define               |\n| `inject`         | `string[]`              | `[]`    | Files to automatically inject            |\n| `esbuildOptions` | `object`                | `{}`    | Additional esbuild options               |\n| `esbuildPlugins` | `string[]`              | `[]`    | Paths to esbuild plugin modules          |\n\n**Note**: `watch` and `format` are CLI-only options and should not be defined in `project.json`. All other options can be configured in both `project.json` and `tsup.config.ts`, with `project.json` taking precedence.\n\n## Generated Project Structure\n\nWhen you generate a library, the following structure is created:\n\n```\npackages/my-lib/\n├── src/\n│   ├── index.ts              # Entry point\n│   └── index.spec.ts         # Example test (if test runner selected)\n├── dist/                     # Build output (after running build)\n│   ├── index.js              # ESM bundle\n│   └── index.d.ts            # Type declarations\n├── tsup.config.ts            # Tsup configuration\n├── tsconfig.json             # TypeScript config (project references)\n├── tsconfig.lib.json         # TypeScript config (lib-specific)\n├── package.json              # Package manifest with exports\n├── README.md                 # Package documentation\n├── vitest.config.ts          # Vitest config (if selected)\n├── jest.config.ts            # Jest config (if selected)\n├── eslint.config.mjs         # ESLint config (if selected)\n├── .prettierrc.json          # Prettier config (if selected)\n├── .prettierignore           # Prettier ignore file (if selected)\n└── biome.json                # Biome config (if linter/formatter selected)\n```\n\n## Auto-detection behavior\n\nWhen you omit `--testRunner`, `--linter`, and/or `--formatter`, the generator inspects your workspace root `package.json` to detect installed tools by their official package names:\n\n- Test runners: `jest`, `vitest`\n- Linters: `eslint`, `@biomejs/biome`\n- Formatters: `prettier`, `@biomejs/biome`, `@stylistic/eslint-plugin`\n\nSelection rules:\n\n- If exactly one candidate is present, it is selected automatically.\n- If multiple candidates are present, you will be prompted to choose in interactive mode. In non-interactive/CI environments:\n  - Test runner fallback: `jest`\n  - Linter fallback: `eslint`\n  - Formatter fallback: `prettier` (for ESLint), `biome` (for Biome linter), or `none` otherwise\n- If none are present, the defaults are `jest`, `eslint`, and `prettier`.\n- **Special rule**: ESLint Stylistic requires ESLint as the linter. If you select `eslint-stylistic` with a different linter, it will fall back to `prettier`.\n- **Special rule**: If Biome is selected as the linter and no formatter is specified, Biome will be used as the formatter (since Biome handles both linting and formatting).\n\nTo override detection, pass explicit flags, e.g. `--testRunner=vitest --linter=eslint --formatter=prettier`.\n\n## Configuration\n\n### Tsup Configuration\n\nEach generated library includes a `tsup.config.ts` file at its root. You can customize the build process by modifying this file:\n\n```ts\n// packages/my-lib/tsup.config.ts\nimport { defineConfig } from 'tsup';\n\nexport default defineConfig({\n  entry: ['src/index.ts'],\n  format: ['esm', 'cjs'], // Add CJS format\n  dts: true,\n  clean: true,\n  sourcemap: true, // Enable sourcemaps\n  minify: true, // Enable minification\n  target: 'es2022',\n  splitting: false,\n  treeshake: true,\n});\n```\n\n### Configuration Merging Strategy\n\nThe plugin intelligently merges options from `tsup.config.ts` and `project.json`, giving you the best of both worlds.\n\n#### How It Works\n\n1. **Config File Discovery**: The executor searches for `tsup.config.{ts,mts,cts,js,mjs,cjs}` in your project root\n2. **Smart Merging**: Options from `project.json` override those in `tsup.config.ts`\n3. **TypeScript Support**: `.ts` config files are compiled on-the-fly using esbuild\n4. **Function Configs**: Supports function-based configs with environment parameters\n\n#### Supported Config Files (in order of precedence)\n\n- `tsup.config.ts`\n- `tsup.config.mts`\n- `tsup.config.cts`\n- `tsup.config.js`\n- `tsup.config.mjs`\n- `tsup.config.cjs`\n\n#### Merge Rules\n\n- **Primitives** (boolean, string, number): `project.json` value replaces config file value\n- **Arrays**: `project.json` array replaces config file array (no concatenation)\n- **Objects** (`banner`, `footer`, `env`, `define`): Deep merge with `project.json` winning\n- **`esbuildOptions`**: Composed as a function chain, `project.json` applied last\n- **CLI-only flags** (`watch`, `format`): Applied at runtime, not merged\n\n#### Example: Basic Merging\n\n**tsup.config.ts**:\n\n```ts\nimport { defineConfig } from 'tsup';\n\nexport default defineConfig({\n  target: 'es2020',\n  splitting: false,\n  banner: { js: '// Copyright 2025' },\n});\n```\n\n**project.json**:\n\n```json\n{\n  \"targets\": {\n    \"build\": {\n      \"executor\": \"@code-fixer-23/nx-tsup:build\",\n      \"options\": {\n        \"outDir\": \"packages/my-lib/dist\",\n        \"main\": \"packages/my-lib/src/index.ts\",\n        \"tsConfig\": \"packages/my-lib/tsconfig.lib.json\",\n        \"target\": \"esnext\",\n        \"minify\": true\n      }\n    }\n  }\n}\n```\n\n**Result**: Target is `esnext` (from `project.json`), splitting is `false` (from config), minify is `true` (from `project.json`), and banner is preserved.\n\n#### Example: Function-based Config\n\n```ts\nimport { defineConfig } from 'tsup';\n\nexport default defineConfig((options) => ({\n  target: options.watch ? 'es2022' : 'esnext',\n  minify: !options.watch,\n  dts: true,\n}));\n```\n\nThe function receives `{ watch, format, mode }` parameters.\n\n#### Example: Advanced - esbuildOptions & Plugins\n\n**project.json**:\n\n```json\n{\n  \"options\": {\n    \"outDir\": \"dist\",\n    \"main\": \"src/index.ts\",\n    \"tsConfig\": \"tsconfig.lib.json\",\n    \"external\": [\"react\", \"react-dom\"],\n    \"esbuildOptions\": {\n      \"keepNames\": true\n    },\n    \"esbuildPlugins\": [\"./esbuild-plugins/my-plugin.js\"]\n  }\n}\n```\n\nPlugins are loaded from paths relative to the project root.\n\n### Package.json Exports\n\nGenerated libraries automatically include proper `exports` configuration:\n\n```json\n{\n  \"name\": \"@my-scope/my-lib\",\n  \"type\": \"module\",\n  \"main\": \"./dist/index.js\",\n  \"module\": \"./dist/index.js\",\n  \"types\": \"./dist/index.d.ts\",\n  \"exports\": {\n    \".\": {\n      \"types\": \"./dist/index.d.ts\",\n      \"import\": \"./dist/index.js\",\n      \"default\": \"./dist/index.js\"\n    }\n  }\n}\n```\n\n## Monorepo Support\n\n### Integrated Monorepo (Default)\n\nIn an integrated monorepo, `tsup` is installed at the workspace root and shared across all packages. This is the default configuration.\n\n### Package-based Monorepo\n\nIf your `package.json` includes a `workspaces` field, the generator automatically:\n\n- Detects the package-based setup\n- Adds `tsup` to each generated package's `devDependencies`\n- Ensures each package can build independently\n\n## Advanced Usage\n\n### Multiple Entry Points\n\nEdit your `tsup.config.ts` to support multiple entry points:\n\n```ts\nexport default defineConfig({\n  entry: {\n    index: 'src/index.ts',\n    cli: 'src/cli.ts',\n  },\n  format: ['esm'],\n  dts: true,\n});\n```\n\n### Custom Build Target\n\nOverride build options in your `project.json`:\n\n```json\n{\n  \"targets\": {\n    \"build\": {\n      \"executor\": \"@code-fixer-23/nx-tsup:build\",\n      \"options\": {\n        \"outDir\": \"packages/my-lib/dist\",\n        \"main\": \"packages/my-lib/src/index.ts\",\n        \"tsConfig\": \"packages/my-lib/tsconfig.lib.json\",\n        \"minify\": true,\n        \"sourcemap\": true,\n        \"splitting\": true,\n        \"treeshake\": \"smallest\",\n        \"external\": [\"react\"]\n      }\n    }\n  }\n}\n```\n\n**Note**: Use `--format` and `--watch` as CLI flags: `nx build my-lib --format=esm,cjs --watch`\n\n## Testing\n\n### Run Tests\n\n```bash\n# Run tests for a specific library\nnx test my-lib\n\n# Run all tests\nnx run-many -t test\n\n# Run tests in watch mode\ncd packages/my-lib && pnpm vitest\n```\n\n## Linting\n\n### Run Linter\n\n```bash\n# Lint a specific library\nnx lint my-lib\n\n# Lint all libraries\nnx run-many -t lint\n```\n\n## Type Checking\n\n```bash\n# Type-check a specific library\nnx typecheck my-lib\n\n# Type-check all libraries\nnx run-many -t typecheck\n```\n\n## Formatting\n\nIf you selected a formatter during generation, you can format your code:\n\n```bash\n# Format a specific library\nnx format my-lib\n\n# Format all libraries\nnx run-many -t format\n```\n\n### Formatter Options\n\nThe generator supports three formatter options:\n\n#### Prettier\n\nCreates `.prettierrc.json` and `.prettierignore` files with sensible defaults:\n\n- Semi-colons enabled\n- Single quotes\n- Tab width: 2\n- Trailing commas: ES5\n- Print width: 80\n- Arrow parens: always\n\n#### Biome\n\nUses Biome for both linting and formatting. Creates `biome.json` with formatter enabled.\n\n#### ESLint Stylistic\n\n**Requires ESLint as linter**. Uses `@stylistic/eslint-plugin` for formatting through ESLint.\nConfigures `eslint.config.mjs` with stylistic rules:\n\n- Indent: 2 spaces\n- Quotes: single\n- Semi-colons: always\n\n#### None\n\nNo formatter configuration or dependencies will be added.\n\n## Troubleshoots\n\n### Tsup not found\n\nEnsure `tsup` is installed at the workspace root:\n\n```bash\npnpm add -D -w tsup\n```\n\n### Build fails with module resolution errors\n\nCheck your `tsconfig.lib.json` compiler options. Ensure `moduleResolution` is set correctly for your target environment.\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n\n## License\n\nMIT\n\n## Related\n\n- [Tsup Documentation](https://tsup.egoist.sh/)\n- [NX Documentation](https://nx.dev/)\n- [TypeScript](https://www.typescriptlang.org/)\n","readmeFilename":"README.md"}