Skip to content

Commit 1ee7c4d

Browse files
committed
feat: initial commit of Sanity and Next
0 parents  commit 1ee7c4d

File tree

225 files changed

+17732
-0
lines changed

Some content is hidden

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

225 files changed

+17732
-0
lines changed

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_size = 2
6+
indent_style = space
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false
14+

.github/apps.sanity.env

Whitespace-only changes.

.github/apps.web.env

Whitespace-only changes.

.github/workflows/ci.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- '**'
10+
11+
jobs:
12+
ci:
13+
runs-on: ${{ matrix.os }}
14+
if: "!contains(github.event.head_commit.message, '[ci skip]')"
15+
16+
strategy:
17+
matrix:
18+
os: [ubuntu-latest]
19+
node: [18]
20+
21+
steps:
22+
- name: Checkout 🛎
23+
uses: actions/checkout@master
24+
25+
- name: Setup pnpm 🦾
26+
uses: pnpm/action-setup@v2
27+
with:
28+
version: 8
29+
30+
- name: Setup node env 🏗
31+
uses: actions/setup-node@v3
32+
with:
33+
node-version: ${{ matrix.node }}
34+
check-latest: true
35+
cache: 'pnpm'
36+
37+
- name: Setup Next application 🥾
38+
run: |
39+
cp .github/apps.web.env apps/web/.env
40+
cp .github/apps.sanity.env apps/sanity/.env
41+
42+
- name: Install root + src dependencies 👨🏻‍💻
43+
run: pnpm install
44+
45+
- name: Run linters 👀
46+
run: |
47+
pnpm --dir apps/web lint
48+
pnpm --dir apps/sanity lint
49+
50+
- name: Run type checking 📚
51+
run: |
52+
pnpm --dir apps/web typecheck
53+
pnpm --dir apps/sanity typecheck
54+
55+
#- name: Run tests 🧪
56+
# run: pnpm test
57+
58+
# Builds are already handled by the Vercel integration, so no need to run this here
59+
#- name: Build app 🖥
60+
# run: pnpm --dir apps/web build
61+
62+
#- name: Build app 🖥
63+
# run: pnpm --dir apps/sanity build

.gitignore

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Nuxt dev/build outputs
2+
.output
3+
.data
4+
.next
5+
.cache
6+
dist
7+
8+
# Node dependencies
9+
node_modules
10+
11+
# Logs
12+
logs
13+
*.log
14+
15+
# Misc
16+
.DS_Store
17+
.fleet
18+
.idea
19+
20+
# Local env files
21+
.env
22+
.env.*
23+
!.env.example
24+
25+
.eslintcache
26+
27+
# Sanity
28+
apps/sanity/exports

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm commitlint --edit ${1}

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm lint-staged

.syncpackrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"versionGroups": [
3+
{
4+
"label": "Use workspace protocol when using local packages",
5+
"dependencies": ["$LOCAL"],
6+
"dependencyTypes": ["local"],
7+
"isIgnored": "true",
8+
}
9+
]
10+
}

.vscode/postcss.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"version": 1.1,
3+
"atDirectives": [
4+
{
5+
"name": "@mixin",
6+
"description": "Use the `@mixin` directive to insert mixins into your CSS.",
7+
"references": [
8+
{
9+
"name": "PostCSS Mixins",
10+
"url": "https://github.com/postcss/postcss-mixins"
11+
}
12+
]
13+
}
14+
]
15+
}

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"css.customData": [".vscode/tailwind.json", ".vscode/postcss.json"]
3+
}

0 commit comments

Comments
 (0)