@warp-drive/holodeck 0.0.0-alpha.129 → 0.0.0-alpha.130

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.
Files changed (2) hide show
  1. package/package.json +6 -6
  2. package/server/index.js +6 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@warp-drive/holodeck",
3
3
  "description": "⚡️ Simple, Fast HTTP Mocking for Tests",
4
- "version": "0.0.0-alpha.129",
4
+ "version": "0.0.0-alpha.130",
5
5
  "license": "MIT",
6
6
  "author": "Chris Thoburn <runspired@users.noreply.github.com>",
7
7
  "repository": {
@@ -38,8 +38,8 @@
38
38
  "ensure-cert": "./server/ensure-cert.js"
39
39
  },
40
40
  "peerDependencies": {
41
- "@ember-data/request": "5.4.0-alpha.143",
42
- "@warp-drive/core-types": "5.4.0-alpha.143"
41
+ "@ember-data/request": "5.4.0-alpha.144",
42
+ "@warp-drive/core-types": "5.4.0-alpha.144"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@babel/core": "^7.26.9",
@@ -47,9 +47,9 @@
47
47
  "@babel/preset-env": "^7.26.9",
48
48
  "@babel/preset-typescript": "^7.26.0",
49
49
  "@babel/runtime": "^7.26.9",
50
- "@ember-data/request": "5.4.0-alpha.143",
51
- "@warp-drive/core-types": "5.4.0-alpha.143",
52
- "@warp-drive/internal-config": "5.4.0-alpha.143",
50
+ "@ember-data/request": "5.4.0-alpha.144",
51
+ "@warp-drive/core-types": "5.4.0-alpha.144",
52
+ "@warp-drive/internal-config": "5.4.0-alpha.144",
53
53
  "vite": "^5.4.14"
54
54
  },
55
55
  "exports": {
package/server/index.js CHANGED
@@ -43,7 +43,9 @@ async function getCertInfo() {
43
43
  const KEY = Bun.file(KEY_PATH);
44
44
 
45
45
  if (!(await CERT.exists()) || !(await KEY.exists())) {
46
- throw new Error('SSL certificate or key not found, you may need to run `pnpx @warp-drive/holodeck ensure-cert`');
46
+ throw new Error(
47
+ 'SSL certificate or key not found, you may need to run `pnpm dlx @warp-drive/holodeck ensure-cert`'
48
+ );
47
49
  }
48
50
 
49
51
  return {
@@ -54,7 +56,9 @@ async function getCertInfo() {
54
56
  };
55
57
  } else {
56
58
  if (!fs.existsSync(CERT_PATH) || !fs.existsSync(KEY_PATH)) {
57
- throw new Error('SSL certificate or key not found, you may need to run `pnpx @warp-drive/holodeck ensure-cert`');
59
+ throw new Error(
60
+ 'SSL certificate or key not found, you may need to run `pnpm dlx @warp-drive/holodeck ensure-cert`'
61
+ );
58
62
  }
59
63
 
60
64
  return {