@tanstack/solid-start 1.120.4-alpha.9 → 1.120.4

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 +17 -26
  2. package/dist/cjs/api.cjs +10 -0
  3. package/dist/cjs/api.cjs.map +1 -0
  4. package/dist/cjs/api.d.cts +1 -0
  5. package/dist/cjs/{plugin-vite.cjs → config.cjs} +4 -4
  6. package/dist/cjs/config.cjs.map +1 -0
  7. package/dist/cjs/config.d.cts +1 -0
  8. package/dist/cjs/router-manifest.cjs +10 -0
  9. package/dist/cjs/router-manifest.cjs.map +1 -0
  10. package/dist/cjs/router-manifest.d.cts +1 -0
  11. package/dist/cjs/server-functions-handler.d.cts +1 -0
  12. package/dist/cjs/server-functions-ssr.cjs +10 -0
  13. package/dist/cjs/server-functions-ssr.cjs.map +1 -0
  14. package/dist/cjs/server-functions-ssr.d.cts +1 -0
  15. package/dist/esm/api.d.ts +1 -0
  16. package/dist/esm/api.js +2 -0
  17. package/dist/esm/api.js.map +1 -0
  18. package/dist/esm/config.d.ts +1 -0
  19. package/dist/esm/config.js +2 -0
  20. package/dist/esm/config.js.map +1 -0
  21. package/dist/esm/router-manifest.d.ts +1 -0
  22. package/dist/esm/router-manifest.js +2 -0
  23. package/dist/esm/router-manifest.js.map +1 -0
  24. package/dist/esm/server-functions-handler.d.ts +1 -0
  25. package/dist/esm/server-functions-ssr.d.ts +1 -0
  26. package/dist/esm/server-functions-ssr.js +2 -0
  27. package/dist/esm/server-functions-ssr.js.map +1 -0
  28. package/package.json +57 -14
  29. package/src/api.tsx +1 -0
  30. package/src/config.tsx +1 -0
  31. package/src/router-manifest.tsx +1 -0
  32. package/src/server-functions-handler.tsx +1 -0
  33. package/src/server-functions-ssr.tsx +1 -0
  34. package/dist/cjs/plugin-vite.cjs.map +0 -1
  35. package/dist/cjs/plugin-vite.d.cts +0 -1
  36. package/dist/esm/plugin-vite.d.ts +0 -1
  37. package/dist/esm/plugin-vite.js +0 -2
  38. package/dist/esm/plugin-vite.js.map +0 -1
  39. package/src/plugin-vite.ts +0 -1
package/README.md CHANGED
@@ -1,42 +1,33 @@
1
+ > 🤫 we're cooking up something special!
2
+
1
3
  <img src="https://static.scarf.sh/a.png?x-pxid=d988eb79-b0fc-4a2b-8514-6a1ab932d188" />
2
4
 
3
- # TanStack Solid Start
5
+ # TanStack Start
4
6
 
5
- ![TanStack Solid Start Header](https://github.com/tanstack/router/raw/main/media/header.png)
7
+ ![TanStack Router Header](https://github.com/tanstack/router/raw/main/media/header.png)
6
8
 
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.
9
+ 🤖 Type-safe router w/ built-in caching & URL state management for Solid! (Experimental)
8
10
 
9
11
  <a href="https://twitter.com/intent/tweet?button_hashtag=TanStack" target="\_parent">
10
12
  <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">
11
- </a>
12
- <a href="https://discord.com/invite/WrRKjPJ" target="\_parent">
13
+ </a><a href="https://discord.com/invite/WrRKjPJ" target="\_parent">
13
14
  <img alt="" src="https://img.shields.io/badge/Discord-TanStack-%235865F2" />
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">
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">
25
22
  <img alt="Join the discussion on Github" src="https://img.shields.io/badge/Github%20Discussions%20%26%20Support-Chat%20now!-blue" />
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">
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">
31
24
  <img alt="" src="https://img.shields.io/github/stars/tanstack/router.svg?style=social&label=Star" />
32
- </a>
33
- <a href="https://twitter.com/tan_stack" target="\_parent">
25
+ </a><a href="https://twitter.com/tan_stack" target="\_parent">
34
26
  <img alt="" src="https://img.shields.io/twitter/follow/tan_stack.svg?style=social&label=Follow @TanStack" />
35
- </a>
36
- <a href="https://twitter.com/tannerlinsley" target="\_parent">
27
+ </a><a href="https://twitter.com/tannerlinsley" target="\_parent">
37
28
  <img alt="" src="https://img.shields.io/twitter/follow/tannerlinsley.svg?style=social&label=Follow @TannerLinsley" />
38
29
  </a>
39
30
 
40
31
  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)
41
32
 
42
- Visit [tanstack.com/start](https://tanstack.com/start) for docs, guides, API and more!
33
+ ## Visit [tanstack.com/router](https://tanstack.com/router) for docs, guides, API and more!
@@ -0,0 +1,10 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -0,0 +1 @@
1
+ export * from '@tanstack/start-api-routes';
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const solidStartPlugin = require("@tanstack/solid-start-plugin");
4
- Object.keys(solidStartPlugin).forEach((k) => {
3
+ const solidStartConfig = require("@tanstack/solid-start-config");
4
+ Object.keys(solidStartConfig).forEach((k) => {
5
5
  if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
6
6
  enumerable: true,
7
- get: () => solidStartPlugin[k]
7
+ get: () => solidStartConfig[k]
8
8
  });
9
9
  });
10
- //# sourceMappingURL=plugin-vite.cjs.map
10
+ //# sourceMappingURL=config.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -0,0 +1 @@
1
+ export * from '@tanstack/solid-start-config';
@@ -0,0 +1,10 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"router-manifest.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -0,0 +1 @@
1
+ export * from '@tanstack/solid-start-router-manifest';
@@ -0,0 +1 @@
1
+ export * from '@tanstack/start-server-functions-handler';
@@ -0,0 +1,10 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server-functions-ssr.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -0,0 +1 @@
1
+ export * from '@tanstack/start-server-functions-ssr';
@@ -0,0 +1 @@
1
+ export * from '@tanstack/start-api-routes';
@@ -0,0 +1,2 @@
1
+ export * from "@tanstack/start-api-routes";
2
+ //# sourceMappingURL=api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1 @@
1
+ export * from '@tanstack/solid-start-config';
@@ -0,0 +1,2 @@
1
+ export * from "@tanstack/solid-start-config";
2
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1 @@
1
+ export * from '@tanstack/solid-start-router-manifest';
@@ -0,0 +1,2 @@
1
+ export * from "@tanstack/solid-start-router-manifest";
2
+ //# sourceMappingURL=router-manifest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"router-manifest.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1 @@
1
+ export * from '@tanstack/start-server-functions-handler';
@@ -0,0 +1 @@
1
+ export * from '@tanstack/start-server-functions-ssr';
@@ -0,0 +1,2 @@
1
+ export * from "@tanstack/start-server-functions-ssr";
2
+ //# sourceMappingURL=server-functions-ssr.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server-functions-ssr.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.4-alpha.9",
3
+ "version": "1.120.4",
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/solid-start"
10
+ "directory": "packages/start"
11
11
  },
12
12
  "homepage": "https://tanstack.com/start",
13
13
  "funding": {
@@ -56,14 +56,34 @@
56
56
  "default": "./dist/cjs/server.cjs"
57
57
  }
58
58
  },
59
- "./plugin/vite": {
59
+ "./config": {
60
60
  "import": {
61
- "types": "./dist/esm/plugin-vite.d.ts",
62
- "default": "./dist/esm/plugin-vite.js"
61
+ "types": "./dist/esm/config.d.ts",
62
+ "default": "./dist/esm/config.js"
63
63
  },
64
64
  "require": {
65
- "types": "./dist/cjs/plugin-vite.d.cts",
66
- "default": "./dist/cjs/plugin-vite.cjs"
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"
67
87
  }
68
88
  },
69
89
  "./server-functions-client": {
@@ -86,6 +106,26 @@
86
106
  "default": "./dist/cjs/server-functions-server.cjs"
87
107
  }
88
108
  },
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
+ },
89
129
  "./package.json": "./package.json"
90
130
  },
91
131
  "sideEffects": false,
@@ -97,16 +137,19 @@
97
137
  "node": ">=12"
98
138
  },
99
139
  "dependencies": {
100
- "@tanstack/solid-start-server": "^1.120.4-alpha.8",
101
- "@tanstack/start-server-functions-client": "^1.120.4-alpha.3",
102
- "@tanstack/start-server-functions-server": "^1.120.4-alpha.3",
103
- "@tanstack/solid-start-plugin": "^1.120.4-alpha.9",
104
- "@tanstack/solid-start-client": "^1.120.4-alpha.1"
140
+ "@tanstack/solid-start-server": "^1.120.4",
141
+ "@tanstack/solid-start-config": "^1.120.4",
142
+ "@tanstack/solid-start-client": "^1.120.4",
143
+ "@tanstack/start-server-functions-client": "^1.120.4",
144
+ "@tanstack/solid-start-router-manifest": "^1.120.4",
145
+ "@tanstack/start-server-functions-server": "^1.119.2",
146
+ "@tanstack/start-server-functions-handler": "^1.120.4",
147
+ "@tanstack/start-server-functions-ssr": "^1.120.4",
148
+ "@tanstack/start-api-routes": "^1.120.4"
105
149
  },
106
150
  "peerDependencies": {
107
151
  "solid-js": ">=1.0.0",
108
- "vite": ">=6.0.0",
109
- "vite-plugin-solid": ">=2.11.6"
152
+ "vite": "^6.0.0"
110
153
  },
111
154
  "devDependencies": {
112
155
  "esbuild": "^0.25.0"
package/src/api.tsx ADDED
@@ -0,0 +1 @@
1
+ export * from '@tanstack/start-api-routes'
package/src/config.tsx ADDED
@@ -0,0 +1 @@
1
+ export * from '@tanstack/solid-start-config'
@@ -0,0 +1 @@
1
+ export * from '@tanstack/solid-start-router-manifest'
@@ -0,0 +1 @@
1
+ export * from '@tanstack/start-server-functions-handler'
@@ -0,0 +1 @@
1
+ export * from '@tanstack/start-server-functions-ssr'
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin-vite.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -1 +0,0 @@
1
- export * from '@tanstack/solid-start-plugin';
@@ -1 +0,0 @@
1
- export * from '@tanstack/solid-start-plugin';
@@ -1,2 +0,0 @@
1
- export * from "@tanstack/solid-start-plugin";
2
- //# sourceMappingURL=plugin-vite.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin-vite.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1 +0,0 @@
1
- export * from '@tanstack/solid-start-plugin'