Ecosyste.ms: Awesome
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: 5 days ago
JSON representation
🔌 Adapt —
- Host: GitHub
- URL: https://github.com/playform/adapt
- Owner: PlayForm
- License: cc0-1.0
- Created: 2024-04-05T15:11:49.000Z (7 months ago)
- Default Branch: Current
- Last Pushed: 2024-10-25T13:50:05.000Z (21 days ago)
- Last Synced: 2024-10-25T15:23:24.382Z (21 days ago)
- Topics: adapt, package, playform
- Language: TypeScript
- Homepage: https://GitHub.Com/PlayForm/Adapt
- Size: 197 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
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.