@treatwell/moleculer-essentials 1.0.2-beta.1 → 1.0.2-beta.2

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.cjs CHANGED
@@ -1141,7 +1141,9 @@ const FILTER_SERVICE_LOGS_REGEX = /('[^']*' service is registered\.)|(Service '[
1141
1141
  let transport;
1142
1142
  if (process.env.NODE_ENV !== "production") {
1143
1143
  transport = {
1144
- target: "./pino-pretty-transport.cjs",
1144
+ // Building with pkgroll (rollup) will bundle the file into the root index.js so we keep
1145
+ // `logger/` in the path.
1146
+ target: "./logger/pino-pretty-transport.cjs",
1145
1147
  options: {
1146
1148
  colorize: true,
1147
1149
  singleLine: true,
package/dist/index.mjs CHANGED
@@ -1141,7 +1141,9 @@ const FILTER_SERVICE_LOGS_REGEX = /('[^']*' service is registered\.)|(Service '[
1141
1141
  let transport;
1142
1142
  if (process.env.NODE_ENV !== "production") {
1143
1143
  transport = {
1144
- target: "./pino-pretty-transport.cjs",
1144
+ // Building with pkgroll (rollup) will bundle the file into the root index.js so we keep
1145
+ // `logger/` in the path.
1146
+ target: "./logger/pino-pretty-transport.cjs",
1145
1147
  options: {
1146
1148
  colorize: true,
1147
1149
  singleLine: true,
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "type": "git",
7
7
  "url": "https://github.com/treatwell/moleculer-essentials"
8
8
  },
9
- "version": "1.0.2-beta.1",
9
+ "version": "1.0.2-beta.2",
10
10
  "main": "./dist/index.cjs",
11
11
  "module": "./dist/index.mjs",
12
12
  "types": "./dist/index.d.cts",