diff --git a/explorer/.gitignore b/explorer/.gitignore index e9f80fc38..1e1895ac0 100644 --- a/explorer/.gitignore +++ b/explorer/.gitignore @@ -1,7 +1,7 @@ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # dependencies -/node_modules +node_modules /.pnp .pnp.js @@ -19,6 +19,8 @@ # misc .DS_Store *.pem +.tmp +/downloads/* # debug npm-debug.log* @@ -26,6 +28,10 @@ yarn-debug.log* yarn-error.log* .pnpm-debug.log* +#System Files +.DS_Store +Thumbs.db + # env files /.env*.local /.env.development @@ -37,7 +43,8 @@ yarn-error.log* # typescript *.tsbuildinfo -# vscode +# IDEs and editors +.idea /.vscode # hygen @@ -51,3 +58,8 @@ _templates /files/anvil-catalog/out/ /files/ncpi-catalog/out/ + +#Python +__pycache__/ +/analytics/**/_build +/analytics/venv diff --git a/explorer/.husky/commit-msg b/explorer/.husky/commit-msg index 1726b4279..d2c2a8cf2 100755 --- a/explorer/.husky/commit-msg +++ b/explorer/.husky/commit-msg @@ -13,8 +13,6 @@ if ! grep -iqE "$commit_regex" "$1"; then exit 1 fi -cd explorer - # Check for Conventional Commits format npx commitlint --config ./commitlint.config.js --edit $1 diff --git a/explorer/.husky/pre-commit b/explorer/.husky/pre-commit index 8a9c08280..46e198e01 100755 --- a/explorer/.husky/pre-commit +++ b/explorer/.husky/pre-commit @@ -1,8 +1,6 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -cd explorer - echo '🏗️👷 Checking your project before committing' # Check Prettier diff --git a/explorer/package.json b/explorer/package.json index 34dbeba9d..321b10c5b 100644 --- a/explorer/package.json +++ b/explorer/package.json @@ -26,7 +26,7 @@ "start": "npx serve out", "lint": "next lint --dir .", "check-format": "prettier --check .", - "prepare": "cd .. && husky install explorer/.husky", + "prepare": "husky install ./.husky", "storybook": "storybook dev -s images,.next -p 6006", "build-storybook": "storybook build", "test": "jest --watch",