@enter-pro/enter-code 1.0.1 → 1.0.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.
Files changed (2) hide show
  1. package/bin/enter +4 -1
  2. package/package.json +7 -5
package/bin/enter CHANGED
@@ -10,6 +10,8 @@ const PLATFORM_MAP = {
10
10
  "darwin-x64": "@enter-pro/enter-code-darwin-x64",
11
11
  "linux-arm64": "@enter-pro/enter-code-linux-arm64",
12
12
  "linux-x64": "@enter-pro/enter-code-linux-x64",
13
+ "win32-arm64": "@enter-pro/enter-code-win32-arm64",
14
+ "win32-x64": "@enter-pro/enter-code-win32-x64",
13
15
  };
14
16
 
15
17
  const platformKey = `${process.platform}-${process.arch}`;
@@ -25,10 +27,11 @@ if (!pkg) {
25
27
 
26
28
  let binPath;
27
29
  try {
30
+ const binName = process.platform === "win32" ? "enter.exe" : "enter";
28
31
  binPath = path.join(
29
32
  path.dirname(require.resolve(`${pkg}/package.json`)),
30
33
  "bin",
31
- "enter"
34
+ binName
32
35
  );
33
36
  } catch {
34
37
  console.error(
package/package.json CHANGED
@@ -1,15 +1,17 @@
1
1
  {
2
2
  "name": "@enter-pro/enter-code",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Enter Code - AI-powered coding assistant",
5
5
  "bin": {
6
6
  "enter": "bin/enter"
7
7
  },
8
8
  "optionalDependencies": {
9
- "@enter-pro/enter-code-darwin-arm64": "1.0.1",
10
- "@enter-pro/enter-code-darwin-x64": "1.0.1",
11
- "@enter-pro/enter-code-linux-arm64": "1.0.1",
12
- "@enter-pro/enter-code-linux-x64": "1.0.1"
9
+ "@enter-pro/enter-code-darwin-arm64": "1.0.2",
10
+ "@enter-pro/enter-code-darwin-x64": "1.0.2",
11
+ "@enter-pro/enter-code-linux-arm64": "1.0.2",
12
+ "@enter-pro/enter-code-linux-x64": "1.0.2",
13
+ "@enter-pro/enter-code-win32-arm64": "1.0.2",
14
+ "@enter-pro/enter-code-win32-x64": "1.0.2"
13
15
  },
14
16
  "license": "MIT",
15
17
  "repository": {