Skip to content

Commit

Permalink
chore: bumped node to 10, added a codespaces config
Browse files Browse the repository at this point in the history
  • Loading branch information
jaybuidl committed May 13, 2024
1 parent 8a20d31 commit 2ffad6b
Show file tree
Hide file tree
Showing 3 changed files with 515 additions and 168 deletions.
25 changes: 25 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
{
"name": "Node.js",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-18-buster",
"features": {
"ghcr.io/enricosecondulfo/devcontainer-features/volta:1": {}
}

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "yarn install",

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,9 @@
"not dead",
"not ie <= 11",
"not op_mini all"
]
],
"volta": {
"node": "10.24.1",
"yarn": "1.22.22"
}
}
Loading

0 comments on commit 2ffad6b

Please sign in to comment.