Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
23b9e1a1f0 | ||
|
|
dd7aee01ed | ||
|
|
bf773a58f0 |
No files matched your search
@@ -1,3 +1,10 @@
|
||||
## 0.18.7
|
||||
- Включена поддержка кэширования зависимостей через Docker
|
||||
- Добавлен файл конфигурации nginx
|
||||
## 0.18.6
|
||||
- Обновлена версия библиотеки isp-ui-kit
|
||||
## 0.18.5
|
||||
- Изолирование стилей в ConfirmConfigModal
|
||||
## 0.18.4
|
||||
- Правка стилей модальных окон
|
||||
## 0.18.3
|
||||
|
||||
+22
-7
@@ -1,13 +1,28 @@
|
||||
FROM node:20-alpine as build-deps
|
||||
ARG NODE_VERSION=lts
|
||||
|
||||
FROM node:${NODE_VERSION}-alpine as base
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
COPY . ./
|
||||
RUN apk add git
|
||||
RUN npm install
|
||||
|
||||
FROM base as deps
|
||||
|
||||
RUN --mount=type=bind,source=package.json,target=package.json \
|
||||
--mount=type=bind,source=package-lock.json,target=package-lock.json \
|
||||
--mount=type=cache,target=/root/.npm \
|
||||
npm ci --omit=dev
|
||||
|
||||
FROM deps as build
|
||||
|
||||
RUN --mount=type=bind,source=package.json,target=package.json \
|
||||
--mount=type=bind,source=package-lock.json,target=package-lock.json \
|
||||
--mount=type=cache,target=/root/.npm \
|
||||
npm ci
|
||||
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:1.25-alpine-slim
|
||||
EXPOSE 8001
|
||||
FROM nginx:alpine-slim as final
|
||||
RUN rm -f /etc/nginx/conf.d/default.conf
|
||||
COPY cfg/80_isp-admin-ui.conf /etc/nginx/conf.d/80_isp-admin-ui.conf
|
||||
COPY --from=build-deps /usr/src/app/build /opt/msp/isp-admin-ui
|
||||
COPY --from=build /usr/src/app/build /opt/msp/isp-admin-ui
|
||||
|
||||
Generated
+8
-8
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "isp-admin-ui",
|
||||
"version": "0.18.1",
|
||||
"version": "0.18.6",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "isp-admin-ui",
|
||||
"version": "0.18.1",
|
||||
"version": "0.18.6",
|
||||
"dependencies": {
|
||||
"@apidevtools/json-schema-ref-parser": "^9.0.6",
|
||||
"@monaco-editor/react": "^4.6.0",
|
||||
@@ -19,7 +19,7 @@
|
||||
"compare-versions": "^6.1.0",
|
||||
"dayjs": "^1.11.10",
|
||||
"deep-equal": "^2.2.3",
|
||||
"isp-ui-kit": "^0.10.0",
|
||||
"isp-ui-kit": "^0.10.1",
|
||||
"json-schema-view-js": "^2.0.1",
|
||||
"lodash.clonedeep": "^4.5.0",
|
||||
"monaco-editor": "^0.52.0",
|
||||
@@ -8052,14 +8052,12 @@
|
||||
}
|
||||
},
|
||||
"node_modules/isp-ui-kit": {
|
||||
"version": "0.10.0",
|
||||
"resolved": "https://registry.npmjs.org/isp-ui-kit/-/isp-ui-kit-0.10.0.tgz",
|
||||
"integrity": "sha512-VfL1hZ44O9Y3p3A0C4VK0iC3SBi0gLu8fw+gw0IP1W3Po8G782/P8LS1UNUcJ65acnxFr8uGLf6X1KnJtfZBsA==",
|
||||
"version": "0.10.1",
|
||||
"resolved": "https://registry.npmjs.org/isp-ui-kit/-/isp-ui-kit-0.10.1.tgz",
|
||||
"integrity": "sha512-WcDUtS9Gw0mRvLWjytuVT9EY7wZjTSOXKfP2krv4MgeG5Q9eTS36RJ9d2slqS86m5H4PHohMmAJNuomw+sf8Rw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@monaco-editor/react": "^4.6.0",
|
||||
"flux": "^4.0.4",
|
||||
"monaco-editor": "^0.52.0",
|
||||
"react-base16-styling": "^0.10.0",
|
||||
"react-lifecycles-compat": "^3.0.4",
|
||||
"react-resizable": "^3.0.5",
|
||||
@@ -8067,7 +8065,9 @@
|
||||
"simplebar-react": "^3.2.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@monaco-editor/react": "^4.6.0",
|
||||
"antd": "^5.12.2",
|
||||
"monaco-editor": "^0.52.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-hook-form": "^7.49.1"
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "isp-admin-ui",
|
||||
"private": true,
|
||||
"version": "0.18.4",
|
||||
"version": "0.18.7",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"start": "vite",
|
||||
@@ -11,7 +11,7 @@
|
||||
"fix:prettier": "prettier --write \"src/**/*.{ts,tsx, js}\"",
|
||||
"lint:fix": "eslint --fix .",
|
||||
"analyze": "source-map-explorer 'build/static/js/*.js'",
|
||||
"prepare": "husky install"
|
||||
"prepare": "husky || true"
|
||||
},
|
||||
"dependencies": {
|
||||
"@apidevtools/json-schema-ref-parser": "^9.0.6",
|
||||
@@ -25,7 +25,7 @@
|
||||
"compare-versions": "^6.1.0",
|
||||
"dayjs": "^1.11.10",
|
||||
"deep-equal": "^2.2.3",
|
||||
"isp-ui-kit": "^0.10.0",
|
||||
"isp-ui-kit": "^0.10.1",
|
||||
"json-schema-view-js": "^2.0.1",
|
||||
"lodash.clonedeep": "^4.5.0",
|
||||
"monaco-editor": "^0.52.0",
|
||||
|
||||
@@ -35,6 +35,7 @@ const ConfirmConfigModal: FC<ConfirmModalProps> = ({
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="confirm-config-modal">
|
||||
<Modal
|
||||
title="Версия конфигурации была кем-то изменена"
|
||||
open={open}
|
||||
@@ -55,6 +56,7 @@ const ConfirmConfigModal: FC<ConfirmModalProps> = ({
|
||||
Принять изменения
|
||||
</Button>
|
||||
</Modal>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
export default ConfirmConfigModal
|
||||
@@ -1,4 +1,6 @@
|
||||
.modal__content {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
.confirm-config-modal {
|
||||
.modal__content {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user