Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(scaffolder-http-request): deprecate new-backend.ts re-export from index.ts #1712

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/short-poems-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@roadiehq/scaffolder-backend-module-http-request': minor
---

Deprecated the exports from `new-backend.ts` and re-export from `index.ts` as part of the transition to the new backend system
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ import { createBackendModule } from '@backstage/backend-plugin-api';
const backend = createBackend();
backend.add(import('@backstage/plugin-proxy-backend/alpha'));
backend.add(import('@backstage/plugin-scaffolder-backend/alpha'));
backend.add(
import('@roadiehq/scaffolder-backend-module-http-request/new-backend'),
);
backend.add(import('@roadiehq/scaffolder-backend-module-http-request'));
backend.start();
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
* limitations under the License.
*/
export * from './actions';
export { scaffolderBackendModuleHttpRequest as default } from './module';
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/**
* @deprecated Please import from the root path instead.
*/
export { scaffolderBackendModuleHttpRequest as default } from './module';