Skip to content

Commit

Permalink
chore: deps upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
eMerzh committed Mar 15, 2024
1 parent bcfd889 commit 981f88a
Show file tree
Hide file tree
Showing 5 changed files with 1,107 additions and 1,537 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@whatever-company/elium",
"extends": ["standard", "prettier"],
"rules": {
"no-console": "off"
}
Expand Down
2 changes: 1 addition & 1 deletion bin/elium-i18n
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node

const program = require('commander')
const {program} = require('commander')
const pkg = require('../package.json')
const Extractor = require('../scripts/extractor')
const compile = require('../scripts/compile')
Expand Down
29 changes: 12 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,28 +30,23 @@
"dependencies": {
"@babel/parser": "7.24.0",
"@babel/traverse": "7.24.0",
"commander": "5.0.0",
"gettext-parser": "4.0.4",
"commander": "12.0.0",
"gettext-parser": "7.0.1",
"htmlclean": "3.0.8",
"i18next-conv": "10.1.0",
"lodash": "4.17.21"
},
"devDependencies": {
"@whatever-company/eslint-config-elium": "^9.0.0",
"eslint": "7.18.0",
"eslint-config-prettier": "7.2.0",
"eslint-config-standard": "16.0.2",
"eslint-config-standard-react": "11.0.1",
"eslint-plugin-graphql": "4.0.0",
"eslint-plugin-import": "2.22.1",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-babel": "5.3.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-n": "16.6.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-react": "7.22.0",
"eslint-plugin-react-hooks": "4.2.0",
"eslint-plugin-standard": "5.0.0",
"graphql": "15.4.0",
"prettier": "2.2.1",
"standard-version": "9.1.0"
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-promise": "6.1.1",
"prettier": "3.2.5",
"standard-version": "9.5.0"
}
}
10 changes: 5 additions & 5 deletions scripts/extractor.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ class Extractor {
console.log('Writing translations...')
// TODO: We have to sort the keys first.
const now = new Date()
const creationDate = `${now.getUTCFullYear()}-${now
.getUTCMonth()
const creationDate = `${now.getUTCFullYear()}-${now.getUTCMonth().toString().padStart(2, '0')}-${now
.getUTCDate()
.toString()
.padStart(2, '0')}-${now.getUTCDate().toString().padStart(2, '0')} ${now
.getUTCHours()
.padStart(2, '0')} ${now.getUTCHours().toString().padStart(2, '0')}:${now
.getUTCMinutes()
.toString()
.padStart(2, '0')}:${now.getUTCMinutes().toString().padStart(2, '0')}Z`
.padStart(2, '0')}Z`
const data = po.compile({
charset: 'utf-8',
headers: {
Expand Down
Loading

0 comments on commit 981f88a

Please sign in to comment.