@isardsat/editorial-cli 6.14.0 → 6.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,7 +24,20 @@ export const initCommand = new Command()
24
24
  await writeFile(path.join("editorial", "config.json"), configData);
25
25
  console.log("Created config.json");
26
26
  // Create schema.yaml with a dummy schema
27
- const schemaData = `# Editorial Schema
27
+ const schemaData = `
28
+ # ----------------------------------- Editorial Meta Schema YAML File ------------------------------------
29
+ # If you are using an editor that supports JSON Schema, you can use the following URL
30
+ # to get validation and autocompletion based on the Editorial meta-schema.
31
+ # For example, VSCode with redhat.vscode-yaml extension should work out of the box.
32
+ # Make sure to replace "localhost:3001" with the actual address of your Editorial if it's different.
33
+ # allowedExtraFields parameter can be used to allow additional fields in the schema that are not defined in the meta-schema.
34
+ # Don't uncomment the yaml-language-server line below, it is required for the editor to recognize the schema.
35
+ #----------------------------------------------------------------------------------------------------------
36
+
37
+ # yaml-language-server: $schema=http://localhost:3001/api/v1/meta-schema
38
+
39
+
40
+ # Editorial Schema
28
41
  dummy:
29
42
  displayName: Dummy Object
30
43
  fields:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isardsat/editorial-cli",
3
- "version": "6.14.0",
3
+ "version": "6.15.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,7 +14,7 @@
14
14
  "@commander-js/extra-typings": "^13.0.0",
15
15
  "@hono/node-server": "^1.13.8",
16
16
  "commander": "^13.1.0",
17
- "@isardsat/editorial-server": "^6.14.0"
17
+ "@isardsat/editorial-server": "^6.15.0"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@tsconfig/node22": "^22.0.0",