NullVoxPopuli / vitest-blueprint

ember-cli blueprint for boot-strapping vitest projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vitest-blueprint

ember-cli blueprint for boot-strapping vitest projects

Usage

ember new tests -b vitest-blueprint

This generates a tsconfig.json + vitest.config.ts project setup for:

  • typescript (and js) -- supported extensions: js,mjs,cjs,ts,mts,cts
  • Node ESM

Matches *test.ext files.

cd tests
npm test # but this error because there are no tests by default

If already in a monorepo

ember new tests -b vitest-blueprint --skip-npm --skip-git

Using yarn or pnpm

ember new tests -b vitest-blueprint --skip-npm --skip-git
cd tests
pnpm install # or yarn install

About

ember-cli blueprint for boot-strapping vitest projects

License:MIT License


Languages

Language:JavaScript 67.7%Language:TypeScript 32.3%