diff --git a/.commitlintrc.yml b/.commitlintrc.yml new file mode 100644 index 0000000..3db2f36 --- /dev/null +++ b/.commitlintrc.yml @@ -0,0 +1,2 @@ +extends: +- '@commitlint/config-conventional' diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 5f8db34..0e2057c 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -1,6 +1,20 @@ name: PR Checks on: [push, pull_request] jobs: + + # Checks that PR commits match the Conventional Commmit format + # See: https://www.conventionalcommits.org/en/v1.0.0/ + commitlint: + name: Lint commit message + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: wagoid/commitlint-github-action@v4 # See: https://github.com/wagoid/commitlint-github-action + with: + configFile: .commitlintrc.yml + install-node-modules: name: Install node_modules runs-on: ubuntu-latest diff --git a/.husky/commit-msg b/.husky/commit-msg new file mode 100755 index 0000000..fdc321e --- /dev/null +++ b/.husky/commit-msg @@ -0,0 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +npx commitlint -e diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 0000000..449fcde --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +npm test diff --git a/.yarnrc.yml b/.yarnrc.yml index d7feb9f..826a37e 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1,3 +1,10 @@ npmRegistryServer: "https://registry.yarnpkg.com" nodeLinker: "node-modules" yarnPath: ".yarn/releases/yarn-berry.js" +packageExtensions: + # Resolves yarn 2 peer dependency conflict due to @types/node requirement set here: + # https://github.com/Codex-/cosmiconfig-typescript-loader/blob/d5ce8bb4ee75fec7efd6e73612d9fe076a844810/package.json#L34 + 'cosmiconfig-typescript-loader@*': + peerDependenciesMeta: + '@types/node': + optional: true diff --git a/CHANGELOG.md b/CHANGELOG.md index 341b7ca..ae79234 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bundle TS types with library - Add workflow to auto close PRs with no response from the author after 30 days - Add workflow to close stale PRs and Issues +- Add checks via [https://www.npmjs.com/package/husky](husky) and [commit-lint](https://www.npmjs.com/package/@commitlint/cli) to validate commit messages match the [Conventional Commit specification](https://www.conventionalcommits.org/en/v1.0.0/) specification. ## 2.0.0 (November 8, 2021) diff --git a/package.json b/package.json index 7e3c088..54e2fe4 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,10 @@ "format": "prettier --write src/**/*.ts", "format:check": "prettier --check src/**/*.ts", "lint": "eslint src/**/*.ts", - "build:watch": "yarn build:babel --watch & yarn tsc --watch" + "build:watch": "yarn build:babel --watch & yarn tsc --watch", + "postinstall": "husky install", + "prepublishOnly": "pinst --disable", + "postpublish": "pinst --enable" }, "author": "", "dependencies": { @@ -49,6 +52,8 @@ "@babel/plugin-proposal-object-rest-spread": "^7.14.7", "@babel/preset-env": "^7.15.0", "@babel/preset-typescript": "^7.16.0", + "@commitlint/cli": "^16.0.2", + "@commitlint/config-conventional": "^16.0.0", "@types/byline": "^4.2.33", "@types/jest": "^27.0.2", "@types/util.promisify": "^1.0.4", @@ -58,8 +63,10 @@ "eslint": "7.32.0", "eslint-plugin-flowtype": "5.9.0", "eslint-plugin-import": "2.24.0", + "husky": "^7.0.4", "jest": "^27", "lerna": "4.0.0", + "pinst": "^2.1.6", "prettier": "^2.3.2", "typescript": "^4.4.4" }, diff --git a/yarn.lock b/yarn.lock index 1d18e78..aa7e5db 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1503,6 +1503,209 @@ __metadata: languageName: node linkType: hard +"@commitlint/cli@npm:^16.0.2": + version: 16.0.2 + resolution: "@commitlint/cli@npm:16.0.2" + dependencies: + "@commitlint/format": ^16.0.0 + "@commitlint/lint": ^16.0.0 + "@commitlint/load": ^16.0.0 + "@commitlint/read": ^16.0.0 + "@commitlint/types": ^16.0.0 + lodash: ^4.17.19 + resolve-from: 5.0.0 + resolve-global: 1.0.0 + yargs: ^17.0.0 + bin: + commitlint: cli.js + checksum: 20760e0f8d54cfffad8a3c24ab4052b815d4545e2237f6b2c54a9a9a1190bf69adcff49b22ba665ae5e3b758b17b7a9dfb162d49d8b3926a756f60a314edd5e3 + languageName: node + linkType: hard + +"@commitlint/config-conventional@npm:^16.0.0": + version: 16.0.0 + resolution: "@commitlint/config-conventional@npm:16.0.0" + dependencies: + conventional-changelog-conventionalcommits: ^4.3.1 + checksum: a0c923c506eed8b460503247efcecb64f7376c0fcfd9a05330651334d2b0b38a41db2698b1886198ec1e71bcf67dad4e190253e684a3cb668c7cfc76e9e959d5 + languageName: node + linkType: hard + +"@commitlint/config-validator@npm:^16.0.0": + version: 16.0.0 + resolution: "@commitlint/config-validator@npm:16.0.0" + dependencies: + "@commitlint/types": ^16.0.0 + ajv: ^6.12.6 + checksum: 304fe3b1b7a117d78d654a97eb21a84e81ab8a01cd700ef1b4acf39dde1e0cb17f8084da2de60c12edda04faaa1585ebfc3a6778f9c7493e2506669b557d0d04 + languageName: node + linkType: hard + +"@commitlint/ensure@npm:^16.0.0": + version: 16.0.0 + resolution: "@commitlint/ensure@npm:16.0.0" + dependencies: + "@commitlint/types": ^16.0.0 + lodash: ^4.17.19 + checksum: 1e1fdf3ad62cf459118cff9474b161ad101dac02e2c32c22ef2177de8170015729d1b930287648213b3851fa3239c4a88496ae95a82daf726097bfb31c7a3d64 + languageName: node + linkType: hard + +"@commitlint/execute-rule@npm:^16.0.0": + version: 16.0.0 + resolution: "@commitlint/execute-rule@npm:16.0.0" + checksum: d7f93d597adb580ac0c5edc604e7330014c50e7ac7054a14ca86cafbe76ab28dfd25be65777f72bbfa4ffc35639949a46523434796c5dc093a49e8a103670f91 + languageName: node + linkType: hard + +"@commitlint/format@npm:^16.0.0": + version: 16.0.0 + resolution: "@commitlint/format@npm:16.0.0" + dependencies: + "@commitlint/types": ^16.0.0 + chalk: ^4.0.0 + checksum: 3ed6b379c1d5fd168badbcdcca1558f5591131f920e141adcb9f3a207638bc7ca3b3b41e216ee76d2ecf5b0ed2893a6700069a955a94c86002c461a648f8e0e6 + languageName: node + linkType: hard + +"@commitlint/is-ignored@npm:^16.0.0": + version: 16.0.0 + resolution: "@commitlint/is-ignored@npm:16.0.0" + dependencies: + "@commitlint/types": ^16.0.0 + semver: 7.3.5 + checksum: d8d29b1ae6e3721ec65cf2b25656f11d7438eeca6b32572d6b12b6effb19ee697c9fa810958b5b806c243ebbb3714a53e1323b62ab1aeab5730f40ae77af3470 + languageName: node + linkType: hard + +"@commitlint/lint@npm:^16.0.0": + version: 16.0.0 + resolution: "@commitlint/lint@npm:16.0.0" + dependencies: + "@commitlint/is-ignored": ^16.0.0 + "@commitlint/parse": ^16.0.0 + "@commitlint/rules": ^16.0.0 + "@commitlint/types": ^16.0.0 + checksum: 1c9dbcdc230386e39f32492436f558d7c8235f5d96ab3f990f70c6ba36044cc16214e0bea989d1d8b9a9fba22d3c8c8ade86ea69a1f7a75683a967a1f211b866 + languageName: node + linkType: hard + +"@commitlint/load@npm:^16.0.0": + version: 16.0.0 + resolution: "@commitlint/load@npm:16.0.0" + dependencies: + "@commitlint/config-validator": ^16.0.0 + "@commitlint/execute-rule": ^16.0.0 + "@commitlint/resolve-extends": ^16.0.0 + "@commitlint/types": ^16.0.0 + chalk: ^4.0.0 + cosmiconfig: ^7.0.0 + cosmiconfig-typescript-loader: ^1.0.0 + lodash: ^4.17.19 + resolve-from: ^5.0.0 + typescript: ^4.4.3 + checksum: 33fc082e5a01bd1b4fdb6df78ab68a659ef7763d3e4df00540cff60bdc91fde556aeba21deee3e6693f9aca7835fa7c4245d5ed59b76e7af351002afaca7f666 + languageName: node + linkType: hard + +"@commitlint/message@npm:^16.0.0": + version: 16.0.0 + resolution: "@commitlint/message@npm:16.0.0" + checksum: 6dfbef02900b0eb554f3c5fe97697c3f46a185cda42c7ea04a431de82a17a0eeee9dcaf332ffa79748ffa3660f16d92429015cd039e0324a5e1ee341a919402b + languageName: node + linkType: hard + +"@commitlint/parse@npm:^16.0.0": + version: 16.0.0 + resolution: "@commitlint/parse@npm:16.0.0" + dependencies: + "@commitlint/types": ^16.0.0 + conventional-changelog-angular: ^5.0.11 + conventional-commits-parser: ^3.2.2 + checksum: 1d31e044b99fc9b1de9ee698bade0a6dc04ba514d5c677a7181ac379e7899b0975f4523b8831c7080109c2acb4bf8457b12bc094d06c6d18a8053c571056b90e + languageName: node + linkType: hard + +"@commitlint/read@npm:^16.0.0": + version: 16.0.0 + resolution: "@commitlint/read@npm:16.0.0" + dependencies: + "@commitlint/top-level": ^16.0.0 + "@commitlint/types": ^16.0.0 + fs-extra: ^10.0.0 + git-raw-commits: ^2.0.0 + checksum: 12763e124936af9d0bc9fee71749b5caf02e9e087985b762239b4c25994676c6c1921fe7ec70e07d384b9b77e521913a64f885c9d1034b6715bf8ad92aabdf60 + languageName: node + linkType: hard + +"@commitlint/resolve-extends@npm:^16.0.0": + version: 16.0.0 + resolution: "@commitlint/resolve-extends@npm:16.0.0" + dependencies: + "@commitlint/config-validator": ^16.0.0 + "@commitlint/types": ^16.0.0 + import-fresh: ^3.0.0 + lodash: ^4.17.19 + resolve-from: ^5.0.0 + resolve-global: ^1.0.0 + checksum: e7e32fb4ae8fd7491bd9ec8808bca8f69289b631cb4b419dd5e2b22a1666fa1153d25a959563877d84f5e7af11f52d295eb8b550d6ec24f800112085879704fa + languageName: node + linkType: hard + +"@commitlint/rules@npm:^16.0.0": + version: 16.0.0 + resolution: "@commitlint/rules@npm:16.0.0" + dependencies: + "@commitlint/ensure": ^16.0.0 + "@commitlint/message": ^16.0.0 + "@commitlint/to-lines": ^16.0.0 + "@commitlint/types": ^16.0.0 + execa: ^5.0.0 + checksum: e76dc2dea9aca44c06ed84ed8881650f1bd4883d525ad0b51688bc4eb94ea399aa59614fb6b217a09082b67993758a0610e4f461bc9e60e4a21e100a340a007f + languageName: node + linkType: hard + +"@commitlint/to-lines@npm:^16.0.0": + version: 16.0.0 + resolution: "@commitlint/to-lines@npm:16.0.0" + checksum: ebac0b64fb670461c8b7d653e9bd98bc8f0ad3de58d5b95f3d5715a6d36fb9d9b620c450f06538efae813c185f5459aa88ccb7e6a0faadde9b748647723deb5f + languageName: node + linkType: hard + +"@commitlint/top-level@npm:^16.0.0": + version: 16.0.0 + resolution: "@commitlint/top-level@npm:16.0.0" + dependencies: + find-up: ^5.0.0 + checksum: 76a99a9b4d311b490d9f03a3f309c7300b32e6020ce688185e604a9ba7ed9701a01308083a28b3a046c8e3d091d88dd2d33e39c71c5b450ee7eb35fc73d7b606 + languageName: node + linkType: hard + +"@commitlint/types@npm:^16.0.0": + version: 16.0.0 + resolution: "@commitlint/types@npm:16.0.0" + dependencies: + chalk: ^4.0.0 + checksum: 2b25087c41f2bbe6dceea8903ad30be1edaa79ebe5825c69e83a1b058c1d659be5db3764327fec598fffbb16a9aa4bd16fff54e373ca3fd076a31abceb61cd50 + languageName: node + linkType: hard + +"@cspotcode/source-map-consumer@npm:0.8.0": + version: 0.8.0 + resolution: "@cspotcode/source-map-consumer@npm:0.8.0" + checksum: c0c16ca3d2f58898f1bd74c4f41a189dbcc202e642e60e489cbcc2e52419c4e89bdead02c886a12fb13ea37798ede9e562b2321df997ebc210ae9bd881561b4e + languageName: node + linkType: hard + +"@cspotcode/source-map-support@npm:0.7.0": + version: 0.7.0 + resolution: "@cspotcode/source-map-support@npm:0.7.0" + dependencies: + "@cspotcode/source-map-consumer": 0.8.0 + checksum: 9faddda7757cd778b5fd6812137b2cc265810043680d6399acc20441668fafcdc874053be9dccd0d9110087287bfad27eb3bf342f72bceca9aa9059f5d0c4be8 + languageName: node + linkType: hard + "@eslint/eslintrc@npm:^0.4.3": version: 0.4.3 resolution: "@eslint/eslintrc@npm:0.4.3" @@ -2842,6 +3045,34 @@ __metadata: languageName: node linkType: hard +"@tsconfig/node10@npm:^1.0.7": + version: 1.0.8 + resolution: "@tsconfig/node10@npm:1.0.8" + checksum: b8d5fffbc6b17ef64ef74f7fdbccee02a809a063ade785c3648dae59406bc207f70ea2c4296f92749b33019fa36a5ae716e42e49cc7f1bbf0fd147be0d6b970a + languageName: node + linkType: hard + +"@tsconfig/node12@npm:^1.0.7": + version: 1.0.9 + resolution: "@tsconfig/node12@npm:1.0.9" + checksum: a01b2400ab3582b86b589c6d31dcd0c0656f333adecde85d6d7d4086adb059808b82692380bb169546d189bf771ae21d02544a75b57bd6da4a5dd95f8567bec9 + languageName: node + linkType: hard + +"@tsconfig/node14@npm:^1.0.0": + version: 1.0.1 + resolution: "@tsconfig/node14@npm:1.0.1" + checksum: 976345e896c0f059867f94f8d0f6ddb8b1844fb62bf36b727de8a9a68f024857e5db97ed51d3325e23e0616a5e48c034ff51a8d595b3fe7e955f3587540489be + languageName: node + linkType: hard + +"@tsconfig/node16@npm:^1.0.2": + version: 1.0.2 + resolution: "@tsconfig/node16@npm:1.0.2" + checksum: ca94d3639714672bbfd55f03521d3f56bb6a25479bd425da81faf21f13e1e9d15f40f97377dedbbf477a5841c5b0c8f4cd1b391f33553d750b9202c54c2c07aa + languageName: node + linkType: hard + "@types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.1.14": version: 7.1.16 resolution: "@types/babel__core@npm:7.1.16" @@ -3176,6 +3407,13 @@ __metadata: languageName: node linkType: hard +"acorn-walk@npm:^8.1.1": + version: 8.2.0 + resolution: "acorn-walk@npm:8.2.0" + checksum: 1715e76c01dd7b2d4ca472f9c58968516a4899378a63ad5b6c2d668bba8da21a71976c14ec5f5b75f887b6317c4ae0b897ab141c831d741dc76024d8745f1ad1 + languageName: node + linkType: hard + "acorn@npm:^7.1.1, acorn@npm:^7.4.0": version: 7.4.1 resolution: "acorn@npm:7.4.1" @@ -3194,6 +3432,15 @@ __metadata: languageName: node linkType: hard +"acorn@npm:^8.4.1": + version: 8.7.0 + resolution: "acorn@npm:8.7.0" + bin: + acorn: bin/acorn + checksum: e0f79409d68923fbf1aa6d4166f3eedc47955320d25c89a20cc822e6ba7c48c5963d5bc657bc242d68f7a4ac9faf96eef033e8f73656da6c640d4219935fdfd0 + languageName: node + linkType: hard + "add-stream@npm:^1.0.0": version: 1.0.0 resolution: "add-stream@npm:1.0.0" @@ -3231,7 +3478,7 @@ __metadata: languageName: node linkType: hard -"ajv@npm:^6.10.0, ajv@npm:^6.12.3, ajv@npm:^6.12.4": +"ajv@npm:^6.10.0, ajv@npm:^6.12.3, ajv@npm:^6.12.4, ajv@npm:^6.12.6": version: 6.12.6 resolution: "ajv@npm:6.12.6" dependencies: @@ -3344,6 +3591,13 @@ __metadata: languageName: node linkType: hard +"arg@npm:^4.1.0": + version: 4.1.3 + resolution: "arg@npm:4.1.3" + checksum: 544af8dd3f60546d3e4aff084d451b96961d2267d668670199692f8d054f0415d86fc5497d0e641e91546f0aa920e7c29e5250e99fc89f5552a34b5d93b77f43 + languageName: node + linkType: hard + "argparse@npm:^1.0.7": version: 1.0.10 resolution: "argparse@npm:1.0.10" @@ -4073,7 +4327,7 @@ __metadata: languageName: node linkType: hard -"conventional-changelog-angular@npm:^5.0.12": +"conventional-changelog-angular@npm:^5.0.11, conventional-changelog-angular@npm:^5.0.12": version: 5.0.13 resolution: "conventional-changelog-angular@npm:5.0.13" dependencies: @@ -4083,6 +4337,17 @@ __metadata: languageName: node linkType: hard +"conventional-changelog-conventionalcommits@npm:^4.3.1": + version: 4.6.3 + resolution: "conventional-changelog-conventionalcommits@npm:4.6.3" + dependencies: + compare-func: ^2.0.0 + lodash: ^4.17.15 + q: ^1.5.1 + checksum: 7b8e8a21ebb56f9aaa510e12917b7c609202072c3e71089e0a09630c37c2e8146cdb04364809839b0e3eb55f807fe84d03b2079500b37f6186d505848be5c562 + languageName: node + linkType: hard + "conventional-changelog-core@npm:^4.2.2": version: 4.2.4 resolution: "conventional-changelog-core@npm:4.2.4" @@ -4157,6 +4422,22 @@ __metadata: languageName: node linkType: hard +"conventional-commits-parser@npm:^3.2.2": + version: 3.2.4 + resolution: "conventional-commits-parser@npm:3.2.4" + dependencies: + JSONStream: ^1.0.4 + is-text-path: ^1.0.1 + lodash: ^4.17.15 + meow: ^8.0.0 + split2: ^3.0.0 + through2: ^4.0.0 + bin: + conventional-commits-parser: cli.js + checksum: 1627ff203bc9586d89e47a7fe63acecf339aba74903b9114e23d28094f79d4e2d6389bf146ae561461dcba8fc42e7bc228165d2b173f15756c43f1d32bc50bfd + languageName: node + linkType: hard + "conventional-recommended-bump@npm:^6.1.0": version: 6.1.0 resolution: "conventional-recommended-bump@npm:6.1.0" @@ -4208,7 +4489,21 @@ __metadata: languageName: node linkType: hard -"cosmiconfig@npm:^7.0.0": +"cosmiconfig-typescript-loader@npm:^1.0.0": + version: 1.0.3 + resolution: "cosmiconfig-typescript-loader@npm:1.0.3" + dependencies: + cosmiconfig: ^7 + ts-node: ^10.4.0 + peerDependencies: + "@types/node": "*" + cosmiconfig: ">=7" + typescript: ">=3" + checksum: 04ff1b23298d1e53d98266668fee8a433cd88b1d22a0bbf1cbfa90fdf0a73f8c68538ad628152dd6ea37eb4651bdf892fb1118fa602c87a009ffce256f43fe4b + languageName: node + linkType: hard + +"cosmiconfig@npm:^7, cosmiconfig@npm:^7.0.0": version: 7.0.1 resolution: "cosmiconfig@npm:7.0.1" dependencies: @@ -4221,6 +4516,13 @@ __metadata: languageName: node linkType: hard +"create-require@npm:^1.1.0": + version: 1.1.1 + resolution: "create-require@npm:1.1.1" + checksum: a9a1503d4390d8b59ad86f4607de7870b39cad43d929813599a23714831e81c520bddf61bcdd1f8e30f05fd3a2b71ae8538e946eb2786dc65c2bbc520f692eff + languageName: node + linkType: hard + "cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" @@ -4462,6 +4764,13 @@ __metadata: languageName: node linkType: hard +"diff@npm:^4.0.1": + version: 4.0.2 + resolution: "diff@npm:4.0.2" + checksum: f2c09b0ce4e6b301c221addd83bf3f454c0bc00caa3dd837cf6c127d6edf7223aa2bbe3b688feea110b7f262adbfc845b757c44c8a9f8c0c5b15d8fa9ce9d20d + languageName: node + linkType: hard + "dir-glob@npm:^3.0.1": version: 3.0.1 resolution: "dir-glob@npm:3.0.1" @@ -5091,6 +5400,16 @@ __metadata: languageName: node linkType: hard +"find-up@npm:^5.0.0": + version: 5.0.0 + resolution: "find-up@npm:5.0.0" + dependencies: + locate-path: ^6.0.0 + path-exists: ^4.0.0 + checksum: 07955e357348f34660bde7920783204ff5a26ac2cafcaa28bace494027158a97b9f56faaf2d89a6106211a8174db650dd9f503f9c0d526b1202d5554a00b9095 + languageName: node + linkType: hard + "flat-cache@npm:^3.0.4": version: 3.0.4 resolution: "flat-cache@npm:3.0.4" @@ -5146,6 +5465,24 @@ __metadata: languageName: node linkType: hard +"fromentries@npm:^1.3.2": + version: 1.3.2 + resolution: "fromentries@npm:1.3.2" + checksum: 33729c529ce19f5494f846f0dd4945078f4e37f4e8955f4ae8cc7385c218f600e9d93a7d225d17636c20d1889106fd87061f911550861b7072f53bf891e6b341 + languageName: node + linkType: hard + +"fs-extra@npm:^10.0.0": + version: 10.0.0 + resolution: "fs-extra@npm:10.0.0" + dependencies: + graceful-fs: ^4.2.0 + jsonfile: ^6.0.1 + universalify: ^2.0.0 + checksum: 5285a3d8f34b917cf2b66af8c231a40c1623626e9d701a20051d3337be16c6d7cac94441c8b3732d47a92a2a027886ca93c69b6a4ae6aee3c89650d2a8880c0a + languageName: node + linkType: hard + "fs-extra@npm:^9.1.0": version: 9.1.0 resolution: "fs-extra@npm:9.1.0" @@ -5328,6 +5665,8 @@ __metadata: "@babel/plugin-proposal-object-rest-spread": ^7.14.7 "@babel/preset-env": ^7.15.0 "@babel/preset-typescript": ^7.16.0 + "@commitlint/cli": ^16.0.2 + "@commitlint/config-conventional": ^16.0.0 "@types/byline": ^4.2.33 "@types/jest": ^27.0.2 "@types/util.promisify": ^1.0.4 @@ -5338,14 +5677,31 @@ __metadata: eslint: 7.32.0 eslint-plugin-flowtype: 5.9.0 eslint-plugin-import: 2.24.0 + husky: ^7.0.4 jest: ^27 lerna: 4.0.0 + pinst: ^2.1.6 prettier: ^2.3.2 typescript: ^4.4.4 util.promisify: 1.1.1 languageName: unknown linkType: soft +"git-raw-commits@npm:^2.0.0": + version: 2.0.11 + resolution: "git-raw-commits@npm:2.0.11" + dependencies: + dargs: ^7.0.0 + lodash: ^4.17.15 + meow: ^8.0.0 + split2: ^3.0.0 + through2: ^4.0.0 + bin: + git-raw-commits: cli.js + checksum: c178af43633684106179793b6e3473e1d2bb50bb41d04e2e285ea4eef342ca4090fee6bc8a737552fde879d22346c90de5c49f18c719a0f38d4c934f258a0f79 + languageName: node + linkType: hard + "git-raw-commits@npm:^2.0.8": version: 2.0.10 resolution: "git-raw-commits@npm:2.0.10" @@ -5434,6 +5790,15 @@ __metadata: languageName: node linkType: hard +"global-dirs@npm:^0.1.1": + version: 0.1.1 + resolution: "global-dirs@npm:0.1.1" + dependencies: + ini: ^1.3.4 + checksum: 10624f5a8ddb8634c22804c6b24f93fb591c3639a6bc78e3584e01a238fc6f7b7965824184e57d63f6df36980b6c191484ad7bc6c35a1599b8f1d64be64c2a4a + languageName: node + linkType: hard + "globals@npm:^11.1.0": version: 11.12.0 resolution: "globals@npm:11.12.0" @@ -5653,6 +6018,15 @@ __metadata: languageName: node linkType: hard +"husky@npm:^7.0.4": + version: 7.0.4 + resolution: "husky@npm:7.0.4" + bin: + husky: lib/bin.js + checksum: c6ec4af63da2c9522da8674a20ad9b48362cc92704896cc8a58c6a2a39d797feb2b806f93fbd83a6d653fbdceb2c3b6e0b602c6b2e8565206ffc2882ef7db9e9 + languageName: node + linkType: hard + "iconv-lite@npm:0.4.24, iconv-lite@npm:^0.4.24": version: 0.4.24 resolution: "iconv-lite@npm:0.4.24" @@ -6999,6 +7373,15 @@ __metadata: languageName: node linkType: hard +"locate-path@npm:^6.0.0": + version: 6.0.0 + resolution: "locate-path@npm:6.0.0" + dependencies: + p-locate: ^5.0.0 + checksum: 72eb661788a0368c099a184c59d2fee760b3831c9c1c33955e8a19ae4a21b4116e53fa736dc086cdeb9fce9f7cc508f2f92d2d3aae516f133e16a2bb59a39f5a + languageName: node + linkType: hard + "lodash._reinterpolate@npm:^3.0.0": version: 3.0.0 resolution: "lodash._reinterpolate@npm:3.0.0" @@ -7095,6 +7478,13 @@ __metadata: languageName: node linkType: hard +"make-error@npm:^1.1.1": + version: 1.3.6 + resolution: "make-error@npm:1.3.6" + checksum: b86e5e0e25f7f777b77fabd8e2cbf15737972869d852a22b7e73c17623928fccb826d8e46b9951501d3f20e51ad74ba8c59ed584f610526a48f8ccf88aaec402 + languageName: node + linkType: hard + "make-fetch-happen@npm:^8.0.9": version: 8.0.14 resolution: "make-fetch-happen@npm:8.0.14" @@ -7916,6 +8306,15 @@ __metadata: languageName: node linkType: hard +"p-limit@npm:^3.0.2": + version: 3.1.0 + resolution: "p-limit@npm:3.1.0" + dependencies: + yocto-queue: ^0.1.0 + checksum: 7c3690c4dbf62ef625671e20b7bdf1cbc9534e83352a2780f165b0d3ceba21907e77ad63401708145ca4e25bfc51636588d89a8c0aeb715e6c37d1c066430360 + languageName: node + linkType: hard + "p-locate@npm:^2.0.0": version: 2.0.0 resolution: "p-locate@npm:2.0.0" @@ -7934,6 +8333,15 @@ __metadata: languageName: node linkType: hard +"p-locate@npm:^5.0.0": + version: 5.0.0 + resolution: "p-locate@npm:5.0.0" + dependencies: + p-limit: ^3.0.2 + checksum: 1623088f36cf1cbca58e9b61c4e62bf0c60a07af5ae1ca99a720837356b5b6c5ba3eb1b2127e47a06865fee59dd0453cad7cc844cda9d5a62ac1a5a51b7c86d3 + languageName: node + linkType: hard + "p-map-series@npm:^2.1.0": version: 2.1.0 resolution: "p-map-series@npm:2.1.0" @@ -8197,6 +8605,17 @@ __metadata: languageName: node linkType: hard +"pinst@npm:^2.1.6": + version: 2.1.6 + resolution: "pinst@npm:2.1.6" + dependencies: + fromentries: ^1.3.2 + bin: + pinst: bin.js + checksum: 3644c352a7a956a0a299012609783456e055b2c4dab274bcbe8ea86d3347355a0552da31a7f3fb6ce91d6102f27b6dde64edd69c2cdaaeb811b87bf205655e36 + languageName: node + linkType: hard + "pirates@npm:^4.0.1": version: 4.0.1 resolution: "pirates@npm:4.0.1" @@ -8698,6 +9117,13 @@ __metadata: languageName: node linkType: hard +"resolve-from@npm:5.0.0, resolve-from@npm:^5.0.0": + version: 5.0.0 + resolution: "resolve-from@npm:5.0.0" + checksum: 4ceeb9113e1b1372d0cd969f3468fa042daa1dd9527b1b6bb88acb6ab55d8b9cd65dbf18819f9f9ddf0db804990901dcdaade80a215e7b2c23daae38e64f5bdf + languageName: node + linkType: hard + "resolve-from@npm:^4.0.0": version: 4.0.0 resolution: "resolve-from@npm:4.0.0" @@ -8705,10 +9131,12 @@ __metadata: languageName: node linkType: hard -"resolve-from@npm:^5.0.0": - version: 5.0.0 - resolution: "resolve-from@npm:5.0.0" - checksum: 4ceeb9113e1b1372d0cd969f3468fa042daa1dd9527b1b6bb88acb6ab55d8b9cd65dbf18819f9f9ddf0db804990901dcdaade80a215e7b2c23daae38e64f5bdf +"resolve-global@npm:1.0.0, resolve-global@npm:^1.0.0": + version: 1.0.0 + resolution: "resolve-global@npm:1.0.0" + dependencies: + global-dirs: ^0.1.1 + checksum: c4e11d33e84bde7516b824503ffbe4b6cce863d5ce485680fd3db997b7c64da1df98321b1fd0703b58be8bc9bc83bc96bd83043f96194386b45eb47229efb6b6 languageName: node linkType: hard @@ -8858,16 +9286,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^6.0.0, semver@npm:^6.1.1, semver@npm:^6.1.2, semver@npm:^6.3.0": - version: 6.3.0 - resolution: "semver@npm:6.3.0" - bin: - semver: ./bin/semver.js - checksum: 1b26ecf6db9e8292dd90df4e781d91875c0dcc1b1909e70f5d12959a23c7eebb8f01ea581c00783bbee72ceeaad9505797c381756326073850dc36ed284b21b9 - languageName: node - linkType: hard - -"semver@npm:^7.1.1, semver@npm:^7.1.3, semver@npm:^7.2.1, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5": +"semver@npm:7.3.5, semver@npm:^7.1.1, semver@npm:^7.1.3, semver@npm:^7.2.1, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5": version: 7.3.5 resolution: "semver@npm:7.3.5" dependencies: @@ -8878,6 +9297,15 @@ __metadata: languageName: node linkType: hard +"semver@npm:^6.0.0, semver@npm:^6.1.1, semver@npm:^6.1.2, semver@npm:^6.3.0": + version: 6.3.0 + resolution: "semver@npm:6.3.0" + bin: + semver: ./bin/semver.js + checksum: 1b26ecf6db9e8292dd90df4e781d91875c0dcc1b1909e70f5d12959a23c7eebb8f01ea581c00783bbee72ceeaad9505797c381756326073850dc36ed284b21b9 + languageName: node + linkType: hard + "set-blocking@npm:~2.0.0": version: 2.0.0 resolution: "set-blocking@npm:2.0.0" @@ -9563,6 +9991,42 @@ __metadata: languageName: node linkType: hard +"ts-node@npm:^10.4.0": + version: 10.4.0 + resolution: "ts-node@npm:10.4.0" + dependencies: + "@cspotcode/source-map-support": 0.7.0 + "@tsconfig/node10": ^1.0.7 + "@tsconfig/node12": ^1.0.7 + "@tsconfig/node14": ^1.0.0 + "@tsconfig/node16": ^1.0.2 + acorn: ^8.4.1 + acorn-walk: ^8.1.1 + arg: ^4.1.0 + create-require: ^1.1.0 + diff: ^4.0.1 + make-error: ^1.1.1 + yn: 3.1.1 + peerDependencies: + "@swc/core": ">=1.2.50" + "@swc/wasm": ">=1.2.50" + "@types/node": "*" + typescript: ">=2.7" + peerDependenciesMeta: + "@swc/core": + optional: true + "@swc/wasm": + optional: true + bin: + ts-node: dist/bin.js + ts-node-cwd: dist/bin-cwd.js + ts-node-script: dist/bin-script.js + ts-node-transpile-only: dist/bin-transpile.js + ts-script: dist/bin-script-deprecated.js + checksum: 3933ac0a937d33c45e04a6750fcdd3e765eb2897d1da1307cd97ac52af093bcfb632ec0453a75000a65c8b5b7bdb32b1077050a186dcc556e62657cb592e6d49 + languageName: node + linkType: hard + "tsconfig-paths@npm:^3.9.0": version: 3.11.0 resolution: "tsconfig-paths@npm:3.11.0" @@ -9692,6 +10156,16 @@ __metadata: languageName: node linkType: hard +typescript@^4.4.3: + version: 4.5.4 + resolution: "typescript@npm:4.5.4" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 59f3243f9cd6fe3161e6150ff6bf795fc843b4234a655dbd938a310515e0d61afd1ac942799e7415e4334255e41c2c49b7dd5d9fd38a17acd25a6779ca7e0961 + languageName: node + linkType: hard + typescript@^4.4.4: version: 4.4.4 resolution: "typescript@npm:4.4.4" @@ -9702,6 +10176,16 @@ typescript@^4.4.4: languageName: node linkType: hard +"typescript@patch:typescript@^4.4.3#~builtin": + version: 4.5.4 + resolution: "typescript@patch:typescript@npm%3A4.5.4#~builtin::version=4.5.4&hash=32657b" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: db7fe40618f600c22a17db25bd727acbef509d8a4bd9a514f1b8c146f3cf9dd79478c5a8cd13c48a60d1ee4463319d9f72b6445f9e445f81bce6192d205d1811 + languageName: node + linkType: hard + "typescript@patch:typescript@^4.4.4#~builtin": version: 4.4.4 resolution: "typescript@patch:typescript@npm%3A4.4.4#~builtin::version=4.4.4&hash=32657b" @@ -10229,6 +10713,13 @@ typescript@^4.4.4: languageName: node linkType: hard +"yargs-parser@npm:^21.0.0": + version: 21.0.0 + resolution: "yargs-parser@npm:21.0.0" + checksum: 1e205fca1cb7a36a1585e2b94a64e641c12741b53627d338e12747f4dca3c3610cdd9bb235040621120548dd74c3ef03a8168d52a1eabfedccbe4a62462b6731 + languageName: node + linkType: hard + "yargs@npm:^16.2.0": version: 16.2.0 resolution: "yargs@npm:16.2.0" @@ -10243,3 +10734,32 @@ typescript@^4.4.4: checksum: b14afbb51e3251a204d81937c86a7e9d4bdbf9a2bcee38226c900d00f522969ab675703bee2a6f99f8e20103f608382936034e64d921b74df82b63c07c5e8f59 languageName: node linkType: hard + +"yargs@npm:^17.0.0": + version: 17.3.1 + resolution: "yargs@npm:17.3.1" + dependencies: + cliui: ^7.0.2 + escalade: ^3.1.1 + get-caller-file: ^2.0.5 + require-directory: ^2.1.1 + string-width: ^4.2.3 + y18n: ^5.0.5 + yargs-parser: ^21.0.0 + checksum: 64fc2e32c56739f1d14d2d24acd17a6944c3c8e3e3558f09fc1953ac112e868cc16013d282886b9d5be22187f8b9ed4f60741a6b1011f595ce2718805a656852 + languageName: node + linkType: hard + +"yn@npm:3.1.1": + version: 3.1.1 + resolution: "yn@npm:3.1.1" + checksum: 2c487b0e149e746ef48cda9f8bad10fc83693cd69d7f9dcd8be4214e985de33a29c9e24f3c0d6bcf2288427040a8947406ab27f7af67ee9456e6b84854f02dd6 + languageName: node + linkType: hard + +"yocto-queue@npm:^0.1.0": + version: 0.1.0 + resolution: "yocto-queue@npm:0.1.0" + checksum: f77b3d8d00310def622123df93d4ee654fc6a0096182af8bd60679ddcdfb3474c56c6c7190817c84a2785648cdee9d721c0154eb45698c62176c322fb46fc700 + languageName: node + linkType: hard