@vite-plugin-opencode-assistant/opencode 1.0.68 → 1.0.70

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/es/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from "./web.js";
@@ -134,10 +134,7 @@ function resolvePackageDir() {
134
134
  return path.resolve(path.dirname(entryPath), "..");
135
135
  }
136
136
  function resolveSourcePluginsDir() {
137
- const candidatePaths = [
138
- path.join(packageDir, "es", "plugins"),
139
- path.join(packageDir, "lib", "plugins")
140
- ];
137
+ const candidatePaths = [path.join(packageDir, "es", "plugins")];
141
138
  for (const candidatePath of candidatePaths) {
142
139
  if (fs.existsSync(candidatePath)) {
143
140
  return candidatePath;
package/lib/web.cjs CHANGED
@@ -165,10 +165,7 @@ function resolvePackageDir() {
165
165
  return import_path.default.resolve(import_path.default.dirname(entryPath), "..");
166
166
  }
167
167
  function resolveSourcePluginsDir() {
168
- const candidatePaths = [
169
- import_path.default.join(packageDir, "es", "plugins"),
170
- import_path.default.join(packageDir, "lib", "plugins")
171
- ];
168
+ const candidatePaths = [import_path.default.join(packageDir, "es", "plugins")];
172
169
  for (const candidatePath of candidatePaths) {
173
170
  if (import_fs.default.existsSync(candidatePath)) {
174
171
  return candidatePath;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@vite-plugin-opencode-assistant/opencode",
3
- "version": "1.0.68",
3
+ "version": "1.0.70",
4
4
  "type": "module",
5
5
  "main": "lib/index.cjs",
6
- "module": "es/index.mjs",
6
+ "module": "es/index.js",
7
7
  "types": "es/index.d.ts",
8
8
  "files": [
9
9
  "es",
@@ -12,7 +12,7 @@
12
12
  "exports": {
13
13
  ".": {
14
14
  "types": "./es/index.d.ts",
15
- "import": "./es/index.mjs",
15
+ "import": "./es/index.js",
16
16
  "require": "./lib/index.cjs"
17
17
  }
18
18
  },
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "execa": "^9.6.1",
25
- "@vite-plugin-opencode-assistant/shared": "1.0.68"
25
+ "@vite-plugin-opencode-assistant/shared": "1.0.70"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@opencode-ai/plugin": "^1.3.15",
package/es/index.mjs DELETED
@@ -1 +0,0 @@
1
- export * from "./web.mjs";
File without changes