mirror of
https://github.com/enso-browser/desktop.git
synced 2026-10-30 20:31:29 +00:00
Complete rebranding of the desktop codebase: - Rename directories: src/zen/ → src/enso/, prefs/zen/ → prefs/enso/ - Rename 400+ files (CSS, JS, MJS, FTL locales, XHTML, C++, patches) - Update 125+ preference keys (zen.* → enso.*) - Update CSS custom properties (--zen-* → --enso-*) - Update HTML attribute selectors ([zen-*] → [enso-*]) - Update 30+ JS class names (Zen* → Enso*) - Update C++ namespaces and contract IDs - Update resource URIs, build manifests, CI workflows - Update locales across 40+ languages - Update build scripts, signing scripts, test paths
15 lines
489 B
JavaScript
15 lines
489 B
JavaScript
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
const fs = require("fs");
|
|
const MJS_FILES = ["src/enso/split-view/EnsoViewSplitter.ts"];
|
|
|
|
for (const file of MJS_FILES) {
|
|
const code = fs.readFileSync(file, "utf8");
|
|
require("@babel/core").transformSync(code, {
|
|
presets: ["@babel/preset-typescript"],
|
|
filename: file,
|
|
});
|
|
}
|