Skip to content

Commit

Permalink
Cleanup deps and more tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
pnicolli committed Nov 15, 2024
1 parent d48d3f9 commit 43b7d2c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 22 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
"mrs-developer": "^2.2.0",
"typescript": "^5.5.4"
},
"packageManager": "[email protected]",
"pnpm": {
"overrides": {
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
"react-refresh": "^0.14.2"
}
}
},
"packageManager": "[email protected]"
}
4 changes: 0 additions & 4 deletions packages/volto-blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,12 @@
"release-alpha": "release-it --preRelease=alpha"
},
"peerDependencies": {
"@plone/volto": "17 || 18",
"@plone/volto-slate": "17 || 18",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@plone/scripts": "^3.6.1",
"@plone/types": "workspace:^",
"@plone/volto": "workspace:^",
"@plone/volto-slate": "workspace:^",
"@types/classnames": "^2.2.11",
"@types/loadable__component": "^5.13.9",
"@types/lodash": "^4.14.201",
Expand Down
4 changes: 0 additions & 4 deletions packages/volto-slate-extras/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,11 @@
"release-alpha": "release-it --preRelease=alpha"
},
"peerDependencies": {
"@plone/volto": "17 || 18",
"@plone/volto-slate": "17 || 18",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@plone/scripts": "^3.6.1",
"@plone/volto": "workspace:^",
"@plone/volto-slate": "workspace:^",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"release-it": "^17.1.1"
Expand Down
8 changes: 8 additions & 0 deletions packages/volto-slate-extras/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@
"lib": ["es2022", "dom", "dom.iterable"],
"jsx": "react-jsx",
"paths": {
"@plone/volto/*": [
"../../core/packages/volto/src/*",
"../../../../core/packages/volto/src/*"
],
"@plone/volto-slate/*": [
"../../core/packages/volto-slate/src/*",
"../../../../core/packages/volto-slate/src/*"
],
"@redturtle/volto-slate-extras/*": ["./src/*"]
}
},
Expand Down
12 changes: 0 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 43b7d2c

Please sign in to comment.