Skip to content

Commit aa7c266

Browse files
committed
Merge 0.13.4 into latest
2 parents c820659 + 9c709d2 commit aa7c266

File tree

139 files changed

+13425
-33037
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+13425
-33037
lines changed

.github/workflows/vscode-ext-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ jobs:
2929
working-directory: vscode-extension
3030
- name: publish-ovsx
3131
run: |
32-
sed -i 's/"ms-vscode-remote.remote-ssh"//g' package.json
32+
sed -i 's/"publisher": "jetpack-io"/"publisher": "Jetify"/g' package.json
3333
ovsx publish --pat ${{ secrets.OVSX_MARKETPLACE_TOKEN }} --yarn --skip-duplicate
3434
working-directory: vscode-extension

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616

1717
In practice, Devbox works similar to a package manager like `yarn` – except the packages it manages are at the operating-system level (the sort of thing you would normally install with `brew` or `apt-get`). With Devbox, you can install over [400,000 package versions](https://www.nixhub.io) from the Nix Package Registry
1818

19-
Devbox was originally developed by [Jetify](https://www.jetify.com) and is internally powered by `nix`.
19+
Devbox was originally developed by [Jetify](https://www.jetify.com) and is internally powered by `nix`.
2020

2121
## Demo
2222

2323
You can try out Devbox in your browser using the button below:
2424

25-
[![Open In Devbox.sh](https://www.jetify.com/img/devbox/open-in-devbox.svg)](https://devbox.sh/new)
25+
[![Open In Devspace](https://www.jetify.com/img/devbox/open-in-devspace.svg)](https://www.jetify.com/devbox/templates/tutorial)
2626

2727
The example below creates a development environment with `python 2.7` and `go 1.18`, even though those packages are not installed in the underlying machine:
2828

devbox.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
11
{
2-
"name": "devbox",
2+
"name": "devbox",
33
"description": "Instant, easy, and predictable development environments",
44
"packages": {
5-
"go": "latest",
5+
"go": "latest",
66
"runx:golangci/golangci-lint": "latest",
7-
"runx:mvdan/gofumpt": "latest"
7+
"runx:mvdan/gofumpt": "latest",
88
},
99
"env": {
1010
"GOENV": "off",
11-
"PATH": "$PATH:$PWD/dist"
11+
"PATH": "$PATH:$PWD/dist",
1212
},
1313
"shell": {
1414
"init_hook": [
1515
// Remove Go environment variables that might've been inherited from the
1616
// user's environment and could affect the build.
1717
"test -z $FISH_VERSION && \\",
1818
"unset CGO_ENABLED GO111MODULE GOARCH GOFLAGS GOMOD GOOS GOROOT GOTOOLCHAIN GOWORK || \\",
19-
"set --erase CGO_ENABLED GO111MODULE GOARCH GOFLAGS GOMOD GOOS GOROOT GOTOOLCHAIN GOWORK"
19+
"set --erase CGO_ENABLED GO111MODULE GOARCH GOFLAGS GOMOD GOOS GOROOT GOTOOLCHAIN GOWORK",
2020
],
2121
"scripts": {
2222
// Build devbox for the current platform
23-
"build": "go build -o dist/devbox ./cmd/devbox",
23+
"build": "go build -o dist/devbox ./cmd/devbox",
2424
"build-darwin-amd64": "GOOS=darwin GOARCH=amd64 go build -o dist/devbox-darwin-amd64 ./cmd/devbox",
2525
"build-darwin-arm64": "GOOS=darwin GOARCH=arm64 go build -o dist/devbox-darwin-arm64 ./cmd/devbox",
26-
"build-linux-amd64": "GOOS=linux GOARCH=amd64 go build -o dist/devbox-linux-amd64 ./cmd/devbox",
27-
"build-linux-arm64": "GOOS=linux GOARCH=arm64 go build -o dist/devbox-linux-arm64 ./cmd/devbox",
26+
"build-linux-amd64": "GOOS=linux GOARCH=amd64 go build -o dist/devbox-linux-amd64 ./cmd/devbox",
27+
"build-linux-arm64": "GOOS=linux GOARCH=arm64 go build -o dist/devbox-linux-arm64 ./cmd/devbox",
2828
"build-all": [
2929
"devbox run build-darwin-amd64",
3030
"devbox run build-darwin-arm64",
3131
"devbox run build-linux-amd64",
32-
"devbox run build-linux-arm64"
32+
"devbox run build-linux-arm64",
3333
],
3434
// Open VSCode
35-
"code": "code .",
36-
"lint": "golangci-lint run --timeout 5m && scripts/gofumpt.sh",
37-
"fmt": "scripts/gofumpt.sh",
38-
"test": "go test -race -cover ./...",
35+
"code": "code .",
36+
"lint": "golangci-lint run --timeout 5m && scripts/gofumpt.sh",
37+
"fmt": "scripts/gofumpt.sh",
38+
"test": "go test -race -cover ./...",
3939
"test-projects-only": "DEVBOX_RUN_PROJECT_TESTS=1 go test -v -timeout ${DEVBOX_GOLANG_TEST_TIMEOUT:-30m} ./... -run \"TestExamples|TestScriptsWithProjects\"",
40-
"update-examples": "devbox run build && go run testscripts/testrunner/updater/main.go",
40+
"update-examples": "devbox run build && go run testscripts/testrunner/updater/main.go",
4141
// Updates the Flake's vendorHash: First run `go mod vendor` to vendor
4242
// the dependencies, then hash the vendor directory with Nix.
4343
// The hash is saved to the `vendor-hash` file, which is then
@@ -68,8 +68,8 @@
6868
"GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go test -c -o testscripts-linux-amd64",
6969
"GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go test -c -o testscripts-linux-arm64",
7070
"image=$(docker build --quiet --tag devbox-testscripts-ubuntu:noble --platform linux/amd64 .)",
71-
"docker run --rm --mount type=volume,src=devbox-testscripts-amd64,dst=/nix --platform linux/amd64 -e DEVBOX_RUN_FAILING_TESTS -e DEVBOX_RUN_PROJECT_TESTS -e DEVBOX_DEBUG $image \"$@\""
72-
]
73-
}
74-
}
71+
"docker run --rm --mount type=volume,src=devbox-testscripts-amd64,dst=/nix --platform linux/amd64 -e DEVBOX_RUN_FAILING_TESTS -e DEVBOX_RUN_PROJECT_TESTS -e DEVBOX_DEBUG $image \"$@\"",
72+
],
73+
},
74+
},
7575
}

docs/app/.envrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Automatically sets up your devbox environment whenever you cd into this
2+
# directory via our direnv integration:
3+
4+
eval "$(devbox generate direnv --print-envrc)"
5+
6+
# check out https://www.jetpack.io/devbox/docs/ide_configuration/direnv/
7+
# for more details
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)