revert(schema): move config-schema back into .github folder (#3886)
This reverts PR #3878 / commit 094f982df1
.
This commit is contained in:
parent
6a187dcbd7
commit
9b2ce4240c
|
@ -1,3 +1,3 @@
|
||||||
/src/init/* text eol=lf
|
/src/init/* text eol=lf
|
||||||
*.sh text eol=lf
|
*.sh text eol=lf
|
||||||
/docs/.vuepress/public/config-schema.json text eol=lf
|
/.github/config-schema.json text eol=lf
|
File diff suppressed because it is too large
Load Diff
|
@ -149,10 +149,10 @@ jobs:
|
||||||
override: true
|
override: true
|
||||||
|
|
||||||
- name: Run | Generate Schema
|
- name: Run | Generate Schema
|
||||||
run: cargo run --locked --features config-schema -- config-schema > docs/.vuepress/public/config-schema.json
|
run: cargo run --locked --features config-schema -- config-schema > .github/config-schema.json
|
||||||
|
|
||||||
- name: Check | Detect Changes
|
- name: Check | Detect Changes
|
||||||
run: git diff --exit-code docs/.vuepress/public/config-schema.json
|
run: git diff --exit-code .github/config-schema.json
|
||||||
|
|
||||||
# Run tests on Linux, macOS, and Windows
|
# Run tests on Linux, macOS, and Windows
|
||||||
# On both Rust stable and Rust nightly
|
# On both Rust stable and Rust nightly
|
||||||
|
|
|
@ -154,7 +154,7 @@ dprint fmt
|
||||||
|
|
||||||
Editor plugins/functionality may help you run these automatically so that you don't accidentally create a PR that fails.
|
Editor plugins/functionality may help you run these automatically so that you don't accidentally create a PR that fails.
|
||||||
|
|
||||||
If your changes cause changes to the configuration, you will need to update the configuration schema in `docs/.vuepress/public/config-schema.json` with `cargo run --features config-schema -- config-schema > docs/.vuepress/public/config-schema.json`.
|
If your changes cause changes to the configuration, you will need to update the configuration schema in `.github/config-schema.json` with `cargo run --features config-schema -- config-schema > .github/config-schema.json`.
|
||||||
|
|
||||||
## Testing
|
## Testing
|
||||||
|
|
||||||
|
@ -293,7 +293,7 @@ everyone remember what they are. Don't worry: most of them are quite simple!
|
||||||
- [ ] Add the variable to the appropriate location in the "Default Prompt
|
- [ ] Add the variable to the appropriate location in the "Default Prompt
|
||||||
Format" section of the documentation
|
Format" section of the documentation
|
||||||
- [ ] Add an appropriate choice of options to each preset in `docs/presets/README.md`
|
- [ ] Add an appropriate choice of options to each preset in `docs/presets/README.md`
|
||||||
- [ ] Update the config file schema by running `cargo run --features config-schema -- config-schema > docs/.vuepress/public/config-schema.json`
|
- [ ] Update the config file schema by running `cargo run --features config-schema -- config-schema > .github/config-schema.json`
|
||||||
- [ ] Create configs structs/traits in `src/configs/<module>.rs` and add the
|
- [ ] Create configs structs/traits in `src/configs/<module>.rs` and add the
|
||||||
following:
|
following:
|
||||||
- [ ] An entry in `PROMPT_ORDER` (`src/configs/starship_root.rs`)
|
- [ ] An entry in `PROMPT_ORDER` (`src/configs/starship_root.rs`)
|
||||||
|
|
|
@ -16,7 +16,7 @@ include = [
|
||||||
"LICENSE",
|
"LICENSE",
|
||||||
"/README.md",
|
"/README.md",
|
||||||
"docs/.vuepress/public/presets/toml/",
|
"docs/.vuepress/public/presets/toml/",
|
||||||
"docs/.vuepress/public/config-schema.json",
|
".github/config-schema.json",
|
||||||
]
|
]
|
||||||
keywords = ["prompt", "shell", "bash", "fish", "zsh"]
|
keywords = ["prompt", "shell", "bash", "fish", "zsh"]
|
||||||
license = "ISC"
|
license = "ISC"
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1 @@
|
||||||
|
../../../.github/config-schema.json
|
Loading…
Reference in New Issue