Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
.npmignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuxel committed Apr 10, 2019
1 parent 1e5aa2f commit d607423
Show file tree
Hide file tree
Showing 69 changed files with 123 additions and 106 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,16 @@ If you want to create a new definition:
📄 devcontainer.json
📄 Dockerfile (optional)
📄 docker-compose.yml (optional)
📄 ignore
📁 test-project (optional)
📄 .npmignore
📄 README.md
```

See the [VS Code Remote Development documentation](https://aka.ms/vscode-remote/docker) for information on the expected contents of `devcontainer.json` and how it relates to other files listed above.

Note that any additional assets can be included as needed, but keep in mind that these will overlay on top of an existing project. Keeping these files in the `.devcontainer` should reduce the chances of something conflicting but note that any command that are run are relative to the root of the project, so you'll need to include `.devcontainer` in any path references.

Anything you don't want added to a project should be referenced in [glob](https://facelessuser.github.io/wcmatch/glob/) form in `.devcontainer/ignore` with paths relative to the root of the folder. Create a `README.md` in the folder with a brief description of the purpose of the container definition and any manual steps required to use it.
Anything you don't want added to a project should be referenced in [glob](https://facelessuser.github.io/wcmatch/glob/) form in `.npmignore` with paths relative to the root of the folder. Create a `README.md` in the folder with a brief description of the purpose of the container definition and any manual steps required to use it.

4. Commit your changes and submit a PR - we'll take a look at it, provide any needed feedback, and then merge it in! We appreciate any and all feedback!!

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "Dev Container Definition Template - Docker Compose",
"dockerComposeFile": "../.devcontainer/docker-compose.yml",
"dockerComposeFile": ".devcontainer/docker-compose.yml",
"service": "your-service-name-here",
"volume": "app",
"workspaceFolder": "/workspace",
"extensions": [
"mutantdino.resourcemonitor"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
- "3000:3000" # Application port to forward

volumes:
- .:/app # This is where VS Code should expect to find your project's source code, value of "volume" in .vscode/devContainer.json
- ..:/workspace # This is where VS Code should expect to find your project's source code, value of "volume" in .vscode/devContainer.json

command: sleep infinity # This prevents the container from shutting down if you stop your application

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
README.md
test-project
.vscode
.npmignore
2 changes: 1 addition & 1 deletion container-templates/docker-compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@

Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the MIT License. See [LICENSE](../../LICENSE).
Licensed under the MIT License. See [LICENSE](../../LICENSE).

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Dev Container Definition Template - Dockerfile",
"dockerFile": "../.devcontainer/Dockerfile",
"dockerFile": ".devcontainer/Dockerfile",
"appPort": 3000,
"extensions": [
"mutantdino.resourcemonitor"
Expand Down
6 changes: 0 additions & 6 deletions container-templates/dockerfile/.devcontainer/ignore

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
README.md
test-project
.vscode
.npmignore
6 changes: 0 additions & 6 deletions container-templates/image/.devcontainer/ignore

This file was deleted.

3 changes: 0 additions & 3 deletions containers/.npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
.npmignore
.vscode
test-project
ignore
README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
README.md
test-project
.vscode
.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
README.md
test-project
.vscode
.npmignore
4 changes: 4 additions & 0 deletions containers/azure-hdinsight-python-3/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
4 changes: 4 additions & 0 deletions containers/azure-machine-learning-python-3/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/azure-terraform/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/azure-terraform/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/cpp/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/cpp/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/dart-web/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/dart-web/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/docker-existing-docker-compose/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/docker-existing-dockerfile/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/docker-existing-dockerfile/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/docker-in-docker-compose/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/docker-in-docker-compose/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/docker-in-docker/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/docker-in-docker/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/dotnetcore-2.2-fsharp/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/dotnetcore-2.2-fsharp/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/dotnetcore-2.2/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/dotnetcore-2.2/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/go/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/go/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/java-8-maven/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/java-8-maven/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/javascript-node-8-mongo/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/javascript-node-8-mongo/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/javascript-node-8/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/javascript-node-8/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/kubernetes-helm/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/kubernetes-helm/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/markdown/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/markdown/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/php-7/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/php-7/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/plantuml/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/plantuml/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/powershell/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/powershell/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/python-2/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/python-2/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/python-3-django/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/python-3-django/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/python-3-flask-redis/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/python-3-flask-redis/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/python-3-jupyter-pyspark/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/python-3-jupyter-pyspark/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/python-3/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/python-3/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/ruby-2/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/ruby-2/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
6 changes: 0 additions & 6 deletions containers/rust/.devcontainer/ignore

This file was deleted.

3 changes: 0 additions & 3 deletions containers/swift-4/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/swift-4/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore
3 changes: 0 additions & 3 deletions containers/typescript-node-8/.devcontainer/ignore

This file was deleted.

4 changes: 4 additions & 0 deletions containers/typescript-node-8/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

0 comments on commit d607423

Please sign in to comment.