kopia lustrzana https://codeberg.org/nmkj/audon
first alpha
rodzic
a569ec8270
commit
bbc2f312a8
|
@ -3,11 +3,9 @@ FROM node:18-bullseye
|
|||
WORKDIR /workspace
|
||||
|
||||
COPY audon-fe/ /workspace/
|
||||
COPY .git /workspace/.git
|
||||
|
||||
RUN npm install && \
|
||||
npm run build && \
|
||||
npm run hash
|
||||
npm run build
|
||||
|
||||
FROM golang:1.19-bullseye
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<meta name="description" content="Audon: audio conversation, radio talk room for Mastodon (and Pleroma)">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app" data-version='%%VERSION%%'></div>
|
||||
<div id="app" data-version='dev'></div>
|
||||
<script type="module" src="/src/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<meta charset="UTF-8">
|
||||
<link rel="icon" href="/src/assets/favicon.svg">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
|
||||
<title>Audon</title>
|
||||
<meta name="description" content="Audon: audio conversation, radio talk room for Mastodon (and Pleroma)">
|
||||
|
||||
|
@ -40,8 +40,8 @@
|
|||
{% end %}
|
||||
</head>
|
||||
<body>
|
||||
<div id="app" data-version='%%VERSION%%'></div>
|
||||
<div id="app" data-version='0.1.0-alpha'></div>
|
||||
<script type="module" src="/src/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
{% end %}
|
||||
{% end %}
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
{
|
||||
"name": "audon-fe",
|
||||
"version": "0.1.0-dev",
|
||||
"version": "0.1.0-alpha",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "cp -v index.dev.html index.html && vite",
|
||||
"build": "cp -v index.prod.html index.html && vite build",
|
||||
"hash": "sh -c 'sed -i -e \"s/%%VERSION%%/git-$(git rev-parse --short HEAD)/\" dist/index.html'",
|
||||
"preview": "vite preview",
|
||||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"
|
||||
},
|
||||
|
|
Ładowanie…
Reference in New Issue