Skip to content

Commit

Permalink
chore(deps): update dependency prettier to v2.3.0 (#226)
Browse files Browse the repository at this point in the history
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
  • Loading branch information
3 people committed May 17, 2021
1 parent 7b1663c commit 3e75cc1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -60,7 +60,7 @@
"jest": "26.6.3",
"nock": "13.0.11",
"npm-run-all": "4.1.5",
"prettier": "2.2.1",
"prettier": "2.3.0",
"prettier-plugin-package": "1.3.0",
"pretty-quick": "3.1.0",
"semantic-release": "17.4.2",
Expand Down
6 changes: 4 additions & 2 deletions src/utils/github.ts
Expand Up @@ -8,8 +8,10 @@ import { BinaryBuilderConfig } from './types';

export { getOctokit };

type ReposGetReleaseResponseData = RestEndpointMethodTypes['repos']['getReleaseByTag']['response']['data'];
type ReposCreateReleaseResponseData = RestEndpointMethodTypes['repos']['createRelease']['response']['data'];
type ReposGetReleaseResponseData =
RestEndpointMethodTypes['repos']['getReleaseByTag']['response']['data'];
type ReposCreateReleaseResponseData =
RestEndpointMethodTypes['repos']['createRelease']['response']['data'];

type GitHubOctokit = InstanceType<typeof GitHub>;

Expand Down
10 changes: 2 additions & 8 deletions test/utils/github.spec.ts
Expand Up @@ -12,16 +12,10 @@ describe(getName(__filename), () => {
utils.getDistro.mockReturnValue('focal');
utils.getArch.mockReturnValueOnce('x86_64');
expect(
getBinaryName(
partial<BinaryBuilderConfig>({ image: 'php' }),
'1.2.3'
)
getBinaryName(partial<BinaryBuilderConfig>({ image: 'php' }), '1.2.3')
).toBe('php-1.2.3-focal-x86_64.tar.xz');
expect(
getBinaryName(
partial<BinaryBuilderConfig>({ image: 'php' }),
'1.2.3'
)
getBinaryName(partial<BinaryBuilderConfig>({ image: 'php' }), '1.2.3')
).toBe('php-1.2.3-focal.tar.xz');
});
});
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -7235,10 +7235,10 @@ prettier-plugin-package@1.3.0:
resolved "https://registry.yarnpkg.com/prettier-plugin-package/-/prettier-plugin-package-1.3.0.tgz#b42d12eda16b67c9fcf95054d799fe3f542aef54"
integrity sha512-KPNHR/Jm2zTevBp1SnjzMnooO1BOQW2bixVbOp8flOJoW+dxdDwEncObfsKZdkjwrv6AIH4oWqm5EO/etDmK9Q==

prettier@2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==
prettier@2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.0.tgz#b6a5bf1284026ae640f17f7ff5658a7567fc0d18"
integrity sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==

pretty-bytes@^5.1.0:
version "5.6.0"
Expand Down

0 comments on commit 3e75cc1

Please sign in to comment.