Skip to content

Commit

Permalink
workflow: add release script
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehwagz committed Dec 30, 2021
1 parent 37c38d9 commit c7d78d7
Show file tree
Hide file tree
Showing 4 changed files with 1,146 additions and 34 deletions.
10 changes: 10 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "avoid",
"endOfLine": "lf"
}
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
},
"types": "./dist/types/index.d.ts",
"scripts": {
"test": "c8 uvu -r esbuild-register lib/__tests__",
"dev": "watchlist lib -- pnpm test",
"build": "vite build && tsc --emitDeclarationOnly && mv dist/lib dist/types"
"build": "vite build && tsc --emitDeclarationOnly && mv dist/lib dist/types",
"test": "c8 uvu -r esbuild-register lib/__tests__",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"release": "node scripts/release.js"
},
"repository": {
"type": "git",
Expand All @@ -38,5 +40,13 @@
"uvu": "^0.5.2",
"vite": "^2.7.9",
"watchlist": "^0.3.1"
},
"dependencies": {
"chalk": "^5.0.0",
"conventional-changelog-cli": "^2.2.2",
"enquirer": "^2.3.6",
"execa": "^6.0.0",
"prettier": "^2.5.1",
"semver": "^7.3.5"
}
}
Loading

0 comments on commit c7d78d7

Please sign in to comment.