Skip to content

Commit

Permalink
chore: added deploy scaffold
Browse files Browse the repository at this point in the history
  • Loading branch information
KernelPanic92 authored Jul 24, 2024
1 parent fc2d0b4 commit 798e91d
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .releaserc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/**
* @type {import('semantic-release').GlobalConfig}
*/
const releaseConfig = {
branches: ["main"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
[
"@semantic-release/git",
{
"assets": ["package.json", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
};

module.exports = releaseConfig;
14 changes: 14 additions & 0 deletions tsup.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { defineConfig } from "tsup";

export default defineConfig({
entry: ["lib/src/index.ts"],
format: ["cjs", "esm"],
dts: true,
splitting: true,
treeshake: true,
sourcemap: true,
minify: false,
clean: true,
cjsInterop: true,
tsconfig: './tsconfig.json'
});

0 comments on commit 798e91d

Please sign in to comment.