@valbuild/server 0.150.20 → 0.150.22

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 (23) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/browser/dist/valbuild-server-browser.cjs.dev.js +1 -1
  3. package/browser/dist/valbuild-server-browser.cjs.prod.js +1 -1
  4. package/browser/dist/valbuild-server-browser.esm.js +1 -1
  5. package/dist/{ValRouterCore-94671fe0.cjs.dev.js → ValRouterCore-3431ce5f.cjs.dev.js} +3 -3
  6. package/dist/{ValRouterCore-69585ccd.esm.js → ValRouterCore-c5f6885a.esm.js} +3 -3
  7. package/dist/{ValRouterCore-e59bbc75.cjs.prod.js → ValRouterCore-df3f99c6.cjs.prod.js} +3 -3
  8. package/dist/{getJsonEntryAtCommit-cd0b317b.cjs.dev.js → getJsonEntryAtCommit-21a4bbfa.cjs.dev.js} +2 -2
  9. package/dist/{getJsonEntryAtCommit-47003e4a.esm.js → getJsonEntryAtCommit-93f9aba9.esm.js} +2 -2
  10. package/dist/{getJsonEntryAtCommit-bc6d4f82.cjs.prod.js → getJsonEntryAtCommit-b52171b1.cjs.prod.js} +2 -2
  11. package/dist/{jsonValuesModule-8ae503a8.cjs.dev.js → jsonValuesModule-235bd751.cjs.dev.js} +38 -0
  12. package/dist/{jsonValuesModule-427d68c8.esm.js → jsonValuesModule-23eb6f53.esm.js} +38 -1
  13. package/dist/{jsonValuesModule-d1bb8d8f.cjs.prod.js → jsonValuesModule-625ebae8.cjs.prod.js} +38 -0
  14. package/dist/{ops-b15239ac.cjs.prod.js → ops-0e54b388.cjs.prod.js} +1 -1
  15. package/dist/{ops-f37d18c6.cjs.dev.js → ops-9ca2ef2a.cjs.dev.js} +1 -1
  16. package/dist/{ops-0d05feaf.esm.js → ops-b904007e.esm.js} +1 -1
  17. package/dist/{publishKit-5865095c.cjs.dev.js → publishKit-34f71e50.cjs.dev.js} +3 -2
  18. package/dist/{publishKit-580f558a.cjs.prod.js → publishKit-65e9e564.cjs.prod.js} +3 -2
  19. package/dist/{publishKit-bc8df53d.esm.js → publishKit-7441c0fd.esm.js} +4 -4
  20. package/dist/valbuild-server.cjs.dev.js +223 -15
  21. package/dist/valbuild-server.cjs.prod.js +223 -15
  22. package/dist/valbuild-server.esm.js +225 -17
  23. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @valbuild/server
2
2
 
3
+ ## 0.150.22
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1002](https://github.com/valbuild/val/pull/1002) [`14a9864`](https://github.com/valbuild/val/commit/14a986486ca921b5aa4992caf1b452671b5eb97f) Thanks [@freekh](https://github.com/freekh)! - **Entries the design tab adds to a `.jsonValues()` record no longer revert.** When the design tab added an entry to a record that keeps its entries in `.val.json` files, the proposal's stored content didn't list the new entry, so edits to it went back. A staged `.val.ts` now sends the record's entries with it, as the stored content lists them.
8
+
9
+ **The design tab's `create_patch` can edit inside a `.jsonValues()` entry.** A patch into an entry is written into that entry's own `.val.json`, formatted the way a save writes it, so the assistant no longer rewrites the whole file to change one field. Adding, replacing or removing a whole entry still goes through `write_files`.
10
+
11
+ - Updated dependencies [[`14a9864`](https://github.com/valbuild/val/commit/14a986486ca921b5aa4992caf1b452671b5eb97f)]:
12
+ - @valbuild/ui@0.150.22
13
+
14
+ ## 0.150.21
15
+
16
+ ### Patch Changes
17
+
18
+ - [#1000](https://github.com/valbuild/val/pull/1000) [`0d516bf`](https://github.com/valbuild/val/commit/0d516bf5347950071444eaa07baf48d1d7fe418c) Thanks [@freekh](https://github.com/freekh)! - **Edits to fields the design tab added no longer revert.** When the design tab added something to a `.val.ts` in a proposal, such as a new button, the module's code changed but the content the proposal served for it did not. An edit to the new button showed on the canvas and then went back. A staged module file now goes to Val Build with the content its text declares, so the two stay in step. This needs the matching Val Build update.
19
+ - Updated dependencies [[`0d516bf`](https://github.com/valbuild/val/commit/0d516bf5347950071444eaa07baf48d1d7fe418c)]:
20
+ - @valbuild/ui@0.150.21
21
+
3
22
  ## 0.150.20
4
23
 
5
24
  ### Patch Changes
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var core = require('@valbuild/core');
6
- var ValRouterCore = require('../../dist/ValRouterCore-94671fe0.cjs.dev.js');
6
+ var ValRouterCore = require('../../dist/ValRouterCore-3431ce5f.cjs.dev.js');
7
7
  require('@valbuild/shared/internal');
8
8
  require('zod');
9
9
  require('zod-validation-error');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var core = require('@valbuild/core');
6
- var ValRouterCore = require('../../dist/ValRouterCore-e59bbc75.cjs.prod.js');
6
+ var ValRouterCore = require('../../dist/ValRouterCore-df3f99c6.cjs.prod.js');
7
7
  require('@valbuild/shared/internal');
8
8
  require('zod');
9
9
  require('zod-validation-error');
@@ -1,5 +1,5 @@
1
1
  import { DEFAULT_CONTENT_HOST } from '@valbuild/core';
2
- import { o as ValOpsMemory, M as bytesToBase64, F as ValServer, G as createValRequestHandler } from '../../dist/ValRouterCore-69585ccd.esm.js';
2
+ import { o as ValOpsMemory, M as bytesToBase64, F as ValServer, G as createValRequestHandler } from '../../dist/ValRouterCore-c5f6885a.esm.js';
3
3
  import '@valbuild/shared/internal';
4
4
  import 'zod';
5
5
  import 'zod-validation-error';
@@ -3606,7 +3606,7 @@ class ValOps {
3606
3606
  jsonValuesRecordKeys,
3607
3607
  insertValJsonEntry,
3608
3608
  removeValJsonEntry
3609
- } = await Promise.resolve().then(function () { return require('./publishKit-5865095c.cjs.dev.js'); });
3609
+ } = await Promise.resolve().then(function () { return require('./publishKit-34f71e50.cjs.dev.js'); });
3610
3610
  const {
3611
3611
  patchesByModule,
3612
3612
  fileLastUpdatedByPatchId
@@ -5509,7 +5509,7 @@ var packageJson = {
5509
5509
  ],
5510
5510
  exports: true
5511
5511
  },
5512
- version: "0.150.20",
5512
+ version: "0.150.22",
5513
5513
  scripts: {
5514
5514
  typecheck: "tsc --noEmit",
5515
5515
  test: "jest",
@@ -9695,7 +9695,7 @@ const ValServer = (valModules, options, callbacks, platform) => {
9695
9695
  // TypeScript compiler. See `patch/ts/publishKit.ts`.
9696
9696
  const {
9697
9697
  getJsonEntryAtCommit
9698
- } = await Promise.resolve().then(function () { return require('./getJsonEntryAtCommit-cd0b317b.cjs.dev.js'); });
9698
+ } = await Promise.resolve().then(function () { return require('./getJsonEntryAtCommit-21a4bbfa.cjs.dev.js'); });
9699
9699
  const res = await getJsonEntryAtCommit(serverOps, req.query.commit_sha, req.query.path, req.query.key);
9700
9700
  if (fp.result.isErr(res)) {
9701
9701
  return historyErrorResponse(res.error);
@@ -3600,7 +3600,7 @@ class ValOps {
3600
3600
  jsonValuesRecordKeys,
3601
3601
  insertValJsonEntry,
3602
3602
  removeValJsonEntry
3603
- } = await import('./publishKit-bc8df53d.esm.js');
3603
+ } = await import('./publishKit-7441c0fd.esm.js');
3604
3604
  const {
3605
3605
  patchesByModule,
3606
3606
  fileLastUpdatedByPatchId
@@ -5503,7 +5503,7 @@ var packageJson = {
5503
5503
  ],
5504
5504
  exports: true
5505
5505
  },
5506
- version: "0.150.20",
5506
+ version: "0.150.22",
5507
5507
  scripts: {
5508
5508
  typecheck: "tsc --noEmit",
5509
5509
  test: "jest",
@@ -9689,7 +9689,7 @@ const ValServer = (valModules, options, callbacks, platform) => {
9689
9689
  // TypeScript compiler. See `patch/ts/publishKit.ts`.
9690
9690
  const {
9691
9691
  getJsonEntryAtCommit
9692
- } = await import('./getJsonEntryAtCommit-47003e4a.esm.js');
9692
+ } = await import('./getJsonEntryAtCommit-93f9aba9.esm.js');
9693
9693
  const res = await getJsonEntryAtCommit(serverOps, req.query.commit_sha, req.query.path, req.query.key);
9694
9694
  if (result.isErr(res)) {
9695
9695
  return historyErrorResponse(res.error);
@@ -3606,7 +3606,7 @@ class ValOps {
3606
3606
  jsonValuesRecordKeys,
3607
3607
  insertValJsonEntry,
3608
3608
  removeValJsonEntry
3609
- } = await Promise.resolve().then(function () { return require('./publishKit-580f558a.cjs.prod.js'); });
3609
+ } = await Promise.resolve().then(function () { return require('./publishKit-65e9e564.cjs.prod.js'); });
3610
3610
  const {
3611
3611
  patchesByModule,
3612
3612
  fileLastUpdatedByPatchId
@@ -5509,7 +5509,7 @@ var packageJson = {
5509
5509
  ],
5510
5510
  exports: true
5511
5511
  },
5512
- version: "0.150.20",
5512
+ version: "0.150.22",
5513
5513
  scripts: {
5514
5514
  typecheck: "tsc --noEmit",
5515
5515
  test: "jest",
@@ -9695,7 +9695,7 @@ const ValServer = (valModules, options, callbacks, platform) => {
9695
9695
  // TypeScript compiler. See `patch/ts/publishKit.ts`.
9696
9696
  const {
9697
9697
  getJsonEntryAtCommit
9698
- } = await Promise.resolve().then(function () { return require('./getJsonEntryAtCommit-bc6d4f82.cjs.prod.js'); });
9698
+ } = await Promise.resolve().then(function () { return require('./getJsonEntryAtCommit-b52171b1.cjs.prod.js'); });
9699
9699
  const res = await getJsonEntryAtCommit(serverOps, req.query.commit_sha, req.query.path, req.query.key);
9700
9700
  if (fp.result.isErr(res)) {
9701
9701
  return historyErrorResponse(res.error);
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var ts = require('typescript');
4
- var ValRouterCore = require('./ValRouterCore-94671fe0.cjs.dev.js');
4
+ var ValRouterCore = require('./ValRouterCore-3431ce5f.cjs.dev.js');
5
5
  var fp = require('@valbuild/core/fp');
6
- var jsonValuesModule = require('./jsonValuesModule-8ae503a8.cjs.dev.js');
6
+ var jsonValuesModule = require('./jsonValuesModule-235bd751.cjs.dev.js');
7
7
  require('@valbuild/core');
8
8
  require('@valbuild/shared/internal');
9
9
  require('zod');
@@ -1,7 +1,7 @@
1
1
  import ts from 'typescript';
2
- import { N as bytesToUtf8, O as posixPath } from './ValRouterCore-69585ccd.esm.js';
2
+ import { N as bytesToUtf8, O as posixPath } from './ValRouterCore-c5f6885a.esm.js';
3
3
  import { result } from '@valbuild/core/fp';
4
- import { a as analyzeValModule, c as analyzeJsonValuesEntries } from './jsonValuesModule-427d68c8.esm.js';
4
+ import { a as analyzeValModule, c as analyzeJsonValuesEntries } from './jsonValuesModule-23eb6f53.esm.js';
5
5
  import '@valbuild/core';
6
6
  import '@valbuild/shared/internal';
7
7
  import 'zod';
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var ts = require('typescript');
4
- var ValRouterCore = require('./ValRouterCore-e59bbc75.cjs.prod.js');
4
+ var ValRouterCore = require('./ValRouterCore-df3f99c6.cjs.prod.js');
5
5
  var fp = require('@valbuild/core/fp');
6
- var jsonValuesModule = require('./jsonValuesModule-d1bb8d8f.cjs.prod.js');
6
+ var jsonValuesModule = require('./jsonValuesModule-625ebae8.cjs.prod.js');
7
7
  require('@valbuild/core');
8
8
  require('@valbuild/shared/internal');
9
9
  require('zod');
@@ -216,6 +216,43 @@ function jsonValuesRecordKeys(source) {
216
216
  }
217
217
  return keys;
218
218
  }
219
+
220
+ /**
221
+ * The Source a `c.define(...)` literal declares, as a module's Source is
222
+ * stored: each `.jsonValues()` entry's `c.json(() => import("..."))` as the
223
+ * marker `{ _type: "json" }` its content stands behind, and every other value
224
+ * as written. An error for anything that is not a literal.
225
+ *
226
+ * What a staging records for a module (`stagedModuleSources`): without the
227
+ * markers, an entry the design tab added to a record was in the module's code
228
+ * and not in its Source, and an edit into it was undone.
229
+ */
230
+ function evaluateModuleSource(source) {
231
+ const entries = analyzeJsonValuesEntries(source);
232
+ if (entries.size === 0 || !ts__default["default"].isObjectLiteralExpression(source)) {
233
+ return evaluateExpression(source);
234
+ }
235
+ const value = {};
236
+ for (const prop of source.properties) {
237
+ if (!ts__default["default"].isPropertyAssignment(prop)) {
238
+ return fp.result.err(new ValSyntaxError("Expected a property assignment", prop));
239
+ }
240
+ const key = getPropertyKey(prop.name);
241
+ if (key === null) {
242
+ return fp.result.err(new ValSyntaxError("Expected a literal key", prop.name));
243
+ }
244
+ if (entries.has(key)) {
245
+ value[key] = {
246
+ _type: "json"
247
+ };
248
+ continue;
249
+ }
250
+ const evaluated = evaluateExpression(prop.initializer);
251
+ if (fp.result.isErr(evaluated)) return evaluated;
252
+ value[key] = evaluated.value;
253
+ }
254
+ return fp.result.ok(value);
255
+ }
219
256
  function getPropertyKey(name) {
220
257
  if (ts__default["default"].isStringLiteralLike(name)) {
221
258
  return name.text;
@@ -279,6 +316,7 @@ function getImportPathFromThunk(thunk) {
279
316
  exports.analyzeJsonValuesEntries = analyzeJsonValuesEntries;
280
317
  exports.analyzeValModule = analyzeValModule;
281
318
  exports.evaluateExpression = evaluateExpression;
319
+ exports.evaluateModuleSource = evaluateModuleSource;
282
320
  exports.findObjectPropertyAssignment = findObjectPropertyAssignment;
283
321
  exports.flatMapErrors = flatMapErrors;
284
322
  exports.formatSyntaxError = formatSyntaxError;
@@ -210,6 +210,43 @@ function jsonValuesRecordKeys(source) {
210
210
  }
211
211
  return keys;
212
212
  }
213
+
214
+ /**
215
+ * The Source a `c.define(...)` literal declares, as a module's Source is
216
+ * stored: each `.jsonValues()` entry's `c.json(() => import("..."))` as the
217
+ * marker `{ _type: "json" }` its content stands behind, and every other value
218
+ * as written. An error for anything that is not a literal.
219
+ *
220
+ * What a staging records for a module (`stagedModuleSources`): without the
221
+ * markers, an entry the design tab added to a record was in the module's code
222
+ * and not in its Source, and an edit into it was undone.
223
+ */
224
+ function evaluateModuleSource(source) {
225
+ const entries = analyzeJsonValuesEntries(source);
226
+ if (entries.size === 0 || !ts.isObjectLiteralExpression(source)) {
227
+ return evaluateExpression(source);
228
+ }
229
+ const value = {};
230
+ for (const prop of source.properties) {
231
+ if (!ts.isPropertyAssignment(prop)) {
232
+ return result.err(new ValSyntaxError("Expected a property assignment", prop));
233
+ }
234
+ const key = getPropertyKey(prop.name);
235
+ if (key === null) {
236
+ return result.err(new ValSyntaxError("Expected a literal key", prop.name));
237
+ }
238
+ if (entries.has(key)) {
239
+ value[key] = {
240
+ _type: "json"
241
+ };
242
+ continue;
243
+ }
244
+ const evaluated = evaluateExpression(prop.initializer);
245
+ if (result.isErr(evaluated)) return evaluated;
246
+ value[key] = evaluated.value;
247
+ }
248
+ return result.ok(value);
249
+ }
213
250
  function getPropertyKey(name) {
214
251
  if (ts.isStringLiteralLike(name)) {
215
252
  return name.text;
@@ -270,4 +307,4 @@ function getImportPathFromThunk(thunk) {
270
307
  return null;
271
308
  }
272
309
 
273
- export { analyzeValModule as a, formatSyntaxError as b, analyzeJsonValuesEntries as c, formatSyntaxErrorTree as d, findObjectPropertyAssignment as e, flatMapErrors as f, evaluateExpression as g, jsonValuesRecordKeys as j, shallowValidateExpression as s, validateInitializers as v };
310
+ export { analyzeValModule as a, formatSyntaxError as b, analyzeJsonValuesEntries as c, formatSyntaxErrorTree as d, findObjectPropertyAssignment as e, flatMapErrors as f, evaluateExpression as g, evaluateModuleSource as h, jsonValuesRecordKeys as j, shallowValidateExpression as s, validateInitializers as v };
@@ -216,6 +216,43 @@ function jsonValuesRecordKeys(source) {
216
216
  }
217
217
  return keys;
218
218
  }
219
+
220
+ /**
221
+ * The Source a `c.define(...)` literal declares, as a module's Source is
222
+ * stored: each `.jsonValues()` entry's `c.json(() => import("..."))` as the
223
+ * marker `{ _type: "json" }` its content stands behind, and every other value
224
+ * as written. An error for anything that is not a literal.
225
+ *
226
+ * What a staging records for a module (`stagedModuleSources`): without the
227
+ * markers, an entry the design tab added to a record was in the module's code
228
+ * and not in its Source, and an edit into it was undone.
229
+ */
230
+ function evaluateModuleSource(source) {
231
+ const entries = analyzeJsonValuesEntries(source);
232
+ if (entries.size === 0 || !ts__default["default"].isObjectLiteralExpression(source)) {
233
+ return evaluateExpression(source);
234
+ }
235
+ const value = {};
236
+ for (const prop of source.properties) {
237
+ if (!ts__default["default"].isPropertyAssignment(prop)) {
238
+ return fp.result.err(new ValSyntaxError("Expected a property assignment", prop));
239
+ }
240
+ const key = getPropertyKey(prop.name);
241
+ if (key === null) {
242
+ return fp.result.err(new ValSyntaxError("Expected a literal key", prop.name));
243
+ }
244
+ if (entries.has(key)) {
245
+ value[key] = {
246
+ _type: "json"
247
+ };
248
+ continue;
249
+ }
250
+ const evaluated = evaluateExpression(prop.initializer);
251
+ if (fp.result.isErr(evaluated)) return evaluated;
252
+ value[key] = evaluated.value;
253
+ }
254
+ return fp.result.ok(value);
255
+ }
219
256
  function getPropertyKey(name) {
220
257
  if (ts__default["default"].isStringLiteralLike(name)) {
221
258
  return name.text;
@@ -279,6 +316,7 @@ function getImportPathFromThunk(thunk) {
279
316
  exports.analyzeJsonValuesEntries = analyzeJsonValuesEntries;
280
317
  exports.analyzeValModule = analyzeValModule;
281
318
  exports.evaluateExpression = evaluateExpression;
319
+ exports.evaluateModuleSource = evaluateModuleSource;
282
320
  exports.findObjectPropertyAssignment = findObjectPropertyAssignment;
283
321
  exports.flatMapErrors = flatMapErrors;
284
322
  exports.formatSyntaxError = formatSyntaxError;
@@ -2,7 +2,7 @@
2
2
 
3
3
  var ts = require('typescript');
4
4
  var fp = require('@valbuild/core/fp');
5
- var jsonValuesModule = require('./jsonValuesModule-d1bb8d8f.cjs.prod.js');
5
+ var jsonValuesModule = require('./jsonValuesModule-625ebae8.cjs.prod.js');
6
6
  var patch = require('@valbuild/core/patch');
7
7
 
8
8
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
@@ -2,7 +2,7 @@
2
2
 
3
3
  var ts = require('typescript');
4
4
  var fp = require('@valbuild/core/fp');
5
- var jsonValuesModule = require('./jsonValuesModule-8ae503a8.cjs.dev.js');
5
+ var jsonValuesModule = require('./jsonValuesModule-235bd751.cjs.dev.js');
6
6
  var patch = require('@valbuild/core/patch');
7
7
 
8
8
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
@@ -1,6 +1,6 @@
1
1
  import ts from 'typescript';
2
2
  import { pipe, result } from '@valbuild/core/fp';
3
- import { a as analyzeValModule, e as findObjectPropertyAssignment, s as shallowValidateExpression, g as evaluateExpression, v as validateInitializers } from './jsonValuesModule-427d68c8.esm.js';
3
+ import { a as analyzeValModule, e as findObjectPropertyAssignment, s as shallowValidateExpression, g as evaluateExpression, v as validateInitializers } from './jsonValuesModule-23eb6f53.esm.js';
4
4
  import { PatchError, deepEqual, parseAndValidateArrayIndex, isNotRoot } from '@valbuild/core/patch';
5
5
 
6
6
  function isValidIdentifier(text) {
@@ -2,8 +2,8 @@
2
2
 
3
3
  var ts = require('typescript');
4
4
  var fp = require('@valbuild/core/fp');
5
- var ops = require('./ops-f37d18c6.cjs.dev.js');
6
- var jsonValuesModule = require('./jsonValuesModule-8ae503a8.cjs.dev.js');
5
+ var ops = require('./ops-9ca2ef2a.cjs.dev.js');
6
+ var jsonValuesModule = require('./jsonValuesModule-235bd751.cjs.dev.js');
7
7
  require('@valbuild/core/patch');
8
8
 
9
9
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
@@ -36,6 +36,7 @@ exports.insertValJsonEntry = ops.insertValJsonEntry;
36
36
  exports.removeValJsonEntry = ops.removeValJsonEntry;
37
37
  exports.analyzeJsonValuesEntries = jsonValuesModule.analyzeJsonValuesEntries;
38
38
  exports.analyzeValModule = jsonValuesModule.analyzeValModule;
39
+ exports.evaluateModuleSource = jsonValuesModule.evaluateModuleSource;
39
40
  exports.jsonValuesRecordKeys = jsonValuesModule.jsonValuesRecordKeys;
40
41
  exports.parseValFile = parseValFile;
41
42
  exports.tsOps = tsOps;
@@ -2,8 +2,8 @@
2
2
 
3
3
  var ts = require('typescript');
4
4
  var fp = require('@valbuild/core/fp');
5
- var ops = require('./ops-b15239ac.cjs.prod.js');
6
- var jsonValuesModule = require('./jsonValuesModule-d1bb8d8f.cjs.prod.js');
5
+ var ops = require('./ops-0e54b388.cjs.prod.js');
6
+ var jsonValuesModule = require('./jsonValuesModule-625ebae8.cjs.prod.js');
7
7
  require('@valbuild/core/patch');
8
8
 
9
9
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
@@ -36,6 +36,7 @@ exports.insertValJsonEntry = ops.insertValJsonEntry;
36
36
  exports.removeValJsonEntry = ops.removeValJsonEntry;
37
37
  exports.analyzeJsonValuesEntries = jsonValuesModule.analyzeJsonValuesEntries;
38
38
  exports.analyzeValModule = jsonValuesModule.analyzeValModule;
39
+ exports.evaluateModuleSource = jsonValuesModule.evaluateModuleSource;
39
40
  exports.jsonValuesRecordKeys = jsonValuesModule.jsonValuesRecordKeys;
40
41
  exports.parseValFile = parseValFile;
41
42
  exports.tsOps = tsOps;
@@ -1,9 +1,9 @@
1
1
  import ts from 'typescript';
2
2
  import { pipe, result } from '@valbuild/core/fp';
3
- import { T as TSOps } from './ops-0d05feaf.esm.js';
4
- export { i as insertValJsonEntry, r as removeValJsonEntry } from './ops-0d05feaf.esm.js';
5
- import { a as analyzeValModule } from './jsonValuesModule-427d68c8.esm.js';
6
- export { c as analyzeJsonValuesEntries, a as analyzeValModule, j as jsonValuesRecordKeys } from './jsonValuesModule-427d68c8.esm.js';
3
+ import { T as TSOps } from './ops-b904007e.esm.js';
4
+ export { i as insertValJsonEntry, r as removeValJsonEntry } from './ops-b904007e.esm.js';
5
+ import { a as analyzeValModule } from './jsonValuesModule-23eb6f53.esm.js';
6
+ export { c as analyzeJsonValuesEntries, a as analyzeValModule, h as evaluateModuleSource, j as jsonValuesRecordKeys } from './jsonValuesModule-23eb6f53.esm.js';
7
7
  import '@valbuild/core/patch';
8
8
 
9
9
  /**