Skip to content

Commit

Permalink
Add new package @wordpress/lazy-import for lazily installed packages (
Browse files Browse the repository at this point in the history
#22684)

* Packages: Add package "lazy-import"

* isShallowEqual: Lazily install dependencies for benchmark

* Lazy Import: Avoid abbreviated package variable

* Lazy Import: Add requirement for NPM 6.9.0+

* Lazy Import: Throw error specific for disconnected

* Lazy Import: Delete cache on second require attempt

* Bump execa and semver to consistent latest version

* Create Block: Bump execa dependency

* Update package-lock.json file

* Fix npm-package-arg dependency

* Lazy Import: Avoid mutating require cache for final import

* Update package-lock.json

Co-authored-by: Grzegorz Ziolkowski <grzegorz@gziolo.pl>
  • Loading branch information
aduth and gziolo committed Jun 3, 2020
1 parent 34aca74 commit 6fd5b93
Show file tree
Hide file tree
Showing 13 changed files with 765 additions and 98 deletions.
6 changes: 6 additions & 0 deletions docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -1487,6 +1487,12 @@
"markdown_source": "../packages/keycodes/README.md",
"parent": "packages"
},
{
"title": "@wordpress/lazy-import",
"slug": "packages-lazy-import",
"markdown_source": "../packages/lazy-import/README.md",
"parent": "packages"
},
{
"title": "@wordpress/library-export-default-webpack-plugin",
"slug": "packages-library-export-default-webpack-plugin",
Expand Down

0 comments on commit 6fd5b93

Please sign in to comment.