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 +20 -0
- package/dist/doc-system/site/orchestrator.js +6 -1
- package/dist/iife.js +35 -35
- package/dist/iife.js.map +7 -7
- package/dist/live-example/code-transform.js +0 -0
- package/dist/live-example/component.js +6 -6
- package/dist/live-example/execution.js +2 -2
- package/dist/live-example/test-harness.js +1 -1
- package/dist/live-example/types.d.ts +3 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/llms.txt +1 -1
- package/package.json +3 -3
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: [
|
|
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');
|