@tanstack/solid-start 1.120.5 → 1.121.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +26 -17
  2. package/dist/cjs/{config.cjs → plugin-vite.cjs} +4 -4
  3. package/dist/cjs/plugin-vite.cjs.map +1 -0
  4. package/dist/cjs/plugin-vite.d.cts +1 -0
  5. package/dist/esm/plugin-vite.d.ts +1 -0
  6. package/dist/esm/plugin-vite.js +2 -0
  7. package/dist/esm/plugin-vite.js.map +1 -0
  8. package/package.json +14 -57
  9. package/src/plugin-vite.ts +1 -0
  10. package/dist/cjs/api.cjs +0 -10
  11. package/dist/cjs/api.cjs.map +0 -1
  12. package/dist/cjs/api.d.cts +0 -1
  13. package/dist/cjs/config.cjs.map +0 -1
  14. package/dist/cjs/config.d.cts +0 -1
  15. package/dist/cjs/router-manifest.cjs +0 -10
  16. package/dist/cjs/router-manifest.cjs.map +0 -1
  17. package/dist/cjs/router-manifest.d.cts +0 -1
  18. package/dist/cjs/server-functions-handler.d.cts +0 -1
  19. package/dist/cjs/server-functions-ssr.cjs +0 -10
  20. package/dist/cjs/server-functions-ssr.cjs.map +0 -1
  21. package/dist/cjs/server-functions-ssr.d.cts +0 -1
  22. package/dist/esm/api.d.ts +0 -1
  23. package/dist/esm/api.js +0 -2
  24. package/dist/esm/api.js.map +0 -1
  25. package/dist/esm/config.d.ts +0 -1
  26. package/dist/esm/config.js +0 -2
  27. package/dist/esm/config.js.map +0 -1
  28. package/dist/esm/router-manifest.d.ts +0 -1
  29. package/dist/esm/router-manifest.js +0 -2
  30. package/dist/esm/router-manifest.js.map +0 -1
  31. package/dist/esm/server-functions-handler.d.ts +0 -1
  32. package/dist/esm/server-functions-ssr.d.ts +0 -1
  33. package/dist/esm/server-functions-ssr.js +0 -2
  34. package/dist/esm/server-functions-ssr.js.map +0 -1
  35. package/src/api.tsx +0 -1
  36. package/src/config.tsx +0 -1
  37. package/src/router-manifest.tsx +0 -1
  38. package/src/server-functions-handler.tsx +0 -1
  39. package/src/server-functions-ssr.tsx +0 -1
package/README.md CHANGED
@@ -1,33 +1,42 @@
1
- > 🤫 we're cooking up something special!
2
-
3
1
  <img src="https://static.scarf.sh/a.png?x-pxid=d988eb79-b0fc-4a2b-8514-6a1ab932d188" />
4
2
 
5
- # TanStack Start
3
+ # TanStack Solid Start
6
4
 
7
- ![TanStack Router Header](https://github.com/tanstack/router/raw/main/media/header.png)
5
+ ![TanStack Solid Start Header](https://github.com/tanstack/router/raw/main/media/header.png)
8
6
 
9
- 🤖 Type-safe router w/ built-in caching & URL state management for Solid! (Experimental)
7
+ SSR, Streaming, Server Functions, API Routes, bundling and more powered by [TanStack Router](https://tanstack.com/router) and Vite. Ready to deploy to your favorite hosting provider.
10
8
 
11
9
  <a href="https://twitter.com/intent/tweet?button_hashtag=TanStack" target="\_parent">
12
10
  <img alt="#TanStack" src="https://img.shields.io/twitter/url?color=%2308a0e9&label=%23TanStack&style=social&url=https%3A%2F%2Ftwitter.com%2Fintent%2Ftweet%3Fbutton_hashtag%3DTanStack">
13
- </a><a href="https://discord.com/invite/WrRKjPJ" target="\_parent">
11
+ </a>
12
+ <a href="https://discord.com/invite/WrRKjPJ" target="\_parent">
14
13
  <img alt="" src="https://img.shields.io/badge/Discord-TanStack-%235865F2" />
15
- </a><a href="https://npmjs.com/package/@tanstack/react-router" target="\_parent">
16
- <img alt="" src="https://img.shields.io/npm/dm/@tanstack/router.svg" />
17
- </a><a href="https://bundlephobia.com/result?p=@tanstack/react-router" target="\_parent">
18
- <img alt="" src="https://badgen.net/bundlephobia/minzip/@tanstack/react-router" />
19
- </a><a href="#badge">
20
- <img alt="semantic-release" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg">
21
- </a><a href="https://github.com/tanstack/router/discussions">
14
+ </a>
15
+ <a href="https://npmjs.com/package/@tanstack/solid-start" target="\_parent">
16
+ <img alt="" src="https://img.shields.io/npm/dm/@tanstack/solid-start.svg" />
17
+ </a>
18
+ <a href="https://bundlephobia.com/result?p=@tanstack/solid-start" target="\_parent">
19
+ <img alt="" src="https://badgen.net/bundlephobia/minzip/@tanstack/solid-start" />
20
+ </a>
21
+ <a href="#badge">
22
+ <img alt="semantic-release" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg">
23
+ </a>
24
+ <a href="https://github.com/tanstack/router/discussions">
22
25
  <img alt="Join the discussion on Github" src="https://img.shields.io/badge/Github%20Discussions%20%26%20Support-Chat%20now!-blue" />
23
- </a><a href="https://bestofjs.org/projects/router"><img alt="Best of JS" src="https://img.shields.io/endpoint?url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=tanstack%2Frouter%26since=daily" /></a><a href="https://github.com/tanstack/router" target="\_parent">
26
+ </a>
27
+ <a href="https://bestofjs.org/projects/router">
28
+ <img alt="Best of JS" src="https://img.shields.io/endpoint?url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=tanstack%2Frouter%26since=daily" />
29
+ </a>
30
+ <a href="https://github.com/tanstack/router" target="\_parent">
24
31
  <img alt="" src="https://img.shields.io/github/stars/tanstack/router.svg?style=social&label=Star" />
25
- </a><a href="https://twitter.com/tan_stack" target="\_parent">
32
+ </a>
33
+ <a href="https://twitter.com/tan_stack" target="\_parent">
26
34
  <img alt="" src="https://img.shields.io/twitter/follow/tan_stack.svg?style=social&label=Follow @TanStack" />
27
- </a><a href="https://twitter.com/tannerlinsley" target="\_parent">
35
+ </a>
36
+ <a href="https://twitter.com/tannerlinsley" target="\_parent">
28
37
  <img alt="" src="https://img.shields.io/twitter/follow/tannerlinsley.svg?style=social&label=Follow @TannerLinsley" />
29
38
  </a>
30
39
 
31
40
  Enjoy this library? Try the entire [TanStack](https://tanstack.com)! [React Query](https://github.com/tannerlinsley/react-query), [React Table](https://github.com/tanstack/react-table), [React Charts](https://github.com/tannerlinsley/react-charts), [React Virtual](https://github.com/tannerlinsley/react-virtual)
32
41
 
33
- ## Visit [tanstack.com/router](https://tanstack.com/router) for docs, guides, API and more!
42
+ Visit [tanstack.com/start](https://tanstack.com/start) for docs, guides, API and more!
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const solidStartConfig = require("@tanstack/solid-start-config");
4
- Object.keys(solidStartConfig).forEach((k) => {
3
+ const solidStartPlugin = require("@tanstack/solid-start-plugin");
4
+ Object.keys(solidStartPlugin).forEach((k) => {
5
5
  if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
6
6
  enumerable: true,
7
- get: () => solidStartConfig[k]
7
+ get: () => solidStartPlugin[k]
8
8
  });
9
9
  });
10
- //# sourceMappingURL=config.cjs.map
10
+ //# sourceMappingURL=plugin-vite.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-vite.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -0,0 +1 @@
1
+ export * from '@tanstack/solid-start-plugin';
@@ -0,0 +1 @@
1
+ export * from '@tanstack/solid-start-plugin';
@@ -0,0 +1,2 @@
1
+ export * from "@tanstack/solid-start-plugin";
2
+ //# sourceMappingURL=plugin-vite.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-vite.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@tanstack/solid-start",
3
- "version": "1.120.5",
3
+ "version": "1.121.0-alpha.2",
4
4
  "description": "Modern and scalable routing for Solid applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "https://github.com/TanStack/router.git",
10
- "directory": "packages/start"
10
+ "directory": "packages/solid-start"
11
11
  },
12
12
  "homepage": "https://tanstack.com/start",
13
13
  "funding": {
@@ -56,34 +56,14 @@
56
56
  "default": "./dist/cjs/server.cjs"
57
57
  }
58
58
  },
59
- "./config": {
59
+ "./plugin/vite": {
60
60
  "import": {
61
- "types": "./dist/esm/config.d.ts",
62
- "default": "./dist/esm/config.js"
61
+ "types": "./dist/esm/plugin-vite.d.ts",
62
+ "default": "./dist/esm/plugin-vite.js"
63
63
  },
64
64
  "require": {
65
- "types": "./dist/cjs/config.d.cts",
66
- "default": "./dist/cjs/config.cjs"
67
- }
68
- },
69
- "./api": {
70
- "import": {
71
- "types": "./dist/esm/api.d.ts",
72
- "default": "./dist/esm/api.js"
73
- },
74
- "require": {
75
- "types": "./dist/cjs/api.d.cts",
76
- "default": "./dist/cjs/api.cjs"
77
- }
78
- },
79
- "./router-manifest": {
80
- "import": {
81
- "types": "./dist/esm/router-manifest.d.ts",
82
- "default": "./dist/esm/router-manifest.js"
83
- },
84
- "require": {
85
- "types": "./dist/cjs/router-manifest.d.cts",
86
- "default": "./dist/cjs/router-manifest.cjs"
65
+ "types": "./dist/cjs/plugin-vite.d.cts",
66
+ "default": "./dist/cjs/plugin-vite.cjs"
87
67
  }
88
68
  },
89
69
  "./server-functions-client": {
@@ -106,26 +86,6 @@
106
86
  "default": "./dist/cjs/server-functions-server.cjs"
107
87
  }
108
88
  },
109
- "./server-functions-handler": {
110
- "import": {
111
- "types": "./dist/esm/server-functions-handler.d.ts",
112
- "default": "./dist/esm/server-functions-handler.js"
113
- },
114
- "require": {
115
- "types": "./dist/cjs/server-functions-handler.d.cts",
116
- "default": "./dist/cjs/server-functions-handler.cjs"
117
- }
118
- },
119
- "./server-functions-ssr": {
120
- "import": {
121
- "types": "./dist/esm/server-functions-ssr.d.ts",
122
- "default": "./dist/esm/server-functions-ssr.js"
123
- },
124
- "require": {
125
- "types": "./dist/cjs/server-functions-ssr.d.cts",
126
- "default": "./dist/cjs/server-functions-ssr.cjs"
127
- }
128
- },
129
89
  "./package.json": "./package.json"
130
90
  },
131
91
  "sideEffects": false,
@@ -137,19 +97,16 @@
137
97
  "node": ">=12"
138
98
  },
139
99
  "dependencies": {
140
- "@tanstack/solid-start-client": "^1.120.5",
141
- "@tanstack/solid-start-server": "^1.120.5",
142
- "@tanstack/solid-start-config": "^1.120.5",
143
- "@tanstack/start-server-functions-client": "^1.120.5",
144
- "@tanstack/start-server-functions-server": "^1.119.2",
145
- "@tanstack/solid-start-router-manifest": "^1.120.5",
146
- "@tanstack/start-server-functions-handler": "^1.120.5",
147
- "@tanstack/start-server-functions-ssr": "^1.120.5",
148
- "@tanstack/start-api-routes": "^1.120.5"
100
+ "@tanstack/solid-start-client": "^1.121.0-alpha.1",
101
+ "@tanstack/solid-start-plugin": "^1.121.0-alpha.2",
102
+ "@tanstack/start-server-functions-client": "^1.121.0-alpha.2",
103
+ "@tanstack/solid-start-server": "^1.121.0-alpha.1",
104
+ "@tanstack/start-server-functions-server": "^1.121.0-alpha.2"
149
105
  },
150
106
  "peerDependencies": {
151
107
  "solid-js": ">=1.0.0",
152
- "vite": "^6.0.0"
108
+ "vite": ">=6.0.0",
109
+ "vite-plugin-solid": ">=2.11.6"
153
110
  },
154
111
  "devDependencies": {
155
112
  "esbuild": "^0.25.0"
@@ -0,0 +1 @@
1
+ export * from '@tanstack/solid-start-plugin'
package/dist/cjs/api.cjs DELETED
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const startApiRoutes = require("@tanstack/start-api-routes");
4
- Object.keys(startApiRoutes).forEach((k) => {
5
- if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
6
- enumerable: true,
7
- get: () => startApiRoutes[k]
8
- });
9
- });
10
- //# sourceMappingURL=api.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -1 +0,0 @@
1
- export * from '@tanstack/start-api-routes';
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -1 +0,0 @@
1
- export * from '@tanstack/solid-start-config';
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const solidStartRouterManifest = require("@tanstack/solid-start-router-manifest");
4
- Object.keys(solidStartRouterManifest).forEach((k) => {
5
- if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
6
- enumerable: true,
7
- get: () => solidStartRouterManifest[k]
8
- });
9
- });
10
- //# sourceMappingURL=router-manifest.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"router-manifest.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -1 +0,0 @@
1
- export * from '@tanstack/solid-start-router-manifest';
@@ -1 +0,0 @@
1
- export * from '@tanstack/start-server-functions-handler';
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const startServerFunctionsSsr = require("@tanstack/start-server-functions-ssr");
4
- Object.keys(startServerFunctionsSsr).forEach((k) => {
5
- if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
6
- enumerable: true,
7
- get: () => startServerFunctionsSsr[k]
8
- });
9
- });
10
- //# sourceMappingURL=server-functions-ssr.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"server-functions-ssr.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -1 +0,0 @@
1
- export * from '@tanstack/start-server-functions-ssr';
package/dist/esm/api.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@tanstack/start-api-routes';
package/dist/esm/api.js DELETED
@@ -1,2 +0,0 @@
1
- export * from "@tanstack/start-api-routes";
2
- //# sourceMappingURL=api.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1 +0,0 @@
1
- export * from '@tanstack/solid-start-config';
@@ -1,2 +0,0 @@
1
- export * from "@tanstack/solid-start-config";
2
- //# sourceMappingURL=config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1 +0,0 @@
1
- export * from '@tanstack/solid-start-router-manifest';
@@ -1,2 +0,0 @@
1
- export * from "@tanstack/solid-start-router-manifest";
2
- //# sourceMappingURL=router-manifest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"router-manifest.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1 +0,0 @@
1
- export * from '@tanstack/start-server-functions-handler';
@@ -1 +0,0 @@
1
- export * from '@tanstack/start-server-functions-ssr';
@@ -1,2 +0,0 @@
1
- export * from "@tanstack/start-server-functions-ssr";
2
- //# sourceMappingURL=server-functions-ssr.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"server-functions-ssr.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/src/api.tsx DELETED
@@ -1 +0,0 @@
1
- export * from '@tanstack/start-api-routes'
package/src/config.tsx DELETED
@@ -1 +0,0 @@
1
- export * from '@tanstack/solid-start-config'
@@ -1 +0,0 @@
1
- export * from '@tanstack/solid-start-router-manifest'
@@ -1 +0,0 @@
1
- export * from '@tanstack/start-server-functions-handler'
@@ -1 +0,0 @@
1
- export * from '@tanstack/start-server-functions-ssr'