miqro 8.0.3 → 8.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.
@@ -57,7 +57,7 @@ export async function inflateDBMigrations(logger, service, dbName, inflateDir, o
57
57
  const migrationsFolderPath = getMigrationsPath(servicePath);
58
58
  if (migrationsFolderPath) {
59
59
  logger?.trace("loading migrations from service [%s]", service);
60
- const serviceMigrations = migration.getSortedMigrations(migrationsFolderPath);
60
+ const serviceMigrations = migration.getSortedMigrations(migrationsFolderPath).filter(n => n).filter(n => n.indexOf("d.ts") === -1 || n.indexOf("d.ts") !== n.length - "d.ts".length);
61
61
  const migrationModules = [];
62
62
  for (const migrationName of serviceMigrations) {
63
63
  const migrationPath = resolve(migrationsFolderPath, migrationName);
@@ -153,12 +153,16 @@ async function createRouterFromDirectory(importOptions, inflateJSXOptions, serve
153
153
  tR.push(new Promise(async (resolve) => {
154
154
  try {
155
155
  switch (file.ext) {
156
+ case ".map": {
157
+ return resolve();
158
+ }
156
159
  case ".jsx":
157
160
  case ".cjs":
158
161
  case ".js":
159
162
  case ".ts":
160
163
  case ".tsx": {
161
164
  switch (file.subExt) {
165
+ case ".d":
162
166
  case ".test":
163
167
  return resolve();
164
168
  case ".ignore":
package/build/lib.cjs CHANGED
@@ -10138,12 +10138,16 @@ async function createRouterFromDirectory(importOptions, inflateJSXOptions, serve
10138
10138
  tR.push(new Promise(async (resolve20) => {
10139
10139
  try {
10140
10140
  switch (file.ext) {
10141
+ case ".map": {
10142
+ return resolve20();
10143
+ }
10141
10144
  case ".jsx":
10142
10145
  case ".cjs":
10143
10146
  case ".js":
10144
10147
  case ".ts":
10145
10148
  case ".tsx": {
10146
10149
  switch (file.subExt) {
10150
+ case ".d":
10147
10151
  case ".test":
10148
10152
  return resolve20();
10149
10153
  case ".ignore":
@@ -11516,7 +11520,7 @@ async function inflateDBMigrations(logger, service, dbName, inflateDir, options,
11516
11520
  const migrationsFolderPath = getMigrationsPath(servicePath);
11517
11521
  if (migrationsFolderPath) {
11518
11522
  logger?.trace("loading migrations from service [%s]", service);
11519
- const serviceMigrations = lib_exports2.getSortedMigrations(migrationsFolderPath);
11523
+ const serviceMigrations = lib_exports2.getSortedMigrations(migrationsFolderPath).filter((n) => n).filter((n) => n.indexOf("d.ts") === -1 || n.indexOf("d.ts") !== n.length - "d.ts".length);
11520
11524
  const migrationModules = [];
11521
11525
  for (const migrationName of serviceMigrations) {
11522
11526
  const migrationPath = (0, import_node_path20.resolve)(migrationsFolderPath, migrationName);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "miqro",
3
- "version": "8.0.3",
3
+ "version": "8.0.5",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "build/esm/lib.js",
@@ -29,7 +29,7 @@
29
29
  "typescript": "^5.9.3"
30
30
  },
31
31
  "dependencies": {
32
- "@miqro/core": "^5.1.3",
32
+ "@miqro/core": "^5.1.4",
33
33
  "@miqro/jsx": "^1.0.2",
34
34
  "@miqro/jsx-dom": "^1.0.6",
35
35
  "@miqro/jsx-node": "^1.0.9",