Skip to content

Commit 4834e5a

Browse files
committed
chore: release setup
1 parent 2c585aa commit 4834e5a

File tree

3 files changed

+66
-2
lines changed

3 files changed

+66
-2
lines changed

changelog.config.ts

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import type { ChangelogConfig } from 'changelogen'
2+
3+
export default {
4+
excludeAuthors: ['OrbisK']
5+
} satisfies ChangelogConfig

package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@orbisk/vue-use-media-recorder",
33
"type": "module",
4-
"version": "1.0.0",
4+
"version": "0.0.0",
55
"packageManager": "[email protected]",
66
"description": "🪝 Vue Composable around MediaRecorder API",
77
"author": "Robin Kehl <[email protected]>",
@@ -56,7 +56,9 @@
5656
"docs:dev": "vitepress dev docs",
5757
"docs:build": "vitepress build docs",
5858
"docs:preview": "vitepress preview docs",
59-
"test:browser": "vitest --workspace=vitest.workspace.js"
59+
"test:browser": "vitest --workspace=vitest.workspace.js",
60+
"prepack": "pnpm build",
61+
"release": "pnpm test:unit && pnpm changelogen --release && pnpm publish"
6062
},
6163
"peerDependencies": {
6264
"vue": ">=3.0.0"
@@ -69,6 +71,7 @@
6971
"@vitejs/plugin-vue": "^5.1.4",
7072
"@vitest/browser": "^2.1.5",
7173
"@vitest/coverage-v8": "^2.1.4",
74+
"changelogen": "^0.5.7",
7275
"eslint": "^9.14.0",
7376
"globby": "^14.0.2",
7477
"happy-dom": "^15.11.3",

pnpm-lock.yaml

+56
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)