1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-29 15:11:58 +00:00

chore: simplify API build (#6841)

This commit is contained in:
Ben McCann 2024-02-01 14:55:21 -08:00 committed by GitHub
parent 606147be43
commit a8dcfe4bd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11 additions and 25 deletions

View file

@ -3,16 +3,16 @@
"version": "1.92.1", "version": "1.92.1",
"description": "", "description": "",
"type": "module", "type": "module",
"main": "./build/esm/index.js", "main": "./build/index.js",
"types": "./build/types/index.d.ts", "types": "./build/index.d.ts",
"exports": { "exports": {
".": { ".": {
"types": "./build/types/index.d.ts", "types": "./build/index.d.ts",
"default": "./build/esm/index.js" "default": "./build/index.js"
} }
}, },
"scripts": { "scripts": {
"build": "tsc -b ./tsconfig.esm.json ./tsconfig.types.json" "build": "tsc -b ./tsconfig.json"
}, },
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {

View file

@ -1,9 +0,0 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "build/esm",
"module": "esnext",
"moduleResolution": "Bundler",
"lib": ["esnext", "dom"]
}
}

View file

@ -1,7 +1,11 @@
{ {
"compilerOptions": { "compilerOptions": {
"esModuleInterop": true,
"strict": true, "strict": true,
"skipLibCheck": true "skipLibCheck": true,
"declaration": true,
"outDir": "build",
"module": "esnext",
"moduleResolution": "Bundler",
"lib": ["esnext"]
} }
} }

View file

@ -1,9 +0,0 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "build/types",
"declaration": true,
"emitDeclarationOnly": true,
"lib": ["es2020"]
}
}