Skip to content

Commit

Permalink
chore: setup deno-x
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Sep 1, 2023
1 parent 8b2b363 commit 8511ec4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .release-it.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
git:
commitArgs: ['--no-verify']
commitMessage: 'chore: release v${version}'
tagName: v${version}
npm:
Expand All @@ -8,3 +9,5 @@ plugins:
preset: conventionalcommits
infile: CHANGELOG.md
ignoreRecommendedBump: true
hooks:
'after:bump': pnpm lint && pnpm test:node && git add -f dist
3 changes: 3 additions & 0 deletions mod.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/// <reference types="./dist/index.d.ts" />

export * from './dist/index.js'
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8511ec4

Please sign in to comment.