Skip to content

Commit

Permalink
feat(scaffolder-http-request): deprecate new-backend.ts re-export fro…
Browse files Browse the repository at this point in the history
…m index.ts
  • Loading branch information
PatAKnight committed Nov 19, 2024
1 parent 41ac159 commit 9fb8723
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
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': major
---

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';

0 comments on commit 9fb8723

Please sign in to comment.