Install a local extension
Follow these steps in order to install an extension from a local source
.
βββ π packages/
β βββ π @somebody/ # All extensions of this scope will be in this dir
β β βββ π extension1/ # This extension is a scoped package
β β βββ ...
β β βββ package.json
β βββ π extension2/ # This extension is not a scoped package
β βββ ...
β βββ package.json
βββ π src
βββ package.json{
"scripts": {
"postinstall": "nextjs-scripts link",
"postupdate": "nextjs-scripts link"
}
}{
"scripts": {
"postinstall": "cra-scripts link",
"postupdate": "cra-scripts link"
}
}{
"scripts": {
"postinstall": "node-scripts link",
"postupdate": "node-scripts link"
}
}Last updated