mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-12 08:30:26 -07:00
chore: install cssbundling rails and set up compilation
This commit is contained in:
parent
09ab4d214e
commit
99ef1cb2c8
4670 changed files with 393937 additions and 25 deletions
12
spec/dummy/node_modules/simple-update-notifier/src/borderedText.ts
generated
vendored
Normal file
12
spec/dummy/node_modules/simple-update-notifier/src/borderedText.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
const borderedText = (text: string) => {
|
||||
const lines = text.split('\n');
|
||||
const width = Math.max(...lines.map((l) => l.length));
|
||||
const res = [`┌${'─'.repeat(width + 2)}┐`];
|
||||
for (const line of lines) {
|
||||
res.push(`│ ${line.padEnd(width)} │`);
|
||||
}
|
||||
res.push(`└${'─'.repeat(width + 2)}┘`);
|
||||
return res.join('\n');
|
||||
};
|
||||
|
||||
export default borderedText;
|
||||
Loading…
Add table
Add a link
Reference in a new issue