{"_id":"@altack/nx-bundlefy","_rev":"3-c6334ac60ad57f42252bdb070b834767","name":"@altack/nx-bundlefy","dist-tags":{"latest":"0.15.0"},"versions":{"0.0.1":{"name":"@altack/nx-bundlefy","version":"0.0.1","description":"Nx executor to ensure that all the buildable dependencies of the publishable library are bundled together with the library","main":"./dist/index.js","executors":"./executor.json","scripts":{"build":"npx tsc","pack":"npm pack","publish":"npm publish --access public"},"dependencies":{"tslib":"^2.5.0"},"peerDependencies":{"@nrwl/devkit":">=15.9.0","@nrwl/js":">=15.9.0","@nrwl/workspace":">=15.9.0","validate-npm-package-name":">=5.0.0"},"keywords":["nx","bundle","publishable library","executor","tsc"],"author":{"name":"Jose Guzman","email":"guzmanoj@altack.com"},"license":"MIT","publishConfig":{"access":"public"},"gitHead":"5ccb2b464f6a7f92a0f1904abe4d2d82905ef4c4","_id":"@altack/nx-bundlefy@0.0.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-IPBKRUZgc4qyJaT/NUX3Lp4tvNomvLyp+wZJWUAr3VC7Nec8rhynmpl2Lf6iMhULxNacUTXZucdbb8AVDTknGg==","shasum":"e18003cc2a5f09a73daf6b524fee5204a31341ab","tarball":"https://registry.npmjs.org/@altack/nx-bundlefy/-/nx-bundlefy-0.0.1.tgz","fileCount":5,"unpackedSize":3831,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLtL1ImVIrP7BP6nKuywh8LgzoUuIbWBhKDUIreegSsgIgbuuR5EruNwSqyRBTQJN+qpDMhUncj3rwVRdFwkInKYA="}]},"_npmUser":{"name":"guzmanoj","email":"guzmanoj89@gmail.com"},"directories":{},"maintainers":[{"name":"guzmanoj","email":"guzmanoj89@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nx-bundlefy_0.0.1_1684242160141_0.27097057122282053"},"_hasShrinkwrap":false},"0.0.2":{"name":"@altack/nx-bundlefy","version":"0.0.2","repository":{"url":"git+https://github.com/altack/nx-bundlefy.git"},"description":"Nx executor to ensure that all the buildable dependencies of the publishable library are bundled together with the library","main":"./dist/index.js","executors":"./executor.json","scripts":{"build":"npx tsc"},"dependencies":{"tslib":"^2.5.0"},"peerDependencies":{"@nrwl/devkit":">=15.9.0","@nrwl/js":">=15.9.0","@nrwl/workspace":">=15.9.0","validate-npm-package-name":">=5.0.0"},"keywords":["nx","bundle","publishable library","executor","tsc"],"author":{"name":"Jose Guzman","email":"guzmanoj@altack.com"},"license":"MIT","publishConfig":{"access":"public"},"types":"./dist/index.d.ts","gitHead":"5ccb2b464f6a7f92a0f1904abe4d2d82905ef4c4","bugs":{"url":"https://github.com/altack/nx-bundlefy/issues"},"homepage":"https://github.com/altack/nx-bundlefy#readme","_id":"@altack/nx-bundlefy@0.0.2","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-GJ0cQpGijV7xT00TEcA1ZW7/Zo2Bwy5JwU19Sjej/xi3ylyVgWyJzDS0dTtMVeXuTgNEUhXsMpodj9UVn9lB3g==","shasum":"db4c10a3d8ff6699c2cba3ee2c09614e127f7063","tarball":"https://registry.npmjs.org/@altack/nx-bundlefy/-/nx-bundlefy-0.0.2.tgz","fileCount":8,"unpackedSize":14928,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFYD0RMXmlBbZ43HdTq5Q4B/PlKQ3QLDY7JGSzFAOAegAiAK+2MXB5Ps4dI2RNoeteDLKKD/OfwEG/s094jY+w8Dng=="}]},"_npmUser":{"name":"guzmanoj","email":"guzmanoj89@gmail.com"},"directories":{},"maintainers":[{"name":"guzmanoj","email":"guzmanoj89@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nx-bundlefy_0.0.2_1684243803495_0.18465767415870582"},"_hasShrinkwrap":false},"0.16.0":{"name":"@altack/nx-bundlefy","version":"0.16.0","repository":{"url":"git+https://github.com/altack/nx-bundlefy.git"},"description":"Nx executor to ensure that all the buildable dependencies of the publishable library are bundled together with the library","main":"./dist/index.js","executors":"./executor.json","scripts":{"build":"npx tsc"},"dependencies":{"tslib":"^2.5.0"},"peerDependencies":{"@nrwl/devkit":">=16.5.5","@nrwl/js":">=16.5.5","@nrwl/workspace":">=16.5.5","validate-npm-package-name":">=5.0.0"},"keywords":["nx","bundle","publishable library","executor","tsc"],"author":{"name":"Jose Guzman","email":"guzmanoj@altack.com"},"license":"MIT","publishConfig":{"access":"public"},"devDependencies":{"@types/node":"^20.4.5"},"types":"./dist/index.d.ts","gitHead":"3872cdf912a6b49d13e44138cf7e388a8448adcd","bugs":{"url":"https://github.com/altack/nx-bundlefy/issues"},"homepage":"https://github.com/altack/nx-bundlefy#readme","_id":"@altack/nx-bundlefy@0.16.0","_nodeVersion":"16.14.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-88+u9NzGpcpUeCjBiyocm/KL8a5awS7EEp0qea1JeFSy2X9RuAhlAydBADZJrhnYMa2xVK4MZidomsreuZRvyg==","shasum":"37a82a012034b7b551b0410fe6eb4b563aa5b4e2","tarball":"https://registry.npmjs.org/@altack/nx-bundlefy/-/nx-bundlefy-0.16.0.tgz","fileCount":8,"unpackedSize":14850,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCv8vlfFuRcL2Cg5YncLnIpZ4gFmj/+hsJllh6WYYgmAIhAOSwwU7T5RLj02zw5ZZ1H/48ixUl32c4wITOsT4N7B2d"}]},"_npmUser":{"name":"guzmanoj","email":"guzmanoj89@gmail.com"},"directories":{},"maintainers":[{"name":"guzmanoj","email":"guzmanoj89@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nx-bundlefy_0.16.0_1690796493040_0.0827599470408531"},"_hasShrinkwrap":false},"0.15.0":{"name":"@altack/nx-bundlefy","version":"0.15.0","repository":{"url":"git+https://github.com/altack/nx-bundlefy.git"},"description":"Nx executor to ensure that all the buildable dependencies of the publishable library are bundled together with the library","main":"./dist/index.js","executors":"./executor.json","scripts":{"build":"npx tsc"},"dependencies":{"tslib":"^2.5.0"},"peerDependencies":{"@nrwl/devkit":"^15.9.5","@nrwl/js":"^15.9.5","@nrwl/workspace":"^15.9.5","validate-npm-package-name":"^5.0.0"},"keywords":["nx","bundle","publishable library","executor","tsc"],"author":{"name":"Jose Guzman","email":"guzmanoj@altack.com"},"license":"MIT","publishConfig":{"access":"public"},"devDependencies":{"@types/node":"^20.4.5"},"types":"./dist/index.d.ts","gitHead":"baaaa71cd428e898d2c834df422d7c50ba5a2f85","bugs":{"url":"https://github.com/altack/nx-bundlefy/issues"},"homepage":"https://github.com/altack/nx-bundlefy#readme","_id":"@altack/nx-bundlefy@0.15.0","_nodeVersion":"16.14.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-U8tEuWacVRlty93cUULHkFU0HgClPwXeLTYeCIYuUnl35JEjbulEqVOq/atPxbXTAbDV8g5LOebjkth+/Wg2Ww==","shasum":"6eb190dcb7952f4843b7cd1e345b245706c1a274","tarball":"https://registry.npmjs.org/@altack/nx-bundlefy/-/nx-bundlefy-0.15.0.tgz","fileCount":8,"unpackedSize":14914,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCz9tMycU2SlCHEf9nX6cagvLsomJZI7uXVRRR4/KK7WAIgbLE3vkYUGTD8gwQlUgSjuvUKAJSLQxpfMPikpKWd+/I="}]},"_npmUser":{"name":"guzmanoj","email":"guzmanoj89@gmail.com"},"directories":{},"maintainers":[{"name":"guzmanoj","email":"guzmanoj89@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nx-bundlefy_0.15.0_1696966276232_0.5163049015699748"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-16T13:02:40.087Z","0.0.1":"2023-05-16T13:02:40.310Z","modified":"2023-10-10T19:31:16.743Z","0.0.2":"2023-05-16T13:30:03.996Z","0.16.0":"2023-07-31T09:41:33.218Z","0.15.0":"2023-10-10T19:31:16.542Z"},"maintainers":[{"name":"guzmanoj","email":"guzmanoj89@gmail.com"}],"description":"Nx executor to ensure that all the buildable dependencies of the publishable library are bundled together with the library","keywords":["nx","bundle","publishable library","executor","tsc"],"author":{"name":"Jose Guzman","email":"guzmanoj@altack.com"},"license":"MIT","readme":"# nx-bundlefy\n\nNx executor to ensure that all the buildable dependencies of a publishable library are part of the final bundle.\n\n## Installation\n\n```bash\nnpm install -D @altack/nx-bundlefy\n```\n\nAlso make sure to install the required peer dependencies:\n\n```bash\nnpm install -D @nrwl/js @nrwl/devkit @nrwl/workspace validate-npm-package-name\n```\n\n## Configuration\n\nTo use the executor, make sure to adjust your publishable library's `project.json`:\n\n```json\n{\n  \"$schema\": \"../../node_modules/nx/schemas/project-schema.json\",\n  \"sourceRoot\": \"libs/publishable-library/src\",\n  \"targets\": {\n    \"bundlefy\": {\n      \"executor\": \"@altack/nx-bundlefy:run\",\n      \"configurations\": {},\n      \"dependsOn\": [\"build\"],\n      \"outputs\": [\"{options.outputFile}\"]\n    },\n    \"build\": {\n      ...\n    }\n  }\n}\n```\n\nAlso make sure that buildable & publishable libraries are created using the `--import-path` modifier.\n\n```bash\nnx g lib my-library --buildable --import-path @org/my-library\n```\n\n## Run the executor\n\nThis will ensure that all the buildable libraries are bundled as part of the library build\n\n```bash\nnx run publishable-library:bundlefy\n```\n\n## Further reading\nFor a more detailed explanation, see this [Stack Overflow question](https://stackoverflow.com/questions/73551220/how-to-publish-nx-library-with-its-dependencies-bundled/) and the open issue in the [Nx's repository](https://github.com/nrwl/nx/issues/4620)","readmeFilename":"README.md","homepage":"https://github.com/altack/nx-bundlefy#readme","repository":{"url":"git+https://github.com/altack/nx-bundlefy.git"},"bugs":{"url":"https://github.com/altack/nx-bundlefy/issues"}}