question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Vue i18n Extract in Typescript and new Repo

See original GitHub issue

Hi Pixari!

As I’m sure you know I’ve been keenly interested in this project and have been working on it for the past few days. I wanted to inform you that I have modified the tool for my purposes past the point of making a pull request.

https://github.com/Spittal/vue-i18n-extract

Some changes I’ve made include:

  1. It’s all Typescript now 🎉
  2. For making publishing easier and to aid with Typescript I’ve added in PikaPkg
  3. I’ve modified the CLI interface to allow for multiple commands, and added a help command.
  4. I’ve rewritten the way files are read and parsed to make them more consistent with one another. For example the function that reads the Vue files and the Language files will both spit out a normalized data format.
  5. Using the new normalized data format, I’ve rewritten the diffing function. It is now 5 lines of code and no longer needs deep-diff
  6. Re-organized the whole folder structure for easier maintenance and extension in the future.
  7. Many other things!

This is obviously an enormous change to your project which is why I have put it into it’s own repo. But, I’d love to see if maybe you’re interested in combining our efforts into one repo. Or, if you think my new repo is too different I’d be happy to maintain it on my own.

Let me know what you think! Spittal

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Spittalcommented, Mar 6, 2019

I’d be very interested in that!

0reactions
Spittalcommented, Mar 6, 2019

Okay great, I’ll push it as a branch at first, I will make sure the README is correct and that the tests are back in full worker order. We can review from there.

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

vue-i18n-extract - npm
vue -i18n-extract. TypeScript icon, indicating that this package has built-in type declarations. 2.0.7 • Public • Published 7 months ago.
Read more >
Spittal/vue-i18n-extract - GitHub
vue -i18n-extract is built to work with your Vue.js projects using the library vue-i18n. It runs static analysis on your Vue.js source code...
Read more >
vue-i18n-extract | Yarn - Package Manager
vue -i18n-extract is built to work with your Vue.js projects using the library vue-i18n. It runs static analysis on your Vue.js source code...
Read more >
Manage vue-i18n localization with static analysis
vue -i18n-extract is built to work with your Vue. js projects using vue-i18n. When run vue-18n-extract analyses your Vue.
Read more >
The Ultimate Vue Localization Guide | Phrase
We added router support and opted out of TypeScript when the project was being ... Let's construct the Vue I18n instance in a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found