Skip to content
Snippets Groups Projects
  • DJ Mountney's avatar
    d5359a96
    Proposal for switching desktop-client to vite (#2084) · d5359a96
    DJ Mountney authored
    * Proof of concept for switching desktop-client to vite
    
    * Fix other packages ts tests issues
    
    * Update jsx tests to use vitest instead of jest
    
    * Inject our global shims properly
    
    * Add comment regarding new plugin
    
    * Cleanup unnessary change after rebase
    
    * Fix inter fonts pathing
    
    * Remove manual chunks sizes for now
    
    Just set the limit higher
    
    * Bring back size compare
    
    * Suppress victory warnings
    
    * Remove craco config now that it's not used
    
    * Add vite basic ssl plugin
    
    - This autogenerates self-signed certs in dev mode when HTTPS env is set
    - Made to match the CRA behaviour
    
    * Add release note
    
    * Remove warning suppression for victory
    
    - Updated to a rollup version that includes the fix
    Proposal for switching desktop-client to vite (#2084)
    DJ Mountney authored
    * Proof of concept for switching desktop-client to vite
    
    * Fix other packages ts tests issues
    
    * Update jsx tests to use vitest instead of jest
    
    * Inject our global shims properly
    
    * Add comment regarding new plugin
    
    * Cleanup unnessary change after rebase
    
    * Fix inter fonts pathing
    
    * Remove manual chunks sizes for now
    
    Just set the limit higher
    
    * Bring back size compare
    
    * Suppress victory warnings
    
    * Remove craco config now that it's not used
    
    * Add vite basic ssl plugin
    
    - This autogenerates self-signed certs in dev mode when HTTPS env is set
    - Made to match the CRA behaviour
    
    * Add release note
    
    * Remove warning suppression for victory
    
    - Updated to a rollup version that includes the fix
tsconfig.json 1.06 KiB
{
  "references": [
    // TODO: enable once every project is ts
    // { "path": "./packages/api" },
    // { "path": "./packages/desktop-client" }
  ],
  "compilerOptions": {
    // "composite": true,
    "target": "ES2022",
    "lib": ["ES2022", "DOM", "DOM.Iterable"],
    "allowSyntheticDefaultImports": true,
    "esModuleInterop": true,
    "experimentalDecorators": true,
    "resolveJsonModule": true,
    "downlevelIteration": true,
    // TODO: enable once every file is ts
    // "strict": true,
    "strictFunctionTypes": true,
    "noFallthroughCasesInSwitch": true,
    "skipLibCheck": true,
    "jsx": "preserve",
    "types": ["vite/client", "jest"],
    // Check JS files too
    "allowJs": true,
    "checkJs": false,
    // Used for temp builds
    "outDir": "build",
    "moduleResolution": "Node",
    "module": "ES2022",
    // Until/if we build using tsc
    "noEmit": true
  },
  "include": ["packages/**/*"],
  "exclude": ["**/node_modules/*", "**/build/*", "**/lib-dist/*"],
  "ts-node": {
    "compilerOptions": {
      "module": "commonjs"
    }
  }
}