Skip to content

Commit

Permalink
chore: update explorer contents in preparation for move (#4230)
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterckx committed Nov 8, 2024
1 parent fbd920f commit aac5a94
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
16 changes: 14 additions & 2 deletions explorer/.gitignore
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -19,13 +19,19 @@
# misc
.DS_Store
*.pem
.tmp
/downloads/*

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

#System Files
.DS_Store
Thumbs.db

# env files
/.env*.local
/.env.development
Expand All @@ -37,7 +43,8 @@ yarn-error.log*
# typescript
*.tsbuildinfo

# vscode
# IDEs and editors
.idea
/.vscode

# hygen
Expand All @@ -51,3 +58,8 @@ _templates

/files/anvil-catalog/out/
/files/ncpi-catalog/out/

#Python
__pycache__/
/analytics/**/_build
/analytics/venv
2 changes: 0 additions & 2 deletions explorer/.husky/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions explorer/.husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

cd explorer

echo '🏗️👷 Checking your project before committing'

# Check Prettier
Expand Down
2 changes: 1 addition & 1 deletion explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit aac5a94

Please sign in to comment.