Skip to content

Commit

Permalink
chore: improve config files
Browse files Browse the repository at this point in the history
  • Loading branch information
luckasnix committed Jun 2, 2024
1 parent 4142e1a commit 886bdef
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 8 deletions.
3 changes: 0 additions & 3 deletions commitlint.config.js

This file was deleted.

7 changes: 7 additions & 0 deletions commitlint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import type { UserConfig } from "@commitlint/types";

const commitlintConfig: UserConfig = {
extends: ["@commitlint/config-conventional"],
};

export default commitlintConfig;
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "structured-objects",
"private": true,
"version": "0.1.0",
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/luckasnix/structured-objects.git"
Expand Down
4 changes: 3 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { resolve } from "node:path";
import { defineConfig } from "vite";
import dts from "vite-plugin-dts";

export default defineConfig({
const viteConfig = defineConfig({
build: {
lib: {
entry: resolve(__dirname, "src/index.ts"),
Expand All @@ -19,3 +19,5 @@ export default defineConfig({
}),
],
});

export default viteConfig;
4 changes: 3 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { defineConfig } from "vitest/config";

export default defineConfig({
const vitestConfig = defineConfig({
test: {
watch: false,
},
});

export default vitestConfig;

0 comments on commit 886bdef

Please sign in to comment.