Skip to content

Commit 92bf7d8

Browse files
committed
Merge branch '1431-fix-host-bind'
2 parents cf0febd + 5ba14b2 commit 92bf7d8

735 files changed

Lines changed: 56492 additions & 9407 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

client/yarn.lock

Lines changed: 0 additions & 3903 deletions
This file was deleted.

crossbow.yaml

Lines changed: 3 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,8 @@
11
tasks:
2-
3-
dev:
4-
- '@npm cd client && ./node_modules/.bin/webpack --watch'
5-
6-
(example):
7-
bootstrap: '@sh node dist/bin test/fixtures/bootstrap -w --no-open'
8-
9-
build-all:
10-
- lint
11-
- build-server
12-
- build-client
13-
14-
test:
15-
- build-all
16-
- bs:*
17-
- cli:*
18-
- unit
19-
20-
unit: >
21-
@npm mocha --recursive test/specs --timeout 10000 --bail
22-
23-
build-server:
24-
- '@npm tsc'
25-
26-
build-client:
27-
- '@npm cd client && yarn'
28-
- '@npm cd client && ./node_modules/.bin/webpack'
29-
- '@npm cd client && ./node_modules/.bin/webpack -p --output-filename index.min.js'
30-
31-
lint: >
32-
@npm prettier
33-
lib/**/*
34-
examples/*
35-
test/specs/**/*
36-
test/specs/*.js
37-
client/lib/*
38-
client/lib/messages/*
39-
client/lib/dom-effects/*
40-
client/lib/effects/*
41-
client/lib/listeners/*
42-
--write --tab-width 4
43-
44-
cli: cypress/setup/bs-cli.js
45-
bs: cypress/setup/bs.js
2+
cy: cypress/setup/bs.js
463

474
options:
48-
bs:
5+
cy:
496
_default:
507
action: run
518
file-watching-ignore:
@@ -71,10 +28,4 @@ options:
7128
spec: cypress/integration/logPrefix.js
7229
ui-remote-debug:
7330
config: cypress/configs/file-reloading.js
74-
spec: cypress/integration/ui-remote-debug.js
75-
76-
cli:
77-
file-watching-ignore:
78-
method: 'run'
79-
args: ['test/fixtures', '--files', 'test/fixtures', '--no-open', '--json']
80-
spec: 'cypress/integration/file-watching-ignore.js'
31+
spec: cypress/integration/ui-remote-debug.js

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,

cypress/configs/file-reloading.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,

cypress/integration/css-console-notify.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ describe('CSS console notification', function() {
55
it('should log message when css injected', function() {
66
cy.window().then((win) => {
77
const spy = cy.spy(win.console, "log");
8-
cy.exec('touch test/fixtures/**/style.css');
8+
cy.exec('touch packages/browser-sync/test/fixtures/**/style.css');
99
cy.wait(1000).then(() => {
1010
expect(spy.getCall(0).args.slice(-1)[0]).to.equal('[LinkReplace] style.css');
1111
})
@@ -14,7 +14,7 @@ describe('CSS console notification', function() {
1414
it('should log 2 messages when 2 css files injected', function() {
1515
cy.window().then((win) => {
1616
const spy = cy.spy(win.console, "log");
17-
cy.exec('touch test/fixtures/**/*.css');
17+
cy.exec('touch packages/browser-sync/test/fixtures/**/*.css');
1818
cy.wait(1000).then(() => {
1919
expect(spy.callCount).to.equal(2);
2020
const calls = new Set([spy.getCall(0).args.slice(-1)[0], spy.getCall(1).args.slice(-1)[0]]);

cypress/integration/css-overlay-notify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ describe('CSS overlay notification', function() {
33
cy.visit(Cypress.env('BS_URL'));
44
});
55
it('should flash messages when css injected', function() {
6-
cy.exec('touch test/fixtures/**/style.css');
6+
cy.exec('touch packages/browser-sync/test/fixtures/**/style.css');
77
cy.wait(500);
88
cy.get('#__bs_notify__').should(function($elems) {
99
expect($elems.length).to.equal(1);

0 commit comments

Comments
 (0)