From 8f6748d2ca4cc43d17fbf77cc20a7d9d64a12107 Mon Sep 17 00:00:00 2001 From: NeonXP Date: Mon, 6 Nov 2023 05:15:36 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D1=81=D0=B1=D0=BE?= =?UTF-8?q?=D1=80=D0=BA=D0=B8=20=D1=84=D1=80=D0=BE=D0=BD=D1=82=D0=B5=D0=BD?= =?UTF-8?q?=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 1 + frontend/package-lock.json | 33 +++++++++++++++++---------------- frontend/package.json | 2 +- frontend/src/main.jsx | 2 +- 4 files changed, 20 insertions(+), 18 deletions(-) diff --git a/Dockerfile b/Dockerfile index f80cc14..c23458a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM node:21-alpine3.17 as frontend WORKDIR /app COPY ./frontend /app +RUN echo "@neonxp:registry=https://gitrepo.ru/api/packages/neonxp/npm/" > ~/.npmrc RUN npm install && npm run build # Build backend diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 9bad689..340505a 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -8,7 +8,7 @@ "name": "nquest", "version": "0.0.0", "dependencies": { - "provider-compose": "0.0.5", + "@neonxp/provider-compose": "0.0.6", "react": "^18.2.0", "react-bootstrap": "^2.9.1", "react-dom": "^18.2.0", @@ -891,6 +891,16 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, + "node_modules/@neonxp/provider-compose": { + "version": "0.0.6", + "resolved": "https://gitrepo.ru/api/packages/neonxp/npm/%40neonxp%2Fprovider-compose/-/0.0.6/provider-compose-0.0.6.tgz", + "integrity": "sha512-v3mL/b8FaNNYEMI0EI1HZS4AucMUATG1yZDsNr1jGzulxLUyWBAwQQkvPz/0z4WDaBn3jlNH1v9UfhvzqFDfHg==", + "license": "MIT", + "peerDependencies": { + "react": "*", + "unstated-next": "^1.1.0" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -3837,15 +3847,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/provider-compose": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/provider-compose/-/provider-compose-0.0.5.tgz", - "integrity": "sha512-wfSJDRzE9gLB5QuatszYhdK4sck0bnAxgFHG7d5V4uxtlKt6g9eUAqM4aId122+/nSuL81LVLOODN/hs0oDg8A==", - "peerDependencies": { - "react": "^16.8.6", - "unstated-next": "^1.1.0" - } - }, "node_modules/punycode": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", @@ -5448,6 +5449,12 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, + "@neonxp/provider-compose": { + "version": "0.0.6", + "resolved": "https://gitrepo.ru/api/packages/neonxp/npm/%40neonxp%2Fprovider-compose/-/0.0.6/provider-compose-0.0.6.tgz", + "integrity": "sha512-v3mL/b8FaNNYEMI0EI1HZS4AucMUATG1yZDsNr1jGzulxLUyWBAwQQkvPz/0z4WDaBn3jlNH1v9UfhvzqFDfHg==", + "requires": {} + }, "@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -7521,12 +7528,6 @@ "resolved": "https://registry.npmjs.org/property-information/-/property-information-6.4.0.tgz", "integrity": "sha512-9t5qARVofg2xQqKtytzt+lZ4d1Qvj8t5B8fEwXK6qOfgRLgH/b13QlgEyDh033NOS31nXeFbYv7CLUDG1CeifQ==" }, - "provider-compose": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/provider-compose/-/provider-compose-0.0.5.tgz", - "integrity": "sha512-wfSJDRzE9gLB5QuatszYhdK4sck0bnAxgFHG7d5V4uxtlKt6g9eUAqM4aId122+/nSuL81LVLOODN/hs0oDg8A==", - "requires": {} - }, "punycode": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", diff --git a/frontend/package.json b/frontend/package.json index 6c579b2..ccbaa08 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -10,7 +10,7 @@ "preview": "vite preview" }, "dependencies": { - "provider-compose": "0.0.5", + "@neonxp/provider-compose": "0.0.6", "react": "^18.2.0", "react-bootstrap": "^2.9.1", "react-dom": "^18.2.0", diff --git a/frontend/src/main.jsx b/frontend/src/main.jsx index 249b4de..79b19fc 100644 --- a/frontend/src/main.jsx +++ b/frontend/src/main.jsx @@ -1,6 +1,6 @@ import React from 'react' import ReactDOM from 'react-dom/client' -import { Compose } from 'provider-compose'; +import { Compose } from '@neonxp/provider-compose'; import "./assets/bootstrap.min.css" import "./assets/styles.css"