{"_id":"@azu/lerna-to-typescript-project-references","_rev":"4-947add662fb508ad37d156a035c94a3a","name":"@azu/lerna-to-typescript-project-references","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.1":{"name":"@azu/lerna-to-typescript-project-references","version":"1.0.1","description":"Keep package dependencies synchronized between lerna and typescript.","author":{"name":"Chris Mohr"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/chrismohr/lerna-to-typescript-project-references.git"},"bin":{"lerna-to-typescript-project-references":"dist/cli.js"},"dependencies":{"arg":"^4.1.0","prettier":"^1.0.0"},"devDependencies":{"@types/node":"^12.0.7","@types/prettier":"^1.16.4","pre-commit":"^1.2.2","pretty-quick":"^1.11.0","typescript":"^3.5.1"},"peerDependencies":{"lerna":"^3.2.0","typescript":"^3.0.1"},"scripts":{"build":"tsc --build && chmod +x dist/cli.js","prepublishOnly":"npm run build","pretty-quick":"pretty-quick --staged","watch":"tsc --build --watch"},"pre-commit":"pretty-quick","gitHead":"c2c5142df43b9572ea9f7ed791748108a3114e7f","bugs":{"url":"https://github.com/chrismohr/lerna-to-typescript-project-references/issues"},"homepage":"https://github.com/chrismohr/lerna-to-typescript-project-references#readme","_id":"@azu/lerna-to-typescript-project-references@1.0.1","_nodeVersion":"12.12.0","_npmVersion":"6.13.6","_npmUser":{"name":"azu","email":"azuciao@gmail.com"},"dist":{"integrity":"sha512-fn8bSGVUGwBxFOsBTtRLXGc+gOcSOiEYQQjasubxg8AZWzwVqzuIF1NgHJfaDeMyvKDqUoos9dzjjGUEVzjwyA==","shasum":"c3ee0e6a5cb47ecf8a5e22ba0ae74b5b8176d16d","tarball":"https://registry.npmjs.org/@azu/lerna-to-typescript-project-references/-/lerna-to-typescript-project-references-1.0.1.tgz","fileCount":5,"unpackedSize":8585,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemEziCRA9TVsSAnZWagAAP9wP/3mpSotfw5PDwX6DwvWJ\n71M7wvCn7ChsAHxKVKw6p6ga2YpiZX1xl+XSh+tPM9m/dQwZ0vQgl+ksEWl9\njiJbSjVjUeJ0VA3ZEa1HTd0GbZGuhHuW83curjJNz8QiELm5R0OrSS+s9YnO\n4NX10gAoWwUWN0B73wj7yj+jk2SYE4n6wouQnwHJJCCAHevePy1DtpVeV4MN\nYjNLJFnl+Xw2ut86y/y0h0OzQbe9KN3bjBhNoXqfZd2ti/ehZ1GstxzLd5ap\n6npytdj6ttBEPYGtPmk8kghwjtRPC6cdD5CnKfvuECWbiTKOeN//sKjV325q\nROJlEPBex/+0krHYeNCcyRt04CZikX+RZmFZiWU8rX/cITWV2amDaXZEzvja\nvOCXkBSrPDBaS/22jEjp6+5LuY1ioZlKfT3L0J45R5ie7xLaQzneDm0Gx7Cg\nDzfXYLEAeJUdz/ePGM2kK/E3T7YcRcTsg5FCqnO88qUI+aKePKNPM8BW+Dgl\ndgM4Fu8YKd9UnOF34GqvSs6f32uY+XfBTIrxeWSIfAGnEeCzXxC/A0NQmY+e\n2+MAvEGabEQoaW1M0ck/Qypo4V3lzSCoAvksMAJuzAYScoRuYiUI5xJ73WBD\nsJvxpNK7n4nujHv53g4/2MGuvAFCoNzPA3cTwR29cwNPe1+U2CBM+9i9eJ1I\nmpTI\r\n=i4bS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDVxl3Jyvs6xQwuekguH6nrakIG4bEWFXa3ko5yuhGDQIgLfH5mhoe19r4H9QDGNvXHuoK4Xg9foI5cM8p0VF5+qI="}]},"maintainers":[{"name":"azu","email":"azuciao@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lerna-to-typescript-project-references_1.0.1_1587039458154_0.18874205330075644"},"_hasShrinkwrap":false},"1.0.2":{"name":"@azu/lerna-to-typescript-project-references","version":"1.0.2","description":"Keep package dependencies synchronized between lerna and typescript.","author":{"name":"Chris Mohr"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/chrismohr/lerna-to-typescript-project-references.git"},"bin":{"lerna-to-typescript-project-references":"dist/cli.js"},"dependencies":{"arg":"^4.1.0","prettier":"^1.0.0"},"devDependencies":{"@types/node":"^12.0.7","@types/prettier":"^1.16.4","pre-commit":"^1.2.2","pretty-quick":"^1.11.0","typescript":"^3.5.1"},"peerDependencies":{"lerna":"^3.2.0","typescript":"^3.0.1"},"scripts":{"build":"tsc --build && chmod +x dist/cli.js","prepublishOnly":"npm run build","pretty-quick":"pretty-quick --staged","watch":"tsc --build --watch"},"pre-commit":"pretty-quick","gitHead":"e3b60a73a0a5de3e2aa7e3de05f0e589fe43a813","bugs":{"url":"https://github.com/chrismohr/lerna-to-typescript-project-references/issues"},"homepage":"https://github.com/chrismohr/lerna-to-typescript-project-references#readme","_id":"@azu/lerna-to-typescript-project-references@1.0.2","_nodeVersion":"12.12.0","_npmVersion":"6.13.6","_npmUser":{"name":"azu","email":"azuciao@gmail.com"},"dist":{"integrity":"sha512-2duqACH3Shk/KuTv20OLy2SAyFpq07ztUgmM1LtNk/sX98XCka6kU8VhgUs2RgIY+K94+35KRVRBEv15H/gSbQ==","shasum":"7ae7a03ea3df8568796c71bd4f6f3f582d6049e2","tarball":"https://registry.npmjs.org/@azu/lerna-to-typescript-project-references/-/lerna-to-typescript-project-references-1.0.2.tgz","fileCount":5,"unpackedSize":8702,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemE62CRA9TVsSAnZWagAADMIP/RVnZVge2o1kJ5dE68hl\nZTXYe+xWaZqN2/0LkkegNdkRXsld4natG6qFbIVVSAB7trE2KSXUExcrAqR5\nz6AND2muFyWdcLRVrTGjVe1SHWK869C3KgrgVVxRoHtjXpCAocE5bUkmkynP\nFgG4VGeEH6WWS9P4iTjNeSuH1O+rxXyRTZXVPK5d63xBHZa35U+Qvs8gXOQk\nFpzRLiBiQvmCeC1hvr+qkLZ3zfLTzcfAwQHRwH5Q/H3KPfiHmg91Wfr8s835\nPKJpSOhIT0cXouct76Lk9UU3z/KFBkk7FfDigIHCtCaZUXC9nDg9BNC7bE3z\n7cb60RApZBOFH1e3Rel00APn54DR7BBzjpdOJz21FuWw83Doz2BB87LTuxxz\nM50045z3jlODc29BfvMqf/1HAmWw8x1/cSb2o4TYFXlbXb7SJxW1YkdBAZcT\nCb+l+n9EY7vhTPNAVIZ4/qF2MO0Zzq1NS5rkwsQyf6IHZ8ahzS3fTpbuU2Ej\n2i5/eU65d74WUNXletDNM9sWGZzZjQ9Ff6MoVbral5gyNzA92Xz/iS6RKGWo\nHOhOekFg1z9DDLmMv5TCTFDuGRx1USnTsAX4hgVd6cuX8L8woRFARnsRGVeR\nGbfF4jr0i0wdv72Qyd+H8Pe6YDSQEwWLlFA80A9X0JtBLcGCvWfx9fAp7s6Y\nAtgy\r\n=bBW0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFTLamFkci8ThKZEM6tRq2vXJPSMAyUM6Oa3O0R4k/0oAiBfh2owklftzqqNKHhsQ7QqF9Z9Vrgq4p2IvaMo2FkL/A=="}]},"maintainers":[{"name":"azu","email":"azuciao@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lerna-to-typescript-project-references_1.0.2_1587039926578_0.9542143347793621"},"_hasShrinkwrap":false},"1.0.3":{"name":"@azu/lerna-to-typescript-project-references","version":"1.0.3","description":"Keep package dependencies synchronized between lerna and typescript.","author":{"name":"Chris Mohr"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/chrismohr/lerna-to-typescript-project-references.git"},"bin":{"lerna-to-typescript-project-references":"dist/cli.js"},"dependencies":{"arg":"^4.1.0","prettier":"^1.0.0"},"devDependencies":{"@types/node":"^12.0.7","@types/prettier":"^1.16.4","pre-commit":"^1.2.2","pretty-quick":"^1.11.0","typescript":"^3.5.1"},"peerDependencies":{"lerna":"^3.2.0","typescript":"^3.0.1"},"scripts":{"build":"tsc --build && chmod +x dist/cli.js","prepublishOnly":"npm run build","pretty-quick":"pretty-quick --staged","watch":"tsc --build --watch"},"pre-commit":"pretty-quick","gitHead":"75e3cb614859f7fc37f7ff5bd53a4e288555ac5f","bugs":{"url":"https://github.com/chrismohr/lerna-to-typescript-project-references/issues"},"homepage":"https://github.com/chrismohr/lerna-to-typescript-project-references#readme","_id":"@azu/lerna-to-typescript-project-references@1.0.3","_nodeVersion":"12.12.0","_npmVersion":"6.13.6","_npmUser":{"name":"azu","email":"azuciao@gmail.com"},"dist":{"integrity":"sha512-tc2ZUTrMLQlciCcSiZL/28BEPdxRk+XI+DO5KTW5pcONdCT5oRYDngYUW1QDW1nVnStsGg3R1NPHm/IQfxXLHQ==","shasum":"0aeed220857c270877ac2c1045d5992dd7b154b3","tarball":"https://registry.npmjs.org/@azu/lerna-to-typescript-project-references/-/lerna-to-typescript-project-references-1.0.3.tgz","fileCount":5,"unpackedSize":8825,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemFVwCRA9TVsSAnZWagAAnOoP/3iMDxj2SZlxHFT75mna\n7M4NeTBxPQD1UhYreISMlH6lLvDuUgTY1ptZq2sMVHQFNTMXIMqeoaNZioGi\n7BLkRVKvD6oIuKk5yjIFlsbd5TzsuHWP/41jU6p3pymEg/S2KOkIrHmttpBi\nQUa++e+neJ5pPpEI0Mm0FUy95Mz/DVTq6KEjZC5909MVd5AiwpbuILemSJuv\n/vsHPy+Jt7ExqDA3alL35jRGN7e9fD8c+IW8F9JRjM64l3QVL25j1IlvLrGL\nQ9dVnxCNl/NjE+B7XrrJ7d5byzZThSJNKcuBWYl9EGoANvlbaPOvFEz/kq8b\n8Ee3oFyokPopwm4jBOCiz3kspSdtNFOZNkloVfLBd1z3R7shIsyUWlgdHaIQ\ntY39CD9e1gxLdMHB64j4qKu3AYJXcvq9hryzIJ19eXJtGSydbx21taWKAikT\nNW+HxV6mc0LBPSn6oYzHI4+mTKvkAp2Uk8zZkJ71FT1xtEMFCSzEEvYcCNAq\nFchktaLUIyK+RbekD10oJpzYA0x/75QTVvnrmvU5fZSYlkDbR1o744oOW77A\n4XfprTfBOxxyn3dYZpWjFN+vK9SPWiTV/DLxcfOLcEdRDzmPFI7QmAJ8vVcB\n3zxaqGA/U8G6hoezXurzo0erDZyJtgTLo+DuLo9ZYmGg+BG+SNviKen/HqrK\nyrT6\r\n=XqU9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID+eswF9B6+ndQ4flQCLm3zzKkX/4C1HG1ITBjCxyG/yAiEAvOdHRrPXw6TRzn0fFaMmRhr6Q4NULWowTppPhkGQMqU="}]},"maintainers":[{"name":"azu","email":"azuciao@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lerna-to-typescript-project-references_1.0.3_1587041647872_0.1507256247607749"},"_hasShrinkwrap":false},"1.0.4":{"name":"@azu/lerna-to-typescript-project-references","version":"1.0.4","description":"Keep package dependencies synchronized between lerna and typescript.","author":{"name":"Chris Mohr"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/chrismohr/lerna-to-typescript-project-references.git"},"bin":{"lerna-to-typescript-project-references":"dist/cli.js"},"dependencies":{"arg":"^4.1.0","prettier":"^1.0.0"},"devDependencies":{"@types/node":"^12.0.7","@types/prettier":"^1.16.4","pre-commit":"^1.2.2","pretty-quick":"^1.11.0","typescript":"^3.5.1"},"peerDependencies":{"lerna":"^3.2.0"},"scripts":{"build":"tsc --build && chmod +x dist/cli.js","prepublishOnly":"npm run build","pretty-quick":"pretty-quick --staged","watch":"tsc --build --watch"},"pre-commit":"pretty-quick","gitHead":"7d1ade6053ec8be83585b7858c9393023335cdca","bugs":{"url":"https://github.com/chrismohr/lerna-to-typescript-project-references/issues"},"homepage":"https://github.com/chrismohr/lerna-to-typescript-project-references#readme","_id":"@azu/lerna-to-typescript-project-references@1.0.4","_nodeVersion":"12.12.0","_npmVersion":"6.13.6","_npmUser":{"name":"azu","email":"azuciao@gmail.com"},"dist":{"integrity":"sha512-PszeV0gyIAY6U+xFbjCCFHFFucgYm5te12iuXXeHFszB81wcEgGGfqBdVCdIoKDPllZ4Knzftz969LXPwefNXA==","shasum":"de7901eeef7ab2ac5b93bc9a2e04839383b9a730","tarball":"https://registry.npmjs.org/@azu/lerna-to-typescript-project-references/-/lerna-to-typescript-project-references-1.0.4.tgz","fileCount":5,"unpackedSize":8797,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemwvyCRA9TVsSAnZWagAALkAP/jP96QEN2QpPnSwAgvkA\nFT5e+sjR1SAZpiRBEyPXGzJ/MzFta33j1LfmkQAJskhgfvUk+R6wlX3zwM1H\nuH2EU8KHBcq02KsP+yPzVAfSEWlmBgwCy8wTCCYbr03EOtE2tz0RfqGGBknY\nFzvBGvOX2+zrk3BG8TO5H5uvTecMSAm9hTQ3KTdf/l9q1La+IJormmArO2r3\nObmaP9OpSIr2BtXumuafgWjOif5HGb4L6Grg1vCJbwOEtc9bSP2zx0k860lI\n3taIrNrDmoNJTjExtePdirutwcxo2ihgNniCpJH72HferuTHMkQcxe1TTNoF\nAHAIBYJLO17ccZx9fGxvv4TUdIW3FyR80sTYKvDQ6WSRZF77aiFheDvP2Ifr\nE+UNsnLD6ww7ocKWB9tZDCiw/VEgk1LV7x4F9koslX+MfJNUnyNn0usuKNqV\nrSqeA2Adjh1gUqp9gAY0o4I8dWlK5WdGx0v9KCe+SvJr9PymkjYcKrS0ZkpQ\navp9RvcrBHM55QzG8g7RUxOR57oRqxrioNDhBSeKJMyhzU11J9EwiqZjlVkR\njBiplYnRTRlBPVhIqBbw1TKvIhvLPwgPLRO6OuwcVtyJlJvRPFBUAmk4ZyHF\n5WtFxUrrycIo4E4nzTSfqt1bcfniufPiXYWbngdTXFaFZ5F4Z+OAoPK2SHND\ntvWD\r\n=QWa4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmfaLVu2Ny9+medQJfM3yGdnV91KHMU6QAbHiCbUO5YQIgNzUDiTf5d/eeva3bBzThcttzgzsVwM11YAUetoJ1stM="}]},"maintainers":[{"name":"azu","email":"azuciao@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lerna-to-typescript-project-references_1.0.4_1587219441972_0.1521839435690353"},"_hasShrinkwrap":false}},"time":{"created":"2020-04-16T12:17:38.105Z","1.0.1":"2020-04-16T12:17:38.298Z","modified":"2022-04-04T17:17:10.588Z","1.0.2":"2020-04-16T12:25:26.688Z","1.0.3":"2020-04-16T12:54:07.986Z","1.0.4":"2020-04-18T14:17:22.183Z"},"maintainers":[{"name":"azu","email":"azuciao@gmail.com"}],"description":"Keep package dependencies synchronized between lerna and typescript.","homepage":"https://github.com/chrismohr/lerna-to-typescript-project-references#readme","repository":{"type":"git","url":"git+https://github.com/chrismohr/lerna-to-typescript-project-references.git"},"author":{"name":"Chris Mohr"},"bugs":{"url":"https://github.com/chrismohr/lerna-to-typescript-project-references/issues"},"license":"MIT","readme":"# lerna-to-typescript-project-references [![npm version](https://badge.fury.io/js/lerna-to-typescript-project-references.svg)](https://www.npmjs.com/package/lerna-to-typescript-project-references)\n\nKeep package dependencies synchronized between Lerna and TypeScript.\n\nThis simple script runs over packages in a Lerna monorepo, and matches local package dependencies to project references within TypeScript config files.\n\nBy default it'll exit and return an error when a mismatched dependency is found. This is useful for CI scenarios, where you may want to avoid merging a change where you've mistakenly added an unmatched dependency.\n\nWith the update flag set, `lerna-to-typescript-project-references` will update TypeScript config files to match the dependencies found in the package files.\n\n## Command Line Usage\n\n```\nUsage: lerna-to-typescript-project-references.js [options]\n\nOptions:\n  --update [boolean]           # Whether to write updates to ts config files.\n  --tsConfigFileName [string]  # Set a custom name for your ts config file.  eg. tsconfig.dist.json\n```\n\n## Examples\n\nWith no options, and configuration file in need of updating.\n\n```\n> lerna-to-typescript-project-references\n\n@example/pkg1 - 0 dependencies found.\n@example/pkg2 - 1 dependencies found. All match project references in tsconfig.json.\n**FAIL** - @example/pkg3 - Some dependencies didn't match.\n**FAIL** - @example/pkg3 - From npm packages: ../pkg1,../pkg2\n**FAIL** - @example/pkg3 - From tsconfig.json: ../pkg1\nnpm ERR! code ELIFECYCLE\n```\n\nWe can see from the output that the `tsconfig.json` file in pkg3 is missing a reference to `../pkg2`. To have `lerna-to-typescript-project-references` update it for us, we can run it again, with the update flag enabled.\n\n```\n> lerna-to-typescript-project-references --update\n\n@example/pkg1 - 0 dependencies found.\n@example/pkg2 - 1 dependencies found. All match project references in tsconfig.json.\n**UPDATE** - @example/pkg3 - Some dependencies didn't match. Writing 2 dependencies to tsconfig.json.\n```\n\nNow if run without options again, the script completes without error since all the dependencies match.\n\n```\n> lerna-to-typescript-project-references --update\n\n@example/pkg1 - 0 dependencies found.\n@example/pkg2 - 1 dependencies found. All match project references in tsconfig.json.\n@example/pkg3 - 2 dependencies found. All match project references in tsconfig.json.\n```\n","readmeFilename":"README.md"}