Skip to content

Commit

Permalink
fix: running with Node.js 22
Browse files Browse the repository at this point in the history
  • Loading branch information
mohd-akram authored and dziraf committed Jun 26, 2024
1 parent e27e885 commit f1e0bf1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
5 changes: 4 additions & 1 deletion .babelrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@
"src/frontend/assets/scripts/app-bundle.production.js",
"src/frontend/assets/scripts/global-bundle.development.js",
"src/frontend/assets/scripts/global-bundle.production.js"
]
],
"generatorOpts": {
"importAttributesKeyword": "with"
}
}
8 changes: 4 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Setup
uses: actions/setup-node@v3
with:
node-version: '18.17'
node-version: '18'
cache: 'yarn'
- name: Install
run: yarn install --frozen-lockfile
Expand All @@ -26,7 +26,7 @@ jobs:
- name: Setup
uses: actions/setup-node@v3
with:
node-version: '18.17'
node-version: '18'
cache: 'yarn'
- name: Install
run: yarn install
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
- name: Setup
uses: actions/setup-node@v3
with:
node-version: '18.17'
node-version: '18'
cache: 'yarn'
- name: Install
run: yarn install
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
- name: Setup
uses: actions/setup-node@v3
with:
node-version: '18.17'
node-version: '18'
cache: 'yarn'
- name: Install
run: yarn install
Expand Down
18 changes: 9 additions & 9 deletions src/locale/index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import type { LocaleTranslations } from './config.js'

import deLocale from './de/translation.json' assert { type: 'json' }
import enLocale from './en/translation.json' assert { type: 'json' }
import esLocale from './es/translation.json' assert { type: 'json' }
import itLocale from './it/translation.json' assert { type: 'json' }
import jaLocale from './ja/translation.json' assert { type: 'json' }
import plLocale from './pl/translation.json' assert { type: 'json' }
import ptBrLocale from './pt-BR/translation.json' assert { type: 'json' }
import uaLocale from './ua/translation.json' assert { type: 'json' }
import zhCNLocale from './zh-CN/translation.json' assert { type: 'json' }
import deLocale from './de/translation.json' with { type: 'json' }
import enLocale from './en/translation.json' with { type: 'json' }
import esLocale from './es/translation.json' with { type: 'json' }
import itLocale from './it/translation.json' with { type: 'json' }
import jaLocale from './ja/translation.json' with { type: 'json' }
import plLocale from './pl/translation.json' with { type: 'json' }
import ptBrLocale from './pt-BR/translation.json' with { type: 'json' }
import uaLocale from './ua/translation.json' with { type: 'json' }
import zhCNLocale from './zh-CN/translation.json' with { type: 'json' }

export * from './config.js'
export * from './default-config.js'
Expand Down

0 comments on commit f1e0bf1

Please sign in to comment.