Skip to content

Commit 877d85a

Browse files
committed
Merge branch 'main' into i18n-cn
2 parents f169976 + 524919e commit 877d85a

154 files changed

Lines changed: 3604 additions & 33717 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/chromatic.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: ☑️ Checkout
23-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
23+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2424
with:
2525
fetch-depth: 0
2626
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
node-version: lts/*
3232

33-
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c # 1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
33+
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
3434
name: 🟧 Install pnpm
3535
with:
3636
cache: true
@@ -39,7 +39,7 @@ jobs:
3939
run: pnpm install
4040

4141
- name: 🧪 Run Chromatic Visual and Accessibility Tests
42-
uses: chromaui/action@a8ce9c58f59be5cc7090cadfc8f130fb08fcf0c3 # v15.1.0
42+
uses: chromaui/action@5ec258af08deb3e8c36653bd618cb7fe52090031 # v15.2.0
4343
env:
4444
CHROMATIC_BRANCH: ${{ github.event.pull_request.head.ref || github.ref_name }}
4545
CHROMATIC_SHA: ${{ github.event.pull_request.head.sha || github.sha }}

.github/workflows/semantic-pull-requests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
with:
2525
scopes: |
2626
a11y
27+
blog
2728
deps
2829
docs
2930
cli

.storybook/.public/favicon.svg

Lines changed: 55 additions & 0 deletions
Loading
Lines changed: 96 additions & 0 deletions
Loading

.storybook/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const config = {
44
stories: ['../app/**/*.stories.@(js|ts)'],
55
addons: ['@storybook/addon-a11y', '@storybook/addon-docs', '@storybook/addon-themes'],
66
framework: '@storybook-vue/nuxt',
7+
staticDirs: ['./.public'],
78
features: {
89
backgrounds: false,
910
},

.storybook/manager.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { addons } from 'storybook/manager-api'
2+
import { create } from 'storybook/theming'
3+
4+
const npmxTheme = create({
5+
brandTitle: 'npmx Storybook',
6+
brandImage: '/npmx-storybook.svg',
7+
})
8+
9+
addons.setConfig({
10+
theme: npmxTheme,
11+
})

CONTRIBUTING.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -492,17 +492,8 @@ To add a new locale:
492492
},
493493
```
494494

495-
4. Copy your translation file to `lunaria/files/` for translation tracking:
496-
497-
```bash
498-
cp i18n/locales/uk-UA.json lunaria/files/uk-UA.json
499-
```
500-
501-
> **Important:**
502-
> This file must be committed. Lunaria uses git history to track translation progress, so the build will fail if this file is missing.
503-
504-
5. If the language is `right-to-left`, add `dir: 'rtl'` (see `ar-EG` in config for example)
505-
6. If the language requires special pluralization rules, add a `pluralRule` callback (see `ar-EG` or `ru-RU` in config for examples)
495+
4. If the language is `right-to-left`, add `dir: 'rtl'` (see `ar-EG` in config for example)
496+
5. If the language requires special pluralization rules, add a `pluralRule` callback (see `ar-EG` or `ru-RU` in config for examples)
506497

507498
Check [Pluralization rule callback](https://vue-i18n.intlify.dev/guide/essentials/pluralization#custom-pluralization) and [Plural Rules](https://cldr.unicode.org/index/cldr-spec/plural-rules#TOC-Determining-Plural-Categories) for more info.
508499

@@ -1033,7 +1024,7 @@ Format: `type(scope): description`
10331024
10341025
**Types:** `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore`, `revert`
10351026
1036-
**Scopes (optional):** `docs`, `i18n`, `deps`
1027+
**Scopes (optional):** `a11y`, `blog`, `deps`, `docs`, `cli`, `i18n`, `ui`
10371028
10381029
**Examples:**
10391030

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ What npmx offers:
2626

2727
## Shortcuts
2828

29-
> [!IMPORTANT]
30-
> We're keeping the website, repository, and our discord community low-profile until the browser is polished enough. We'll do a formal announcement at that point. Please avoid sharing the website or the invite link to discord on social media directly. The repo is public, so people who care about the project can easily find it and join us. Anyone who wants to help is more than welcome to [join the community](https://chat.npmx.dev). If you know others who would be interested, please invite them too!
31-
3229
- [chat.npmx.dev](https://chat.npmx.dev) - Discord Server
3330
- [social.npmx.dev](https://social.npmx.dev) - Bluesky Profile
3431
- [repo.npmx.dev](https://repo.npmx.dev) - GitHub Repository
28 KB
Loading
723 KB
Loading

0 commit comments

Comments
 (0)