Hi, I'm in middle of migrating backstage from yarn 1 to yarn 4 and everything is working as expected except config.d.ts file frontend. The development server does not seems to pick up config.d.ts file from packages/app
Running this command npx backstage-cli config:print --frontend only shows
title: Developer Portal by DevX
baseUrl: http://localhost:3000
and error Failed to read configuration value at 'app.description' as it is not visible. See https://backstage.io/docs/conf/defining#visibility for instructions on how to make it visible.
app: {
/**
* @visibility frontend
*/
title: string;
/**
* @visibility frontend
*/
description: string;
/**
* Frontend root URL
* @visibility frontend
*/
baseUrl: string;
}
}
My package.json in packages/app
"files": [
"dist",
"config.d.ts"
],
"configSchema": "config.d.ts"
"@backstage/cli": "^0.34.2"
"@backstage/core-plugin-api": "^1.11.0",
backstage "version": "1.43.3"