fix(deps): 🐛 Fix dipendenze child e peer non trovate

This commit is contained in:
Maicol Battistini 2022-01-10 21:39:35 +01:00
parent 18c9045dac
commit 58f4a7f78e
No known key found for this signature in database
GPG Key ID: 4FDB0F87CDB1D34A
2 changed files with 4 additions and 2 deletions

1
.npmrc
View File

@ -1,3 +1,4 @@
public-hoist-pattern[]=*@material*
public-hoist-pattern[]=autoprefixer
public-hoist-pattern[]=*eslint*
public-hoist-pattern[]=*postcss*

View File

@ -1,6 +1,7 @@
function readPackage(pkg) {
const pkgs = ['@openstamanager/vite-config'];
if (pkg.name in pkgs) {
const pkgs = ['@openstamanager/vite-config', '@maicol07/eslint-config'];
if (pkgs.includes(pkg.name)) {
/** @type {object} */
pkg.dependencies = {
...pkg.peerDependencies,