@tanstack/vue-start 1.167.35 → 1.167.37

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.
@@ -0,0 +1,3 @@
1
+ import { TanStackStartRsbuildInputConfig } from '@tanstack/start-plugin-core';
2
+ import { RsbuildPlugin } from '@rsbuild/core';
3
+ export declare function tanstackStart(options?: TanStackStartRsbuildInputConfig): RsbuildPlugin;
@@ -0,0 +1,15 @@
1
+ import { vueStartDefaultEntryPaths } from "./shared.js";
2
+ import { START_ENVIRONMENT_NAMES, tanStackStartRsbuild } from "@tanstack/start-plugin-core";
3
+ //#region src/plugin/rsbuild.ts
4
+ function tanstackStart(options) {
5
+ return tanStackStartRsbuild({
6
+ framework: "vue",
7
+ defaultEntryPaths: vueStartDefaultEntryPaths,
8
+ providerEnvironmentName: START_ENVIRONMENT_NAMES.server,
9
+ ssrIsProvider: true
10
+ }, options);
11
+ }
12
+ //#endregion
13
+ export { tanstackStart };
14
+
15
+ //# sourceMappingURL=rsbuild.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rsbuild.js","names":[],"sources":["../../../src/plugin/rsbuild.ts"],"sourcesContent":["import {\n START_ENVIRONMENT_NAMES,\n tanStackStartRsbuild,\n} from '@tanstack/start-plugin-core'\nimport { vueStartDefaultEntryPaths } from './shared'\nimport type { TanStackStartRsbuildPluginCoreOptions } from '@tanstack/start-plugin-core/rsbuild/types'\nimport type { TanStackStartRsbuildInputConfig } from '@tanstack/start-plugin-core'\nimport type { RsbuildPlugin } from '@rsbuild/core'\n\nexport function tanstackStart(\n options?: TanStackStartRsbuildInputConfig,\n): RsbuildPlugin {\n const corePluginOpts: TanStackStartRsbuildPluginCoreOptions = {\n framework: 'vue',\n defaultEntryPaths: vueStartDefaultEntryPaths,\n providerEnvironmentName: START_ENVIRONMENT_NAMES.server,\n ssrIsProvider: true,\n }\n\n return tanStackStartRsbuild(corePluginOpts, options)\n}\n"],"mappings":";;;AASA,SAAgB,cACd,SACe;AAQf,QAAO,qBAPuD;EAC5D,WAAW;EACX,mBAAmB;EACnB,yBAAyB,wBAAwB;EACjD,eAAe;EAChB,EAE2C,QAAQ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/vue-start",
3
- "version": "1.167.35",
3
+ "version": "1.167.37",
4
4
  "description": "Modern and scalable routing for Vue applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -68,6 +68,12 @@
68
68
  "default": "./dist/esm/plugin/vite.js"
69
69
  }
70
70
  },
71
+ "./plugin/rsbuild": {
72
+ "import": {
73
+ "types": "./dist/esm/plugin/rsbuild.d.ts",
74
+ "default": "./dist/esm/plugin/rsbuild.js"
75
+ }
76
+ },
71
77
  "./server-entry": {
72
78
  "import": {
73
79
  "types": "./dist/default-entry/esm/server.d.ts",
@@ -101,24 +107,31 @@
101
107
  },
102
108
  "dependencies": {
103
109
  "pathe": "^2.0.3",
104
- "@tanstack/vue-start-client": "1.166.35",
105
- "@tanstack/start-plugin-core": "1.167.34",
106
- "@tanstack/vue-start-server": "1.166.36",
107
- "@tanstack/vue-router": "1.168.19",
108
110
  "@tanstack/start-client-core": "1.167.17",
109
- "@tanstack/start-server-core": "1.167.19"
111
+ "@tanstack/start-plugin-core": "1.168.0",
112
+ "@tanstack/start-server-core": "1.167.19",
113
+ "@tanstack/vue-router": "1.168.19",
114
+ "@tanstack/vue-start-client": "1.166.35",
115
+ "@tanstack/vue-start-server": "1.166.36"
110
116
  },
111
117
  "devDependencies": {
118
+ "@rsbuild/core": "^2.0.0",
112
119
  "@tanstack/intent": "^0.0.14",
120
+ "@types/node": ">=20",
113
121
  "@vitejs/plugin-vue-jsx": "^4.1.2",
114
122
  "vite": "*",
115
123
  "vue": "^3.5.25",
116
- "@types/node": ">=20",
117
- "@tanstack/router-utils": "1.161.6"
124
+ "@tanstack/router-utils": "1.161.7"
118
125
  },
119
126
  "peerDependencies": {
120
- "vue": "^3.3.0",
121
- "vite": ">=7.0.0"
127
+ "@rsbuild/core": "^2.0.0",
128
+ "vite": ">=7.0.0",
129
+ "vue": "^3.3.0"
130
+ },
131
+ "peerDependenciesMeta": {
132
+ "@rsbuild/core": {
133
+ "optional": true
134
+ }
122
135
  },
123
136
  "bin": {
124
137
  "intent": "./bin/intent.js"
@@ -0,0 +1,21 @@
1
+ import {
2
+ START_ENVIRONMENT_NAMES,
3
+ tanStackStartRsbuild,
4
+ } from '@tanstack/start-plugin-core'
5
+ import { vueStartDefaultEntryPaths } from './shared'
6
+ import type { TanStackStartRsbuildPluginCoreOptions } from '@tanstack/start-plugin-core/rsbuild/types'
7
+ import type { TanStackStartRsbuildInputConfig } from '@tanstack/start-plugin-core'
8
+ import type { RsbuildPlugin } from '@rsbuild/core'
9
+
10
+ export function tanstackStart(
11
+ options?: TanStackStartRsbuildInputConfig,
12
+ ): RsbuildPlugin {
13
+ const corePluginOpts: TanStackStartRsbuildPluginCoreOptions = {
14
+ framework: 'vue',
15
+ defaultEntryPaths: vueStartDefaultEntryPaths,
16
+ providerEnvironmentName: START_ENVIRONMENT_NAMES.server,
17
+ ssrIsProvider: true,
18
+ }
19
+
20
+ return tanStackStartRsbuild(corePluginOpts, options)
21
+ }