pinokiod 2.1.45 → 2.1.47

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.
@@ -172,6 +172,8 @@ class Bin {
172
172
  return file.endsWith(".js") && file !== "index.js" && file !== "cmake.js"
173
173
  })
174
174
 
175
+ console.log({ modfiles })
176
+
175
177
 
176
178
  this.mods = []
177
179
  for(let filename of modfiles) {
@@ -183,6 +185,7 @@ class Bin {
183
185
  let name = path.basename(filename, ".js")
184
186
  this.mods.push({ name, mod })
185
187
  }
188
+ console.log(">> this.mods = ", this.mods)
186
189
  // inject kernel
187
190
  for(let i=0; i<this.mods.length; i++) {
188
191
  this.mods[i].mod.kernel = this.kernel
@@ -197,14 +200,17 @@ class Bin {
197
200
  }
198
201
  this.mod[mod.name] = mod.mod
199
202
  }
203
+ console.log(">> this.mod", this.mod)
200
204
 
201
205
 
202
206
 
203
207
  // write to pipconfig if it doesn't exist
204
208
  if (this.kernel.homedir) {
205
- this.refreshInstalled().catch((e) => {
209
+ console.log(">> refreshInstalled")
210
+ await this.refreshInstalled().catch((e) => {
206
211
  console.log("RefreshInstalled Error", e)
207
212
  })
213
+ console.log(">> refreshInstalled Finished")
208
214
  let pipconfig_path = path.resolve(this.kernel.homedir, "pipconfig")
209
215
  let pipconfig_exists = await this.kernel.api.exists(pipconfig_path)
210
216
  console.log("pipconfig exists?", { pipconfig_path, pipconfig_exists })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "2.1.45",
3
+ "version": "2.1.47",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {