Skip to content

Commit bb253a9

Browse files
authored
chore: install vite+ from npm registry (#124)
1 parent 0208f7e commit bb253a9

10 files changed

Lines changed: 102 additions & 1288 deletions

File tree

.github/renovate.json

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,5 @@
77
"hostType": "npm",
88
"token": "{{ secrets.GITHUB_TOKEN }}"
99
}
10-
],
11-
"packageRules": [
12-
{
13-
"matchPackagePatterns": ["@vite-plus/.*"],
14-
"registryUrls": ["https://npm.pkg.github.com/"]
15-
},
16-
{
17-
"matchPackagePatterns": ["@voidzero-dev/.*"],
18-
"registryUrls": ["https://npm.pkg.github.com/"]
19-
}
20-
],
21-
"npmrc": "@voidzero-dev:registry=https://npm.pkg.github.com/"
10+
]
2211
}

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,9 @@ jobs:
3434
check-latest: true
3535

3636
- name: Setup Vite+
37-
uses: voidzero-dev/setup-vite-plus-action@8e5c964eecdefb1a599d79ad0c4a00418e193e72 # v1
37+
uses: voidzero-dev/setup-vite-plus-action@5bd070e3dfe8fd6a967ab859304e95daa4e64ea0 # v1
3838
with:
3939
cache: true
40-
registry: github
41-
github-token: ${{ secrets.GITHUB_TOKEN }}
4240

4341
- name: Install Playwright browsers
4442
run: npx playwright install chromium

.npmrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

apps/dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@
3434
"vite": "catalog:",
3535
"tailwindcss": "^4.1.13",
3636
"typescript": "catalog:",
37-
"@voidzero-dev/vite-plus": "catalog:"
37+
"vite-plus": "catalog:"
3838
}
3939
}

apps/dashboard/src/__tests__/pages.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { render } from "@testing-library/react";
22
import { MemoryRouter } from "react-router-dom";
3-
import { describe, expect, it } from "@voidzero-dev/vite-plus/test";
3+
import { describe, expect, it } from "vite-plus/test";
44
import App from "../App";
55
import MinificationBenchmarksPage from "../pages/MinificationBenchmarksPage";
66
import NpmPackagesPage from "../pages/NpmPackagesPage";

apps/dashboard/vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import tailwindcss from "@tailwindcss/vite";
2-
import { playwright } from "@voidzero-dev/vite-plus/test/browser-playwright";
3-
import { defineConfig } from "@voidzero-dev/vite-plus";
2+
import { playwright } from "vite-plus/test/browser-playwright";
3+
import { defineConfig } from "vite-plus";
44

55
// https://vite.dev/config/
66
export default defineConfig({

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"devDependencies": {
1818
"@typescript-eslint/scope-manager": "^8.47.0",
19-
"@voidzero-dev/vite-plus": "catalog:",
19+
"vite-plus": "catalog:",
2020
"playwright": "^1.56.1",
2121
"top-github-dependents-by-stars": "^1.0.4",
2222
"vitest": "catalog:"

pnpm-lock.yaml

Lines changed: 92 additions & 1263 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ catalog:
88
vite: npm:@voidzero-dev/vite-plus-core@latest
99
typescript: ^5.9.2
1010
vitest: npm:@voidzero-dev/vite-plus-test@latest
11-
'@voidzero-dev/vite-plus': latest
11+
vite-plus: latest
1212

1313
minimumReleaseAge: 1440
1414

@@ -32,6 +32,7 @@ minimumReleaseAgeExclude:
3232
- 'rolldown-vite'
3333
- 'tsdown'
3434
- 'vite'
35+
- 'vite-plus'
3536
- 'vitepress'
3637
- 'vitest'
3738
- '@vitest/*'

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineConfig } from "@voidzero-dev/vite-plus";
1+
import { defineConfig } from "vite-plus";
22

33
export default defineConfig({
44
test: {

0 commit comments

Comments
 (0)