From ed7dfe814baf953b68132409e0453bdd0bd099d1 Mon Sep 17 00:00:00 2001 From: Luis Rodrigues Date: Thu, 23 May 2024 11:38:22 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20vitest=20configuration,?= =?UTF-8?q?=20adds=20git-cz?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .husky/.gitignore | 1 + package.json | 2 ++ vitest.config.ts => vitest.config.mts | 0 yarn.lock | 5 +++++ 4 files changed, 8 insertions(+) create mode 100644 .husky/.gitignore rename vitest.config.ts => vitest.config.mts (100%) diff --git a/.husky/.gitignore b/.husky/.gitignore new file mode 100644 index 000000000..c9cdc63b0 --- /dev/null +++ b/.husky/.gitignore @@ -0,0 +1 @@ +_ \ No newline at end of file diff --git a/package.json b/package.json index a4a7e28e6..43117ecdc 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "build:styles": "postcss src/littlefoot.css --output dist/littlefoot.css", "build:types": "tsc --declaration --emitDeclarationOnly --declarationDir dist", "build": "yarn clean && mkdir -p dist && concurrently 'yarn build:types' 'yarn build:scripts' 'yarn build:styles'", + "commit": "git-cz", "watch:scripts": "rollup --config --bundleConfigAsCjs --watch", "watch:styles": "yarn build:styles --watch", "watch:vitest": "vitest", @@ -79,6 +80,7 @@ "eslint-plugin-prettier": "5.1.3", "eslint-plugin-promise": "6.1.1", "eslint-plugin-testing-library": "6.2.2", + "git-cz": "^4.9.0", "husky": "9.0.11", "jsdom": "^24.0.0", "lint-staged": "15.2.4", diff --git a/vitest.config.ts b/vitest.config.mts similarity index 100% rename from vitest.config.ts rename to vitest.config.mts diff --git a/yarn.lock b/yarn.lock index d75f7793a..24b88baa7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4049,6 +4049,11 @@ getpass@^0.1.1: dependencies: assert-plus "^1.0.0" +git-cz@^4.9.0: + version "4.9.0" + resolved "https://registry.yarnpkg.com/git-cz/-/git-cz-4.9.0.tgz#c0604ff85b37046d51fd85e265040032c9617bf2" + integrity sha512-cSRL8IIOXU7UFLdbziCYqg8f8InwLwqHezkiRHNSph7oZqGv0togId1kMTfKil6gzK0VaSXeVBb4oDl0fQCHiw== + git-raw-commits@^2.0.8: version "2.0.11" resolved "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.11.tgz"