Update paths, remove exclude
Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
@@ -6,9 +6,7 @@
|
||||
"access": "public",
|
||||
"baseBranch": "master",
|
||||
"updateInternalDependencies": "patch",
|
||||
"ignore": [
|
||||
"@backstage/release-manifest"
|
||||
],
|
||||
"ignore": [],
|
||||
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
|
||||
"onlyUpdatePeerDependentsWhenOutOfRange": true
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/test-utils": "^0.2.3",
|
||||
"msw": "^0.36.5",
|
||||
"msw": "^0.35.0",
|
||||
"@types/jest": "^26.0.7",
|
||||
"@types/node": "^14.14.32"
|
||||
},
|
||||
|
||||
@@ -40,7 +40,7 @@ export type GetByVersionOptions = {
|
||||
export async function getByVersion(
|
||||
options: GetByVersionOptions,
|
||||
): Promise<ReleaseManifest> {
|
||||
const url = `${VERSIONS_DOMAIN}/v1/releases/${options.version}`;
|
||||
const url = `${VERSIONS_DOMAIN}/v1/releases/${options.version}/manifest.json`;
|
||||
const response = await fetch(url);
|
||||
if (response.status === 404) {
|
||||
throw new Error(`No release found for ${options.version} version`);
|
||||
@@ -67,7 +67,7 @@ export type GetByReleaseLineOptions = {
|
||||
export async function getByReleaseLine(
|
||||
options: GetByReleaseLineOptions,
|
||||
): Promise<ReleaseManifest> {
|
||||
const url = `${VERSIONS_DOMAIN}/v1/tags/${options.releaseLine}`;
|
||||
const url = `${VERSIONS_DOMAIN}/v1/tags/${options.releaseLine}/manifest.json`;
|
||||
const response = await fetch(url);
|
||||
if (response.status === 404) {
|
||||
throw new Error(`No '${options.releaseLine}' release line found`);
|
||||
|
||||
Reference in New Issue
Block a user