Skip to content

Commit

Permalink
feat(node-dind-playwright-devcontainer): add devcontainer for nodejs …
Browse files Browse the repository at this point in the history
…with dind and playwright
  • Loading branch information
johnitvn committed Nov 23, 2024
1 parent 1a78c69 commit 65f31e4
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"image": "ghcr.io/ebizbase/node-dind-devcontainer:1.0.0",
"remoteUser": "vscode",
"features": {
"ghcr.io/ebizbase/devcontainer-features/npm-playwright:1": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "@ebizbase/node-dind-playwright-devcontainer",
"version": "1.0.0"
}
60 changes: 60 additions & 0 deletions devcontainer-images/node-dind-playwright-devcontainer/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"name": "node-dind-playwright-devcontainer",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "devcontainer-images/node-dind-playwright-devcontainer",
"projectType": "application",
"metadata": {
"$schema": "../../nx-plugins/nx-devcontainer/metadata.schema.json",
"version": "1.0.0",
"registries": [
"docker.io",
"ghcr.io"
],
"namespace": "ebizbase/node-dind-playwright-devcontainer",
"labels": {
"org.opencontainers.image.source": "https://github.com/ebizbase/dev-infras",
"org.opencontainers.image.description": "NodeJS devcontainer image for ebizbase",
"org.opencontainers.image.licenses": "MIT"
}
},
"targets": {
"build": {
"executor": "@ebizbase/nx-internal:build-devcontainer-image",
"options": {
"tags": [
"edge"
]
}
},
"test": {
"dependsOn": [
"build"
],
"executor": "nx:run-commands",
"options": {
"commands": [
"docker run --rm ebizbase/node-dind-playwright-devcontainer:edge node --version"
],
"parallel": false
}
},
"publish": {
"executor": "@ebizbase/nx-internal:build-devcontainer-image",
"options": {
"push": true,
"tags": [
"latest",
"{major}",
"{major}.{minor}",
"{major}.{minor}.{patch}"
]
}
},
"version": {
"executor": "@jscutlery/semver:version",
"options": {
"preset": "angular"
}
}
}
}
10 changes: 10 additions & 0 deletions release-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,16 @@
}
]
},
"devcontainer-images/node-dind-playwright-devcontainer": {
"release-type": "node",
"extra-files": [
{
"type": "json",
"path": "project.json",
"jsonpath": "$.metadata.version"
}
]
},
"devcontainer-images/node-playwright-devcontainer": {
"release-type": "node",
"extra-files": [
Expand Down
1 change: 1 addition & 0 deletions release-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
"devcontainer-images/base-devcontainer": "1.0.0",
"devcontainer-images/node-devcontainer": "1.0.0",
"devcontainer-images/node-dind-devcontainer": "1.0.0",
"devcontainer-images/node-dind-playwright-devcontainer": "0.0.0",
"devcontainer-images/node-playwright-devcontainer": "1.0.0"
}

0 comments on commit 65f31e4

Please sign in to comment.