From e699f5acf72887563a3813f0aa01e9d9151939da Mon Sep 17 00:00:00 2001 From: Mark Skelton Date: Mon, 8 Nov 2021 10:35:53 -0600 Subject: [PATCH] format --- .changeset/README.md | 11 +++++++---- package.json | 2 +- src/index.ts | 3 ++- yarn.lock | 20 ++++++++++---------- 4 files changed, 20 insertions(+), 16 deletions(-) diff --git a/.changeset/README.md b/.changeset/README.md index e5b6d8d..468dd17 100644 --- a/.changeset/README.md +++ b/.changeset/README.md @@ -1,8 +1,11 @@ # Changesets -Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works -with multi-package repos, or single-package repos to help you version and publish your code. You can -find the full documentation for it [in our repository](https://github.com/changesets/changesets) +Hello and welcome! This folder has been automatically generated by +`@changesets/cli`, a build tool that works with multi-package repos, or +single-package repos to help you version and publish your code. You can find the +full documentation for it +[in our repository](https://github.com/changesets/changesets) -We have a quick list of common questions to get you started engaging with this project in +We have a quick list of common questions to get you started engaging with this +project in [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) diff --git a/package.json b/package.json index ccc1f34..bcf3a87 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "eslint": "^8.2.0", "i18next": "^21.4.1", "jest": "^27.3.1", - "prettier": "^2.4.1", + "prettier": "2.4.1", "ts-jest": "^27.0.7", "typescript": "^4.4.4" } diff --git a/src/index.ts b/src/index.ts index 3a10f6c..d2d36e9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,7 +9,8 @@ export interface AsyncBackendOptions { } export default class AsyncBackend - implements BackendModule { + implements BackendModule +{ // i18next is dumb as TypeScript requires the class property for `type` // but the runtime requires the static `type` property. static type = 'backend' diff --git a/yarn.lock b/yarn.lock index b3dccdc..5922d19 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3311,7 +3311,7 @@ __metadata: eslint: ^8.2.0 i18next: ^21.4.1 jest: ^27.3.1 - prettier: ^2.4.1 + prettier: 2.4.1 ts-jest: ^27.0.7 typescript: ^4.4.4 peerDependencies: @@ -5007,6 +5007,15 @@ __metadata: languageName: node linkType: hard +"prettier@npm:2.4.1": + version: 2.4.1 + resolution: "prettier@npm:2.4.1" + bin: + prettier: bin-prettier.js + checksum: cc6830588b401b0d742862fe9c46bc9118204fb307c3abe0e49e95b35ed23629573807ffdf9cdd65289c252a0bb51fc0171437f6626ee36378dea80f0ee80b91 + languageName: node + linkType: hard + "prettier@npm:^1.19.1": version: 1.19.1 resolution: "prettier@npm:1.19.1" @@ -5016,15 +5025,6 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^2.4.1": - version: 2.4.1 - resolution: "prettier@npm:2.4.1" - bin: - prettier: bin-prettier.js - checksum: cc6830588b401b0d742862fe9c46bc9118204fb307c3abe0e49e95b35ed23629573807ffdf9cdd65289c252a0bb51fc0171437f6626ee36378dea80f0ee80b91 - languageName: node - linkType: hard - "pretty-format@npm:^27.0.0, pretty-format@npm:^27.3.1": version: 27.3.1 resolution: "pretty-format@npm:27.3.1"