@veryfront/ext-content-mdx 0.1.1220 → 0.1.1221

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.1220",
3
+ "version": "0.1.1221",
4
4
  "license": "Apache-2.0",
5
5
  "nodeModulesDir": "auto",
6
6
  "minimumDependencyAge": {
@@ -12,6 +12,8 @@ export declare const SECURITY_VIOLATION: import("../types.js").RegisteredError;
12
12
  /** HTTP request input validation failures (replaces ValidationError) */
13
13
  export declare const INPUT_VALIDATION_FAILED: import("../types.js").RegisteredError;
14
14
  export declare const PROJECT_SOURCE_EMPTY: import("../types.js").RegisteredError;
15
+ /** A scope that owns the process working directory was opened inside another one. */
16
+ export declare const NESTED_CWD_SCOPE: import("../types.js").RegisteredError;
15
17
  /**
16
18
  * All registered errors for lookup by slug
17
19
  */
@@ -29,5 +31,6 @@ export declare const GENERAL_REGISTRY: {
29
31
  readonly "security-violation": import("../types.js").RegisteredError;
30
32
  readonly "input-validation-failed": import("../types.js").RegisteredError;
31
33
  readonly "project-source-empty": import("../types.js").RegisteredError;
34
+ readonly "nested-cwd-scope": import("../types.js").RegisteredError;
32
35
  };
33
36
  //# sourceMappingURL=general.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"general.d.ts","sourceRoot":"","sources":["../../../../src/src/errors/error-registry/general.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,uCAMxB,CAAC;AAEH,eAAO,MAAM,uBAAuB,uCAMlC,CAAC;AAEH,eAAO,MAAM,iBAAiB,uCAM5B,CAAC;AAEH,eAAO,MAAM,cAAc,uCAMzB,CAAC;AAEH,eAAO,MAAM,kBAAkB,uCAM7B,CAAC;AAEH,eAAO,MAAM,gBAAgB,uCAO3B,CAAC;AAEH,eAAO,MAAM,aAAa,uCAMxB,CAAC;AAEH,eAAO,MAAM,oBAAoB,uCAM/B,CAAC;AAEH,eAAO,MAAM,aAAa,uCAMxB,CAAC;AAEH,qEAAqE;AACrE,eAAO,MAAM,kBAAkB,uCAM7B,CAAC;AAEH,wEAAwE;AACxE,eAAO,MAAM,uBAAuB,uCAMlC,CAAC;AAEH,eAAO,MAAM,oBAAoB,uCAM/B,CAAC;AAMH;;GAEG;AAEH,gEAAgE;AAChE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;CAanB,CAAC"}
1
+ {"version":3,"file":"general.d.ts","sourceRoot":"","sources":["../../../../src/src/errors/error-registry/general.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,uCAMxB,CAAC;AAEH,eAAO,MAAM,uBAAuB,uCAMlC,CAAC;AAEH,eAAO,MAAM,iBAAiB,uCAM5B,CAAC;AAEH,eAAO,MAAM,cAAc,uCAMzB,CAAC;AAEH,eAAO,MAAM,kBAAkB,uCAM7B,CAAC;AAEH,eAAO,MAAM,gBAAgB,uCAO3B,CAAC;AAEH,eAAO,MAAM,aAAa,uCAMxB,CAAC;AAEH,eAAO,MAAM,oBAAoB,uCAM/B,CAAC;AAEH,eAAO,MAAM,aAAa,uCAMxB,CAAC;AAEH,qEAAqE;AACrE,eAAO,MAAM,kBAAkB,uCAM7B,CAAC;AAEH,wEAAwE;AACxE,eAAO,MAAM,uBAAuB,uCAMlC,CAAC;AAEH,eAAO,MAAM,oBAAoB,uCAM/B,CAAC;AAEH,qFAAqF;AACrF,eAAO,MAAM,gBAAgB,uCAO3B,CAAC;AAMH;;GAEG;AAEH,gEAAgE;AAChE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;CAcnB,CAAC"}
@@ -86,6 +86,14 @@ export const PROJECT_SOURCE_EMPTY = defineError({
86
86
  title: "Project source is empty",
87
87
  suggestion: "Add project files or run 'veryfront init'",
88
88
  });
89
+ /** A scope that owns the process working directory was opened inside another one. */
90
+ export const NESTED_CWD_SCOPE = defineError({
91
+ slug: "nested-cwd-scope",
92
+ category: "GENERAL",
93
+ status: 500,
94
+ title: "Working directory scope nested inside another",
95
+ suggestion: "Do the inner work directly in the outer scope's callback instead of opening a second one",
96
+ });
89
97
  // =============================================================================
90
98
  // Registry exports
91
99
  // =============================================================================
@@ -106,4 +114,5 @@ export const GENERAL_REGISTRY = {
106
114
  "security-violation": SECURITY_VIOLATION,
107
115
  "input-validation-failed": INPUT_VALIDATION_FAILED,
108
116
  "project-source-empty": PROJECT_SOURCE_EMPTY,
117
+ "nested-cwd-scope": NESTED_CWD_SCOPE,
109
118
  };
@@ -27,6 +27,7 @@ export declare const ERROR_REGISTRY: Readonly<{
27
27
  readonly "security-violation": import("./types.js").RegisteredError;
28
28
  readonly "input-validation-failed": import("./types.js").RegisteredError;
29
29
  readonly "project-source-empty": import("./types.js").RegisteredError;
30
+ readonly "nested-cwd-scope": import("./types.js").RegisteredError;
30
31
  } & {
31
32
  readonly "config-not-found": import("./types.js").RegisteredError;
32
33
  readonly "config-invalid": 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY1B,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,cAAc,CAAC;AAEpD;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS,wCAE7C;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,aAAa,0CAE1D;AAED;;GAEG;AACH,wBAAgB,WAAW,IAAI,SAAS,EAAE,CAEzC"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY1B,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,cAAc,CAAC;AAEpD;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS,wCAE7C;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,aAAa,0CAE1D;AAED;;GAEG;AACH,wBAAgB,WAAW,IAAI,SAAS,EAAE,CAEzC"}
@@ -1,3 +1,3 @@
1
1
  /** Shared version value. */
2
- export declare const VERSION = "0.1.1220";
2
+ export declare const VERSION = "0.1.1221";
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.1220";
4
+ export const VERSION = "0.1.1221";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veryfront/ext-content-mdx",
3
- "version": "0.1.1220",
3
+ "version": "0.1.1221",
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.1220"
70
+ "veryfront": "^0.1.1221"
71
71
  },
72
72
  "type": "module",
73
73
  "types": "./esm/extensions/ext-content-mdx/src/index.d.ts",