Skip to content

Commit

Permalink
fix(builtin): add test case for @bazel/hide-bazel-files bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan authored and alexeagle committed Jun 21, 2019
1 parent 7e777c7 commit 2a63ed6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 32 deletions.
4 changes: 3 additions & 1 deletion e2e/symlinked_node_modules_npm/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions e2e/symlinked_node_modules_npm/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"dependencies": {
"typescript": "2.9.1",
"rxjs": "6.4.0"
"rxjs": "6.4.0",
"typescript": "2.9.1"
},
"devDependencies": {
"@bazel/hide-bazel-files": "file:../../dist/npm_bazel_hide-bazel-files"
"@bazel/hide-bazel-files": "0.32.1"
},
"scripts": {
"postinstall": "hide-bazel-files",
"test": "bazel test ... && rm -rf node_modules && bazel test ... && rm -rf node_modules && yarn install && bazel test ..."
"//": "we use fixed version of @bazel/hide-bazel-files above as npm makes symlinks for `file:` deps and @bazel/hide-bazel-files doesn't work as a symlink because that would require --preserve-symlinks-main",
"test": "bazel test ... && rm -rf node_modules && bazel test ... && rm -rf node_modules && npm install && npm add @schematics/[email protected] && bazel test ... && npm remove @schematics/angular"
}
}
23 changes: 0 additions & 23 deletions e2e/symlinked_node_modules_npm/yarn.lock

This file was deleted.

6 changes: 3 additions & 3 deletions e2e/symlinked_node_modules_yarn/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"dependencies": {
"typescript": "2.9.1",
"rxjs": "6.4.0"
"rxjs": "6.4.0",
"typescript": "2.9.1"
},
"devDependencies": {
"@bazel/hide-bazel-files": "file:../../dist/npm_bazel_hide-bazel-files"
},
"scripts": {
"test": "bazel test ... && rm -rf node_modules && bazel test ... && rm -rf node_modules && yarn install && bazel test ..."
"test": "bazel test ... && rm -rf node_modules && bazel test ... && rm -rf node_modules && yarn install && yarn add @schematics/[email protected] && bazel test ... && yarn remove @schematics/angular"
}
}

0 comments on commit 2a63ed6

Please sign in to comment.