Skip to content

Commit 4ac3a49

Browse files
committed
lerna: updated more stuff since the move to lerna
1 parent c2db878 commit 4ac3a49

19 files changed

Lines changed: 40 additions & 55 deletions

cypress/configs/css-console-notify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
server: 'test/fixtures',
2+
server: 'packages/browser-sync/test/fixtures',
33
open: false,
44
watch: true,
55
online: false,

cypress/configs/css-overlay-notify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
server: 'test/fixtures',
2+
server: 'packages/browser-sync/test/fixtures',
33
open: false,
44
watch: true,
55
online: false,
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
2-
server: 'test/fixtures',
2+
server: 'packages/browser-sync/test/fixtures',
33
open: false,
44
online: false,
55
minify: false,
6-
files: 'test/fixtures',
6+
files: 'packages/browser-sync/test/fixtures',
77
};

cypress/configs/logPrefix.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
server: 'test/fixtures',
2+
server: 'packages/browser-sync/test/fixtures',
33
open: false,
44
watch: true,
55
online: false,

cypress/configs/no-notify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
server: 'test/fixtures',
2+
server: 'packages/browser-sync/test/fixtures',
33
open: false,
44
watch: true,
55
online: false,

package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ var fs = require("fs");
66
var path = require("path");
77
var zlib = require("zlib");
88

9-
var minifiedScript = path.join(__dirname, "..", "..", "/dist/index.min.js");
10-
var unminifiedScript = path.join(__dirname, "..", "..", "/dist/index.js");
9+
var minifiedScript = path.join(__dirname, "dist", "index.min.js");
10+
var unminifiedScript = path.join(__dirname, "dist", "index.js");
1111

1212
/**
1313
* Does the current request support compressed encoding?

packages/browser-sync-client/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "browser-sync-client",
33
"description": "Client-side scripts for BrowserSync",
4-
"version": "3.0.0",
4+
"version": "2.24.7",
55
"homepage": "https://github.com/shakyshane/browser-sync-client",
66
"author": "Shane Osbourne <shane.osbourne8@gmail.com>",
77
"repository": {
@@ -27,7 +27,8 @@
2727
"scripts": {
2828
"start": "cb dev",
2929
"test": "cb test",
30-
"build-all": "cb build-all"
30+
"build-all": "cb build-all",
31+
"prepublishOnly": "cb build-all"
3132
},
3233
"devDependencies": {
3334
"@types/node": "^8",

packages/browser-sync-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "browser-sync-ui",
33
"description": "User Interface for BrowserSync",
4-
"version": "1.0.1",
4+
"version": "2.24.7",
55
"homepage": "http://www.browsersync.io/",
66
"author": {
77
"name": "Shane Osbourne"

packages/browser-sync/lib/plugins.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,7 @@ function requirePlugin(item) {
134134
* Try a raw node require() call - this will be how
135135
* regular "npm installed" plugins wil work
136136
*/
137-
var maybe = path.resolve(
138-
process.cwd(),
139-
"node_modules",
140-
item.get("name")
141-
);
137+
var maybe = require.resolve(item.get("name"));
142138
return item.set("module", require(maybe));
143139
} catch (e) {
144140
/**

0 commit comments

Comments
 (0)