-
Notifications
You must be signed in to change notification settings - Fork 522
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
feat(create): add workers flags #865
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,10 @@ ts_library( | |
expected_diagnostics = [ | ||
"TS2304: Cannot find name 'Hammer'", | ||
], | ||
node_modules = "@npm//:node_modules", | ||
# Use a filegroup to simulate user-managed node modules | ||
# This exercises logic in build_defs.bzl that must preserve | ||
# the types[] in tsconfig.json so that jasmine is found. | ||
node_modules = "@npm//:node_modules_filegroup", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this makes me think it's a breaking change. I hoped we could keep the old code building? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because |
||
tsconfig = ":tsconfig.json", | ||
) | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
// Cecking that `describe` is a valid symbol here to ensure | ||
// that @types/jasmine is getting picked up | ||
describe('', () => {}); | ||
// Since "hammerjs" is not included in the types=[] array in | ||
// tsconfig, this should result in a compile error: TS2304: Cannot find name 'Hammer' | ||
console.log(typeof Hammer); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Generated file from yarn_install/npm_install rule. | ||
# See $(bazel info output_base)/external/build_bazel_rules_nodejs/internal/npm_install/generate_build_file.js | ||
|
||
# All rules in other repositories can use these targets | ||
package(default_visibility = ["//visibility:public"]) | ||
|
||
load("@build_bazel_rules_nodejs//internal/npm_install:node_module_library.bzl", "node_module_library") | ||
|
||
# The node_modules directory in one catch-all node_module_library. | ||
# NB: Using this target may have bad performance implications if | ||
# there are many files in target. | ||
# See https://github.com/bazelbuild/bazel/issues/5153. | ||
node_module_library( | ||
name = "node_modules", | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,29 +2,29 @@ | |
# yarn lockfile v1 | ||
|
||
|
||
"@bazel/[email protected]-rc5": | ||
version "0.27.0-rc5" | ||
resolved "https://registry.yarnpkg.com/@bazel/bazel-darwin_x64/-/bazel-darwin_x64-0.27.0-rc5.tgz#e7420f7fa79ede0155565f1257a84782b120f99f" | ||
integrity sha512-Xw+cEbpU+6sSTMBCXnEQw0oK7UYdOiBtGOZ0mjRr7CehRUcd7Wdr5sCx0+vu1lFSnwgpqM0HEdygw0wzvaM8Qw== | ||
|
||
"@bazel/[email protected]-rc5": | ||
version "0.27.0-rc5" | ||
resolved "https://registry.yarnpkg.com/@bazel/bazel-linux_x64/-/bazel-linux_x64-0.27.0-rc5.tgz#196d2a640b892780e525d292bd9c5d5389a3d138" | ||
integrity sha512-1MTaWEj5R4t9B8n3BrERWX/jt0hYYJrql+ek/4alVj2g6WAOzKY7zvXc8Odvy+izJbR7LuqEspYD+6vk8YR98w== | ||
|
||
"@bazel/[email protected]-rc5": | ||
version "0.27.0-rc5" | ||
resolved "https://registry.yarnpkg.com/@bazel/bazel-win32_x64/-/bazel-win32_x64-0.27.0-rc5.tgz#3350840cdee1af2802d8aeb2e714adf1e6e9309b" | ||
integrity sha512-BUe+wBo2WdsvfRkbPEVLAANfAQxnvjiyde9ReM1pbR6Be9mr/qxUXdydkykae9TmDkztrKtUKGD14IMhz5ZCQw== | ||
|
||
"@bazel/[email protected].0rc5": | ||
version "0.27.0-rc5" | ||
resolved "https://registry.yarnpkg.com/@bazel/bazel/-/bazel-0.27.0-rc5.tgz#7cd8d47960df422fb8f3b7cdd7007e7bc1aacd24" | ||
integrity sha512-9czrKaSpTXeeo3vfIwRgv5+3PWAS0JNMjOU09GnSV0HTK/mGuCnYhkR7hdz6HjaNcXDLif3gvJHvS0Cs3905bA== | ||
"@bazel/[email protected]": | ||
version "0.27.0" | ||
resolved "https://registry.yarnpkg.com/@bazel/bazel-darwin_x64/-/bazel-darwin_x64-0.27.0.tgz#83a03c92d52ae60e48e86a1ee697e69e12ddbdf6" | ||
integrity sha512-CyavIbRKRa/55aMyfEM9hjbt4TVISfv7HLeymHTGTLWzS8uQokQ8W9tR/pgc7YJn8F0x64dd7nQKxhbYHM1Qfg== | ||
|
||
"@bazel/[email protected]": | ||
version "0.27.0" | ||
resolved "https://registry.yarnpkg.com/@bazel/bazel-linux_x64/-/bazel-linux_x64-0.27.0.tgz#2358292aa4901f526ba9b90874256f63d6d6608c" | ||
integrity sha512-hO04v7C6M3Jf+qNlLE+IticZZKkkS7Nv6+pXDnENgFWrqLV2H93un6kNQnk83B0hP2cEqRQ8rw5yrIcqXNNuSQ== | ||
|
||
"@bazel/[email protected]": | ||
version "0.27.0" | ||
resolved "https://registry.yarnpkg.com/@bazel/bazel-win32_x64/-/bazel-win32_x64-0.27.0.tgz#0e5e498de5ccccc9a6cf481cd46904ee938ab6c2" | ||
integrity sha512-7hIGNhdgaxRt9ceSOCs3eSTtCNi4GXz3nu6OjfgSp+QiqLbW/iAVWa8M8vD5aemZ1BSHek4/LISdWUTncLJk+w== | ||
|
||
"@bazel/[email protected].0": | ||
version "0.27.0" | ||
resolved "https://registry.yarnpkg.com/@bazel/bazel/-/bazel-0.27.0.tgz#4e72c8e1cbb4da41022b6de1afe28731f5f58e09" | ||
integrity sha512-yIj64IkesNzjHsoeehQUMBOgrCK/JMSuon5CvBqo6+izPXAmt+OW05uqaLL/FPAYAFQ2mHxsYtDsPxsM8DUbqA== | ||
optionalDependencies: | ||
"@bazel/bazel-darwin_x64" "0.27.0-rc5" | ||
"@bazel/bazel-linux_x64" "0.27.0-rc5" | ||
"@bazel/bazel-win32_x64" "0.27.0-rc5" | ||
"@bazel/bazel-darwin_x64" "0.27.0" | ||
"@bazel/bazel-linux_x64" "0.27.0" | ||
"@bazel/bazel-win32_x64" "0.27.0" | ||
|
||
"@bazel/[email protected]": | ||
version "0.25.1" | ||
|
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.
add a comment here that this is to exclude hammerjs because the test asserts that it's missing?