Refactor code and improve usage of package dependencies
This commit updates the naming convention of icons from Lucide-React, moving some package dependencies to "peerDependencies" in 'team-accounts', 'admin' and 'auth'. Additionally, it includes tweaks to the development server command in apps/web package.json and adds a logger reference to the shared package. Furthermore, cleanup work has been performed within the features and UI packages, and new scripts to interact with Stripe have been added to the root package.json.
This commit is contained in:
@@ -18,6 +18,7 @@ const config = {
|
||||
'@kit/mailers',
|
||||
'@kit/billing',
|
||||
'@kit/billing-gateway',
|
||||
'@kit/stripe',
|
||||
],
|
||||
pageExtensions: ['ts', 'tsx'],
|
||||
images: {
|
||||
@@ -25,6 +26,12 @@ const config = {
|
||||
},
|
||||
experimental: {
|
||||
mdxRs: true,
|
||||
optimizePackageImports: []
|
||||
},
|
||||
modularizeImports: {
|
||||
"lucide-react": {
|
||||
transform: "lucide-react/dist/esm/icons/{{ kebabCase member }}",
|
||||
}
|
||||
},
|
||||
/** We already do linting and typechecking as separate tasks in CI */
|
||||
eslint: { ignoreDuringBuilds: true },
|
||||
|
||||
Reference in New Issue
Block a user