From 5797bdde686f36207837c367b5f8861e739fd51d Mon Sep 17 00:00:00 2001 From: Artem Zatsarynnyi Date: Mon, 14 Oct 2024 16:47:52 +0200 Subject: [PATCH 1/4] Add midstream for JetBrains IDE component Signed-off-by: Artem Zatsarynnyi --- .gitignore | 1 + .../build/dockerfiles/brew.Dockerfile | 72 ++ .../scripts/entrypoint-init-container.sh | 56 + .../build/scripts/entrypoint-volume.sh | 110 ++ .../build/scripts/entrypoint.sh | 27 + devspaces-jetbrains-ide/build/scripts/sync.sh | 82 ++ devspaces-jetbrains-ide/container.yaml | 26 + devspaces-jetbrains-ide/content_sets.yml | 22 + devspaces-jetbrains-ide/get-sources.sh | 45 + devspaces-jetbrains-ide/status-app/index.js | 62 + .../status-app/package-lock.json | 1038 +++++++++++++++++ .../status-app/package.json | 15 + .../status-app/views/status.ejs | 42 + devspaces-operator-bundle/container.yaml | 1 + devspaces-pluginregistry/job-config.json | 16 + 15 files changed, 1615 insertions(+) create mode 100755 devspaces-jetbrains-ide/build/dockerfiles/brew.Dockerfile create mode 100755 devspaces-jetbrains-ide/build/scripts/entrypoint-init-container.sh create mode 100755 devspaces-jetbrains-ide/build/scripts/entrypoint-volume.sh create mode 100755 devspaces-jetbrains-ide/build/scripts/entrypoint.sh create mode 100755 devspaces-jetbrains-ide/build/scripts/sync.sh create mode 100644 devspaces-jetbrains-ide/container.yaml create mode 100644 devspaces-jetbrains-ide/content_sets.yml create mode 100755 devspaces-jetbrains-ide/get-sources.sh create mode 100755 devspaces-jetbrains-ide/status-app/index.js create mode 100644 devspaces-jetbrains-ide/status-app/package-lock.json create mode 100755 devspaces-jetbrains-ide/status-app/package.json create mode 100755 devspaces-jetbrains-ide/status-app/views/status.ejs diff --git a/.gitignore b/.gitignore index ef6c76ed7f..4a788504f6 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ openvsx-server.tar.gz postgresql13.tar.gz devspaces-idea/**/bin/ .vscode/ +.DS_Store diff --git a/devspaces-jetbrains-ide/build/dockerfiles/brew.Dockerfile b/devspaces-jetbrains-ide/build/dockerfiles/brew.Dockerfile new file mode 100755 index 0000000000..8c2f29b2d1 --- /dev/null +++ b/devspaces-jetbrains-ide/build/dockerfiles/brew.Dockerfile @@ -0,0 +1,72 @@ +# Copyright (c) 2024 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation + +# The Dockerfile works only in Brew, as it is customized for Cachito fetching +# project sources and npm dependencies, and performing an offline build with them + +# https://registry.access.redhat.com/ubi8/nodejs-20 +FROM ubi8/nodejs-20:1-58.1724661482 as ubi8 + +# https://registry.access.redhat.com/rhel9-2-els/rhel +FROM rhel9-2-els/rhel:9.2-1327 + +USER 0 + +WORKDIR $REMOTE_SOURCES_DIR/devspaces-images-jetbrains-ide/app/devspaces-jetbrains-ide/ + +# cachito:yarn step 1: copy cachito sources where we can use them; source env vars; set working dir +COPY $REMOTE_SOURCES $REMOTE_SOURCES_DIR + +# hadolint ignore=SC2086 +RUN source $REMOTE_SOURCES_DIR/devspaces-images-jetbrains-ide/cachito.env + +RUN dnf module install -y nodejs:18/development + +RUN cp -r build/scripts/*.sh / +RUN cp -r status-app /status-app/ + +# Create a folders structure for mounting a shared volume and copy the editor binaries to. +RUN mkdir -p /idea-server/status-app + +# Adjust permissions on some items so they're writable by group root. +# hadolint ignore=SC2086 +RUN for f in "${HOME}" "/etc/passwd" "/etc/group" "/status-app" "/idea-server"; do\ + chgrp -R 0 ${f} && \ + chmod -R g+rwX ${f}; \ + done + +# Build the status app. +WORKDIR /status-app/ +RUN npm install + +# to provide to a UBI8-based user's container +COPY --from=ubi8 /usr/bin/node /node-ubi8 + +# Switch to unprivileged user. +USER 1001 + +ENTRYPOINT /entrypoint.sh + +ENV SUMMARY="Red Hat OpenShift Dev Spaces with JetBrains IDE container" \ + DESCRIPTION="Red Hat OpenShift Dev Spaces with JetBrains IDE container" \ + PRODNAME="devspaces" \ + COMPNAME="jetbrains-ide-rhel9" +LABEL summary="$SUMMARY" \ + description="$DESCRIPTION" \ + io.k8s.description="$DESCRIPTION" \ + io.k8s.display-name="$DESCRIPTION" \ + io.openshift.tags="$PRODNAME,$COMPNAME" \ + com.redhat.component="$PRODNAME-$COMPNAME-container" \ + name="$PRODNAME/$COMPNAME" \ + version="3.17" \ + license="EPLv2" \ + maintainer="Artem Zatsarynnyi , Samantha Dawley " \ + io.openshift.expose-services="" \ + usage="" diff --git a/devspaces-jetbrains-ide/build/scripts/entrypoint-init-container.sh b/devspaces-jetbrains-ide/build/scripts/entrypoint-init-container.sh new file mode 100755 index 0000000000..f9ccf05cc2 --- /dev/null +++ b/devspaces-jetbrains-ide/build/scripts/entrypoint-init-container.sh @@ -0,0 +1,56 @@ +#!/bin/sh +# +# Copyright (c) 2023-2024 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + +# Being called as a pre-start command, the script downloads the requested IDE and +# copies the binaries to the shared volume which should be mounted to a folder in a dev container. + +ide_flavour="$1" +# mounted volume path +ide_server_path="/idea-server" + +# IDEA, if none is specified +if [ -z "$ide_flavour" ]; then + ide_flavour="idea" +fi + +# Download the IDE binaries and install them to the shared volume. +cd "$ide_server_path" +echo "Downloading IDE binaries..." +if [[ "$ide_flavour" == "idea" ]]; then + curl -sL https://download-cdn.jetbrains.com/idea/ideaIU-2024.2.tar.gz | tar xzf - --strip-components=1 +elif [[ "$ide_flavour" == "webstorm" ]]; then + curl -sL https://download-cdn.jetbrains.com/webstorm/WebStorm-2024.2.tar.gz | tar xzf - --strip-components=1 +elif [[ "$ide_flavour" == "pycharm" ]]; then + curl -sL https://download-cdn.jetbrains.com/python/pycharm-professional-2024.2.tar.gz | tar xzf - --strip-components=1 +elif [[ "$ide_flavour" == "goland" ]]; then + curl -sL https://download-cdn.jetbrains.com/go/goland-2024.2.tar.gz | tar xzf - --strip-components=1 +elif [[ "$ide_flavour" == "clion" ]]; then + curl -sL https://download-cdn.jetbrains.com/cpp/CLion-2024.2.tar.gz | tar xzf - --strip-components=1 +elif [[ "$ide_flavour" == "phpstorm" ]]; then + curl -sL https://download-cdn.jetbrains.com/webide/PhpStorm-2024.2.tar.gz | tar xzf - --strip-components=1 +elif [[ "$ide_flavour" == "rubymine" ]]; then + curl -sL https://download-cdn.jetbrains.com/ruby/RubyMine-2024.2.tar.gz | tar xzf - --strip-components=1 +elif [[ "$ide_flavour" == "rider" ]]; then + curl -sL https://download-cdn.jetbrains.com/rider/JetBrains.Rider-2024.2.tar.gz | tar xzf - --strip-components=1 +fi + +cp -r /status-app/ "$ide_server_path" +cp /entrypoint-volume.sh "$ide_server_path" + +# Copy Node.js to the editor volume, +# in case there is no one in the user's container. +cp /usr/bin/node "$ide_server_path"/node-ubi9 +cp /node-ubi8 "$ide_server_path"/node-ubi8 + +echo "Volume content:" +ls -la "$ide_server_path" diff --git a/devspaces-jetbrains-ide/build/scripts/entrypoint-volume.sh b/devspaces-jetbrains-ide/build/scripts/entrypoint-volume.sh new file mode 100755 index 0000000000..44915b0082 --- /dev/null +++ b/devspaces-jetbrains-ide/build/scripts/entrypoint-volume.sh @@ -0,0 +1,110 @@ +#!/bin/sh +# +# Copyright (c) 2023-2024 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + +# Being called as a post-start command, the script runs the IDE +# from the shared volume which should be mounted to a folder in a dev container. + +# Register the current (arbitrary) user. +if ! whoami &> /dev/null; then + if [ -w /etc/passwd ]; then + echo "Registering the current (arbitrary) user." + echo "${USER_NAME:-user}:x:$(id -u):0:${USER_NAME:-user} user:${HOME}:/bin/bash" >> /etc/passwd + echo "${USER_NAME:-user}:x:$(id -u):" >> /etc/group + fi +fi + +# mounted volume path +ide_server_path="/idea-server" + +echo "Volume content:" +ls -la "$ide_server_path" + + +libssl_version="" +get_libssl_version() { + libssl=$(find / -type f \( -name "libssl.so*" \) 2>/dev/null) + if [ -z "$libssl" ]; then + for dir in /lib64 /usr/lib64 /lib /usr/lib /usr/local/lib64 /usr/local/lib; do + for file in "$dir"/libssl.so*; do + if [ -e "$file" ]; then + libssl="$file" + break 2 + fi + done + done + fi + + echo "[INFO] libssl: $libssl" + + case "${libssl}" in + *libssl.so.1*) + echo "[INFO] libssl version is: 1" + libssl_version="1" + ;; + *libssl.so.3*) + echo "[INFO] libssl version is: 3" + libssl_version="3" + ;; + *) + libssl_version="" + echo "[WARNING] unknown libssl version: $libssl" + ;; + esac +} + +openssl_version="" +get_openssl_version() { + if command -v openssl >/dev/null 2>&1; then + echo "[INFO] openssl command is available, OpenSSL version is: $(openssl version -v)" + openssl_version=$(openssl version -v | cut -d' ' -f2 | cut -d'.' -f1) + elif command -v rpm >/dev/null 2>&1; then + echo "[INFO] rpm command is available" + openssl_version=$(rpm -qa | grep openssl-libs | cut -d'-' -f3 | cut -d'.' -f1) + else + echo "[INFO] openssl and rpm commands are not available, trying to detect OpenSSL version..." + get_libssl_version + openssl_version=$libssl_version + fi +} + + +# Start the app that checks the IDE server status. +# This will be workspace's 'main' endpoint. +cd "$ide_server_path"/status-app +if command -v npm &> /dev/null; then + # Node.js installed in a user's container + nohup npm start & +else + # no Node.js installed, + # use the one that editor-injector provides + get_openssl_version + echo "[INFO] OpenSSL major version is: $openssl_version." + + case "${openssl_version}" in + *"1"*) + mv "$ide_server_path"/node-ubi8 "$ide_server_path"/node + ;; + *"3"*) + mv "$ide_server_path"/node-ubi9 "$ide_server_path"/node + ;; + *) + echo "[WARNING] Unsupported OpenSSL major version. Node.js from UBI9 will be used." + mv "$ide_server_path"/node-ubi9 "$ide_server_path"/node + ;; + esac + + nohup "$ide_server_path"/node index.js & +fi + +cd "$ide_server_path"/bin +./remote-dev-server.sh run ${PROJECT_SOURCE} diff --git a/devspaces-jetbrains-ide/build/scripts/entrypoint.sh b/devspaces-jetbrains-ide/build/scripts/entrypoint.sh new file mode 100755 index 0000000000..5b42b49ef4 --- /dev/null +++ b/devspaces-jetbrains-ide/build/scripts/entrypoint.sh @@ -0,0 +1,27 @@ +#!/bin/sh +# +# Copyright (c) 2023 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + +# Register the current (arbitrary) user. +if ! whoami &> /dev/null; then + if [ -w /etc/passwd ]; then + echo "Registering the current (arbitrary) user." + echo "${USER_NAME:-user}:x:$(id -u):0:${USER_NAME:-user} user:${HOME}:/bin/bash" >> /etc/passwd + echo "${USER_NAME:-user}:x:$(id -u):" >> /etc/group + fi +fi + +# Skip all interactive shell prompts. +export REMOTE_DEV_NON_INTERACTIVE=1 + +cd /idea-dist/bin +./remote-dev-server.sh run ~ diff --git a/devspaces-jetbrains-ide/build/scripts/sync.sh b/devspaces-jetbrains-ide/build/scripts/sync.sh new file mode 100755 index 0000000000..4e63f5aad1 --- /dev/null +++ b/devspaces-jetbrains-ide/build/scripts/sync.sh @@ -0,0 +1,82 @@ +#!/bin/bash +# +# Copyright (c) 2024 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation + +set -e + +# defaults +CSV_VERSION=3.y.0 # csv 3.y.0 +DS_VERSION=${CSV_VERSION%.*} # tag 3.y + +UPSTM_NAME="jetbrains-ide-dev-server" +MIDSTM_NAME="jetbrains-ide" + +usage () { + echo " +Usage: $0 -v [DS CSV_VERSION] [-s /path/to/${UPSTM_NAME}] [-t /path/to/generated] +Example: $0 -v 3.y.0 -s ${HOME}/projects/${UPSTM_NAME} -t /tmp/devspaces-${MIDSTM_NAME}" + exit +} + +if [[ $# -lt 6 ]]; then usage; fi + +while [[ "$#" -gt 0 ]]; do + case $1 in + '-v') CSV_VERSION="$2"; DS_VERSION="${CSV_VERSION%.*}"; shift 1;; + # paths to use for input and output + '-s') SOURCEDIR="$2"; SOURCEDIR="${SOURCEDIR%/}"; shift 1;; + '-t') TARGETDIR="$2"; TARGETDIR="${TARGETDIR%/}"; shift 1;; + '--help'|'-h') usage;; + esac + shift 1 +done + +if [[ ! -d "${SOURCEDIR}" ]]; then usage; fi +if [[ ! -d "${TARGETDIR}" ]]; then usage; fi +if [[ "${CSV_VERSION}" == "3.y.0" ]]; then usage; fi + +# ignore changes in these files +echo ".github/ +.git/ +.gitattributes +README.md +/build/dockerfiles +/build/scripts/sync.sh +/cvp.yml +/container.yaml +/content_sets.* +/cvp.yml +/cvp-owners.yml +/sources +sources.spec +/get-source*.sh +/tests/basic-test.yaml +" > /tmp/rsync-excludes +echo "Rsync ${SOURCEDIR} to ${TARGETDIR}" +rsync -azrlt --checksum --exclude-from /tmp/rsync-excludes --delete "${SOURCEDIR}"/ "${TARGETDIR}"/ +rm -f /tmp/rsync-excludes + +# ensure shell scripts are executable +find "${TARGETDIR}"/ -name "*.sh" -exec chmod +x {} \; + +sed_in_place() { + SHORT_UNAME=$(uname -s) + if [ "$(uname)" == "Darwin" ]; then + sed -i '' "$@" + elif [ "${SHORT_UNAME:0:5}" == "Linux" ]; then + sed -i "$@" + fi +} + +sed_in_place -r \ + `# Update DevSpaces version for Dockerfile` \ + -e "s/version=.*/version=\"$DS_VERSION\" \\\/" \ + "${TARGETDIR}"/build/dockerfiles/brew.Dockerfile diff --git a/devspaces-jetbrains-ide/container.yaml b/devspaces-jetbrains-ide/container.yaml new file mode 100644 index 0000000000..4c49f377cc --- /dev/null +++ b/devspaces-jetbrains-ide/container.yaml @@ -0,0 +1,26 @@ +--- +platforms: + # all these keys are optional - see https://osbs.readthedocs.io/en/latest/users.html#image-configuration for more info + + only: + - x86_64 + # - s390x + # - ppc64le + +compose: + inherit: false + pulp_repos: true + signing_intent: release + +# instead of docker_api, use imagebuilder for multistage builds +image_build_method: imagebuilder + +remote_sources: +- name: devspaces-images-jetbrains-ide + remote_source: + repo: https://github.com/redhat-developer/devspaces-images.git + ref: f97ea1ad39e256141c0af7e8d338659b6cbd5fee + pkg_managers: [npm] + packages: + npm: + - path: devspaces-jetbrains-ide/status-app/ diff --git a/devspaces-jetbrains-ide/content_sets.yml b/devspaces-jetbrains-ide/content_sets.yml new file mode 100644 index 0000000000..29a39b5cd1 --- /dev/null +++ b/devspaces-jetbrains-ide/content_sets.yml @@ -0,0 +1,22 @@ +# This is a file defining which content sets (yum repositories) are needed to +# update content in this image. Data provided here helps determine which images +# are vulnerable to specific CVEs. Generally you should only need to update this +# file when: +# 1. You start depending on a new product +# 2. You are preparing new product release and your content sets will change +# +# See https://mojo.redhat.com/docs/DOC-1023066 for more information on +# maintaining this file and the format and examples +# +# You should have one top level item for each architecture being built. Most +# likely this will be x86_64 and ppc64le initially. +--- +x86_64: +- rhel-9-for-x86_64-baseos-eus-rpms__9_DOT_2 +- rhel-9-for-x86_64-appstream-eus-rpms__9_DOT_2 +s390x: +- rhel-9-for-s390x-baseos-eus-rpms__9_DOT_2 +- rhel-9-for-s390x-appstream-eus-rpms__9_DOT_2 +ppc64le: +- rhel-9-for-ppc64le-baseos-eus-rpms__9_DOT_2 +- rhel-9-for-ppc64le-appstream-eus-rpms__9_DOT_2 diff --git a/devspaces-jetbrains-ide/get-sources.sh b/devspaces-jetbrains-ide/get-sources.sh new file mode 100755 index 0000000000..7e57d08449 --- /dev/null +++ b/devspaces-jetbrains-ide/get-sources.sh @@ -0,0 +1,45 @@ +#!/bin/bash -xe +# script to trigger rhpkg (no assets to fetch) +# + +scratchFlag="" +targetFlag="" +doRhpkgContainerBuild=1 +forceBuild=0 + +while [[ "$#" -gt 0 ]]; do + case $1 in + '-d'|'--delete-assets') exit 0; shift 0;; + '-a'|'--publish-assets') exit 0; shift 0;; + '-p'|'--pull-assets') exit 0; shift 0;; + '-n'|'--nobuild') doRhpkgContainerBuild=0; shift 0;; + '-f'|'--force-build') forceBuild=1; shift 0;; + '-s'|'--scratch') scratchFlag="--scratch"; shift 0;; + '--target') targetFlag="--target $2"; shift 1;; + '-v') CSV_VERSION="$2"; shift 1;; + '-ght') exit 0; shift 1;; + esac + shift 1 +done + +# if building a scratch from a private branch, use --target devspaces-*-rhel-8-containers-candidate +MIDSTM_BRANCH=$(git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "") +if [[ ${MIDSTM_BRANCH} = "private-"* ]] || [[ ${MIDSTM_BRANCH} != "devspaces-"*"-rhel-"* ]]; then + if [[ ! $targetFlag ]]; then targetFlag="--target devspaces-3-rhel-8-containers-candidate"; fi + if [[ ! $scratchFlag ]]; then scratchFlag="--scratch"; fi +fi + +if [[ ${forceBuild} -eq 1 ]] || [[ ${doRhpkgContainerBuild} -eq 1 ]]; then + echo "[INFO] #0 Trigger container-build in current branch: rhpkg container-build ${scratchFlag} ${targetFlag}" + git status || true + tmpfile=$(mktemp) && rhpkg container-build ${scratchFlag} ${targetFlag} --nowait | tee 2>&1 "${tmpfile}" + taskID=$(cat "${tmpfile}" | grep "Created task:" | sed -e "s#Created task:##") && brew watch-logs $taskID | tee 2>&1 "${tmpfile}" + ERRORS="$(grep -E "Build failed|image build failed" "${tmpfile}")" && rm -f "${tmpfile}" + if [[ "$ERRORS" != "" ]]; then echo "Brew build has failed: + +$ERRORS + + "; exit 1; fi +else + echo "[INFO] No build triggered, use -f or --force-build to build in Brew." +fi diff --git a/devspaces-jetbrains-ide/status-app/index.js b/devspaces-jetbrains-ide/status-app/index.js new file mode 100755 index 0000000000..3ed10bd3fb --- /dev/null +++ b/devspaces-jetbrains-ide/status-app/index.js @@ -0,0 +1,62 @@ +/** + * Copyright (c) 2023-2024 Red Hat, Inc. + * This program and the accompanying materials are made + * available under the terms of the Eclipse Public License 2.0 + * which is available at https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Red Hat, Inc. - initial API and implementation + */ + +const chokidar = require('chokidar'); +const fs = require("fs"); +const express = require('express'); +const ideInfo = require('../product-info.json'); + +// path to the IDE server's logs +const logsFile = '../std.out'; + +// watch for the 'joinLink' in the IDE server's output +var joinLink = new Promise((resolve) => { + const watcher = chokidar.watch(logsFile); + watcher.on('change', (event, path) => { + fs.readFile(logsFile, "utf-8", (err, data) => { + if (err) + throw err; + + if (data.includes('Join link: tcp://')) { + const tcpLinkRegex = /(tcp:\/\/[^\s]+)/g; + data.replace(tcpLinkRegex, function (link) { + console.log('TCP join link is acquired: ' + link); + resolve(link); + watcher.close().then(() => console.log('Watcher is closed!')); + }); + } + }); + }); +}); + +// return the status page +const app = express(); +app.set('view engine', 'ejs'); +app.get('/', async function (req, res) { + const ideName = ideInfo.productVendor + ' ' + ideInfo.name + ' ' + ideInfo.version; + const invitationLink = (await joinLink).replaceAll('&', '_'); + const dwNamespace = process.env.DEVWORKSPACE_NAMESPACE; + const dwName = process.env.DEVWORKSPACE_NAME; + const clusterConsoleURL = process.env.CLUSTER_CONSOLE_URL; + const podName = process.env.HOSTNAME; + // render the page from EJS template + res.render('status', { ideName, dwNamespace, dwName, clusterConsoleURL, podName, invitationLink }); +}); + +// server setup +const appPort = '3400'; +app.listen(appPort, function (err) { + if (err) + throw err; + + console.log('Status app is listening on port', appPort); +}); diff --git a/devspaces-jetbrains-ide/status-app/package-lock.json b/devspaces-jetbrains-ide/status-app/package-lock.json new file mode 100644 index 0000000000..2fdac45870 --- /dev/null +++ b/devspaces-jetbrains-ide/status-app/package-lock.json @@ -0,0 +1,1038 @@ +{ + "name": "idea-status", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "idea-status", + "version": "1.0.0", + "license": "EPL-2.0", + "dependencies": { + "chokidar": "^3.5.3", + "ejs": "^3.1.10", + "express": "^4.19.2" + } + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" + }, + "node_modules/async": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", + "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==" + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "engines": { + "node": ">=8" + } + }, + "node_modules/body-parser": { + "version": "1.20.3", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", + "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.13.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" + }, + "node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" + }, + "node_modules/ejs": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz", + "integrity": "sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==", + "dependencies": { + "jake": "^10.8.5" + }, + "bin": { + "ejs": "bin/cli.js" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "dependencies": { + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/express": { + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.0.tgz", + "integrity": "sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.3", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.3.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.3", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.10", + "proxy-addr": "~2.0.7", + "qs": "6.13.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.19.0", + "serve-static": "1.16.2", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/filelist": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", + "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", + "dependencies": { + "minimatch": "^5.0.1" + } + }, + "node_modules/filelist/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/filelist/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/finalhandler": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz", + "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", + "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/jake": { + "version": "10.8.7", + "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.7.tgz", + "integrity": "sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w==", + "dependencies": { + "async": "^3.2.3", + "chalk": "^4.0.2", + "filelist": "^1.0.4", + "minimatch": "^3.1.2" + }, + "bin": { + "jake": "bin/cli.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/merge-descriptors": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", + "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-to-regexp": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", + "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/qs": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", + "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", + "dependencies": { + "side-channel": "^1.0.6" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/send": { + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", + "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/serve-static": { + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", + "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", + "dependencies": { + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.19.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "node_modules/side-channel": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", + "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "dependencies": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "object-inspect": "^1.13.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "engines": { + "node": ">= 0.8" + } + } + } +} diff --git a/devspaces-jetbrains-ide/status-app/package.json b/devspaces-jetbrains-ide/status-app/package.json new file mode 100755 index 0000000000..e1fa572a18 --- /dev/null +++ b/devspaces-jetbrains-ide/status-app/package.json @@ -0,0 +1,15 @@ +{ + "name": "idea-status", + "version": "1.0.0", + "description": "The app helps the user to connect a local JB Client to the in-cluster IDEA dev server over JB Gateway", + "main": "index.js", + "scripts": { + "start": "node index.js" + }, + "license": "EPL-2.0", + "dependencies": { + "chokidar": "^3.5.3", + "ejs": "^3.1.10", + "express": "^4.19.2" + } +} diff --git a/devspaces-jetbrains-ide/status-app/views/status.ejs b/devspaces-jetbrains-ide/status-app/views/status.ejs new file mode 100755 index 0000000000..d147fc7b3a --- /dev/null +++ b/devspaces-jetbrains-ide/status-app/views/status.ejs @@ -0,0 +1,42 @@ + + + + + + Eclipse Che + + + + +

Workspace "<%= dwName %>" with <%= ideName %> is running

+ +

How to connect to this DevWorkspace?

+ +

Make sure your local oc client is logged in to your OpenShift server

+

Go to the Open OpenShift Console to get the login command from the top right menu.

+ +

Connect to the remote backend with your local JetBrains Client

+ Install JetBrains Gateway if not installed. +

Use the browser confirmation dialog or this link: Open JetBrains Gateway

+ + diff --git a/devspaces-operator-bundle/container.yaml b/devspaces-operator-bundle/container.yaml index 747f3d31f5..60dd026c57 100644 --- a/devspaces-operator-bundle/container.yaml +++ b/devspaces-operator-bundle/container.yaml @@ -43,6 +43,7 @@ operator_manifests: devspaces-configbump-rhel8-container: devspaces/configbump-rhel8 devspaces-dashboard-rhel8-container: devspaces/dashboard-rhel8 devspaces-idea-rhel8-container: devspaces/idea-rhel8 + devspaces-jetbrains-ide-rhel9-container: devspaces/jetbrains-ide-rhel9 devspaces-imagepuller-rhel8-container: devspaces/imagepuller-rhel8 devspaces-machineexec-rhel8-container: devspaces/machineexec-rhel8 devspaces-pluginregistry-rhel8-container: devspaces/pluginregistry-rhel8 diff --git a/devspaces-pluginregistry/job-config.json b/devspaces-pluginregistry/job-config.json index b70371701e..2803c46f35 100644 --- a/devspaces-pluginregistry/job-config.json +++ b/devspaces-pluginregistry/job-config.json @@ -272,6 +272,22 @@ "disabled": false } }, + "jetbrains-ide": { + "3.17": { + "upstream_branch": [ + "7.93.x", + "main" + ], + "disabled": false + }, + "3.x": { + "upstream_branch": [ + "main", + "main" + ], + "disabled": false + } + }, "traefik": { "3.16": { "upstream_branch": [ From cbd05b23fbfc1e9abe1d3adc2680e2eff76ae55f Mon Sep 17 00:00:00 2001 From: Artem Zatsarynnyi Date: Mon, 14 Oct 2024 17:25:26 +0200 Subject: [PATCH 2/4] Update ref and dockerfile Signed-off-by: Artem Zatsarynnyi --- devspaces-jetbrains-ide/build/dockerfiles/brew.Dockerfile | 5 ++--- devspaces-jetbrains-ide/container.yaml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/devspaces-jetbrains-ide/build/dockerfiles/brew.Dockerfile b/devspaces-jetbrains-ide/build/dockerfiles/brew.Dockerfile index 8c2f29b2d1..6f5d38dbcc 100755 --- a/devspaces-jetbrains-ide/build/dockerfiles/brew.Dockerfile +++ b/devspaces-jetbrains-ide/build/dockerfiles/brew.Dockerfile @@ -15,7 +15,7 @@ FROM ubi8/nodejs-20:1-58.1724661482 as ubi8 # https://registry.access.redhat.com/rhel9-2-els/rhel -FROM rhel9-2-els/rhel:9.2-1327 +FROM registry.redhat.io/rhel9-2-els/rhel:9.2-1362 USER 0 @@ -43,8 +43,7 @@ RUN for f in "${HOME}" "/etc/passwd" "/etc/group" "/status-app" "/idea-server"; done # Build the status app. -WORKDIR /status-app/ -RUN npm install +RUN cd $REMOTE_SOURCES_DIR/devspaces-images-jetbrains-ide/app/devspaces-jetbrains-ide/status-app/ && npm install # to provide to a UBI8-based user's container COPY --from=ubi8 /usr/bin/node /node-ubi8 diff --git a/devspaces-jetbrains-ide/container.yaml b/devspaces-jetbrains-ide/container.yaml index 4c49f377cc..0103406c0e 100644 --- a/devspaces-jetbrains-ide/container.yaml +++ b/devspaces-jetbrains-ide/container.yaml @@ -19,7 +19,7 @@ remote_sources: - name: devspaces-images-jetbrains-ide remote_source: repo: https://github.com/redhat-developer/devspaces-images.git - ref: f97ea1ad39e256141c0af7e8d338659b6cbd5fee + ref: 5797bdde686f36207837c367b5f8861e739fd51d pkg_managers: [npm] packages: npm: From 5f903995089f1d60acceb71f7dae49401e62dd7e Mon Sep 17 00:00:00 2001 From: Artem Zatsarynnyi Date: Wed, 23 Oct 2024 13:09:05 +0200 Subject: [PATCH 3/4] Add the Jet Brains editors definitions Signed-off-by: Artem Zatsarynnyi --- .../build/dockerfiles/brew.Dockerfile | 1 + .../editors-definitions/che-idea-server.yaml | 127 ++++++++++++++++++ .../che-pycharm-server.yaml | 104 ++++++++++++++ .../che-webstorm-server.yaml | 104 ++++++++++++++ 4 files changed, 336 insertions(+) create mode 100644 devspaces-operator/editors-definitions/che-idea-server.yaml create mode 100644 devspaces-operator/editors-definitions/che-pycharm-server.yaml create mode 100644 devspaces-operator/editors-definitions/che-webstorm-server.yaml diff --git a/devspaces-jetbrains-ide/build/dockerfiles/brew.Dockerfile b/devspaces-jetbrains-ide/build/dockerfiles/brew.Dockerfile index 6f5d38dbcc..6f5853de35 100755 --- a/devspaces-jetbrains-ide/build/dockerfiles/brew.Dockerfile +++ b/devspaces-jetbrains-ide/build/dockerfiles/brew.Dockerfile @@ -11,6 +11,7 @@ # The Dockerfile works only in Brew, as it is customized for Cachito fetching # project sources and npm dependencies, and performing an offline build with them +# The image to get the Node.js binary to support running an IDE in a UBI8-based user container. # https://registry.access.redhat.com/ubi8/nodejs-20 FROM ubi8/nodejs-20:1-58.1724661482 as ubi8 diff --git a/devspaces-operator/editors-definitions/che-idea-server.yaml b/devspaces-operator/editors-definitions/che-idea-server.yaml new file mode 100644 index 0000000000..dfdd7b534a --- /dev/null +++ b/devspaces-operator/editors-definitions/che-idea-server.yaml @@ -0,0 +1,127 @@ +# +# Copyright (c) 2024 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + +schemaVersion: 2.2.2 +metadata: + name: che-idea-server + displayName: Jet Brains IntelliJ IDEA Ultimate 2024.2.3 (desktop) + description: Red Hat OpenShift Dev Spaces with JetBrains IntelliJ IDEA Ultimate + tags: + - Tech-Preview + attributes: + publisher: che-incubator + version: latest + provider: Provided by [Jet Brains](https://www.jetbrains.com/) under [License](https://www.jetbrains.com/legal/docs/toolbox/user/) + title: Red Hat OpenShift Dev Spaces with JetBrains IntelliJ IDEA Ultimate + repository: https://github.com/che-incubator/che-idea-dev-server + firstPublicationDate: '2024-23-10' + iconMediatype: image/svg+xml + iconData: | + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +commands: + - id: inject-editor + apply: + component: editor-injector + - id: start-idea-server + exec: + component: editor-runtime + commandLine: nohup /idea-server/entrypoint-volume.sh > /idea-server/std.out + 2>&1 & +events: + preStart: + - inject-editor + postStart: + - start-idea-server +components: + - name: idea-server + volume: {} + - name: editor-injector + container: + image: registry.redhat.io/devspaces/jetbrains-ide-rhel9:3.18 + command: + - /entrypoint-init-container.sh + volumeMounts: + - name: idea-server + path: /idea-server + memoryLimit: 256Mi + memoryRequest: 32Mi + cpuLimit: 500m + cpuRequest: 30m + - name: editor-runtime + container: + image: registry.redhat.io/ubi8/ubi-minimal:8.8 + memoryLimit: 6144Mi + memoryRequest: 2048Mi + cpuLimit: 2000m + cpuRequest: 1500m + volumeMounts: + - name: idea-server + path: /idea-server + endpoints: + - name: idea-server + attributes: + type: main + cookiesAuthEnabled: true + discoverable: false + urlRewriteSupported: true + targetPort: 3400 + exposure: public + secure: true + protocol: https + attributes: + app.kubernetes.io/component: editor-runtime + app.kubernetes.io/part-of: idea-server.eclipse.org + controller.devfile.io/container-contribution: true \ No newline at end of file diff --git a/devspaces-operator/editors-definitions/che-pycharm-server.yaml b/devspaces-operator/editors-definitions/che-pycharm-server.yaml new file mode 100644 index 0000000000..9a3f4803b7 --- /dev/null +++ b/devspaces-operator/editors-definitions/che-pycharm-server.yaml @@ -0,0 +1,104 @@ +# +# Copyright (c) 2024 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + +schemaVersion: 2.2.2 +metadata: + name: che-pycharm-server + displayName: Jet Brains PyCharm Professional Edition 2024.2.3 (desktop) + description: Red Hat OpenShift Dev Spaces with JetBrains PyCharm Professional Edition + tags: + - Tech-Preview + attributes: + publisher: che-incubator + version: latest + provider: Provided by [Jet Brains](https://www.jetbrains.com/) under [License](https://www.jetbrains.com/legal/docs/toolbox/user/) + title: Red Hat OpenShift Dev Spaces with JetBrains PyCharm Professional Edition + repository: https://github.com/che-incubator/che-idea-dev-server + firstPublicationDate: '2024-23-10' + iconMediatype: image/svg+xml + iconData: | + + + + + + + + + + + + + + + + + + + + + + + +commands: + - id: inject-editor + apply: + component: editor-injector + - id: start-ide-server + exec: + component: editor-runtime + commandLine: nohup /idea-server/entrypoint-volume.sh > /idea-server/std.out + 2>&1 & +events: + preStart: + - inject-editor + postStart: + - start-ide-server +components: + - name: idea-server + volume: {} + - name: editor-injector + container: + image: registry.redhat.io/devspaces/jetbrains-ide-rhel9:3.18 + command: ['/entrypoint-init-container.sh', 'pycharm'] + volumeMounts: + - name: idea-server + path: /idea-server + memoryLimit: 256Mi + memoryRequest: 32Mi + cpuLimit: 500m + cpuRequest: 30m + - name: editor-runtime + container: + image: registry.redhat.io/ubi8/ubi-minimal:8.8 + memoryLimit: 6144Mi + memoryRequest: 2048Mi + cpuLimit: 2000m + cpuRequest: 1500m + volumeMounts: + - name: idea-server + path: /idea-server + endpoints: + - name: idea-server + attributes: + type: main + cookiesAuthEnabled: true + discoverable: false + urlRewriteSupported: true + targetPort: 3400 + exposure: public + secure: true + protocol: https + attributes: + app.kubernetes.io/component: editor-runtime + app.kubernetes.io/part-of: ide-server.eclipse.org + controller.devfile.io/container-contribution: true \ No newline at end of file diff --git a/devspaces-operator/editors-definitions/che-webstorm-server.yaml b/devspaces-operator/editors-definitions/che-webstorm-server.yaml new file mode 100644 index 0000000000..5c9f9ac03a --- /dev/null +++ b/devspaces-operator/editors-definitions/che-webstorm-server.yaml @@ -0,0 +1,104 @@ +# +# Copyright (c) 2024 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + +schemaVersion: 2.2.2 +metadata: + name: che-webstorm-server + displayName: Jet Brains WebStorm 2024.2.3 (desktop) + description: Red Hat OpenShift Dev Spaces with JetBrains WebStorm + tags: + - Tech-Preview + attributes: + publisher: che-incubator + version: latest + provider: Provided by [Jet Brains](https://www.jetbrains.com/) under [License](https://www.jetbrains.com/legal/docs/toolbox/user/) + title: Red Hat OpenShift Dev Spaces with JetBrains WebStorm + repository: https://github.com/che-incubator/che-idea-dev-server + firstPublicationDate: '2024-23-10' + iconMediatype: image/svg+xml + iconData: | + + + + + + + + + + + + + + + + + + + + + + + +commands: + - id: inject-editor + apply: + component: editor-injector + - id: start-ide-server + exec: + component: editor-runtime + commandLine: nohup /idea-server/entrypoint-volume.sh > /idea-server/std.out + 2>&1 & +events: + preStart: + - inject-editor + postStart: + - start-ide-server +components: + - name: idea-server + volume: {} + - name: editor-injector + container: + image: registry.redhat.io/devspaces/jetbrains-ide-rhel9:3.18 + command: ['/entrypoint-init-container.sh', 'webstorm'] + volumeMounts: + - name: idea-server + path: /idea-server + memoryLimit: 256Mi + memoryRequest: 32Mi + cpuLimit: 500m + cpuRequest: 30m + - name: editor-runtime + container: + image: registry.redhat.io/ubi8/ubi-minimal:8.8 + memoryLimit: 6144Mi + memoryRequest: 2048Mi + cpuLimit: 2000m + cpuRequest: 1500m + volumeMounts: + - name: idea-server + path: /idea-server + endpoints: + - name: idea-server + attributes: + type: main + cookiesAuthEnabled: true + discoverable: false + urlRewriteSupported: true + targetPort: 3400 + exposure: public + secure: true + protocol: https + attributes: + app.kubernetes.io/component: editor-runtime + app.kubernetes.io/part-of: ide-server.eclipse.org + controller.devfile.io/container-contribution: true \ No newline at end of file From e498b41f7a627acf48a3238c8c6ff4915086f69b Mon Sep 17 00:00:00 2001 From: Artem Zatsarynnyi Date: Thu, 31 Oct 2024 16:51:50 +0100 Subject: [PATCH 4/4] Correct the IDEs provider name Signed-off-by: Artem Zatsarynnyi --- devspaces-operator/editors-definitions/che-idea-server.yaml | 4 ++-- .../editors-definitions/che-pycharm-server.yaml | 4 ++-- .../editors-definitions/che-webstorm-server.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/devspaces-operator/editors-definitions/che-idea-server.yaml b/devspaces-operator/editors-definitions/che-idea-server.yaml index dfdd7b534a..7cff88a5ed 100644 --- a/devspaces-operator/editors-definitions/che-idea-server.yaml +++ b/devspaces-operator/editors-definitions/che-idea-server.yaml @@ -13,14 +13,14 @@ schemaVersion: 2.2.2 metadata: name: che-idea-server - displayName: Jet Brains IntelliJ IDEA Ultimate 2024.2.3 (desktop) + displayName: JetBrains IntelliJ IDEA Ultimate 2024.2.3 (desktop) description: Red Hat OpenShift Dev Spaces with JetBrains IntelliJ IDEA Ultimate tags: - Tech-Preview attributes: publisher: che-incubator version: latest - provider: Provided by [Jet Brains](https://www.jetbrains.com/) under [License](https://www.jetbrains.com/legal/docs/toolbox/user/) + provider: Provided by [JetBrains](https://www.jetbrains.com/) under [License](https://www.jetbrains.com/legal/docs/toolbox/user/) title: Red Hat OpenShift Dev Spaces with JetBrains IntelliJ IDEA Ultimate repository: https://github.com/che-incubator/che-idea-dev-server firstPublicationDate: '2024-23-10' diff --git a/devspaces-operator/editors-definitions/che-pycharm-server.yaml b/devspaces-operator/editors-definitions/che-pycharm-server.yaml index 9a3f4803b7..1b50871bdd 100644 --- a/devspaces-operator/editors-definitions/che-pycharm-server.yaml +++ b/devspaces-operator/editors-definitions/che-pycharm-server.yaml @@ -13,14 +13,14 @@ schemaVersion: 2.2.2 metadata: name: che-pycharm-server - displayName: Jet Brains PyCharm Professional Edition 2024.2.3 (desktop) + displayName: JetBrains PyCharm Professional Edition 2024.2.3 (desktop) description: Red Hat OpenShift Dev Spaces with JetBrains PyCharm Professional Edition tags: - Tech-Preview attributes: publisher: che-incubator version: latest - provider: Provided by [Jet Brains](https://www.jetbrains.com/) under [License](https://www.jetbrains.com/legal/docs/toolbox/user/) + provider: Provided by [JetBrains](https://www.jetbrains.com/) under [License](https://www.jetbrains.com/legal/docs/toolbox/user/) title: Red Hat OpenShift Dev Spaces with JetBrains PyCharm Professional Edition repository: https://github.com/che-incubator/che-idea-dev-server firstPublicationDate: '2024-23-10' diff --git a/devspaces-operator/editors-definitions/che-webstorm-server.yaml b/devspaces-operator/editors-definitions/che-webstorm-server.yaml index 5c9f9ac03a..b8638b77a7 100644 --- a/devspaces-operator/editors-definitions/che-webstorm-server.yaml +++ b/devspaces-operator/editors-definitions/che-webstorm-server.yaml @@ -13,14 +13,14 @@ schemaVersion: 2.2.2 metadata: name: che-webstorm-server - displayName: Jet Brains WebStorm 2024.2.3 (desktop) + displayName: JetBrains WebStorm 2024.2.3 (desktop) description: Red Hat OpenShift Dev Spaces with JetBrains WebStorm tags: - Tech-Preview attributes: publisher: che-incubator version: latest - provider: Provided by [Jet Brains](https://www.jetbrains.com/) under [License](https://www.jetbrains.com/legal/docs/toolbox/user/) + provider: Provided by [JetBrains](https://www.jetbrains.com/) under [License](https://www.jetbrains.com/legal/docs/toolbox/user/) title: Red Hat OpenShift Dev Spaces with JetBrains WebStorm repository: https://github.com/che-incubator/che-idea-dev-server firstPublicationDate: '2024-23-10'