Downgrade min required node LTS

Downgrade min required node LTS
This commit is contained in:
nixocio
2022-04-04 13:12:15 -04:00
parent 7cbb783b2c
commit 28f25d5aba
5 changed files with 6 additions and 6 deletions

View File

@@ -56,7 +56,7 @@ The UI is built using [ReactJS](https://reactjs.org/docs/getting-started.html) a
The AWX UI requires the following:
- Node >= 16.14.0 LTS
- Node >= 16.13.1 LTS
- NPM 8.x
Run the following to install all the dependencies:

View File

@@ -1,4 +1,4 @@
FROM node:16.14.0
FROM node:16.13.1
ARG NPMRC_FILE=.npmrc
ENV NPMRC_FILE=${NPMRC_FILE}
ARG TARGET='https://awx:8043'

View File

@@ -1,7 +1,7 @@
# AWX-UI
## Requirements
- node >= 16.14.0, npm >= 8.x make, git
- node >= 16.13.1, npm >= 8.x make, git
## Development
The API development server will need to be running. See [CONTRIBUTING.md](../../CONTRIBUTING.md).

View File

@@ -3,7 +3,7 @@
"homepage": ".",
"private": true,
"engines": {
"node": ">=16.14.0"
"node": ">=16.13.1"
},
"dependencies": {
"@lingui/react": "3.9.0",

View File

@@ -67,7 +67,7 @@ RUN cd /tmp && make requirements_awx_dev
# Use the distro provided npm to bootstrap our required version of node
{% if not headless|bool %}
RUN npm install -g n && n 14.15.1
RUN npm install -g n && n 16.13.1
{% endif %}
# Copy source into builder, build sdist, install it into awx venv
@@ -150,7 +150,7 @@ RUN dnf -y install \
wget \
diffutils \
unzip && \
npm install -g n && n 16.14.0 && npm install -g npm@8.5.0 && dnf remove -y nodejs
npm install -g n && n 16.13.1 && npm install -g npm@8.5.0 && dnf remove -y nodejs
RUN pip3 install black git+https://github.com/coderanger/supervisor-stdout