Skip to content

Commit

Permalink
fix: upgrade deps (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
hongaar authored Feb 28, 2023
1 parent 363054e commit dd79cf1
Show file tree
Hide file tree
Showing 5 changed files with 167 additions and 107 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: dependabot-automerge

on:
pull_request:

permissions:
pull-requests: write
contents: write

jobs:
dependabot-automerge:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30 changes: 18 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,43 @@
## [0.3.1](https://github.com/hongaar/semantic-release-yarn/compare/v0.3.0...v0.3.1) (2023-01-18)


### Bug Fixes

* remove unused deps ([#42](https://github.com/hongaar/semantic-release-yarn/issues/42)) ([e87dcce](https://github.com/hongaar/semantic-release-yarn/commit/e87dccea586264e001c0f7c4aab3c1b37e64cf96))
- remove unused deps
([#42](https://github.com/hongaar/semantic-release-yarn/issues/42))
([e87dcce](https://github.com/hongaar/semantic-release-yarn/commit/e87dccea586264e001c0f7c4aab3c1b37e64cf96))

# [0.3.0](https://github.com/hongaar/semantic-release-yarn/compare/v0.2.3...v0.3.0) (2022-12-08)


### Bug Fixes

* verify ([#20](https://github.com/hongaar/semantic-release-yarn/issues/20)) ([bf0a7e8](https://github.com/hongaar/semantic-release-yarn/commit/bf0a7e8c0b0f2c2191261d6389b1577d37ae24ab))

- verify ([#20](https://github.com/hongaar/semantic-release-yarn/issues/20))
([bf0a7e8](https://github.com/hongaar/semantic-release-yarn/commit/bf0a7e8c0b0f2c2191261d6389b1577d37ae24ab))

### Features

* monorepo notifications and channels ([#19](https://github.com/hongaar/semantic-release-yarn/issues/19)) ([5f5ac71](https://github.com/hongaar/semantic-release-yarn/commit/5f5ac716a10ed9251da9d008fa7054ff39b45609))
- monorepo notifications and channels
([#19](https://github.com/hongaar/semantic-release-yarn/issues/19))
([5f5ac71](https://github.com/hongaar/semantic-release-yarn/commit/5f5ac716a10ed9251da9d008fa7054ff39b45609))

## [0.2.3](https://github.com/hongaar/semantic-release-yarn/compare/v0.2.2...v0.2.3) (2022-12-08)


### Bug Fixes

* set persist-credentials to false ([1024133](https://github.com/hongaar/semantic-release-yarn/commit/10241337f366a8a0c023a7876b7fb7323f716cc7))
- set persist-credentials to false
([1024133](https://github.com/hongaar/semantic-release-yarn/commit/10241337f366a8a0c023a7876b7fb7323f716cc7))

## [0.2.2](https://github.com/hongaar/semantic-release-yarn/compare/v0.2.1...v0.2.2) (2022-12-08)


### Bug Fixes

* better logging ([#16](https://github.com/hongaar/semantic-release-yarn/issues/16)) ([4136a90](https://github.com/hongaar/semantic-release-yarn/commit/4136a907cb3b5919c2dc8d33391c8bf3e4b73270))
* use PAT due to branch protection ([#17](https://github.com/hongaar/semantic-release-yarn/issues/17)) ([0576ddc](https://github.com/hongaar/semantic-release-yarn/commit/0576ddc1f1113b92e0a038e70dbe2258acfdd781))
* use token with checkout action ([52c9d11](https://github.com/hongaar/semantic-release-yarn/commit/52c9d116019a4438fc7e58c1a812adb5d94ffb04))
- better logging
([#16](https://github.com/hongaar/semantic-release-yarn/issues/16))
([4136a90](https://github.com/hongaar/semantic-release-yarn/commit/4136a907cb3b5919c2dc8d33391c8bf3e4b73270))
- use PAT due to branch protection
([#17](https://github.com/hongaar/semantic-release-yarn/issues/17))
([0576ddc](https://github.com/hongaar/semantic-release-yarn/commit/0576ddc1f1113b92e0a038e70dbe2258acfdd781))
- use token with checkout action
([52c9d11](https://github.com/hongaar/semantic-release-yarn/commit/52c9d116019a4438fc7e58c1a812adb5d94ffb04))

## [0.2.1](https://github.com/hongaar/semantic-release-yarn/compare/v0.2.0...v0.2.1) (2022-12-07)

Expand Down
86 changes: 43 additions & 43 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,55 +1,67 @@
{
"name": "semantic-release-yarn",
"description": "semantic-release plugin to publish a npm package with yarn",
"version": "0.3.1",
"license": "MIT",
"author": "Joram van den Boezem <[email protected]> (https://joram.dev)",
"contributors": [
"Pierre Vanduynslager (https://twitter.com/@pvdlg_)",
"Stephan Bönnemann <[email protected]> (http://boennemann.me)",
"Gregor Martynus (https://twitter.com/gr2m)"
],
"homepage": "https://github.com/hongaar/semantic-release-yarn",
"repository": "github:hongaar/semantic-release-yarn",
"bugs": "https://github.com/hongaar/semantic-release-yarn/issues",
"description": "semantic-release plugin to publish a npm package with yarn",
"keywords": [
"npm",
"publish",
"semantic-release",
"yarn",
"monorepo"
],
"homepage": "https://github.com/hongaar/semantic-release-yarn",
"bugs": "https://github.com/hongaar/semantic-release-yarn/issues",
"repository": "github:hongaar/semantic-release-yarn",
"license": "MIT",
"author": "Joram van den Boezem <[email protected]> (https://joram.dev)",
"contributors": [
"Pierre Vanduynslager (https://twitter.com/@pvdlg_)",
"Stephan Bönnemann <[email protected]> (http://boennemann.me)",
"Gregor Martynus (https://twitter.com/gr2m)"
],
"type": "module",
"main": "dist/cjs/index.cjs",
"types": "dist/types/index.d.ts",
"exports": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs"
},
"main": "dist/cjs/index.cjs",
"types": "dist/types/index.d.ts",
"files": [
"dist"
],
"scripts": {
"format": "prettier --write --ignore-unknown .",
"format:check": "prettier --check --ignore-unknown .",
"clean": "rm -rf dist",
"build": "yarn clean && yarn build:cjs && yarn build:esm",
"build:cjs": "tsc --module commonjs --moduleResolution nodenext --outDir dist/cjs && yarn convert-extension cjs dist/cjs/ && rm dist/cjs/*.map",
"build:esm": "tsc --outDir dist/esm",
"test": "ava",
"clean": "rm -rf dist",
"doctoc": "doctoc README.md",
"format": "prettier --write --ignore-unknown .",
"format:check": "prettier --check --ignore-unknown .",
"prepublish": "yarn build",
"release": "semantic-release"
"release": "semantic-release",
"test": "ava"
},
"engines": {
"node": ">=16 || ^14.17"
"lint-staged": {
"*": "prettier --write --ignore-unknown"
},
"nyc": {
"all": true,
"include": [
"lib/**/*.js",
"index.js"
],
"reporter": [
"json",
"text",
"html"
]
},
"dependencies": {
"@semantic-release/error": "^3.0.0",
"aggregate-error": "^4.0.1",
"cosmiconfig": "^8.0.0",
"execa": "^6.1.0",
"cosmiconfig": "^8.1.0",
"execa": "^7.0.0",
"fs-extra": "^11.1.0",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
Expand All @@ -65,24 +77,24 @@
"@types/fs-extra": "11.0.1",
"@types/js-yaml": "4.0.5",
"@types/lodash": "4.14.191",
"@types/node": "18.11.19",
"@types/node": "18.14.2",
"@types/prettier": "2.7.2",
"@types/semantic-release": "20.0.1",
"@types/semver": "7.3.13",
"@types/sinon": "10.0.13",
"@types/stream-buffers": "3.0.4",
"ava": "5.1.1",
"ava": "5.2.0",
"convert-extension": "0.3.0",
"dockerode": "3.3.4",
"doctoc": "2.2.1",
"get-stream": "6.0.1",
"got": "12.5.3",
"husky": "8.0.3",
"lint-staged": "13.1.0",
"moker": "0.10.5",
"lint-staged": "13.1.2",
"moker": "0.11.2",
"p-retry": "5.1.2",
"prettier": "2.8.3",
"semantic-release": "20.1.0",
"prettier": "2.8.4",
"semantic-release": "20.1.1",
"sinon": "15.0.1",
"stream-buffers": "3.0.2",
"tempy": "3.0.0",
Expand All @@ -92,19 +104,10 @@
"peerDependencies": {
"semantic-release": ">=19.0.0"
},
"nyc": {
"include": [
"lib/**/*.js",
"index.js"
],
"reporter": [
"json",
"text",
"html"
],
"all": true
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16 || ^14.17"
},
"moker": {
"plugins": [
"typescript",
Expand All @@ -116,8 +119,5 @@
"dependabot",
"doctoc"
]
},
"lint-staged": {
"*": "prettier --write --ignore-unknown"
}
}
2 changes: 1 addition & 1 deletion src/get-error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export type ErrorDefinition = Error & {

export function getError<T extends keyof typeof ERROR_DEFINITIONS>(
code: T,
ctx: Parameters<typeof ERROR_DEFINITIONS[T]>[0]
ctx: Parameters<(typeof ERROR_DEFINITIONS)[T]>[0]
): ErrorDefinition {
const { message, details } = ERROR_DEFINITIONS[code](ctx as any);

Expand Down
Loading

0 comments on commit dd79cf1

Please sign in to comment.