This commit is contained in:
parent
7b4e6db306
commit
aaa56738b5
2
packages/app/custom.d.ts
vendored
2
packages/app/custom.d.ts
vendored
@ -70,4 +70,4 @@ declare const SINGLE_RELAY: string | undefined;
|
|||||||
/**
|
/**
|
||||||
* Build git hash
|
* Build git hash
|
||||||
*/
|
*/
|
||||||
declare const GIT_VERSION: string;
|
declare const __SNORT_VERSION__: string;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@snort/app",
|
"name": "@snort/app",
|
||||||
"version": "0.1.10",
|
"version": "0.1.22",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cashu/cashu-ts": "^0.6.1",
|
"@cashu/cashu-ts": "^0.6.1",
|
||||||
"@lightninglabs/lnc-web": "^0.2.3-alpha",
|
"@lightninglabs/lnc-web": "^0.2.3-alpha",
|
||||||
|
@ -17,12 +17,12 @@ export function AboutPage() {
|
|||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<div className="main-content p">
|
||||||
<h1>
|
<h1>
|
||||||
<FormattedMessage defaultMessage="About" id="g5pX+a" />
|
<FormattedMessage defaultMessage="About" id="g5pX+a" />
|
||||||
</h1>
|
</h1>
|
||||||
Version: <b>{GIT_VERSION}</b>
|
Version: <b>{__SNORT_VERSION__}</b>
|
||||||
<Markdown content={changelog} tags={[]} />
|
<Markdown content={changelog} tags={[]} />
|
||||||
</>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,7 @@ import react from "@vitejs/plugin-react";
|
|||||||
import { VitePWA } from "vite-plugin-pwa";
|
import { VitePWA } from "vite-plugin-pwa";
|
||||||
import { visualizer } from "rollup-plugin-visualizer";
|
import { visualizer } from "rollup-plugin-visualizer";
|
||||||
import { defineConfig } from "vite";
|
import { defineConfig } from "vite";
|
||||||
|
import { vitePluginVersionMark } from "vite-plugin-version-mark";
|
||||||
|
|
||||||
import appConfig from "config";
|
import appConfig from "config";
|
||||||
|
|
||||||
@ -22,6 +23,11 @@ export default defineConfig({
|
|||||||
gzipSize: true,
|
gzipSize: true,
|
||||||
filename: "dist/stats.html",
|
filename: "dist/stats.html",
|
||||||
}),
|
}),
|
||||||
|
vitePluginVersionMark({
|
||||||
|
name: "snort",
|
||||||
|
ifGitSHA: true,
|
||||||
|
command: "git describe --always --tags",
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
assetsInclude: ["**/*.md", "**/*.wasm"],
|
assetsInclude: ["**/*.md", "**/*.wasm"],
|
||||||
build: {
|
build: {
|
||||||
|
Loading…
Reference in New Issue
Block a user