-
Notifications
You must be signed in to change notification settings - Fork 2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
index.js
Outdated
module.exports = nodeMajorVersion >= 7 ? | ||
require('./dist/src') : | ||
require('./dist6/src'); | ||
module.exports = require('./dist/src'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we switch this to be just ./dist
like we have in loopback-next
packages?
912b622
to
dbccf86
Compare
test/unit/dummy-test.js
Outdated
@@ -0,0 +1,7 @@ | |||
import {expect} from '@loopback/testlab'; | |||
|
|||
describe('dummy test - remove me later', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the purpose of the dummy test here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI thinks that having no tests found is a failure, so this is just a placeholder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that case, I think we should comment on the test to describe the purpose of its presence and explicitly state to remove it once some tests are made.
dbccf86
to
a62d0ea
Compare
LoopBack4 is dropping support for Node 6 because it is no longer LTS and doesn't support newer features. It's best for extensions to align with it. Also added a dummy unit test, and updated dependencies. BREAKING CHANGE: Support for Node.js version lower than 8.0 has been dropped. Please upgrade to Node 8 or higher.
e66f3b5
to
524fdce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LoopBack4 is dropping support for Node 6 because it is no longer LTS and doesn't support newer features. It's best for extensions to align with it.
BREAKING CHANGE: Support for Node.js version lower than 8.0 has been dropped. Please upgrade to Node 8 or higher.
Connect to loopbackio/loopback-next#611