Skip to content

Commit

Permalink
Fix GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
khabzox committed Aug 28, 2024
1 parent 90e41d4 commit 46a1809
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,5 @@ jobs:
- name: Run lint for nextjs-app
run: cd apps/nextjs-app && npm run lint

- name: Run lint for eslint-config
run: cd packages/eslint-config && npm run lint

- name: Run lint for ui
run: cd packages/ui && npm run lint

- name: Build
run: npm run build
20 changes: 20 additions & 0 deletions packages/typescript-config/base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Default",
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"esModuleInterop": true,
"incremental": false,
"isolatedModules": true,
"lib": ["es2022", "DOM", "DOM.Iterable"],
"module": "NodeNext",
"moduleDetection": "force",
"moduleResolution": "NodeNext",
"noUncheckedIndexedAccess": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
"target": "ES2022"
}
}
13 changes: 13 additions & 0 deletions packages/typescript-config/nextjs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Next.js",
"extends": "./base.json",
"compilerOptions": {
"plugins": [{ "name": "next" }],
"module": "ESNext",
"moduleResolution": "Bundler",
"allowJs": true,
"jsx": "preserve",
"noEmit": true
}
}
9 changes: 9 additions & 0 deletions packages/typescript-config/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "@repo/typescript-config",
"version": "0.0.0",
"private": true,
"license": "MIT",
"publishConfig": {
"access": "public"
}
}
8 changes: 8 additions & 0 deletions packages/typescript-config/react-library.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "React Library",
"extends": "./base.json",
"compilerOptions": {
"jsx": "react-jsx"
}
}

0 comments on commit 46a1809

Please sign in to comment.