-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do some chores #132
Do some chores #132
Conversation
Please fix CI. |
Why we have to use |
ui/tools/checkversion.js
Outdated
|
||
const fs = require("fs"); | ||
|
||
const nvmVersion = fs.readFileSync(".node-version").toString().trim(); |
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.
I suppose we can impose version check by setting the engine
field in package.json
https://docs.npmjs.com/cli/v8/configuring-npm/package-json#engines
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.
engine
is better to place the version. I updated the script
There are two motivations:
|
Make sense. But I'm still confused with the It there any toolkit which follows this dotfile? |
* Introduce more strict checkers * Replace yarn with npm * Add node version checker * Bump up skywalking-eye Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
I removed this file. |
Signed-off-by: Gao Hongtao hanahmily@gmail.com