fix: Bump to ESM and update all deps (#1851)

* chore: Bump various packages

* feat: Update everything to ESM

* fix: building and porting js to cjs
This commit is contained in:
Core 2024-05-18 16:29:24 +01:00 committed by GitHub
parent 89ee84b7e4
commit 05d32089dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 5919 additions and 5879 deletions

View file

@ -1,22 +1,30 @@
{
"compilerOptions": {
"experimentalDecorators": true,
"target": "es6",
"module": "commonjs",
"allowJs": true,
"noImplicitAny": true,
"strict": true,
"outDir": "build",
"inlineSources": true,
"sourceMap": true,
"outDir": "./build",
"baseUrl": ".",
"allowJs": true,
"esModuleInterop": true,
"module": "NodeNext",
"moduleResolution": "NodeNext",
// Needed to address https://github.com/quasarframework/app-extension-typescript/issues/36
"noEmit": false,
"resolveJsonModule": true,
"paths": {
"*": ["node_modules/*"]
},
"skipLibCheck": true,
// Avoid cross-os errors due to inconsistent file casing
"forceConsistentCasingInFileNames": true,
"sourceMap": true,
"strict": true,
"target": "esnext",
"isolatedModules": true,
"useDefineForClassFields": true,
// Fix Volar issue https://github.com/johnsoncodehk/volar/issues/1153
"jsx": "preserve",
"lib": ["esnext", "dom"],
"experimentalDecorators": true,
"baseUrl": "./",
"allowSyntheticDefaultImports": true,
"typeRoots": ["node_modules/musickit-typescript", "node_modules/@types"]
"noImplicitThis": true,
"skipLibCheck": true /* Skip type checking of declaration files. */,
"typeRoots": ["node_modules/musickit-typescript", "node_modules/@types"],
},
"include": ["src/main/**/*"]
"include": ["src/**/*.ts"],
}