@interactivethings/scripts 2.2.1 → 2.2.2

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.
@@ -47,7 +47,7 @@ const run = async (args) => {
47
47
  if (!deployment) {
48
48
  throw new Error("Could not retrieve deployment");
49
49
  }
50
- console.log(`DEPLOYMENT_URL=https://${deployment.url}`);
50
+ console.log(`DEPLOYMENT_URL=${deployment.url}`);
51
51
  break;
52
52
  }
53
53
  };
@@ -32,14 +32,14 @@ const deployments_1 = require("@interactivethings/scripts/vercel/deployments");
32
32
  });
33
33
  (0, vitest_1.describe)("run", () => {
34
34
  (0, vitest_1.it)("should successfully wait for deployment with valid args", async () => {
35
- const mockDeployment = {
36
- url: "test-deployment.vercel.app",
35
+ const mockDeploymentReadyResult = {
36
+ url: "https://test-deployment.vercel.app",
37
37
  state: "READY",
38
38
  meta: {
39
39
  githubCommitSha: "test-commit-sha",
40
40
  },
41
41
  };
42
- vitest_1.vi.mocked(deployments_1.waitForDeploymentReady).mockResolvedValue(mockDeployment);
42
+ vitest_1.vi.mocked(deployments_1.waitForDeploymentReady).mockResolvedValue(mockDeploymentReadyResult);
43
43
  const consoleSpy = vitest_1.vi.spyOn(console, "log").mockImplementation(() => { });
44
44
  const args = {
45
45
  subcommand: "wait-deployment",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interactivethings/scripts",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",
@@ -52,7 +52,7 @@
52
52
  "devDependencies": {
53
53
  "@semantic-release/changelog": "^6.0.3",
54
54
  "@semantic-release/git": "^10.0.1",
55
- "@semantic-release/github": "^11.0.6",
55
+ "@semantic-release/github": "^12.0.5",
56
56
  "@types/argparse": "^2.0.17",
57
57
  "@types/jscodeshift": "^0.11.10",
58
58
  "@types/node": "22",