diff --git a/.release-it.yaml b/.release-it.yaml index 5e58f4d..04385e8 100644 --- a/.release-it.yaml +++ b/.release-it.yaml @@ -1,4 +1,5 @@ git: + commitArgs: ['--no-verify'] commitMessage: 'chore: release v${version}' tagName: v${version} npm: @@ -8,3 +9,5 @@ plugins: preset: conventionalcommits infile: CHANGELOG.md ignoreRecommendedBump: true +hooks: + 'after:bump': pnpm lint && pnpm test:node && git add -f dist diff --git a/mod.ts b/mod.ts new file mode 100644 index 0000000..9113fc3 --- /dev/null +++ b/mod.ts @@ -0,0 +1,3 @@ +/// + +export * from './dist/index.js' diff --git a/package.json b/package.json index a4d3024..2326d83 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,7 @@ "build": "pnpm i && tsup", "lint": "pnpm build && pnpm lint:only", "lint:only": "lefthook run pre-commit && publint && attw --pack", - "prepublishOnly": "pnpm lint && pnpm test:node", - "test": "pnpm prepublishOnly && pnpm test:bun && pnpm test:deno", + "test": "pnpm test:node && pnpm test:deno && pnpm test:bun", "test:bun": "bun --cwd=tests/bun test", "test:deno": "deno test tests/deno/index.test.ts --parallel --no-check", "test:node": "NODE_OPTIONS='--loader tsx' node--test tests/node/index.test.ts"