mirror of
https://github.com/nocobase/nocobase.git
synced 2026-10-24 01:43:57 +08:00
* chore: add file to example app * fix(file-example): record the plugin's lucide-react dependency in the lockfile The upload, list and preview components import lucide-react, which the plugin declares as a peer. The importer entry was missing from pnpm-lock.yaml, so `pnpm install --frozen-lockfile` failed with ERR_PNPM_OUTDATED_LOCKFILE and took every job in the CI run with it.
8 lines
218 B
TypeScript
8 lines
218 B
TypeScript
import { createReactVitestConfig } from '@nocobase/dev-config/vitest/react';
|
|
export default createReactVitestConfig({
|
|
test: {
|
|
include: ['tests/**/*.test.{ts,tsx}'],
|
|
setupFiles: ['./tests/setup.ts'],
|
|
},
|
|
});
|