File tree Expand file tree Collapse file tree 6 files changed +89
-17
lines changed
Expand file tree Collapse file tree 6 files changed +89
-17
lines changed Original file line number Diff line number Diff line change 1+ # See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.191.1/containers/typescript-node/.devcontainer/base.Dockerfile
2+
3+ # [Choice] Node.js version: 16, 14, 12
4+ ARG VARIANT="16-buster"
5+ FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}
6+
7+ # [Optional] Uncomment this section to install additional OS packages.
8+ # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
9+ # && apt-get -y install --no-install-recommends <your-package-list-here>
10+
11+ # [Optional] Uncomment if you want to install an additional version of node using nvm
12+ # ARG EXTRA_NODE_VERSION=10
13+ # RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"
14+
15+ # [Optional] Uncomment if you want to install more global node packages
16+ # RUN su node -c "npm install -g <your-package-list -here>"
Original file line number Diff line number Diff line change 1+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2+ // https://github.com/microsoft/vscode-dev-containers/tree/v0.191.1/containers/typescript-node
3+ {
4+ "name" : " Node.js & TypeScript" ,
5+ "build" : {
6+ "dockerfile" : " Dockerfile" ,
7+ // Update 'VARIANT' to pick a Node version: 12, 14, 16
8+ "args" : {
9+ "VARIANT" : " 16"
10+ }
11+ },
12+ // Set *default* container specific settings.json values on container create.
13+ "settings" : {},
14+ // Add the IDs of extensions you want installed when the container is created.
15+ "extensions" : [
16+ " dbaeumer.vscode-eslint"
17+ ],
18+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
19+ // "forwardPorts": [],
20+ // Use 'postCreateCommand' to run commands after the container is created.
21+ // "postCreateCommand": "yarn install",
22+ // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
23+ // "remoteUser": "node"
24+ }
Original file line number Diff line number Diff line change 1+ name : Publish
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ publish :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - uses : actions/setup-node@v2
13+ with :
14+ node-version : 16
15+ registry-url : ' https://registry.npmjs.org'
16+ - run : npm ci
17+ - run : npm publish
18+ env :
19+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
20+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ tests :
11+
12+ runs-on : ubuntu-latest
13+
14+ strategy :
15+ matrix :
16+ node-version : [12.x, 14.x, 16.x]
17+
18+ steps :
19+ - uses : actions/checkout@v2
20+ - name : Use Node.js ${{ matrix.node-version }}
21+ uses : actions/setup-node@v2
22+ with :
23+ node-version : ${{ matrix.node-version }}
24+ - run : npm ci
25+ - run : npm test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55 "homepage" : " https://github.com/jwagner/simplex-noise.js" ,
66 "author" :
" Jonas Wagner <[email protected] > (http://29a.ch/)" ,
77 "main" : " ./simplex-noise" ,
8- "files" : " simplex-noise.js" ,
8+ "files" : [
9+ " simplex-noise.js"
10+ ],
911 "devDependencies" : {
1012 "alea" : " 0.0.9" ,
1113 "benchmark" : " ~2.1.4" ,
4042 "test" : " eslint simplex-noise.js && mocha" ,
4143 "benchmark" : " node ./perf/benchmark.js"
4244 }
43- }
45+ }
You can’t perform that action at this time.
0 commit comments