-
Notifications
You must be signed in to change notification settings - Fork 0
feat: remove unused packages and fix tsconfig #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,16 @@ | ||||||||
| .PHONY: clean/test | ||||||||
| clean/test: | ||||||||
| sudo rm -rf coverage build .svelte-kit test-results results-e2e.xml | ||||||||
|
|
||||||||
| .PHONY: clean/node | ||||||||
| clean/node: | ||||||||
| rm -rf node_modules | ||||||||
| rm package-lock.json | ||||||||
|
Comment on lines
+7
to
+8
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removing package-lock.json breaks reproducible builds. The
Consider either keeping the lock file or using 🔎 Apply this diff to preserve package-lock.json: .PHONY: clean/node
clean/node:
rm -rf node_modules
- rm package-lock.json📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||
|
|
||||||||
| .PHONY: ci | ||||||||
| ci: | ||||||||
| make clean/node | ||||||||
| make clean/test | ||||||||
| npm ci | ||||||||
| npm run build:check | ||||||||
| npm run test | ||||||||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| import '@testing-library/jest-dom/vitest' | ||
| import '@testing-library/jest-dom' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove sudo from the clean command.
Using
sudoin build/test scripts is a security and operational concern:If the directories are owned by root, fix the permission issue where they're created rather than elevating privileges to delete them.
🔎 Apply this diff to remove sudo:
📝 Committable suggestion
🤖 Prompt for AI Agents