diff --git a/package-lock.json b/package-lock.json index 4706164..51cf2ad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@astrojs/check": "^0.3.1", "@astrojs/mdx": "^1.1.5", - "@c0ntroller/wasm-terminal": "^0.1.0", + "@c0ntroller/wasm-terminal": ">=0.1.0", "astro": "^3.6.0", "astro-icon": "^0.8.1", "sass": "^1.69.5", @@ -526,9 +526,9 @@ } }, "node_modules/@c0ntroller/wasm-terminal": { - "version": "0.1.0", - "resolved": "https://git.c0ntroller.de/api/packages/c0ntroller/npm/%40c0ntroller%2Fwasm-terminal/-/0.1.0/wasm-terminal-0.1.0.tgz", - "integrity": "sha512-mQfm8QcvD6Jq2Eyowiimv0wUWFof+ZQkf7ibXE6Mi5gmkVK7rxOMisn2Tbj8a2RhLnKCL6RutKiKKeH1WGBe4A==", + "version": "0.1.1", + "resolved": "https://git.c0ntroller.de/api/packages/c0ntroller/npm/%40c0ntroller%2Fwasm-terminal/-/0.1.1/wasm-terminal-0.1.1.tgz", + "integrity": "sha512-UQpQWPNCYtx8AYgxWfNYd+KG5qckdAJ4OtwRxIAz7AzJRmFuMZ5Jud0vp+y0tBUla3jqpyybDc4gDiG2sPo2Qw==", "license": "GPT-3" }, "node_modules/@emmetio/abbreviation": { @@ -8712,9 +8712,9 @@ } }, "@c0ntroller/wasm-terminal": { - "version": "0.1.0", - "resolved": "https://git.c0ntroller.de/api/packages/c0ntroller/npm/%40c0ntroller%2Fwasm-terminal/-/0.1.0/wasm-terminal-0.1.0.tgz", - "integrity": "sha512-mQfm8QcvD6Jq2Eyowiimv0wUWFof+ZQkf7ibXE6Mi5gmkVK7rxOMisn2Tbj8a2RhLnKCL6RutKiKKeH1WGBe4A==" + "version": "0.1.1", + "resolved": "https://git.c0ntroller.de/api/packages/c0ntroller/npm/%40c0ntroller%2Fwasm-terminal/-/0.1.1/wasm-terminal-0.1.1.tgz", + "integrity": "sha512-UQpQWPNCYtx8AYgxWfNYd+KG5qckdAJ4OtwRxIAz7AzJRmFuMZ5Jud0vp+y0tBUla3jqpyybDc4gDiG2sPo2Qw==" }, "@emmetio/abbreviation": { "version": "2.3.3", diff --git a/package.json b/package.json index d16dc5a..419f7db 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/check": "^0.3.1", "@astrojs/mdx": "^1.1.5", - "@c0ntroller/wasm-terminal": "^0.1.0", + "@c0ntroller/wasm-terminal": ">=0.1.0", "astro": "^3.6.0", "astro-icon": "^0.8.1", "sass": "^1.69.5", diff --git a/src/pages/terminal.astro b/src/pages/terminal.astro index d4f76ae..a127d3c 100644 --- a/src/pages/terminal.astro +++ b/src/pages/terminal.astro @@ -1,33 +1,89 @@ --- import Layout from "../layouts/Layout.astro"; +import wasmData from "@c0ntroller/wasm-terminal/package.json"; + +const date = new Date(); +const screenVersion = `${date.getFullYear()}${date.getMonth()+1}${date.getDate()}${date.getHours()}${date.getMinutes()}`; +const wasmVersion = wasmData.version; --- -
-

+    
+
+ +
cer0 0S V{wasmVersion} - UI V{screenVersion}
+ +
+
user@cer0
:
/
- + +