Skip to content
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

add yarn.lock and use engine fields in package.json #16

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
change node_versions
  • Loading branch information
shanshanzhu committed Feb 25, 2019
commit 8661c620fd80a6adaa6158c04116b93c0ab33ad1
8 changes: 7 additions & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
@@ -26,10 +26,16 @@ git_repository(
commit = "d334fd8e2274fb939cf447106dced97472534e80",
)
load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories")
#
node_repositories(
package_json = ["//:package.json"],
yarn_version = "1.10.1",
yarn_version = "1.12.3",
node_version = "10.15.1",
node_repositories = {
"10.15.1-darwin_amd64": ("node-v10.15.1-darwin-x64.tar.gz", "node-v10.15.1-darwin-x64", "327dcef4b61dead1ae04d2743d3390a2b7e6cc6c389c62cfcfeb0486c5a9f181"),
"10.15.1-linux_amd64": ("node-v10.15.1-linux-x64.tar.xz", "node-v10.15.1-linux-x64", "77db68544c7812e925b82ccc41cd4669fdeb191cea8e20053e3f0e86889c4fce"),
"10.15.1-windows_amd64": ("node-v10.15.1-win-x64.zip", "node-v10.15.1-win-x64", "bb5bdc9363e4050c94b3f82888141b81630230f86e520abb7dde49081f1292b9"),
},
)

load("@ts_protoc_gen//:defs.bzl", "typescript_proto_dependencies")
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@
"engines": {
"node": "10.15.1",
"npm": ">= 6",
"yarn": "1.10.1"
"yarn": "1.12.3"
},
"devDependencies": {
"@babel/core": "^7.1.6",