@comfanion/usethis_todo 0.1.15-dev.7 → 0.1.15-dev.9
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/index.ts +2 -0
- package/package.json +1 -1
- package/tools.ts +2 -8
package/index.ts
CHANGED
package/package.json
CHANGED
package/tools.ts
CHANGED
|
@@ -135,14 +135,8 @@ async function getNativeDataDirs(): Promise<string[]> {
|
|
|
135
135
|
const dirs = new Set<string>()
|
|
136
136
|
|
|
137
137
|
// 1) xdg-basedir (what OpenCode itself uses)
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
if (mod?.xdgData && typeof mod.xdgData === "string") {
|
|
141
|
-
dirs.add(mod.xdgData)
|
|
142
|
-
}
|
|
143
|
-
} catch {
|
|
144
|
-
// ignore
|
|
145
|
-
}
|
|
138
|
+
// Removed dynamic import to avoid "chunk not found" errors in some environments
|
|
139
|
+
// relying on standard env vars and paths instead
|
|
146
140
|
|
|
147
141
|
// 2) explicit XDG override
|
|
148
142
|
if (process.env.XDG_DATA_HOME) {
|