5 Commits

Author SHA1 Message Date
ec20d5ee8f chore: release 1.12.7
Some checks failed
Deploy to Production / deploy (push) Failing after 1s
2026-02-12 21:57:00 +01:00
b20a829d37 chore: release 1.12.6
Some checks failed
Deploy to Production / deploy (push) Failing after 9s
2026-02-12 21:15:19 +01:00
988c4a899b ci: add gitea actions workflow
Some checks failed
Deploy to Production / deploy (push) Has been cancelled
2026-02-12 21:10:46 +01:00
d8faa308e6 chore: release 1.12.5 2026-02-12 20:50:18 +01:00
6bddb24bfe chore: remove redundant check_i18n.js script 2026-02-12 20:50:16 +01:00
4 changed files with 21 additions and 40 deletions

View File

@@ -0,0 +1,18 @@
name: Deploy to Production
run-name: Deploy to Production by @${{ github.actor }}
on:
push:
branches:
- main
jobs:
deploy:
runs-on: self-hosted
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Build and deploy with Docker Compose
run: |
docker compose up -d --build

View File

@@ -1,37 +0,0 @@
const fs = require('fs');
const fileContent = fs.readFileSync('src/composables/useI18n.js', 'utf8');
// Extract the messages object
const match = fileContent.match(/const messages = ({[\s\S]*?});/);
if (!match) {
console.error('Could not find messages object');
process.exit(1);
}
// We need to make the string valid JS to eval it.
// It seems the content inside `const messages = { ... };` is valid JS object notation.
// But we need to be careful about imports or other things if we were to `eval` the whole file.
// We'll just `eval` the object part.
const messagesStr = match[1];
const messages = eval(`(${messagesStr})`);
const enKeys = Object.keys(messages.en);
const languages = Object.keys(messages);
const missing = {};
languages.forEach(lang => {
if (lang === 'en') return;
const langKeys = Object.keys(messages[lang]);
const missingKeys = enKeys.filter(k => !langKeys.includes(k));
if (missingKeys.length > 0) {
missing[lang] = missingKeys;
}
});
console.log(JSON.stringify(missing, null, 2));

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "vue-nonograms-solid",
"version": "1.12.4",
"version": "1.12.7",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "vue-nonograms-solid",
"version": "1.12.4",
"version": "1.12.7",
"dependencies": {
"fireworks-js": "^2.10.8",
"flag-icons": "^7.5.0",

View File

@@ -1,6 +1,6 @@
{
"name": "vue-nonograms-solid",
"version": "1.12.4",
"version": "1.12.7",
"homepage": "https://nonograms.7u.pl/",
"type": "module",
"scripts": {