Skip to content

Commit

Permalink
chore: remove express (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak authored Aug 14, 2023
1 parent a5b5ba9 commit 01ad896
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 79 deletions.
19 changes: 0 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ async function third (instance, opts) {
* <a href="#override"><code>instance.<b>override()</b></code></a>
* <a href="#onClose"><code>instance.<b>onClose()</b></code></a>
* <a href="#close"><code>instance.<b>close()</b></code></a>
* <a href="#express"><code>avvio.<b>express()</b></code></a>
* <a href="#toJSON"><code>avvio.<b>toJSON()</b></code></a>
* <a href="#prettyPrint"><code>avvio.<b>prettyPrint()</b></code></a>

Expand Down Expand Up @@ -444,24 +443,6 @@ also start the boot sequence.
Start the boot sequence, if it was not started yet.
Returns the `app` instance.

-------------------------------------------------------
<a name="express"></a>

### avvio.express(app)

Same as:

```js
const app = express()
const avvio = require('avvio')

avvio(app, {
expose: {
use: 'load'
}
})
```

-------------------------------------------------------
<a name="override"></a>

Expand Down
7 changes: 0 additions & 7 deletions boot.js
Original file line number Diff line number Diff line change
Expand Up @@ -632,10 +632,3 @@ function encapsulateThreeParam (func, that) {
}

module.exports = Boot
module.exports.express = function (app) {
return Boot(app, {
expose: {
use: 'load'
}
})
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"devDependencies": {
"@fastify/pre-commit": "^2.0.2",
"@types/node": "^20.1.0",
"express": "^4.17.1",
"standard": "^17.0.0",
"tap": "^16.0.0",
"typescript": "^5.0.2"
Expand Down
52 changes: 0 additions & 52 deletions test/express.test.js

This file was deleted.

0 comments on commit 01ad896

Please sign in to comment.