@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.
- package/.github/workflows/publish.yml +38 -0
- package/.gitleaks.toml +17 -0
- package/.gitleaksignore +0 -0
- package/.nvmrc +1 -0
- package/config/countries.json +1117 -0
- package/config/localization/app.ts +23 -0
- package/config/localization/de/app.json +1316 -0
- package/config/localization/de/tooltips.json +228 -0
- package/config/localization/en/app.json +1316 -0
- package/config/localization/en/tooltips.json +228 -0
- package/config/localization/es/app.json +1311 -0
- package/config/localization/es/tooltips.json +228 -0
- package/config/localization/fr/app.json +1311 -0
- package/config/localization/fr/tooltips.json +228 -0
- package/config/localization/ja/app.json +1311 -0
- package/config/localization/ja/tooltips.json +228 -0
- package/config/localization/ko/app.json +1316 -0
- package/config/localization/ko/tooltips.json +228 -0
- package/config/localization/languages.json +43 -0
- package/config/localization/pt/app.json +1311 -0
- package/config/localization/pt/tooltips.json +228 -0
- package/config/localization/ru/app.json +1316 -0
- package/config/localization/ru/tooltips.json +228 -0
- package/config/localization/tooltip.ts +23 -0
- package/config/localization/tr/app.json +1311 -0
- package/config/localization/tr/tooltips.json +228 -0
- package/config/localization/zh-CN/app.json +1124 -0
- package/config/localization/zh-CN/tooltips.json +228 -0
- package/config/localization_notifications/de/app.json +40 -0
- package/config/localization_notifications/en/app.json +40 -0
- package/config/localization_notifications/es/app.json +40 -0
- package/config/localization_notifications/fr/app.json +40 -0
- package/config/localization_notifications/index.ts +23 -0
- package/config/localization_notifications/ja/app.json +40 -0
- package/config/localization_notifications/ko/app.json +40 -0
- package/config/localization_notifications/pt/app.json +40 -0
- package/config/localization_notifications/ru/app.json +40 -0
- package/config/localization_notifications/tr/app.json +40 -0
- package/config/localization_notifications/zh-CN/app.json +40 -0
- package/config/localizations_native/de/app.json +451 -0
- package/config/localizations_native/en/app.json +451 -0
- package/config/localizations_native/es/app.json +451 -0
- package/config/localizations_native/fr/app.json +451 -0
- package/config/localizations_native/index.ts +23 -0
- package/config/localizations_native/ja/app.json +451 -0
- package/config/localizations_native/ko/app.json +451 -0
- package/config/localizations_native/pt/app.json +451 -0
- package/config/localizations_native/ru/app.json +451 -0
- package/config/localizations_native/tr/app.json +451 -0
- package/config/localizations_native/zh-CN/app.json +398 -0
- package/config/markets.json +700 -0
- package/config/prod/walletsV2.json +646 -0
- package/config/staging/walletsV2.json +646 -0
- package/config/version_ios.json +14 -0
- package/index.ts +25 -0
- package/package.json +22 -0
- package/readme.md +63 -0
- package/scripts/codegen_localization_app +0 -0
- package/scripts/codegen_localization_app.swift +59 -0
- package/scripts/codegen_localization_tooltips.swift +46 -0
- package/scripts/generated/app.ts +1356 -0
- package/scripts/generated/tooltips.ts +134 -0
- package/scripts/merge_jsons.sh +48 -0
- package/scripts/publish-if-not-exists.sh +21 -0
- package/v4/staging/markets.json +704 -0
- package/wallet_connect/dapps.json +4836 -0
- package/wallet_connect/index.ts +7 -0
- 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
|
+
]
|
package/.gitleaksignore
ADDED
|
File without changes
|
package/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
v18
|