Compare commits
1 Commits
4871876bf0
...
d44f412fb9
Author | SHA1 | Date | |
---|---|---|---|
d44f412fb9 |
2
Makefile
2
Makefile
@ -51,7 +51,7 @@ tidy:
|
|||||||
go mod tidy
|
go mod tidy
|
||||||
|
|
||||||
watch:
|
watch:
|
||||||
go run github.com/cortesi/modd/cmd/modd@v0.8.1
|
modd
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
golangci-lint run --enable-all
|
golangci-lint run --enable-all
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
FROM reg.cadoles.com/proxy_cache/library/golang:1.21 AS build
|
FROM reg.cadoles.com/dh/library/golang:1.17 AS build
|
||||||
|
|
||||||
ARG HTTP_PROXY=
|
ARG HTTP_PROXY=
|
||||||
ARG HTTPS_PROXY=
|
ARG HTTPS_PROXY=
|
||||||
ARG http_proxy=
|
ARG http_proxy=
|
||||||
ARG https_proxy=
|
ARG https_proxy=
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y build-essential git bash curl
|
RUN apt-get update && apt-get install -y build-essential git bash curl npm python2
|
||||||
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - \
|
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \
|
||||||
&& apt-get install -y nodejs
|
&& apt-get install -y nodejs
|
||||||
|
|
||||||
COPY . /src
|
COPY . /src
|
||||||
@ -15,10 +15,10 @@ COPY . /src
|
|||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
RUN cp -f misc/docker/config-patch.txt misc/release/config-patch.txt \
|
RUN cp -f misc/docker/config-patch.txt misc/release/config-patch.txt \
|
||||||
&& npm ci \
|
&& npm install \
|
||||||
&& make ARCH_TARGETS=amd64 release
|
&& make ARCH_TARGETS=amd64 release
|
||||||
|
|
||||||
FROM reg.cadoles.com/proxy_cache/library/busybox
|
FROM busybox
|
||||||
|
|
||||||
RUN adduser -D -h /app fsmtp
|
RUN adduser -D -h /app fsmtp
|
||||||
|
|
||||||
|
11819
package-lock.json
generated
11819
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
30
package.json
30
package.json
@ -11,21 +11,21 @@
|
|||||||
"author": "William Petit <wpetit@cadoles.com>",
|
"author": "William Petit <wpetit@cadoles.com>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.23.9",
|
"@babel/core": "^7.2.0",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.2.1",
|
"@babel/plugin-proposal-class-properties": "^7.2.1",
|
||||||
"@babel/preset-env": "^7.23.9",
|
"@babel/preset-env": "^7.2.0",
|
||||||
"babel-loader": "^9.1.3",
|
"babel-loader": "^8.0.4",
|
||||||
"bulma": "^0.9.4",
|
"bulma": "^0.8.2",
|
||||||
"bulma-switch": "^2.0.4",
|
"bulma-switch": "^2.0.0",
|
||||||
"css-loader": "^6.10.0",
|
"css-loader": "^3.5.2",
|
||||||
"file-loader": "^6.2.0",
|
"file-loader": "^6.0.0",
|
||||||
"mini-css-extract-plugin": "^2.8.0",
|
"mini-css-extract-plugin": "^0.9.0",
|
||||||
"node-sass": "^9.0.0",
|
"node-sass": "^4.14.1",
|
||||||
"resolve-url-loader": "^5.0.0",
|
"resolve-url-loader": "^3.0.0",
|
||||||
"sass-loader": "^14.1.1",
|
"sass-loader": "^8.0.2",
|
||||||
"stimulus": "^3.2.2",
|
"stimulus": "^1.1.0",
|
||||||
"style-loader": "^3.3.4",
|
"style-loader": "^1.1.4",
|
||||||
"webpack": "^5.90.3",
|
"webpack": "^4.25.0",
|
||||||
"webpack-cli": "^5.1.4"
|
"webpack-cli": "^3.1.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -64,8 +64,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new MiniCssExtractPlugin({
|
new MiniCssExtractPlugin({
|
||||||
filename: "./css/[name].css",
|
filename: "/css/[name].css",
|
||||||
chunkFilename: "./css/[id].css"
|
chunkFilename: "/css/[id].css"
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user