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: The AWX UI requires the following:
- Node >= 16.14.0 LTS - Node >= 16.13.1 LTS
- NPM 8.x - NPM 8.x
Run the following to install all the dependencies: 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 ARG NPMRC_FILE=.npmrc
ENV NPMRC_FILE=${NPMRC_FILE} ENV NPMRC_FILE=${NPMRC_FILE}
ARG TARGET='https://awx:8043' ARG TARGET='https://awx:8043'

View File

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

View File

@@ -3,7 +3,7 @@
"homepage": ".", "homepage": ".",
"private": true, "private": true,
"engines": { "engines": {
"node": ">=16.14.0" "node": ">=16.13.1"
}, },
"dependencies": { "dependencies": {
"@lingui/react": "3.9.0", "@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 # Use the distro provided npm to bootstrap our required version of node
{% if not headless|bool %} {% if not headless|bool %}
RUN npm install -g n && n 14.15.1 RUN npm install -g n && n 16.13.1
{% endif %} {% endif %}
# Copy source into builder, build sdist, install it into awx venv # Copy source into builder, build sdist, install it into awx venv
@@ -150,7 +150,7 @@ RUN dnf -y install \
wget \ wget \
diffutils \ diffutils \
unzip && \ 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 RUN pip3 install black git+https://github.com/coderanger/supervisor-stdout