Skip to content

Commit 2aea932

Browse files
authored
v12
1 parent d24047a commit 2aea932

File tree

5 files changed

+60
-6
lines changed

5 files changed

+60
-6
lines changed

.devcontainer/Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.177.0/containers/javascript-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/javascript-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 modules
16+
# RUN su node -c "npm install -g <your-package-list-here>"

.devcontainer/devcontainer.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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.177.0/containers/javascript-node
3+
{
4+
"name": "Node.js",
5+
"build": {
6+
"dockerfile": "Dockerfile",
7+
// Update 'VARIANT' to pick a Node version: 12, 14, 16
8+
"args": { "VARIANT": "16" }
9+
},
10+
11+
// Set *default* container specific settings.json values on container create.
12+
"settings": {
13+
"terminal.integrated.shell.linux": "/bin/bash"
14+
},
15+
16+
// Add the IDs of extensions you want installed when the container is created.
17+
"extensions": [
18+
"dbaeumer.vscode-eslint",
19+
"eg2.vscode-npm-script",
20+
"esbenp.prettier-vscode"
21+
],
22+
23+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
24+
// "forwardPorts": [],
25+
26+
// Use 'postCreateCommand' to run commands after the container is created.
27+
// "postCreateCommand": "yarn install",
28+
29+
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
30+
"remoteUser": "node"
31+
}

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
## Angular Snippets Changelog
22

3+
<a name="12.0.0"></a>
4+
5+
# 12.0.0 (2021-05-24)
6+
7+
- merged PR for adding trailing commas to route snippets
8+
- minor updates for v12
9+
- added devcontainer
10+
311
<a name="11.0.0"></a>
412

513
# 11.0.0 (2020-12-08)
614

7-
-
815
- The old faulty implementation in the typescript.json did use a switchMap which would lead to problematic behavior. Replaced it with the map operator. Closes #113
916

1017
<a name="9.1.2"></a>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Angular TypeScript Snippets for VS Code
22

3-
**Now Updated for Angular 11.0.0 release**
3+
**Now Updated for Angular 12.0.0 release**
44

55
This extension for Visual Studio Code adds snippets for Angular for TypeScript and HTML.
66

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "Angular2",
33
"publisher": "johnpapa",
4-
"displayName": "Angular Snippets (Version 11)",
5-
"description": "Angular version 11 snippets by John Papa",
6-
"version": "11.0.0",
4+
"displayName": "Angular Snippets (Version 12)",
5+
"description": "Angular version 12 snippets by John Papa",
6+
"version": "12.0.0",
77
"icon": "images/angular-shield.png",
88
"galleryBanner": {
99
"color": "#0273D4",
@@ -16,7 +16,7 @@
1616
},
1717
"keywords": [
1818
"Angular",
19-
"Angular 11",
19+
"Angular 12",
2020
"TypeScript",
2121
"HTML"
2222
],

0 commit comments

Comments
 (0)