mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-01-03 14:57:22 +03:00
Update to vite 6
This commit is contained in:
parent
8ac347f52d
commit
44e9a336aa
12 changed files with 605 additions and 471 deletions
|
@ -1,8 +1,8 @@
|
||||||
FROM node:23.3-alpine as node
|
FROM node:23.3-alpine AS node
|
||||||
COPY . /shlink-web-client
|
COPY . /shlink-web-client
|
||||||
ARG VERSION="latest"
|
ARG VERSION="latest"
|
||||||
ENV VERSION ${VERSION}
|
ENV VERSION=${VERSION}
|
||||||
RUN cd /shlink-web-client && npm ci && npm run build
|
RUN cd /shlink-web-client && npm ci && node --run build
|
||||||
|
|
||||||
FROM nginxinc/nginx-unprivileged:1.27-alpine
|
FROM nginxinc/nginx-unprivileged:1.27-alpine
|
||||||
ARG UID=101
|
ARG UID=101
|
||||||
|
|
1042
package-lock.json
generated
1042
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -66,7 +66,7 @@
|
||||||
"@types/react": "^18.3.12",
|
"@types/react": "^18.3.12",
|
||||||
"@types/react-dom": "^18.3.1",
|
"@types/react-dom": "^18.3.1",
|
||||||
"@types/uuid": "^10.0.0",
|
"@types/uuid": "^10.0.0",
|
||||||
"@vitejs/plugin-react": "^4.3.3",
|
"@vitejs/plugin-react": "^4.3.4",
|
||||||
"@vitest/coverage-v8": "^2.1.6",
|
"@vitest/coverage-v8": "^2.1.6",
|
||||||
"adm-zip": "^0.5.16",
|
"adm-zip": "^0.5.16",
|
||||||
"axe-core": "^4.10.2",
|
"axe-core": "^4.10.2",
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
"stylelint": "^15.11.0",
|
"stylelint": "^15.11.0",
|
||||||
"typescript": "^5.7.2",
|
"typescript": "^5.7.2",
|
||||||
"typescript-eslint": "^8.16.0",
|
"typescript-eslint": "^8.16.0",
|
||||||
"vite": "^5.4.11",
|
"vite": "^6.0.1",
|
||||||
"vite-plugin-pwa": "^0.21.1",
|
"vite-plugin-pwa": "^0.21.1",
|
||||||
"vitest": "^2.0.2"
|
"vitest": "^2.0.2"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@import 'node_modules/@shlinkio/shlink-frontend-kit/dist/base';
|
@import '../../node_modules/@shlinkio/shlink-frontend-kit/dist/base';
|
||||||
|
|
||||||
.app-container {
|
.app-container {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@import 'node_modules/@shlinkio/shlink-frontend-kit/dist/base';
|
@import '../../node_modules/@shlinkio/shlink-frontend-kit/dist/base';
|
||||||
@import '../utils/mixins/horizontal-align';
|
@import '../utils/mixins/horizontal-align';
|
||||||
|
|
||||||
.app-update-banner.app-update-banner {
|
.app-update-banner.app-update-banner {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@import 'node_modules/@shlinkio/shlink-frontend-kit/dist/base';
|
@import '../../node_modules/@shlinkio/shlink-frontend-kit/dist/base';
|
||||||
|
|
||||||
.home__title {
|
.home__title {
|
||||||
font-size: 1.75rem;
|
font-size: 1.75rem;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@import 'node_modules/@shlinkio/shlink-frontend-kit/dist/base';
|
@import '../../node_modules/@shlinkio/shlink-frontend-kit/dist/base';
|
||||||
|
|
||||||
.main-header.main-header {
|
.main-header.main-header {
|
||||||
color: white;
|
color: white;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@import 'node_modules/@shlinkio/shlink-frontend-kit/dist/base';
|
@import '../../node_modules/@shlinkio/shlink-frontend-kit/dist/base';
|
||||||
|
|
||||||
.no-menu-wrapper {
|
.no-menu-wrapper {
|
||||||
padding: 15px 0 0;
|
padding: 15px 0 0;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@import 'node_modules/@shlinkio/shlink-frontend-kit/dist/base';
|
@import '../../node_modules/@shlinkio/shlink-frontend-kit/dist/base';
|
||||||
|
|
||||||
.shlink-versions-container--with-sidebar {
|
.shlink-versions-container--with-sidebar {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@import 'node_modules/@shlinkio/shlink-frontend-kit/dist/base'; // Before bootstrap stylesheet. Includes SASS var overrides
|
@import '../node_modules/@shlinkio/shlink-frontend-kit/dist/base'; // Before bootstrap stylesheet. Includes SASS var overrides
|
||||||
@import 'node_modules/bootstrap/scss/bootstrap.scss';
|
@import '../node_modules/bootstrap/scss/bootstrap.scss';
|
||||||
@import 'node_modules/@shlinkio/shlink-frontend-kit/dist/index'; // After bootstrap. Includes CSS overwrites
|
@import '../node_modules/@shlinkio/shlink-frontend-kit/dist/index'; // After bootstrap. Includes CSS overwrites
|
||||||
@import 'node_modules/@shlinkio/shlink-web-component/dist/index';
|
@import '../node_modules/@shlinkio/shlink-web-component/dist/index';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@import 'node_modules/@shlinkio/shlink-frontend-kit/dist/base';
|
@import '../../node_modules/@shlinkio/shlink-frontend-kit/dist/base';
|
||||||
@import '../utils/mixins/vertical-align';
|
@import '../utils/mixins/vertical-align';
|
||||||
@import '../utils/mixins/thin-scroll';
|
@import '../utils/mixins/thin-scroll';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@import 'node_modules/@shlinkio/shlink-frontend-kit/dist/base';
|
@import '../../../node_modules/@shlinkio/shlink-frontend-kit/dist/base';
|
||||||
|
|
||||||
.server-error__container {
|
.server-error__container {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
Loading…
Reference in a new issue