Skip to content
Merged
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
8 changes: 4 additions & 4 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ jobs:
run: pnpm install

- name: 🎨 Check for non-RTL/non-a11y CSS classes
run: pnpm lint:css
run: pnpm vp run lint:css

- name: 🌐 Compare translations
run: pnpm i18n:check
run: pnpm vp run i18n:check

- name: 🌍 Update lunaria data
run: pnpm build:lunaria
run: pnpm vp run build:lunaria

- name: 🔠 Fix lint errors
run: pnpm lint:fix
run: pnpm vp run lint:fix

- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 # 635ffb0c9798bd160680f18fd73371e355b85f27
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: pnpm install --filter . --ignore-scripts

- name: 🔠 Lint project
run: pnpm lint
run: pnpm vp run lint

types:
name: 💪 Type check
Expand All @@ -59,7 +59,7 @@ jobs:
run: pnpm install

- name: 💪 Type check
run: pnpm test:types
run: pnpm vp run test:types

unit:
name: 🧪 Unit tests
Expand All @@ -79,7 +79,7 @@ jobs:
run: pnpm install

- name: 🧪 Unit tests
run: pnpm test:unit run --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
run: pnpm vp test --project unit --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml

- name: ⬆︎ Upload test results to Codecov
if: ${{ !cancelled() }}
Expand All @@ -105,10 +105,10 @@ jobs:
run: pnpm install

- name: 🌐 Install browser
run: pnpm playwright install chromium-headless-shell
run: pnpm vp exec playwright install chromium-headless-shell

- name: 🧪 Component tests
run: pnpm test:nuxt run --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
run: pnpm vp test --project nuxt --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml

- name: ⬆︎ Upload coverage reports to Codecov
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
Expand Down Expand Up @@ -142,12 +142,12 @@ jobs:
run: pnpm install

- name: 🏗️ Build project
run: pnpm build:test
run: pnpm vp run build:test
env:
VALIDATE_HTML: true

- name: 🖥️ Test project (browser)
run: pnpm test:browser:prebuilt
run: pnpm vp run test:browser:prebuilt

a11y:
name: ♿ Accessibility audit
Expand All @@ -170,10 +170,10 @@ jobs:
run: pnpm install

- name: 🏗️ Build project
run: pnpm build:test
run: pnpm vp run build:test

- name: ♿ Accessibility audit (Lighthouse - ${{ matrix.mode }} mode)
run: pnpm test:a11y:prebuilt
run: pnpm vp run test:a11y:prebuilt
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
LIGHTHOUSE_COLOR_MODE: ${{ matrix.mode }}
Expand All @@ -196,10 +196,10 @@ jobs:
run: pnpm install

- name: 🧹 Check for unused code
run: pnpm knip
run: pnpm vp run knip

- name: 🧹 Check for unused production code
run: pnpm knip --production --exclude dependencies
run: pnpm vp run knip --production --exclude dependencies

i18n:
name: 🌐 i18n validation
Expand All @@ -219,9 +219,9 @@ jobs:
run: pnpm install --filter . --ignore-scripts

- name: 🌐 Check for missing or dynamic i18n keys
run: pnpm i18n:report
run: pnpm vp run i18n:report

- name: 🌐 Check i18n schema is up to date
run: |
pnpm i18n:schema
pnpm vp run i18n:schema
git diff --exit-code i18n/schema.json
2 changes: 1 addition & 1 deletion .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:

- name: 📦 Install dependencies
if: steps.check.outputs.skip == 'false'
run: pnpm install --filter . --ignore-scripts
run: pnpm vp install --filter . --ignore-scripts

- name: 📝 Generate release notes
if: steps.check.outputs.skip == 'false'
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,6 @@ public/blog/avatar
storybook-static

.nvmrc
.agents
.vscode/mcp.json
AGENTS.md
8 changes: 0 additions & 8 deletions .oxfmtrc.json

This file was deleted.

113 changes: 0 additions & 113 deletions .oxlintrc.json

This file was deleted.

16 changes: 8 additions & 8 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@
"name": "npmx-connector",
"version": "0.0.1",
"description": "Local connector for npmx.dev - enables authenticated npm operations from the web UI",
"homepage": "https://npmx.dev",
"bugs": {
"url": "https://github.com/npmx-dev/npmx.dev/issues"
},
"license": "MIT",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/npmx-dev/npmx.dev.git",
"directory": "cli"
},
"bugs": {
"url": "https://github.com/npmx-dev/npmx.dev/issues"
},
"homepage": "https://npmx.dev",
"bin": {
"npmx-connector": "./dist/cli.mjs"
},
"exports": {
".": "./dist/index.mjs"
},
"files": [
"dist"
],
"type": "module",
"exports": {
".": "./dist/index.mjs"
},
"scripts": {
"build": "tsdown",
"dev": "NPMX_CLI_DEV=true node src/cli.ts",
Expand Down
6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"name": "npmx-docs",
"private": true,
"description": "npmx public docs site",
"bugs": {
"url": "https://github.com/npmx-dev/npmx.dev/issues"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/npmx-dev/npmx.dev.git",
"directory": "docs"
},
"bugs": {
"url": "https://github.com/npmx-dev/npmx.dev/issues"
},
"scripts": {
"dev": "nuxt dev",
"build": "nuxt build",
Expand Down
2 changes: 1 addition & 1 deletion knip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const config: KnipConfig = {
entry: [
'i18n/**/*.ts',
'lunaria.config.ts',
'lunaria/lunaria.ts',
'pwa-assets.config.ts',
'.lighthouserc.cjs',
'lighthouse-setup.cjs',
Expand All @@ -22,7 +23,6 @@ const config: KnipConfig = {
],
ignoreDependencies: [
'@iconify-json/*',
'@voidzero-dev/vite-plus-core',
'puppeteer',
/** Needs to be explicitly installed, even though it is not imported, to avoid type errors. */
'unplugin-vue-router',
Expand Down
Loading
Loading