@fougere/log 0.11.0-alpha.0 → 0.12.0-alpha.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.
package/dist/index.d.ts CHANGED
@@ -7,4 +7,10 @@ export { default as FileHandler, LogFile } from './FileHandler.js';
7
7
  * a value it should be constructed with has no key to answer under.
8
8
  */
9
9
  export declare const logFrond: (path: string) => import("@fougere/core").FrondDescriptor;
10
+ /**
11
+ * The name `fronds: { '@fougere/log': './lines.jsonl' }` reaches — the last segment of the
12
+ * specifier is the export, which is what the Nuxt module already assumes of `calls` and
13
+ * `observability`.
14
+ */
15
+ export declare const log: typeof logFrond;
10
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEnE;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,SAAU,MAAM,4CAoBpC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEnE;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,SAAU,MAAM,4CAoBpC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,GAAG,iBAAW,CAAC"}
package/dist/index.js CHANGED
@@ -38,4 +38,10 @@ export const logFrond = (path) => {
38
38
  }],
39
39
  });
40
40
  };
41
+ /**
42
+ * The name `fronds: { '@fougere/log': './lines.jsonl' }` reaches — the last segment of the
43
+ * specifier is the export, which is what the Nuxt module already assumes of `calls` and
44
+ * `observability`.
45
+ */
46
+ export const log = logFrond;
41
47
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,WAAW,EAAE,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAExD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEnE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,IAAY,EAAE,EAAE;IACvC,MAAM,KAAM,SAAQ,WAAW;QAC7B;YACE,KAAK,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;QAC3B,CAAC;KACF;IAED,OAAO,KAAK,CAAC,KAAK,EAAE;QAClB,QAAQ,EAAE,CAAC,OAAO,CAAC;QACnB,QAAQ,EAAE,CAAC;gBACT,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,EAAE;gBACR,UAAU,EAAE;oBACV,MAAM,EAAE;wBACN,KAAK,EAAE,OAAO;wBACd,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,CAAC;qBAC5F;iBACF;aACF,CAAC;KACH,CAAC,CAAC;AACL,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,WAAW,EAAE,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAExD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEnE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,IAAY,EAAE,EAAE;IACvC,MAAM,KAAM,SAAQ,WAAW;QAC7B;YACE,KAAK,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;QAC3B,CAAC;KACF;IAED,OAAO,KAAK,CAAC,KAAK,EAAE;QAClB,QAAQ,EAAE,CAAC,OAAO,CAAC;QACnB,QAAQ,EAAE,CAAC;gBACT,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,EAAE;gBACR,UAAU,EAAE;oBACV,MAAM,EAAE;wBACN,KAAK,EAAE,OAAO;wBACd,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,CAAC;qBAC5F;iBACF;aACF,CAAC;KACH,CAAC,CAAC;AACL,CAAC,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,QAAQ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fougere/log",
3
- "version": "0.11.0-alpha.0",
3
+ "version": "0.12.0-alpha.0",
4
4
  "description": "Logging for Fougere: a line is an announced fact, and a destination is a handler that accepts it. Ships the console one.",
5
5
  "keywords": [
6
6
  "fougere",
@@ -29,17 +29,17 @@
29
29
  "src"
30
30
  ],
31
31
  "peerDependencies": {
32
- "@fougere/core": "^0.11.0-alpha.0",
33
- "@fougere/schema": "^0.11.0-alpha.0"
32
+ "@fougere/schema": "^0.12.0-alpha.0",
33
+ "@fougere/core": "^0.12.0-alpha.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "vitest": "^4.1.0",
37
37
  "jiti": "^2.6.1",
38
- "@fougere/compiler": "0.11.0-alpha.0",
39
- "@fougere/container": "0.11.0-alpha.0",
40
- "@fougere/testing": "0.11.0-alpha.0",
41
- "@fougere/schema": "0.11.0-alpha.0",
42
- "@fougere/core": "0.11.0-alpha.0"
38
+ "@fougere/compiler": "0.12.0-alpha.0",
39
+ "@fougere/container": "0.12.0-alpha.0",
40
+ "@fougere/schema": "0.12.0-alpha.0",
41
+ "@fougere/core": "0.12.0-alpha.0",
42
+ "@fougere/testing": "0.12.0-alpha.0"
43
43
  },
44
44
  "publishConfig": {
45
45
  "access": "public"
package/src/index.ts CHANGED
@@ -41,3 +41,10 @@ export const logFrond = (path: string) => {
41
41
  }],
42
42
  });
43
43
  };
44
+
45
+ /**
46
+ * The name `fronds: { '@fougere/log': './lines.jsonl' }` reaches — the last segment of the
47
+ * specifier is the export, which is what the Nuxt module already assumes of `calls` and
48
+ * `observability`.
49
+ */
50
+ export const log = logFrond;