@dydxprotocol/v4-localization 0.0.6

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 (68) hide show
  1. package/.github/workflows/publish.yml +38 -0
  2. package/.gitleaks.toml +17 -0
  3. package/.gitleaksignore +0 -0
  4. package/.nvmrc +1 -0
  5. package/config/countries.json +1117 -0
  6. package/config/localization/app.ts +23 -0
  7. package/config/localization/de/app.json +1316 -0
  8. package/config/localization/de/tooltips.json +228 -0
  9. package/config/localization/en/app.json +1316 -0
  10. package/config/localization/en/tooltips.json +228 -0
  11. package/config/localization/es/app.json +1311 -0
  12. package/config/localization/es/tooltips.json +228 -0
  13. package/config/localization/fr/app.json +1311 -0
  14. package/config/localization/fr/tooltips.json +228 -0
  15. package/config/localization/ja/app.json +1311 -0
  16. package/config/localization/ja/tooltips.json +228 -0
  17. package/config/localization/ko/app.json +1316 -0
  18. package/config/localization/ko/tooltips.json +228 -0
  19. package/config/localization/languages.json +43 -0
  20. package/config/localization/pt/app.json +1311 -0
  21. package/config/localization/pt/tooltips.json +228 -0
  22. package/config/localization/ru/app.json +1316 -0
  23. package/config/localization/ru/tooltips.json +228 -0
  24. package/config/localization/tooltip.ts +23 -0
  25. package/config/localization/tr/app.json +1311 -0
  26. package/config/localization/tr/tooltips.json +228 -0
  27. package/config/localization/zh-CN/app.json +1124 -0
  28. package/config/localization/zh-CN/tooltips.json +228 -0
  29. package/config/localization_notifications/de/app.json +40 -0
  30. package/config/localization_notifications/en/app.json +40 -0
  31. package/config/localization_notifications/es/app.json +40 -0
  32. package/config/localization_notifications/fr/app.json +40 -0
  33. package/config/localization_notifications/index.ts +23 -0
  34. package/config/localization_notifications/ja/app.json +40 -0
  35. package/config/localization_notifications/ko/app.json +40 -0
  36. package/config/localization_notifications/pt/app.json +40 -0
  37. package/config/localization_notifications/ru/app.json +40 -0
  38. package/config/localization_notifications/tr/app.json +40 -0
  39. package/config/localization_notifications/zh-CN/app.json +40 -0
  40. package/config/localizations_native/de/app.json +451 -0
  41. package/config/localizations_native/en/app.json +451 -0
  42. package/config/localizations_native/es/app.json +451 -0
  43. package/config/localizations_native/fr/app.json +451 -0
  44. package/config/localizations_native/index.ts +23 -0
  45. package/config/localizations_native/ja/app.json +451 -0
  46. package/config/localizations_native/ko/app.json +451 -0
  47. package/config/localizations_native/pt/app.json +451 -0
  48. package/config/localizations_native/ru/app.json +451 -0
  49. package/config/localizations_native/tr/app.json +451 -0
  50. package/config/localizations_native/zh-CN/app.json +398 -0
  51. package/config/markets.json +700 -0
  52. package/config/prod/walletsV2.json +646 -0
  53. package/config/staging/walletsV2.json +646 -0
  54. package/config/version_ios.json +14 -0
  55. package/index.ts +25 -0
  56. package/package.json +22 -0
  57. package/readme.md +63 -0
  58. package/scripts/codegen_localization_app +0 -0
  59. package/scripts/codegen_localization_app.swift +59 -0
  60. package/scripts/codegen_localization_tooltips.swift +46 -0
  61. package/scripts/generated/app.ts +1356 -0
  62. package/scripts/generated/tooltips.ts +134 -0
  63. package/scripts/merge_jsons.sh +48 -0
  64. package/scripts/publish-if-not-exists.sh +21 -0
  65. package/v4/staging/markets.json +704 -0
  66. package/wallet_connect/dapps.json +4836 -0
  67. package/wallet_connect/index.ts +7 -0
  68. package/wallet_connect/wallets.json +4033 -0
@@ -0,0 +1,38 @@
1
+ name: Publish Image to NPM
2
+ on: # yamllint disable-line rule:truthy
3
+ push:
4
+ branches:
5
+ - main
6
+
7
+ # Ensure only a single instance of this workflow is running.
8
+ concurrency:
9
+ group: ${{ github.workflow }}-${{ github.ref }}
10
+ cancel-in-progress: true
11
+
12
+ jobs:
13
+ build-and-publish:
14
+ runs-on: ubuntu-latest
15
+ permissions:
16
+ contents: write
17
+ steps:
18
+ - name: Checkout
19
+ uses: actions/checkout@v3
20
+ with:
21
+ fetch-depth: 0 # fetch all history for all tags and branches
22
+
23
+ - name: Npm
24
+ uses: actions/setup-node@v3
25
+ with:
26
+ node-version: 16
27
+ registry-url: https://registry.npmjs.org
28
+ cache: "npm"
29
+
30
+ - name: Install
31
+ run: npm ci
32
+ env:
33
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_READ }}
34
+
35
+ - name: Publish
36
+ run: ./scripts/publish-if-not-exists.sh
37
+ env:
38
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_WRITE }}
package/.gitleaks.toml ADDED
@@ -0,0 +1,17 @@
1
+ # Title for the gitleaks configuration file.
2
+ title = "Gitleaks title"
3
+
4
+ [extend]
5
+ # useDefault will extend the base configuration with the default gitleaks config:
6
+ # https://github.com/zricethezav/gitleaks/blob/master/config/gitleaks.toml
7
+ useDefault = true
8
+
9
+ [allowlist]
10
+ paths = [
11
+ '''gitleaks\.toml''',
12
+ ]
13
+
14
+ regexTarget = "line"
15
+ regexes = [
16
+ '''clientId''',
17
+ ]
File without changes
package/.nvmrc ADDED
@@ -0,0 +1 @@
1
+ v18