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