Skip to content

Commit

Permalink
Also remove symlink_node_modules = True usage
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Jun 9, 2022
1 parent 8966685 commit ab7f6ea
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 126 deletions.
7 changes: 0 additions & 7 deletions e2e/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,6 @@ e2e_integration_test(
"4.0.x",
]]

e2e_integration_test(
name = "e2e_node_loader_no_preserve_symlinks",
# TODO: figure out why this fails on Windows since setting
# symlink_node_modules to False in the test WORKSPACE
tags = ["no-bazelci-windows"],
)

e2e_integration_test(
name = "e2e_node_loader_preserve_symlinks",
# TODO: figure out why this fails on Windows since setting
Expand Down
1 change: 0 additions & 1 deletion e2e/node_loader_no_preserve_symlinks/.bazelignore

This file was deleted.

3 changes: 0 additions & 3 deletions e2e/node_loader_no_preserve_symlinks/.bazelrc

This file was deleted.

13 changes: 0 additions & 13 deletions e2e/node_loader_no_preserve_symlinks/BUILD.bazel

This file was deleted.

27 changes: 0 additions & 27 deletions e2e/node_loader_no_preserve_symlinks/WORKSPACE

This file was deleted.

24 changes: 0 additions & 24 deletions e2e/node_loader_no_preserve_symlinks/node_loader_test.spec.js

This file was deleted.

12 changes: 0 additions & 12 deletions e2e/node_loader_no_preserve_symlinks/package.json

This file was deleted.

32 changes: 0 additions & 32 deletions e2e/node_loader_no_preserve_symlinks/yarn.lock

This file was deleted.

5 changes: 4 additions & 1 deletion examples/cypress/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.

workspace(name = "examples_cypress")
workspace(
name = "examples_cypress",
managed_directories = {"@yarn": ["node_modules"]},
)

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

Expand Down
6 changes: 0 additions & 6 deletions npm_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ js_library(
visibility = ["//very_testy:__pkg__"],
)
""",
# symlink_node_modules needed for running e2e & example integration tests on Windows CI
symlink_node_modules = True,
# exports_directories_only needs to be disabled for @npm to support some legacy tests
exports_directories_only = False,
)
Expand Down Expand Up @@ -470,7 +468,6 @@ filegroup(
patch_args = ["-p0"],
patch_tool = "patch",
post_install_patches = ["//internal/npm_install/test/patches_yarn_symlinked:semver+1.0.0.patch"],
symlink_node_modules = True,
yarn_lock = "//internal/npm_install/test/patches_yarn_symlinked:yarn.lock",
quiet = False,
)
Expand All @@ -482,7 +479,6 @@ filegroup(
patch_args = ["-p0"],
patch_tool = "patch",
post_install_patches = ["//internal/npm_install/test/patches_npm_symlinked:semver+1.0.0.patch"],
symlink_node_modules = True,
quiet = False,
)

Expand Down Expand Up @@ -546,8 +542,6 @@ filegroup(
name = "cypress_deps",
package_json = "//packages/cypress/test:package.json",
yarn_lock = "//packages/cypress/test:yarn.lock",
# TODO: get cypress rule working with symlink_node_modules = False
symlink_node_modules = True,
# TODO: get cypress rule working with exports_directories_only = True
exports_directories_only = False,
)
Expand Down

0 comments on commit ab7f6ea

Please sign in to comment.