Skip to content

Commit 13dd5db

Browse files
build(deps-dev): bump prettier from 2.8.8 to 3.5.2 in /workspaces/confluence (#323)
* build(deps-dev): bump prettier in /workspaces/confluence Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.5.2. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@2.8.8...3.5.2) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * fix formatting * udpate api report --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Scott Guymer <[email protected]>
1 parent c44e4ba commit 13dd5db

File tree

4 files changed

+32
-30
lines changed

4 files changed

+32
-30
lines changed

workspaces/confluence/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@changesets/cli": "^2.27.1",
4141
"@spotify/prettier-config": "^15.0.0",
4242
"node-gyp": "^11.1.0",
43-
"prettier": "^2.3.2",
43+
"prettier": "^3.5.2",
4444
"typescript": "~5.7.3"
4545
},
4646
"resolutions": {

workspaces/confluence/plugins/search-confluence-backend/src/search/ConfluenceCollatorFactory/ConfluenceCollaterFactory.test.ts

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,10 @@ describe('Testing ConfluenceCollatorFactory', () => {
152152
results: [{ _links: { self: 'doc1' } }, { _links: { self: 'doc2' } }],
153153
_links: { next: null },
154154
};
155-
const confluenceCollatorFactory = await setupConfluenceCollatorFactory(
156-
mockValue,
157-
);
158-
const documents = await confluenceCollatorFactory.getDocumentsFromSpace(
159-
'space1',
160-
);
155+
const confluenceCollatorFactory =
156+
await setupConfluenceCollatorFactory(mockValue);
157+
const documents =
158+
await confluenceCollatorFactory.getDocumentsFromSpace('space1');
161159
expect(documents).toContain('doc1');
162160
expect(documents).toContain('doc2');
163161
});
@@ -166,13 +164,11 @@ describe('Testing ConfluenceCollatorFactory', () => {
166164
const mockValue = {
167165
_links: { next: null },
168166
};
169-
const confluenceCollatorFactory = await setupConfluenceCollatorFactory(
170-
mockValue,
171-
);
167+
const confluenceCollatorFactory =
168+
await setupConfluenceCollatorFactory(mockValue);
172169

173-
const documents = await confluenceCollatorFactory.getDocumentsFromSpace(
174-
'space1',
175-
);
170+
const documents =
171+
await confluenceCollatorFactory.getDocumentsFromSpace('space1');
176172

177173
expect(documents).toBeDefined();
178174
expect(documents.length).toBe(0); // No documents should be returned because results is missing
@@ -194,9 +190,8 @@ describe('Testing ConfluenceCollatorFactory', () => {
194190
_links: { next: null },
195191
});
196192

197-
const documents = await confluenceCollatorFactory.getDocumentsFromSpace(
198-
'space1',
199-
);
193+
const documents =
194+
await confluenceCollatorFactory.getDocumentsFromSpace('space1');
200195

201196
expect(documents).toContain('doc1');
202197
expect(documents).toContain('doc2');
@@ -219,9 +214,8 @@ describe('Testing ConfluenceCollatorFactory', () => {
219214
_links: { webui: '/doc1' },
220215
});
221216

222-
const documentInfo = await confluenceCollatorFactory.getDocumentInfo(
223-
'doc1',
224-
);
217+
const documentInfo =
218+
await confluenceCollatorFactory.getDocumentInfo('doc1');
225219
expect(documentInfo.length).toBe(1);
226220
expect(documentInfo[0].title).toBe('doc1');
227221
expect(documentInfo[0].spaceName).toBe('space1');
@@ -241,9 +235,8 @@ describe('Testing ConfluenceCollatorFactory', () => {
241235
_links: { webui: '/doc1' },
242236
});
243237

244-
const documentInfo = await confluenceCollatorFactory.getDocumentInfo(
245-
'doc1',
246-
);
238+
const documentInfo =
239+
await confluenceCollatorFactory.getDocumentInfo('doc1');
247240

248241
expect(documentInfo).toBeDefined();
249242
expect(documentInfo.length).toBe(0); // No document info should be returned because status is missing

workspaces/confluence/plugins/search-confluence-frontend/report.api.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
44
55
```ts
6+
67
import { BackstagePlugin } from '@backstage/core-plugin-api';
78
import { IndexableDocument } from '@backstage/plugin-search-common';
89
import { default as React_2 } from 'react';
@@ -11,18 +12,17 @@ import { SearchResultListItemExtensionProps } from '@backstage/plugin-search-rea
1112

1213
// @public
1314
export interface ConfluenceResultItemProps {
14-
highlight?: ResultHighlight;
15-
result?: IndexableDocument;
15+
highlight?: ResultHighlight;
16+
result?: IndexableDocument;
1617
}
1718

1819
// @public
19-
export const ConfluenceResultListItem: (
20-
props: SearchResultListItemExtensionProps<ConfluenceResultItemProps>,
21-
) => JSX.Element | null;
20+
export const ConfluenceResultListItem: (props: SearchResultListItemExtensionProps<ConfluenceResultItemProps>) => JSX.Element | null;
2221

2322
// @public
2423
export const ConfluenceSearchIcon: () => React_2.JSX.Element;
2524

2625
// @public
27-
export const searchConfluenceFrontendPlugin: BackstagePlugin<{}, {}, {}>;
26+
export const searchConfluenceFrontendPlugin: BackstagePlugin< {}, {}, {}>;
27+
2828
```

workspaces/confluence/yarn.lock

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5271,7 +5271,7 @@ __metadata:
52715271
"@changesets/cli": "npm:^2.27.1"
52725272
"@spotify/prettier-config": "npm:^15.0.0"
52735273
node-gyp: "npm:^11.1.0"
5274-
prettier: "npm:^2.3.2"
5274+
prettier: "npm:^3.5.2"
52755275
typescript: "npm:~5.7.3"
52765276
languageName: unknown
52775277
linkType: soft
@@ -22071,7 +22071,7 @@ __metadata:
2207122071
languageName: node
2207222072
linkType: hard
2207322073

22074-
"prettier@npm:^2.3.2, prettier@npm:^2.7.1":
22074+
"prettier@npm:^2.7.1":
2207522075
version: 2.8.8
2207622076
resolution: "prettier@npm:2.8.8"
2207722077
bin:
@@ -22080,6 +22080,15 @@ __metadata:
2208022080
languageName: node
2208122081
linkType: hard
2208222082

22083+
"prettier@npm:^3.5.2":
22084+
version: 3.5.2
22085+
resolution: "prettier@npm:3.5.2"
22086+
bin:
22087+
prettier: bin/prettier.cjs
22088+
checksum: 10/ac7a157c8ec76459b13d81a03ff65d228015992cb926b676b0f1c83edd47e5db8ba257336b400be20942fc671816f1afde377cffe94d9e4368762a3d3acbffe5
22089+
languageName: node
22090+
linkType: hard
22091+
2208322092
"pretty-error@npm:^4.0.0":
2208422093
version: 4.0.0
2208522094
resolution: "pretty-error@npm:4.0.0"

0 commit comments

Comments
 (0)