Skip to content

Commit b66ca2d

Browse files
hawkeyexlCopilotcoderabbitai[bot]
authored
Add devcontainer config (#123)
* Add devcontainer config * Update .github/dependabot.yml Co-authored-by: Copilot <[email protected]> * Update .devcontainer/devcontainer.json Co-authored-by: Copilot <[email protected]> * Update .github/dependabot.yml Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 4a52e23 commit b66ca2d

File tree

3 files changed

+51
-1
lines changed

3 files changed

+51
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
3+
{
4+
"name": "Node.js & TypeScript",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
7+
8+
// Features to add to the dev container. More info: https://containers.dev/features.
9+
"features": {
10+
// "ghcr.io/devcontainers/features/docker-in-docker:2": {},
11+
// "ghcr.io/devcontainers/features/git-lfs:1": {},
12+
"ghcr.io/devcontainers/features/github-cli:1": {},
13+
// "ghcr.io/devcontainers/features/go:1": {},
14+
// "ghcr.io/devcontainers/features/java:1": {},
15+
// "ghcr.io/devcontainers/features/python:1": {},
16+
// "ghcr.io/devcontainers/features/ruby:1": {},
17+
// "ghcr.io/devcontainers/features/rust:1": {},
18+
"ghcr.io/devcontainers-extra/features/act:1": {},
19+
// "ghcr.io/devcontainers-extra/features/apt-get-packages:1": {},
20+
// "ghcr.io/devcontainers-extra/features/apt-packages:1": {},
21+
// "ghcr.io/meaningful-ooo/devcontainer-features/homebrew:2": {},
22+
"ghcr.io/eitsupi/devcontainer-features/jq-likes:2": {},
23+
"ghcr.io/shinepukur/devcontainer-features/vale:1": {},
24+
"ghcr.io/devcontainers-community/npm-features/prettier:1": {}
25+
},
26+
27+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
28+
"forwardPorts": [3000],
29+
30+
// Use 'postCreateCommand' to run commands after the container is created.
31+
"postCreateCommand": "npm install",
32+
33+
// Configure tool-specific properties.
34+
// "customizations": {},
35+
36+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
37+
// "remoteUser": "root"
38+
}

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for more information:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
# https://containers.dev/guide/dependabot
6+
7+
version: 2
8+
updates:
9+
- package-ecosystem: "devcontainers"
10+
directory: "/"
11+
schedule:
12+
interval: weekly

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"scripts": {
55
"docusaurus": "docusaurus",
66
"prestart": "npm run build-schemas",
7-
"start": "docusaurus start",
7+
"start": "docusaurus start --host 0.0.0.0",
88
"prebuild": "npm run build-schemas",
99
"build": "docusaurus build",
1010
"swizzle": "docusaurus swizzle",

0 commit comments

Comments
 (0)