@qvac/harness 1.0.0-rc.0 → 1.0.0-rc.1

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.
@@ -1,4 +1,5 @@
1
1
  import fs from 'fs';
2
+ import path from 'path';
2
3
  import process from 'process';
3
4
  import { fileURLToPath } from 'url';
4
5
  import { z } from 'zod';
@@ -16,7 +17,7 @@ const ManifestSchema = z.object({
16
17
  });
17
18
  const STAGE_DIR = '/qvac-wheels';
18
19
  export function wheelsDir() {
19
- return process.env.QVAC_PYTHON_WHEELS_DIR || fileURLToPath(import.meta.asset('#pyodide-wheels'));
20
+ return process.env.QVAC_PYTHON_WHEELS_DIR || path.dirname(fileURLToPath(import.meta.asset('#pyodide-wheels')));
20
21
  }
21
22
  export function vendoredManifest(dir = wheelsDir()) {
22
23
  const file = `${dir}/manifest.json`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qvac/harness",
3
- "version": "1.0.0-rc.0",
3
+ "version": "1.0.0-rc.1",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "bare": ">=1.34.0"
@@ -709,7 +709,7 @@
709
709
  },
710
710
  "#pyodide-worker-entry": "./dist-lib/lib/tools/exec/adapters/python/worker/entry.js",
711
711
  "#pyodide-interrupt-deadline": "./dist-lib/lib/tools/exec/adapters/python/worker/interrupt-deadline.js",
712
- "#pyodide-wheels": "./wheels/",
712
+ "#pyodide-wheels": "./wheels/manifest.json",
713
713
  "worker_threads": {
714
714
  "bare": "bare-worker"
715
715
  },