chore(release): prepare public source release

This commit is contained in:
MercuryToolbox Release
2026-07-18 15:41:59 +08:00
commit e365e5df4d
508 changed files with 163373 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
export function helper(value) {
return value.trim();
}
export const makeGreeter = (name) => {
return `hello ${name}`;
};
export class BrowserThing {
open(url) {
return url;
}
}
export function demo(value, url) {
const browser = new BrowserThing();
return helper(browser.open(url ?? value));
}
+25
View File
@@ -0,0 +1,25 @@
export interface Report {
title: string;
}
export type Builder = (name: string) => string;
export function helper(name: string): string {
return name.toUpperCase();
}
export const makeTyped = (value: number): number => {
return value + 1;
};
export namespace Tools {
export function open(path: string): string {
return path;
}
}
export function renderReport(name: string, path: string): Report {
return {
title: helper(Tools.open(path)) + name,
};
}
+13
View File
@@ -0,0 +1,13 @@
export abstract class Screen {
render(): string {
return "screen";
}
}
export const makeScreen = (name: string): string => {
return `<div>${name}</div>`;
};
export const renderScreen = (screen: Screen): string => {
return screen.render();
};