pinokiod 0.1.29 → 0.1.30

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.
@@ -201,10 +201,13 @@ class Bin {
201
201
  console.log("pipconfig exists?", { pipconfig_path, pipconfig_exists })
202
202
  // if not, create one
203
203
  if (!pipconfig_exists) {
204
- await fs.promises.copyFile(
205
- path.resolve(__dirname, "..", "pipconfig_template"),
206
- pipconfig_path
207
- )
204
+ const pipconfigStr = `[global]
205
+ timeout = 1000`
206
+ await fs.promises.writeFile(pipconfig_path, pipconfigStr)
207
+ // await fs.promises.copyFile(
208
+ // path.resolve(__dirname, "..", "pipconfig_template"),
209
+ // pipconfig_path
210
+ // )
208
211
  }
209
212
 
210
213
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {