@drone1/alt 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -27,11 +27,7 @@ Translates all strings in a reference `.js` file to all target languages using A
27
27
 
28
28
  ## Installation
29
29
  ```bash
30
- npm install -g github:drone1/alt
31
- ```
32
- or
33
- ```bash
34
- npm install -g https://github.com/drone1/alt.git
30
+ npm install -g @drone1/alt
35
31
  ```
36
32
  ## Setup
37
33
  Create a reference file for your reference data. For example, ``reference.js``:
@@ -237,11 +233,5 @@ If you prefer to write updates to disk in real-time (anytime any output data cha
237
233
  ### CI
238
234
  You may want to use `--tty` for more useful output.
239
235
 
240
- ## Next steps
241
- - Add Google provider.
242
- - Add support for reference files in JSON format
243
- - It'd be nice to rely on $LANG in POSIX, but I didn't find a clean and reliable conversion from POSIX to BCP47 when I did a cursory search, which includes edge cases
244
- - Bug: If a user modifies a reference value, then runs and cancels, then runs again, any language/key values which would have been affected by the change will no longer be modified. The tool needs to detect these types of changes at a higher level than it is currently so that key/values can be deleted for all languages and written to disk, so that they're effectively missing and will have to be re-translated. The state that a reference value changed would be lost across runs of the tool, however, but at least the result would be a fix, with this approach.
245
- - Tests :]
246
-
247
- Feel free to submit a PR.
236
+ ## Issues
237
+ Feel free to fix existing issues and submit a PR, or submit a new issue.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@drone1/alt",
4
- "version": "0.4.0",
4
+ "version": "0.4.2",
5
5
  "description": "An AI-powered localization tool",
6
6
  "main": "src/index.mjs",
7
7
  "bin": {