tosijs-ui 1.6.13 → 1.6.14

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,25 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.6.14
4
+
5
+ Lighter live-example transpilation. Additive; affects only how the live-example
6
+ runner loads its (optional, lazy) transpiler.
7
+
8
+ ### Changed
9
+
10
+ - **Live examples now use tjs-lang 0.8.5's self-contained browser bundles**
11
+ (`tjs-lang/browser` + `tjs-lang/browser/from-ts`). The transpiler is a single
12
+ self-contained chunk, and the TypeScript compiler is **lazy-loaded from a CDN at
13
+ runtime** only when a `ts` example actually transpiles — so `typescript` (~MB)
14
+ and the transpiler's own deps are never in a consumer's dependency graph. This
15
+ also fixes the `ts` example path, which previously tried to load the TypeScript
16
+ compiler through a CDN transform that timed out on its size.
17
+ - `tjs-lang` optional peer bumped to `^0.8.6`.
18
+
19
+ ### Fixed
20
+
21
+ - A garbled character in the first `example` doc snippet that made it throw.
22
+
3
23
  ## 1.6.13
4
24
 
5
25
  The documentation system becomes a real publishing pipeline: every doc site can
@@ -113,7 +113,12 @@ export async function buildSite(config) {
113
113
  naming: scriptName,
114
114
  // tjs-lang transpiles live examples; it's dynamically import()'d at
115
115
  // runtime (falling back to CDN), so keep it out of the bundle.
116
- external: ['tjs-lang', 'tjs-lang/lang', ...(config.bundleExternals ?? [])],
116
+ external: [
117
+ 'tjs-lang',
118
+ 'tjs-lang/browser',
119
+ 'tjs-lang/browser/from-ts',
120
+ ...(config.bundleExternals ?? []),
121
+ ],
117
122
  });
118
123
  if (!result.success) {
119
124
  console.error('bundle build failed');