@valbuild/tanstack 0.136.1 → 0.136.3
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.
- package/CHANGELOG.md +30 -0
- package/dist/declarations/src/server/initValServer.d.ts +11 -0
- package/dist/valbuild-tanstack.cjs.dev.js +1 -1
- package/dist/valbuild-tanstack.cjs.prod.js +1 -1
- package/dist/valbuild-tanstack.esm.js +1 -1
- package/dist/{version-eb1cf21e.esm.js → version-024bb5fc.esm.js} +1 -1
- package/dist/{version-abf2eb56.cjs.prod.js → version-cbebefe4.cjs.dev.js} +1 -1
- package/dist/{version-e63e1b48.cjs.dev.js → version-fc40a0f6.cjs.prod.js} +1 -1
- package/package.json +7 -7
- package/server/dist/valbuild-tanstack-server.cjs.dev.js +1 -1
- package/server/dist/valbuild-tanstack-server.cjs.prod.js +1 -1
- package/server/dist/valbuild-tanstack-server.esm.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @valbuild/tanstack
|
|
2
2
|
|
|
3
|
+
## 0.136.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#726](https://github.com/valbuild/val/pull/726) [`3b19534`](https://github.com/valbuild/val/commit/3b19534bb7aa16452a104906d9594083c3bc3e89) Thanks [@freekh](https://github.com/freekh)! - A Studio publish of a project with no repository now ships every edit that was saved, and keeps the site styled.
|
|
8
|
+
|
|
9
|
+
- A host that embeds the project's source can hand it to Val as `projectSource` (`initValServer(..., { http: { projectSource } })`). A publish then patches that text, not text fetched from the content service at a commit, which a project with no repository does not have. The build platform's wiring passes the build's own source, so `.val.ts` can be rendered for a project made on `/new`. Before, its first save produced no files, and the build that followed carried none of the save's edits.
|
|
10
|
+
- New route `GET /api/val/built-source`: the `.val.ts` text of every module changed since the running build, with every commit since it applied. The Studio builds from it, so an edit whose own publish failed, and a Finish publishing, are no longer left out of the next build.
|
|
11
|
+
- A Studio build that compiles no stylesheet (a browser cannot run Tailwind `@plugin`s) keeps the live site's. A Studio save never changes a stylesheet or a component, so the live CSS is still the right one.
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`38d24f7`](https://github.com/valbuild/val/commit/38d24f723639ee109d1007854507c4571bc82575), [`3b19534`](https://github.com/valbuild/val/commit/3b19534bb7aa16452a104906d9594083c3bc3e89), [`fa28164`](https://github.com/valbuild/val/commit/fa28164dfd1e05ff53eccf375334741d857fd2ef)]:
|
|
14
|
+
- @valbuild/ui@0.136.3
|
|
15
|
+
- @valbuild/server@0.136.3
|
|
16
|
+
- @valbuild/shared@0.136.3
|
|
17
|
+
- @valbuild/react@0.136.3
|
|
18
|
+
- @valbuild/language-server@0.136.3
|
|
19
|
+
- @valbuild/mcp@0.136.3
|
|
20
|
+
|
|
21
|
+
## 0.136.2
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [[`f76cd56`](https://github.com/valbuild/val/commit/f76cd56b9f1c1bcc0a608a7a4de24b1e776adccb)]:
|
|
26
|
+
- @valbuild/ui@0.136.2
|
|
27
|
+
- @valbuild/server@0.136.2
|
|
28
|
+
- @valbuild/shared@0.136.2
|
|
29
|
+
- @valbuild/react@0.136.2
|
|
30
|
+
- @valbuild/language-server@0.136.2
|
|
31
|
+
- @valbuild/mcp@0.136.2
|
|
32
|
+
|
|
3
33
|
## 0.136.1
|
|
4
34
|
|
|
5
35
|
### Patch Changes
|
|
@@ -47,6 +47,17 @@ export type ValHttpMode = {
|
|
|
47
47
|
* commits go here.
|
|
48
48
|
*/
|
|
49
49
|
valContentUrl?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The project's own source, by path with no leading slash, as this build was
|
|
52
|
+
* made from it.
|
|
53
|
+
*
|
|
54
|
+
* For a host that builds the project itself and embeds its source -- the
|
|
55
|
+
* build platform does, as `platform:project-source`. With it, a publish
|
|
56
|
+
* patches THIS text rather than fetching it from the content service at a
|
|
57
|
+
* commit, which is the only way a project with no repository can produce
|
|
58
|
+
* `.val.ts` at all.
|
|
59
|
+
*/
|
|
60
|
+
projectSource?: Record<string, string>;
|
|
50
61
|
};
|
|
51
62
|
export declare function initValServer(valModules: ValModules, config: ValConfig & {
|
|
52
63
|
disableCache?: boolean;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var version = require('./version-
|
|
5
|
+
var version = require('./version-cbebefe4.cjs.dev.js');
|
|
6
6
|
var createForOfIteratorHelper = require('./createForOfIteratorHelper-e75681d7.cjs.dev.js');
|
|
7
7
|
var core = require('@valbuild/core');
|
|
8
8
|
var stega = require('@valbuild/react/stega');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var version = require('./version-
|
|
5
|
+
var version = require('./version-fc40a0f6.cjs.prod.js');
|
|
6
6
|
var createForOfIteratorHelper = require('./createForOfIteratorHelper-0324e063.cjs.prod.js');
|
|
7
7
|
var core = require('@valbuild/core');
|
|
8
8
|
var stega = require('@valbuild/react/stega');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _asyncToGenerator, a as _regenerator, r as readValEnableCookie, V as VERSION$1 } from './version-
|
|
1
|
+
import { _ as _asyncToGenerator, a as _regenerator, r as readValEnableCookie, V as VERSION$1 } from './version-024bb5fc.esm.js';
|
|
2
2
|
import { _ as _objectSpread2, a as _slicedToArray, b as _createForOfIteratorHelper } from './createForOfIteratorHelper-485c2ce1.esm.js';
|
|
3
3
|
import { Internal as Internal$1, initVal as initVal$1, DEFAULT_CONTENT_HOST } from '@valbuild/core';
|
|
4
4
|
import * as core from '@valbuild/core';
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"tanstack-router",
|
|
15
15
|
"react"
|
|
16
16
|
],
|
|
17
|
-
"version": "0.136.
|
|
17
|
+
"version": "0.136.3",
|
|
18
18
|
"main": "dist/valbuild-tanstack.cjs.js",
|
|
19
19
|
"module": "dist/valbuild-tanstack.esm.js",
|
|
20
20
|
"exports": {
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@valbuild/core": "0.136.1",
|
|
46
|
-
"@valbuild/language-server": "0.136.
|
|
47
|
-
"@valbuild/mcp": "0.136.
|
|
48
|
-
"@valbuild/react": "0.136.
|
|
49
|
-
"@valbuild/server": "0.136.
|
|
50
|
-
"@valbuild/shared": "0.136.
|
|
51
|
-
"@valbuild/ui": "0.136.
|
|
46
|
+
"@valbuild/language-server": "0.136.3",
|
|
47
|
+
"@valbuild/mcp": "0.136.3",
|
|
48
|
+
"@valbuild/react": "0.136.3",
|
|
49
|
+
"@valbuild/server": "0.136.3",
|
|
50
|
+
"@valbuild/shared": "0.136.3",
|
|
51
|
+
"@valbuild/ui": "0.136.3"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@tanstack/react-router": "^1.170.33",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var version = require('../../dist/version-
|
|
5
|
+
var version = require('../../dist/version-cbebefe4.cjs.dev.js');
|
|
6
6
|
var core = require('@valbuild/core');
|
|
7
7
|
var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-e75681d7.cjs.dev.js');
|
|
8
8
|
var server = require('@valbuild/server');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var version = require('../../dist/version-
|
|
5
|
+
var version = require('../../dist/version-fc40a0f6.cjs.prod.js');
|
|
6
6
|
var core = require('@valbuild/core');
|
|
7
7
|
var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-0324e063.cjs.prod.js');
|
|
8
8
|
var server = require('@valbuild/server');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _asyncToGenerator, a as _regenerator, V as VERSION, s as setValEnableCookieReader } from '../../dist/version-
|
|
1
|
+
import { _ as _asyncToGenerator, a as _regenerator, V as VERSION, s as setValEnableCookieReader } from '../../dist/version-024bb5fc.esm.js';
|
|
2
2
|
import { Internal } from '@valbuild/core';
|
|
3
3
|
import { _ as _objectSpread2, a as _slicedToArray, d as _defineProperty } from '../../dist/createForOfIteratorHelper-485c2ce1.esm.js';
|
|
4
4
|
import { createValApiRouter, createValServer } from '@valbuild/server';
|