Skip to content

Commit 700cd80

Browse files
authored
Merge pull request #760 from UTDNebula/develop
Merging develop into production
2 parents 7196cbc + 70850fd commit 700cd80

Some content is hidden

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

65 files changed

+25269
-21917
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ module.exports = {
1919
'plugin:import/typescript',
2020
'prettier',
2121
'next/core-web-vitals',
22+
'plugin:storybook/recommended',
2223
],
2324
rules: {
2425
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
3333
steps:
3434
- name: Checkout
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@v4
3636

3737
- name: Setup Node.js
38-
uses: actions/setup-node@v3
38+
uses: actions/setup-node@v4
3939
with:
4040
node-version: 18
4141

.github/workflows/delete-neon-branch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
id: get_branch_id
2222
# list all branches and filter by name
2323
run: |
24-
branch_id=$(curl --silent \
24+
branch_id=$(curl --silent --fail-with-body \
2525
"https://console.neon.tech/api/v2/projects/${{ secrets.NEON_PROJECT_ID }}/branches" \
2626
--header "Accept: application/json" \
2727
--header "Content-Type: application/json" \
@@ -32,7 +32,7 @@ jobs:
3232
echo "branch_id=${branch_id}" >> $GITHUB_OUTPUT
3333
3434
- name: Delete Neon Branch
35-
uses: neondatabase/delete-branch-action@v2
35+
uses: neondatabase/delete-branch-action@v3
3636
with:
3737
project_id: ${{ secrets.NEON_PROJECT_ID }}
3838
branch_id: ${{ steps.get_branch_id.outputs.branch_id }}

.github/workflows/deploy-preview.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222

2323
- name: Neon Database Create Branch Action
24-
uses: neondatabase/create-branch-action@v3
24+
uses: neondatabase/create-branch-action@v4
2525
id: create_branch
2626
with:
2727
project_id: ${{ secrets.NEON_PROJECT_ID }}
@@ -39,7 +39,7 @@ jobs:
3939
preview_url=$(vercel deploy \
4040
--env DATABASE_URL="${{ steps.create_branch.outputs.db_url_with_pooler}}/neondb?pgbouncer=true&connect_timeout=15&pool_timeout=15" \
4141
--build-env DIRECT_DATABASE_URL="${{ steps.create_branch.outputs.db_url}}/neondb?connect_timeout=10" \
42-
--public --yes --token=${{ secrets.VERCEL_TOKEN }})
42+
--public --yes --token="${{ secrets.VERCEL_TOKEN }}")
4343
echo preview_url=$preview_url >> $GITHUB_OUTPUT
4444
4545
- name: Comment on Pull Request

.github/workflows/format.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313

1414
steps:
1515
- name: Check out Git repository
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- name: Set up Node.js
19-
uses: actions/setup-node@v3
19+
uses: actions/setup-node@v4
2020
with:
2121
node-version: 18
2222

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666

6767
steps:
6868
- name: Checkout
69-
uses: actions/checkout@v3
69+
uses: actions/checkout@v4
7070

7171
- name: Setup Python3.11
7272
uses: actions/setup-python@v4
@@ -87,7 +87,7 @@ jobs:
8787
mongodb-port: 27017
8888

8989
- name: Setup Node.js
90-
uses: actions/setup-node@v3
90+
uses: actions/setup-node@v4
9191
with:
9292
node-version: 18
9393

@@ -107,10 +107,10 @@ jobs:
107107
runs-on: ubuntu-latest
108108
steps:
109109
- name: Checkout
110-
uses: actions/checkout@v3
110+
uses: actions/checkout@v4
111111

112112
- name: Setup Node.js
113-
uses: actions/setup-node@v3
113+
uses: actions/setup-node@v4
114114
with:
115115
node-version: 18
116116

.github/workflows/validator_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
working-directory: validator
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- uses: actions/setup-python@v4
2121
with:

.github/workflows/versioning.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616

1717
- uses: actions/setup-python@v4
1818
with:

.storybook/main.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import type { StorybookConfig } from '@storybook/nextjs';
2+
3+
const config: StorybookConfig = {
4+
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
5+
addons: [
6+
'@storybook/addon-links',
7+
'@storybook/addon-essentials',
8+
'@storybook/addon-onboarding',
9+
'@storybook/addon-interactions',
10+
],
11+
framework: {
12+
name: '@storybook/nextjs',
13+
options: {},
14+
},
15+
docs: {
16+
autodocs: 'tag',
17+
},
18+
};
19+
export default config;

.storybook/preview.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import type { Preview } from '@storybook/react';
2+
3+
const preview: Preview = {
4+
parameters: {
5+
actions: { argTypesRegex: '^on[A-Z].*' },
6+
controls: {
7+
matchers: {
8+
color: /(background|color)$/i,
9+
date: /Date$/i,
10+
},
11+
},
12+
},
13+
};
14+
15+
export default preview;

0 commit comments

Comments
 (0)