Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: BrowserSync/browser-sync
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 02efdff2f6cf2991b87f8e8eaf7bbd21559fa612
Choose a base ref
...
head repository: BrowserSync/browser-sync
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c0556cbfee77bca0bb77ee3e5072ddf56ccc577f
Choose a head ref
  • 18 commits
  • 50 files changed
  • 3 contributors

Commits on May 17, 2023

  1. build(deps): bump nanoid and mocha in /packages/browser-sync-ui (#2015)

    Bumps [nanoid](https://github.com/ai/nanoid) to 3.3.3 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together.
    
    
    Updates `nanoid` from 3.1.12 to 3.3.3
    - [Release notes](https://github.com/ai/nanoid/releases)
    - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
    - [Commits](ai/nanoid@3.1.12...3.3.3)
    
    Updates `mocha` from 8.2.1 to 10.2.0
    - [Release notes](https://github.com/mochajs/mocha/releases)
    - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
    - [Commits](mochajs/mocha@v8.2.1...v10.2.0)
    
    ---
    updated-dependencies:
    - dependency-name: nanoid
      dependency-type: indirect
    - dependency-name: mocha
      dependency-type: direct:development
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 17, 2023
    Copy the full SHA
    daa8e8a View commit details
  2. build(deps): bump engine.io in /packages/browser-sync (#2038)

    Bumps [engine.io](https://github.com/socketio/engine.io) from 6.2.1 to 6.4.2.
    - [Release notes](https://github.com/socketio/engine.io/releases)
    - [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
    - [Commits](socketio/engine.io@6.2.1...6.4.2)
    
    ---
    updated-dependencies:
    - dependency-name: engine.io
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 17, 2023
    Copy the full SHA
    1e4fb68 View commit details
  3. build(deps-dev): bump webpack in /packages/browser-sync-client (#2027)

    Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0.
    - [Release notes](https://github.com/webpack/webpack/releases)
    - [Commits](webpack/webpack@v5.75.0...v5.76.0)
    
    ---
    updated-dependencies:
    - dependency-name: webpack
      dependency-type: direct:development
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 17, 2023
    Copy the full SHA
    a95410e View commit details
  4. build(deps): bump json5 from 1.0.1 to 1.0.2 (#2014)

    Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
    - [Release notes](https://github.com/json5/json5/releases)
    - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
    - [Commits](json5/json5@v1.0.1...v1.0.2)
    
    ---
    updated-dependencies:
    - dependency-name: json5
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 17, 2023
    Copy the full SHA
    86fd7fd View commit details
  5. build(deps): bump json-schema and jsprim in /packages/browser-sync-ui (

    …#2042)
    
    Bumps [json-schema](https://github.com/kriszyp/json-schema) and [jsprim](https://github.com/joyent/node-jsprim). These dependencies needed to be updated together.
    
    Updates `json-schema` from 0.2.3 to 0.4.0
    - [Commits](kriszyp/json-schema@v0.2.3...v0.4.0)
    
    Updates `jsprim` from 1.4.1 to 1.4.2
    - [Changelog](https://github.com/TritonDataCenter/node-jsprim/blob/v1.4.2/CHANGES.md)
    - [Commits](TritonDataCenter/node-jsprim@v1.4.1...v1.4.2)
    
    ---
    updated-dependencies:
    - dependency-name: json-schema
      dependency-type: indirect
    - dependency-name: jsprim
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 17, 2023
    Copy the full SHA
    b2441b1 View commit details

Commits on Sep 9, 2023

  1. fixing nx caching, run tests on nonde 16, 18 & 20 (#2050)

    * fixing nx caching
    
    * run on more versions
    
    * don't build
    
    ---------
    
    Co-authored-by: Shane Osbourne <sosbourne@duckduckgo.com>
    shakyShane and Shane Osbourne authored Sep 9, 2023
    Copy the full SHA
    2e2fdc6 View commit details
  2. Copy the full SHA
    d787281 View commit details
  3. adding playwright tests

    Shane Osbourne committed Sep 9, 2023
    Copy the full SHA
    7f2dc62 View commit details
  4. removing cypress

    Shane Osbourne committed Sep 9, 2023
    Copy the full SHA
    8731b98 View commit details

Commits on Sep 10, 2023

  1. removing cypress

    Shane Osbourne committed Sep 10, 2023
    Copy the full SHA
    97f08e7 View commit details

Commits on Dec 27, 2023

  1. Copy the full SHA
    f267cb6 View commit details
  2. moving localtunnel to peer dependency

    Shane Osbourne committed Dec 27, 2023
    Copy the full SHA
    aa23814 View commit details
  3. v3.0.0-alpha.0

    Shane Osbourne committed Dec 27, 2023
    Copy the full SHA
    ab5f75b View commit details
  4. optiona

    Shane Osbourne committed Dec 27, 2023
    Copy the full SHA
    23f1754 View commit details
  5. v3.0.0-alpha.1

    Shane Osbourne committed Dec 27, 2023
    Copy the full SHA
    2e8dd31 View commit details
  6. remove package

    Shane Osbourne committed Dec 27, 2023
    Copy the full SHA
    b7bf92e View commit details
  7. v3.0.0-alpha.2

    Shane Osbourne committed Dec 27, 2023
    Copy the full SHA
    5d5e665 View commit details
  8. v3.0.0

    Shane Osbourne committed Dec 27, 2023
    Copy the full SHA
    c0556cb View commit details
Showing with 2,023 additions and 6,306 deletions.
  1. +15 −8 .github/workflows/main.yml
  2. +4 −0 .gitignore
  3. +3 −7 README.md
  4. +0 −31 crossbow.yaml
  5. +0 −3 cypress.json
  6. +0 −12 cypress/configs/css-console-notify.js
  7. +0 −9 cypress/configs/css-overlay-notify.js
  8. +0 −10 cypress/configs/file-reloading.js
  9. +0 −7 cypress/configs/file-watching-ignore.js
  10. +0 −10 cypress/configs/logPrefix.js
  11. +0 −9 cypress/configs/no-notify.js
  12. +0 −5 cypress/fixtures/example.json
  13. +0 −5 cypress/fixtures/profile.json
  14. +0 −232 cypress/fixtures/users.json
  15. +0 −1,497 cypress/integration.backup/example_spec.js
  16. +0 −12 cypress/integration/connection-notify.js
  17. +0 −26 cypress/integration/css-console-notify.js
  18. +0 −13 cypress/integration/css-overlay-notify.js
  19. +0 −119 cypress/integration/file-reloading.js
  20. +0 −14 cypress/integration/file-watching-ignore.js
  21. +0 −22 cypress/integration/logPrefix.js
  22. +0 −14 cypress/integration/no-notify.js
  23. +0 −28 cypress/integration/ui-remote-debug.js
  24. +0 −17 cypress/plugins/index.js
  25. +0 −46 cypress/setup/bs-cli.js
  26. +0 −35 cypress/setup/bs.js
  27. +0 −25 cypress/support/commands.js
  28. +0 −20 cypress/support/index.js
  29. +24 −0 examples/basic/run.js
  30. +15 −0 examples/snippet/index.html
  31. +29 −0 examples/snippet/run.js
  32. +1 −1 lerna.json
  33. +19 −0 nx.json
  34. +376 −2,650 package-lock.json
  35. +8 −7 package.json
  36. +8 −8 packages/browser-sync-client/package-lock.json
  37. +1 −1 packages/browser-sync-client/package.json
  38. +826 −1,101 packages/browser-sync-ui/package-lock.json
  39. +2 −2 packages/browser-sync-ui/package.json
  40. +3 −0 packages/browser-sync/lib/async.js
  41. +12 −1 packages/browser-sync/lib/tunnel.js
  42. +157 −294 packages/browser-sync/package-lock.json
  43. +3 −4 packages/browser-sync/package.json
  44. +1 −1 packages/browser-sync/test/specs/e2e/server/e2e.server.secure.pfx.js
  45. +42 −0 playwright.config.ts
  46. +187 −0 tests/examples/basic/basic.spec.ts
  47. +45 −0 tests/examples/html-inject/html-inject.spec.ts
  48. +17 −0 tests/examples/snippet/snippet.spec.ts
  49. +10 −0 tests/examples/tailwind/tailwind.spec.ts
  50. +215 −0 tests/utils.ts
23 changes: 15 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -11,11 +11,15 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build" boo2
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16, 18, 20]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
@@ -24,19 +28,22 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v2.5.0
with:
# Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0
node-version: 16
# Used to specify a package manager for caching in the default directory. Supported values: npm, yarn, pnpm
node-version: ${{ matrix.node-version }}
cache: npm
# Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc. Supports wildcards or a list of file names for caching multiple dependencies.
cache-dependency-path: package-lock.json

# Runs a single command using the runners shell
- name: Install
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm test
- name: Test E2E
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npm run test:e2e
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -25,3 +25,7 @@ client/dist/index.js
client/dist/index.js.map
client/dist/index.min.js
client/dist/index.min.js.map
node_modules/
/test-results/
/playwright-report/
/playwright/.cache/
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
<p align="center">
<a href="https://travis-ci.org/BrowserSync/browser-sync" title="Travis branch">
<img src="https://img.shields.io/travis/BrowserSync/browser-sync/master.svg?style=flat-square&label=linux" />
</a><a href="https://www.npmjs.com/package/browser-sync">
<img src="https://img.shields.io/npm/dm/browser-sync.svg?style=flat-square" />
</a>
</p>
<p align="center">
<a href="https://www.npmjs.com/package/browser-sync" title="NPM version">
<img src="https://img.shields.io/npm/v/browser-sync.svg?style=flat-square" />
</a>
<a href="https://www.npmjs.com/package/browser-sync">
<img src="https://img.shields.io/npm/dm/browser-sync.svg?style=flat-square" />
</a>
</p>
<p align="center"><a href="https://www.browsersync.io"><img src="https://raw.githubusercontent.com/BrowserSync/browsersync.github.io/master/public/img/logo-gh.png" /></a></p>
<p align="center">Keep multiple browsers & devices in sync when building websites.</p>
31 changes: 0 additions & 31 deletions crossbow.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions cypress.json

This file was deleted.

12 changes: 0 additions & 12 deletions cypress/configs/css-console-notify.js

This file was deleted.

9 changes: 0 additions & 9 deletions cypress/configs/css-overlay-notify.js

This file was deleted.

10 changes: 0 additions & 10 deletions cypress/configs/file-reloading.js

This file was deleted.

7 changes: 0 additions & 7 deletions cypress/configs/file-watching-ignore.js

This file was deleted.

10 changes: 0 additions & 10 deletions cypress/configs/logPrefix.js

This file was deleted.

9 changes: 0 additions & 9 deletions cypress/configs/no-notify.js

This file was deleted.

5 changes: 0 additions & 5 deletions cypress/fixtures/example.json

This file was deleted.

5 changes: 0 additions & 5 deletions cypress/fixtures/profile.json

This file was deleted.

Loading