Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feature/validate#14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ShMcK merged 4 commits intomasterfromfeature/validate
May 31, 2020
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
NextNext commit
schema fixes
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
  • Loading branch information
@ShMcK
ShMcK committedMay 31, 2020
commit60d880775e371e8ec98f5803b08bd7ba8d5b5b4a
60 changes: 30 additions & 30 deletionssrc/utils/schema/index.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -69,7 +69,6 @@ export default {
examples: ["coderoad"],
},
setup: {
type: "object",
$ref: "#/definitions/setup_action",
description:
"Setup commits or commands used for setting up the test runner on tutorial launch",
Expand DownExpand Up@@ -97,40 +96,41 @@ export default {
additionalProperties: false,
required: ["uri", "branch"],
},
},
dependencies: {
type: "array",
description: "A list of tutorial dependencies",
items: {

dependencies: {
type: "array",
description: "A list of tutorial dependencies",
items: {
type: "object",
properties: {
name: {
type: "string",
description:
"The command line process name of the dependency. It will be checked by running `name --version`",
examples: ["node", "python"],
},
version: {
type: "string",
description:
"The version requirement. See https://github.com/npm/node-semver for options",
examples: [">=10"],
},
},
required: ["name", "version"],
},
},
appVersions: {
type: "object",
description:
"A list of compatable coderoad versions. Currently only a VSCode extension.",
properties: {
name: {
type: "string",
description:
"The command line process name of the dependency. It will be checked by running `name --version`",
examples: ["node", "python"],
},
version: {
vscode: {
type: "string",
description:
"The versionrequirement. See https://github.com/npm/node-semver for options",
examples: [">=10"],
"The versionrange for coderoad-vscode that this tutorial is compatable with",
examples: [">=0.7.0"],
},
},
required: ["name", "version"],
},
},
appVersions: {
type: "object",
description:
"A list of compatable coderoad versions. Currently only a VSCode extension.",
properties: {
vscode: {
type: "string",
description:
"The version range for coderoad-vscode that this tutorial is compatable with",
examples: [">=0.7.0"],
},
},
},
additionalProperties: false,
Expand DownExpand Up@@ -202,7 +202,7 @@ export default {
},
},
},
required: ["title", "description", "content"],
required: ["title", "summary", "content"],
},
minItems: 1,
},
Expand Down
4 changes: 2 additions & 2 deletionssrc/utils/schema/meta.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,12 +77,12 @@ export default {
},
watchers: {
type: "array",
description:
"An array file paths that, when updated, will trigger the test runner to run",
items: {
$ref: "#/definitions/file_path",
uniqueItems: true,
},
description:
"An array file paths that, when updated, will trigger the test runner to run",
},
filter: {
type: "string",
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp