Skip to content

feat: Convert tsc configuration to vite buil #56

@fantonangeli

Description

@fantonangeli

Description

Summary

We still have some ŧsc configuration in our package.json files which we should convert to vite build command using: https://vite.dev/guide/#command-line-interface

Current configuration:

"build:prod": "pnpm lint && pnpm clean && tsc -p tsconfig.json && pnpm test",

Goals

  • Build our source using vite
  • The CI should fail if the build is not successful

Non-Goals

  • Replace entirely tsc build in the repository
  • Disable or break linting configuration
  • Disable or break tsc type checking

Motivation

Get the bundling advantages from vite, and improved performance

Proposed Implementation

Take inspiration from "vite-react-typescript-starter": https://github.com/vitejs/vite/blob/main/packages/create-vite/template-react-ts/package.json

Definition of Done

  • Implementation: Fully implemented according to the Serverless Workflow spec.
  • Unit Tests: Comprehensive unit tests are included and passing.
  • Integration Tests: Verified within the monorepo and target environments (Web/VS Code).
  • Documentation: Updated README.md, ADRs, or official docs.
  • Performance: No significant regression in editor responsiveness.
  • Accessibility: UI changes comply with accessibility standards.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions