Skip to content

Commit

Permalink
fix: move adonis typings inside a folder
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed May 20, 2019
1 parent 7380e78 commit 946aa67
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion adonis-typings.ts → adonis-typings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*/

/// <reference path="./src/contracts.ts" />
/// <reference path="../src/contracts.ts" />

declare module '@ioc:Adonis/Src/Env' {
import { EnvContract as BaseContract } from '@poppinss/env/contracts'
Expand Down
1 change: 0 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

### External modules

* ["adonis-typings"](modules/_adonis_typings_.md)
* [@poppinss/env](modules/_poppinss_env.md)

---
Expand Down
8 changes: 0 additions & 8 deletions docs/modules/_adonis_typings_.md

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Environment variable manager for Node.js",
"main": "build/index.js",
"files": [
"build/adonis-typings.d.ts",
"build/adonis-typings/index.d.ts",
"build/src",
"build/index.d.ts",
"build/index.js"
Expand Down
3 changes: 2 additions & 1 deletion typedoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ module.exports = require('@adonisjs/mrm-preset/_typedoc.js')({
exclude: [
'**/test/*.ts',
'index.ts',
'src/contracts.ts'
'src/contracts.ts',
'adonis-typings/index.ts'
],
readme: 'none',
})

0 comments on commit 946aa67

Please sign in to comment.