Merge pull request #10558 from backstage/blam/node16types

chore: @node/types -> 16.x
This commit is contained in:
Ben Lambert
2022-04-06 15:47:21 +02:00
committed by GitHub
72 changed files with 167 additions and 100 deletions
+1 -1
View File
@@ -48,7 +48,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"@types/object-hash": "^2.2.1",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0",
+1 -1
View File
@@ -48,7 +48,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -46,7 +46,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -44,7 +44,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"msw": "^0.35.0"
},
"files": [
+1 -1
View File
@@ -64,7 +64,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"@types/swagger-ui-react": "^4.1.1",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
+1 -1
View File
@@ -57,7 +57,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -54,7 +54,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -51,7 +51,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"@types/recharts": "^1.8.15",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -64,7 +64,7 @@
"@testing-library/user-event": "^14.0.0",
"@types/humanize-duration": "^3.25.1",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -60,7 +60,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -49,7 +49,7 @@
"@types/humanize-duration": "^3.27.1",
"@types/jest": "^26.0.7",
"@types/luxon": "^2.0.9",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -55,7 +55,7 @@
"@testing-library/user-event": "^14.0.0",
"@types/highlightjs": "^10.1.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"@types/recharts": "^1.8.15",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
+1 -1
View File
@@ -49,7 +49,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -68,7 +68,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"@types/pluralize": "^0.0.29",
"@types/recharts": "^1.8.14",
"@types/regression": "^2.0.0",
+1 -1
View File
@@ -43,7 +43,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -61,7 +61,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -47,7 +47,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -61,7 +61,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"msw": "^0.35.0"
},
"files": [
+1 -1
View File
@@ -54,7 +54,7 @@
"@types/gapi.auth2": "^0.0.56",
"@types/gapi.client.calendar": "^3.0.10",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"@types/sanitize-html": "^2.6.2",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
+1 -1
View File
@@ -55,7 +55,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -52,7 +52,7 @@
"@testing-library/react-hooks": "^7.0.2",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"@types/recharts": "^1.8.15",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
+1 -1
View File
@@ -63,7 +63,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -51,7 +51,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -56,7 +56,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -59,7 +59,7 @@
"@types/jest": "^26.0.7",
"@types/lodash": "^4.14.173",
"@types/luxon": "^2.0.4",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -57,7 +57,7 @@
"@testing-library/user-event": "^14.0.0",
"@types/codemirror": "^0.0.108",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0",
"react-router-dom": "6.0.0-beta.0"
+1 -1
View File
@@ -62,7 +62,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -51,7 +51,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -62,7 +62,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"@types/testing-library__jest-dom": "^5.9.1",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
+1 -1
View File
@@ -48,7 +48,7 @@
"@testing-library/react-hooks": "^7.0.2",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"jest-when": "^3.1.0",
"msw": "^0.35.0"
+1 -1
View File
@@ -66,7 +66,7 @@
"@testing-library/react-hooks": "^7.0.2",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -60,7 +60,7 @@
"@testing-library/react-hooks": "^7.0.2",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"@types/react": "^16.13.1 || ^17.0.0",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
+1 -1
View File
@@ -55,7 +55,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -57,7 +57,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -60,7 +60,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -51,7 +51,7 @@
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/luxon": "^2.0.4",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -62,7 +62,7 @@
"@testing-library/react-hooks": "^7.0.2",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"@types/react": "^16.13.1 || ^17.0.0",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
@@ -36,7 +36,7 @@
"devDependencies": {
"@backstage/cli": "^0.17.0-next.1",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"@types/command-exists": "^1.2.0",
"@types/fs-extra": "^9.0.1",
"@types/mock-fs": "^4.13.0",
+1 -1
View File
@@ -90,7 +90,7 @@
"@testing-library/user-event": "^14.0.0",
"@types/humanize-duration": "^3.18.1",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"event-source-polyfill": "1.0.25",
"msw": "^0.35.0"
+14 -11
View File
@@ -134,18 +134,21 @@ export class IndexBuilder {
// Compose collator/decorators/indexer into a pipeline
return new Promise<void>(done => {
pipeline([collator, ...decorators, indexer], error => {
if (error) {
this.logger.error(
`Collating documents for ${type} failed: ${error}`,
);
} else {
this.logger.info(`Collating documents for ${type} succeeded`);
}
pipeline(
[collator, ...decorators, indexer],
(error: NodeJS.ErrnoException | null) => {
if (error) {
this.logger.error(
`Collating documents for ${type} failed: ${error}`,
);
} else {
this.logger.info(`Collating documents for ${type} succeeded`);
}
// Signal index pipeline completion!
done();
});
// Signal index pipeline completion!
done();
},
);
});
}, this.collators[type].refreshInterval * 1000);
});
@@ -129,7 +129,7 @@ export class TestPipeline {
}
pipes.push(this.indexer!);
pipeline(pipes, error => {
pipeline(pipes, (error: NodeJS.ErrnoException | null) => {
done({
error,
documents,
+1 -1
View File
@@ -65,7 +65,7 @@
"@testing-library/react-hooks": "^7.0.2",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -62,7 +62,7 @@
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/luxon": "^2.0.4",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"@types/react": "^16.13.1 || ^17.0.0",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
+1 -1
View File
@@ -50,7 +50,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -61,7 +61,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"msw": "^0.35.0"
},
"files": [
+1 -1
View File
@@ -60,7 +60,7 @@
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/luxon": "^2.0.4",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -49,7 +49,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"msw": "^0.35.0"
},
"files": [
+1 -1
View File
@@ -55,7 +55,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -59,7 +59,7 @@
"@types/color": "^3.0.1",
"@types/d3-force": "^2.1.1",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"@types/react": "^16.13.1 || ^17.0.0",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
+1 -1
View File
@@ -74,7 +74,7 @@
"@testing-library/user-event": "^14.0.0",
"@types/dompurify": "^2.2.2",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"canvas": "^2.6.1",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
+1 -1
View File
@@ -53,7 +53,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0",
"react-router": "6.0.0-beta.0"
+1 -1
View File
@@ -56,7 +56,7 @@
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -49,7 +49,7 @@
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/luxon": "^2.0.4",
"@types/node": "^14.14.32",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.35.0"
},