pinokiod 5.3.1 → 5.3.3

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.
@@ -79,6 +79,7 @@ class Conda {
79
79
  await fs.promises.writeFile(this.kernel.path('condarc'), `channels:
80
80
  - conda-forge
81
81
  - defaults
82
+ channel_priority: flexible
82
83
  create_default_packages:
83
84
  - python=3.10
84
85
  envs_dirs:
@@ -4,7 +4,7 @@ const { rimraf } = require('rimraf')
4
4
  const decompress = require('decompress');
5
5
  class Node {
6
6
  cmd() {
7
- return "nodejs pnpm"
7
+ return "nodejs=22.21.1 pnpm"
8
8
  }
9
9
  async install(req, ondata) {
10
10
  await this.kernel.bin.exec({
@@ -16,6 +16,12 @@ class Node {
16
16
  }, ondata)
17
17
  }
18
18
  async installed() {
19
+ if (this.kernel.bin.installed.conda && this.kernel.bin.installed.conda_versions) {
20
+ let version = this.kernel.bin.installed.conda_versions.nodejs
21
+ if (version !== "22.21.1") {
22
+ return false
23
+ }
24
+ }
19
25
  return this.kernel.bin.installed.conda.has("nodejs") && this.kernel.bin.installed.conda.has("pnpm")
20
26
  }
21
27
  env() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "5.3.1",
3
+ "version": "5.3.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {