From f93f51b8d12b5922d8c22bdf2b532b943c7bd01b Mon Sep 17 00:00:00 2001 From: Adriano Raiano Date: Mon, 8 Jan 2024 11:25:35 +0100 Subject: [PATCH] hint for yaml --- README.md | 18 ++++++++++++++++++ package.json | 30 +++++++++++++++--------------- 2 files changed, 33 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index fef1c25..cbc3a7b 100644 --- a/README.md +++ b/README.md @@ -163,12 +163,30 @@ i18next-resources-for-ts merge -i /Users/user/my/input -o /Users/user/my/output. ```sh └── namespace.json ``` +or +```sh +└── namespace.yml +``` +or +```sh +└── namespace.yaml +``` i.e. ```sh ├── translation.json └── common.json ``` +or +```sh +├── translation.yml +└── common.yml +``` +or +```sh +├── translation.yaml +└── common.yaml +``` ### Check these examples to see how to use it: diff --git a/package.json b/package.json index 3043593..0c6227c 100644 --- a/package.json +++ b/package.json @@ -59,36 +59,36 @@ }, "license": "MIT", "dependencies": { - "@babel/runtime": "^7.23.2", + "@babel/runtime": "^7.23.7", "yaml": "^2.3.4" }, "devDependencies": { - "@babel/core": "^7.23.3", - "@babel/plugin-transform-runtime": "^7.23.3", - "@babel/preset-env": "^7.23.3", + "@babel/core": "^7.23.7", + "@babel/plugin-transform-runtime": "^7.23.7", + "@babel/preset-env": "^7.23.7", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-terser": "0.4.4", - "@types/mocha": "^10.0.4", - "@typescript-eslint/eslint-plugin": "^6.10.0", - "@typescript-eslint/parser": "^6.10.0", + "@types/mocha": "^10.0.6", + "@typescript-eslint/eslint-plugin": "^6.18.0", + "@typescript-eslint/parser": "^6.18.0", "babel-plugin-add-module-exports": "^1.0.4", - "eslint": "^8.53.0", + "eslint": "^8.56.0", "eslint-config-standard": "^17.1.0", - "eslint-plugin-import": "^2.29.0", - "eslint-plugin-n": "^16.3.1", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-n": "^16.6.1", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-require-path-exists": "^1.1.9", "eslint-plugin-standard": "^5.0.0", - "i18next": "^23.7.1", - "i18next-chained-backend": "^4.6.0", + "i18next": "^23.7.16", + "i18next-chained-backend": "^4.6.2", "mocha": "^10.2.0", - "rollup": "^4.3.0", + "rollup": "^4.9.4", "should": "^13.2.3", "sinon": "^17.0.1", - "tsd": "^0.29.0", - "typescript": "^5.2.2" + "tsd": "^0.30.3", + "typescript": "^5.3.3" }, "tsd": { "directory": "test/types"