@arch-cadre/modules 0.0.74 → 0.0.76

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.
@@ -21,7 +21,7 @@ async function resolveSchemaPath(moduleId) {
21
21
  const root = process.cwd();
22
22
  // 1. Special case for core
23
23
  if (moduleId === "@arch-cadre/core" || moduleId === "core") {
24
- const p = path.join(root, "node_modules", "@kryo", "core", "dist", "server", "database", "schema.js");
24
+ const p = path.join(root, "node_modules", "@arch-cadre", "core", "dist", "server", "database", "schema.js");
25
25
  try {
26
26
  await fs.access(p);
27
27
  return p;
@@ -44,8 +44,8 @@ async function resolveSchemaPath(moduleId) {
44
44
  path.join(root, "modules", cleanId, "schema.ts"),
45
45
  path.join(root, "modules", moduleId, "schema.ts"),
46
46
  // node_modules (installed or symlinked)
47
- path.join(root, "node_modules", moduleId, "dist", "schema.js"),
48
- path.join(root, "node_modules", `@arch-cadre/${cleanId}`, "dist", "schema.js"),
47
+ path.join(root, "node_modules", moduleId, "dist", "schema.cjs"),
48
+ path.join(root, "node_modules", `@arch-cadre/${cleanId}`, "dist", "schema.cjs"),
49
49
  path.join(root, "node_modules", moduleId, "src", "schema.ts"),
50
50
  path.join(root, "node_modules", `@arch-cadre/${cleanId}`, "src", "schema.ts"),
51
51
  // Monorepo packages (searching by various naming conventions)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arch-cadre/modules",
3
- "version": "0.0.74",
3
+ "version": "0.0.76",
4
4
  "description": "Core Modules for Kryo framework",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",
@@ -18,24 +18,24 @@
18
18
  "switch:dev": "node scripts/switchToSrc.js",
19
19
  "switch:prod": "node scripts/switchToDist.js",
20
20
  "release": "npm publish --access public --no-git-checks",
21
- "dev": "tsdown --watch",
21
+ "dev": "tsc --module esnext --watch",
22
22
  "builds": "tsc",
23
23
  "build": "pnpm clean && tsc --module esnext"
24
24
  },
25
25
  "dependencies": {
26
- "@arch-cadre/core": "^0.0.48",
26
+ "@arch-cadre/core": "^0.0.50",
27
27
  "server-only": "^0.0.1",
28
28
  "zod": "^4.1.12"
29
29
  },
30
30
  "peerDependencies": {
31
- "@arch-cadre/core": "^0.0.48",
31
+ "@arch-cadre/core": "^0.0.50",
32
32
  "drizzle-orm": "1.0.0-beta.6-4414a19",
33
33
  "next": ">=15.0.0",
34
34
  "react": "^19.0.0",
35
35
  "react-dom": "^19.0.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@arch-cadre/core": "^0.0.48",
38
+ "@arch-cadre/core": "^0.0.50",
39
39
  "@types/react": "^19",
40
40
  "@types/react-dom": "^19",
41
41
  "tsdown": "^0.20.3",