@chromahq/core 0.0.3 → 0.0.5

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.js CHANGED
@@ -1179,7 +1179,7 @@ class ApplicationBootstrap {
1179
1179
  async discoverServices() {
1180
1180
  this.logger.info("\u{1F50D} Discovering services...");
1181
1181
  const serviceModules = undefined(
1182
- "/src/app/services/*.service.{ts,js}",
1182
+ "/src/app/services/**/*.service.{ts,js}",
1183
1183
  { eager: true }
1184
1184
  );
1185
1185
  for (const module of Object.values(serviceModules)) {
@@ -1422,7 +1422,7 @@ class ApplicationBootstrap {
1422
1422
  async registerMessages() {
1423
1423
  this.logger.info("\u{1F4E8} Registering messages...");
1424
1424
  const messageModules = undefined(
1425
- "/src/app/messages/*.message.{ts,js}",
1425
+ "/src/app/messages/**/*.message.{ts,js}",
1426
1426
  { eager: true }
1427
1427
  );
1428
1428
  for (const module of Object.values(messageModules)) {
@@ -1458,7 +1458,7 @@ class ApplicationBootstrap {
1458
1458
  async bootMessages() {
1459
1459
  this.logger.info("\u{1F680} Booting messages...");
1460
1460
  const messageModules = undefined(
1461
- "/src/app/messages/*.message.{ts,js}",
1461
+ "/src/app/messages/**/*.message.{ts,js}",
1462
1462
  { eager: true }
1463
1463
  );
1464
1464
  for (const module of Object.values(messageModules)) {
package/dist/index.es.js CHANGED
@@ -1177,7 +1177,7 @@ class ApplicationBootstrap {
1177
1177
  async discoverServices() {
1178
1178
  this.logger.info("\u{1F50D} Discovering services...");
1179
1179
  const serviceModules = import.meta.glob(
1180
- "/src/app/services/*.service.{ts,js}",
1180
+ "/src/app/services/**/*.service.{ts,js}",
1181
1181
  { eager: true }
1182
1182
  );
1183
1183
  for (const module of Object.values(serviceModules)) {
@@ -1420,7 +1420,7 @@ class ApplicationBootstrap {
1420
1420
  async registerMessages() {
1421
1421
  this.logger.info("\u{1F4E8} Registering messages...");
1422
1422
  const messageModules = import.meta.glob(
1423
- "/src/app/messages/*.message.{ts,js}",
1423
+ "/src/app/messages/**/*.message.{ts,js}",
1424
1424
  { eager: true }
1425
1425
  );
1426
1426
  for (const module of Object.values(messageModules)) {
@@ -1456,7 +1456,7 @@ class ApplicationBootstrap {
1456
1456
  async bootMessages() {
1457
1457
  this.logger.info("\u{1F680} Booting messages...");
1458
1458
  const messageModules = import.meta.glob(
1459
- "/src/app/messages/*.message.{ts,js}",
1459
+ "/src/app/messages/**/*.message.{ts,js}",
1460
1460
  { eager: true }
1461
1461
  );
1462
1462
  for (const module of Object.values(messageModules)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chromahq/core",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "Core library for building Chrome extensions with Chroma framework",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",