Skip to content

Commit 271b9a9

Browse files
committed
feature: cloudcmd: html-looks-like: remove
1 parent bb6a7a2 commit 271b9a9

File tree

4 files changed

+7
-11
lines changed

4 files changed

+7
-11
lines changed

docker/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ WORKDIR /usr/src/app
88
COPY package.json /usr/src/app/
99

1010
RUN curl -fsSL https://bun.com/install | bash && \
11-
bun i --production --no-save && \
12-
bun i gritty && \
13-
bun pm cache rm
11+
~/.bun/bin/bun i --production --no-save && \
12+
~/.bun/bin/bun i gritty && \
13+
~/.bun/bin/bun pm cache rm
1414

1515
COPY . /usr/src/app
1616

docker/Dockerfile.alpine

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ COPY package.json /usr/src/app/
1010
RUN apk update && \
1111
apk add --no-cache curl bash make g++ python3 && \
1212
curl -fsSL https://bun.com/install | bash && \
13-
bun i --no-save --production && \
14-
bun i gritty --no-save && \
15-
bun pm cache rm
13+
source ~/.bashrc && \
14+
~/.bun/bin/bun i --no-save --production && \
15+
~/.bin/bin/bun i gritty --no-save && \
16+
~/.bin/bin/bun pm cache rm
1617
apk del make g++ python3 && \
1718
rm -rf /usr/include /tmp/* /var/cache/apk/*
1819

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@
177177
"globals": "^16.3.0",
178178
"gritty": "^8.0.0",
179179
"gunzip-maybe": "^1.3.1",
180-
"html-looks-like": "^1.0.2",
181180
"html-webpack-plugin": "^5.6.3",
182181
"inherits": "^2.0.3",
183182
"just-capitalize": "^3.2.0",

test/common/cloudfunc.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ const fs = require('node:fs');
44

55
const tryCatch = require('try-catch');
66
const test = require('supertape');
7-
const htmlLooksLike = require('html-looks-like');
87
const readFilesSync = require('@cloudcmd/read-files-sync');
98

109
const {time, timeEnd} = require(`../../common/util`);
@@ -90,9 +89,6 @@ test('cloudfunc: render', (t) => {
9089
}
9190

9291
t.equal(result, Expect, 'should be equal rendered json data');
93-
94-
htmlLooksLike(result, Expect);
95-
9692
t.end();
9793
});
9894

0 commit comments

Comments
 (0)