Skip to content

Commit ff17eee

Browse files
authored
Revert "Add auto version (#142)"
This reverts commit 7e121e9.
1 parent 7e121e9 commit ff17eee

File tree

5 files changed

+2
-92
lines changed

5 files changed

+2
-92
lines changed

.github/workflows/bump-version-on-push.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/bump-version-on-release.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
const API_URL = process.env.API_URL;
2-
import pkg from "./package.json" assert { type: "json" };
3-
export const { version } = pkg;
42

5-
export default {
3+
module.exports = {
64
async rewrites() {
75
return [
86
{
@@ -12,7 +10,4 @@ export default {
1210
];
1311
},
1412
output: "standalone",
15-
env: {
16-
NEXT_PUBLIC_APP_VERSION: version,
17-
},
1813
};

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "client",
3-
"version": "1.3.0",
3+
"version": "1.0.0",
44
"description": "Lounge Hub Frontend",
55
"main": "index.js",
66
"scripts": {

client/src/app/page.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,12 @@ import LoggedOutPage from "./lounge/page/logged-out-page";
1212
export default function Page() {
1313
// Auth contexts
1414
const { isAuthenticated } = useAuth0();
15-
const version = process.env.NEXT_PUBLIC_APP_VERSION || "1.0.0";
1615

1716
return (
1817
<div className="min-h-screen bg-[#0D0D0E] p-1">
1918
<AuthStatus />
2019
{/* If authenticated, display LoggedInPage (regular lounge app). If not, display LoggedOutPage component */}
2120
{isAuthenticated ? <LoggedInPage /> : <LoggedOutPage />}
22-
<div className="fixed bottom-0 right-0 m-4 rounded bg-[#0D0D0E] p-2 text-gray-400 shadow">
23-
{version}
24-
</div>
2521
</div>
2622
);
2723
}

0 commit comments

Comments
 (0)