Skip to content

Commit

Permalink
Add devcontainers configuration and add descriptions to packages (#9606)
Browse files Browse the repository at this point in the history
* Add devcontainer configuration

* Add missing descriptions to packages

---------

Co-authored-by: Pedro Yamada <pyamada@atlassian.com>
  • Loading branch information
yamadapc and pyamada-atlassian committed Apr 22, 2024
1 parent f9c978e commit a1f0ba6
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 1 deletion.
38 changes: 38 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/rust
{
"name": "Rust",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/rust:1-1-bullseye",
"features": {
"ghcr.io/devcontainers/features/node:1": {
"nodeGypDependencies": true,
"version": "18",
"nvmVersion": "latest"
}
}

// Use 'mounts' to make the cargo cache persistent in a Docker Volume.
// "mounts": [
// {
// "source": "devcontainer-cargo-cache-${devcontainerId}",
// "target": "/usr/local/cargo",
// "type": "volume"
// }
// ]

// 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": "rustc --version",

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

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot

version: 2
updates:
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
1 change: 1 addition & 0 deletions packages/core/cache/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@parcel/cache",
"description": "Interface for defining caches and file-system, IDB and LMDB implementations.",
"version": "2.12.0",
"license": "MIT",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions packages/core/diagnostic/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@parcel/diagnostic",
"version": "2.12.0",
"description": "Types and utilities for printing source-code located errors, warning and information messages.",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/feature-flags/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@parcel/feature-flags",
"version": "2.12.0",
"description": "Blazing fast, zero configuration web application bundler",
"description": "Provides internal feature-flags for the parcel codebase.",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit a1f0ba6

Please sign in to comment.