Skip to content

Commit 0aef331

Browse files
committed
chore - build-js -> dev-call build-artifacts
1 parent 75fbfd0 commit 0aef331

File tree

9 files changed

+33
-34
lines changed

9 files changed

+33
-34
lines changed

src/core/lib/yaml-schema/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ export function objectSchema(params: {
281281
);
282282
console.error("This is a bug in quarto's schemas.");
283283
console.error(
284-
"Note that we don't throw in order to allow build-js to finish, but the generated schemas will be invalid.",
284+
"Note that we don't throw in order to allow build-artifacts to finish, but the generated schemas will be invalid.",
285285
);
286286
}
287287

src/core/lib/yaml-schema/definitions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function defineCached(
3232
let schema: ConcreteSchema;
3333

3434
return async () => {
35-
// when running on the CLI outside of quarto build-js, these
35+
// when running on the CLI outside of quarto dev-call build-artifacts, these
3636
// definitions will already exist.
3737
if (hasSchemaDefinition(schemaId)) {
3838
schema = getSchemaDefinition(schemaId);

src/core/lib/yaml-validation/state.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export async function initState() {
4343
// many entry points. In addition, the CLI itself can have a number
4444
// of different initializers depending on the command being called:
4545
//
46-
// - quarto build-js uses an initializer that skips precompiled modules
46+
// - quarto dev-call build-artifacts uses an initializer that skips precompiled modules
4747
//
4848
// - Some of the test suite uses an initializer with precompiled
4949
// modules and includes tree-sitter (so the behavior is as close to

src/core/schema/yaml-schema.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
/*
2-
* yaml-schema.ts
3-
*
4-
* Copyright (C) 2022 Posit Software, PBC
5-
*
6-
*/
2+
* yaml-schema.ts
3+
*
4+
* Copyright (C) 2022 Posit Software, PBC
5+
*/
76

8-
// FIXME needs refactoring. This is mostly only used at build-js time,
7+
// FIXME needs refactoring. This is mostly only used at build-artifacts time,
98
// except for "parseAndValidate".
109

1110
import { YAMLSchema } from "../lib/yaml-validation/yaml-schema.ts";

src/resources/editor/tools/vs-code.mjs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22458,6 +22458,8 @@ var require_yaml_intelligence_resources = __commonJS({
2245822458
"Names of customizeable logos",
2245922459
"Path or brand.yml logo resource name.",
2246022460
"Alternative text for the logo, used for accessibility.",
22461+
"Path or brand.yml logo resource name.",
22462+
"Alternative text for the logo, used for accessibility.",
2246122463
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
2246222464
"Specification of a light logo",
2246322465
"Specification of a dark logo",
@@ -24292,6 +24294,7 @@ var require_yaml_intelligence_resources = __commonJS({
2429224294
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto\u2019s default order\nis \u2018knitr\u2019, \u2018jupyter\u2019, \u2018markdown\u2019, \u2018julia\u2019.",
2429324295
"When defined, run axe-core accessibility tests on the document.",
2429424296
"If set, output axe-core results on console. <code>json</code>:\nproduce structured output; <code>console</code>: print output to\njavascript console; <code>document</code>: produce a visual report of\nviolations in the document itself.",
24297+
"The logo image.",
2429524298
"Project configuration.",
2429624299
"Project type (<code>default</code>, <code>website</code>,\n<code>book</code>, or <code>manuscript</code>)",
2429724300
"Files to render (defaults to all files)",
@@ -24637,10 +24640,7 @@ var require_yaml_intelligence_resources = __commonJS({
2463724640
"Disambiguating year suffix in author-date styles (e.g.&nbsp;\u201Ca\u201D in \u201CDoe,\n1999a\u201D).",
2463824641
"Manuscript configuration",
2463924642
"internal-schema-hack",
24640-
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto\u2019s default order\nis \u2018knitr\u2019, \u2018jupyter\u2019, \u2018markdown\u2019, \u2018julia\u2019.",
24641-
"Path or brand.yml logo resource name.",
24642-
"Alternative text for the logo, used for accessibility.",
24643-
"The logo image."
24643+
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto\u2019s default order\nis \u2018knitr\u2019, \u2018jupyter\u2019, \u2018markdown\u2019, \u2018julia\u2019."
2464424644
],
2464524645
"schema/external-schemas.yml": [
2464624646
{
@@ -24869,12 +24869,12 @@ var require_yaml_intelligence_resources = __commonJS({
2486924869
mermaid: "%%"
2487024870
},
2487124871
"handlers/mermaid/schema.yml": {
24872-
_internalId: 197511,
24872+
_internalId: 197461,
2487324873
type: "object",
2487424874
description: "be an object",
2487524875
properties: {
2487624876
"mermaid-format": {
24877-
_internalId: 197503,
24877+
_internalId: 197453,
2487824878
type: "enum",
2487924879
enum: [
2488024880
"png",
@@ -24890,7 +24890,7 @@ var require_yaml_intelligence_resources = __commonJS({
2489024890
exhaustiveCompletions: true
2489124891
},
2489224892
theme: {
24893-
_internalId: 197510,
24893+
_internalId: 197460,
2489424894
type: "anyOf",
2489524895
anyOf: [
2489624896
{
@@ -32819,7 +32819,7 @@ function objectSchema(params = {}) {
3281932819
);
3282032820
console.error("This is a bug in quarto's schemas.");
3282132821
console.error(
32822-
"Note that we don't throw in order to allow build-js to finish, but the generated schemas will be invalid."
32822+
"Note that we don't throw in order to allow build-artifacts to finish, but the generated schemas will be invalid."
3282332823
);
3282432824
}
3282532825
result.properties = Object.assign(

src/resources/editor/tools/yaml/all-schema-definitions.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/resources/editor/tools/yaml/automation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Entry point for YAML automation in the IDE.
55
*
6-
* In build-js, this gets concatenated with the iife bundle of
6+
* In build-artifacts, this gets concatenated with the iife bundle of
77
* tree-sitter to make yaml.js.
88
*
99
* Copyright (C) 2021-2022 Posit Software, PBC

src/resources/editor/tools/yaml/web-worker.js

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/resources/editor/tools/yaml/yaml-intelligence-resources.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15430,6 +15430,8 @@
1543015430
"Names of customizeable logos",
1543115431
"Path or brand.yml logo resource name.",
1543215432
"Alternative text for the logo, used for accessibility.",
15433+
"Path or brand.yml logo resource name.",
15434+
"Alternative text for the logo, used for accessibility.",
1543315435
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
1543415436
"Specification of a light logo",
1543515437
"Specification of a dark logo",
@@ -17264,6 +17266,7 @@
1726417266
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto’s default order\nis ‘knitr’, ‘jupyter’, ‘markdown’, ‘julia’.",
1726517267
"When defined, run axe-core accessibility tests on the document.",
1726617268
"If set, output axe-core results on console. <code>json</code>:\nproduce structured output; <code>console</code>: print output to\njavascript console; <code>document</code>: produce a visual report of\nviolations in the document itself.",
17269+
"The logo image.",
1726717270
"Project configuration.",
1726817271
"Project type (<code>default</code>, <code>website</code>,\n<code>book</code>, or <code>manuscript</code>)",
1726917272
"Files to render (defaults to all files)",
@@ -17609,10 +17612,7 @@
1760917612
"Disambiguating year suffix in author-date styles (e.g.&nbsp;“a” in “Doe,\n1999a”).",
1761017613
"Manuscript configuration",
1761117614
"internal-schema-hack",
17612-
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto’s default order\nis ‘knitr’, ‘jupyter’, ‘markdown’, ‘julia’.",
17613-
"Path or brand.yml logo resource name.",
17614-
"Alternative text for the logo, used for accessibility.",
17615-
"The logo image."
17615+
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto’s default order\nis ‘knitr’, ‘jupyter’, ‘markdown’, ‘julia’."
1761617616
],
1761717617
"schema/external-schemas.yml": [
1761817618
{
@@ -17841,12 +17841,12 @@
1784117841
"mermaid": "%%"
1784217842
},
1784317843
"handlers/mermaid/schema.yml": {
17844-
"_internalId": 197511,
17844+
"_internalId": 197461,
1784517845
"type": "object",
1784617846
"description": "be an object",
1784717847
"properties": {
1784817848
"mermaid-format": {
17849-
"_internalId": 197503,
17849+
"_internalId": 197453,
1785017850
"type": "enum",
1785117851
"enum": [
1785217852
"png",
@@ -17862,7 +17862,7 @@
1786217862
"exhaustiveCompletions": true
1786317863
},
1786417864
"theme": {
17865-
"_internalId": 197510,
17865+
"_internalId": 197460,
1786617866
"type": "anyOf",
1786717867
"anyOf": [
1786817868
{

0 commit comments

Comments
 (0)