Skip to content
Draft
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
2 changes: 1 addition & 1 deletion .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
with:
persist-credentials: false

- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
- uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # v1.12.0
with:
node-version: lts/*
cache: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
ref: ${{ github.event.pull_request.head.sha || github.sha }}
persist-credentials: false

- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
- uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # v1.12.0

Check warning on line 30 in .github/workflows/chromatic.yml

View workflow job for this annotation

GitHub Actions / 🌈 GitHub Actions security analysis

ref-version-mismatch

chromatic.yml:30: action's hash pin has mismatched or missing version comment: points to commit 2dec1e33f4ab

Check warning on line 30 in .github/workflows/chromatic.yml

View workflow job for this annotation

GitHub Actions / 🌈 GitHub Actions security analysis

stale-action-refs

chromatic.yml:30: commit hash does not point to a Git tag: this step
with:
node-version: lts/*
cache: true
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
with:
persist-credentials: false

- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
- uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # v1.12.0

Check warning on line 33 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / 🌈 GitHub Actions security analysis

stale-action-refs

ci.yml:33: commit hash does not point to a Git tag: this step
with:
node-version: lts/*
sfw: true
Expand All @@ -50,7 +50,7 @@
with:
persist-credentials: false

- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
- uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # v1.12.0

Check warning on line 53 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / 🌈 GitHub Actions security analysis

stale-action-refs

ci.yml:53: commit hash does not point to a Git tag: this step
with:
node-version: lts/*
cache: true
Expand All @@ -68,7 +68,7 @@
with:
persist-credentials: false

- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
- uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # v1.12.0

Check warning on line 71 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / 🌈 GitHub Actions security analysis

stale-action-refs

ci.yml:71: commit hash does not point to a Git tag: this step
with:
node-version: lts/*
cache: true
Expand Down Expand Up @@ -107,7 +107,7 @@
with:
persist-credentials: false

- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
- uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # v1.12.0

Check warning on line 110 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / 🌈 GitHub Actions security analysis

stale-action-refs

ci.yml:110: commit hash does not point to a Git tag: this step
with:
node-version: lts/*
cache: true
Expand Down Expand Up @@ -154,7 +154,7 @@
- name: 👑 Fix Git ownership
run: git config --global --add safe.directory /__w/npmx.dev/npmx.dev

- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
- uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # v1.12.0

Check warning on line 157 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / 🌈 GitHub Actions security analysis

stale-action-refs

ci.yml:157: commit hash does not point to a Git tag: this step
with:
node-version: lts/*
cache: true
Expand Down Expand Up @@ -192,7 +192,7 @@
with:
persist-credentials: false

- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
- uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # v1.12.0

Check warning on line 195 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / 🌈 GitHub Actions security analysis

stale-action-refs

ci.yml:195: commit hash does not point to a Git tag: this step
with:
node-version: lts/*
cache: true
Expand All @@ -216,7 +216,7 @@
with:
persist-credentials: false

- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
- uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # v1.12.0

Check warning on line 219 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / 🌈 GitHub Actions security analysis

stale-action-refs

ci.yml:219: commit hash does not point to a Git tag: this step
with:
node-version: lts/*
cache: true
Expand All @@ -234,7 +234,7 @@
with:
persist-credentials: false

- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
- uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # v1.12.0

Check warning on line 237 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / 🌈 GitHub Actions security analysis

stale-action-refs

ci.yml:237: commit hash does not point to a Git tag: this step
with:
node-version: lts/*
sfw: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
persist-credentials: false
fetch-depth: 2

- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
- uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # v1.12.0
with:
node-version: lts/*
run-install: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lunaria.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
fetch-depth: 0
persist-credentials: false

- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
- uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # v1.12.0
with:
node-version: lts/*
cache: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fetch-depth: 0
persist-credentials: false

- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
- uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # v1.12.0
with:
node-version: lts/*
run-install: false
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fetch-depth: 0
persist-credentials: true

- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
- uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # v1.12.0
with:
node-version: lts/*
run-install: false
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:

- name: 📦 Install dependencies
if: steps.check.outputs.skip == 'false'
uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # v1.12.0
with:
sfw: true
run-install: |
Expand Down Expand Up @@ -105,14 +105,14 @@ jobs:
ref: release
persist-credentials: false

- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
- uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # v1.12.0
with:
node-version: lts/*
registry-url: https://registry.npmjs.org
run-install: false

- name: 📦 Install dependencies
uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # v1.12.0
with:
sfw: true
run-install: |
Expand Down
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
@jsr:registry=https://npm.jsr.io
# vite-plus preview build registry bridge (auto-added by vp)
registry=https://registry-bridge.viteplus.dev/
3 changes: 1 addition & 2 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
".": "./dist/index.mjs"
},
"scripts": {
"build": "tsdown",
"build": "vp pack",
"dev": "NPMX_CLI_DEV=true node src/cli.ts",
"dev:debug": "DEBUG=npmx-connector NPMX_CLI_DEV=true node src/cli.ts",
"dev:mock": "NPMX_CLI_DEV=true node src/mock-server.ts",
Expand All @@ -42,7 +42,6 @@
"devDependencies": {
"@types/node": "24.12.2",
"@types/validate-npm-package-name": "4.0.2",
"tsdown": "0.21.7",
"typescript": "6.0.2"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion cli/tsdown.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig } from 'tsdown'
import { defineConfig } from 'vite-plus/pack'

export default defineConfig({
entry: ['src/index.ts', 'src/cli.ts'],
Expand Down
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"validate-npm-package-name": "8.0.0",
"virtua": "0.49.0",
"vite-plugin-pwa": "1.3.0",
"vite-plus": "0.1.20",
"vite-plus": "catalog:",
"vue": "3.5.39",
"vue-data-ui": "3.22.0",
"vue-router": "5.0.4"
Expand All @@ -128,7 +128,8 @@
"@types/sanitize-html": "2.16.1",
"@types/semver": "7.7.1",
"@types/validate-npm-package-name": "4.0.2",
"@vitest/coverage-v8": "4.1.6",
"@vitest/browser-playwright": "catalog:",
"@vitest/coverage-v8": "catalog:",
"@vue/test-utils": "2.4.6",
"axe-core": "4.11.2",
"changelogen": "0.6.2",
Expand All @@ -142,12 +143,15 @@
"markdown-it-anchor": "9.2.0",
"msw": "catalog:msw",
"msw-storybook-addon": "catalog:storybook",
"playwright": "1.60.0",
"rolldown": "1.1.4",
"schema-dts": "2.0.0",
"storybook": "catalog:storybook",
"storybook-i18n": "catalog:storybook",
"typescript": "6.0.2",
"unplugin-vue-markdown": "32.0.0",
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.20",
"vite": "catalog:",
"vitest": "catalog:",
"vue-i18n-extract": "2.0.7",
"vue-tsc": "3.2.6"
},
Expand Down
Loading
Loading