Skip to content

Commit

Permalink
chore: bump package version to v0.0.3-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
hougesen committed Nov 12, 2024
1 parent 4640fe1 commit 10fd509
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [Unreleased](https://github.com/i18nhero/cli/compare/v0.0.2...HEAD)

- chore: bump package version to v0.0.3-dev [`#82`](https://github.com/i18nhero/cli/pull/82)

#### [v0.0.2](https://github.com/i18nhero/cli/compare/v0.0.1...v0.0.2)

> 12 November 2024
- chore: prepare v0.0.2 release [`#81`](https://github.com/i18nhero/cli/pull/81)
- refactor: use new public api [`#80`](https://github.com/i18nhero/cli/pull/80)
- chore: bump package version to v0.0.2-dev [`#79`](https://github.com/i18nhero/cli/pull/79)
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["packages/i18nhero", "packages/i18nhero-codegen"]
resolver = "2"

[workspace.package]
version = "0.0.2"
version = "0.0.3-dev"
authors = ["Mads Hougesen <[email protected]>"]
edition = "2021"
license = "MIT"
Expand Down Expand Up @@ -38,7 +38,7 @@ dirs = { version = "5.0.1" }
git2 = { version = "0.19.0", default-features = false, features = [
"vendored-libgit2",
] }
i18nhero = { path = "packages/i18nhero", version = "0.0.2" }
i18nhero = { path = "packages/i18nhero", version = "0.0.3-dev" }
json_comments = "0.2.2"
regex = "1.11.1"
reqwest = { version = "0.12.9", default-features = false, features = [
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This tool allows you to manage your [i18nhero](https://i18nhero.com) locale file
<!-- START_SECTION:base-command-help -->

```
i18nhero 0.0.2
i18nhero 0.0.3-dev
CLI tool for interacting with locales hosted on i18nhero.com
Usage: i18nhero <COMMAND>
Expand Down
59 changes: 59 additions & 0 deletions schemas/v0.0.3-dev/i18nhero.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "CliConfig",
"type": "object",
"required": ["output", "project_id"],
"properties": {
"$schema": {
"default": "https://raw.githubusercontent.com/i18nhero/cli/main/schemas/v0.0.3-dev/i18nhero.schema.json",
"type": "string"
},
"output": {
"description": "Configuration for downloading and uploading locale files.",
"allOf": [
{
"$ref": "#/definitions/CliConfigOutput"
}
]
},
"project_id": {
"description": "Used to define the linked project.",
"type": "string"
}
},
"definitions": {
"CliConfigOutput": {
"type": "object",
"properties": {
"flat": {
"description": "Defines whether the locale files should be a flat `string <-> string` map or a multi layered map.\n\nA point (`.`) in the identifier name is used to define multi-layered keys when `flat` is set to false.\n\nThe identifier `pages.dashboard.title` will be expanded to the following:\n\n```json { \"pages\": { \"dashboard\": { \"title\": \"\" } } } ```",
"default": false,
"type": ["boolean", "null"]
},
"format": {
"description": "Defines the file format used when uploading and downloading locale files.",
"default": "json",
"allOf": [
{
"$ref": "#/definitions/CliConfigOutputFormat"
}
]
},
"keep_empty_fields": {
"description": "Defines whether identifiers that are missing translations should be downloaded.",
"default": false,
"type": ["boolean", "null"]
},
"path": {
"description": "Defines where locale files should be downloaded to, and uploaded from.",
"default": "lang",
"type": "string"
}
}
},
"CliConfigOutputFormat": {
"type": "string",
"enum": ["json", "yaml"]
}
}
}

0 comments on commit 10fd509

Please sign in to comment.