Skip to content

Commit

Permalink
Merge pull request #477 from MytsV/feature-471-new_did_list
Browse files Browse the repository at this point in the history
New streaming and list pages
  • Loading branch information
maany authored Sep 22, 2024
2 parents c53137d + f61a8aa commit ec312f2
Show file tree
Hide file tree
Showing 854 changed files with 29,096 additions and 23,371 deletions.
6 changes: 6 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This file lists commits that will be ignored when assigning blame.

# Reformatting src/
b006cec23dc9b059239789f7d6ab51e242fef404
# Reformatting test/
2fd31caeab8d8d664de69360ad88311d7e115d5c
6 changes: 4 additions & 2 deletions .github/workflows/api-and-component.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: API and Component Tests
name: API, Component and Hook Tests
on:
push:
branches:
Expand All @@ -8,7 +8,7 @@ on:
- master
jobs:
test:
name: Test API and Components
name: Test API, Components and Hooks
strategy:
matrix:
node-version: [18.16.1, 20.4.0]
Expand All @@ -25,4 +25,6 @@ jobs:
run: npm run test:component
- name: Run API Tests
run: npm run test:api
- name: Run Hook Tests
run: npm run test:hook

29 changes: 29 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Prettier Code Check

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
prettier-check:
name: Prettier Code Check
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install dependencies
run: npm ci

- name: Run Prettier
run: npm run prettier:check || echo "::warning::Prettier found formatting issues. Please run 'npm run prettier:write' to fix them."
15 changes: 9 additions & 6 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"printWidth": 80,
"trailingComma": "all",
"tabWidth": 4,
"semi": false,
"singleQuote": true,
"arrowParens": "avoid"
"bracketSpacing": true,
"jsxBracketSameLine": false,
"printWidth": 150,
"trailingComma": "all",
"tabWidth": 4,
"useTabs": false,
"semi": true,
"singleQuote": true,
"arrowParens": "avoid"
}
3 changes: 3 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
module.exports = {
staticDirs: ['../public', '../test/static'],

stories: [
"../src/**/*.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
Expand All @@ -8,6 +10,7 @@ module.exports = {
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"storybook-dark-mode"
],

framework: {
Expand Down
3 changes: 3 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ export const parameters = {
date: /Date$/,
},
},
darkMode: {
stylePreview: true
}
}
import '../src/component-library/outputtailwind.css'
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ The `pages/api` directory is mapped to `/api/*`. Files in this directory are tre

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

### Configuration

To ensure that `git blame` accurately reflects contribution, please run

```bash
git config blame.ignoreRevsFile .git-blame-ignore-revs
```

## Architecture

![Clean Architecture Workflow](https://snipboard.io/2s0eDc.jpg)
17 changes: 17 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.js",
"css": "src/component-library/tailwind.css",
"baseColor": "slate",
"cssVariables": false,
"prefix": ""
},
"aliases": {
"components": "@/component-library",
"utils": "@/component-library/utils"
}
}
3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
module.exports = {
projects: [
projects: [
'<rootDir>/test/api/jest.api.config.js',
'<rootDir>/test/component/jest.component.config.js',
'<rootDir>/test/hook/jest.hook.config.js',
'<rootDir>/test/gateway/jest.gateway.config.js',
'<rootDir>/test/sdk/jest.sdk.config.js',
],
Expand Down
Loading

0 comments on commit ec312f2

Please sign in to comment.