Skip to content

Commit 401aab5

Browse files
committed
fix: update new things
1 parent 52061ad commit 401aab5

5 files changed

Lines changed: 54 additions & 9 deletions

File tree

app/components/Button/ButtonBase.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const Secondary: Story = {
5252

5353
export const Small: Story = {
5454
args: {
55-
size: 'small',
55+
size: 'sm',
5656
},
5757
render: args => ({
5858
components: { ButtonBase },

app/components/Package/Likes.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ const likeAction = async () => {
130130
>
131131
<ButtonBase
132132
@click="likeAction"
133-
size="medium"
133+
size="md"
134134
:aria-label="
135135
likesData?.userHasLiked ? $t('package.likes.unlike') : $t('package.likes.like')
136136
"

app/pages/package/[[org]]/[name]/versions.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ const flatItems = computed<FlatItem[]>(() => {
203203
type="text"
204204
:placeholder="$t('package.versions.version_filter_placeholder')"
205205
:aria-label="$t('package.versions.version_filter_label')"
206-
size="small"
206+
size="sm"
207207
class="w-36 sm:w-44"
208208
/>
209209
</div>

app/pages/translation-status.vue

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ ${template}`
186186
<h4 class="text-sm font-medium text-fg my-0">
187187
{{ $t('translation_status.missing_keys', {}, { locale: localeEntry.lang }) }}
188188
</h4>
189-
<ButtonBase type="button" size="small" @click="copyMissingKeys(localeEntry)">
189+
<ButtonBase type="button" size="sm" @click="copyMissingKeys(localeEntry)">
190190
{{
191191
copied
192192
? $t('common.copied', {}, { locale: localeEntry.lang })
@@ -209,11 +209,7 @@ ${template}`
209209
</ul>
210210
</div>
211211
<div class="mt-4">
212-
<LinkBase
213-
:to="localeEntry.githubEditUrl"
214-
variant="button-secondary"
215-
size="medium"
216-
>
212+
<LinkBase :to="localeEntry.githubEditUrl" variant="button-secondary" size="md">
217213
{{ $t('i18n.edit_on_github', {}, { locale: localeEntry.lang }) }}
218214
</LinkBase>
219215
</div>

typescript

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
Script started on 2026-03-21 20:25:24-07:00 [TERM="xterm-256color" TTY="/dev/pts/3" COLUMNS="99" LINES="15"]
2+
% ]2;willow@ghost-tlp:~/dev/npmx.dev]1;~/dev/npmx.dev]7;file://ghost-tlp/home/willow/dev/npmx.dev\npmx.dev ❯ [?1h=[?2004hnpmx.dev git:chore/size-prop-value ❯ npmx.dev git:chore/size-prop-value ❯  ✭scriptts[?1l>[?2004l
3+
]2;scripts]1;scriptsScripts in package.json
4+
{
5+
"build": "nuxt build",
6+
"build:test": "NODE_ENV=test vp run build",
7+
"dev": "nuxt dev",
8+
"dev:docs": "vp run --filter npmx-docs dev --port=3001",
9+
"i18n:check:fix": "node scripts/compare-translations.ts --fix",
10+
"i18n:report:fix": "node scripts/remove-unused-translations.ts",
11+
"knip:fix": "knip --fix",
12+
"lint:fix": "vp lint --fix && vp fmt",
13+
"generate": "nuxt generate",
14+
"npmx-connector": "vp run --filter npmx-connector dev",
15+
"mock-connector": "vp run --filter npmx-connector dev:mock",
16+
"generate-pwa-icons": "pwa-assets-generator",
17+
"preview": "nuxt preview",
18+
"postinstall": "(pnpm rebuild @resvg/resvg-js || true) && vp run generate:lexicons && vp run generate:sprite && nuxt prepare && nuxt prepare --cwd docs && vp config",
19+
"generate:fixtures": "node scripts/generate-fixtures.ts",
20+
"generate:jwk": "node scripts/gen-jwk.ts",
21+
"test": "vp test",
22+
"test:a11y": "vp run build:test && LIGHTHOUSE_COLOR_MODE=dark vp run test:a11y:prebuilt && LIGHTHOUSE_COLOR_MODE=light vp run test:a11y:prebuilt",
23+
"test:a11y:prebuilt": "./scripts/lighthouse.sh",
24+
"test:perf": "vp run build:test && vp run test:perf:prebuilt",
25+
"test:perf:prebuilt": "LH_PERF=1 ./scripts/lighthouse.sh",
26+
"test:browser": "vp run build:test && vp run test:browser:prebuilt",
27+
"test:browser:prebuilt": "playwright test",
28+
"test:browser:ui": "vp run build:test && vp run test:browser:prebuilt --ui",
29+
"test:browser:update": "vp run build:test && vp run test:browser:prebuilt --update-snapshots",
30+
"test:nuxt": "vp test --project nuxt",
31+
"test:types": "vp run generate:lexicons && nuxt prepare && vue-tsc -b --noEmit && vp run --filter npmx-connector test:types",
32+
"test:unit": "vp test --project unit",
33+
"start:playwright:webserver": "NODE_ENV=test vp run preview --port 5678",
34+
"storybook": "STORYBOOK=true storybook dev -p 6006",
35+
"build-storybook": "STORYBOOK=true storybook build",
36+
"chromatic": "chromatic"
37+
}
38+
% ]2;willow@ghost-tlp:~/dev/npmx.dev]1;~/dev/npmx.dev]7;file://ghost-tlp/home/willow/dev/npmx.dev\npmx.dev git:chore/size-prop-value ❯  ✭[?1h=[?2004hppnpnppnpm [?2004l
39+
% ]2;willow@ghost-tlp:~/dev/npmx.dev]1;~/dev/npmx.dev]7;file://ghost-tlp/home/willow/dev/npmx.dev\npmx.dev git:chore/size-prop-value ❯ ⏎ ✭[?1h=[?2004hggigit ppupush[?1l>[?2004l
40+
]2;git push]1;gitssh: Could not resolve hostname github.com: Temporary failure in name resolution
41+
fatal: Could not read from remote repository.
42+
43+
Please make sure you have the correct access rights
44+
and the repository exists.
45+
% ]2;willow@ghost-tlp:~/dev/npmx.dev]1;~/dev/npmx.dev]7;file://ghost-tlp/home/willow/dev/npmx.dev\npmx.dev git:chore/size-prop-value ❯ ⏎ ✭[?1h=[?2004hggigit ppupush[?1l>[?2004l
46+
]2;git push]1;gitEnumerating objects: 52, done.
47+
Counting objects: 1% (1/52)Counting objects: 3% (2/52)Counting objects: 5% (3/52)Counting objects: 7% (4/52)Counting objects: 9% (5/52)Counting objects: 11% (6/52)Counting objects: 13% (7/52)Counting objects: 15% (8/52)Counting objects: 17% (9/52)Counting objects: 19% (10/52)Counting objects: 21% (11/52)Counting objects: 23% (12/52)Counting objects: 25% (13/52)Counting objects: 26% (14/52)Counting objects: 28% (15/52)Counting objects: 30% (16/52)Counting objects: 32% (17/52)Counting objects: 34% (18/52)Counting objects: 36% (19/52)Counting objects: 38% (20/52)Counting objects: 40% (21/52)Counting objects: 42% (22/52)Counting objects: 44% (23/52)Counting objects: 46% (24/52)Counting objects: 48% (25/52)Counting objects: 50% (26/52)Counting objects: 51% (27/52)Counting objects: 53% (28/52)Counting objects: 55% (29/52)Counting objects: 57% (30/52)Counting objects: 59% (31/52)Counting objects: 61% (32/52)Counting objects: 63% (33/52)Counting objects: 65% (34/52)Counting objects: 67% (35/52)Counting objects: 69% (36/52)Counting objects: 71% (37/52)Counting objects: 73% (38/52)Counting objects: 75% (39/52)Counting objects: 76% (40/52)Counting objects: 78% (41/52)Counting objects: 80% (42/52)Counting objects: 82% (43/52)Counting objects: 84% (44/52)Counting objects: 86% (45/52)Counting objects: 88% (46/52)Counting objects: 90% (47/52)Counting objects: 92% (48/52)Counting objects: 94% (49/52)Counting objects: 96% (50/52)Counting objects: 98% (51/52)Counting objects: 100% (52/52)Counting objects: 100% (52/52), done.
48+
Delta compression using up to 16 threads
49+
Compressing objects: 5% (1/17)Compressing objects: 11% (2/17)Compressing objects: 17% (3/17)Compressing objects: 23% (4/17)Compressing objects: 29% (5/17)Compressing objects: 35% (6/17)Compressing objects: 41% (7/17)Compressing objects: 47% (8/17)Compressing objects: 52% (9/17)Compressing objects: 58% (10/17)Compressing objects: 64% (11/17)Compressing objects: 70% (12/17)Compressing objects: 76% (13/17)Compressing objects: 82% (14/17)Compressing objects: 88% (15/17)Compressing objects: 94%

0 commit comments

Comments
 (0)