Frontmatter
| id | 5105 |
| title | dev dependencies VS hard dependencies cleanup |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Nov 27, 2023, 10:53 AM |
| updatedAt | Nov 27, 2023, 2:35 PM |
| githubUrl | https://github.com/neomjs/neo/issues/5105 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 27, 2023, 2:35 PM |
I originally added most dev dependencies inside the package.json as real dependencies, since workspaces (app repos) rely on using the same build tools. a bit more convenient, since we did not have to add them again.
However, tools like sonar will create alerts, security warnings & code smells for code which is only required for build processes. Whitelisting all errors is too much work.
So, we should move everything possible into
devDependenciesand also adjustnpx neo-appto include them for new workspaces the same way.