diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 70c43d3475..0000000000 --- a/.editorconfig +++ /dev/null @@ -1,28 +0,0 @@ -root = true - -[*] -tab_width = 2 -indent_size = 2 -charset = utf-8 -end_of_line = lf -indent_style = space -insert_final_newline = true -trim_trailing_whitespace = true - -[*.txt] -indent_size = false - -[test/fast/Listing versions/Running 'nvm ls' calls into nvm_alias] -indent_size = false - -[test/fast/Listing versions/Running 'nvm ls --no-alias' does not call into nvm_alias] -indent_size = false - -[test/fast/Unit tests/mocks/**] -insert_final_newline = off - -[test/**/.urchin*] -insert_final_newline = off - -[Makefile] -indent_style = tab diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 25976284af..0000000000 --- a/.eslintrc.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "env": { - "browser": true, - "node": true, - "es6": true - }, - "extends": ["eslint:recommended", "plugin:react/recommended"], - "parserOptions": { - "ecmaVersion": 2018, - "sourceType": "module", - "ecmaFeatures": { - "jsx": true - } - }, - "rules": { - "indent": ["error", 4], - "linebreak-style": ["warning", "unix"], - "quotes": ["warning", "single"], - "semi": ["error", "always"], - "no-unused-vars": 0 - } -} diff --git a/.markdownlint.json b/.markdownlint.json deleted file mode 100644 index 1f609ed928..0000000000 --- a/.markdownlint.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "default": true, - "MD026/":false, - "MD013": false, - "MD033":false, - "MD02":false, - "MD024":false, - "MD030":false, - "MD022":false, - "MD001":false, - "MD003":false, - "MD029": false, - "MD007": { "indent": 4 }, - "no-hard-tabs": false -} diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 88afac888b..0000000000 --- a/.prettierrc +++ /dev/null @@ -1,4 +0,0 @@ -tabWidth: 4 -singleQuote: true -trailingComma: none -printWidth: 160 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e73d2dd69d..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -language: node_js -dist: xenial -node_js: - - '6' - - '8' - - '10' - - '12' - - '14' - - '16' -script: - - cd test/support/express3 && npm install - - cd ../express4 && npm install - - cd ../../.. - - npm test diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 755bbb2f15..0000000000 --- a/Dockerfile +++ /dev/null @@ -1,113 +0,0 @@ -# Dockerized nvm development environment -# -# This Dockerfile is for building nvm development environment only, -# not for any distribution/production usage. -# -# Please note that it'll use about 1.2 GB disk space and about 15 minutes to -# build this image, it depends on your hardware. - - -FROM ubuntu:20.04 -LABEL maintainer="Peter Dave Hello " -LABEL name="nvm-dev-env" -LABEL version="latest" - -# Set the SHELL to bash with pipefail option -SHELL ["/bin/bash", "-o", "pipefail", "-c"] - -# Prevent dialog during apt install -ENV DEBIAN_FRONTEND noninteractive - -# ShellCheck version -ENV SHELLCHECK_VERSION=0.7.0 - -# Pick a Ubuntu apt mirror site for better speed -# ref: https://launchpad.net/ubuntu/+archivemirrors -ENV UBUNTU_APT_SITE ubuntu.cs.utah.edu - -# Disable src package source -RUN sed -i 's/^deb-src\ /\#deb-src\ /g' /etc/apt/sources.list - -# Replace origin apt package site with the mirror site -RUN sed -E -i "s/([a-z]+.)?archive.ubuntu.com/$UBUNTU_APT_SITE/g" /etc/apt/sources.list -RUN sed -i "s/security.ubuntu.com/$UBUNTU_APT_SITE/g" /etc/apt/sources.list - -# Install apt packages -RUN apt update && \ - apt upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" && \ - apt install -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \ - coreutils \ - util-linux \ - bsdutils \ - file \ - openssl \ - libssl-dev \ - locales \ - ca-certificates \ - ssh \ - wget \ - patch \ - sudo \ - htop \ - dstat \ - vim \ - tmux \ - curl \ - git \ - jq \ - realpath \ - zsh \ - ksh \ - gcc-4.8 \ - g++-4.8 \ - xz-utils \ - build-essential \ - bash-completion && \ - apt-get clean - -RUN wget https://github.com/koalaman/shellcheck/releases/download/v$SHELLCHECK_VERSION/shellcheck-v$SHELLCHECK_VERSION.linux.x86_64.tar.xz -O- | \ - tar xJvf - shellcheck-v$SHELLCHECK_VERSION/shellcheck && \ - mv shellcheck-v$SHELLCHECK_VERSION/shellcheck /bin && \ - rmdir shellcheck-v$SHELLCHECK_VERSION -RUN shellcheck -V - -# Set locale -RUN locale-gen en_US.UTF-8 - -# Print tool versions -RUN bash --version | head -n 1 -RUN zsh --version -RUN ksh --version || true -RUN dpkg -s dash | grep ^Version | awk '{print $2}' -RUN git --version -RUN curl --version -RUN wget --version - -# Add user "nvm" as non-root user -RUN useradd -ms /bin/bash nvm - -# Copy and set permission for nvm directory -COPY . /home/nvm/.nvm/ -RUN chown nvm:nvm -R "home/nvm/.nvm" - -# Set sudoer for "nvm" -RUN echo 'nvm ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers - -# Switch to user "nvm" from now -USER nvm - -# nvm -RUN echo 'export NVM_DIR="$HOME/.nvm"' >> "$HOME/.bashrc" -RUN echo '[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm' >> "$HOME/.bashrc" -RUN echo '[ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion" # This loads nvm bash_completion' >> "$HOME/.bashrc" - -# nodejs and tools -RUN bash -c 'source $HOME/.nvm/nvm.sh && \ - nvm install node && \ - npm install -g doctoc urchin eclint dockerfile_lint && \ - npm install --prefix "$HOME/.nvm/"' - -# Set WORKDIR to nvm directory -WORKDIR /home/nvm/.nvm - -ENTRYPOINT ["/bin/bash"] diff --git a/cloudflared.deb b/cloudflared.deb deleted file mode 100644 index 0d15fe6d4c..0000000000 Binary files a/cloudflared.deb and /dev/null differ diff --git a/commands.md b/commands.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/eslintrc.json b/eslintrc.json deleted file mode 100644 index 2e1e43c5aa..0000000000 --- a/eslintrc.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "env": { - "node": true, - "es6": true - }, - "extends": "eslint:recommended", - "parserOptions": { - "ecmaVersion": 2018 - }, - "rules": { - "indent": ["error", 4], - "linebreak-style": ["error", "unix"], - "quotes": ["error", "single"], - "semi": ["error", "always"], - "no-unused-vars": 0 - } -} diff --git a/renovate.json b/renovate.json deleted file mode 100644 index 56824753b3..0000000000 --- a/renovate.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": ["config:base"] -}