Skip to content

Commit 7381194

Browse files
chore: bump TEMPLATES_REF to templates main (6f2ef07) for the @solidjs/vite-plugin rename
vite-plugin-solid is now published as @solidjs/vite-plugin (3.0.0-next.27, identical code plus the rename); the templates commit repins all ten solid-v2 templates and was verified on fresh installs (basic, fullstack, fullstack- tanstack, with-vitest-browser-mode). The solid-v2-basic test fixture mirrors the rename so it keeps matching what the CLI scaffolds; no CLI source baked the old package name (manifest handling is template-name based). Full suite passes: 18/18. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 170f509 commit 7381194

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/create/src/utils/download.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const TEMPLATES_REPO = { owner: "solidjs", name: "templates" } as const;
99
* later reorganizations of the templates repo. `undefined` means live HEAD of the
1010
* default branch, which is the historical behavior.
1111
*/
12-
export const TEMPLATES_REF: string | undefined = "4f54cb7e3362037c43cece30bb7f228becfddcee";
12+
export const TEMPLATES_REF: string | undefined = "6f2ef070adf5d3ad981c94cc891256def7090067";
1313

1414
/** `SOLID_CLI_TEMPLATES_REF` overrides the baked ref, for testing against branches/forks */
1515
export const templatesRef = () => process.env.SOLID_CLI_TEMPLATES_REF || TEMPLATES_REF;

packages/create/tests/fixtures/solid-v2-basic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
"license": "MIT",
1414
"devDependencies": {
1515
"@solidjs/testing-library": "1.0.0-beta.2",
16+
"@solidjs/vite-plugin": "3.0.0-next.27",
1617
"@testing-library/jest-dom": "^6.6.3",
1718
"filesystem-routing": "0.2.1",
1819
"jsdom": "^25.0.1",
1920
"typescript": "^5.9.2",
2021
"vite": "^8.1.5",
21-
"vite-plugin-solid": "3.0.0-next.24",
2222
"vitest": "^4.0.0"
2323
},
2424
"dependencies": {

packages/create/tests/fixtures/solid-v2-basic/vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { fileRoutes } from 'filesystem-routing/vite';
22
import { defineConfig } from 'vitest/config';
3-
import solid from 'vite-plugin-solid';
3+
import solid from '@solidjs/vite-plugin';
44

55
export default defineConfig({
66
// Turnkey client mode: no index.html and no mount file — the plugin
77
// generates the entries around src/App.tsx, wrapped in src/Document.tsx
88
// (or a built-in shell). `vite build` prerenders the shell into
99
// dist/client/index.html and emits a purely static dist/client.
1010
plugins: [
11-
// `extensions` makes vite-plugin-solid also compile the `?pick=` route
11+
// `extensions` makes @solidjs/vite-plugin also compile the `?pick=` route
1212
// modules the fileRoutes plugin emits (their ids end in a query string).
1313
solid({ start: true, extensions: ['.jsx', '.tsx'] }), // add `ssr: true` for streaming SSR
1414
fileRoutes(),

0 commit comments

Comments
 (0)