Skip to content

Commit 59eabc1

Browse files
committed
init project
0 parents  commit 59eabc1

151 files changed

Lines changed: 22493 additions & 0 deletions

File tree

Some content is hidden

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

.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: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
3+
"changelog": ["@changesets/changelog-github", { "repo": "softnetics/ttc" }],
4+
"commit": false,
5+
"fixed": [
6+
["@api/cms"]
7+
],
8+
"linked": [],
9+
"access": "restricted",
10+
"baseBranch": "main",
11+
"updateInternalDependencies": "patch",
12+
"ignore": [],
13+
"privatePackages": {
14+
"tag": true,
15+
"version": true
16+
}
17+
}

.github/workflows/ci.yaml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: Continuous Integration
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
8+
jobs:
9+
ci:
10+
if: ${{ github.event_name == 'push' || (!contains(github.event.pull_request.title, 'DRAFT') && !contains(github.event.pull_request.title, 'Draft') && !contains(github.event.pull_request.title, 'draft') && !contains(github.event.pull_request.labels.*.name, 'draft')) }}
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 40
13+
14+
concurrency:
15+
group: ci-${{ github.ref }}
16+
cancel-in-progress: true
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
name: Checkout
21+
with:
22+
fetch-depth: 0
23+
24+
- name: Setup GitHub Actions caching for Turbo
25+
uses: dtinth/setup-github-actions-caching-for-turbo@v1
26+
27+
- name: Setup pnpm
28+
uses: pnpm/action-setup@v4
29+
with:
30+
version: 9.0.0
31+
32+
- name: Setup node with cache
33+
uses: actions/setup-node@v3
34+
with:
35+
node-version: 22.14.0
36+
cache: pnpm
37+
38+
- name: Install dependencies
39+
run: pnpm install --frozen-lockfile
40+
41+
- name: Get turbo filter
42+
id: get-turbo-filter
43+
run: |
44+
if [ "${{ github.event_name }}" == "pull_request" ]; then
45+
TURBO_FILTER="--filter=...[origin/${{ github.base_ref }}]"
46+
echo "This is a pull request event. Setting turbo filter to '$TURBO_FILTER'"
47+
elif [ "${{ github.event_name }}" == "push" ]; then
48+
TURBO_FILTER="--filter=...[${{ github.event.before }}]"
49+
echo "This is a push event. Setting turbo filter to '$TURBO_FILTER'"
50+
else
51+
echo "Unsupported event '${{ github.event_name }}' detected. Exiting."
52+
exit 1
53+
fi
54+
55+
echo "TURBO_FILTER=$TURBO_FILTER" >> $GITHUB_OUTPUT
56+
57+
- name: Codegen
58+
run: pnpm codegen
59+
60+
- name: Run all
61+
run: pnpm turbo typecheck format:check lint test ${{ steps.get-turbo-filter.outputs.TURBO_FILTER }}

.gitignore

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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+
8+
# Local env files
9+
.env
10+
.env.local
11+
.env.development.local
12+
.env.test.local
13+
.env.production.local
14+
15+
# Testing
16+
coverage
17+
18+
# Turbo
19+
.turbo
20+
21+
# Vercel
22+
.vercel
23+
24+
# Build Outputs
25+
.next/
26+
out/
27+
build
28+
dist
29+
30+
31+
# Debug
32+
npm-debug.log*
33+
yarn-debug.log*
34+
yarn-error.log*
35+
36+
# Misc
37+
.DS_Store
38+
*.pem
39+
40+
.data

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
legacy-peer-deps=true

.prettierignore

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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+
8+
# testing
9+
coverage
10+
11+
# next.js
12+
.next/
13+
out/
14+
build
15+
16+
# misc
17+
.DS_Store
18+
*.pem
19+
20+
# debug
21+
npm-debug.log*
22+
23+
# local env files
24+
.env
25+
.env.local
26+
.env.development.local
27+
.env.test.local
28+
.env.production.local
29+
30+
# turbo
31+
.turbo
32+
33+
# vercel
34+
.vercel
35+
36+
# Build artifacts
37+
storybook-static
38+
generated
39+
40+
# Python
41+
.venv
42+
43+
# CSV
44+
*.csv
45+
46+
# changesets
47+
/.changeset/
48+
49+
data
50+
public
51+
52+
.generated

.prettierrc.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from '@repo/project-config/prettier/base.mjs'

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
3+
}

.vscode/launch.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Next.js: debug full stack",
9+
"type": "node",
10+
"request": "launch",
11+
"program": "${workspaceFolder}/node_modules/next/dist/bin/next",
12+
"runtimeArgs": ["--inspect"],
13+
"skipFiles": ["<node_internals>/**"],
14+
"serverReadyAction": {
15+
"action": "debugWithChrome",
16+
"killOnServerStop": true,
17+
"pattern": "- Local:.+(https?://.+)",
18+
"uriFormat": "%s",
19+
"webRoot": "${workspaceFolder}"
20+
},
21+
"cwd": "${workspaceFolder}"
22+
}
23+
]
24+
}

.vscode/settings.json

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"eslint.workingDirectories": [
3+
{
4+
"mode": "auto"
5+
}
6+
],
7+
"editor.codeActionsOnSave": {
8+
"source.fixAll.eslint": "explicit",
9+
"source.organizeImports": "never"
10+
},
11+
"npm.packageManager": "pnpm",
12+
"editor.defaultFormatter": "esbenp.prettier-vscode",
13+
"[typescript]": {
14+
"editor.defaultFormatter": "esbenp.prettier-vscode",
15+
"editor.formatOnSave": true,
16+
"editor.codeActionsOnSave": {
17+
"source.fixAll.eslint": "explicit"
18+
}
19+
},
20+
"[typescriptreact]": {
21+
"editor.defaultFormatter": "esbenp.prettier-vscode",
22+
"editor.formatOnSave": true,
23+
"editor.codeActionsOnSave": {
24+
"source.fixAll.eslint": "explicit"
25+
}
26+
},
27+
"[javascript]": {
28+
"editor.defaultFormatter": "esbenp.prettier-vscode",
29+
"editor.formatOnSave": true,
30+
"editor.codeActionsOnSave": {
31+
"source.fixAll.eslint": "explicit"
32+
}
33+
},
34+
"[json]": {
35+
"editor.defaultFormatter": "esbenp.prettier-vscode",
36+
"editor.formatOnSave": true
37+
},
38+
"[jsonc]": {
39+
"editor.defaultFormatter": "esbenp.prettier-vscode",
40+
"editor.formatOnSave": true
41+
},
42+
"editor.formatOnSaveMode": "file",
43+
"typescript.tsdk": "node_modules/typescript/lib",
44+
"tailwindCSS.experimental.configFile": {
45+
"packages/drizzlify-next/src/styles/tailwind.css": "packages/drizzlify-next/**",
46+
"apps-api/erp/src/app/global.css": "apps-api/erp/**",
47+
"apps-api/erp/src/app/(admin)/admin/tailwind.css": "apps-api/erp/(admin)/**"
48+
}
49+
}

0 commit comments

Comments
 (0)