@veryfront/ext-content-mdx 0.1.1228 → 0.1.1229

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.
package/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "veryfront",
3
- "version": "0.1.1228",
3
+ "version": "0.1.1229",
4
4
  "license": "Apache-2.0",
5
5
  "nodeModulesDir": "auto",
6
6
  "minimumDependencyAge": {
@@ -14,6 +14,12 @@ export declare const WEBHOOK_CONFIG_INVALID: import("../types.js").RegisteredErr
14
14
  export declare const SCHEDULE_CONFIG_INVALID: import("../types.js").RegisteredError;
15
15
  /** Trigger ID format and input serialization validation failures */
16
16
  export declare const TRIGGER_CONFIG_INVALID: import("../types.js").RegisteredError;
17
+ /**
18
+ * `veryfront init --template <name>` (and `npm create veryfront -- --template`)
19
+ * was given a name that is not in the starter catalog. The detail carries the
20
+ * list of valid names so a wrong guess is self-correcting.
21
+ */
22
+ export declare const TEMPLATE_NOT_FOUND: import("../types.js").RegisteredError;
17
23
  /** Registry fragment for CONFIG errors (slug → definition). */
18
24
  export declare const CONFIG_REGISTRY: {
19
25
  readonly "config-not-found": import("../types.js").RegisteredError;
@@ -27,5 +33,6 @@ export declare const CONFIG_REGISTRY: {
27
33
  readonly "webhook-config-invalid": import("../types.js").RegisteredError;
28
34
  readonly "schedule-config-invalid": import("../types.js").RegisteredError;
29
35
  readonly "trigger-config-invalid": import("../types.js").RegisteredError;
36
+ readonly "template-not-found": import("../types.js").RegisteredError;
30
37
  };
31
38
  //# sourceMappingURL=config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/src/errors/error-registry/config.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,uCAO3B,CAAC;AAEH,eAAO,MAAM,cAAc,uCAMzB,CAAC;AAEH,eAAO,MAAM,kBAAkB,uCAM7B,CAAC;AAEH,2EAA2E;AAC3E,eAAO,MAAM,uBAAuB,uCAMlC,CAAC;AAEH,eAAO,MAAM,iBAAiB,uCAM5B,CAAC;AAEH,eAAO,MAAM,kBAAkB,uCAM7B,CAAC;AAEH,eAAO,MAAM,mBAAmB,uCAM9B,CAAC;AAEH,uEAAuE;AACvE,eAAO,MAAM,wBAAwB,uCAMnC,CAAC;AAEH,oFAAoF;AACpF,eAAO,MAAM,sBAAsB,uCAMjC,CAAC;AAEH,iGAAiG;AACjG,eAAO,MAAM,uBAAuB,uCAOlC,CAAC;AAEH,oEAAoE;AACpE,eAAO,MAAM,sBAAsB,uCAOjC,CAAC;AAEH,+DAA+D;AAC/D,eAAO,MAAM,eAAe;;;;;;;;;;;;CAYlB,CAAC"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/src/errors/error-registry/config.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,uCAO3B,CAAC;AAEH,eAAO,MAAM,cAAc,uCAMzB,CAAC;AAEH,eAAO,MAAM,kBAAkB,uCAM7B,CAAC;AAEH,2EAA2E;AAC3E,eAAO,MAAM,uBAAuB,uCAMlC,CAAC;AAEH,eAAO,MAAM,iBAAiB,uCAM5B,CAAC;AAEH,eAAO,MAAM,kBAAkB,uCAM7B,CAAC;AAEH,eAAO,MAAM,mBAAmB,uCAM9B,CAAC;AAEH,uEAAuE;AACvE,eAAO,MAAM,wBAAwB,uCAMnC,CAAC;AAEH,oFAAoF;AACpF,eAAO,MAAM,sBAAsB,uCAMjC,CAAC;AAEH,iGAAiG;AACjG,eAAO,MAAM,uBAAuB,uCAOlC,CAAC;AAEH,oEAAoE;AACpE,eAAO,MAAM,sBAAsB,uCAOjC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,uCAO7B,CAAC;AAEH,+DAA+D;AAC/D,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAalB,CAAC"}
@@ -81,6 +81,19 @@ export const TRIGGER_CONFIG_INVALID = defineError({
81
81
  title: "Invalid trigger configuration",
82
82
  suggestion: "Check trigger ID format (lowercase, alphanumeric, dots/slashes/hyphens) and ensure all input values are JSON-serializable",
83
83
  });
84
+ /**
85
+ * `veryfront init --template <name>` (and `npm create veryfront -- --template`)
86
+ * was given a name that is not in the starter catalog. The detail carries the
87
+ * list of valid names so a wrong guess is self-correcting.
88
+ */
89
+ export const TEMPLATE_NOT_FOUND = defineError({
90
+ slug: "template-not-found",
91
+ category: "CONFIG",
92
+ status: 404,
93
+ title: "Unknown project template",
94
+ suggestion: "Run 'veryfront init --help' to see the available templates",
95
+ exitCode: 2,
96
+ });
84
97
  /** Registry fragment for CONFIG errors (slug → definition). */
85
98
  export const CONFIG_REGISTRY = {
86
99
  "config-not-found": CONFIG_NOT_FOUND,
@@ -94,4 +107,5 @@ export const CONFIG_REGISTRY = {
94
107
  "webhook-config-invalid": WEBHOOK_CONFIG_INVALID,
95
108
  "schedule-config-invalid": SCHEDULE_CONFIG_INVALID,
96
109
  "trigger-config-invalid": TRIGGER_CONFIG_INVALID,
110
+ "template-not-found": TEMPLATE_NOT_FOUND,
97
111
  };
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../../src/src/errors/error-registry/server.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,uCAMtB,CAAC;AAEH,eAAO,MAAM,kBAAkB,uCAM7B,CAAC;AAEH,eAAO,MAAM,WAAW,uCAMtB,CAAC;AAEH,eAAO,MAAM,gBAAgB,uCAM3B,CAAC;AAEH,eAAO,MAAM,aAAa,uCAMxB,CAAC;AAEH,eAAO,MAAM,kBAAkB,uCAM7B,CAAC;AAEH,eAAO,MAAM,6BAA6B,uCAMxC,CAAC;AAEH,eAAO,MAAM,iBAAiB,uCAM5B,CAAC;AAEH,eAAO,MAAM,oBAAoB,uCAM/B,CAAC;AAEH,eAAO,MAAM,mBAAmB,uCAM9B,CAAC;AAEH,eAAO,MAAM,aAAa,uCAMxB,CAAC;AAEH,sEAAsE;AACt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,uCAM7B,CAAC;AAEH,wEAAwE;AACxE,eAAO,MAAM,iBAAiB,uCAM5B,CAAC;AAEH,qEAAqE;AACrE,eAAO,MAAM,qBAAqB,uCAMhC,CAAC;AAEH,+DAA+D;AAC/D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;CAmBlB,CAAC"}
@@ -4,7 +4,7 @@ export const PORT_IN_USE = defineError({
4
4
  category: "SERVER",
5
5
  status: 409,
6
6
  title: "Server port already in use",
7
- suggestion: "Use a different port or stop the process using this port",
7
+ suggestion: "Stop the process using the port, or pick another with: veryfront dev --port <number>",
8
8
  });
9
9
  export const SERVER_START_ERROR = defineError({
10
10
  slug: "server-start-error",
@@ -40,6 +40,7 @@ export declare const ERROR_REGISTRY: Readonly<{
40
40
  readonly "webhook-config-invalid": import("./types.js").RegisteredError;
41
41
  readonly "schedule-config-invalid": import("./types.js").RegisteredError;
42
42
  readonly "trigger-config-invalid": import("./types.js").RegisteredError;
43
+ readonly "template-not-found": import("./types.js").RegisteredError;
43
44
  } & {
44
45
  readonly "build-failed": import("./types.js").RegisteredError;
45
46
  readonly "bundle-error": import("./types.js").RegisteredError;
@@ -1 +1 @@
1
- {"version":3,"file":"error-registry.d.ts","sourceRoot":"","sources":["../../../src/src/errors/error-registry.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAgBhD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAE5C;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;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EAAE,CAEzC"}
@@ -215,6 +215,10 @@ function reportedMissingSpecifier(message) {
215
215
  for (const pattern of [
216
216
  /^Cannot find module\s+["']([^"']+)["']\nRequire stack:(?:\n- [^\r\n]+)+$/,
217
217
  /^(?:Cannot find package|Cannot find module|Module not found)\s+["']([^"']+)["'](?:(?:\s+imported from\s+.+)|\.)?$/,
218
+ // Deno, when the importer itself resolves out of the npm cache. The
219
+ // trailing parenthetical names the owning package when the referrer
220
+ // lives in the global Deno npm cache (`deno add npm:veryfront`).
221
+ /^Could not find package\s+["']([^"']+)["']\s+from referrer\s+["'][^"']+["'](?:\s+\([^()]*\))?\.?$/,
218
222
  /^Import\s+["']([^"']+)["']\s+not a dependency(?: and not in import map)?(?:\s+from\s+.+)?$/,
219
223
  /^Unable to resolve\s+["']([^"']+)["'](?:\s+from\s+.+)?$/,
220
224
  ]) {
@@ -1,3 +1,3 @@
1
1
  /** Shared version value. */
2
- export declare const VERSION = "0.1.1228";
2
+ export declare const VERSION = "0.1.1229";
3
3
  //# sourceMappingURL=version-constant.d.ts.map
@@ -1,4 +1,4 @@
1
1
  // Keep in sync with deno.json version.
2
2
  // scripts/release.ts updates this constant during releases.
3
3
  /** Shared version value. */
4
- export const VERSION = "0.1.1228";
4
+ export const VERSION = "0.1.1229";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veryfront/ext-content-mdx",
3
- "version": "0.1.1228",
3
+ "version": "0.1.1229",
4
4
  "description": "Veryfront first-party extension package for ext-content-mdx",
5
5
  "keywords": [
6
6
  "veryfront",
@@ -67,7 +67,7 @@
67
67
  "vfile": "6.0.3"
68
68
  },
69
69
  "peerDependencies": {
70
- "veryfront": "^0.1.1228"
70
+ "veryfront": "^0.1.1229"
71
71
  },
72
72
  "type": "module",
73
73
  "types": "./esm/extensions/ext-content-mdx/src/index.d.ts",