Skip to content

Commit 1b77f58

Browse files
authored
fix core test and update dependencies, removed useless bun.lockb (#208)
* fix core test list database detailed update command * update dependencies * rm bun
1 parent e3638c8 commit 1b77f58

File tree

7 files changed

+178
-344
lines changed

7 files changed

+178
-344
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
FROM oven/bun:debian
1+
FROM node:lts
22

3-
# Config Bun
4-
ENV PATH="~/.bun/bin:${PATH}"
5-
RUN ln -s /usr/local/bin/bun /usr/local/bin/node
6-
7-
# Update packages
8-
RUN if [ "debian" == "alpine" ] ; then apk update ; else apt-get update ; fi
9-
10-
# Install Git
11-
RUN if [ "debian" == "alpine" ] ; then apk add git ; else apt-get install -y git ; fi
3+
RUN apt-get update
4+
RUN apt-get install -y git
125

.devcontainer/devcontainer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2-
// README at: https://github.com/marcosgomesneto/bun-devcontainers/tree/main/src/basic-bun
32
{
4-
"name": "Bun",
3+
"name": "Node",
54
"dockerFile": "Dockerfile",
65
// Configure tool-specific properties.
76
"customizations": {
87
// Configure properties specific to VS Code.
98
"vscode": {
109
// Add the IDs of extensions you want installed when the container is created.
1110
"extensions": [
12-
"oven.bun-vscode"
11+
"esbenp.prettier-vscode"
1312
]
1413
}
1514
},

.husky/pre-commit

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
bun install
2-
bun install --production
3-
bun .husky/pre-commit.js
1+
npm install
2+
node .husky/pre-commit.js
43
git add package.json
5-
git add bun.lockb

bun.lockb

-552 KB
Binary file not shown.

0 commit comments

Comments
 (0)