Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Avoid error using only local translation files #367

Merged
merged 6 commits into from
Nov 4, 2021
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ src/locales/*.json
.nuxt-storybook
storybook-static
.vercel
/src/locales/scripts/valid-locales.json
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
"author": "sebworks",
"private": true,
"scripts": {
"dev": "cross-env ENABLE_AUDIO=true nuxt",
"dev": "npm run i18n:get-translations && cross-env ENABLE_AUDIO=true nuxt",
"build": "npm run i18n:get-translations && nuxt build",
"generate": "nuxt generate",
"start": "nuxt start",
"storybook": "nuxt storybook",
"test": "jest",
"test:watch": "jest --collectCoverage=false --watch",
"test:unit": "jest --collectCoverage=false",
"test:unit": "npm run i18n:get-translations && jest --collectCoverage=false",
krysal marked this conversation as resolved.
Show resolved Hide resolved
"test:e2e": "cypress open",
"test:e2e:ci": "cypress run",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
Expand Down
213 changes: 0 additions & 213 deletions src/locales/scripts/valid-locales.json

This file was deleted.