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: GoogleChrome/workbox
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 194cdeb63d5abb21490f88f01f02f4bcf7e6d54b
Choose a base ref
...
head repository: GoogleChrome/workbox
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9cbed278b992717195406fe077933a578142f5ed
Choose a head ref

Commits on May 1, 2019

  1. Copy the full SHA
    8379c51 View commit details

Commits on May 20, 2019

  1. Rename files to .ts

    philipwalton committed May 20, 2019
    Copy the full SHA
    ef30d4c View commit details

Commits on May 23, 2019

  1. Copy the full SHA
    382955a View commit details

Commits on May 24, 2019

  1. Copy the full SHA
    5aa6e8a View commit details

Commits on May 29, 2019

  1. Address review feedback

    philipwalton committed May 29, 2019
    Copy the full SHA
    7fcd2e5 View commit details

Commits on Jun 10, 2019

  1. Copy the full SHA
    b10f13f View commit details

Commits on Jun 13, 2019

  1. Copy the full SHA
    25a699b View commit details
  2. Merge pull request #2058 from GoogleChrome/typescript

    Convert workbox-core to Typescript
    philipwalton authored Jun 13, 2019
    Copy the full SHA
    e33e8dc View commit details

Commits on Jun 14, 2019

  1. Copy the full SHA
    e36c167 View commit details

Commits on Jul 1, 2019

  1. Copy the full SHA
    b612391 View commit details
  2. Copy the full SHA
    d25f835 View commit details
  3. Copy the full SHA
    9ce0120 View commit details
  4. Address review feedback

    philipwalton committed Jul 1, 2019
    Copy the full SHA
    4057e5e View commit details
  5. Merge pull request #2085 from GoogleChrome/ts-workbox-window

    Convert workbox-window to Typescript
    philipwalton authored Jul 1, 2019
    Copy the full SHA
    b7002c9 View commit details
  6. Copy the full SHA
    a40ef84 View commit details

Commits on Jul 2, 2019

  1. Add type definitions

    philipwalton committed Jul 2, 2019
    Copy the full SHA
    bf2d0ff View commit details

Commits on Jul 3, 2019

  1. Merge pull request #2088 from GoogleChrome/ts-workbox-background-sync

    Convert workbox-background-sync to Typescript
    philipwalton authored Jul 3, 2019
    Copy the full SHA
    85f4af4 View commit details

Commits on Jul 4, 2019

  1. Convert workbox-broadcast-update to Typescript (#2089)

    * Move and rename files to .ts and update imports
    
    * Add type definitions
    
    * Fix issues with already converted packages
    philipwalton authored and jeffposnick committed Jul 4, 2019
    Copy the full SHA
    e5c6e58 View commit details

Commits on Jul 8, 2019

  1. Convert workbox-cacheable-response to Typescript (#2093)

    * Move and rename files to .ts and update imports
    
    * Add tpe definitions
    
    * Add missed typings in previously converted code
    philipwalton authored and jeffposnick committed Jul 8, 2019
    Copy the full SHA
    0822d0f View commit details
  2. Copy the full SHA
    4d12555 View commit details
  3. Add type definitions

    philipwalton committed Jul 8, 2019
    Copy the full SHA
    035d32a View commit details
  4. Merge pull request #2096 from GoogleChrome/ts-workbox-expiration

    Convert workbox-expiration to Typescript
    philipwalton authored Jul 8, 2019
    Copy the full SHA
    5edccd3 View commit details
  5. Copy the full SHA
    ea0d1a5 View commit details
  6. Add type definitions

    philipwalton committed Jul 8, 2019
    Copy the full SHA
    c667238 View commit details
  7. Merge pull request #2097 from GoogleChrome/ts-workbox-navigation-preload

    Convert workbox-navigation-preload to Typescript
    philipwalton authored Jul 8, 2019
    Copy the full SHA
    c38a1a9 View commit details

Commits on Jul 9, 2019

  1. Ts workbox precaching (#2098)

    * Move and rename files to .ts and update imports
    
    * Add type definitions
    philipwalton authored and jeffposnick committed Jul 9, 2019
    Copy the full SHA
    2d8be94 View commit details
  2. Copy the full SHA
    4ffcbb4 View commit details
  3. Add type definitions

    philipwalton committed Jul 9, 2019
    Copy the full SHA
    4d1df17 View commit details
  4. Copy the full SHA
    5ed053c View commit details
  5. Merge pull request #2099 from GoogleChrome/ts-workbox-range-requests

    Convert workbox-range-requests to Typescript
    philipwalton authored Jul 9, 2019
    Copy the full SHA
    5a57742 View commit details
  6. Copy the full SHA
    9c2dfaf View commit details

Commits on Jul 10, 2019

  1. Add type definitions

    philipwalton committed Jul 10, 2019
    Copy the full SHA
    becd365 View commit details
  2. Address review feedback

    philipwalton committed Jul 10, 2019
    Copy the full SHA
    cac9560 View commit details
  3. Merge pull request #2100 from GoogleChrome/ts-workbox-routing

    Convert workbox-routing to Typescript
    philipwalton authored Jul 10, 2019
    Copy the full SHA
    385a9e2 View commit details
  4. Copy the full SHA
    bbc0541 View commit details
  5. Add type definitions

    philipwalton committed Jul 10, 2019
    Copy the full SHA
    2a4265b View commit details

Commits on Jul 11, 2019

  1. Merge pull request #2103 from GoogleChrome/ts-workbox-strategies

    Convert workbox-strategies to Typescript
    philipwalton authored Jul 11, 2019
    Copy the full SHA
    c829a2e View commit details
  2. Copy the full SHA
    e33f1b3 View commit details
  3. Add type definitions

    philipwalton committed Jul 11, 2019
    Copy the full SHA
    0824b5a View commit details
  4. Merge pull request #2105 from GoogleChrome/ts-workbox-streams

    Convert workbox-streams to Typescript
    philipwalton authored Jul 11, 2019
    Copy the full SHA
    dc1e054 View commit details
  5. Copy the full SHA
    8eadd90 View commit details

Commits on Jul 12, 2019

  1. Copy the full SHA
    4b2e810 View commit details
  2. Copy the full SHA
    d61c111 View commit details
  3. Address review feedback

    philipwalton committed Jul 12, 2019
    Copy the full SHA
    a585a23 View commit details
  4. Merge pull request #2108 from GoogleChrome/ts-workbox-google-analytics

    Convert workbox-google-analytics to Typescript
    philipwalton authored Jul 12, 2019
    Copy the full SHA
    4ae0092 View commit details
  5. Rollup bundles in generateSW, and more for v5 (#2068)

    * WIP.
    
    * GenerateSW with code splitting
    
    * More WIP.
    
    * WIP/
    
    * Support a custom fs for rollup output
    
    * Separate the bundling from the writing
    
    * Remove generateSWString
    
    * Remove the generateSWString test
    
    * Use underscore separators.
    
    * Test remidiation.
    
    * generateSW test remediation
    
    * Linting.
    
    * Fixed the InjectManifest tests.
    
    * Fixed getManfiest test.
    
    * Added an extra dependency.
    
    * populateSWTemplate isn't async
    
    * bundle and escape-regexp unit tests
    
    * Test for the existence of output files.
    
    * Return filePaths from build commands.
    
    * Change to log message.
    
    * Ensure swSrc and swDest are different
    
    * Set moduleSideEffects to false
    
    * Explicitly require @babel/preset-env
    
    * Review feedback
    
    * Review feedback.
    
    * __WB_MANIFEST again
    
    * Use a module registry
    
    * Linting.
    
    * Review feedback.
    jeffposnick committed Jul 12, 2019
    Copy the full SHA
    fc8cc3d View commit details
  6. webpack plugin updates for v5 (#2087)

    * Initial GenerateSW changes.
    
    * WIP.
    
    * Basic InjectManifest functionality.
    
    * Normalize webpack option validation.
    
    * Working-ish?
    
    * Copy over some compiler options.
    
    * More mode magic
    
    * Manifest transformations should work
    
    * Normalized error reporting a bit.
    
    * Switch to Proxx's loadz0r config
    
    * Tweak the default exclude
    
    * Play nicely with SplitChunkPlugin
    
    * Add a warning about missing chunks.
    
    * Rename a test.
    
    * Updated a few comments.
    
    * Test-related updates
    
    * Further test fixes.
    
    * Pretty complete GenerateSW test suite.
    
    * InjectManifest tests.
    
    * Linting.
    
    * Copyright dates.
    
    * Update jsdoc-baseline
    
    * lockfile update
    
    * Fix the generate-sw test on Windows.
    
    * Switch to upath
    
    * Fix a proxied call to upath
    
    * Missed a @Private
    
    * A few nits.
    jeffposnick committed Jul 12, 2019
    Copy the full SHA
    16f09ae View commit details
  7. v5.0.0-alpha.0

    jeffposnick committed Jul 12, 2019
    Copy the full SHA
    5e49892 View commit details
  8. Copy the full SHA
    3c67bdc View commit details
  9. Versioning bump.

    jeffposnick committed Jul 12, 2019
    Copy the full SHA
    421bed4 View commit details
Showing 664 changed files with 44,266 additions and 35,741 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**Prior to filing a PR, please:**
- [open an issue](https://github.com/GoogleChrome/workbox/issues/new) to discuss your proposed change.
- ensure that `gulp lint test` passes locally.
- ensure that `gulp build && gulp lint test` passes locally.

R: @jeffposnick @philipwalton

58 changes: 58 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Test Suite

on: [pull_request]

jobs:
Node_Tests_Windows:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2

- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- uses: actions/setup-node@v1
with:
node-version: 10.x

- name: Setup
run: |
npm ci
npx gulp build
- run: npx gulp test_node

Full_Suite_Mac:
runs-on: macos-latest

steps:
- uses: actions/checkout@v2

- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- uses: actions/cache@v1
with:
path: ~/.selenium-assistant
key: ${{ runner.os }}

- uses: actions/setup-node@v1
with:
node-version: 12.x

- name: Setup
run: |
sudo safaridriver --enable
npm ci
npx gulp build
- run: npx gulp test
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -12,7 +12,32 @@ generated-release-files/
workbox-*.json
.esm-cache/
.nyc_output/
.rpt2_cache/
docs
local-builds/
firebase-debug.log
.firebase

# Generated TypeScript files and build data
tsconfig.tsbuildinfo
packages/workbox-*/**/*.d.ts
!packages/workbox-cli/src/index.d.ts
packages/workbox-*/**/*.js
!packages/workbox-build/**/*.js
!packages/workbox-webpack-plugin/**/*.js

# Individual package ignores during TypeScript migration
packages/workbox-background-sync/**/*.mjs
packages/workbox-broadcast-update/**/*.mjs
packages/workbox-cacheable-response/**/*.mjs
packages/workbox-core/**/*.mjs
packages/workbox-expiration/**/*.mjs
packages/workbox-google-analytics/**/*.mjs
packages/workbox-navigation-preload/**/*.mjs
packages/workbox-precaching/**/*.mjs
packages/workbox-range-requests/**/*.mjs
packages/workbox-recipes/**/*.mjs
packages/workbox-routing/**/*.mjs
packages/workbox-strategies/**/*.mjs
packages/workbox-streams/**/*.mjs
packages/workbox-window/**/*.mjs
16 changes: 16 additions & 0 deletions .ncurc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// We use `npx npm-check-updates` to find updates to dependencies.
// Some dependencies have breaking changes that we can't resolve.
// This config file excludes those dependencies from the checks
// until we're able to remediate our code to deal with them.

module.exports = {
reject: [
// See https://github.com/GoogleChrome/workbox/issues/2479
'@octokit/rest',
'rollup',
'service-worker-mock',
// See https://github.com/GoogleChrome/workbox/issues/2602
'@typescript-eslint/eslint-plugin',
'@typescript-eslint/parser',
],
};
28 changes: 0 additions & 28 deletions .travis.yml

This file was deleted.

16 changes: 1 addition & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
[![Travis Build Status][travis-image]][travis-url]
[![AppVeyor Build status][appveyor-image]][appveyor-url]
[![Dev Dependency Status][dev-dependency-image]][dev-dependency-url]
[![TypeScript definitions on DefinitelyTyped](https://definitelytyped.org/badges/standard-flat.svg)](https://www.npmjs.com/package/@types/workbox-sw)

<img src='https://user-images.githubusercontent.com/110953/28352645-7a8a66d8-6c0c-11e7-83af-752609e7e072.png' width='500px'/>

# Welcome to Workbox!

Workbox is a collection of JavaScript libraries for
[Progressive Web Apps](https://developers.google.com/web/progressive-web-apps/).
[Progressive Web Apps](https://web.dev/progressive-web-apps/).

## Documentation

@@ -71,12 +66,3 @@ pull requests.
## License

MIT, see [LICENSE](LICENSE) for details.

[npm-url]: https://npmjs.org/package/workbox
[npm-image]: https://badge.fury.io/js/workbox.svg
[travis-url]: https://travis-ci.org/GoogleChrome/workbox
[travis-image]: https://travis-ci.org/GoogleChrome/workbox.svg?branch=master
[appveyor-image]: https://ci.appveyor.com/api/projects/status/4ct8ph4d34c5ifnw?svg=true
[appveyor-url]: https://ci.appveyor.com/project/gauntface/workbox
[dev-dependency-url]: https://david-dm.org/GoogleChrome/workbox?type=dev
[dev-dependency-image]: https://david-dm.org/GoogleChrome/workbox/dev-status.svg
14 changes: 0 additions & 14 deletions appveyor.yml

This file was deleted.

3 changes: 3 additions & 0 deletions demos/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# workbox-module-demos

Contains sample demos that are deployed to Glitch at https://glitch.com/@philkrie/workbox-demos and used as examples at https://developers.google.com/web/tools/workbox/modules
1 change: 0 additions & 1 deletion demos/functions/cdn-details.json

This file was deleted.

111 changes: 0 additions & 111 deletions demos/functions/index.js

This file was deleted.

Loading