-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump package version to v0.0.3-dev (#82)
- Loading branch information
Showing
5 changed files
with
68 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
@@ -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 = [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] | ||
} | ||
} | ||
} |