Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/atomic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
"@coveo/atomic-legacy": "workspace:*"
},
"devDependencies": {
"@coveo/atomic-a11y": "workspace:*",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Regenerate lockfile after adding atomic-a11y dependency

Adding @coveo/atomic-a11y in packages/atomic/package.json without a matching pnpm-lock.yaml update will break installs in CI: the setup action runs pnpm install --frozen-lockfile (.github/actions/setup/action.yml:41), and the packages/atomic importer in the current lockfile still has no @coveo/atomic-a11y entry, so pnpm will treat the lockfile as stale and fail before tests execute.

Useful? React with 👍 / 👎.

"@custom-elements-manifest/analyzer": "0.10.4",
"@mswjs/source": "0.5.0",
"@playwright/test": "catalog:",
Expand Down
8 changes: 8 additions & 0 deletions packages/atomic/vitest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {readFileSync} from 'node:fs';
import path, {dirname, resolve} from 'node:path';
import {VitestA11yReporter} from '@coveo/atomic-a11y';
import replacePlugin from '@rollup/plugin-replace';
import {storybookTest} from '@storybook/addon-vitest/vitest-plugin';
import tailwindcss from '@tailwindcss/vite';
Expand Down Expand Up @@ -59,6 +60,13 @@ const storybook = defineConfig({
],
test: {
name: 'storybook',
reporters: [
'default',
new VitestA11yReporter({
outputDir: path.resolve(import.meta.dirname, '../atomic-a11y/reports'),
packageJsonPath: path.resolve(import.meta.dirname, 'package.json'),
}),
],
fileParallelism: false,
browser: {
fileParallelism: false,
Expand Down
Loading