Skip to content

Conversation

@userquin
Copy link
Member

@userquin userquin commented Oct 19, 2025

Description

This PR adds the workbox-build package:

  • use valibot instead avj to validate options
  • add vitest and validate tests
  • removed webpack types

This PR also adds a new subpackage export (types) to some workbox packages.

TODO:

Linked Issues

Additional Context

validation tests Vitest validation tests: 6ms

@userquin userquin marked this pull request as ready for review October 24, 2025 16:07
@userquin userquin marked this pull request as draft October 24, 2025 16:07
@userquin userquin marked this pull request as ready for review October 24, 2025 16:08
@userquin
Copy link
Member Author

userquin commented Oct 24, 2025

I'm going to merge this (initial minimal impl. for generateSW streategy), I want to change repo and package names first:

  • workbox-build package will go to toolkit => @vite-pwa/toolkit (the only package required for vite-plugin-plugin: workbox-build and workbox-** packages in one package)
  • workbox-build package will be the only package required for vite-plugin-plugin: workbox-build and sw-toolkit packages in one package)
  • all workbox-** will go to sw-toolkit workbox-sw => @vite-pwa/sw-toolkit @vite-pwa/workbox-swkit (will include a barrel (.) including all the workbox-** packages and types ./types subpackages, export adding also every workbox-** as a subpackage exports for more granular imports

@userquin userquin marked this pull request as draft October 24, 2025 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants