You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Moved non‑standard implementations to Contrib area (#1343)
- fixes#1344
## Added
* New entry point for `/Contrib` and known submodules
See `package.json::exports` for details.
## Changed
* Moved non‑standard implementations to Contrib area
## Deprecated
* Certain exports have been deprecated; downstream imports should be
updated to the new locations
Note: the symbols themselves remain supported. See documentation and the
"Refactored" section below for details.
## Refactored
* The following symbols were moved.
The symbols are still import-able through their old location.
* **OLD** -> **NEW**
* `Builders.FromNodePackageJson` ->
`Contrib.FromNodePackageJson.Builders`
* `Factories.FromNodePackageJson` ->
`Contrib.FromNodePackageJson.Factories`
* `Factories.LicenseFactory` ->
`Contrib.License.Factories.LicenseFactory`
* `Factories.PackageUrlFactory` ->
`Contrib.PackageUrl.Factories.PackageUrlFactory`
* `Types.assertNodePackageJson` ->
`Contrib.FromNodePackageJson.Types.assertNodePackageJson`
* `Types.isNodePackageJson` ->
`Contrib.FromNodePackageJson.Types.isNodePackageJson`
* `Types.NodePackageJson` ->
`Contrib.FromNodePackageJson.Types.NodePackageJson`
* `Utils.LicenseUtility` -> `Contrib.License.Utils`
* `Utils.NpmjsUtility` -> `Contrib.FromNodePackageJson.Utils`
----
:warning: tests for contribs were not moved yet, to show that all
functionality still works.
the tests will be moved in a later step
-----
- [x] wrote docs
- [x] moved functionality
- [x] mark old imports ad deprecated
- [x] write changelog
---------
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
0 commit comments