Skip to content

Commit 6b5d0b1

Browse files
committed
feat: init from template
1 parent f8bf007 commit 6b5d0b1

File tree

106 files changed

+2973
-1
lines changed

Some content is hidden

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

106 files changed

+2973
-1
lines changed

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config@2.0.0/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "public",
8+
"updateInternalDependencies": "patch",
9+
"ignore": ["@orderbook-visualizer/docs"]
10+
}

.github/dependabot.yml

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
version: 2
2+
updates:
3+
# Root package.json
4+
- package-ecosystem: "npm"
5+
directory: "/"
6+
schedule:
7+
interval: "daily"
8+
allow:
9+
- dependency-type: "all"
10+
open-pull-requests-limit: 10
11+
versioning-strategy: "auto"
12+
commit-message:
13+
prefix: "chore"
14+
include: "scope"
15+
labels:
16+
- "dependencies"
17+
ignore:
18+
- dependency-name: "*"
19+
update-types: ["version-update:semver-major", "version-update:semver-minor"]
20+
21+
# /apps/web
22+
- package-ecosystem: "npm"
23+
directory: "/apps/web"
24+
schedule:
25+
interval: "daily"
26+
allow:
27+
- dependency-type: "all"
28+
open-pull-requests-limit: 10
29+
versioning-strategy: "auto"
30+
commit-message:
31+
prefix: "chore"
32+
include: "scope"
33+
labels:
34+
- "dependencies"
35+
- "web"
36+
ignore:
37+
- dependency-name: "*"
38+
update-types: ["version-update:semver-major", "version-update:semver-minor"]
39+
40+
# /apps/docs
41+
- package-ecosystem: "npm"
42+
directory: "/apps/docs"
43+
schedule:
44+
interval: "daily"
45+
allow:
46+
- dependency-type: "all"
47+
open-pull-requests-limit: 10
48+
versioning-strategy: "auto"
49+
commit-message:
50+
prefix: "chore"
51+
include: "scope"
52+
labels:
53+
- "dependencies"
54+
- "docs"
55+
ignore:
56+
- dependency-name: "*"
57+
update-types: ["version-update:semver-major", "version-update:semver-minor"]
58+
59+
# /packages/ui
60+
- package-ecosystem: "npm"
61+
directory: "/packages/ui"
62+
schedule:
63+
interval: "daily"
64+
allow:
65+
- dependency-type: "all"
66+
open-pull-requests-limit: 10
67+
versioning-strategy: "auto"
68+
commit-message:
69+
prefix: "chore"
70+
include: "scope"
71+
labels:
72+
- "dependencies"
73+
- "ui"
74+
ignore:
75+
- dependency-name: "*"
76+
update-types: ["version-update:semver-major", "version-update:semver-minor"]
77+
78+
# /packages/utils
79+
- package-ecosystem: "npm"
80+
directory: "/packages/utils"
81+
schedule:
82+
interval: "daily"
83+
allow:
84+
- dependency-type: "all"
85+
open-pull-requests-limit: 10
86+
versioning-strategy: "auto"
87+
commit-message:
88+
prefix: "chore"
89+
include: "scope"
90+
labels:
91+
- "dependencies"
92+
- "utils"
93+
ignore:
94+
- dependency-name: "*"
95+
update-types: ["version-update:semver-major", "version-update:semver-minor"]
96+
97+
# GitHub Actions
98+
- package-ecosystem: "github-actions"
99+
directory: "/"
100+
schedule:
101+
interval: "weekly"
102+
commit-message:
103+
prefix: "chore"
104+
include: "scope"
105+
labels:
106+
- "dependencies"
107+
- "github-actions"
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Dependabot Auto-merge patch and minor updates
2+
on: pull_request
3+
4+
permissions:
5+
contents: write
6+
pull-requests: write
7+
8+
jobs:
9+
dependabot:
10+
runs-on: ubuntu-latest
11+
if: ${{ github.actor == 'dependabot[bot]' }}
12+
steps:
13+
- name: Dependabot metadata
14+
id: metadata
15+
uses: dependabot/fetch-metadata@v2
16+
with:
17+
github-token: '${{ secrets.GITHUB_TOKEN }}'
18+
19+
- name: Approve a PR
20+
if: ${{steps.metadata.outputs.update-type != 'version-update:semver-major'}}
21+
run: gh pr review --approve "$PR_URL"
22+
env:
23+
PR_URL: ${{github.event.pull_request.html_url}}
24+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
25+
26+
- name: Enable auto-merge for Dependabot PRs
27+
if: ${{steps.metadata.outputs.update-type != 'version-update:semver-major'}}
28+
run: gh pr merge --auto --squash "$PR_URL"
29+
env:
30+
PR_URL: ${{github.event.pull_request.html_url}}
31+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
- uses: oven-sh/setup-bun@v2
9+
with:
10+
bun-version: latest
11+
- name: Install dependencies
12+
run: bun install
13+
- name: Build
14+
run: bun run build
15+
- name: Run unit tests
16+
run: bun run test
17+
- name: Install Playwright browsers
18+
run: bunx playwright install --with-deps
19+
- name: Run E2E tests
20+
run: bunx playwright test --config=apps/web/playwright.config.ts
21+
- name: Lint
22+
run: bun run lint

.github/workflows/contributors.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
jobs:
7+
contrib-readme-job:
8+
runs-on: ubuntu-latest
9+
name: A job to automate contrib in readme
10+
permissions:
11+
contents: write
12+
pull-requests: write
13+
steps:
14+
- name: Contribute List
15+
uses: akhilmhdh/contributors-readme-action@v2.3.11
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Build and Publish Storybook to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
jobs:
14+
deploy:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Setup Bun
20+
uses: oven-sh/setup-bun@v2
21+
with:
22+
bun-version: latest
23+
24+
- name: Install dependencies
25+
run: bun install
26+
27+
- name: Build Storybook
28+
run: bun run build
29+
working-directory: apps/storybook
30+
31+
- name: Setup Pages
32+
uses: actions/configure-pages@v5
33+
34+
- name: Upload artifact
35+
uses: actions/upload-pages-artifact@v3
36+
with:
37+
path: 'apps/storybook/storybook-static'
38+
39+
- name: Deploy to GitHub Pages
40+
id: deployment
41+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
node_modules
5+
.pnp
6+
.pnp.js
7+
.yarn/install-state.gz
8+
9+
# testing
10+
**/tests/unit/coverage
11+
**/tests/e2e/coverage
12+
.last-run.json
13+
14+
# storybook
15+
storybook-static/
16+
17+
# next.js
18+
.next/
19+
out/
20+
next-env.d.ts
21+
22+
# production
23+
build
24+
dist
25+
dist-ssr
26+
27+
# misc
28+
.DS_Store
29+
*.pem
30+
31+
# debug
32+
npm-debug.log*
33+
yarn-debug.log*
34+
yarn-error.log*
35+
.pnpm-debug.log*
36+
37+
# local env files
38+
# do not commit any .env files to git, except for the .env.example file. https://create.t3.gg/en/usage/env-variables#using-environment-variables
39+
.env
40+
.env*.local
41+
42+
# vercel
43+
.vercel
44+
45+
# typescript
46+
*.tsbuildinfo
47+
48+
# Sentry Config File
49+
.sentryclirc
50+
51+
# Logs
52+
*.log
53+
54+
.turbo
55+
.cache
56+
todos.md
57+
task.md
58+
temp
59+
60+
# Covers JetBrains IDEs: IntelliJ, GoLand, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
61+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
62+
63+
# User-specific stuff
64+
.idea/**/workspace.xml
65+
.idea/**/tasks.xml
66+
.idea/**/usage.statistics.xml
67+
.idea/**/dictionaries
68+
.idea/**/shelf
69+
70+
# AWS User-specific
71+
.idea/**/aws.xml
72+
73+
# Generated files
74+
.idea/**/contentModel.xml
75+
76+
# Sensitive or high-churn files
77+
.idea/**/dataSources/
78+
.idea/**/dataSources.ids
79+
.idea/**/dataSources.local.xml
80+
.idea/**/sqlDataSources.xml
81+
.idea/**/dynamic.xml
82+
.idea/**/uiDesigner.xml
83+
.idea/**/dbnavigator.xml
84+
85+
# Gradle
86+
.idea/**/gradle.xml
87+
.idea/**/libraries
88+
89+
# CMake
90+
cmake-build-*/
91+
92+
# Mongo Explorer plugin
93+
.idea/**/mongoSettings.xml
94+
95+
# File-based project format
96+
*.iws
97+
98+
# mpeltonen/sbt-idea plugin
99+
.idea_modules/
100+
101+
# JIRA plugin
102+
atlassian-ide-plugin.xml
103+
104+
# Cursive Clojure plugin
105+
.idea/replstate.xml
106+
107+
# SonarLint plugin
108+
.idea/sonarlint/
109+
.idea/sonarlint.xml # see https://community.sonarsource.com/t/is-the-file-idea-idea-idea-sonarlint-xml-intended-to-be-under-source-control/121119
110+
111+
# Crashlytics plugin (for Android Studio and IntelliJ)
112+
com_crashlytics_export_strings.xml
113+
crashlytics.properties
114+
crashlytics-build.properties
115+
fabric.properties
116+
117+
# Editor-based HTTP Client
118+
.idea/httpRequests
119+
http-client.private.env.json
120+
121+
# Android studio 3.1+ serialized cache file
122+
.idea/caches/build_file_checksums.ser
123+
124+
# Apifox Helper cache
125+
.idea/.cache/.Apifox_Helper
126+
.idea/ApifoxUploaderProjectSetting.xml
127+
128+
# Github Copilot persisted session migrations, see: https://github.com/microsoft/copilot-intellij-feedback/issues/712#issuecomment-3322062215
129+
.idea/**/copilot.data.migration.*.xml

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/material_theme_project_new.xml

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)