Compare commits

...
7 Commits
Author SHA1 Message Date
niggl 2bd3779839 Merge pull request '🐞🐳 fix Dockerfile' (#138) from bugfix/136-opacity_reactivity into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #138
2021-04-16 15:51:37 +00:00
philipp 303e33cafb 🐞🐳 fix Dockerfile
ref #136
2021-04-16 17:46:15 +02:00
niggl b4e689dddf Dockerfile now uses selfhosted registry
continuous-integration/drone/push Build is passing
2021-04-15 19:50:37 +02:00
niggl 98a0b036c5 new license file version [CI SKIP] 2021-04-15 17:46:04 +00:00
niggl fb3f30fb10 Merge pull request 'Opacity import fix bugfix/136-opacity_reactivity' (#137) from bugfix/136-opacity_reactivity into dev
continuous-integration/drone/push Build is failing
Reviewed-on: #137
2021-04-15 17:44:49 +00:00
niggl 6213952007 Added bs import fix
ref #136
2021-04-15 19:43:43 +02:00
philipp 07ac041d69 🚚 move to tailwind
ref #136
2021-04-15 19:22:57 +02:00
9 changed files with 28 additions and 25 deletions
+4 -6
View File
@@ -1,14 +1,12 @@
FROM node:15.5.1-alpine3.12
FROM registry.odit.services/hub/library/node:15.14.0-alpine3.13
WORKDIR /app
COPY package.json ./
RUN yarn
COPY package.json *.config.js index.html ./
COPY package.json *.config.js postcss.config.cjs index.html ./
COPY src ./src
COPY public ./public
RUN yarn build
# final image
FROM alpine
COPY --from=0 /app/dist /app
FROM fholzer/nginx-brotli:v1.19.1
COPY --from=1 /app /usr/share/nginx/html
FROM registry.odit.services/hub/fholzer/nginx-brotli:v1.19.1
COPY --from=0 /app/dist /usr/share/nginx/html
COPY ./nginx.conf /etc/nginx/nginx.conf
+5 -5
View File
@@ -10,30 +10,30 @@
},
"license": "CC-BY-NC-SA-4.0",
"devDependencies": {
"check-password-strength": "2.0.2",
"@odit/lfk-client-js": "0.11.0",
"@odit/license-exporter": "0.0.11",
"@sveltejs/vite-plugin-svelte": "1.0.0-next.6",
"@types/html-minifier": "4.0.0",
"auto-changelog": "2.2.1",
"autoprefixer": "10.2.5",
"autoprefixer": "^10.2.5",
"check-password-strength": "2.0.2",
"csvtojson": "2.0.10",
"gridjs": "3.4.0",
"html-minifier": "4.0.0",
"localforage": "1.9.0",
"marked": "2.0.3",
"postcss": "^8.2.10",
"release-it": "14.6.1",
"svelte": "3.37.0",
"svelte-focus-trap": "1.2.0",
"svelte-i18n": "3.3.9",
"svelte-preprocess": "4.7.0",
"svelte-preprocess": "^4.7.0",
"svelte-select": "3.17.0",
"tailwindcss": "2.1.1",
"tailwindcss": "^2.1.1",
"tinro": "0.6.1",
"toastify-js": "1.10.0",
"validator": "13.5.2",
"vite": "2.1.5",
"vite-plugin-windicss": "0.14.0",
"xlsx": "0.16.9"
},
"release-it": {
+6
View File
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {}
}
};
+1 -1
View File
File diff suppressed because one or more lines are too long
+6
View File
@@ -0,0 +1,6 @@
<!--
Temporary tailwind import fixes for classes that wouldn't be directly used otherwise.
Or as others may call it: Real big bullshit time.
Issue: https://git.odit.services/lfk/frontend/issues/136
-->
<div class="opacity-50"></div>
+1 -1
View File
@@ -1,4 +1,4 @@
import 'windi.css';
import './style.css';
import "toastify-js/src/toastify.css";
import "gridjs/dist/theme/mermaid.css";
import App from './App.svelte';
+3
View File
@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
+2
View File
@@ -1,4 +1,6 @@
module.exports = {
mode: 'jit',
purge: [ './src/**/*.svelte' ],
theme: {
extend: {
colors: {
-12
View File
@@ -1,5 +1,4 @@
import svelte from '@sveltejs/vite-plugin-svelte';
import windiCSS from 'vite-plugin-windicss';
import { minify } from 'html-minifier';
import { defineConfig } from 'vite';
//
@@ -24,17 +23,6 @@ export default defineConfig(({ command, mode }) => {
minify: isProduction
},
plugins: [
windiCSS({
//@ts-ignore
verbose: true,
silent: false,
debug: true,
config: 'tailwind.config.js', // tailwind config file path (optional)
compile: false, // false: interpretation mode; true: compilation mode
prefix: 'windi-', // set compilation mode style prefix
globalPreflight: true, // set preflight style is global or scoped
globalUtility: true // set utility style is global or scoped
}),
svelte({
//@ts-ignore
hot: !isProduction,