Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
yarn lint
git add -u
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"format": "prettier --write .",
"preview": "vite preview"
"lint": "eslint . --fix && yarn format",
"format": "prettier --write . --log-level=warn",
"preview": "vite preview",
"prepare": "husky"
},
"dependencies": {
"@sigmacomputing/plugin": "^1.0.10",
Expand All @@ -29,6 +30,7 @@
"eslint-plugin-react-refresh": "^0.4.22",
"eslint-plugin-react-x": "^2.2.2",
"globals": "^16.4.0",
"husky": "^9.1.7",
"prettier": "^3.6.2",
"typescript": "~5.9.3",
"typescript-eslint": "^8.45.0",
Expand Down
1 change: 0 additions & 1 deletion src/components/CopyButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@ export function CopyUrlButton({ url }: CopyUrlButtonProps) {
</button>
);
}

1 change: 0 additions & 1 deletion src/components/PluginCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ export function PluginCard({
</div>
);
}

6 changes: 1 addition & 5 deletions src/components/PluginContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ interface PluginContainerProps {
* Reusable layout component for all plugins
* Provides consistent header, title, and content area styling
*/
export function PluginContainer({
title,
children,
}: PluginContainerProps) {
export function PluginContainer({ title, children }: PluginContainerProps) {
return (
<div style={pluginContainerStyles}>
<div style={pluginHeaderStyles}>
Expand All @@ -29,4 +26,3 @@ export function PluginContainer({
</div>
);
}

1 change: 0 additions & 1 deletion src/components/StatusItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,3 @@ export function StatusItem({
</div>
);
}

10 changes: 10 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1731,6 +1731,15 @@ __metadata:
languageName: node
linkType: hard

"husky@npm:^9.1.7":
version: 9.1.7
resolution: "husky@npm:9.1.7"
bin:
husky: bin.js
checksum: 10c0/35bb110a71086c48906aa7cd3ed4913fb913823715359d65e32e0b964cb1e255593b0ae8014a5005c66a68e6fa66c38dcfa8056dbbdfb8b0187c0ffe7ee3a58f
languageName: node
linkType: hard

"iconv-lite@npm:^0.6.2":
version: 0.6.3
resolution: "iconv-lite@npm:0.6.3"
Expand Down Expand Up @@ -2651,6 +2660,7 @@ __metadata:
eslint-plugin-react-refresh: "npm:^0.4.22"
eslint-plugin-react-x: "npm:^2.2.2"
globals: "npm:^16.4.0"
husky: "npm:^9.1.7"
prettier: "npm:^3.6.2"
react: "npm:^19.1.1"
react-dom: "npm:^19.1.1"
Expand Down