Skip to content
Closed
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ You need to add overrides to your package manager so that other packages resolve
```json
"overrides": {
"vite": "npm:@voidzero-dev/vite-plus-core@latest",
"vitest": "4.1.9"
"vitest": "4.1.10"
}
```

Expand All @@ -209,15 +209,15 @@ If you are using `pnpm`, add this to your `pnpm-workspace.yaml`:
```yaml
overrides:
vite: npm:@voidzero-dev/vite-plus-core@latest
vitest: 4.1.9
vitest: 4.1.10
```

Or, if you are using Yarn:

```json
"resolutions": {
"vite": "npm:@voidzero-dev/vite-plus-core@latest",
"vitest": "4.1.9"
"vitest": "4.1.10"
}
```

Expand Down
8 changes: 2 additions & 6 deletions docs/config/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@ import { defineConfig } from 'vite-plus';
export default defineConfig({
run: {
enablePrePostScripts: true,
cache: {
/* ... */
},
tasks: {
/* ... */
},
cache: {/* ... */},
tasks: {/* ... */},
},
});
```
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ You need to add overrides to your package manager so that other packages resolve
```json
"overrides": {
"vite": "npm:@voidzero-dev/vite-plus-core@latest",
"vitest": "4.1.9"
"vitest": "4.1.10"
}
```

Expand All @@ -203,15 +203,15 @@ If you are using `pnpm`, add this to your `pnpm-workspace.yaml`:
```yaml
overrides:
vite: npm:@voidzero-dev/vite-plus-core@latest
vitest: 4.1.9
vitest: 4.1.10
```

Or, if you are using Yarn:

```json
"resolutions": {
"vite": "npm:@voidzero-dev/vite-plus-core@latest",
"vitest": "4.1.9"
"vitest": "4.1.10"
}
```

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import cliPkg from '../../package.json' with { type: 'json' };
export const VITE_PLUS_NAME = 'vite-plus';
export const VITE_PLUS_VERSION = process.env.VP_VERSION || cliPkg.version;

export const VITEST_VERSION = '4.1.9';
export const VITEST_VERSION = '4.1.10';

export const VITE_PLUS_OVERRIDE_PACKAGES: Record<string, string> = process.env.VP_OVERRIDE_PACKAGES
? JSON.parse(process.env.VP_OVERRIDE_PACKAGES)
Expand Down
2 changes: 1 addition & 1 deletion packages/tools/src/local-npm-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ const upstreamAgent = new HttpsAgent({ keepAlive: true, maxSockets: 64 });
// in a pnpm-packed tarball, so long-name (pax header) handling is unnecessary.
function readPackageJsonFromTarball(tgzBytes: Buffer, sourcePath: string): PackageManifest {
const tar = gunzipSync(tgzBytes);
for (let offset = 0; offset + 512 <= tar.length; ) {
for (let offset = 0; offset + 512 <= tar.length;) {
const rawName = tar.subarray(offset, offset + 100).toString();
const nulIndex = rawName.indexOf('\0');
const name = nulIndex === -1 ? rawName : rawName.slice(0, nulIndex);
Expand Down
Loading
Loading