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
24 changes: 24 additions & 0 deletions .github/workflows/ecosystem-ci-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: ecosystem-ci build

# Added by the vite-plus ecosystem-ci smoke test. This fork has no
# pull_request-triggered workflow of its own, so a prerelease test PR would
# report "no checks" and prove nothing. This job builds the project with the
# vite-plus version pinned in the PR, which is the signal the smoke test needs.
#
# Keep this file on the test branch only. Do not land it on the tracked branch:
# the tracked branch must differ from upstream only by what a release test needs.

on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: voidzero-dev/setup-vp@v1
with:
node-version: '24'
cache: false
run-install: true
- run: vp run build
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# vite-plus preview build registry bridge (auto-added by vp)
registry=https://registry-bridge.viteplus.dev/
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@
"sass": "^1.102.0",
"unplugin-auto-import": "^21.1.0",
"unplugin-svg-component": "^0.12.6",
"vite": "npm:@voidzero-dev/vite-plus-core@0.2.7",
"vite-plus": "0.2.7",
"vite": "catalog:",
"vite-plus": "catalog:",
"vitepress": "2.0.0-alpha.18",
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.24",
"vitest": "catalog:",
"vue-tsc": "3.3.9"
},
"packageManager": "pnpm@11.13.1"
Expand Down
3,225 changes: 1,290 additions & 1,935 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,28 @@ allowBuilds:
# Java 序列化:补丁支持 TC_CLASS / Externalizable(如 java.time)
patchedDependencies:
java-object-serialization@0.1.2: patches/java-object-serialization@0.1.2.patch
catalog:
vite: npm:@voidzero-dev/vite-plus-core@0.0.0-commit.16f3018f31dd475daf775e87e3eeb870fe9e5b4d
vitest: 4.1.10
vite-plus: 0.0.0-commit.16f3018f31dd475daf775e87e3eeb870fe9e5b4d
overrides:
vite: 'catalog:'
vitest: 'catalog:'
peerDependencyRules:
allowAny:
- vite
- vitest
allowedVersions:
vite: '*'
vitest: '*'
minimumReleaseAgeExclude:
- '@voidzero-dev/vite-plus-core@0.0.0-commit.16f3018f31dd475daf775e87e3eeb870fe9e5b4d'
- '@voidzero-dev/vite-plus-darwin-arm64@0.0.0-commit.16f3018f31dd475daf775e87e3eeb870fe9e5b4d'
- '@voidzero-dev/vite-plus-darwin-x64@0.0.0-commit.16f3018f31dd475daf775e87e3eeb870fe9e5b4d'
- '@voidzero-dev/vite-plus-linux-arm64-gnu@0.0.0-commit.16f3018f31dd475daf775e87e3eeb870fe9e5b4d'
- '@voidzero-dev/vite-plus-linux-arm64-musl@0.0.0-commit.16f3018f31dd475daf775e87e3eeb870fe9e5b4d'
- '@voidzero-dev/vite-plus-linux-x64-gnu@0.0.0-commit.16f3018f31dd475daf775e87e3eeb870fe9e5b4d'
- '@voidzero-dev/vite-plus-linux-x64-musl@0.0.0-commit.16f3018f31dd475daf775e87e3eeb870fe9e5b4d'
- '@voidzero-dev/vite-plus-win32-arm64-msvc@0.0.0-commit.16f3018f31dd475daf775e87e3eeb870fe9e5b4d'
- '@voidzero-dev/vite-plus-win32-x64-msvc@0.0.0-commit.16f3018f31dd475daf775e87e3eeb870fe9e5b4d'
- vite-plus@0.0.0-commit.16f3018f31dd475daf775e87e3eeb870fe9e5b4d
2 changes: 1 addition & 1 deletion src/utils/acl.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, it } from 'vitest'
import { describe, expect, it } from 'vite-plus/test'

import type { AclUserDetail } from '@/types/tauri-specta'
import {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/detect-view-format.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { encode } from '@msgpack/msgpack'
import { describe, expect, it } from 'vitest'
import { describe, expect, it } from 'vite-plus/test'

import { detectViewFormat } from '@/utils/detect-view-format'

Expand Down
2 changes: 1 addition & 1 deletion src/utils/format.wire.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, it } from 'vitest'
import { describe, expect, it } from 'vite-plus/test'

import {
IPC_WIRE_FORMAT,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/javaserial/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, it, vi } from 'vitest'
import { describe, expect, it, vi } from 'vite-plus/test'

import { formatJavaSerDisplay, javaSerBase64ToValue, normalizeJavaObject } from '@/utils/javaserial'

Expand Down
2 changes: 1 addition & 1 deletion src/utils/pickle/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, it } from 'vitest'
import { describe, expect, it } from 'vite-plus/test'

import { formatPickleDisplay, normalizePickleObject, pickleBase64ToValue } from '@/utils/pickle'

Expand Down
2 changes: 1 addition & 1 deletion src/utils/redis-key.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, it } from 'vitest'
import { describe, expect, it } from 'vite-plus/test'

import { utf8TextToBase64 } from '@/utils/format'
import { redisKeyId, redisKeyWireBase64, sameRedisKey } from '@/utils/redis-key'
Expand Down