Skip to content

Commit 9a35edc

Browse files
Adopt the vite plugin's rename: vite-plugin-solid → @solidjs/vite-plugin
The plugin now publishes as @solidjs/vite-plugin (first release under the new name is 3.0.0-next.27, code-identical to vite-plugin-solid 3.0.0-next.26 plus the rename). Swap the devDependency pin (was 3.0.0-next.10), the imports in both vitest configs, and the passing mentions in the .shake-check script comments; regenerate the lockfile. No changeset: dev-tooling bumps ship without one here (see e31bb16, the previous vite-plugin-solid bump). Historical CHANGELOG/changeset entries keep the old name. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 4aabe48 commit 9a35edc

7 files changed

Lines changed: 64 additions & 85 deletions

File tree

.shake-check/check.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// production build (`isServer` folds to false). Same inlining caveat;
1515
// everything flash-related must be gone.
1616
// 3. "split" — the per-module `solid`-condition output (dist/index.jsx)
17-
// that every vite-plugin-solid app consumes, compiled with
17+
// that every @solidjs/vite-plugin app consumes, compiled with
1818
// babel-preset-solid and code splitting allowed. This is where the
1919
// data-layer guarantee lives: the entry chunk must exclude
2020
// action/query/flash entirely, with the serverForms delegation

.shake-check/compare-client.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { gzipSync } from "node:zlib";
1414
const here = dirname(fileURLToPath(import.meta.url));
1515

1616
const BASELINE = "./baseline/package/dist/index.js";
17-
// The `solid` condition is what every bundled project resolves (vite-plugin-solid
17+
// The `solid` condition is what every bundled project resolves (@solidjs/vite-plugin
1818
// puts it first, SSR or not): index.jsx + the per-module tsc output, compiled by
1919
// the app's solid preset. The flat dist/index.js only serves no-build usage.
2020
const V1 = "../dist/index.jsx";

.shake-check/compare.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { gzipSync } from "node:zlib";
1414
const here = dirname(fileURLToPath(import.meta.url));
1515

1616
const BASELINE = "./baseline/package/dist/index.js";
17-
// The `solid` condition is what every bundled project resolves (vite-plugin-solid
17+
// The `solid` condition is what every bundled project resolves (@solidjs/vite-plugin
1818
// puts it first, SSR or not): index.jsx + the per-module tsc output, compiled by
1919
// the app's solid preset. The flat dist/index.js only serves no-build usage.
2020
const V1 = "../dist/index.jsx";

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"release": "pnpm build && changeset publish"
4242
},
4343
"devDependencies": {
44+
"@solidjs/vite-plugin": "3.0.0-next.27",
4445
"@solidjs/web": "2.0.0-beta.33",
4546
"@babel/core": "^7.26.0",
4647
"@babel/preset-typescript": "^7.26.0",
@@ -57,7 +58,6 @@
5758
"solid-js": "2.0.0-beta.33",
5859
"typescript": "^5.7.2",
5960
"vite": "^6.0.0",
60-
"vite-plugin-solid": "3.0.0-next.10",
6161
"vitest": "^2.1.6"
6262
},
6363
"peerDependencies": {

pnpm-lock.yaml

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

vitest.config.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// src/server.ts, which the jsdom suite cannot reach. The solid plugin runs
55
// in ssr mode so specs can hand JSX <Route> trees to the collector.
66
import { defineConfig, Plugin } from "vitest/config";
7-
import solidPlugin from "vite-plugin-solid";
7+
import solidPlugin from "@solidjs/vite-plugin";
88

99
export default defineConfig({
1010
plugins: [solidPlugin({ ssr: true, solid: { hydratable: false } }) as Plugin],

vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineConfig, Plugin } from "vitest/config";
2-
import solidPlugin from "vite-plugin-solid";
2+
import solidPlugin from "@solidjs/vite-plugin";
33

44
export default defineConfig({
55
plugins: [solidPlugin() as Plugin],

0 commit comments

Comments
 (0)