Skip to content

Commit

Permalink
feat: Setup semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
narze committed Nov 9, 2021
1 parent f17f605 commit 23c6172
Show file tree
Hide file tree
Showing 3 changed files with 2,757 additions and 69 deletions.
15 changes: 15 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"branches": ["main"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/npm",
{
"npmPublish": false,
"tarballDir": "dist"
}
],
"@semantic-release/github"
]
}
14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "learn-manoonchai",
"version": "0.1.0",
"version": "0.0.0-development",
"license": "MIT",
"scripts": {
"dev": "svelte-kit dev",
Expand All @@ -12,7 +12,8 @@
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. .",
"test": "jest test --config jest.config.json",
"test:watch": "npm run test -- --watch",
"test:e2e": "playwright test ./e2e"
"test:e2e": "playwright test ./e2e",
"semantic-release": "semantic-release"
},
"devDependencies": {
"@babel/core": "^7.14.0",
Expand Down Expand Up @@ -46,7 +47,12 @@
"tailwindcss": "^2.2.17",
"ts-jest": "^27.0.7",
"tslib": "^2.3.1",
"typescript": "^4.4.3"
"typescript": "^4.4.3",
"semantic-release": "^18.0.0"
},
"type": "module"
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/Manoonchai/learn.git"
}
}
Loading

1 comment on commit 23c6172

@vercel
Copy link

@vercel vercel bot commented on 23c6172 Nov 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.