Skip to content

Commit

Permalink
squash! bring back package-level index files
Browse files Browse the repository at this point in the history
  • Loading branch information
bajtos committed Jan 25, 2019
1 parent 55fe987 commit ee10452
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"prefix": false,
"loglevel": "silent",
"stream": true,
"concurrency": 8
"concurrency": 8,
"sort": false
},
"clean": {
"loglevel": "silent",
Expand Down
6 changes: 6 additions & 0 deletions packages/testlab/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Copyright IBM Corp. 2017,2018. All Rights Reserved.
// Node module: @loopback/testlab
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

export * from './dist';
6 changes: 6 additions & 0 deletions packages/testlab/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Copyright IBM Corp. 2017,2018. All Rights Reserved.
// Node module: @loopback/testlab
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

module.exports = require('./dist');
8 changes: 8 additions & 0 deletions packages/testlab/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Copyright IBM Corp. 2017,2018. All Rights Reserved.
// Node module: @loopback/testlab
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

// DO NOT EDIT THIS FILE
// Add any additional (re)exports to src/index.ts instead.
export * from './src';
2 changes: 0 additions & 2 deletions packages/testlab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
"test": "lb-mocha \"dist/__tests__\"",
"verify": "npm pack && tar xf loopback-testlab*.tgz && tree package && npm run clean"
},
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"author": "IBM",
"copyright.owner": "IBM Corp.",
"license": "MIT",
Expand Down

0 comments on commit ee10452

Please sign in to comment.