feat(ui): finalize E-TIB modernization with footer redesign, video optimization, and TS fixes

Former-commit-id: 67ac02c8404cc66893fdf97308574701cca6000c
This commit is contained in:
2026-05-07 10:43:20 +02:00
parent f2fdea96ec
commit 5439df72ea
3712 changed files with 932332 additions and 1867 deletions
@@ -0,0 +1 @@
../../estree-util-to-js@2.0.0/node_modules/estree-util-to-js
@@ -0,0 +1,2 @@
// Note: types exposed from `index.d.ts`.
export {default} from './lib/index.js'
@@ -0,0 +1,45 @@
/**
* @import {Program} from 'estree'
* @import {Options} from 'recma-stringify'
* @import {Processor} from 'unified'
* @import {VFile} from 'vfile'
*/
import {toJs} from 'estree-util-to-js'
/**
* Plugin to add support for serializing as JavaScript.
*
* @this {Processor<undefined, undefined, undefined, Program, string>}
* Processor instance.
* @param {Readonly<Options> | null | undefined} [options]
* Configuration (optional).
* @returns {undefined}
* Nothing.
*/
export default function recmaStringify(options) {
const self = this
this.compiler = compiler
/**
* @param {Program} tree
* Tree.
* @param {VFile} file
* File.
* @returns {string}
* JavaScript.
*/
function compiler(tree, file) {
const settings = {...self.data('settings'), ...options}
const result = toJs(tree, {
SourceMapGenerator: settings.SourceMapGenerator,
filePath: file.path || 'unknown.js',
handlers: settings.handlers
})
file.map = result.map
return result.value
}
}
@@ -0,0 +1,52 @@
{
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"bugs": "https://github.com/mdx-js/recma/issues",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
],
"description": "recma plugin to serialize JavaScript",
"dependencies": {
"@types/estree": "^1.0.0",
"estree-util-to-js": "^2.0.0",
"unified": "^11.0.0",
"vfile": "^6.0.0"
},
"exports": "./index.js",
"files": [
"lib/",
"index.d.ts",
"index.js"
],
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
},
"homepage": "https://github.com/mdx-js/recma",
"keywords": [
"abstract",
"ast",
"compile",
"javascript",
"plugin",
"recma-plugin",
"recma",
"serialize",
"stringify",
"syntax",
"tree",
"unified"
],
"license": "MIT",
"name": "recma-stringify",
"repository": "https://github.com/mdx-js/recma/tree/main/packages/recma-stringify",
"scripts": {},
"sideEffects": false,
"typeCoverage": {
"atLeast": 100,
"detail": true,
"strict": true,
"ignoreCatch": true
},
"type": "module",
"version": "1.0.0"
}