Skip to content

Commit

Permalink
Adds cli-combine-legal-csv
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfarrell76 committed Aug 3, 2023
1 parent c1d0c45 commit a13e88e
Show file tree
Hide file tree
Showing 611 changed files with 28,352 additions and 3 deletions.
1 change: 1 addition & 0 deletions .depcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignores: ["@yarnpkg/sdks", "depcheck", "prettier"]
25 changes: 25 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 18, 16, 14, 18-bullseye, 16-bullseye, 14-bullseye, 18-buster, 16-buster, 14-buster
ARG VARIANT=16-bullseye
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}

USER root

# Set zsh as the main shell
RUN chsh -s /usr/bin/zsh

# Preserve Shell history
RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.zsh_history" \
&& echo $SNIPPET >> "/root/.zshrc"

# install additional OS packages.
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends \
shellcheck \
software-properties-common \
tldr \
tree \
zsh-autosuggestions \
&& mkdir -p /root/.local/share && tldr -u

# Ensure the root folder referenced here is accessible to the user that will run the container
RUN sudo chown root -R /root
77 changes: 77 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.238.0/containers/javascript-node-postgres
// Update the VARIANT arg in docker-compose.yml to pick a Node.js version
{
"name": "CLI",
"dockerComposeFile": "docker-compose.yml",
"service": "app",
// workspaceFolder only is used for local devcontainers, not remote Github Codespaces,
// so we use the default value from Github Codespaces here to keep both consistent
"workspaceFolder": "/workspaces/cli",
"runArgs": ["--network=host"],
"customizations": {
"vscode": {
"extensions": [
"arcanis.vscode-zipfs",
"slevesque.vscode-zipexplorer",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"bcanzanella.openmatchingfiles",
"vscode-icons-team.vscode-icons",
"wayou.vscode-todo-highlight",
"streetsidesoftware.code-spell-checker",
"ms-azuretools.vscode-docker",
"hashicorp.terraform",
"timonwong.shellcheck",
"formulahendry.auto-rename-tag",
"apollographql.vscode-apollo",
"naumovs.color-highlight",
"mikestead.dotenv",
"grapecity.gc-excelviewer",
"editorconfig.editorconfig",
"techer.open-in-browser",
"donjayamanne.githistory",
"valentjn.vscode-ltex",
"eamodio.gitlens",
"fabiospampinato.vscode-terminals",
"msjsdiag.debugger-for-chrome",
"ms-vsliveshare.vsliveshare",
"redhat.vscode-yaml",
"reduckted.vscode-gitweblinks",
"adpyke.vscode-sql-formatter",
"yoavbls.pretty-ts-errors"
],
"settings": {
"extensions.ignoreRecommendations": true,
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/usr/bin/zsh"
}
}
}
}
},
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/docker-from-docker:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/sshd:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/git:1": {
"version": "latest"
}
},
"remoteEnv": {
// This env will affect the VsCode version of `git` that runs in the sidebar to skip certain pre-commits
"SKIP": "dockerfile-lint,check-executables-have-shebangs"
},
"otherPortsAttributes": {
"onAutoForward": "silent"
},
"remoteUser": "root"
}
28 changes: 28 additions & 0 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: '3.8'

services:
app:
container_name: CLI_Codespace
build:
context: ..
dockerfile: .devcontainer/Dockerfile
args:
VARIANT: 16-bullseye

volumes:
- ..:/workspaces/main:cached
- transcend-shell-history:/commandhistory
- pre-commit-cache:/root/.cache/pre-commit

# Overrides default command so things don't shut down after the process ends.
command: /bin/bash -c "sleep infinity"

network_mode: 'host'

environment:
# This is set to `true` locally when using devcontainers, so we add this here for compatibility
REMOTE_CONTAINERS: 'true'

volumes:
pre-commit-cache:
transcend-shell-history:
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
indent_size = 3

[*.hbs]
trim_trailing_whitespace = false
insert_final_newline = false
indent_style = space
indent_size = 2
14 changes: 14 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.gitignore
.git/*
.yarn/*
**/docs/*
**/package.json
**/node_modules/*
**/build/*
**/dist/*
**/builds/*
**/coverage/*
**/.yarn/*
*.testjs
*.testts
LICENSE
Loading

0 comments on commit a13e88e

Please sign in to comment.