Skip to content

Commit

Permalink
feat(boot): use @loopback/booter for booter related dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Raymond Feng <[email protected]>
  • Loading branch information
raymondfeng committed Oct 13, 2020
1 parent 78a4789 commit 7103c15
Show file tree
Hide file tree
Showing 20 changed files with 33 additions and 520 deletions.
5 changes: 3 additions & 2 deletions packages/boot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
"@loopback/core": "^2.11.0"
},
"dependencies": {
"@types/debug": "^4.1.5",
"@types/glob": "^7.1.3",
"@loopback/booter": "^1.0.0",
"debug": "^4.2.0",
"glob": "^7.1.6",
"tslib": "^2.0.3"
Expand All @@ -38,6 +37,8 @@
"@loopback/core": "^2.11.0",
"@loopback/eslint-config": "^10.0.1",
"@loopback/testlab": "^3.2.7",
"@types/debug": "^4.1.5",
"@types/glob": "^7.1.3",
"@types/node": "^10.17.35"
},
"files": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

import {BaseArtifactBooter} from '@loopback/booter';
import {
Application,
BindingKey,
Expand All @@ -13,7 +14,6 @@ import {
} from '@loopback/core';
import {expect} from '@loopback/testlab';
import {BootBindings, BootMixin} from '../../';
import {BaseArtifactBooter} from '../../booters';
import {InstanceWithBooters} from '../../types';

describe('boot.component unit tests', () => {
Expand Down

This file was deleted.

93 changes: 0 additions & 93 deletions packages/boot/src/__tests__/unit/booters/booter-utils.unit.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/boot/src/boot.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

import {Booter} from '@loopback/booter';
import {
Application,
Binding,
Expand All @@ -20,7 +21,6 @@ import {
ServiceBooter,
} from './booters';
import {Bootstrapper} from './bootstrapper';
import {Booter} from './types';

/**
* BootstrapComponent is used to export the default list of Booter's made
Expand Down
2 changes: 1 addition & 1 deletion packages/boot/src/booters/application-metadata.booter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import {inject, Application, CoreBindings} from '@loopback/core';
import debugModule from 'debug';
import {BootBindings} from '../keys';
import {Booter} from '../types';
import path = require('path');
import {Booter} from '@loopback/booter';

const debug = debugModule('loopback:boot:booter:application-metadata');

Expand Down
142 changes: 0 additions & 142 deletions packages/boot/src/booters/base-artifact.booter.ts

This file was deleted.

Loading

0 comments on commit 7103c15

Please sign in to comment.