Skip to content
Merged

Updates #1210

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
18 changes: 8 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@ jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7.0.0

- uses: pnpm/action-setup@v5
- uses: pnpm/action-setup@v6.0.9
with:
version: 10
run_install: false

- uses: actions/setup-node@v6
- uses: actions/setup-node@v6.4.0
with:
node-version: 24
cache: pnpm
Expand All @@ -42,14 +41,14 @@ jobs:
- run: pnpm e2e

- name: Save Playwright Report
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7.0.1
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30

- uses: SonarSource/sonarqube-scan-action@v7.0.0
- uses: SonarSource/sonarqube-scan-action@v8.2.0
if: "!startsWith(github.ref, 'refs/tags/')"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -63,14 +62,13 @@ jobs:
id-token: write
contents: read
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7.0.0

- uses: pnpm/action-setup@v5
- uses: pnpm/action-setup@v6.0.9
with:
version: 10
run_install: false

- uses: actions/setup-node@v6
- uses: actions/setup-node@v6.4.0
with:
node-version: 24
cache: pnpm
Expand Down
4 changes: 2 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Split into 8 domain files under `src/types/`: `common`, `components`, `events`,

## Path Alias

`~/*` maps to `src/*` (tsconfig.json; vite/vitest via vite-tsconfig-paths; playwright uses website webServer).
`~/*` maps to `src/*` (tsconfig.json; vitest via native `resolve.tsconfigPaths`; playwright uses website webServer).

## Test Structure

Expand Down Expand Up @@ -116,7 +116,7 @@ Next.js 16 documentation and demo site in `website/`. Imports library via local

**Stack**: HeroUI v2, Tailwind CSS v4, MDX (rehype-pretty-code + Shiki), next-themes, DocSearch.

**Note**: Uses `--webpack` flag for dev/build due to Turbopack symlink issues with local package imports.
**Bundler**: `dev` runs on Turbopack; `build` stays on `--webpack` (`dev:webpack` is the fallback). `next build --turbopack` fails: `@next/mdx`'s Turbopack path never applies the `isServer` vendored-RSC-React alias (its `webpack()` hook does), so server-evaluated modules get the `react-server` React and any interactive HeroUI component's `@react-aria/ssr` `createContext` throws app-wide. The webpack alias in `next.config.ts` masks this; Turbopack has no server-only alias equivalent (a global `resolveAlias` pulls server React into the client bundle). Upstream: nextui-org/nextui#3967, shuding/nextra#4703.

**Documentation** (`website/src/app/docs/`): MDX pages covering getting-started, new-in-v3, how-it-works, hook, props (options, styles, floating-options), step, events, custom-components, exports, accessibility, migration.

Expand Down
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,40 +51,39 @@
"use-sync-external-store": "^1.6.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@gilbarbara/eslint-config": "^1.2.1",
"@arethetypeswrong/cli": "^0.18.4",
"@gilbarbara/eslint-config": "^1.2.3",
"@gilbarbara/prettier-config": "^1.0.0",
"@gilbarbara/tsconfig": "^1.0.0",
"@playwright/test": "^1.59.1",
"@playwright/test": "^1.61.1",
"@size-limit/preset-big-lib": "^12.1.0",
"@swc/core": "^1.15.32",
"@swc/core": "^1.15.43",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@total-typescript/shoehorn": "^0.1.2",
"@types/node": "^24.12.0",
"@types/react": "^19.2.14",
"@types/node": "^24.13.2",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/scroll": "^3.0.3",
"@types/scrollparent": "^2.0.3",
"@types/use-sync-external-store": "^1.5.0",
"@vitejs/plugin-react-swc": "^4.3.0",
"@vitest/coverage-v8": "^4.1.5",
"@vitejs/plugin-react": "^6.0.3",
"@vitest/coverage-v8": "^4.1.10",
"cross-env": "^10.1.0",
"del-cli": "^7.0.0",
"eslint": "^9.39.2",
"eslint": "^9.39.4",
"husky": "^9.1.7",
"jest-extended": "^7.0.0",
"jsdom": "^29.1.0",
"prettier": "^3.8.3",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"jsdom": "^29.1.1",
"prettier": "^3.9.4",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"repo-tools": "^0.3.1",
"size-limit": "^12.1.0",
"tsdown": "^0.21.10",
"typescript": "^5.9.3",
"vite-tsconfig-paths": "^6.1.1",
"vitest": "^4.1.5"
"tsdown": "^0.22.3",
"typescript": "^6.0.3",
"vitest": "^4.1.10"
},
"scripts": {
"build": "tsdown",
Expand Down Expand Up @@ -149,5 +148,6 @@
"limit": "30 kB",
"import": "*"
}
]
],
"packageManager": "pnpm@11.10.0+sha512.0b7f8b98060031904c017e3a41eb187a16d40eeb829b95c4f8cb03681761fc4ab53dd219115b9b447f4dce1a05a214764461e7d3703392a9f32f9511ce8c86c8"
}
3 changes: 2 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const config = defineConfig({
use: { ...devices['Desktop Safari'] },
},
],
reporter: 'html',
reporter: process.env.CI ? [['list'], ['html', { open: 'never' }]] : 'html',
retries: process.env.CI ? 2 : 0,
snapshotDir: './e2e/__snapshots__',
snapshotPathTemplate: '{testDir}/__snapshots__/{testName}/{arg}-{projectName}{ext}',
Expand All @@ -38,6 +38,7 @@ const config = defineConfig({
command: 'pnpm website:serve',
port: 3000,
reuseExistingServer: !process.env.CI,
timeout: 120_000,
},
workers: process.env.CI ? 1 : undefined,
});
Expand Down
Loading
Loading