@swell/cli 2.9.19 → 2.9.20

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.
@@ -74,7 +74,7 @@ export function createMockRequest(options: MockRequestOptions = {}): SwellReques
74
74
  const req: Partial<SwellRequest> & { appId: string; storeId: string } = {
75
75
  originalRequest,
76
76
  context,
77
- url,
77
+ url: new URL(url),
78
78
  method,
79
79
  headers: requestHeaders,
80
80
  referrer: originalRequest.referrer,
@@ -3,7 +3,8 @@ import * as path from 'node:path';
3
3
  import { filePathExistsAsync, writeFile } from '../apps/index.js';
4
4
  import { envDtsTemplate, integrationTestTemplate, mockRequestTemplate, setupGlobalsTemplate, swellClientTemplate, tsconfigTemplate, unitTestTemplate, vitestConfigTemplate, } from './tests/templates/index.js';
5
5
  const TEST_DEV_DEPENDENCIES = {
6
- '@cloudflare/vitest-pool-workers': 'latest',
6
+ // 0.13+ requires vitest 4 and drops the /config entry the vitest template imports
7
+ '@cloudflare/vitest-pool-workers': '0.12.x',
7
8
  vitest: '3.2.x',
8
9
  '@swell/app-types': 'latest',
9
10
  };
@@ -3572,5 +3572,5 @@
3572
3572
  ]
3573
3573
  }
3574
3574
  },
3575
- "version": "2.9.19"
3575
+ "version": "2.9.20"
3576
3576
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swell/cli",
3
- "version": "2.9.19",
3
+ "version": "2.9.20",
4
4
  "type": "module",
5
5
  "description": "Swell's command line interface/utility",
6
6
  "keywords": [