commitizen 4.2.2 → 4.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +20 -0
- package/README.md +51 -51
- package/azure-pipelines.yml +1 -1
- package/dist/cli/git-cz.js +11 -4
- package/dist/cli/parsers.js +2 -2
- package/dist/cli/strategies/git-cz.js +4 -3
- package/dist/commitizen/adapter.js +115 -106
- package/dist/commitizen/cache.js +44 -35
- package/dist/commitizen/commit.js +86 -77
- package/dist/commitizen/configLoader.js +28 -20
- package/dist/commitizen/init.js +101 -93
- package/dist/commitizen/staging.js +77 -34
- package/dist/commitizen.js +5 -3
- package/dist/common/util.js +108 -78
- package/dist/configLoader/findup.js +55 -47
- package/dist/configLoader/getContent.js +85 -77
- package/dist/configLoader/getNormalizedConfig.js +54 -45
- package/dist/configLoader/loader.js +65 -57
- package/dist/git/add.js +32 -23
- package/dist/git/commit.js +98 -89
- package/dist/git/init.js +29 -20
- package/dist/git/log.js +37 -28
- package/dist/git/whatChanged.js +37 -28
- package/dist/git.js +4 -4
- package/dist/index.js +20 -12
- package/dist/npm.js +19 -10
- package/jobs/build.yml +5 -2
- package/logo/commitizen-logo-color.svg +5 -0
- package/logo/commitizen-logo-mono.svg +100 -0
- package/logo/generate.sh +58 -0
- package/package.json +34 -31
- package/.nyc_output/008ebb3c-4a7d-43a5-a710-087af4f7bf00.json +0 -1
- package/.nyc_output/015646b9-9c91-42a4-abad-efe77ab8abb2.json +0 -1
- package/.nyc_output/02a8d2e5-1f24-4fef-b087-99191bcf3dc9.json +0 -1
- package/.nyc_output/034b3282-e696-4895-902d-c4ff3afb9dfa.json +0 -1
- package/.nyc_output/034e7f05-d342-460d-95b1-0f0c607330e3.json +0 -1
- package/.nyc_output/03ed6359-af0f-467d-84bd-efeb6aeb5ff9.json +0 -1
- package/.nyc_output/051cea30-1f32-4e8d-8803-416b6334d53d.json +0 -1
- package/.nyc_output/05befa15-c7db-4160-b79c-479edf237eff.json +0 -1
- package/.nyc_output/05c87e1a-4d72-4148-82cc-c31883d1b39d.json +0 -1
- package/.nyc_output/0981e3ac-3705-4254-857d-0311c335e660.json +0 -1
- package/.nyc_output/09fad201-9646-4da8-bafa-51703850fcf4.json +0 -1
- package/.nyc_output/0a562d2e-7252-40c0-8cd8-a955c80dbe3e.json +0 -1
- package/.nyc_output/0b1e18af-8b3d-44e9-9b2b-c1b64fe9a0b5.json +0 -1
- package/.nyc_output/0b4718de-6dc5-4d9f-b1c0-c8b9661c56f8.json +0 -1
- package/.nyc_output/0bd2dbe9-edf3-4545-a9e7-04abe466b402.json +0 -1
- package/.nyc_output/0c180106-4dc0-46f1-9fc3-82b57fe876a3.json +0 -1
- package/.nyc_output/0cbe3f6a-13e5-4c9b-89db-1ead7dc1a031.json +0 -1
- package/.nyc_output/0e325cda-5043-444d-8df1-8462c61a0f8a.json +0 -1
- package/.nyc_output/130867ec-9a1d-4618-ab3a-2b03a1425291.json +0 -1
- package/.nyc_output/13d8ad60-368d-4a82-82c4-7199967bf585.json +0 -1
- package/.nyc_output/14d2769b-aa5c-408b-9950-932eb7300452.json +0 -1
- package/.nyc_output/17019f25-69c3-4eb1-a8c9-16d740ad9ef3.json +0 -1
- package/.nyc_output/173c79f9-78f7-46d4-a315-e3ac0ce2912f.json +0 -1
- package/.nyc_output/1a40430d-9f09-4f9f-9c21-93b4880924a1.json +0 -1
- package/.nyc_output/1d43280b-0ccc-471f-98d5-3c9997041b59.json +0 -1
- package/.nyc_output/1f52add1-7dc6-4c81-a188-aa76fb5b7abb.json +0 -1
- package/.nyc_output/205c4093-0afe-4159-b88d-33d2e5402e40.json +0 -1
- package/.nyc_output/2138edd7-8f37-4cbc-9455-9b29b26505c3.json +0 -1
- package/.nyc_output/21ca1c4c-ebed-40fb-83d0-6a7711ba6e55.json +0 -1
- package/.nyc_output/2216a829-b114-430e-adb8-433af97c24c8.json +0 -1
- package/.nyc_output/2416d9c4-e053-4a9d-bc58-c0e08bd5db7f.json +0 -1
- package/.nyc_output/26676393-1b34-405f-a3f5-7c138413cd79.json +0 -1
- package/.nyc_output/2718154e-54a5-4da6-a8dd-fdddf81d9c2c.json +0 -1
- package/.nyc_output/27c3df1b-aaba-42c7-be60-04f0aef65a1d.json +0 -1
- package/.nyc_output/2a79f73d-7401-4718-b70f-1bdd069c8ab0.json +0 -1
- package/.nyc_output/2bb28d54-46af-40a7-9ef5-0bac9fdc6feb.json +0 -1
- package/.nyc_output/2cbd2cd7-531c-43f9-b9b3-9ef93a86007b.json +0 -1
- package/.nyc_output/2d7a4ac5-7164-4cd4-b2ab-6bf036f6e08d.json +0 -1
- package/.nyc_output/2e89914b-574c-4d49-be1c-81f57ef7eb65.json +0 -1
- package/.nyc_output/2f7e5b5b-f1a6-4531-a437-547df8552432.json +0 -1
- package/.nyc_output/346c9fb9-1a6e-42e8-b9a1-08b583c6eec3.json +0 -1
- package/.nyc_output/34838c47-048d-4618-8841-6ed71fbdbab6.json +0 -1
- package/.nyc_output/3593930d-a238-4776-83e2-eb1aaa881cb4.json +0 -1
- package/.nyc_output/35c5bf36-57a9-46db-bd79-e9fc84e8f901.json +0 -1
- package/.nyc_output/36d1df54-53ed-435d-bfe3-90e5082b1bfc.json +0 -1
- package/.nyc_output/379d8292-bf11-4eda-a8c8-341737b06492.json +0 -1
- package/.nyc_output/38f29209-75b0-4b3b-ae2e-0fa64d755a79.json +0 -1
- package/.nyc_output/3a00ed58-1e28-4232-8d85-96de218b2084.json +0 -1
- package/.nyc_output/3d89cc9f-2ae5-471c-962c-f3f8cd123b21.json +0 -1
- package/.nyc_output/3dc9a022-2133-499d-8a6d-62cea68139d2.json +0 -1
- package/.nyc_output/3e009de7-8576-4cb9-8c12-91b48134bdd7.json +0 -1
- package/.nyc_output/3ea12260-5484-4329-a530-5d91f5f49566.json +0 -1
- package/.nyc_output/41b2bc1a-bc35-4f7d-87a1-77b02068f9bf.json +0 -1
- package/.nyc_output/42ca82be-7199-423c-9262-e888aef65eb5.json +0 -1
- package/.nyc_output/43494de5-dcd0-4c28-9adc-349653591319.json +0 -1
- package/.nyc_output/45b2cd3c-33db-4171-9eee-d52cf42c9644.json +0 -1
- package/.nyc_output/45db76aa-4350-4c32-a1dc-a4794ed10998.json +0 -1
- package/.nyc_output/467ff03b-2cc7-4df8-9fe8-6715336219a4.json +0 -1
- package/.nyc_output/468648c2-f3ea-48ab-92e6-d1f5c369cee5.json +0 -1
- package/.nyc_output/46a0f954-94be-4c7e-b33e-1eb8b206d38b.json +0 -1
- package/.nyc_output/46c7519d-a18a-453a-bfee-3cfc5f77bcd7.json +0 -1
- package/.nyc_output/46ca9d2a-9314-4d9a-ae9b-ebe1ed1fb198.json +0 -1
- package/.nyc_output/487199e4-7a66-444d-b60f-0a7dec153f5a.json +0 -1
- package/.nyc_output/492312e3-e61f-4d7e-99b6-75b9eb6fc89c.json +0 -1
- package/.nyc_output/49512e40-0d28-4fb0-8947-f3a4f8757d9f.json +0 -1
- package/.nyc_output/4a6561c3-b91e-464c-ae61-47cc3c6dff96.json +0 -1
- package/.nyc_output/4b073674-e7b8-4c1d-91dd-8cc9fa3841d8.json +0 -1
- package/.nyc_output/4cb123da-d853-4334-9f96-84c7cfd5c8ca.json +0 -1
- package/.nyc_output/555fada2-aa93-443c-a519-651198564fd2.json +0 -1
- package/.nyc_output/55736840-0b01-49f8-a922-ba1d6a2eae88.json +0 -1
- package/.nyc_output/562f12e1-0748-4f57-9263-ffdaecb1ab6b.json +0 -1
- package/.nyc_output/57f8a684-e28b-46ee-886c-c7cc8f01142c.json +0 -1
- package/.nyc_output/58e78dc2-1fb4-4ad3-af21-a5c0f0c08361.json +0 -1
- package/.nyc_output/5a096d7b-ec23-40e2-b2f2-245f11f0bb87.json +0 -1
- package/.nyc_output/5aa2e183-43a0-4490-991e-4f8ebb862654.json +0 -1
- package/.nyc_output/5aceb7af-d6bd-4a21-b6a4-67b1da3256f8.json +0 -1
- package/.nyc_output/5ce1436d-e3bc-4206-a2a0-874259890142.json +0 -1
- package/.nyc_output/5d436099-ebe3-4efa-9868-852a93ecfca0.json +0 -1
- package/.nyc_output/5d689f57-f946-4157-901b-1d52320e8e3b.json +0 -1
- package/.nyc_output/5dfc6d53-866a-41d5-a9af-6f4809269ce6.json +0 -1
- package/.nyc_output/5e953e42-d239-46c0-895c-064a43f2f7dc.json +0 -1
- package/.nyc_output/5ed6d2a0-a551-4928-a783-21a47e50a360.json +0 -1
- package/.nyc_output/60d8eddf-1878-4a22-aa07-24afb5829e72.json +0 -1
- package/.nyc_output/6506bce0-7ace-4046-bdac-c30f7cb0c14c.json +0 -1
- package/.nyc_output/654fadd1-aa00-49d1-bf3f-6f060ef2653e.json +0 -1
- package/.nyc_output/65649a67-2260-4bd3-9e9d-c315e2f2c780.json +0 -1
- package/.nyc_output/656b3594-7068-4bc2-997c-44f2217dbe21.json +0 -1
- package/.nyc_output/6602f777-52c1-475b-bd93-fb52d2d57845.json +0 -1
- package/.nyc_output/66262f44-b2b2-499b-b630-60945a564574.json +0 -1
- package/.nyc_output/66dcdcb5-80a0-4ba7-aedf-49d4f312878f.json +0 -1
- package/.nyc_output/67471537-08ec-43aa-b595-9ca1bc74f182.json +0 -1
- package/.nyc_output/677905a9-74fa-43f4-911c-fb2de014732e.json +0 -1
- package/.nyc_output/67810077-051e-468c-b591-f8bf8616c5fc.json +0 -1
- package/.nyc_output/67fc40d5-b69e-415d-afab-846697dc4c3e.json +0 -1
- package/.nyc_output/6a7631cb-c45a-4777-ae20-90a6cec81b54.json +0 -1
- package/.nyc_output/6b41b15b-63a1-463b-bd79-beae41427a8d.json +0 -1
- package/.nyc_output/6c409786-afa8-4fd4-8b47-de71553bf126.json +0 -1
- package/.nyc_output/6de7dabc-104e-4e84-b37e-bec20017367a.json +0 -1
- package/.nyc_output/6e45dbf0-4974-4f24-940c-a48778cc8168.json +0 -1
- package/.nyc_output/7452c4e5-03a5-4c98-93ba-b1e49d804bb8.json +0 -1
- package/.nyc_output/74651f78-6ae5-4300-830d-1b406c6315ef.json +0 -1
- package/.nyc_output/755afd53-a116-4c4a-a2a7-bac3331cc880.json +0 -1
- package/.nyc_output/79a32b99-9a97-4322-959b-8d12b12a96a4.json +0 -1
- package/.nyc_output/7b676452-f1ba-4b64-af57-798c53ec6ba7.json +0 -1
- package/.nyc_output/7bf0ed66-408f-44c5-918d-038b525e42bd.json +0 -1
- package/.nyc_output/7ce07756-16a1-4275-8fa6-c8967721cea8.json +0 -1
- package/.nyc_output/7ed1000a-60dc-473f-80fa-3bea3941e313.json +0 -1
- package/.nyc_output/806e157f-95cc-436b-a0a3-75d5d74d48c3.json +0 -1
- package/.nyc_output/81601f8c-345a-40ff-accc-b5fe6ab77ee7.json +0 -1
- package/.nyc_output/81edc819-9d51-4e89-98f6-600b8d128bcf.json +0 -1
- package/.nyc_output/8283834c-98e5-426d-ab87-6a91e37368d3.json +0 -1
- package/.nyc_output/8663efc7-8d4c-4909-82bf-a938b902e184.json +0 -1
- package/.nyc_output/875089b8-1e69-4011-9837-911af06b644c.json +0 -1
- package/.nyc_output/87aa1c88-8785-40c7-b652-6bcf0c177fa2.json +0 -1
- package/.nyc_output/8aa7a24e-4915-4221-babf-c30c5347b165.json +0 -1
- package/.nyc_output/8b3e18ca-7956-4b1c-be09-2e16dd1693a7.json +0 -1
- package/.nyc_output/8c444702-6e29-4dbc-bc2b-66893b23c0de.json +0 -1
- package/.nyc_output/8e449607-951a-41c6-8c96-58aab6d17d57.json +0 -1
- package/.nyc_output/91533225-f0cc-4d0b-8c6b-c973b324ee36.json +0 -1
- package/.nyc_output/92527326-ec1d-442e-9804-8dd077b7d3c1.json +0 -1
- package/.nyc_output/94249bc2-2a9d-4115-931c-8eeabe7230c0.json +0 -1
- package/.nyc_output/945582b5-828a-48ba-94f5-7618ced6fa36.json +0 -1
- package/.nyc_output/94fed7a3-fb63-45ca-8e7b-f08e06272471.json +0 -1
- package/.nyc_output/9626d9ea-47ea-4419-8d0d-469251ec7bdf.json +0 -1
- package/.nyc_output/99ae5c73-c9d3-448a-9d36-a7bbad872273.json +0 -1
- package/.nyc_output/9b5b92b1-80c1-47ba-b581-8c0e468b10da.json +0 -1
- package/.nyc_output/9b81ff21-4bb7-4fd9-b16c-07d64d672f1f.json +0 -1
- package/.nyc_output/9fc0d29d-db92-4fc0-969a-16b45fc5722c.json +0 -1
- package/.nyc_output/a05d6471-72e8-44b3-baf6-5c918e2f0d97.json +0 -1
- package/.nyc_output/a5b94086-b77a-4546-afb5-589b39fe0dbd.json +0 -1
- package/.nyc_output/a62672e3-d0c3-4400-b64e-c00937b96f9c.json +0 -1
- package/.nyc_output/a6e4dec3-a9d3-4729-935d-f7f92c597341.json +0 -1
- package/.nyc_output/a808fcd8-7aaf-4d05-898c-e5ddca973e5e.json +0 -1
- package/.nyc_output/ab11f4d7-ce82-4023-9732-8bd482630b49.json +0 -1
- package/.nyc_output/acd7a47c-534a-4050-8546-5f14026dc655.json +0 -1
- package/.nyc_output/af8cb964-97c8-46ab-b4e9-00c761bb0504.json +0 -1
- package/.nyc_output/b08311ab-193a-4f21-bb1e-8101e0102487.json +0 -1
- package/.nyc_output/b0b15068-ba52-4db7-9dc3-b41d0cea1ac9.json +0 -1
- package/.nyc_output/b1b83a9f-e63f-4614-abbd-254e3b13d984.json +0 -1
- package/.nyc_output/b2dae72c-240c-45da-a8bb-0ec2dd2b5b7b.json +0 -1
- package/.nyc_output/b3999953-6123-491d-9870-26a4e2fdc888.json +0 -1
- package/.nyc_output/b59e2850-0d0c-4e8f-a4a8-0d8c368ac5ce.json +0 -1
- package/.nyc_output/b830ab87-da0b-4418-b378-4386c9ccc5e3.json +0 -1
- package/.nyc_output/b8a16112-1cb2-4490-b872-790f931276d5.json +0 -1
- package/.nyc_output/b91ae963-00e6-43aa-89d0-a5dcc5e2d58b.json +0 -1
- package/.nyc_output/b98d6f9a-ecee-4951-935e-8aa3c6b05f7a.json +0 -1
- package/.nyc_output/b9a46fe7-c873-422f-9752-0909663bddef.json +0 -1
- package/.nyc_output/b9f83fa8-ae63-415d-bc98-fa0c5ae81da4.json +0 -1
- package/.nyc_output/baca9d9c-fa5e-43b2-9889-90dbd6a8f230.json +0 -1
- package/.nyc_output/bbd0559b-8948-4ee6-beab-19ab94caf849.json +0 -1
- package/.nyc_output/bc08876b-66d7-4b78-a526-3bf64fa0ca19.json +0 -1
- package/.nyc_output/bcb1d4c2-d80e-42d8-82ba-38649b52266d.json +0 -1
- package/.nyc_output/bda188be-adf6-4bcd-a3f4-d5901b1f38eb.json +0 -1
- package/.nyc_output/c0a41dad-e9c2-4fb4-8314-eef4af76bf0d.json +0 -1
- package/.nyc_output/c0b48e09-7877-4050-80b1-0a677687f882.json +0 -1
- package/.nyc_output/c12cdae6-7805-4370-bb9e-10d95809e4b4.json +0 -1
- package/.nyc_output/c4abb2b3-77e9-4f3c-971f-eadc15c49930.json +0 -1
- package/.nyc_output/c5126223-475c-4be5-8e55-ad46d004e203.json +0 -1
- package/.nyc_output/c74c6433-3be0-4227-b24d-3a167e5f73bf.json +0 -1
- package/.nyc_output/c952783c-769f-42d6-a96b-3ceffdb9d487.json +0 -1
- package/.nyc_output/c9874cd0-9dac-4c24-a066-eb4043d1842b.json +0 -1
- package/.nyc_output/ca3c07c1-f6b9-4b63-b44a-01ca3495790a.json +0 -1
- package/.nyc_output/ca4e0fb2-f6da-4b64-af39-01a90c919bbe.json +0 -1
- package/.nyc_output/ca97a409-32f6-4466-960f-a13a9aa9e8e1.json +0 -1
- package/.nyc_output/cbfc899e-ff8e-4f9f-a606-a65decd2f32b.json +0 -1
- package/.nyc_output/cc338504-aef2-40e5-b2f4-17cdde8d0098.json +0 -1
- package/.nyc_output/cea0ebac-d6af-402e-ae79-874e8390fa35.json +0 -1
- package/.nyc_output/d1b0b3ef-3fd5-40dd-9e25-88ce03ffe783.json +0 -1
- package/.nyc_output/d1cae653-3baa-44a0-b901-cdcbdcee7dbb.json +0 -1
- package/.nyc_output/d42d3ecf-497b-43ef-8370-c013b7dd1e33.json +0 -1
- package/.nyc_output/d5861af9-5a51-4999-9a0e-6d2bc92a6dc3.json +0 -1
- package/.nyc_output/d60e4ca2-f63b-4fbe-af56-86ada80a8251.json +0 -1
- package/.nyc_output/d7143cba-3a2f-4e0f-a841-c7d9a5743b5e.json +0 -1
- package/.nyc_output/d7a419b4-aac1-409c-8903-48aea10e8a25.json +0 -1
- package/.nyc_output/d817aff3-2f17-49a0-a7a6-658aee74177e.json +0 -1
- package/.nyc_output/da790d7c-1299-4b97-b30f-fd07e414d86a.json +0 -1
- package/.nyc_output/dbef913e-9adb-496e-9516-4132c5bee1ed.json +0 -1
- package/.nyc_output/dc8c9ca7-7f73-49e9-b54f-973a067460c6.json +0 -1
- package/.nyc_output/de468091-4fe9-405a-b91c-2c3e083dc7d2.json +0 -1
- package/.nyc_output/de917edb-ed51-464b-822f-6b2dc578bc01.json +0 -1
- package/.nyc_output/deb93bdf-62bd-405e-814a-8aa11f050c65.json +0 -1
- package/.nyc_output/debcbad5-7cb8-4c22-80cc-9bdfe54c6eb3.json +0 -1
- package/.nyc_output/e0c353c4-7313-4e65-a48c-b5df9961a09d.json +0 -1
- package/.nyc_output/e31009b4-f6a9-4b65-a68b-1c107dfd7ca2.json +0 -1
- package/.nyc_output/e490065d-4aca-46b4-8e2e-0e64b57fed92.json +0 -1
- package/.nyc_output/e6babdb0-e1a3-4394-aadc-9940f2835f9b.json +0 -1
- package/.nyc_output/e7ff9ced-8704-4653-ab0b-2b8050ef3791.json +0 -1
- package/.nyc_output/e9caa1b5-d586-452b-b41f-1a0be4e9d742.json +0 -1
- package/.nyc_output/ea2c1f52-19ea-465b-bbff-3c13e58c3c90.json +0 -1
- package/.nyc_output/eaaf6d25-a237-4499-ae65-38b7fe161766.json +0 -1
- package/.nyc_output/ebfb915b-5dbb-4ec2-af7a-a4e2754cfa8c.json +0 -1
- package/.nyc_output/ec94ecd1-79cb-4aa5-8cf5-242755c38547.json +0 -1
- package/.nyc_output/f2534a2e-df8a-40f4-abc2-721f8330faaf.json +0 -1
- package/.nyc_output/f3d8a380-380d-4487-b043-dab82915b8c5.json +0 -1
- package/.nyc_output/f54f91c8-4338-4815-8aa4-2af574d0d5c0.json +0 -1
- package/.nyc_output/f551fabd-efa6-443f-97bf-f9d10efc0ae2.json +0 -1
- package/.nyc_output/f7e7fddf-eace-47e2-94f8-8085fe74a199.json +0 -1
- package/.nyc_output/f7f258e1-96fa-4731-9551-364b6cb82a89.json +0 -1
- package/.nyc_output/f868075a-216e-4a58-b7a3-aec6d414b354.json +0 -1
- package/.nyc_output/f88d7e21-c2f9-4626-8860-fea7d177ceb3.json +0 -1
- package/.nyc_output/fc597309-f67e-49cf-a325-b57d6645c873.json +0 -1
- package/.nyc_output/fed3d2cb-7e7e-4007-be3e-de7cab49b20c.json +0 -1
- package/.nyc_output/processinfo/008ebb3c-4a7d-43a5-a710-087af4f7bf00.json +0 -1
- package/.nyc_output/processinfo/015646b9-9c91-42a4-abad-efe77ab8abb2.json +0 -1
- package/.nyc_output/processinfo/02a8d2e5-1f24-4fef-b087-99191bcf3dc9.json +0 -1
- package/.nyc_output/processinfo/034b3282-e696-4895-902d-c4ff3afb9dfa.json +0 -1
- package/.nyc_output/processinfo/034e7f05-d342-460d-95b1-0f0c607330e3.json +0 -1
- package/.nyc_output/processinfo/03ed6359-af0f-467d-84bd-efeb6aeb5ff9.json +0 -1
- package/.nyc_output/processinfo/051cea30-1f32-4e8d-8803-416b6334d53d.json +0 -1
- package/.nyc_output/processinfo/05befa15-c7db-4160-b79c-479edf237eff.json +0 -1
- package/.nyc_output/processinfo/05c87e1a-4d72-4148-82cc-c31883d1b39d.json +0 -1
- package/.nyc_output/processinfo/0981e3ac-3705-4254-857d-0311c335e660.json +0 -1
- package/.nyc_output/processinfo/09fad201-9646-4da8-bafa-51703850fcf4.json +0 -1
- package/.nyc_output/processinfo/0a562d2e-7252-40c0-8cd8-a955c80dbe3e.json +0 -1
- package/.nyc_output/processinfo/0b1e18af-8b3d-44e9-9b2b-c1b64fe9a0b5.json +0 -1
- package/.nyc_output/processinfo/0b4718de-6dc5-4d9f-b1c0-c8b9661c56f8.json +0 -1
- package/.nyc_output/processinfo/0bd2dbe9-edf3-4545-a9e7-04abe466b402.json +0 -1
- package/.nyc_output/processinfo/0c180106-4dc0-46f1-9fc3-82b57fe876a3.json +0 -1
- package/.nyc_output/processinfo/0cbe3f6a-13e5-4c9b-89db-1ead7dc1a031.json +0 -1
- package/.nyc_output/processinfo/0e325cda-5043-444d-8df1-8462c61a0f8a.json +0 -1
- package/.nyc_output/processinfo/130867ec-9a1d-4618-ab3a-2b03a1425291.json +0 -1
- package/.nyc_output/processinfo/13d8ad60-368d-4a82-82c4-7199967bf585.json +0 -1
- package/.nyc_output/processinfo/14d2769b-aa5c-408b-9950-932eb7300452.json +0 -1
- package/.nyc_output/processinfo/17019f25-69c3-4eb1-a8c9-16d740ad9ef3.json +0 -1
- package/.nyc_output/processinfo/173c79f9-78f7-46d4-a315-e3ac0ce2912f.json +0 -1
- package/.nyc_output/processinfo/1a40430d-9f09-4f9f-9c21-93b4880924a1.json +0 -1
- package/.nyc_output/processinfo/1d43280b-0ccc-471f-98d5-3c9997041b59.json +0 -1
- package/.nyc_output/processinfo/1f52add1-7dc6-4c81-a188-aa76fb5b7abb.json +0 -1
- package/.nyc_output/processinfo/205c4093-0afe-4159-b88d-33d2e5402e40.json +0 -1
- package/.nyc_output/processinfo/2138edd7-8f37-4cbc-9455-9b29b26505c3.json +0 -1
- package/.nyc_output/processinfo/21ca1c4c-ebed-40fb-83d0-6a7711ba6e55.json +0 -1
- package/.nyc_output/processinfo/2216a829-b114-430e-adb8-433af97c24c8.json +0 -1
- package/.nyc_output/processinfo/2416d9c4-e053-4a9d-bc58-c0e08bd5db7f.json +0 -1
- package/.nyc_output/processinfo/26676393-1b34-405f-a3f5-7c138413cd79.json +0 -1
- package/.nyc_output/processinfo/2718154e-54a5-4da6-a8dd-fdddf81d9c2c.json +0 -1
- package/.nyc_output/processinfo/27c3df1b-aaba-42c7-be60-04f0aef65a1d.json +0 -1
- package/.nyc_output/processinfo/2a79f73d-7401-4718-b70f-1bdd069c8ab0.json +0 -1
- package/.nyc_output/processinfo/2bb28d54-46af-40a7-9ef5-0bac9fdc6feb.json +0 -1
- package/.nyc_output/processinfo/2cbd2cd7-531c-43f9-b9b3-9ef93a86007b.json +0 -1
- package/.nyc_output/processinfo/2d7a4ac5-7164-4cd4-b2ab-6bf036f6e08d.json +0 -1
- package/.nyc_output/processinfo/2e89914b-574c-4d49-be1c-81f57ef7eb65.json +0 -1
- package/.nyc_output/processinfo/2f7e5b5b-f1a6-4531-a437-547df8552432.json +0 -1
- package/.nyc_output/processinfo/346c9fb9-1a6e-42e8-b9a1-08b583c6eec3.json +0 -1
- package/.nyc_output/processinfo/34838c47-048d-4618-8841-6ed71fbdbab6.json +0 -1
- package/.nyc_output/processinfo/3593930d-a238-4776-83e2-eb1aaa881cb4.json +0 -1
- package/.nyc_output/processinfo/35c5bf36-57a9-46db-bd79-e9fc84e8f901.json +0 -1
- package/.nyc_output/processinfo/36d1df54-53ed-435d-bfe3-90e5082b1bfc.json +0 -1
- package/.nyc_output/processinfo/379d8292-bf11-4eda-a8c8-341737b06492.json +0 -1
- package/.nyc_output/processinfo/38f29209-75b0-4b3b-ae2e-0fa64d755a79.json +0 -1
- package/.nyc_output/processinfo/3a00ed58-1e28-4232-8d85-96de218b2084.json +0 -1
- package/.nyc_output/processinfo/3d89cc9f-2ae5-471c-962c-f3f8cd123b21.json +0 -1
- package/.nyc_output/processinfo/3dc9a022-2133-499d-8a6d-62cea68139d2.json +0 -1
- package/.nyc_output/processinfo/3e009de7-8576-4cb9-8c12-91b48134bdd7.json +0 -1
- package/.nyc_output/processinfo/3ea12260-5484-4329-a530-5d91f5f49566.json +0 -1
- package/.nyc_output/processinfo/41b2bc1a-bc35-4f7d-87a1-77b02068f9bf.json +0 -1
- package/.nyc_output/processinfo/42ca82be-7199-423c-9262-e888aef65eb5.json +0 -1
- package/.nyc_output/processinfo/43494de5-dcd0-4c28-9adc-349653591319.json +0 -1
- package/.nyc_output/processinfo/45b2cd3c-33db-4171-9eee-d52cf42c9644.json +0 -1
- package/.nyc_output/processinfo/45db76aa-4350-4c32-a1dc-a4794ed10998.json +0 -1
- package/.nyc_output/processinfo/467ff03b-2cc7-4df8-9fe8-6715336219a4.json +0 -1
- package/.nyc_output/processinfo/468648c2-f3ea-48ab-92e6-d1f5c369cee5.json +0 -1
- package/.nyc_output/processinfo/46a0f954-94be-4c7e-b33e-1eb8b206d38b.json +0 -1
- package/.nyc_output/processinfo/46c7519d-a18a-453a-bfee-3cfc5f77bcd7.json +0 -1
- package/.nyc_output/processinfo/46ca9d2a-9314-4d9a-ae9b-ebe1ed1fb198.json +0 -1
- package/.nyc_output/processinfo/487199e4-7a66-444d-b60f-0a7dec153f5a.json +0 -1
- package/.nyc_output/processinfo/492312e3-e61f-4d7e-99b6-75b9eb6fc89c.json +0 -1
- package/.nyc_output/processinfo/49512e40-0d28-4fb0-8947-f3a4f8757d9f.json +0 -1
- package/.nyc_output/processinfo/4a6561c3-b91e-464c-ae61-47cc3c6dff96.json +0 -1
- package/.nyc_output/processinfo/4b073674-e7b8-4c1d-91dd-8cc9fa3841d8.json +0 -1
- package/.nyc_output/processinfo/4cb123da-d853-4334-9f96-84c7cfd5c8ca.json +0 -1
- package/.nyc_output/processinfo/555fada2-aa93-443c-a519-651198564fd2.json +0 -1
- package/.nyc_output/processinfo/55736840-0b01-49f8-a922-ba1d6a2eae88.json +0 -1
- package/.nyc_output/processinfo/562f12e1-0748-4f57-9263-ffdaecb1ab6b.json +0 -1
- package/.nyc_output/processinfo/57f8a684-e28b-46ee-886c-c7cc8f01142c.json +0 -1
- package/.nyc_output/processinfo/58e78dc2-1fb4-4ad3-af21-a5c0f0c08361.json +0 -1
- package/.nyc_output/processinfo/5a096d7b-ec23-40e2-b2f2-245f11f0bb87.json +0 -1
- package/.nyc_output/processinfo/5aa2e183-43a0-4490-991e-4f8ebb862654.json +0 -1
- package/.nyc_output/processinfo/5aceb7af-d6bd-4a21-b6a4-67b1da3256f8.json +0 -1
- package/.nyc_output/processinfo/5ce1436d-e3bc-4206-a2a0-874259890142.json +0 -1
- package/.nyc_output/processinfo/5d436099-ebe3-4efa-9868-852a93ecfca0.json +0 -1
- package/.nyc_output/processinfo/5d689f57-f946-4157-901b-1d52320e8e3b.json +0 -1
- package/.nyc_output/processinfo/5dfc6d53-866a-41d5-a9af-6f4809269ce6.json +0 -1
- package/.nyc_output/processinfo/5e953e42-d239-46c0-895c-064a43f2f7dc.json +0 -1
- package/.nyc_output/processinfo/5ed6d2a0-a551-4928-a783-21a47e50a360.json +0 -1
- package/.nyc_output/processinfo/60d8eddf-1878-4a22-aa07-24afb5829e72.json +0 -1
- package/.nyc_output/processinfo/6506bce0-7ace-4046-bdac-c30f7cb0c14c.json +0 -1
- package/.nyc_output/processinfo/654fadd1-aa00-49d1-bf3f-6f060ef2653e.json +0 -1
- package/.nyc_output/processinfo/65649a67-2260-4bd3-9e9d-c315e2f2c780.json +0 -1
- package/.nyc_output/processinfo/656b3594-7068-4bc2-997c-44f2217dbe21.json +0 -1
- package/.nyc_output/processinfo/6602f777-52c1-475b-bd93-fb52d2d57845.json +0 -1
- package/.nyc_output/processinfo/66262f44-b2b2-499b-b630-60945a564574.json +0 -1
- package/.nyc_output/processinfo/66dcdcb5-80a0-4ba7-aedf-49d4f312878f.json +0 -1
- package/.nyc_output/processinfo/67471537-08ec-43aa-b595-9ca1bc74f182.json +0 -1
- package/.nyc_output/processinfo/677905a9-74fa-43f4-911c-fb2de014732e.json +0 -1
- package/.nyc_output/processinfo/67810077-051e-468c-b591-f8bf8616c5fc.json +0 -1
- package/.nyc_output/processinfo/67fc40d5-b69e-415d-afab-846697dc4c3e.json +0 -1
- package/.nyc_output/processinfo/6a7631cb-c45a-4777-ae20-90a6cec81b54.json +0 -1
- package/.nyc_output/processinfo/6b41b15b-63a1-463b-bd79-beae41427a8d.json +0 -1
- package/.nyc_output/processinfo/6c409786-afa8-4fd4-8b47-de71553bf126.json +0 -1
- package/.nyc_output/processinfo/6de7dabc-104e-4e84-b37e-bec20017367a.json +0 -1
- package/.nyc_output/processinfo/6e45dbf0-4974-4f24-940c-a48778cc8168.json +0 -1
- package/.nyc_output/processinfo/7452c4e5-03a5-4c98-93ba-b1e49d804bb8.json +0 -1
- package/.nyc_output/processinfo/74651f78-6ae5-4300-830d-1b406c6315ef.json +0 -1
- package/.nyc_output/processinfo/755afd53-a116-4c4a-a2a7-bac3331cc880.json +0 -1
- package/.nyc_output/processinfo/79a32b99-9a97-4322-959b-8d12b12a96a4.json +0 -1
- package/.nyc_output/processinfo/7b676452-f1ba-4b64-af57-798c53ec6ba7.json +0 -1
- package/.nyc_output/processinfo/7bf0ed66-408f-44c5-918d-038b525e42bd.json +0 -1
- package/.nyc_output/processinfo/7ce07756-16a1-4275-8fa6-c8967721cea8.json +0 -1
- package/.nyc_output/processinfo/7ed1000a-60dc-473f-80fa-3bea3941e313.json +0 -1
- package/.nyc_output/processinfo/806e157f-95cc-436b-a0a3-75d5d74d48c3.json +0 -1
- package/.nyc_output/processinfo/81601f8c-345a-40ff-accc-b5fe6ab77ee7.json +0 -1
- package/.nyc_output/processinfo/81edc819-9d51-4e89-98f6-600b8d128bcf.json +0 -1
- package/.nyc_output/processinfo/8283834c-98e5-426d-ab87-6a91e37368d3.json +0 -1
- package/.nyc_output/processinfo/8663efc7-8d4c-4909-82bf-a938b902e184.json +0 -1
- package/.nyc_output/processinfo/875089b8-1e69-4011-9837-911af06b644c.json +0 -1
- package/.nyc_output/processinfo/87aa1c88-8785-40c7-b652-6bcf0c177fa2.json +0 -1
- package/.nyc_output/processinfo/8aa7a24e-4915-4221-babf-c30c5347b165.json +0 -1
- package/.nyc_output/processinfo/8b3e18ca-7956-4b1c-be09-2e16dd1693a7.json +0 -1
- package/.nyc_output/processinfo/8c444702-6e29-4dbc-bc2b-66893b23c0de.json +0 -1
- package/.nyc_output/processinfo/8e449607-951a-41c6-8c96-58aab6d17d57.json +0 -1
- package/.nyc_output/processinfo/91533225-f0cc-4d0b-8c6b-c973b324ee36.json +0 -1
- package/.nyc_output/processinfo/92527326-ec1d-442e-9804-8dd077b7d3c1.json +0 -1
- package/.nyc_output/processinfo/94249bc2-2a9d-4115-931c-8eeabe7230c0.json +0 -1
- package/.nyc_output/processinfo/945582b5-828a-48ba-94f5-7618ced6fa36.json +0 -1
- package/.nyc_output/processinfo/94fed7a3-fb63-45ca-8e7b-f08e06272471.json +0 -1
- package/.nyc_output/processinfo/9626d9ea-47ea-4419-8d0d-469251ec7bdf.json +0 -1
- package/.nyc_output/processinfo/99ae5c73-c9d3-448a-9d36-a7bbad872273.json +0 -1
- package/.nyc_output/processinfo/9b5b92b1-80c1-47ba-b581-8c0e468b10da.json +0 -1
- package/.nyc_output/processinfo/9b81ff21-4bb7-4fd9-b16c-07d64d672f1f.json +0 -1
- package/.nyc_output/processinfo/9fc0d29d-db92-4fc0-969a-16b45fc5722c.json +0 -1
- package/.nyc_output/processinfo/a05d6471-72e8-44b3-baf6-5c918e2f0d97.json +0 -1
- package/.nyc_output/processinfo/a5b94086-b77a-4546-afb5-589b39fe0dbd.json +0 -1
- package/.nyc_output/processinfo/a62672e3-d0c3-4400-b64e-c00937b96f9c.json +0 -1
- package/.nyc_output/processinfo/a6e4dec3-a9d3-4729-935d-f7f92c597341.json +0 -1
- package/.nyc_output/processinfo/a808fcd8-7aaf-4d05-898c-e5ddca973e5e.json +0 -1
- package/.nyc_output/processinfo/ab11f4d7-ce82-4023-9732-8bd482630b49.json +0 -1
- package/.nyc_output/processinfo/acd7a47c-534a-4050-8546-5f14026dc655.json +0 -1
- package/.nyc_output/processinfo/af8cb964-97c8-46ab-b4e9-00c761bb0504.json +0 -1
- package/.nyc_output/processinfo/b08311ab-193a-4f21-bb1e-8101e0102487.json +0 -1
- package/.nyc_output/processinfo/b0b15068-ba52-4db7-9dc3-b41d0cea1ac9.json +0 -1
- package/.nyc_output/processinfo/b1b83a9f-e63f-4614-abbd-254e3b13d984.json +0 -1
- package/.nyc_output/processinfo/b2dae72c-240c-45da-a8bb-0ec2dd2b5b7b.json +0 -1
- package/.nyc_output/processinfo/b3999953-6123-491d-9870-26a4e2fdc888.json +0 -1
- package/.nyc_output/processinfo/b59e2850-0d0c-4e8f-a4a8-0d8c368ac5ce.json +0 -1
- package/.nyc_output/processinfo/b830ab87-da0b-4418-b378-4386c9ccc5e3.json +0 -1
- package/.nyc_output/processinfo/b8a16112-1cb2-4490-b872-790f931276d5.json +0 -1
- package/.nyc_output/processinfo/b91ae963-00e6-43aa-89d0-a5dcc5e2d58b.json +0 -1
- package/.nyc_output/processinfo/b98d6f9a-ecee-4951-935e-8aa3c6b05f7a.json +0 -1
- package/.nyc_output/processinfo/b9a46fe7-c873-422f-9752-0909663bddef.json +0 -1
- package/.nyc_output/processinfo/b9f83fa8-ae63-415d-bc98-fa0c5ae81da4.json +0 -1
- package/.nyc_output/processinfo/baca9d9c-fa5e-43b2-9889-90dbd6a8f230.json +0 -1
- package/.nyc_output/processinfo/bbd0559b-8948-4ee6-beab-19ab94caf849.json +0 -1
- package/.nyc_output/processinfo/bc08876b-66d7-4b78-a526-3bf64fa0ca19.json +0 -1
- package/.nyc_output/processinfo/bcb1d4c2-d80e-42d8-82ba-38649b52266d.json +0 -1
- package/.nyc_output/processinfo/bda188be-adf6-4bcd-a3f4-d5901b1f38eb.json +0 -1
- package/.nyc_output/processinfo/c0a41dad-e9c2-4fb4-8314-eef4af76bf0d.json +0 -1
- package/.nyc_output/processinfo/c0b48e09-7877-4050-80b1-0a677687f882.json +0 -1
- package/.nyc_output/processinfo/c12cdae6-7805-4370-bb9e-10d95809e4b4.json +0 -1
- package/.nyc_output/processinfo/c4abb2b3-77e9-4f3c-971f-eadc15c49930.json +0 -1
- package/.nyc_output/processinfo/c5126223-475c-4be5-8e55-ad46d004e203.json +0 -1
- package/.nyc_output/processinfo/c74c6433-3be0-4227-b24d-3a167e5f73bf.json +0 -1
- package/.nyc_output/processinfo/c952783c-769f-42d6-a96b-3ceffdb9d487.json +0 -1
- package/.nyc_output/processinfo/c9874cd0-9dac-4c24-a066-eb4043d1842b.json +0 -1
- package/.nyc_output/processinfo/ca3c07c1-f6b9-4b63-b44a-01ca3495790a.json +0 -1
- package/.nyc_output/processinfo/ca4e0fb2-f6da-4b64-af39-01a90c919bbe.json +0 -1
- package/.nyc_output/processinfo/ca97a409-32f6-4466-960f-a13a9aa9e8e1.json +0 -1
- package/.nyc_output/processinfo/cbfc899e-ff8e-4f9f-a606-a65decd2f32b.json +0 -1
- package/.nyc_output/processinfo/cc338504-aef2-40e5-b2f4-17cdde8d0098.json +0 -1
- package/.nyc_output/processinfo/cea0ebac-d6af-402e-ae79-874e8390fa35.json +0 -1
- package/.nyc_output/processinfo/d1b0b3ef-3fd5-40dd-9e25-88ce03ffe783.json +0 -1
- package/.nyc_output/processinfo/d1cae653-3baa-44a0-b901-cdcbdcee7dbb.json +0 -1
- package/.nyc_output/processinfo/d42d3ecf-497b-43ef-8370-c013b7dd1e33.json +0 -1
- package/.nyc_output/processinfo/d5861af9-5a51-4999-9a0e-6d2bc92a6dc3.json +0 -1
- package/.nyc_output/processinfo/d60e4ca2-f63b-4fbe-af56-86ada80a8251.json +0 -1
- package/.nyc_output/processinfo/d7143cba-3a2f-4e0f-a841-c7d9a5743b5e.json +0 -1
- package/.nyc_output/processinfo/d7a419b4-aac1-409c-8903-48aea10e8a25.json +0 -1
- package/.nyc_output/processinfo/d817aff3-2f17-49a0-a7a6-658aee74177e.json +0 -1
- package/.nyc_output/processinfo/da790d7c-1299-4b97-b30f-fd07e414d86a.json +0 -1
- package/.nyc_output/processinfo/dbef913e-9adb-496e-9516-4132c5bee1ed.json +0 -1
- package/.nyc_output/processinfo/dc8c9ca7-7f73-49e9-b54f-973a067460c6.json +0 -1
- package/.nyc_output/processinfo/de468091-4fe9-405a-b91c-2c3e083dc7d2.json +0 -1
- package/.nyc_output/processinfo/de917edb-ed51-464b-822f-6b2dc578bc01.json +0 -1
- package/.nyc_output/processinfo/deb93bdf-62bd-405e-814a-8aa11f050c65.json +0 -1
- package/.nyc_output/processinfo/debcbad5-7cb8-4c22-80cc-9bdfe54c6eb3.json +0 -1
- package/.nyc_output/processinfo/e0c353c4-7313-4e65-a48c-b5df9961a09d.json +0 -1
- package/.nyc_output/processinfo/e31009b4-f6a9-4b65-a68b-1c107dfd7ca2.json +0 -1
- package/.nyc_output/processinfo/e490065d-4aca-46b4-8e2e-0e64b57fed92.json +0 -1
- package/.nyc_output/processinfo/e6babdb0-e1a3-4394-aadc-9940f2835f9b.json +0 -1
- package/.nyc_output/processinfo/e7ff9ced-8704-4653-ab0b-2b8050ef3791.json +0 -1
- package/.nyc_output/processinfo/e9caa1b5-d586-452b-b41f-1a0be4e9d742.json +0 -1
- package/.nyc_output/processinfo/ea2c1f52-19ea-465b-bbff-3c13e58c3c90.json +0 -1
- package/.nyc_output/processinfo/eaaf6d25-a237-4499-ae65-38b7fe161766.json +0 -1
- package/.nyc_output/processinfo/ebfb915b-5dbb-4ec2-af7a-a4e2754cfa8c.json +0 -1
- package/.nyc_output/processinfo/ec94ecd1-79cb-4aa5-8cf5-242755c38547.json +0 -1
- package/.nyc_output/processinfo/f2534a2e-df8a-40f4-abc2-721f8330faaf.json +0 -1
- package/.nyc_output/processinfo/f3d8a380-380d-4487-b043-dab82915b8c5.json +0 -1
- package/.nyc_output/processinfo/f54f91c8-4338-4815-8aa4-2af574d0d5c0.json +0 -1
- package/.nyc_output/processinfo/f551fabd-efa6-443f-97bf-f9d10efc0ae2.json +0 -1
- package/.nyc_output/processinfo/f7e7fddf-eace-47e2-94f8-8085fe74a199.json +0 -1
- package/.nyc_output/processinfo/f7f258e1-96fa-4731-9551-364b6cb82a89.json +0 -1
- package/.nyc_output/processinfo/f868075a-216e-4a58-b7a3-aec6d414b354.json +0 -1
- package/.nyc_output/processinfo/f88d7e21-c2f9-4626-8860-fea7d177ceb3.json +0 -1
- package/.nyc_output/processinfo/fc597309-f67e-49cf-a325-b57d6645c873.json +0 -1
- package/.nyc_output/processinfo/fed3d2cb-7e7e-4007-be3e-de7cab49b20c.json +0 -1
- package/.nyc_output/processinfo/index.json +0 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
"on":
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- master
|
|
6
|
+
jobs:
|
|
7
|
+
release:
|
|
8
|
+
name: release
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- uses: actions/checkout@v2
|
|
12
|
+
- uses: actions/setup-node@v2
|
|
13
|
+
with:
|
|
14
|
+
cache: npm
|
|
15
|
+
node-version: lts/*
|
|
16
|
+
- run: npm clean-install
|
|
17
|
+
- run: npx semantic-release
|
|
18
|
+
env:
|
|
19
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
20
|
+
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
package/README.md
CHANGED
|
@@ -2,15 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
When you commit with Commitizen, you'll be prompted to fill out any required commit fields at commit time. No more waiting until later for a git commit hook to run and reject your commit (though [that](https://github.com/kentcdodds/validate-commit-msg) can still be helpful). No more digging through [CONTRIBUTING.md](CONTRIBUTING.md) to find what the preferred format is. Get instant feedback on your commit message formatting and be prompted for required fields.
|
|
4
4
|
|
|
5
|
-
[](#backers) [](#sponsors) [](#backers) [](#sponsors) [](https://travis-ci.org/commitizen/cz-cli) [](https://dev.azure.com/commitizen/cz-cli/_build/latest?definitionId=2)
|
|
6
|
+
[](https://codecov.io/github/commitizen/cz-cli?branch=master) [](https://www.npmjs.com/package/commitizen) [](https://www.npmjs.com/package/commitizen) [](https://github.com/semantic-release/semantic-release) [](https://stackoverflow.com/tags/commitizen)
|
|
7
7
|
|
|
8
8
|
## Installing the command line tool
|
|
9
9
|
|
|
10
|
-
Commitizen is currently tested against
|
|
11
|
-
|
|
12
|
-
older node. You should also have npm 6
|
|
13
|
-
or greater.
|
|
10
|
+
Commitizen is currently tested against Node.js 12, 14, & 16, although it may work in
|
|
11
|
+
older versions of Node.js. You should also have npm 6 or greater.
|
|
14
12
|
|
|
15
13
|
Installation is as simple as running the following command (if you see `EACCES` error, reading [fixing npm permissions](https://docs.npmjs.com/getting-started/fixing-npm-permissions) may help):
|
|
16
14
|
|
|
@@ -20,11 +18,11 @@ npm install -g commitizen
|
|
|
20
18
|
|
|
21
19
|
## Using the command line tool
|
|
22
20
|
|
|
23
|
-
### If your repo is [Commitizen-friendly
|
|
21
|
+
### If your repo is [Commitizen friendly](#making-your-repo-commitizen-friendly):
|
|
24
22
|
|
|
25
23
|
Simply use `git cz` or just `cz` instead of `git commit` when committing. You can also use `git-cz`, which is an alias for `cz`.
|
|
26
24
|
|
|
27
|
-
_Alternatively_, if you are using **
|
|
25
|
+
_Alternatively_, if you are using **npm 5.2+** you can [use `npx`](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) instead of installing globally:
|
|
28
26
|
|
|
29
27
|
```sh
|
|
30
28
|
npx cz
|
|
@@ -39,19 +37,19 @@ or as an npm script:
|
|
|
39
37
|
}
|
|
40
38
|
```
|
|
41
39
|
|
|
42
|
-
When you're working in a Commitizen
|
|
40
|
+
When you're working in a Commitizen-friendly repository, you'll be prompted to fill in any required fields, and your commit messages will be formatted according to the standards defined by project maintainers.
|
|
43
41
|
|
|
44
42
|
[](https://github.com/commitizen/cz-cli/raw/master/meta/screenshots/add-commit.png)
|
|
45
43
|
|
|
46
|
-
### If your repo is NOT Commitizen
|
|
44
|
+
### If your repo is NOT Commitizen friendly:
|
|
47
45
|
|
|
48
|
-
If you're **not** working in a Commitizen
|
|
46
|
+
If you're **not** working in a Commitizen-friendly repository, then `git cz` will work just the same as `git commit`, but `npx cz` will use the [streamich/git-cz](https://github.com/streamich/git-cz) adapter. To fix this, you need to first [make your repo Commitizen friendly](#making-your-repo-commitizen-friendly)
|
|
49
47
|
|
|
50
|
-
## Making your repo Commitizen
|
|
48
|
+
## Making your repo Commitizen friendly
|
|
51
49
|
|
|
52
|
-
For this example, we'll be setting up our repo to use [
|
|
50
|
+
For this example, we'll be setting up our repo to use [AngularJS's commit message convention](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines), also known as [conventional-changelog](https://github.com/ajoslin/conventional-changelog).
|
|
53
51
|
|
|
54
|
-
First, install the Commitizen
|
|
52
|
+
First, install the Commitizen CLI tools:
|
|
55
53
|
|
|
56
54
|
```sh
|
|
57
55
|
npm install commitizen -g
|
|
@@ -71,11 +69,11 @@ commitizen init cz-conventional-changelog --yarn --dev --exact
|
|
|
71
69
|
|
|
72
70
|
Note that if you want to force install over the top of an old adapter, you can apply the `--force` argument. For more information on this, just run `commitizen help`.
|
|
73
71
|
|
|
74
|
-
The above command does three things for you
|
|
72
|
+
The above command does three things for you:
|
|
75
73
|
|
|
76
74
|
1. Installs the cz-conventional-changelog adapter npm module
|
|
77
|
-
2. Saves it to package.json's dependencies or devDependencies
|
|
78
|
-
3. Adds the `config.commitizen` key to the root of your
|
|
75
|
+
2. Saves it to `package.json`'s `dependencies` or `devDependencies`
|
|
76
|
+
3. Adds the `config.commitizen` key to the root of your `package.json` file as shown here:
|
|
79
77
|
|
|
80
78
|
```json
|
|
81
79
|
...
|
|
@@ -86,7 +84,7 @@ The above command does three things for you.
|
|
|
86
84
|
}
|
|
87
85
|
```
|
|
88
86
|
|
|
89
|
-
Alternatively,
|
|
87
|
+
Alternatively, Commitizen configs may be added to a `.czrc` file:
|
|
90
88
|
|
|
91
89
|
```json
|
|
92
90
|
{
|
|
@@ -96,15 +94,15 @@ Alternatively, commitizen configs may be added to a `.czrc` or `.cz.json` file:
|
|
|
96
94
|
|
|
97
95
|
This just tells Commitizen which adapter we actually want our contributors to use when they try to commit to this repo.
|
|
98
96
|
|
|
99
|
-
`commitizen.path` is resolved via [require.resolve](https://nodejs.org/api/globals.html#globals_require_resolve) and supports
|
|
97
|
+
`commitizen.path` is resolved via [require.resolve](https://nodejs.org/api/globals.html#globals_require_resolve) and supports:
|
|
100
98
|
|
|
101
99
|
- npm modules
|
|
102
100
|
- directories relative to `process.cwd()` containing an `index.js` file
|
|
103
|
-
- file base names relative to `process.cwd()` with
|
|
101
|
+
- file base names relative to `process.cwd()` with `.js` extension
|
|
104
102
|
- full relative file names
|
|
105
|
-
- absolute paths
|
|
103
|
+
- absolute paths
|
|
106
104
|
|
|
107
|
-
Please note that in the previous version of Commitizen we used czConfig. **czConfig has been deprecated
|
|
105
|
+
Please note that in the previous version of Commitizen we used czConfig. **czConfig has been deprecated**, and you should migrate to the new format before Commitizen 3.0.0.
|
|
108
106
|
|
|
109
107
|
### Optional: Install and run Commitizen locally
|
|
110
108
|
|
|
@@ -112,17 +110,17 @@ Installing and running Commitizen locally allows you to make sure that developer
|
|
|
112
110
|
|
|
113
111
|
Install Commitizen with `npm install --save-dev commitizen`.
|
|
114
112
|
|
|
115
|
-
On **
|
|
113
|
+
On **npm 5.2+** you can [use `npx`](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) to initialize the conventional changelog adapter:
|
|
116
114
|
|
|
117
115
|
```
|
|
118
116
|
npx commitizen init cz-conventional-changelog --save-dev --save-exact
|
|
119
117
|
```
|
|
120
118
|
|
|
121
|
-
For **previous versions of
|
|
119
|
+
For **previous versions of npm (< 5.2)** you can execute `./node_modules/.bin/commitizen` or `./node_modules/.bin/cz` in order to actually use the commands.
|
|
122
120
|
|
|
123
121
|
You can then initialize the conventional changelog adapter using: `./node_modules/.bin/commitizen init cz-conventional-changelog --save-dev --save-exact`
|
|
124
122
|
|
|
125
|
-
And you can then add some nice npm
|
|
123
|
+
And you can then add some nice npm scripts in your `package.json` file pointing to the local version of Commitizen:
|
|
126
124
|
|
|
127
125
|
```json
|
|
128
126
|
...
|
|
@@ -133,9 +131,9 @@ And you can then add some nice npm run scripts in your package.json pointing to
|
|
|
133
131
|
|
|
134
132
|
This will be more convenient for your users because then if they want to do a commit, all they need to do is run `npm run commit` and they will get the prompts needed to start a commit!
|
|
135
133
|
|
|
136
|
-
> **NOTE:**
|
|
137
|
-
> (e.g. `"cm": "cz"`). The reason is because npm
|
|
138
|
-
> npm and husky will run `"precommit"` scripts twice if you name the script `"commit"`, and the
|
|
134
|
+
> **NOTE:** If you are using `precommit` hooks thanks to something like [`husky`](https://www.npmjs.com/package/husky), you will need to name your script something other than `"commit"`
|
|
135
|
+
> (e.g. `"cm": "cz"`). The reason is because npm scripts has a "feature" where it automatically runs scripts with the name _prexxx_ where _xxx_ is the name of another script. In essence,
|
|
136
|
+
> npm and husky will run `"precommit"` scripts twice if you name the script `"commit"`, and the workaround is to prevent the npm-triggered _precommit_ script.
|
|
139
137
|
|
|
140
138
|
#### Optional: Running Commitizen on `git commit`
|
|
141
139
|
|
|
@@ -157,21 +155,21 @@ exec < /dev/tty && node_modules/.bin/cz --hook || true
|
|
|
157
155
|
|
|
158
156
|
##### Husky
|
|
159
157
|
|
|
160
|
-
For `husky` users, add the following configuration to the project's `package.json
|
|
158
|
+
For `husky` users, add the following configuration to the project's `package.json` file:
|
|
161
159
|
|
|
162
160
|
```json
|
|
163
161
|
"husky": {
|
|
164
162
|
"hooks": {
|
|
165
|
-
"prepare-commit-msg": "exec < /dev/tty &&
|
|
163
|
+
"prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true"
|
|
166
164
|
}
|
|
167
165
|
}
|
|
168
166
|
```
|
|
169
167
|
|
|
170
168
|
> **Why `exec < /dev/tty`?** By default, git hooks are not interactive. This command allows the user to use their terminal to interact with Commitizen during the hook.
|
|
171
169
|
|
|
172
|
-
#### Congratulations
|
|
170
|
+
#### Congratulations! Your repo is Commitizen friendly. Time to flaunt it!
|
|
173
171
|
|
|
174
|
-
Add the Commitizen
|
|
172
|
+
Add the "Commitizen friendly" badge to your README using the following markdown:
|
|
175
173
|
|
|
176
174
|
```
|
|
177
175
|
[](http://commitizen.github.io/cz-cli/)
|
|
@@ -179,9 +177,9 @@ Add the Commitizen-friendly badge to your README using the following markdown:
|
|
|
179
177
|
|
|
180
178
|
Your badge will look like this:
|
|
181
179
|
|
|
182
|
-
[](http://commitizen.github.io/cz-cli/)
|
|
183
181
|
|
|
184
|
-
It may also make sense to change your README.md or CONTRIBUTING.md to include or link to the Commitizen project so that your new contributors may learn more about installing and using Commitizen.
|
|
182
|
+
It may also make sense to change your `README.md` or `CONTRIBUTING.md` files to include or link to the Commitizen project so that your new contributors may learn more about installing and using Commitizen.
|
|
185
183
|
|
|
186
184
|
## Conventional commit messages as a global utility
|
|
187
185
|
|
|
@@ -191,30 +189,29 @@ Install `commitizen` globally, if you have not already.
|
|
|
191
189
|
npm install -g commitizen
|
|
192
190
|
```
|
|
193
191
|
|
|
194
|
-
Install your preferred `commitizen` adapter globally
|
|
192
|
+
Install your preferred `commitizen` adapter globally (for example [`cz-conventional-changelog`](https://www.npmjs.com/package/cz-conventional-changelog)).
|
|
195
193
|
|
|
196
194
|
```sh
|
|
197
195
|
npm install -g cz-conventional-changelog
|
|
198
196
|
```
|
|
199
197
|
|
|
200
|
-
Create a `.czrc` file in your `home` directory, with `path` referring to the preferred, globally
|
|
198
|
+
Create a `.czrc` file in your `home` directory, with `path` referring to the preferred, globally-installed, `commitizen` adapter
|
|
201
199
|
|
|
202
200
|
```sh
|
|
203
201
|
echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc
|
|
204
202
|
```
|
|
205
203
|
|
|
206
|
-
You are all set! Now `cd`into any `git` repository and use `git cz` instead of `git commit
|
|
204
|
+
You are all set! Now `cd` into any `git` repository and use `git cz` instead of `git commit`, and you will find the `commitizen` prompt.
|
|
207
205
|
|
|
208
|
-
|
|
206
|
+
Pro tip: You can use all the `git commit` `options` with `git cz`. For example: `git cz -a`.
|
|
209
207
|
|
|
210
|
-
> If your repository is a [
|
|
208
|
+
> If your repository is a [Node.js](https://nodejs.org/en/) project, making it [Commitizen friendly](#making-your-repo-commitizen-friendly) is super easy.
|
|
211
209
|
|
|
212
|
-
If your repository is already [Commitizen-friendly
|
|
210
|
+
If your repository is already [Commitizen friendly](#making-your-repo-commitizen-friendly), the local `commitizen` adapter will be used, instead of globally installed one.
|
|
213
211
|
|
|
214
212
|
## Commitizen for multi-repo projects
|
|
215
213
|
|
|
216
|
-
As a project maintainer of many projects, you may want to standardize on a single commit message
|
|
217
|
-
format for all of them. You can create your own node module which acts as front-end for commitizen.
|
|
214
|
+
As a project maintainer of many projects, you may want to standardize on a single commit message format for all of them. You can create your own node module which acts as a front-end for Commitizen.
|
|
218
215
|
|
|
219
216
|
### 1. Create your own entry point script
|
|
220
217
|
|
|
@@ -236,7 +233,7 @@ bootstrap({
|
|
|
236
233
|
});
|
|
237
234
|
```
|
|
238
235
|
|
|
239
|
-
### 2. Add script to package.json
|
|
236
|
+
### 2. Add the script to your `package.json` file
|
|
240
237
|
|
|
241
238
|
```json
|
|
242
239
|
// package.json
|
|
@@ -246,7 +243,7 @@ bootstrap({
|
|
|
246
243
|
"bin": "./my-cli.js",
|
|
247
244
|
"dependencies": {
|
|
248
245
|
"commitizen": "^2.7.6",
|
|
249
|
-
"cz-conventional-changelog": "^1.1.5"
|
|
246
|
+
"cz-conventional-changelog": "^1.1.5"
|
|
250
247
|
}
|
|
251
248
|
}
|
|
252
249
|
```
|
|
@@ -261,7 +258,7 @@ npm install --save-dev company-commit
|
|
|
261
258
|
|
|
262
259
|
## Adapters
|
|
263
260
|
|
|
264
|
-
We know that every project and build process has different requirements so we've tried to keep Commitizen open for extension. You can do this by choosing from any of the pre-
|
|
261
|
+
We know that every project and build process has different requirements, so we've tried to keep Commitizen open for extension. You can do this by choosing from any of the pre-built adapters or even by building your own. Here are some of the great adapters available to you:
|
|
265
262
|
|
|
266
263
|
- [cz-conventional-changelog](https://www.npmjs.com/package/cz-conventional-changelog)
|
|
267
264
|
- [cz-conventional-changelog-for-jira](https://www.npmjs.com/package/@digitalroute/cz-conventional-changelog-for-jira)
|
|
@@ -270,27 +267,30 @@ We know that every project and build process has different requirements so we've
|
|
|
270
267
|
- [@endemolshinegroup/cz-jira-smart-commit](https://github.com/EndemolShineGroup/cz-jira-smart-commit)
|
|
271
268
|
- [@endemolshinegroup/cz-github](https://github.com/EndemolShineGroup/cz-github)
|
|
272
269
|
- [rb-conventional-changelog](https://www.npmjs.com/package/rb-conventional-changelog)
|
|
273
|
-
- [cz-mapbox-changelog](https://www.npmjs.com/package/cz-mapbox-changelog)
|
|
270
|
+
- [@mapbox/cz-mapbox-changelog](https://www.npmjs.com/package/@mapbox/cz-mapbox-changelog)
|
|
274
271
|
- [cz-customizable](https://github.com/leonardoanalista/cz-customizable)
|
|
272
|
+
- [cz-commitlint](https://github.com/conventional-changelog/commitlint/tree/master/@commitlint/cz-commitlint)
|
|
275
273
|
- [commitlint](https://github.com/conventional-changelog/commitlint/tree/master/@commitlint/prompt)
|
|
276
274
|
- [vscode-commitizen](https://github.com/KnisterPeter/vscode-commitizen)
|
|
277
275
|
- [cz-emoji](https://github.com/ngryman/cz-emoji)
|
|
278
276
|
- [cz-adapter-eslint](https://www.npmjs.com/package/cz-adapter-eslint)
|
|
279
277
|
- [commitiquette](https://github.com/martinmcwhorter/commitiquette)
|
|
280
278
|
- [cz-format-extension](https://github.com/tyankatsu0105/cz-format-extension)
|
|
279
|
+
- [cz-emoji-conventional](https://www.npmjs.com/package/cz-emoji-conventional)
|
|
280
|
+
- [cz-git](https://github.com/Zhengqbbb/cz-git)
|
|
281
281
|
|
|
282
|
-
To create an adapter, just fork one of these great adapters and modify it to suit your needs. We pass you an instance of [Inquirer.js](https://github.com/SBoudrias/Inquirer.js/) but you can capture input using whatever means necessary. Just call the `commit` callback with a string and we'll be happy. Publish it to npm, and you'll be all set!
|
|
282
|
+
To create an adapter, just fork one of these great adapters and modify it to suit your needs. We pass you an instance of [Inquirer.js](https://github.com/SBoudrias/Inquirer.js/), but you can capture input using whatever means necessary. Just call the `commit` callback with a string and we'll be happy. Publish it to npm, and you'll be all set!
|
|
283
283
|
|
|
284
284
|
## Retrying failed commits
|
|
285
285
|
|
|
286
286
|
As of version 2.7.1, you may attempt to retry the last commit using the `git cz --retry` command. This can be helpful when you have tests set up to run via a git precommit hook. In this scenario, you may have attempted a Commitizen commit, painstakingly filled out all of the commitizen fields, but your tests fail. In previous Commitizen versions, after fixing your tests, you would be forced to fill out all of the fields again. Enter the retry command. Commitizen will retry the last commit that you attempted in this repo without you needing to fill out the fields again.
|
|
287
287
|
|
|
288
|
-
Please note that the retry cache may be cleared when upgrading
|
|
288
|
+
Please note that the retry cache may be cleared when upgrading Commitizen versions, upgrading adapters, or if you delete the `commitizen.json` file in your home or temp directory. Additionally, the commit cache uses the filesystem path of the repo, so if you move a repo or change its path, you will not be able to retry a commit. This is an edge case but might be confusing if you have scenarios where you are moving folders that contain repos.
|
|
289
289
|
|
|
290
|
-
It is important to note that if you are running `cz` from
|
|
290
|
+
It is important to note that if you are running `cz` from an npm script (let's say it is called `commit`) you will need to do one of the following:
|
|
291
291
|
|
|
292
292
|
- Pass `-- --retry` as an argument for your script. i.e: `npm run commit -- --retry`
|
|
293
|
-
- Use [npx](https://www.npmjs.com/package/npx) to find and call `cz` executable directly. i.e: `npx cz --retry`
|
|
293
|
+
- Use [npx](https://www.npmjs.com/package/npx) to find and call the `cz` executable directly. i.e: `npx cz --retry`
|
|
294
294
|
|
|
295
295
|
Note that the last two options **do not** require you to pass `--` before the args but the first **does**.
|
|
296
296
|
|
|
@@ -300,7 +300,7 @@ As a project maintainer, making your repo Commitizen friendly allows you to sele
|
|
|
300
300
|
|
|
301
301
|
## Go further
|
|
302
302
|
|
|
303
|
-
Commitizen is great on its own, but it shines when you use it with some other amazing open source tools. Kent C. Dodds shows you how to accomplish this in his Egghead.io series, [How to
|
|
303
|
+
Commitizen is great on its own, but it shines when you use it with some other amazing open source tools. Kent C. Dodds shows you how to accomplish this in his Egghead.io series, [How to Write an Open Source JavaScript Library](https://app.egghead.io/playlists/how-to-write-an-open-source-javascript-library). Many of the concepts can be applied to non-JavaScript projects as well.
|
|
304
304
|
|
|
305
305
|
## Philosophy
|
|
306
306
|
|
package/azure-pipelines.yml
CHANGED
package/dist/cli/git-cz.js
CHANGED
|
@@ -16,8 +16,15 @@ var _strategies = require("./strategies");
|
|
|
16
16
|
function bootstrap(environment = {}, argv = process.argv) {
|
|
17
17
|
// Get cli args
|
|
18
18
|
let rawGitArgs = argv.slice(2, argv.length);
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
|
|
20
|
+
let adapterConfig = environment.config || _commitizen.configLoader.load(); // Choose a strategy based on the existance the adapter config
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
if (typeof adapterConfig !== 'undefined') {
|
|
24
|
+
// This tells commitizen we're in business
|
|
25
|
+
(0, _strategies.gitCz)(rawGitArgs, environment, adapterConfig);
|
|
26
|
+
} else {
|
|
27
|
+
// This tells commitizen that it is not needed, just use git
|
|
28
|
+
(0, _strategies.git)(rawGitArgs, environment);
|
|
29
|
+
}
|
|
23
30
|
}
|
package/dist/cli/parsers.js
CHANGED
|
@@ -13,6 +13,6 @@ var gitCz = _interopRequireWildcard(require("./parsers/git-cz"));
|
|
|
13
13
|
|
|
14
14
|
exports.gitCz = gitCz;
|
|
15
15
|
|
|
16
|
-
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var
|
|
16
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
17
|
|
|
18
|
-
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
18
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -17,9 +17,9 @@ var _commitizen = require("../../commitizen");
|
|
|
17
17
|
|
|
18
18
|
var gitStrategy = _interopRequireWildcard(require("./git"));
|
|
19
19
|
|
|
20
|
-
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var
|
|
20
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
21
21
|
|
|
22
|
-
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
22
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
23
|
|
|
24
24
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
25
|
|
|
@@ -61,6 +61,7 @@ function gitCz(rawGitArgs, environment, adapterConfig) {
|
|
|
61
61
|
let resolvedAdapterConfigPath = resolveAdapterPath(adapterConfig.path);
|
|
62
62
|
let resolvedAdapterRootPath = (0, _findRoot.default)(resolvedAdapterConfigPath);
|
|
63
63
|
let prompter = getPrompter(adapterConfig.path);
|
|
64
|
+
let shouldStageAllFiles = rawGitArgs.includes('-a') || rawGitArgs.includes('--all');
|
|
64
65
|
isClean(process.cwd(), function (error, stagingIsClean) {
|
|
65
66
|
if (error) {
|
|
66
67
|
throw error;
|
|
@@ -86,5 +87,5 @@ function gitCz(rawGitArgs, environment, adapterConfig) {
|
|
|
86
87
|
throw error;
|
|
87
88
|
}
|
|
88
89
|
});
|
|
89
|
-
});
|
|
90
|
+
}, shouldStageAllFiles);
|
|
90
91
|
}
|