Skip to content

Commit db39a06

Browse files
committed
Update the schema usage instructions.
I believe package resolution for `"$schema"` is *supposed* to work in VS Code, but it definitely doesn't. So it has to be a relative path.
1 parent 2997eaa commit db39a06

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ Options:
4242
Requires `rsync` to be installed. Reads target URLs from a field in `package.json` in the current folder:
4343
4444
{
45+
"$schema": "./node_modules/@cubing/deploy/config-schema.package.json",
4546
"@cubing/deploy": {
4647
"https://experiments.cubing.net/test/deploy": {}
47-
},
48+
}
4849
}
4950
5051
This example will be deployed from the following folder:

src/lib/args.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ Options:
1717
Requires \`rsync\` to be installed. Reads target URLs from a field in \`package.json\` in the current folder:
1818
1919
{
20+
"$schema": "./node_modules/@cubing/deploy/config-schema.package.json",
2021
"@cubing/deploy": {
2122
"https://experiments.cubing.net/test/deploy": {}
22-
},
23+
}
2324
}
2425
2526
This example will be deployed from the following folder:

0 commit comments

Comments
 (0)