init
Some checks failed
Code Quality / lint-and-build (push) Failing after 29s
Release Packages / release (push) Failing after 41s

This commit is contained in:
2026-01-31 19:26:46 +01:00
commit 9a0900e3ff
42 changed files with 8346 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
# @mintel/tsconfig
Shared TypeScript configurations for Mintel projects.
## Usage
### Base Configuration
In your `tsconfig.json`:
```json
{
"extends": "@mintel/tsconfig/base.json"
}
```
### Next.js Configuration
In your `tsconfig.json`:
```json
{
"extends": "@mintel/tsconfig/nextjs.json"
}
```

View File

@@ -0,0 +1,19 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Base",
"compilerOptions": {
"target": "ES2020",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": false
}
}

View File

@@ -0,0 +1,12 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Next.js",
"extends": "./base.json",
"compilerOptions": {
"plugins": [
{
"name": "next"
}
]
}
}

View File

@@ -0,0 +1,12 @@
{
"name": "@mintel/tsconfig",
"version": "1.0.0",
"publishConfig": {
"access": "public",
"registry": "https://npm.infra.mintel.me"
},
"files": [
"base.json",
"nextjs.json"
]
}