{"_id":"@ardatan/bob-the-bundle","_rev":"1-27229f5d6b918142d9601a2d5ed09e32","name":"@ardatan/bob-the-bundle","dist-tags":{"latest":"1.2.6"},"versions":{"1.2.6":{"name":"@ardatan/bob-the-bundle","version":"1.2.6","description":"Bob The Bundler!","author":{"name":"Kamil Kisiela","email":"kamil.kisiela@gmail.com","url":"https://github.com/kamilkisiela"},"repository":{"url":"git@github.com:kamilkisiela/bob.git","type":"git"},"main":"dist/index.js","bin":{"bob":"dist/index.js"},"license":"MIT","dependencies":{"@rollup/plugin-node-resolve":"7.1.1","builtins":"4.0.0","consola":"2.11.3","cosmiconfig":"6.0.0","cross-spawn":"7.0.1","fs-extra":"9.0.0","globby":"11.0.0","lodash.get":"4.4.2","minimatch":"3.0.4","mkdirp":"1.0.4","p-limit":"2.2.2","param-case":"3.0.4","rollup":"2.3.2","rollup-plugin-generate-package-json":"3.2.0","rollup-plugin-typescript2":"0.27.0","tslib":"^1.11.1","yargs":"15.3.1"},"scripts":{"prepublish":"yarn build","build":"tsc && ncc build src/action.ts -o action"},"devDependencies":{"@actions/core":"1.2.6","@types/cross-spawn":"6.0.1","@types/fs-extra":"8.1.0","@types/lodash.get":"4.4.6","@types/minimatch":"3.0.3","@types/mkdirp":"1.0.1","@types/node":"13.11.0","@types/yargs":"15.0.4","@zeit/ncc":"0.22.0","typescript":"3.8.3"},"publishConfig":{"access":"public"},"_id":"@ardatan/bob-the-bundle@1.2.6","dist":{"shasum":"9b79ca0ccc6a10435ee1771833f3cc1fe29bb999","integrity":"sha512-xslm3ykRJMz4LnGd2BBBEZnFWfEzAznjoDeZMAerzEhsoMRDKOfCNbLVhXFXsF3nYiNOp7OxiOF3PV1/hiCwLg==","tarball":"https://registry.npmjs.org/@ardatan/bob-the-bundle/-/bob-the-bundle-1.2.6.tgz","fileCount":33,"unpackedSize":41652,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgv7xHCRA9TVsSAnZWagAAj7oP/RgOIHDRthq3qNpQe8zI\nNXwalV+5jqQhN5NmHpyEGoJtXf4x619ylMCG8jda8beA8k8/x/roI2FyiE/2\n0LI2vprDrT8YpXZDpuTBfZ++CXZGb56BDl07CjNfOA+fOmwRwpirKRN6B3U1\n4NFrUHwYfmYebK/YJD+jx52Hmc03fvG5gL9jn1nIlWu9pb2B5TqalXdxbqad\nH6x/kHY3AugmMe2ILrck8P59eGMCuFTsU7YKNfcUWDC6IflUppYc/7UHfQwH\nmEcVQ5oBK6ZYuLn4zCNlz+qblm+Yd5tl4Y2uLlMdfhK1aN8j2EcIMj4bTfio\nV8pOdeyVXfKrIAbPgmTMI8B5AyDrhnr4FvrGFBhKho/+/LhAVQwiujZdzfPP\nDdMQJZUMZ9vIAjzjNVEtNT5r746sJ86QKhW2d/Iik0s39W1+GKIe+4LOA0z7\nOmUtvtEE7zxq43hTrAS7K+j7IafQMDgBOlI6Qe1oQ3Gj7BA84V7BamDYT2ua\n6g8m1CBV2vJFco+Iq1XDRAPDpdpkij/Imx01jMZ9eAc9Bas+NDyqGYmT+Mzt\nEVs3MjKO8cESeDBplE57xm/Qxrxq9xTS6N8qa76LKoKFjy/Bpy8ZHDMW8sb9\nkhmDYlDankwTBQVWQHBjlhAEwGNfBRTnz3vYAuaPFGOaP5jMnJa7EyqJgpBf\nPVJ7\r\n=cvRq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9Ca2dJVhijA7X8W8y37d0WnsDUrtD9FEeGpAPC+ycGQIhAI6MhB+cU6++zmO2/hgX0MJy0dcoT3F3bm7TAQn2M1+3"}]},"_npmUser":{"name":"ardatan","email":"ardatanrikulu@gmail.com"},"directories":{},"maintainers":[{"name":"ardatan","email":"ardatanrikulu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bob-the-bundle_1.2.6_1623178311661_0.6731249629947014"},"_hasShrinkwrap":false}},"time":{"created":"2021-06-08T18:51:51.575Z","1.2.6":"2021-06-08T18:51:51.809Z","modified":"2022-04-04T15:22:21.980Z"},"maintainers":[{"name":"ardatan","email":"ardatanrikulu@gmail.com"}],"description":"Bob The Bundler!","repository":{"url":"git@github.com:kamilkisiela/bob.git","type":"git"},"author":{"name":"Kamil Kisiela","email":"kamil.kisiela@gmail.com","url":"https://github.com/kamilkisiela"},"license":"MIT","readme":"# Bob (The Bundler)\n\nThere's no documentation yet but you can check [GraphQL Code Generator](https://github.com/dotansimha/graphql-code-generator) repository to see how to use Bob.\n\n## Requirements\n\n- Supports only scoped packages (same scope)\n- Yarn Workspaces\n- TypeScript with Paths\n- It's so strict you shouldn't use it!\n\n## Configuration\n\nBob only accepts `bob.config.js` in root directory:\n\n```js\nmodule.exports = {\n  scope: \"@graphql-codegen\", // Scope of organization\n  ignore: [\"@graphql-codegen/website\", \"@graphql-codegen/live-demo\"], // ignored packages\n  track: [\n    // files in root that mark the entire workspace as dirty\n    \"bob.config.js\", // we could include it in Bob itself but we decided to turn your life into hell :)\n    \"jest.config.js\",\n    \"jest-project.js\",\n    \"package.json\",\n    \"tsconfig.json\",\n    // files in packages that mark the package as dirty\n    \"<project>/src/**\",\n    \"<project>/jest.config.js\",\n    \"<project>/package.json\",\n    \"<project>/tsconfig.json\",\n  ],\n  base: \"origin/master\", // we need to compare against something\n  commands: {\n    test: {\n      track: [\"<project>/tests/**\"],\n      run(affected) {\n        // {\n        //   paths: string[] <- ['packages/core', 'packages/cli']\n        //   names: string[] <- ['@foo/core', '@foo/cli']\n        // }\n\n        // why such a weird syntax? We use spawn, so you have too\n        return [`yarn`, [\"test\", ...affected.paths]];\n      },\n    },\n    build: {\n      run() {\n        return [`yarn`, [\"build\"]];\n      },\n    },\n  },\n};\n```\n\n## Build Options\n\nIn your `<project>/package.json`:\n\n```json\n{\n  \"buildOptions\": {\n    \"external\": [\"simple-git/promise\"], // Marks nested imports as external\n    \"bin\": {\n      \"cli\": {\n        \"input\": \"src/cli.ts\" // Entry point for `cli` command\n      }\n    }\n  }\n}\n```\n\n## Support for Node ES Modules\n\nIn your `<project>/package.json`, just add `\"exports\"` like this:\n\n```json\n{\n  \"main\": \"dist/index.cjs.js\",\n  \"exports\": {\n    \"require\": \"dist/index.cjs.js\", // should match \"main\"\n    \"default\": \"dist/index.mjs\" // should ends with \".mjs\" extension\n  }\n}\n```\n\n## Usage\n\n```bash\n\n$ bob affected test\n$ bob affected build\n\n$ bob build\n$ bob prepack\n\n```\n","readmeFilename":"README.md"}