Skip to content

Commit 74d3967

Browse files
Fran McDadeFran McDade
authored andcommitted
feat: combine the website and data-catalog directories under the brc-analytics project (#16)
1 parent f38fc44 commit 74d3967

File tree

164 files changed

+16216
-32883
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+16216
-32883
lines changed

data-catalog/.env renamed to .env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
NEXT_PUBLIC_SITEMAP_DOMAIN='https://brc-analytics.dev.clevercanary.com'
2-
NEXT_PUBLIC_BASE_PATH='/data'
3-
SITEMAP_EXCLUDE='/export*,/login'
2+
NEXT_PUBLIC_BASE_PATH=''
3+
SITEMAP_EXCLUDE='/export*,/login'
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
**/node_modules/*
2+
**/out/*
23
**/.next/*
34

4-
/out
5-
65
venv
File renamed without changes.

.github/workflows/run-checks.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ jobs:
1010
with:
1111
node-version: "20.10.0"
1212
- run: |
13-
cd ./website
14-
npm ci
15-
npm run check-format
16-
npm run lint
17-
npx tsc --noEmit
18-
cd ../data-catalog
1913
npm ci
2014
npm run check-format
2115
npm run lint

.gitignore

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,36 @@
11
# dependencies
22
/node_modules
33

4-
.idea/
4+
# next.js
5+
/.next/
6+
7+
# misc
8+
.DS_Store
9+
*.pem
10+
11+
# debug
12+
npm-debug.log*
13+
14+
# env files
15+
/.env*.local
16+
/.env.development
17+
/.env.production
18+
19+
# typescript
20+
*.tsbuildinfo
21+
22+
# editors
23+
/.vscode
24+
.idea
25+
26+
# nvm
27+
.nvmrc
28+
29+
# favicons
30+
/public/favicons/*
31+
32+
# Build Dir
33+
/out
34+
35+
# python
36+
venv

.husky/pre-commit

Lines changed: 18 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,24 @@
33

44
echo '🏗️👷 Checking your project before committing'
55

6-
for app in "website" "data-catalog"
7-
do
8-
echo "\nChecking $app"
6+
# Check Prettier
7+
npm run check-format ||
8+
(
9+
echo '🤔 Prettier Check Failed. Run npx prettier --write . try commit again.';
10+
false;
11+
)
912

10-
cd "./$app"
11-
12-
# Check Prettier
13-
npm run check-format ||
14-
(
15-
echo '🤔 Prettier Check Failed. Run npx prettier --write . try commit again.';
16-
false;
17-
)
18-
19-
# Check ESLint
20-
npm run lint ||
21-
(
22-
echo '🤔 ESLint Check Failed. Make the required changes listed above, add changes and try to commit again.'
23-
false;
24-
)
25-
26-
# Check TypeScript
27-
npx tsc --noEmit ||
28-
(
29-
echo 'TypeScript compile failed';
13+
# Check ESLint
14+
npm run lint ||
15+
(
16+
echo '🤔 ESLint Check Failed. Make the required changes listed above, add changes and try to commit again.'
3017
false;
31-
)
32-
echo 'TypeScript compile succeeded!'
18+
)
3319

34-
cd ..
35-
done
20+
# Check TypeScript
21+
npx tsc --noEmit ||
22+
(
23+
echo 'TypeScript compile failed';
24+
false;
25+
)
26+
echo 'TypeScript compile succeeded!'

data-catalog/.prettierignore renamed to .prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
node_modules
66

77
# build
8-
/out
8+
out
99

1010
# python
1111
venv
File renamed without changes.

README.md

Lines changed: 22 additions & 1 deletion

0 commit comments

Comments
 (0)