@arcteninc/core 0.0.60 → 0.0.61

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcteninc/core",
3
- "version": "0.0.60",
3
+ "version": "0.0.61",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -20,21 +20,21 @@
20
20
  },
21
21
  "sideEffects": false,
22
22
  "bin": {
23
- "arcten": "./scripts/arcten-cli.js"
23
+ "arcten": "./scripts/arcten-cli.cjs"
24
24
  },
25
25
  "files": [
26
26
  "dist",
27
27
  "scripts/cli-extract-types-auto.ts",
28
28
  "scripts/cli-extract-types-auto.js",
29
- "scripts/arcten-cli.js",
30
- "scripts/postinstall-check-version.js",
31
- "scripts/update-core.js"
29
+ "scripts/arcten-cli.cjs",
30
+ "scripts/postinstall-check-version.cjs",
31
+ "scripts/update-core.cjs"
32
32
  ],
33
33
  "scripts": {
34
34
  "dev": "vite build --watch",
35
35
  "build": "vite build",
36
36
  "prepublishOnly": "bun run build",
37
- "postinstall": "node scripts/postinstall-check-version.js"
37
+ "postinstall": "node scripts/postinstall-check-version.cjs"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "ai": "^6.0.0-beta.94",
@@ -73,7 +73,7 @@ function main() {
73
73
  let runner = 'node';
74
74
 
75
75
  if (command === 'update') {
76
- scriptPath = path.join(__dirname, 'update-core.js');
76
+ scriptPath = path.join(__dirname, 'update-core.cjs');
77
77
  } else {
78
78
  // For extract-types/tools, try .js first, fallback to .ts with bun
79
79
  const jsPath = path.join(__dirname, 'cli-extract-types-auto.js');
@@ -9,8 +9,9 @@
9
9
  const fs = require('fs');
10
10
  const path = require('path');
11
11
  const { execSync } = require('child_process');
12
+ const { findPackageJson } = require('./postinstall-check-version.cjs');
12
13
 
13
- function findPackageJson(startPath = process.cwd()) {
14
+ function findPackageJsonLocal(startPath = process.cwd()) {
14
15
  let currentPath = startPath;
15
16
 
16
17
  while (currentPath !== path.dirname(currentPath)) {