Skip to content

Commit

Permalink
Merge branch 'master' of github.com:zerodays/chrome-extension-template
Browse files Browse the repository at this point in the history
  • Loading branch information
zigapk committed Jul 3, 2024
2 parents 20f6ff8 + 2aa59cd commit 9385344
Show file tree
Hide file tree
Showing 19 changed files with 2,241 additions and 203 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
Expand Down
30 changes: 30 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": ["source.organizeImports", "source.fixAll"],
"editor.defaultFormatter": "esbenp.prettier-vscode",
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"typescript.preferences.autoImportFileExcludePatterns": [
"@radix-ui",
"tailwindcss"
],
"eslint.rules.customizations": [
{
"rule": "prettier/prettier",
"severity": "warn"
}
],
"javascript.preferences.importModuleSpecifier": "non-relative",
"typescript.preferences.importModuleSpecifier": "non-relative",
"tailwindCSS.experimental.classRegex": [
// Matches all objects with the name 'variants'
["variants \\=([^;]*);", "'([^']*)'"],
["variants \\=([^;]*);", "\"([^\"]*)\""],
["variants \\=([^;]*);", "\\`([^\\`]*)\\`"],
// Matches all objects that are a parameter of 'cva' function
["[^=]+ = cva\\(([^)]*)\\)", "'([^']*)'"],
["[^=]+ = cva\\(([^)]*)\\)", "\"([^\"]*)\""],
["[^=]+ = cva\\(([^)]*)\\)", "\\`([^\\`]*)\\`"]
],
"cSpell.words": ["Zerodays"]
}
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,22 @@
"preview": "vite preview",
"format": "prettier --check --ignore-path .prettierignore .",
"format:fix": "prettier --write --ignore-path .prettierignore .",
"prepare": "husky"
"prepare": "husky",
"gen-api": "infisical run --command 'openapi-zod-client \"$NEXT_PUBLIC_API_URL/docs/bundle.yml\" -o './src/zodios/index.ts' -t ./scripts/zodios-client-template.hbs' && prettier --write ./src/zodios/index.ts"
},
"dependencies": {
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-slot": "^1.1.0",
"@t3-oss/env-core": "^0.10.1",
"@tanstack/react-query": "^4.36.1",
"@uidotdev/usehooks": "^2.4.1",
"@zodios/core": "^10.9.6",
"@zodios/react": "^10.4.5",
"axios": "^1.7.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"@t3-oss/env-core": "^0.10.1",
"cmdk": "^1.0.0",
"i18next": "^23.11.5",
"lucide-react": "^0.400.0",
"react": "^18.3.1",
Expand Down Expand Up @@ -55,6 +64,7 @@
"globals": "^15.7.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"openapi-zod-client": "^1.18.1",
"postcss": "^8.4.39",
"prettier": "3.3.2",
"prettier-plugin-organize-imports": "^4.0.0",
Expand Down
Loading

0 comments on commit 9385344

Please sign in to comment.