Skip to content

Commit

Permalink
Merge pull request #1711 from PatAKnight/new-backend-scaffolder-utils
Browse files Browse the repository at this point in the history
feat(scaffolder-module-utils): deprecate new-backend.ts re-export from index.ts
  • Loading branch information
punkle authored Nov 19, 2024
2 parents 41ac159 + 904ba81 commit 33ee23d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
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': 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 @@ -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';

0 comments on commit 33ee23d

Please sign in to comment.