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-module-utils): deprecate new-backend.ts re-export from index.ts #1711

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/neat-adults-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@roadiehq/scaffolder-backend-module-utils': 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 @@ -111,7 +111,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-utils/new-backend'));
backend.add(import('@roadiehq/scaffolder-backend-module-utils'));
backend.start();
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,5 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export * from './actions/zip';
export * from './actions/fs';
export * from './actions/merge';
export * from './actions/sleep';
export * from './actions/jsonata';
export * from './actions/serialize';
export * from './actions';
export { scaffolderBackendModuleUtils as default } from './module';
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +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 * from './module';
export { scaffolderBackendModuleUtils as default } from './module';