From ec2aa7063496a3a5ead3ab93e5b8d65ba5fad2be Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Fri, 23 Mar 2018 13:52:28 -0700 Subject: Add fsevents as a dev dependency to avoid Webpack killing the CPU Closes #33886 --- package.json | 1 + yarn.lock | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c81020f631e..7c5a68de99b 100644 --- a/package.json +++ b/package.json @@ -107,6 +107,7 @@ "eslint-plugin-jasmine": "^2.1.0", "eslint-plugin-promise": "^3.5.0", "eslint-plugin-vue": "^4.0.1", + "fsevents": "^1.1.3", "istanbul": "^0.4.5", "jasmine-core": "^2.9.0", "jasmine-jquery": "^2.1.1", diff --git a/yarn.lock b/yarn.lock index 36683a2a480..c32b66e0669 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3605,7 +3605,7 @@ fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" -fsevents@^1.0.0: +fsevents@^1.0.0, fsevents@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.1.3.tgz#11f82318f5fe7bb2cd22965a108e9306208216d8" dependencies: -- cgit v1.2.1 From 6b23620fc9b526d05153c303c96054eff0332993 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Sun, 25 Mar 2018 22:42:07 -0700 Subject: Revert "Add fsevents as a dev dependency to avoid Webpack killing the CPU" This reverts commit ec2aa7063496a3a5ead3ab93e5b8d65ba5fad2be. --- package.json | 1 - yarn.lock | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 7c5a68de99b..c81020f631e 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,6 @@ "eslint-plugin-jasmine": "^2.1.0", "eslint-plugin-promise": "^3.5.0", "eslint-plugin-vue": "^4.0.1", - "fsevents": "^1.1.3", "istanbul": "^0.4.5", "jasmine-core": "^2.9.0", "jasmine-jquery": "^2.1.1", diff --git a/yarn.lock b/yarn.lock index c32b66e0669..36683a2a480 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3605,7 +3605,7 @@ fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" -fsevents@^1.0.0, fsevents@^1.1.3: +fsevents@^1.0.0: version "1.1.3" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.1.3.tgz#11f82318f5fe7bb2cd22965a108e9306208216d8" dependencies: -- cgit v1.2.1 From 398c298e7538988c500e990b16376b1392c7a372 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Sun, 25 Mar 2018 22:42:54 -0700 Subject: Install fsevents as an optional dependency in package.json --- package.json | 3 +++ yarn.lock | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c81020f631e..98943997b2d 100644 --- a/package.json +++ b/package.json @@ -120,5 +120,8 @@ "nodemon": "^1.15.1", "prettier": "1.11.1", "webpack-dev-server": "^2.11.2" + }, + "optionalDependencies": { + "fsevents": "^1.1.3" } } diff --git a/yarn.lock b/yarn.lock index 36683a2a480..c32b66e0669 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3605,7 +3605,7 @@ fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" -fsevents@^1.0.0: +fsevents@^1.0.0, fsevents@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.1.3.tgz#11f82318f5fe7bb2cd22965a108e9306208216d8" dependencies: -- cgit v1.2.1