Skip to content

Commit

Permalink
fix(illustrations): don't bundle lodash and yargs
Browse files Browse the repository at this point in the history
Both lodash and yargs are bundled with the illustrations
package for no good reason. Moving them to dev-dependencies
instead.
  • Loading branch information
lekoaf committed May 30, 2024
1 parent 08c856f commit 874e150
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 22 deletions.
19 changes: 9 additions & 10 deletions illustrations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,25 @@
"illustrations:optimize-svg": "svgo --config=.svgo.yml -f ./dist/svg",
"illustrations:generate-react": "ts-node src/scripts/generate-react.ts --from ./dist/svg --to ./dist/react"
},
"dependencies": {
"yargs": "17.7.2",
"lodash": "4.17.21"
},
"dependencies": {},
"devDependencies": {
"@axiscommunications/fluent-theme": "workspace:*",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@axiscommunications/fluent-theme": "workspace:*",
"@types/lodash": "4.14.202",
"@types/node": "^20.10.6",
"@types/react": "^18.2.65",
"@types/yargs": "17.0.32",
"@vitest/coverage-c8": "^0.33.0",
"eslint": "^8.56.0",
"jsdom": "^22.1.0",
"lodash": "4.17.21",
"react": "^18.2.0",
"svgo": "1.3.2",
"ts-node": "^10.9.2",
"typescript": "^4.5.5",
"svgo": "1.3.2",
"@types/yargs": "17.0.32",
"@types/lodash": "4.14.202",
"@vitest/coverage-c8": "^0.33.0",
"vitest": "^0.34.6",
"jsdom": "^22.1.0"
"yargs": "17.7.2"
},
"peerDependencies": {
"@axiscommunications/fluent-theme": ">=9.0.0",
Expand Down
33 changes: 21 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 874e150

Please sign in to comment.