twikoo 1.6.18 → 1.6.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/Dockerfile +13 -0
- package/README.en.md +2 -2
- package/README.md +1 -1
- package/dist/twikoo.all.min.js +1 -1
- package/dist/twikoo.all.min.js.LICENSE.txt +2 -2
- package/dist/twikoo.css +2 -2
- package/dist/twikoo.min.js +1 -1
- package/dist/twikoo.min.js.LICENSE.txt +2 -2
- package/dist/twikoo.nocss.js +1 -1
- package/dist/twikoo.nocss.js.LICENSE.txt +2 -2
- package/docker-compose.yml +12 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/Dockerfile
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
ARG NODE_IMAGE=node
|
|
2
|
+
FROM ${NODE_IMAGE}:lts AS build
|
|
3
|
+
WORKDIR /app
|
|
4
|
+
ENV NODE_ENV production
|
|
5
|
+
RUN set -eux; \
|
|
6
|
+
npm install --production tkserver@latest; \
|
|
7
|
+
mkdir -p data
|
|
8
|
+
FROM ${NODE_IMAGE}:lts-buster-slim
|
|
9
|
+
WORKDIR /app
|
|
10
|
+
ENV NODE_ENV production
|
|
11
|
+
COPY --from=build /app .
|
|
12
|
+
EXPOSE 8080
|
|
13
|
+
CMD ["/app/node_modules/.bin/tkserver"]
|
package/README.en.md
CHANGED
|
@@ -119,7 +119,7 @@ Icon design:[Maemo Lee](https://www.maemo.cc)
|
|
|
119
119
|
|
|
120
120
|
## Release notes & plans
|
|
121
121
|
|
|
122
|
-
[Update logs](https://github.com/
|
|
122
|
+
[Update logs](https://github.com/twikoojs/twikoo/releases) & [Development Plan](https://github.com/twikoojs/twikoo/projects/2)
|
|
123
123
|
|
|
124
124
|
## Development
|
|
125
125
|
|
|
@@ -135,7 +135,7 @@ If your changes can help more people, feel free to submit a Pull Request!
|
|
|
135
135
|
|
|
136
136
|
## I18N
|
|
137
137
|
|
|
138
|
-
Support Simplified Chinese, Traditional Chinese, English. [translate Pull Request](https://github.com/
|
|
138
|
+
Support Simplified Chinese, Traditional Chinese, English. [translate Pull Request](https://github.com/twikoojs/twikoo/tree/main/src/client/utils/i18n).
|
|
139
139
|
|
|
140
140
|
## License
|
|
141
141
|
|
package/README.md
CHANGED
|
@@ -125,7 +125,7 @@ yarn build # 编译 (dist/twikoo.all.min.js)
|
|
|
125
125
|
|
|
126
126
|
## 国际化 | I18N
|
|
127
127
|
|
|
128
|
-
支持简体中文、繁体中文、English。欢迎[提交翻译 PR](https://github.com/
|
|
128
|
+
支持简体中文、繁体中文、English。欢迎[提交翻译 PR](https://github.com/twikoojs/twikoo/edit/main/src/client/utils/i18n/i18n.js)。
|
|
129
129
|
|
|
130
130
|
## 许可 | License
|
|
131
131
|
|