Skip to content

Commit 4590c3a

Browse files
authoredMay 8, 2020
Merge pull request #1607 from cdr/ci
Switch to GH Actions
2 parents c63f1ea + e9fe4c0 commit 4590c3a

22 files changed

+310
-308
lines changed
 

‎.dockerignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
**
2-
!release-github
2+
!release-packages
33
!ci

‎.github/workflows/ci.yaml

+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
name: ci
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- name: Run ./ci/steps/test.sh
11+
uses: ./ci/container
12+
with:
13+
args: ./ci/steps/test.sh
14+
15+
release:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v1
19+
- name: Run ./ci/steps/release.sh
20+
uses: ./ci/container
21+
with:
22+
args: ./ci/steps/release.sh
23+
- name: Upload npm package artifact
24+
uses: actions/upload-artifact@v2
25+
with:
26+
name: npm-package
27+
path: ./release
28+
29+
linux-amd64:
30+
needs: release
31+
runs-on: ubuntu-latest
32+
steps:
33+
- uses: actions/checkout@v1
34+
- name: Download npm package
35+
uses: actions/download-artifact@v2
36+
with:
37+
name: npm-package
38+
path: ./release
39+
- name: Run ./ci/steps/release-static.sh
40+
uses: ./ci/container
41+
with:
42+
args: ./ci/steps/release-static.sh
43+
- name: Upload release artifacts
44+
uses: actions/upload-artifact@v2
45+
with:
46+
name: release-packages
47+
path: ./release-packages
48+
49+
linux-arm64:
50+
needs: release
51+
runs-on: ubuntu-arm64-latest
52+
steps:
53+
- uses: actions/checkout@v1
54+
- name: Download npm package
55+
uses: actions/download-artifact@v2
56+
with:
57+
name: npm-package
58+
path: ./release
59+
- name: Run ./ci/steps/release-static.sh
60+
uses: ./ci/container
61+
with:
62+
args: ./ci/steps/release-static.sh
63+
- name: Upload release artifacts
64+
uses: actions/upload-artifact@v2
65+
with:
66+
name: release-packages
67+
path: ./release-packages
68+
69+
macos-amd64:
70+
needs: release
71+
runs-on: macos-latest
72+
steps:
73+
- uses: actions/checkout@v1
74+
- name: Download npm package
75+
uses: actions/download-artifact@v2
76+
with:
77+
name: npm-package
78+
path: ./release
79+
- run: brew unlink node@12
80+
- run: brew install node
81+
- run: ./ci/steps/release-static.sh
82+
env:
83+
# Otherwise we get rate limited when fetching the ripgrep binary.
84+
GITHUB_TOKEN: ${{ secrets.github_token }}
85+
- name: Upload release artifacts
86+
uses: actions/upload-artifact@v2
87+
with:
88+
name: release-packages
89+
path: ./release-packages

‎.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ dist*
44
out*
55
release/
66
release-static/
7-
release-github/
7+
release-packages/
88
release-gcp/
99
node_modules

‎.travis.yml

-80
This file was deleted.

‎ci/README.md

+30-15
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@ Many of these scripts contain more detailed documentation and options in comment
66

77
Any file and directory added into this tree should be documented here.
88

9+
## Publishing a release
10+
11+
1. Change the version of code-server in `package.json` and push this commit.
12+
1. CI will run and generate an NPM package and release packages that you can download
13+
as artifacts on Github Actions.
14+
1. Create a new draft release with the built release packages.
15+
1. Run some basic sanity tests on one of the released packages.
16+
1. Publish.
17+
1. Download the built npm package and publish it.
18+
1. Place the debian releases into `./release-packages` and then push the docker
19+
image with `./ci/release-container/push.sh`.
20+
1. This will need to be ran on an ARM64 instance as well.
21+
1. At some point we need to automate this.
22+
923
## dev
1024

1125
This directory contains scripts used for the development of code-server.
@@ -32,27 +46,30 @@ This directory contains scripts used for the development of code-server.
3246
## build
3347

3448
This directory contains the scripts used to build code-server.
49+
You can disable minification by setting `MINIFY=`.
3550

51+
- [./lib.sh](./lib.sh)
52+
- Contains code duplicated across these scripts.
3653
- [./build/build-code-server.sh](./build/build-code-server.sh) (`yarn build`)
3754
- Builds code-server into ./out and bundles the frontend into ./dist.
3855
- [./build/build-vscode.sh](./build/build-vscode.sh) (`yarn build:vscode`)
3956
- Builds vscode into ./lib/vscode/out-vscode.
4057
- [./build/build-release.sh](./build/build-release.sh) (`yarn release`)
41-
- Bundles the output of the above two scripts into a single node module at ./release.
42-
- Will build a static release with node/node_modules into `./release-static`
43-
if `STATIC=1` is set.
58+
- Bundles the output of the above two scripts into a single node module at `./release`.
59+
- [./build/build-static-release.sh](./build/build-static-release.sh) (`yarn release:static`)
60+
- Requires a release already built in `./release`.
61+
- Will build a static release with node and node_modules into `./release-static`
4462
- [./build/clean.sh](./build/clean.sh) (`yarn clean`)
4563
- Removes all git ignored files like build artifacts.
4664
- Will also `git reset --hard lib/vscode`
4765
- Useful to do a clean build.
4866
- [./build/code-server.sh](./build/code-server.sh)
4967
- Copied into static releases to run code-server with the bundled node binary.
50-
- [./build/archive-static-release.sh](./build/archive-static-release.sh)
51-
- Archives `./release-static` into a tar/zip for CI with the proper directory name scheme
5268
- [./build/test-release.sh](./build/test-static-release.sh)
5369
- Ensures code-server in the `./release-static` directory runs
54-
- [./build/build-static-pkgs.sh](./build/build-static-pkgs.sh) (`yarn pkg`)
55-
- Uses [nfpm](https://github.com/goreleaser/nfpm) to generate .deb and .rpm from a static release
70+
- [./build/build-packages.sh](./build/build-static-pkgs.sh) (`yarn package`)
71+
- Packages `./release-static` into an archive in `./release-packages`
72+
- If on linux, [nfpm](https://github.com/goreleaser/nfpm) is used to generate .deb and .rpm
5673
- [./build/nfpm.yaml](./build/nfpm.yaml)
5774
- Used to configure [nfpm](https://github.com/goreleaser/nfpm) to generate .deb and .rpm
5875
- [./build/code-server-nfpm.sh](./build/code-server-nfpm.sh)
@@ -68,15 +85,13 @@ This directory contains the container for CI.
6885

6986
## steps
7087

71-
This directory contains a few scripts used in CI. Just helps avoid clobbering .travis.yml.
88+
This directory contains a few scripts used in CI.
89+
Just helps avoid clobbering .travis.yml.
7290

7391
- [./steps/test.sh](./steps/test.sh)
7492
- Runs `yarn ci` after ensuring VS Code is patched
93+
- [./steps/release.sh](./steps/release.sh)
94+
- Runs the full release process
95+
- Generates the npm package at `./release`
7596
- [./steps/static-release.sh](./steps/static-release.sh)
76-
- Runs the full static build process for CI
77-
- [./steps/linux-release.sh](./steps/linux-release.sh)
78-
- Runs the full static build process for CI
79-
- Packages the release into a .deb and .rpm
80-
- Builds and pushes a docker release
81-
- [./steps/publish-npm.sh](./steps/publish-npm.sh)
82-
- Authenticates yarn and publishes the built package from `./release`
97+
- Takes the output of the previous script and generates a static release and packages

‎ci/build/archive-static-release.sh

-41
This file was deleted.

‎ci/build/build-packages.sh

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
#!/usr/bin/env bash
2+
set -euo pipefail
3+
4+
# Packages code-server for the current OS and architecture into ./release-packages.
5+
# This script assumes that a static release is built already into ./release-static.
6+
7+
main() {
8+
cd "$(dirname "${0}")/../.."
9+
source ./ci/lib.sh
10+
11+
export VERSION
12+
VERSION="$(pkg_json_version)"
13+
14+
local OS
15+
OS="$(os)"
16+
17+
export ARCH
18+
ARCH="$(arch)"
19+
20+
local archive_name="code-server-$VERSION-$OS-$ARCH"
21+
mkdir -p release-packages
22+
23+
local ext
24+
if [[ $OS == "linux" ]]; then
25+
ext=".tar.gz"
26+
tar -czf "release-packages/$archive_name$ext" --transform "s/^\.\/release-static/$archive_name/" ./release-static
27+
else
28+
mv ./release-static "./$archive_name"
29+
ext=".zip"
30+
zip -r "release-packages/$archive_name$ext" "./$archive_name"
31+
mv "./$archive_name" ./release-static
32+
fi
33+
34+
echo "done (release-packages/$archive_name)"
35+
36+
release_gcp
37+
38+
if [[ $OSTYPE == linux* ]]; then
39+
release_nfpm
40+
fi
41+
}
42+
43+
release_gcp() {
44+
mkdir -p "release-gcp/$VERSION"
45+
cp "release-packages/$archive_name$ext" "./release-gcp/$VERSION/$OS-$ARCH$ext"
46+
mkdir -p "release-gcp/latest"
47+
cp "./release-packages/$archive_name$ext" "./release-gcp/latest/$OS-$ARCH$ext"
48+
}
49+
50+
# Generates deb and rpm packages.
51+
release_nfpm() {
52+
local nfpm_config
53+
nfpm_config=$(envsubst < ./ci/build/nfpm.yaml)
54+
55+
nfpm pkg -f <(echo "$nfpm_config") --target release-packages/code-server-"$VERSION-$ARCH.deb"
56+
nfpm pkg -f <(echo "$nfpm_config") --target release-packages/code-server-"$VERSION-$ARCH.rpm"
57+
}
58+
59+
main "$@"

‎ci/build/build-release.sh

+7-52
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,17 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
# This script requires code-server and vscode to be built with
5-
# matching MINIFY.
4+
# This script requires vscode to be built with matching MINIFY.
65

7-
# RELEASE_PATH is the destination directory for the release from the root.
8-
# Defaults to release
9-
RELEASE_PATH="${RELEASE_PATH-release}"
10-
11-
# STATIC controls whether node and node_modules are packaged into the release.
12-
# Disabled by default.
13-
STATIC="${STATIC-}"
14-
15-
# MINIFY controls whether minified vscode is bundled and whether
16-
# any included node_modules are pruned for production.
6+
# MINIFY controls whether minified vscode is bundled.
177
MINIFY="${MINIFY-true}"
188

19-
VSCODE_SRC_PATH="lib/vscode"
20-
21-
VSCODE_OUT_PATH="$RELEASE_PATH/lib/vscode"
22-
239
main() {
2410
cd "$(dirname "${0}")/../.."
25-
source ./ci/lib.sh
11+
source ./ci/build/lib.sh
12+
13+
VSCODE_SRC_PATH="lib/vscode"
14+
VSCODE_OUT_PATH="$RELEASE_PATH/lib/vscode"
2615

2716
mkdir -p "$RELEASE_PATH"
2817

@@ -32,20 +21,6 @@ main() {
3221
rsync README.md "$RELEASE_PATH"
3322
rsync LICENSE.txt "$RELEASE_PATH"
3423
rsync ./lib/vscode/ThirdPartyNotices.txt "$RELEASE_PATH"
35-
36-
if [[ $STATIC ]]; then
37-
rsync "$RELEASE_PATH/" "$RELEASE_PATH-static"
38-
RELEASE_PATH+=-static
39-
VSCODE_OUT_PATH="$RELEASE_PATH/lib/vscode"
40-
41-
bundle_node
42-
else
43-
rm -Rf "$VSCODE_OUT_PATH/extensions/node_modules"
44-
fi
45-
}
46-
47-
rsync() {
48-
command rsync -a --del "$@"
4924
}
5025

5126
bundle_code_server() {
@@ -76,6 +51,7 @@ bundle_vscode() {
7651
mkdir -p "$VSCODE_OUT_PATH"
7752
rsync "$VSCODE_SRC_PATH/out-vscode${MINIFY+-min}/" "$VSCODE_OUT_PATH/out"
7853
rsync "$VSCODE_SRC_PATH/.build/extensions/" "$VSCODE_OUT_PATH/extensions"
54+
rm -Rf "$VSCODE_OUT_PATH/extensions/node_modules"
7955
rsync "$VSCODE_SRC_PATH/extensions/package.json" "$VSCODE_OUT_PATH/extensions"
8056
rsync "$VSCODE_SRC_PATH/extensions/yarn.lock" "$VSCODE_OUT_PATH/extensions"
8157
rsync "$VSCODE_SRC_PATH/extensions/postinstall.js" "$VSCODE_OUT_PATH/extensions"
@@ -103,25 +79,4 @@ EOF
10379
jq 'del(.scripts)' < "$VSCODE_SRC_PATH/package.json" > "$VSCODE_OUT_PATH/package.json"
10480
}
10581

106-
bundle_node() {
107-
# We cannot find the path to node from $PATH because yarn shims a script to ensure
108-
# we use the same version it's using so we instead run a script with yarn that
109-
# will print the path to node.
110-
local node_path
111-
node_path="$(yarn -s node <<< 'console.info(process.execPath)')"
112-
113-
mkdir -p "$RELEASE_PATH/bin"
114-
rsync ./ci/build/code-server.sh "$RELEASE_PATH/bin/code-server"
115-
rsync "$node_path" "$RELEASE_PATH/lib/node"
116-
117-
rsync node_modules "$RELEASE_PATH"
118-
rsync "$VSCODE_SRC_PATH/node_modules" "$VSCODE_OUT_PATH"
119-
120-
if [[ $MINIFY ]]; then
121-
pushd "$RELEASE_PATH"
122-
yarn --production
123-
popd
124-
fi
125-
}
126-
12782
main "$@"

‎ci/build/build-static-pkgs.sh

-24
This file was deleted.

‎ci/build/build-static-release.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/usr/bin/env bash
2+
set -euo pipefail
3+
4+
main() {
5+
cd "$(dirname "${0}")/../.."
6+
source ./ci/build/lib.sh
7+
8+
rsync "$RELEASE_PATH/" "$RELEASE_PATH-static"
9+
RELEASE_PATH+=-static
10+
11+
# We cannot find the path to node from $PATH because yarn shims a script to ensure
12+
# we use the same version it's using so we instead run a script with yarn that
13+
# will print the path to node.
14+
local node_path
15+
node_path="$(yarn -s node <<< 'console.info(process.execPath)')"
16+
17+
mkdir -p "$RELEASE_PATH/bin"
18+
rsync ./ci/build/code-server.sh "$RELEASE_PATH/bin/code-server"
19+
rsync "$node_path" "$RELEASE_PATH/lib/node"
20+
21+
cd "$RELEASE_PATH"
22+
yarn --production
23+
}
24+
25+
main "$@"

‎ci/build/lib.sh

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env bash
2+
source ./ci/lib.sh
3+
4+
# RELEASE_PATH is the destination directory for the release from the root.
5+
# Defaults to release
6+
RELEASE_PATH="${RELEASE_PATH-release}"
7+
8+
rsync() {
9+
command rsync -a --del "$@"
10+
}

‎ci/build/test-static-release.sh

+12-5
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,21 @@ set -euo pipefail
77
main() {
88
cd "$(dirname "${0}")/../.."
99

10-
local output
11-
output=$(./release-static/bin/code-server --list-extensions 2>&1)
12-
if echo "$output" | grep 'was compiled against a different Node.js version'; then
13-
echo "$output"
10+
local EXTENSIONS_DIR
11+
EXTENSIONS_DIR="$(mktemp -d)"
12+
13+
echo "Testing static release"
14+
15+
./release-static/bin/code-server --extensions-dir "$EXTENSIONS_DIR" --install-extension ms-python.python
16+
local installed_extensions
17+
installed_extensions="$(./release-static/bin/code-server --extensions-dir "$EXTENSIONS_DIR" --list-extensions 2>&1)"
18+
if [[ $installed_extensions != "ms-python.python" ]]; then
19+
echo "Unexpected output from listing extensions:"
20+
echo "$installed_extensions"
1421
exit 1
1522
fi
1623

17-
echo "Build ran successfully"
24+
echo "Static release works correctly"
1825
}
1926

2027
main "$@"

‎ci/container/Dockerfile

+37-26
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,41 @@
1-
FROM centos:7
2-
3-
RUN yum update -y && yum install -y \
4-
devtoolset-6 \
5-
gcc-c++ \
6-
xz \
7-
ccache \
8-
git \
9-
wget \
10-
openssl \
11-
libxkbfile-devel \
12-
libsecret-devel \
13-
libx11-devel \
14-
gettext
15-
16-
RUN yum install -y epel-release && \
17-
yum install -y ShellCheck jq golang
1+
FROM debian
182

19-
RUN go get github.com/goreleaser/nfpm/cmd/nfpm
20-
ENV PATH=$PATH:/root/go/bin
3+
RUN apt-get update
4+
5+
# Needed for debian repositories added below.
6+
RUN apt-get install -y curl gnupg
7+
8+
# Installs node.
9+
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
10+
apt-get install -y nodejs
11+
12+
# Installs yarn.
13+
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
14+
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
15+
apt-get update && apt-get install -y yarn
2116

22-
RUN mkdir /usr/share/node && cd /usr/share/node \
23-
&& curl "https://nodejs.org/dist/v12.16.3/node-v12.16.3-linux-$(uname -m | sed 's/86_//; s/aarch/arm/').tar.xz" | tar xJ --strip-components=1 --
24-
ENV PATH "$PATH:/usr/share/node/bin"
25-
RUN npm install -g yarn@1.22.4
17+
# Installs VS Code build deps.
18+
RUN apt-get install -y build-essential \
19+
libsecret-1-dev \
20+
libx11-dev \
21+
libxkbfile-dev
2622

27-
RUN curl -L "https://github.com/mvdan/sh/releases/download/v3.0.1/shfmt_v3.0.1_linux_$(uname -m | sed 's/x86_/amd/; s/aarch64/arm/')" > /usr/local/bin/shfmt \
28-
&& chmod +x /usr/local/bin/shfmt
23+
# Installs envsubst.
24+
RUN apt-get install -y gettext-base
2925

30-
ENTRYPOINT ["/bin/bash", "-c"]
26+
# Misc build dependencies.
27+
RUN apt-get install -y jq git rsync
28+
29+
# Installs shellcheck.
30+
RUN curl -L https://github.com/koalaman/shellcheck/releases/download/v0.7.1/shellcheck-v0.7.1.linux.$(uname -m).tar.xz | \
31+
tar -xJ && \
32+
mv shellcheck*/shellcheck /usr/local/bin && \
33+
rm -R shellcheck*
34+
35+
# Install Go dependencies
36+
RUN ARCH="$(dpkg --print-architecture)" && \
37+
curl "https://dl.google.com/go/go1.14.2.linux-$ARCH.tar.gz" | tar -C /usr/local -xz
38+
ENV PATH=/usr/local/go/bin:/root/go/bin:$PATH
39+
ENV GO111MODULE=on
40+
RUN go get mvdan.cc/sh/v3/cmd/shfmt
41+
RUN go get github.com/goreleaser/nfpm/cmd/nfpm

‎ci/container/exec.sh

-24
This file was deleted.

‎ci/dev/vscode.patch

+16
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,22 @@ index 7a2320d828..5768890636 100644
4848
+// yarnInstall('test/smoke'); // node modules required for smoketest
4949
+// yarnInstall('test/integration/browser'); // node modules required for integration
5050
yarnInstallBuildDependencies(); // node modules for watching, specific to host node version, not electron
51+
diff --git a/build/npm/preinstall.js b/build/npm/preinstall.js
52+
index cb88d37ade..6b3253af0a 100644
53+
--- a/build/npm/preinstall.js
54+
+++ b/build/npm/preinstall.js
55+
@@ -8,8 +8,9 @@ let err = false;
56+
const majorNodeVersion = parseInt(/^(\d+)\./.exec(process.versions.node)[1]);
57+
58+
if (majorNodeVersion < 10 || majorNodeVersion >= 13) {
59+
- console.error('\033[1;31m*** Please use node >=10 and <=12.\033[0;0m');
60+
- err = true;
61+
+ // We are ok building above Node 12.
62+
+ // console.error('\033[1;31m*** Please use node >=10 and <=12.\033[0;0m');
63+
+ // err = true;
64+
}
65+
66+
const cp = require('child_process');
5167
diff --git a/coder.js b/coder.js
5268
new file mode 100644
5369
index 0000000000..0170b47241

‎ci/release-container/Dockerfile

+3-6
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,14 @@ ENV SHELL=/bin/bash
2727
RUN adduser --gecos '' --disabled-password coder && \
2828
echo "coder ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/nopasswd
2929

30-
SHELL ["/bin/bash", "-c"]
31-
32-
COPY ci/lib.sh /tmp/lib.sh
33-
RUN source /tmp/lib.sh && rm /tmp/lib.sh && \
34-
curl -L "https://github.com/boxboat/fixuid/releases/download/v0.4.1/fixuid-0.4.1-linux-$(arch).tar.gz" | tar -C /usr/local/bin -xzf - && \
30+
RUN ARCH="$(dpkg --print-architecture)" && \
31+
curl -L "https://github.com/boxboat/fixuid/releases/download/v0.4.1/fixuid-0.4.1-linux-$ARCH.tar.gz" | tar -C /usr/local/bin -xzf - && \
3532
chown root:root /usr/local/bin/fixuid && \
3633
chmod 4755 /usr/local/bin/fixuid && \
3734
mkdir -p /etc/fixuid && \
3835
printf "user: coder\ngroup: coder\n" > /etc/fixuid/config.yml
3936

40-
COPY release-github/code-server*.deb /tmp/
37+
COPY release-packages/code-server*.deb /tmp/
4138
RUN dpkg -i /tmp/code-server*.deb && rm /tmp/code-server*.deb
4239

4340
EXPOSE 8080

‎ci/steps/linux-release.sh

-13
This file was deleted.

‎ci/steps/publish-npm.sh

-11
This file was deleted.

‎ci/steps/release-static.sh

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
set -euo pipefail
3+
4+
main() {
5+
cd "$(dirname "$0")/../.."
6+
7+
yarn release:static
8+
./ci/build/test-static-release.sh
9+
yarn package
10+
}
11+
12+
main "$@"

‎ci/steps/static-release.sh renamed to ‎ci/steps/release.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ main() {
88
yarn vscode
99
yarn build
1010
yarn build:vscode
11-
STATIC=1 yarn release
12-
./ci/build/test-static-release.sh
13-
./ci/build/archive-static-release.sh
11+
yarn release
1412
}
1513

1614
main "$@"

‎package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"build": "./ci/build/build-code-server.sh",
1717
"build:vscode": "./ci/build/build-vscode.sh",
1818
"release": "./ci/build/build-release.sh",
19-
"pkg": "./ci/build/build-static-pkgs.sh",
19+
"release:static": "./ci/build/build-static-release.sh",
20+
"package": "./ci/build/build-packages.sh",
2021
"_____": "",
2122
"fmt": "./ci/dev/fmt.sh",
2223
"lint": "./ci/dev/lint.sh",
@@ -60,7 +61,7 @@
6061
"vfile-message": "^2.0.2"
6162
},
6263
"dependencies": {
63-
"@coder/logger": "1.1.14",
64+
"@coder/logger": "1.1.11",
6465
"adm-zip": "^0.4.14",
6566
"fs-extra": "^8.1.0",
6667
"http-proxy": "^1.18.0",

‎yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -792,10 +792,10 @@
792792
lodash "^4.17.13"
793793
to-fast-properties "^2.0.0"
794794

795-
"@coder/logger@1.1.14":
796-
version "1.1.14"
797-
resolved "https://registry.yarnpkg.com/@coder/logger/-/logger-1.1.14.tgz#0242da33e0245834361dd078e31280fc1c976b7e"
798-
integrity sha512-NuTvsOH3dqrXn/8Pbs5zy7l0gLqOSC/TPRl3nexdP/897lgG/vtHNQHrUwTBTzTzihH1ON4lklDxJjY0hD4UPg==
795+
"@coder/logger@1.1.11":
796+
version "1.1.11"
797+
resolved "https://registry.yarnpkg.com/@coder/logger/-/logger-1.1.11.tgz#e6f36dba9436ae61e66e3f66787d75c768617605"
798+
integrity sha512-EEh1dqSU0AaqjjjMsVqumgZGbrZimKFKIb4t5E6o3FLfVUxJCReSME78Yj2N1xWUVAHMnqafDCxLostpuIotzw==
799799

800800
"@iarna/toml@^2.2.0":
801801
version "2.2.5"

0 commit comments

Comments
 (0)
Please sign in to comment.