Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge latest changes to feature branch #1623

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
197 commits
Select commit Hold shift + click to select a range
0a376c1
Introduce methods to get minumum height of element
westonruter Jul 17, 2024
8aa7e63
Set the min-height of an embed prior to it loading
westonruter Jul 29, 2024
11f98f4
Set min-height on embed-wrapper instead of figure container
westonruter Jul 30, 2024
d7cc7cf
Use 500px as a better representation of an element that could be LCP
westonruter Jul 30, 2024
48e57e8
Add test for existing style manipulation
westonruter Jul 30, 2024
0d285f2
Add helper generator method to get all elements
westonruter Jul 31, 2024
4778a3d
Try using MutationObserve to watch for embed height changes
westonruter Aug 14, 2024
1dbd4a1
Use the more appropriate ResizeObserver instead of MutationObserver
westonruter Aug 14, 2024
a4bab7e
Remove condition that breaks monitoring resizes of post embeds
westonruter Aug 14, 2024
5f0cdbe
Introduce client-side Optimization Detective extensions and move Embe…
westonruter Aug 17, 2024
0ba2d6e
Override clientBoundingRect once embed has loaded
westonruter Aug 17, 2024
5f4189d
Move jsdoc types to types.d.ts for reuse
westonruter Aug 18, 2024
bf2b3c5
Send URL metric when leaving the page
westonruter Aug 18, 2024
b9bad0d
Use boundingClientRect instead of intersectionRect in get_all_element…
westonruter Aug 18, 2024
c6b02ec
Eliminate timeout for disconneccting ResizeObsever
westonruter Aug 18, 2024
52a2260
Move extension initialization after idle callback
westonruter Aug 18, 2024
edc52fa
Fix warning when prematurely applying buffered text replacements, esp…
westonruter Aug 18, 2024
820d66d
Prepend min-height to style attribute instead of appending
westonruter Aug 19, 2024
7864449
Avoid setting meta attribute when value unchanged
westonruter Aug 19, 2024
7b01495
Allow viewport_height to be specified in sample URL metric
westonruter Aug 19, 2024
9c8799b
Add get_all_elements_positioned_in_any_initial_viewport() and is_elem…
westonruter Aug 19, 2024
c573175
Add fetchpriority=low to occluded elements in initial viewport
westonruter Aug 19, 2024
67c6557
Update auto-sizes tests to specify out-of-viewport rects
westonruter Aug 19, 2024
def2aab
Use object spread
westonruter Aug 22, 2024
cd9a618
Merge branch 'trunk' of https://github.com/WordPress/performance into…
westonruter Aug 22, 2024
fadc0fe
Add Image_Prioritizer_Video_Tag_Visitor class
thelovekesh Aug 25, 2024
a6c9592
Add video-tag-visitor to be loaded
thelovekesh Aug 25, 2024
138b2b8
Add video tag visitor in the OD visitors
thelovekesh Aug 25, 2024
03fc900
Update checking for crossorigin attrs on img and video tags
thelovekesh Aug 25, 2024
02c4fd9
Merge branch 'trunk' into add/embed-optimizer-min-height-reservation
westonruter Sep 13, 2024
1da219f
Use get_json_params() instead of get_params() so _wpnonce query param…
westonruter Sep 17, 2024
e34d9fe
Implement resizedBoundingClientRect extended property in schema
westonruter Sep 17, 2024
5db6f54
Fix testing JSON request
westonruter Sep 18, 2024
0fa263a
Go back to get_params() by ignoring _wpnonce
westonruter Sep 18, 2024
72b285d
Merge branch 'trunk' into add/embed-optimizer-min-height-reservation
westonruter Sep 19, 2024
2a723f7
Fix jsdoc
westonruter Sep 29, 2024
71dd914
Merge branch 'trunk' of https://github.com/WordPress/performance into…
westonruter Oct 3, 2024
29d4383
Eliminate use of deprecated property
westonruter Oct 4, 2024
a529218
Add breakpoint-specific min-heights to account for responsive embeds
westonruter Oct 4, 2024
fa8a34e
Add od_generate_media_query() helper
westonruter Oct 4, 2024
1e40f84
Break up embed tag visitor into separate methods
westonruter Oct 4, 2024
5d4d5b2
Bump alpha versions
westonruter Oct 8, 2024
5f1c2ac
Add missing short-circuit in case EMBED_OPTIMIZER_VERSION is defined
westonruter Oct 8, 2024
915e1e7
Rework bootstrap logic to wait until init priority 9 and add od_init …
westonruter Oct 8, 2024
26ae396
Add test for when resizedBoundingClientRect data not available
westonruter Oct 8, 2024
cd80ed1
Remove obsolete short-circuiting now that OD dependency version is ch…
westonruter Oct 8, 2024
bd008c5
Evolve get_all_url_metrics_groups_elements into get_all_denormalized_…
westonruter Oct 8, 2024
1b5cf13
Add Embed Optimizer tests
westonruter Oct 8, 2024
a70df28
Account for error when passing single-item array to min() or max()
westonruter Oct 8, 2024
4e48d3d
Add test for Image Prioritizer
westonruter Oct 8, 2024
d17cace
Remove now-unused method to get element minimum hights
westonruter Oct 8, 2024
5574081
Improve handling of get_updated_html
westonruter Oct 8, 2024
19c0425
Add test for get_all_denormalized_elements
westonruter Oct 9, 2024
ea36bac
Add tests for new OD code
westonruter Oct 9, 2024
01c083d
Clarify purpose of overridden get_updated_html method
westonruter Oct 9, 2024
c5d6991
Add missing since tags
westonruter Oct 9, 2024
455ef4f
Clarify handling of embed block tags and embed wrapper tags
westonruter Oct 9, 2024
a390e15
Replace tuple with assoc array
westonruter Oct 9, 2024
a760705
Add doc block for detect.js
westonruter Oct 9, 2024
7ca1fbc
Add API functions to pass to finalize callbacks to avoid direct mutat…
westonruter Oct 11, 2024
f66445f
Improve error handling
westonruter Oct 11, 2024
6e0aa8e
Harden types and disallow setting core properties
westonruter Oct 11, 2024
9e99e0d
Reuse sets for reserved property keys
westonruter Oct 11, 2024
46ba7e3
Move functions to root of module
westonruter Oct 11, 2024
0bc521e
Fix TypeScript error related to embedWrapper
westonruter Oct 11, 2024
477cc33
Add missing period to return doc
westonruter Oct 14, 2024
dca43e9
Eliminate needless ternary
westonruter Oct 14, 2024
73d2252
Rename amend to extend
westonruter Oct 14, 2024
0ae166b
Merge pull request #1373 from WordPress/add/embed-optimizer-min-heigh…
westonruter Oct 14, 2024
fcdc6eb
Merge branch 'trunk' of https://github.com/WordPress/performance into…
westonruter Oct 14, 2024
da3da34
Include dimensions in exception error message for aspect-ratio
westonruter Oct 14, 2024
785c131
Reuse get_all_denormalized_elements()
westonruter Oct 14, 2024
0e61767
Improve usage of is_element_positioned_in_any_initial_viewport
westonruter Oct 14, 2024
882df0c
Clarify purpose of is_element_positioned_in_any_initial_viewport
westonruter Oct 14, 2024
299e68d
Bump phpstan/php-8-stubs from 0.4.0 to 0.4.2
dependabot[bot] Oct 14, 2024
0be425b
Merge pull request #1588 from WordPress/dependabot/composer/phpstan/p…
westonruter Oct 14, 2024
edcff0c
Install typescript
westonruter Oct 15, 2024
b8d108d
Add tsconfig.json
westonruter Oct 15, 2024
697aa3f
Add skipLibCheck
westonruter Oct 15, 2024
1df19bc
Add ts files and tsc to lint-staged
westonruter Oct 15, 2024
c23c790
Add tsc to js-lint workflow
westonruter Oct 15, 2024
543c279
Rename types.d.ts to types.ts
westonruter Oct 15, 2024
d6f7646
Apply prettier to types.ts
westonruter Oct 15, 2024
5c22c69
Remove unused type import
westonruter Oct 15, 2024
27bcb98
Remove redundant node_modules exclude
westonruter Oct 15, 2024
d6c88a8
Merge branch 'trunk' of https://github.com/WordPress/performance into…
westonruter Oct 15, 2024
4f125de
Move get_attribute_value into abstract class
westonruter Oct 15, 2024
0f8f82d
Simplify collection of link attributes
westonruter Oct 15, 2024
d3f44c8
Add tests for video poster optimization
westonruter Oct 15, 2024
7d289c2
Remove single-use constants
westonruter Oct 15, 2024
b7e95c8
Improve uniqueness of tag visitor IDs
westonruter Oct 15, 2024
c173a50
Merge pull request #1498 from WordPress/add/lcp-poster-image-prioritize
westonruter Oct 15, 2024
1ee4150
Remove comment about only running changed files through tsc
westonruter Oct 15, 2024
d9e02cb
Apply prettier fix
westonruter Oct 15, 2024
38f2e70
Combine width and height into a single translation string placeholder
westonruter Oct 15, 2024
853f8e4
Merge branch 'trunk' of https://github.com/WordPress/performance into…
westonruter Oct 15, 2024
2927c03
Merge branch 'trunk' into add/typescript-checking
swissspidy Oct 15, 2024
865fc21
Merge pull request #1589 from WordPress/add/typescript-checking
westonruter Oct 16, 2024
906f5f7
Fix typo
swissspidy Oct 16, 2024
7a9d556
Add new method for reducing poster image size
swissspidy Oct 16, 2024
c2b2026
Add test case
swissspidy Oct 16, 2024
e127685
Lint fixes
swissspidy Oct 16, 2024
ca0f538
Extract other logic to own method too
swissspidy Oct 16, 2024
071dc58
Fix docblock
swissspidy Oct 16, 2024
c723f15
Fix tests
swissspidy Oct 16, 2024
d664d43
Add native return type hints
swissspidy Oct 16, 2024
842915b
Lazy load videos and video posters
swissspidy Oct 16, 2024
f4090ec
Add Web Worker Offloading meta generator
westonruter Oct 16, 2024
7c96ba0
Add OD_Element class
westonruter Oct 9, 2024
c3e55f9
Change get_all_denormalized_elements into get_all_elements
westonruter Oct 9, 2024
5ceb8fa
Apply suggestions from code review
swissspidy Oct 16, 2024
e48c16c
Use new method
swissspidy Oct 16, 2024
57964fb
Implement getter methods
westonruter Oct 16, 2024
5dfcb07
Ensure get('elements') and get_elements() return the same cached elem…
westonruter Oct 16, 2024
4dd7fea
Apply suggestions from code review
swissspidy Oct 16, 2024
b7e9c5d
Merge pull request #1598 from WordPress/add/wwo-meta-generator
westonruter Oct 16, 2024
fc2efdb
Pass poster as argument
swissspidy Oct 16, 2024
5411888
Return void
swissspidy Oct 16, 2024
fbfde55
Merge branch 'fix/1575-poster-size' into fix/lazy-load-videos
swissspidy Oct 16, 2024
2a20c06
Pass poster, return void
swissspidy Oct 16, 2024
9213455
Fix remaining XPath indices to be 1-based for #1191
westonruter Oct 16, 2024
b5c9703
Add tests for OD_Element
westonruter Oct 16, 2024
f2c2d31
Add todos for future improved typing
westonruter Oct 16, 2024
9c7b154
Reuse helper methods
westonruter Oct 16, 2024
3521f9e
Avoid downsizing video poster unless desktop URL metrics are collected
westonruter Oct 16, 2024
69c717a
Apply suggestions from code review
swissspidy Oct 17, 2024
ecceec8
Merge pull request #1595 from WordPress/fix/1575-poster-size
swissspidy Oct 17, 2024
a672216
Merge branch 'fix/1575-poster-size' into fix/lazy-load-videos
swissspidy Oct 17, 2024
6fcf174
Remove early return
swissspidy Oct 17, 2024
09d335c
Set `preload="auto"` for the LCP `<video>` element
swissspidy Oct 17, 2024
f0a4b14
Merge branch 'trunk' into fix/lazy-load-videos
swissspidy Oct 17, 2024
bb2323d
Add test
swissspidy Oct 17, 2024
88a6678
Add another test
swissspidy Oct 17, 2024
6bc9408
Moves embed-optimizer-lazy-load script to js file
devansh016 Oct 17, 2024
5943ecf
Add group collection helper methods to get the first/last groups
westonruter Oct 17, 2024
0b8081e
Add test for zero breakpoints and clarify breakpoints can be empty
westonruter Oct 17, 2024
b5d74d1
Rename lazy load js file
devansh016 Oct 17, 2024
2790fa3
Add typing for created script element
westonruter Oct 17, 2024
20f4ccb
Improve exception messages
westonruter Oct 17, 2024
c5c3884
Use instance check rather than null check
westonruter Oct 17, 2024
8992957
Add missing since tags
westonruter Oct 17, 2024
a99208b
Add typing for resizedBoundingClientRect
westonruter Oct 17, 2024
344d6e1
Add getter/setter methods
westonruter Oct 17, 2024
7cfdcac
Remove readonly tag since member is now protected
westonruter Oct 17, 2024
98d3fd8
Rename get_all_elements to get_xpath_elements_map
westonruter Oct 17, 2024
43faef8
Merge pull request #1602 from WordPress/add/group-collection-first-la…
westonruter Oct 17, 2024
9e8b700
Merge pull request #1601 from devansh016/move-inline-js-to-external
westonruter Oct 17, 2024
9714de3
Merge branch 'trunk' of https://github.com/WordPress/performance into…
westonruter Oct 17, 2024
bde289f
Move lazy load script into JS file
westonruter Oct 17, 2024
75a56fa
Fix attribute name
westonruter Oct 17, 2024
b7ab0db
Fix TS error by moving type def
westonruter Oct 17, 2024
904c641
Reuse is_viewport_width_in_range method
westonruter Oct 17, 2024
feed71b
Merge branch 'trunk' of https://github.com/WordPress/performance into…
westonruter Oct 17, 2024
13c7d53
Work around PHPStan limitation
westonruter Oct 17, 2024
da8aa56
Skip lazy-loading video if either mobile and desktop lack URL Metrics
westonruter Oct 17, 2024
c8b7ce0
Fix adding data-od-replaced meta attributes for values given to boole…
westonruter Oct 17, 2024
ed47b47
Improve method description and add since tags
westonruter Oct 17, 2024
2ae1b06
Use od-lazy-video instead of wp-lazy-video for class name
westonruter Oct 17, 2024
216d22c
Avoid lazy-loading images and embeds unless there are URL metrics for…
westonruter Oct 18, 2024
fde893b
Eliminate DOMRect duplication in tests
westonruter Oct 18, 2024
05293de
Merge branch 'trunk' of https://github.com/WordPress/performance into…
westonruter Oct 18, 2024
70cd02b
Merge pull request #1596 from WordPress/fix/lazy-load-videos
swissspidy Oct 18, 2024
c43f401
Merge branch 'trunk' into update/image-and-embed-lazy-load-hardening
swissspidy Oct 18, 2024
4fc33a1
Fix comment typo
westonruter Oct 18, 2024
dd67b09
Merge pull request #1604 from WordPress/update/image-and-embed-lazy-l…
westonruter Oct 18, 2024
26637ed
Merge branch 'trunk' into add/od-element-class
westonruter Oct 18, 2024
68dff96
Merge branch 'trunk' of https://github.com/WordPress/performance into…
westonruter Oct 18, 2024
812a20f
Clarify purpose of setting class name in test
westonruter Oct 18, 2024
58fd403
Merge pull request #1482 from WordPress/add/fetchpriority-low
westonruter Oct 18, 2024
61f53df
Merge branch 'trunk' of https://github.com/WordPress/performance into…
westonruter Oct 18, 2024
a070c01
Use get_xpath instead of offset
westonruter Oct 18, 2024
810673d
Merge pull request #1585 from WordPress/add/od-element-class
westonruter Oct 18, 2024
6d105f1
Add ReturnTypeWillChange attribute for offsetGet to suppress notice
westonruter Oct 20, 2024
7eccb23
Merge pull request #1607 from WordPress/fix/deprecated-notice
westonruter Oct 20, 2024
19995ce
Bump versions
westonruter Oct 21, 2024
8ab0b29
Populate since version tags
westonruter Oct 21, 2024
fc09c51
Generate changelogs
westonruter Oct 21, 2024
5f13f40
Refine changelogs and add docs to OD readme
westonruter Oct 21, 2024
6224012
Add WWO in readme file
mukeshpanchal27 Oct 21, 2024
b7e16c0
Add WWO in PL readme file
mukeshpanchal27 Oct 21, 2024
668461c
Merge pull request #1610 from WordPress/doc/add-wwo
westonruter Oct 21, 2024
a56c171
Bump tested up to 6.7
westonruter Oct 21, 2024
6cc4ba5
Merge pull request #1609 from WordPress/publish/3.5.0
westonruter Oct 21, 2024
f385a43
Account for plugin dependencies when storing relevant plugin info
westonruter Oct 21, 2024
7e2768e
Fix array structure
westonruter Oct 21, 2024
cb1d472
Merge pull request #1611 from WordPress/release/3.5.0
westonruter Oct 21, 2024
cf0d3f2
Merge branch 'trunk' of https://github.com/WordPress/performance into…
westonruter Oct 21, 2024
70ca5b5
Merge pull request #1613 from WordPress/fix/storing-standalone-plugin…
westonruter Oct 21, 2024
e95df5f
Merge pull request #1614 from WordPress/release/3.5.1
westonruter Oct 21, 2024
41f033f
Bump phpstan/phpstan from 1.12.6 to 1.12.7
dependabot[bot] Oct 21, 2024
d7bd29c
Bump phpstan/php-8-stubs from 0.4.2 to 0.4.3
dependabot[bot] Oct 21, 2024
9ab5e48
Merge pull request #1619 from WordPress/dependabot/composer/phpstan/p…
westonruter Oct 21, 2024
a9f91e6
Merge pull request #1618 from WordPress/dependabot/composer/phpstan/p…
westonruter Oct 21, 2024
d646c2a
Bump @wordpress/scripts from 30.1.0 to 30.3.0
dependabot[bot] Oct 22, 2024
e5daec8
Merge pull request #1620 from WordPress/dependabot/npm_and_yarn/wordp…
mukeshpanchal27 Oct 22, 2024
a89ada8
Bump @wordpress/env from 10.9.0 to 10.10.0
dependabot[bot] Oct 22, 2024
356fa9b
Merge pull request #1621 from WordPress/dependabot/npm_and_yarn/wordp…
mukeshpanchal27 Oct 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/js-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ jobs:
- name: npm install
run: npm ci
- name: JS Lint
run: npm run lint-js
run: npm run lint-js
- name: TypeScript compile
run: npm run tsc
67 changes: 36 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ The feature plugins which are currently featured by this plugin are:

Plugin | Slug | Experimental | Links
--------------------------------|---------------------------|--------------|-------------
[Image Placeholders][1] | `dominant-color-images` | No | [Source][8], [Issues][15], [PRs][22]
[Modern Image Formats][2] | `webp-uploads` | No | [Source][9], [Issues][16], [PRs][23]
[Performant Translations][3] | `performant-translations` | No | [Source][10], [Issues][17], [PRs][24]
[Speculative Loading][4] | `speculation-rules` | No | [Source][11], [Issues][18], [PRs][25]
[Embed Optimizer][5] | `embed-optimizer` | Yes | [Source][12], [Issues][19], [PRs][26]
[Enhanced Responsive Images][6] | `auto-sizes` | Yes | [Source][13], [Issues][20], [PRs][27]
[Image Prioritizer][7] | `image-prioritizer` | Yes | [Source][14], [Issues][21], [PRs][28]
[Image Placeholders][1] | `dominant-color-images` | No | [Source][9], [Issues][17], [PRs][25]
[Modern Image Formats][2] | `webp-uploads` | No | [Source][10], [Issues][18], [PRs][26]
[Performant Translations][3] | `performant-translations` | No | [Source][11], [Issues][19], [PRs][27]
[Speculative Loading][4] | `speculation-rules` | No | [Source][12], [Issues][20], [PRs][28]
[Embed Optimizer][5] | `embed-optimizer` | Yes | [Source][13], [Issues][21], [PRs][29]
[Enhanced Responsive Images][6] | `auto-sizes` | Yes | [Source][14], [Issues][22], [PRs][30]
[Image Prioritizer][7] | `image-prioritizer` | Yes | [Source][15], [Issues][23], [PRs][31]
[Web Worker Offloading][8] | `web-worker-offloading` | Yes | [Source][16], [Issues][24], [PRs][32]

[1]: https://wordpress.org/plugins/dominant-color-images/
[2]: https://wordpress.org/plugins/webp-uploads/
Expand All @@ -26,29 +27,33 @@ Plugin | Slug | Experimental | Lin
[5]: https://wordpress.org/plugins/embed-optimizer/
[6]: https://wordpress.org/plugins/auto-sizes/
[7]: https://wordpress.org/plugins/image-prioritizer/

[8]: https://github.com/WordPress/performance/tree/trunk/plugins/dominant-color-images
[9]: https://github.com/WordPress/performance/tree/trunk/plugins/webp-uploads
[10]: https://github.com/swissspidy/performant-translations
[11]: https://github.com/WordPress/performance/tree/trunk/plugins/speculation-rules
[12]: https://github.com/WordPress/performance/tree/trunk/plugins/embed-optimizer
[13]: https://github.com/WordPress/performance/tree/trunk/plugins/auto-sizes
[14]: https://github.com/WordPress/performance/tree/trunk/plugins/image-prioritizer

[15]: https://github.com/WordPress/performance/issues?q=is%3Aopen+label%3A%22%5BPlugin%5D+Image+Placeholders%22
[16]: https://github.com/WordPress/performance/issues?q=is%3Aopen+label%3A%22%5BPlugin%5D+Modern+Image+Formats%22
[17]: https://github.com/swissspidy/performant-translations/issues
[18]: https://github.com/WordPress/performance/issues?q=is%3Aopen+label%3A%22%5BPlugin%5D+Speculative+Loading%22
[19]: https://github.com/WordPress/performance/issues?q=is%3Aopen+label%3A%22%5BPlugin%5D+Embed+Optimizer%22
[20]: https://github.com/WordPress/performance/issues?q=is%3Aopen+label%3A%22%5BPlugin%5D+Enhanced+Responsive+Images%22
[21]: https://github.com/WordPress/performance/issues?q=is%3Aopen+label%3A%22%5BPlugin%5D+Image+Prioritizer%22

[22]: https://github.com/WordPress/performance/pulls?q=is%3Aopen+label%3A%22%5BPlugin%5D+Image+Placeholders%22
[23]: https://github.com/WordPress/performance/pulls?q=is%3Aopen+label%3A%22%5BPlugin%5D+Modern+Image+Formats%22
[24]: https://github.com/swissspidy/performant-translations/pulls
[25]: https://github.com/WordPress/performance/pulls?q=is%3Aopen+label%3A%22%5BPlugin%5D+Speculative+Loading%22
[26]: https://github.com/WordPress/performance/pulls?q=is%3Aopen+label%3A%22%5BPlugin%5D+Embed+Optimizer%22
[27]: https://github.com/WordPress/performance/pulls?q=is%3Aopen+label%3A%22%5BPlugin%5D+Enhanced+Responsive+Images%22
[28]: https://github.com/WordPress/performance/pulls?q=is%3Aopen+label%3A%22%5BPlugin%5D+Image+Prioritizer%22
[8]: https://wordpress.org/plugins/web-worker-offloading/

[9]: https://github.com/WordPress/performance/tree/trunk/plugins/dominant-color-images
[10]: https://github.com/WordPress/performance/tree/trunk/plugins/webp-uploads
[11]: https://github.com/swissspidy/performant-translations
[12]: https://github.com/WordPress/performance/tree/trunk/plugins/speculation-rules
[13]: https://github.com/WordPress/performance/tree/trunk/plugins/embed-optimizer
[14]: https://github.com/WordPress/performance/tree/trunk/plugins/auto-sizes
[15]: https://github.com/WordPress/performance/tree/trunk/plugins/image-prioritizer
[16]: https://github.com/WordPress/performance/tree/trunk/plugins/web-worker-offloading

[17]: https://github.com/WordPress/performance/issues?q=is%3Aopen+label%3A%22%5BPlugin%5D+Image+Placeholders%22
[18]: https://github.com/WordPress/performance/issues?q=is%3Aopen+label%3A%22%5BPlugin%5D+Modern+Image+Formats%22
[19]: https://github.com/swissspidy/performant-translations/issues
[20]: https://github.com/WordPress/performance/issues?q=is%3Aopen+label%3A%22%5BPlugin%5D+Speculative+Loading%22
[21]: https://github.com/WordPress/performance/issues?q=is%3Aopen+label%3A%22%5BPlugin%5D+Embed+Optimizer%22
[22]: https://github.com/WordPress/performance/issues?q=is%3Aopen+label%3A%22%5BPlugin%5D+Enhanced+Responsive+Images%22
[23]: https://github.com/WordPress/performance/issues?q=is%3Aopen+label%3A%22%5BPlugin%5D+Image+Prioritizer%22
[24]: https://github.com/WordPress/performance/issues?q=is%3Aopen%20label%3A%22%5BPlugin%5D%20Web%20Worker%20Offloading%22

[25]: https://github.com/WordPress/performance/pulls?q=is%3Apr+is%3Aopen+label%3A%22%5BPlugin%5D+Image+Placeholders%22
[26]: https://github.com/WordPress/performance/pulls?q=is%3Apr+is%3Aopen+label%3A%22%5BPlugin%5D+Modern+Image+Formats%22
[27]: https://github.com/swissspidy/performant-translations/pulls
[28]: https://github.com/WordPress/performance/pulls?q=is%3Apr+is%3Aopen+label%3A%22%5BPlugin%5D+Speculative+Loading%22
[29]: https://github.com/WordPress/performance/pulls?q=is%3Apr+is%3Aopen+label%3A%22%5BPlugin%5D+Embed+Optimizer%22
[30]: https://github.com/WordPress/performance/pulls?q=is%3Apr+is%3Aopen+label%3A%22%5BPlugin%5D+Enhanced+Responsive+Images%22
[31]: https://github.com/WordPress/performance/pulls?q=is%3Apr+is%3Aopen+label%3A%22%5BPlugin%5D+Image+Prioritizer%22
[32]: https://github.com/WordPress/performance/pulls?q=is%3Apr+is%3Aopen+label%3A%22%5BPlugin%5D+Web%20Worker%20Offloading%22

Note that the plugin names sometimes diverge from the plugin slugs due to scope changes. For example, a plugin's purpose may change as some of its features are merged into WordPress core.
22 changes: 11 additions & 11 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion lint-staged.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ const joinFiles = ( files ) => {
const PLUGIN_BASE_NAME = path.basename( __dirname );

module.exports = {
'**/*.js': ( files ) => `npm run lint-js -- ${ joinFiles( files ) }`,
'**/*.{js,ts}': ( files ) => {
return [ `npm run lint-js -- ${ joinFiles( files ) }`, `npm run tsc` ];
},
'**/*.php': ( files ) => {
const commands = [ 'composer phpstan' ];

Expand Down
Loading