mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 03:31:10 -03:30
Downgrade min required node LTS
Downgrade min required node LTS
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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).
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"homepage": ".",
|
||||
"private": true,
|
||||
"engines": {
|
||||
"node": ">=16.14.0"
|
||||
"node": ">=16.13.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lingui/react": "3.9.0",
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user