Co-authored-by: Wylie Conlon <william.conlon@elastic.co>
This commit is contained in:
parent
8ba664ca1e
commit
5b542f34b1
|
@ -297,6 +297,7 @@
|
|||
"p-retry": "^4.2.0",
|
||||
"papaparse": "^5.2.0",
|
||||
"pdfmake": "^0.1.65",
|
||||
"peggy": "^1.0.0",
|
||||
"pegjs": "0.10.0",
|
||||
"pluralize": "3.1.0",
|
||||
"pngjs": "^3.4.0",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@build_bazel_rules_nodejs//:index.bzl", "js_library", "pkg_npm")
|
||||
load("@npm//pegjs:index.bzl", "pegjs")
|
||||
load("@npm//peggy:index.bzl", "peggy")
|
||||
|
||||
PKG_BASE_NAME = "kbn-tinymath"
|
||||
PKG_REQUIRE_NAME = "@kbn/tinymath"
|
||||
|
@ -30,16 +30,16 @@ DEPS = [
|
|||
"@npm//lodash",
|
||||
]
|
||||
|
||||
pegjs(
|
||||
peggy(
|
||||
name = "grammar",
|
||||
data = [
|
||||
":grammar/grammar.pegjs"
|
||||
":grammar/grammar.peggy"
|
||||
],
|
||||
output_dir = True,
|
||||
args = [
|
||||
"-o",
|
||||
"$(@D)/index.js",
|
||||
"./%s/grammar/grammar.pegjs" % package_name()
|
||||
"./%s/grammar/grammar.peggy" % package_name()
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
@ -21252,6 +21252,11 @@ pdfmake@^0.1.65:
|
|||
pdfkit "^0.11.0"
|
||||
svg-to-pdfkit "^0.1.8"
|
||||
|
||||
peggy@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/peggy/-/peggy-1.0.0.tgz#df6c7816c9df0ef35e071aaf96836cb866fe7eb4"
|
||||
integrity sha512-lH12sxAXj4Aug+vH6IGoByIQOREIlhH+x4Uzb9kce6DD8wcGeidkC0JYEOwHormKrLt5BFLTbR4PuD/tiMOirQ==
|
||||
|
||||
pegjs@0.10.0:
|
||||
version "0.10.0"
|
||||
resolved "https://registry.yarnpkg.com/pegjs/-/pegjs-0.10.0.tgz#cf8bafae6eddff4b5a7efb185269eaaf4610ddbd"
|
||||
|
|
Loading…
Reference in a new issue