{
	"$schema": "https://json.schemastore.org/tsconfig",
	"display": "@ingram-tech/typescript-config (base)",
	"compilerOptions": {
		"target": "ESNext",
		"lib": ["esnext"],
		// NodeNext so published packages ("type": "module") emit real Node ESM and
		// tsc ENFORCES explicit .js extensions on relative imports (TS2835).
		// "bundler" silently tolerates extensionless imports and emits them
		// verbatim — invalid under Node ESM / Turbopack, a recurring break source.
		// App consumers override back to "bundler" in nextjs.json (Next resolves
		// modules itself and must not require .js extensions in app source).
		"module": "nodenext",
		"moduleResolution": "nodenext",
		"allowJs": true,
		"skipLibCheck": true,
		"strict": true,
		"noUncheckedIndexedAccess": true,
		"forceConsistentCasingInFileNames": true,
		"esModuleInterop": true,
		"resolveJsonModule": true,
		"isolatedModules": true,
		"incremental": true,
		"declaration": true,
		"declarationMap": true,
		"sourceMap": true
	}
}
