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: 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/
2 changes: 1 addition & 1 deletion example/client/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { reactCompilerPreset } from '@vitejs/plugin-react';
import { voidReact } from '@void/react/plugin';
import dotenv from 'dotenv';
import { fate } from 'react-fate/vite';
import type { PluginOption } from 'vite';
import type { PluginOption } from 'vite-plus';
import { defineConfig, lazyPlugins } from 'vite-plus';
import { voidPlugin } from 'void';

Expand Down
2 changes: 1 addition & 1 deletion example/server-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
"eslint-plugin-react-hooks": "^7.1.1",
"glob": "^13.0.6",
"nodemon": "^3.1.14",
"oxfmt": "^0.53.0",
"prisma": "^7.8.0",
"prisma-json-types-generator": "^5.1.0",
"ts-node": "^10.9.2",
"typescript": "^6.0.3",
"vite": "catalog:",
"vite-plus": "catalog:",
"vitest": "catalog:"
},
Expand Down
2 changes: 1 addition & 1 deletion example/void/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import tailwindcss from '@tailwindcss/vite';
import { reactCompilerPreset } from '@vitejs/plugin-react';
import { voidReact } from '@void/react/plugin';
import { fate } from 'react-fate/vite';
import type { PluginOption } from 'vite';
import type { PluginOption } from 'vite-plus';
import { defineConfig, lazyPlugins } from 'vite-plus';
import { voidPlugin } from 'void';

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@swc/core": "^1.15.40",
"@types/node": "^25.9.1",
"@typescript/native-preview": "7.0.0-dev.20260601.1",
"@vitest/coverage-v8": "4.1.8",
"@vitest/coverage-v8": "catalog:",
"babel-plugin-react-compiler": "^1.0.0",
"dotenv": "^17.4.2",
"eslint-plugin-import-x": "^4.16.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-fate/__tests__/templates.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { existsSync, mkdtempSync, readdirSync, readFileSync, rmSync } from 'node
import { tmpdir } from 'node:os';
import { dirname, join } from 'node:path';
import { fileURLToPath } from 'node:url';
import { describe, expect, test } from 'vitest';
import { describe, expect, test } from 'vite-plus/test';

const packageRoot = dirname(dirname(fileURLToPath(import.meta.url)));
const builtinModules = new Set(['node:fs', 'node:path', 'node:url']);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from 'vitest';
import { expect, test } from 'vite-plus/test';

test('1 + 1', () => {
expect(1 + 1).toBe(2);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from 'vitest';
import { expect, test } from 'vite-plus/test';

test('1 + 1', () => {
expect(1 + 1).toBe(2);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from 'vitest';
import { expect, test } from 'vite-plus/test';

test('1 + 1', () => {
expect(1 + 1).toBe(2);
Expand Down
2 changes: 1 addition & 1 deletion packages/fate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@trpc/client": "^11.17.0",
"@trpc/server": "^11.17.0",
"drizzle-orm": "^0.45.2",
"vite": "^8.0.16"
"vite": "catalog:"
},
"peerDependencies": {
"@trpc/client": "^11.6.0",
Expand Down
4,514 changes: 1,753 additions & 2,761 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

22 changes: 19 additions & 3 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
minimumReleaseAge: 60
minimumReleaseAgeExclude:
- vite-plus
- '@voidzero-dev/*'
- '@oxc-project/*'
- '@oxlint/*'
- '@oxfmt/*'
- '@oxlint-tsgolint/*'
- '@rolldown/*'
Comment on lines +7 to +9

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The scope @oxlint-tsgolint does not exist on npm. The package oxlint-tsgolint is unscoped and is already correctly excluded on line 13. This entry is redundant and can be safely removed.

  - '@oxfmt/*'
  - '@rolldown/*'

- '@tsdown/*'
- oxlint
- oxfmt
- oxlint-tsgolint
- tsdown
- rolldown
packages:
- example/*
- packages/*
Expand All @@ -13,9 +28,10 @@ allowBuilds:
workerd: true

catalog:
vite: npm:@voidzero-dev/vite-plus-core@0.1.24
vite-plus: 0.1.24
vitest: npm:@voidzero-dev/vite-plus-test@0.1.24
vite: npm:@voidzero-dev/vite-plus-core@0.0.0-commit.1d7ba811f0e456640b0e761e8e8acf77d1ad3251
vite-plus: 0.0.0-commit.1d7ba811f0e456640b0e761e8e8acf77d1ad3251
vitest: 4.1.9
'@vitest/coverage-v8': 4.1.9

onlyBuiltDependencies:
- '@prisma/client'
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import findWorkspaces from '@nkzw/find-workspaces';
import nkzw from '@nkzw/oxlint-config';
import dotenv from 'dotenv';
import { defineConfig } from 'vite-plus';
import { configDefaults } from 'vitest/config';
import { configDefaults } from 'vite-plus';

const root = process.cwd();

Expand Down
Loading