PlayForm / Adapt

๐Ÿ”Œโ€Adaptโ€โ€”

Home Page:https://GitHub.Com/PlayForm/Adapt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

๐Ÿ”Œโ€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:

npx astro add @playform/adapt

Using Yarn:

yarn astro add @playform/adapt

Using PNPM:

pnpx astro add @playform/adapt

Getting started

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

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

Changelog

See CHANGELOG.md for a history of changes to this component.

About

๐Ÿ”Œโ€Adaptโ€โ€”

https://GitHub.Com/PlayForm/Adapt

License:MIT License


Languages

Language:TypeScript 81.4%Language:JavaScript 18.6%