Фикс сборки фронтенда
This commit is contained in:
parent
c45d813dbf
commit
8f6748d2ca
4 changed files with 20 additions and 18 deletions
|
@ -2,6 +2,7 @@
|
||||||
FROM node:21-alpine3.17 as frontend
|
FROM node:21-alpine3.17 as frontend
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY ./frontend /app
|
COPY ./frontend /app
|
||||||
|
RUN echo "@neonxp:registry=https://gitrepo.ru/api/packages/neonxp/npm/" > ~/.npmrc
|
||||||
RUN npm install && npm run build
|
RUN npm install && npm run build
|
||||||
|
|
||||||
# Build backend
|
# Build backend
|
||||||
|
|
33
frontend/package-lock.json
generated
33
frontend/package-lock.json
generated
|
@ -8,7 +8,7 @@
|
||||||
"name": "nquest",
|
"name": "nquest",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"provider-compose": "0.0.5",
|
"@neonxp/provider-compose": "0.0.6",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-bootstrap": "^2.9.1",
|
"react-bootstrap": "^2.9.1",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
|
@ -891,6 +891,16 @@
|
||||||
"@jridgewell/sourcemap-codec": "^1.4.14"
|
"@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": {
|
"node_modules/@nodelib/fs.scandir": {
|
||||||
"version": "2.1.5",
|
"version": "2.1.5",
|
||||||
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
|
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
|
||||||
|
@ -3837,15 +3847,6 @@
|
||||||
"url": "https://github.com/sponsors/wooorm"
|
"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": {
|
"node_modules/punycode": {
|
||||||
"version": "2.3.0",
|
"version": "2.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz",
|
||||||
|
@ -5448,6 +5449,12 @@
|
||||||
"@jridgewell/sourcemap-codec": "^1.4.14"
|
"@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": {
|
"@nodelib/fs.scandir": {
|
||||||
"version": "2.1.5",
|
"version": "2.1.5",
|
||||||
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
|
"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",
|
"resolved": "https://registry.npmjs.org/property-information/-/property-information-6.4.0.tgz",
|
||||||
"integrity": "sha512-9t5qARVofg2xQqKtytzt+lZ4d1Qvj8t5B8fEwXK6qOfgRLgH/b13QlgEyDh033NOS31nXeFbYv7CLUDG1CeifQ=="
|
"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": {
|
"punycode": {
|
||||||
"version": "2.3.0",
|
"version": "2.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz",
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"provider-compose": "0.0.5",
|
"@neonxp/provider-compose": "0.0.6",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-bootstrap": "^2.9.1",
|
"react-bootstrap": "^2.9.1",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import ReactDOM from 'react-dom/client'
|
import ReactDOM from 'react-dom/client'
|
||||||
import { Compose } from 'provider-compose';
|
import { Compose } from '@neonxp/provider-compose';
|
||||||
|
|
||||||
import "./assets/bootstrap.min.css"
|
import "./assets/bootstrap.min.css"
|
||||||
import "./assets/styles.css"
|
import "./assets/styles.css"
|
||||||
|
|
Loading…
Reference in a new issue