Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
d2cdef3
chore(deps): update devdependency @vitest/coverage-v8 to v4.1.1 (#2091)
renovate[bot] Mar 23, 2026
cc20882
chore: add new sponsors (#2238)
alexdln Mar 23, 2026
d189f59
fix: remove duplicate scroll-to-top button on docs page (#2229)
RYGRIT Mar 23, 2026
8e249f3
chore(deps): update devdependency chromatic to v16 (#2241)
renovate[bot] Mar 23, 2026
223ffa4
chore(deps): update devdependency typescript to v6 (#2242)
renovate[bot] Mar 23, 2026
e3b575a
chore(deps): update chromaui/action action to v16 (#2243)
renovate[bot] Mar 23, 2026
50491e6
chore(i18n): update French translations with new phrases (#2232)
Limerio Mar 23, 2026
3e3147d
fix(i18n): allow translations for the recharging/vacation page (#2248)
trueberryless Mar 23, 2026
569dff0
docs: optimize playwright configuration and contribution doc (#2237)
ShroXd Mar 23, 2026
f0cf829
chore(i18n): update German translation (#2246)
trueberryless Mar 23, 2026
85b5c80
fix(ui): strip .git before path/query/fragment in normalizeGitUrl (#2…
tinsever Mar 23, 2026
5658f1a
chore(deps): update devdependency schema-dts to v2 (#2250)
renovate[bot] Mar 23, 2026
7fe20b9
refactor: remove npms (#2155)
trueberryless Mar 23, 2026
14538da
fix(ui): improve search page UX (#2115)
ShroXd Mar 23, 2026
1fd2d53
fix(ui): reduce badge width overestimation in fallback text measureme…
MathurAditya724 Mar 23, 2026
bf754db
chore: bump vue-data-ui from 3.16.0 to 3.16.1 (#2259)
graphieros Mar 24, 2026
545fda8
feat: welcome first contributors when PR opens (#2236)
trueberryless Mar 24, 2026
13cf135
feat(i18n): add Austrian translation (#2260)
trueberryless Mar 24, 2026
327f156
perf: avoid creating Date objects when parsing timestamps (#2256)
trivikr Mar 24, 2026
84a7fc9
test: add tests for useRepositoryUrl composable (#2249)
howwohmm Mar 24, 2026
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
2 changes: 1 addition & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: pnpm install

- name: 🧪 Run Chromatic Visual and Accessibility Tests
uses: chromaui/action@0794e6939fe40ce46a88963f818092afc427da5b # v15.3.0
uses: chromaui/action@f191a0224b10e1a38b2091cefb7b7a2337009116 # v16.0.0
env:
CHROMATIC_BRANCH: ${{ github.event.pull_request.head.ref || github.ref_name }}
CHROMATIC_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: welcome
name: Claim Contributor Message

on:
pull_request_target:
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/welcome-open.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Welcome Message

on:
pull_request_target:
branches: [main]
types: [opened]

permissions:
pull-requests: write

jobs:
greeting:
name: Greet First-Time Contributors
if: github.repository == 'npmx-dev/npmx.dev'
runs-on: ubuntu-latest
steps:
- uses: zephyrproject-rtos/action-first-interaction@58853996b1ac504b8e0f6964301f369d2bb22e5c
with:
pr-opened-message: |
Hello! Thank you for opening your **first PR** to npmx, @${{ github.event.pull_request.user.login }}! 🚀

Here’s what will happen next:

1. Our GitHub bots will run to check your changes.
If they spot any issues you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

2. In a few minutes, you’ll be able to see a preview of your changes on Vercel

3. One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.
17 changes: 17 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,23 @@ pnpm test:browser:ui # Run with Playwright UI

Make sure to read about [Playwright best practices](https://playwright.dev/docs/best-practices) and don't rely on classes/IDs but try to follow user-replicable behaviour (like selecting an element based on text content instead).

#### Updating snapshots

Some tests use image snapshots that must match the CI environment (Linux). If you need to update them, and aren't running Linux, you can use Docker to run in the same environment:

```bash
docker run --rm \
-e CI=true \
-e NODE_OPTIONS="--max-old-space-size=4096" \
-v $(pwd):/work \
-w /work \
mcr.microsoft.com/playwright:v1.58.2-noble \
sh -c "npm install -g pnpm && pnpm install && pnpm vp run build:test && pnpm vp run test:browser:prebuilt --update-snapshots"
```

> [!NOTE]
> If the build runs out of memory, increase `--max-old-space-size` to `8192`.

### Test fixtures (mocking external APIs)

E2E tests use a fixture system to mock external API requests, ensuring tests are deterministic and don't hit real APIs. This is handled at two levels:
Expand Down
9 changes: 9 additions & 0 deletions app/assets/logos/sponsors/badrap-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions app/assets/logos/sponsors/badrap.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/logos/sponsors/chromatic-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading