An open API service indexing awesome lists of open source software.

https://github.com/playform/adapt

🔌 Adapt —
https://github.com/playform/adapt

adapt package playform

Last synced: 3 months ago
JSON representation

🔌 Adapt —

Awesome Lists containing this project

README

        

# [Adapt] 🔌

`Adapt` modifies the `package.json` on preinstall and allows you to choose a
strategy when using a `peerDependency` in an upstream or downstream packages to
avoid inconsistencies.

## Installation 🚀

To install `Adapt`, run the following from your project directory and follow the
prompts:

Using NPM:

```sh
npx astro add @playform/adapt
```

Using Yarn:

```sh
yarn astro add @playform/adapt
```

Using PNPM:

```sh
pnpx astro add @playform/adapt
```

## Getting started

Place `Adapt` in your `package.json` `dependencies` and configure the
`preinstall` hook like so:

```json
{
"scripts": {
"preinstall": "Adapt"
},
"dependencies": {
"@playform/adapt": "0.0.1"
}
}
```

[Adapt]: HTTPS://npmjs.org/@playform/adapt

## Changelog

See [`CHANGELOG.md`](CHANGELOG.md) for a history of changes to this component.