@valbuild/next 0.124.0 → 0.125.0

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 CHANGED
@@ -1,5 +1,95 @@
1
1
  # @valbuild/next
2
2
 
3
+ ## 0.125.0
4
+
5
+ ### Patch Changes
6
+
7
+ - [#638](https://github.com/valbuild/val/pull/638) [`c390397`](https://github.com/valbuild/val/commit/c390397cb5e203eb1bedae3a6fab15726e850b90) Thanks [@freekh](https://github.com/freekh)! - Val now runs on TanStack Start.
8
+
9
+ `@valbuild/tanstack` is a new package with everything `@valbuild/next` has: Val
10
+ Studio at `/val`, the on-page overlay and canvas, draft mode, the client hooks,
11
+ server-side content reads, images, and the MCP tools.
12
+
13
+ ```sh
14
+ npm install @valbuild/tanstack
15
+ ```
16
+
17
+ ```ts
18
+ // val.config.ts
19
+ import { initVal } from "@valbuild/tanstack";
20
+ const { s, c, config, tanstackRouter } = initVal({ project: "org/project" });
21
+ ```
22
+
23
+ **Routes are first class.** A Val module for a route is named after the route
24
+ file it sits beside — `src/routes/posts.$postId.tsx` is served content by
25
+ `src/routes/posts.$postId.val.ts` — and its keys are the URLs that route serves:
26
+
27
+ ```ts
28
+ export default c.define(
29
+ "/src/routes/posts.$postId.val.ts",
30
+ s.router(tanstackRouter, s.object({ title: s.string() })),
31
+ { "/posts/hello-world": { title: "Hello world" } },
32
+ );
33
+ ```
34
+
35
+ `.` and `/` both separate segments, `$param` is a parameter, `$` is a splat, and
36
+ `index`, `route`, `(groups)` and `_pathless` layouts add no URL segment — the
37
+ same rules TanStack Router uses for the route file itself. Val validates every
38
+ key against that pattern, and Val Studio shows these modules as a sitemap under
39
+ **Pages**, where an editor can add a page.
40
+
41
+ Point the route generator away from your content files, in `vite.config.ts` and
42
+ `tsr.config.json`:
43
+
44
+ ```ts
45
+ tanstackStart({ router: { routeFileIgnorePattern: "\\.val\\.[tj]sx?$" } });
46
+ ```
47
+
48
+ See the [README](https://github.com/valbuild/val/blob/main/packages/tanstack/README.md)
49
+ for the full wiring, and `examples/tanstack` for a working app.
50
+
51
+ **Also fixed, for everyone:** `Internal.VERSION.core` was `null` in any ESM
52
+ bundle — it was read with `require("../package.json")` inside a `try`, so the
53
+ failure was silent. That version goes into every remote file ref and proxy mode
54
+ refuses to start without it. Every package now reads its version through a
55
+ static JSON import, which is inlined at build time.
56
+
57
+ Two smaller fixes that came out of running the whole toolchain against a
58
+ TanStack project:
59
+
60
+ - `val versions` reports `@valbuild/tanstack`, and `val debug` writes a snapshot
61
+ that names whichever framework package the captured project actually has.
62
+ - `@valbuild/eslint-plugin` reads a `tsconfig.json` that has comments in it. A
63
+ tsconfig is JSONC, and `JSON.parse` is not — so on any project whose tsconfig
64
+ carries a comment (the TanStack starter's does) the
65
+ `module-in-val-modules` rule threw `Expected double-quoted property name in
66
+ JSON` on the first file and took the whole lint run with it.
67
+
68
+ Three fixes found by driving the Studio against a real TanStack app:
69
+
70
+ - **A draft image now loads on the page.** The source the Studio pushes to the
71
+ host page carries `patch_id` for any file whose bytes are still in a patch, so
72
+ the page asks `/api/val/files/...?patch_id=` rather than a `/public` path that
73
+ nothing has written yet. This was silent — the image just did not appear — and
74
+ it affects any page that reads media through the hooks rather than on the
75
+ server, `@valbuild/next` included.
76
+ - **A splat route no longer logs an error on every render.** TanStack returns
77
+ both `_splat` and `*` for the same parameter; Val reported the second as a
78
+ parameter it could not place in the path.
79
+ - The TanStack example and starter render a 404 page instead of throwing
80
+ `notFound()` from a component, which escaped to the error boundary and logged
81
+ `Error in renderToReadableStream` (and, with no not-found component
82
+ configured, aborted the response) on every miss.
83
+
84
+ - Updated dependencies [[`22f78b4`](https://github.com/valbuild/val/commit/22f78b471fd18e542f518f72b75bd472d7c3dc52), [`c390397`](https://github.com/valbuild/val/commit/c390397cb5e203eb1bedae3a6fab15726e850b90)]:
85
+ - @valbuild/language-server@0.125.0
86
+ - @valbuild/core@0.125.0
87
+ - @valbuild/shared@0.125.0
88
+ - @valbuild/ui@0.125.0
89
+ - @valbuild/mcp@0.125.0
90
+ - @valbuild/react@0.125.0
91
+ - @valbuild/server@0.125.0
92
+
3
93
  ## 0.124.0
4
94
 
5
95
  ### Patch Changes
@@ -17,6 +17,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e };
17
17
 
18
18
  var Script__default = /*#__PURE__*/_interopDefault(Script);
19
19
 
20
+ var VAL_READY_PING_MS = 100;
20
21
  var ValApp = function ValApp(_ref) {
21
22
  var config = _ref.config,
22
23
  children = _ref.children;
@@ -35,7 +36,7 @@ var ValApp = function ValApp(_ref) {
35
36
  window.parent.postMessage({
36
37
  type: "val-ready"
37
38
  }, "*");
38
- });
39
+ }, VAL_READY_PING_MS);
39
40
  return function () {
40
41
  clearInterval(interval);
41
42
  };
@@ -80,17 +81,19 @@ var ValApp = function ValApp(_ref) {
80
81
  body.style.backgroundColor = loadingTheme === "dark" ? darkBg : lightBg;
81
82
  body.style.minHeight = "100vh";
82
83
  body.style.minWidth = "100%";
83
- window.addEventListener("val-css-loaded", function () {
84
+ // A stable reference: `removeEventListener` compares by identity, so a
85
+ // second arrow function removes nothing and every re-run of this effect
86
+ // used to leave another listener behind.
87
+ var onCssLoaded = function onCssLoaded() {
84
88
  // css was loaded, has been loaded, so let app decide what to do
85
89
  setLoadingTheme(null);
86
- });
90
+ };
91
+ window.addEventListener("val-css-loaded", onCssLoaded);
87
92
  return function () {
88
93
  body.style.backgroundColor = prevBodyBg;
89
94
  body.style.minHeight = prevBodyMinHeight;
90
95
  body.style.minWidth = prevBodyMinWidth;
91
- window.removeEventListener("val-css-loaded", function () {
92
- setLoadingTheme(null);
93
- });
96
+ window.removeEventListener("val-css-loaded", onCssLoaded);
94
97
  };
95
98
  }, [inMessageMode, loadingTheme]);
96
99
  if (loadingTheme !== null && isClientSIde) {
@@ -9,6 +9,7 @@ import './unsupportedIterableToArray-5baabfdc.esm.js';
9
9
  import '@valbuild/shared/client';
10
10
  import '@valbuild/core';
11
11
 
12
+ var VAL_READY_PING_MS = 100;
12
13
  var ValApp = function ValApp(_ref) {
13
14
  var config = _ref.config,
14
15
  children = _ref.children;
@@ -27,7 +28,7 @@ var ValApp = function ValApp(_ref) {
27
28
  window.parent.postMessage({
28
29
  type: "val-ready"
29
30
  }, "*");
30
- });
31
+ }, VAL_READY_PING_MS);
31
32
  return function () {
32
33
  clearInterval(interval);
33
34
  };
@@ -72,17 +73,19 @@ var ValApp = function ValApp(_ref) {
72
73
  body.style.backgroundColor = loadingTheme === "dark" ? darkBg : lightBg;
73
74
  body.style.minHeight = "100vh";
74
75
  body.style.minWidth = "100%";
75
- window.addEventListener("val-css-loaded", function () {
76
+ // A stable reference: `removeEventListener` compares by identity, so a
77
+ // second arrow function removes nothing and every re-run of this effect
78
+ // used to leave another listener behind.
79
+ var onCssLoaded = function onCssLoaded() {
76
80
  // css was loaded, has been loaded, so let app decide what to do
77
81
  setLoadingTheme(null);
78
- });
82
+ };
83
+ window.addEventListener("val-css-loaded", onCssLoaded);
79
84
  return function () {
80
85
  body.style.backgroundColor = prevBodyBg;
81
86
  body.style.minHeight = prevBodyMinHeight;
82
87
  body.style.minWidth = prevBodyMinWidth;
83
- window.removeEventListener("val-css-loaded", function () {
84
- setLoadingTheme(null);
85
- });
88
+ window.removeEventListener("val-css-loaded", onCssLoaded);
86
89
  };
87
90
  }, [inMessageMode, loadingTheme]);
88
91
  if (loadingTheme !== null && isClientSIde) {
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ if (process.env.NODE_ENV === "production") {
4
+ module.exports = require("./ValApp-ab8a96fd.cjs.prod.js");
5
+ } else {
6
+ module.exports = require("./ValApp-ab8a96fd.cjs.dev.js");
7
+ }
@@ -17,6 +17,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e };
17
17
 
18
18
  var Script__default = /*#__PURE__*/_interopDefault(Script);
19
19
 
20
+ var VAL_READY_PING_MS = 100;
20
21
  var ValApp = function ValApp(_ref) {
21
22
  var config = _ref.config,
22
23
  children = _ref.children;
@@ -35,7 +36,7 @@ var ValApp = function ValApp(_ref) {
35
36
  window.parent.postMessage({
36
37
  type: "val-ready"
37
38
  }, "*");
38
- });
39
+ }, VAL_READY_PING_MS);
39
40
  return function () {
40
41
  clearInterval(interval);
41
42
  };
@@ -80,17 +81,19 @@ var ValApp = function ValApp(_ref) {
80
81
  body.style.backgroundColor = loadingTheme === "dark" ? darkBg : lightBg;
81
82
  body.style.minHeight = "100vh";
82
83
  body.style.minWidth = "100%";
83
- window.addEventListener("val-css-loaded", function () {
84
+ // A stable reference: `removeEventListener` compares by identity, so a
85
+ // second arrow function removes nothing and every re-run of this effect
86
+ // used to leave another listener behind.
87
+ var onCssLoaded = function onCssLoaded() {
84
88
  // css was loaded, has been loaded, so let app decide what to do
85
89
  setLoadingTheme(null);
86
- });
90
+ };
91
+ window.addEventListener("val-css-loaded", onCssLoaded);
87
92
  return function () {
88
93
  body.style.backgroundColor = prevBodyBg;
89
94
  body.style.minHeight = prevBodyMinHeight;
90
95
  body.style.minWidth = prevBodyMinWidth;
91
- window.removeEventListener("val-css-loaded", function () {
92
- setLoadingTheme(null);
93
- });
96
+ window.removeEventListener("val-css-loaded", onCssLoaded);
94
97
  };
95
98
  }, [inMessageMode, loadingTheme]);
96
99
  if (loadingTheme !== null && isClientSIde) {
@@ -10,9 +10,9 @@ var internal = require('@valbuild/react/internal');
10
10
  var ValNextProvider = require('./ValNextProvider-062a8dc9.cjs.dev.js');
11
11
  var NextImage = require('next/image');
12
12
  var jsxRuntime = require('react/jsx-runtime');
13
- var ValApp = require('./ValApp-18ec7215.cjs.dev.js');
13
+ var ValApp = require('./ValApp-294e5b53.cjs.dev.js');
14
14
  var ValModulesClient = require('./ValModulesClient-4ecabf99.cjs.dev.js');
15
- var version = require('./version-d034b2fc.cjs.dev.js');
15
+ var version = require('./version-4302babf.cjs.dev.js');
16
16
  var createForOfIteratorHelper = require('./createForOfIteratorHelper-0445603c.cjs.dev.js');
17
17
  require('./defineProperty-f90345d7.cjs.dev.js');
18
18
  require('./unsupportedIterableToArray-c8ab77c9.cjs.dev.js');
@@ -10,9 +10,9 @@ var internal = require('@valbuild/react/internal');
10
10
  var ValNextProvider = require('./ValNextProvider-da189afe.cjs.prod.js');
11
11
  var NextImage = require('next/image');
12
12
  var jsxRuntime = require('react/jsx-runtime');
13
- var ValApp = require('./ValApp-b852b147.cjs.prod.js');
13
+ var ValApp = require('./ValApp-ab8a96fd.cjs.prod.js');
14
14
  var ValModulesClient = require('./ValModulesClient-10c0721c.cjs.prod.js');
15
- var version = require('./version-d2061026.cjs.prod.js');
15
+ var version = require('./version-eb9498d9.cjs.prod.js');
16
16
  var createForOfIteratorHelper = require('./createForOfIteratorHelper-d4afcad8.cjs.prod.js');
17
17
  require('./defineProperty-8951f469.cjs.prod.js');
18
18
  require('./unsupportedIterableToArray-0d2087a2.cjs.prod.js');
@@ -9,9 +9,9 @@ export { ValRichText } from '@valbuild/react/internal';
9
9
  import { ValNextProvider } from './ValNextProvider-3d2cd7e4.esm.js';
10
10
  import NextImage from 'next/image';
11
11
  import { jsx } from 'react/jsx-runtime';
12
- export { ValApp } from './ValApp-6d5f5c82.esm.js';
12
+ export { ValApp } from './ValApp-3a70afe1.esm.js';
13
13
  export { ValModulesClient, useRegisterValModules } from './ValModulesClient-0dd601a1.esm.js';
14
- import { V as VERSION } from './version-16f6b0ce.esm.js';
14
+ import { V as VERSION } from './version-8ab79315.esm.js';
15
15
  import { _ as _createForOfIteratorHelper } from './createForOfIteratorHelper-5758a730.esm.js';
16
16
  import './defineProperty-cca5affa.esm.js';
17
17
  import './unsupportedIterableToArray-5baabfdc.esm.js';
@@ -0,0 +1,94 @@
1
+ 'use strict';
2
+
3
+ var packageJson = {
4
+ name: "@valbuild/next",
5
+ description: "Val NextJS: hard-coded content - super-charged",
6
+ "private": false,
7
+ repository: {
8
+ type: "git",
9
+ url: "git+https://github.com/valbuild/val.git"
10
+ },
11
+ sideEffects: true,
12
+ keywords: [
13
+ "CMS",
14
+ "next",
15
+ "react"
16
+ ],
17
+ version: "0.125.0",
18
+ scripts: {
19
+ typecheck: "tsc --noEmit",
20
+ test: "jest"
21
+ },
22
+ main: "dist/valbuild-next.cjs.js",
23
+ module: "dist/valbuild-next.esm.js",
24
+ exports: {
25
+ ".": {
26
+ module: "./dist/valbuild-next.esm.js",
27
+ "default": "./dist/valbuild-next.cjs.js"
28
+ },
29
+ "./rsc": {
30
+ module: "./rsc/dist/valbuild-next-rsc.esm.js",
31
+ "default": "./rsc/dist/valbuild-next-rsc.cjs.js"
32
+ },
33
+ "./client": {
34
+ module: "./client/dist/valbuild-next-client.esm.js",
35
+ "default": "./client/dist/valbuild-next-client.cjs.js"
36
+ },
37
+ "./server": {
38
+ module: "./server/dist/valbuild-next-server.esm.js",
39
+ "default": "./server/dist/valbuild-next-server.cjs.js"
40
+ },
41
+ "./package.json": "./package.json"
42
+ },
43
+ types: "dist/valbuild-next.cjs.d.ts",
44
+ preconstruct: {
45
+ entrypoints: [
46
+ "./index.ts",
47
+ "./server/index.ts",
48
+ "./client/index.ts",
49
+ "./rsc/index.ts"
50
+ ],
51
+ exports: true
52
+ },
53
+ dependencies: {
54
+ "@valbuild/core": "workspace:*",
55
+ "@valbuild/language-server": "workspace:*",
56
+ "@valbuild/mcp": "workspace:*",
57
+ "@valbuild/react": "workspace:*",
58
+ "@valbuild/server": "workspace:*",
59
+ "@valbuild/shared": "workspace:*",
60
+ "@valbuild/ui": "workspace:*",
61
+ "client-only": "^0.0.1",
62
+ "server-only": "^0.0.1"
63
+ },
64
+ devDependencies: {
65
+ "@testing-library/react": "^16.3.3",
66
+ "@types/react": "^19.2.18",
67
+ "@types/react-dom": "^19.2.5",
68
+ "jest-environment-jsdom": "^30.5.0",
69
+ next: "^16.3.3",
70
+ react: "^19.2.8",
71
+ "react-dom": "^19.2.8",
72
+ typescript: "^6.0.3"
73
+ },
74
+ peerDependencies: {
75
+ next: ">=14.3.0",
76
+ react: ">=19.0.0",
77
+ "react-dom": ">=19.0.0"
78
+ },
79
+ externals: [
80
+ "next"
81
+ ],
82
+ files: [
83
+ "CHANGELOG.md",
84
+ "dist",
85
+ "client",
86
+ "server",
87
+ "rsc"
88
+ ]
89
+ };
90
+
91
+ var _packageJson$version;
92
+ var VERSION = (_packageJson$version = packageJson.version) !== null && _packageJson$version !== void 0 ? _packageJson$version : null;
93
+
94
+ exports.VERSION = VERSION;
@@ -0,0 +1,92 @@
1
+ var packageJson = {
2
+ name: "@valbuild/next",
3
+ description: "Val NextJS: hard-coded content - super-charged",
4
+ "private": false,
5
+ repository: {
6
+ type: "git",
7
+ url: "git+https://github.com/valbuild/val.git"
8
+ },
9
+ sideEffects: true,
10
+ keywords: [
11
+ "CMS",
12
+ "next",
13
+ "react"
14
+ ],
15
+ version: "0.125.0",
16
+ scripts: {
17
+ typecheck: "tsc --noEmit",
18
+ test: "jest"
19
+ },
20
+ main: "dist/valbuild-next.cjs.js",
21
+ module: "dist/valbuild-next.esm.js",
22
+ exports: {
23
+ ".": {
24
+ module: "./dist/valbuild-next.esm.js",
25
+ "default": "./dist/valbuild-next.cjs.js"
26
+ },
27
+ "./rsc": {
28
+ module: "./rsc/dist/valbuild-next-rsc.esm.js",
29
+ "default": "./rsc/dist/valbuild-next-rsc.cjs.js"
30
+ },
31
+ "./client": {
32
+ module: "./client/dist/valbuild-next-client.esm.js",
33
+ "default": "./client/dist/valbuild-next-client.cjs.js"
34
+ },
35
+ "./server": {
36
+ module: "./server/dist/valbuild-next-server.esm.js",
37
+ "default": "./server/dist/valbuild-next-server.cjs.js"
38
+ },
39
+ "./package.json": "./package.json"
40
+ },
41
+ types: "dist/valbuild-next.cjs.d.ts",
42
+ preconstruct: {
43
+ entrypoints: [
44
+ "./index.ts",
45
+ "./server/index.ts",
46
+ "./client/index.ts",
47
+ "./rsc/index.ts"
48
+ ],
49
+ exports: true
50
+ },
51
+ dependencies: {
52
+ "@valbuild/core": "workspace:*",
53
+ "@valbuild/language-server": "workspace:*",
54
+ "@valbuild/mcp": "workspace:*",
55
+ "@valbuild/react": "workspace:*",
56
+ "@valbuild/server": "workspace:*",
57
+ "@valbuild/shared": "workspace:*",
58
+ "@valbuild/ui": "workspace:*",
59
+ "client-only": "^0.0.1",
60
+ "server-only": "^0.0.1"
61
+ },
62
+ devDependencies: {
63
+ "@testing-library/react": "^16.3.3",
64
+ "@types/react": "^19.2.18",
65
+ "@types/react-dom": "^19.2.5",
66
+ "jest-environment-jsdom": "^30.5.0",
67
+ next: "^16.3.3",
68
+ react: "^19.2.8",
69
+ "react-dom": "^19.2.8",
70
+ typescript: "^6.0.3"
71
+ },
72
+ peerDependencies: {
73
+ next: ">=14.3.0",
74
+ react: ">=19.0.0",
75
+ "react-dom": ">=19.0.0"
76
+ },
77
+ externals: [
78
+ "next"
79
+ ],
80
+ files: [
81
+ "CHANGELOG.md",
82
+ "dist",
83
+ "client",
84
+ "server",
85
+ "rsc"
86
+ ]
87
+ };
88
+
89
+ var _packageJson$version;
90
+ var VERSION = (_packageJson$version = packageJson.version) !== null && _packageJson$version !== void 0 ? _packageJson$version : null;
91
+
92
+ export { VERSION as V };
@@ -0,0 +1,94 @@
1
+ 'use strict';
2
+
3
+ var packageJson = {
4
+ name: "@valbuild/next",
5
+ description: "Val NextJS: hard-coded content - super-charged",
6
+ "private": false,
7
+ repository: {
8
+ type: "git",
9
+ url: "git+https://github.com/valbuild/val.git"
10
+ },
11
+ sideEffects: true,
12
+ keywords: [
13
+ "CMS",
14
+ "next",
15
+ "react"
16
+ ],
17
+ version: "0.125.0",
18
+ scripts: {
19
+ typecheck: "tsc --noEmit",
20
+ test: "jest"
21
+ },
22
+ main: "dist/valbuild-next.cjs.js",
23
+ module: "dist/valbuild-next.esm.js",
24
+ exports: {
25
+ ".": {
26
+ module: "./dist/valbuild-next.esm.js",
27
+ "default": "./dist/valbuild-next.cjs.js"
28
+ },
29
+ "./rsc": {
30
+ module: "./rsc/dist/valbuild-next-rsc.esm.js",
31
+ "default": "./rsc/dist/valbuild-next-rsc.cjs.js"
32
+ },
33
+ "./client": {
34
+ module: "./client/dist/valbuild-next-client.esm.js",
35
+ "default": "./client/dist/valbuild-next-client.cjs.js"
36
+ },
37
+ "./server": {
38
+ module: "./server/dist/valbuild-next-server.esm.js",
39
+ "default": "./server/dist/valbuild-next-server.cjs.js"
40
+ },
41
+ "./package.json": "./package.json"
42
+ },
43
+ types: "dist/valbuild-next.cjs.d.ts",
44
+ preconstruct: {
45
+ entrypoints: [
46
+ "./index.ts",
47
+ "./server/index.ts",
48
+ "./client/index.ts",
49
+ "./rsc/index.ts"
50
+ ],
51
+ exports: true
52
+ },
53
+ dependencies: {
54
+ "@valbuild/core": "workspace:*",
55
+ "@valbuild/language-server": "workspace:*",
56
+ "@valbuild/mcp": "workspace:*",
57
+ "@valbuild/react": "workspace:*",
58
+ "@valbuild/server": "workspace:*",
59
+ "@valbuild/shared": "workspace:*",
60
+ "@valbuild/ui": "workspace:*",
61
+ "client-only": "^0.0.1",
62
+ "server-only": "^0.0.1"
63
+ },
64
+ devDependencies: {
65
+ "@testing-library/react": "^16.3.3",
66
+ "@types/react": "^19.2.18",
67
+ "@types/react-dom": "^19.2.5",
68
+ "jest-environment-jsdom": "^30.5.0",
69
+ next: "^16.3.3",
70
+ react: "^19.2.8",
71
+ "react-dom": "^19.2.8",
72
+ typescript: "^6.0.3"
73
+ },
74
+ peerDependencies: {
75
+ next: ">=14.3.0",
76
+ react: ">=19.0.0",
77
+ "react-dom": ">=19.0.0"
78
+ },
79
+ externals: [
80
+ "next"
81
+ ],
82
+ files: [
83
+ "CHANGELOG.md",
84
+ "dist",
85
+ "client",
86
+ "server",
87
+ "rsc"
88
+ ]
89
+ };
90
+
91
+ var _packageJson$version;
92
+ var VERSION = (_packageJson$version = packageJson.version) !== null && _packageJson$version !== void 0 ? _packageJson$version : null;
93
+
94
+ exports.VERSION = VERSION;
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "next",
13
13
  "react"
14
14
  ],
15
- "version": "0.124.0",
15
+ "version": "0.125.0",
16
16
  "main": "dist/valbuild-next.cjs.js",
17
17
  "module": "dist/valbuild-next.esm.js",
18
18
  "exports": {
@@ -47,13 +47,13 @@
47
47
  "dependencies": {
48
48
  "client-only": "^0.0.1",
49
49
  "server-only": "^0.0.1",
50
- "@valbuild/core": "0.124.0",
51
- "@valbuild/language-server": "0.124.0",
52
- "@valbuild/mcp": "0.124.0",
53
- "@valbuild/react": "0.124.0",
54
- "@valbuild/server": "0.124.0",
55
- "@valbuild/ui": "0.124.0",
56
- "@valbuild/shared": "0.124.0"
50
+ "@valbuild/core": "0.125.0",
51
+ "@valbuild/mcp": "0.125.0",
52
+ "@valbuild/language-server": "0.125.0",
53
+ "@valbuild/react": "0.125.0",
54
+ "@valbuild/server": "0.125.0",
55
+ "@valbuild/shared": "0.125.0",
56
+ "@valbuild/ui": "0.125.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@testing-library/react": "^16.3.3",
@@ -11,7 +11,7 @@ var stega = require('@valbuild/react/stega');
11
11
  var core = require('@valbuild/core');
12
12
  var internal = require('@valbuild/shared/internal');
13
13
  var server = require('@valbuild/server');
14
- var version = require('../../dist/version-d034b2fc.cjs.dev.js');
14
+ var version = require('../../dist/version-4302babf.cjs.dev.js');
15
15
  require('../../dist/createForOfIteratorHelper-0445603c.cjs.dev.js');
16
16
  require('../../dist/unsupportedIterableToArray-c8ab77c9.cjs.dev.js');
17
17
  require('../../dist/slicedToArray-44036a76.cjs.dev.js');
@@ -11,7 +11,7 @@ var stega = require('@valbuild/react/stega');
11
11
  var core = require('@valbuild/core');
12
12
  var internal = require('@valbuild/shared/internal');
13
13
  var server = require('@valbuild/server');
14
- var version = require('../../dist/version-d2061026.cjs.prod.js');
14
+ var version = require('../../dist/version-eb9498d9.cjs.prod.js');
15
15
  require('../../dist/createForOfIteratorHelper-d4afcad8.cjs.prod.js');
16
16
  require('../../dist/unsupportedIterableToArray-0d2087a2.cjs.prod.js');
17
17
  require('../../dist/slicedToArray-ce613de6.cjs.prod.js');
@@ -7,7 +7,7 @@ import { SET_RSC, stegaEncode, SET_AUTO_TAG_JSX_ENABLED } from '@valbuild/react/
7
7
  import { Internal } from '@valbuild/core';
8
8
  import { VAL_SESSION_COOKIE } from '@valbuild/shared/internal';
9
9
  import { createValServer } from '@valbuild/server';
10
- import { V as VERSION } from '../../dist/version-16f6b0ce.esm.js';
10
+ import { V as VERSION } from '../../dist/version-8ab79315.esm.js';
11
11
  import '../../dist/createForOfIteratorHelper-5758a730.esm.js';
12
12
  import '../../dist/unsupportedIterableToArray-5baabfdc.esm.js';
13
13
  import '../../dist/slicedToArray-aa291011.esm.js';
@@ -9,7 +9,7 @@ var objectSpread2 = require('../../dist/objectSpread2-58024783.cjs.dev.js');
9
9
  var core = require('@valbuild/core');
10
10
  var server = require('@valbuild/server');
11
11
  var server$1 = require('next/server');
12
- var version = require('../../dist/version-d034b2fc.cjs.dev.js');
12
+ var version = require('../../dist/version-4302babf.cjs.dev.js');
13
13
  var mcp = require('@valbuild/mcp');
14
14
  require('../../dist/unsupportedIterableToArray-c8ab77c9.cjs.dev.js');
15
15
  require('../../dist/defineProperty-f90345d7.cjs.dev.js');
@@ -9,7 +9,7 @@ var objectSpread2 = require('../../dist/objectSpread2-13f847a9.cjs.prod.js');
9
9
  var core = require('@valbuild/core');
10
10
  var server = require('@valbuild/server');
11
11
  var server$1 = require('next/server');
12
- var version = require('../../dist/version-d2061026.cjs.prod.js');
12
+ var version = require('../../dist/version-eb9498d9.cjs.prod.js');
13
13
  var mcp = require('@valbuild/mcp');
14
14
  require('../../dist/unsupportedIterableToArray-0d2087a2.cjs.prod.js');
15
15
  require('../../dist/defineProperty-8951f469.cjs.prod.js');
@@ -5,7 +5,7 @@ import { _ as _objectSpread2 } from '../../dist/objectSpread2-60d1bd93.esm.js';
5
5
  import { Internal } from '@valbuild/core';
6
6
  import { createValApiRouter, createValServer } from '@valbuild/server';
7
7
  import { NextResponse } from 'next/server';
8
- import { V as VERSION } from '../../dist/version-16f6b0ce.esm.js';
8
+ import { V as VERSION } from '../../dist/version-8ab79315.esm.js';
9
9
  import { initValMcp as initValMcp$1 } from '@valbuild/mcp';
10
10
  import '../../dist/unsupportedIterableToArray-5baabfdc.esm.js';
11
11
  import '../../dist/defineProperty-cca5affa.esm.js';
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- if (process.env.NODE_ENV === "production") {
4
- module.exports = require("./ValApp-b852b147.cjs.prod.js");
5
- } else {
6
- module.exports = require("./ValApp-b852b147.cjs.dev.js");
7
- }
@@ -1,10 +0,0 @@
1
- var VERSION = function () {
2
- try {
3
- // eslint-disable-next-line @typescript-eslint/no-require-imports
4
- return require("../package.json").version;
5
- } catch (_unused) {
6
- return null;
7
- }
8
- }();
9
-
10
- export { VERSION as V };
@@ -1,12 +0,0 @@
1
- 'use strict';
2
-
3
- var VERSION = function () {
4
- try {
5
- // eslint-disable-next-line @typescript-eslint/no-require-imports
6
- return require("../package.json").version;
7
- } catch (_unused) {
8
- return null;
9
- }
10
- }();
11
-
12
- exports.VERSION = VERSION;
@@ -1,12 +0,0 @@
1
- 'use strict';
2
-
3
- var VERSION = function () {
4
- try {
5
- // eslint-disable-next-line @typescript-eslint/no-require-imports
6
- return require("../package.json").version;
7
- } catch (_unused) {
8
- return null;
9
- }
10
- }();
11
-
12
- exports.VERSION = VERSION;