Skip to content

Commit edffb62

Browse files
Tierney CyrenTierney Cyren
Tierney Cyren
authored and
Tierney Cyren
committed
feat: inital commit
0 parents  commit edffb62

File tree

4 files changed

+70
-0
lines changed

4 files changed

+70
-0
lines changed

Diff for: .devcontainer/Dockerfile

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
FROM ubuntu:latest
2+
3+
# This Dockerfile adds a non-root user with sudo access. Use the "remoteUser"
4+
# property in devcontainer.json to use it. On Linux, the container user's GID/UIDs
5+
# will be updated to match your local UID/GID (when using the dockerFile property).
6+
# See https://aka.ms/vscode-remote/containers/non-root-user for details.
7+
ARG USERNAME=remoteUser
8+
ARG USER_UID=1000
9+
ARG USER_GID=$USER_UID
10+
11+
# Avoid warnings by switching to noninteractive
12+
ENV DEBIAN_FRONTEND=noninteractive
13+
14+
# Set up registry for yarn
15+
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
16+
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
17+
18+
# Fetch nvm source
19+
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
20+
21+
# Update apt
22+
RUN sudo apt update
23+
24+
# Install external dependencies from
25+
RUN sudo apt install yarn

Diff for: .devcontainer/devcontainer.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"name": "Node.js Starter",
3+
"extensions": [
4+
"github.vscode-pull-request-github",
5+
"ms-vsliveshare.vsliveshare",
6+
"visualstudioexptteam.vscodeintellicode",
7+
"coenraads.bracket-pair-colorizer-2",
8+
"eamodio.gitlens",
9+
"vscode-icons-team.vscode-icons"
10+
],
11+
"dockerFile": "./"
12+
}

Diff for: LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
Copyright (c) 2020 Tierney Cyren
3+
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
19+
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
21+
OR OTHER DEALINGS IN THE SOFTWARE.
22+

Diff for: package.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "vs-online-nodejs-starter",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"author": "",
10+
"license": "MIT"
11+
}

0 commit comments

Comments
 (0)