@restatedev/restate 1.1.6 → 1.2.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.
package/README.md CHANGED
@@ -55,7 +55,7 @@ npx @restatedev/restate-server
55
55
 
56
56
  Run via docker:
57
57
  ```bash
58
- docker run --rm -it --network=host docker.io/restatedev/restate:latest
58
+ docker run --rm -it --network=host docker.restate.dev/restatedev/restate:latest
59
59
  ```
60
60
 
61
61
  ### Install the CLI
@@ -122,4 +122,3 @@ For SDK compatibility, refer to the supported version matrix in the respective R
122
122
  ### Building Restate locally
123
123
 
124
124
  In order to build Restate locally [follow the build instructions](https://github.com/restatedev/restate/blob/main/docs/dev/local-development.md#building-restate).
125
-
package/lib/index.js CHANGED
@@ -1,5 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict";
3
+ /*
4
+ * Copyright (c) 2023 - 2025 Restate Software, Inc., Restate GmbH.
5
+ * All rights reserved.
6
+ *
7
+ * Use of this software is governed by the Business Source License
8
+ * included in the LICENSE file.
9
+ *
10
+ * As of the Change Date specified in that file, in accordance with
11
+ * the Business Source License, use of this software will be governed
12
+ * by the Apache License, Version 2.0.
13
+ */
3
14
  var __importDefault = (this && this.__importDefault) || function (mod) {
4
15
  return (mod && mod.__esModule) ? mod : { "default": mod };
5
16
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@restatedev/restate",
3
3
  "description": "The Restate CLI",
4
- "version": "1.1.6",
4
+ "version": "1.2.0-rc.1",
5
5
  "bin": "lib/index.js",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,6 +21,12 @@
21
21
  "build": "tsc",
22
22
  "dev": "npm run build && node lib/index.js"
23
23
  },
24
+ "dependencies": {
25
+ "@scarf/scarf": "^1.4.0"
26
+ },
27
+ "scarfSettings": {
28
+ "skipTraversal": true
29
+ },
24
30
  "devDependencies": {
25
31
  "@types/node": "^18.11.18",
26
32
  "@typescript-eslint/eslint-plugin": "^5.48.0",
@@ -29,9 +35,9 @@
29
35
  "typescript": "^4.9.4"
30
36
  },
31
37
  "optionalDependencies": {
32
- "@restatedev/restate-linux-x64": "1.1.6",
33
- "@restatedev/restate-linux-arm64": "1.1.6",
34
- "@restatedev/restate-darwin-x64": "1.1.6",
35
- "@restatedev/restate-darwin-arm64": "1.1.6"
38
+ "@restatedev/restate-linux-x64": "1.2.0-rc.1",
39
+ "@restatedev/restate-linux-arm64": "1.2.0-rc.1",
40
+ "@restatedev/restate-darwin-x64": "1.2.0-rc.1",
41
+ "@restatedev/restate-darwin-arm64": "1.2.0-rc.1"
36
42
  }
37
43
  }
package/src/index.ts CHANGED
@@ -1,7 +1,19 @@
1
1
  #!/usr/bin/env node
2
2
 
3
+ /*
4
+ * Copyright (c) 2023 - 2025 Restate Software, Inc., Restate GmbH.
5
+ * All rights reserved.
6
+ *
7
+ * Use of this software is governed by the Business Source License
8
+ * included in the LICENSE file.
9
+ *
10
+ * As of the Change Date specified in that file, in accordance with
11
+ * the Business Source License, use of this software will be governed
12
+ * by the Apache License, Version 2.0.
13
+ */
14
+
3
15
  import { spawnSync } from "child_process";
4
- import os from 'node:os';
16
+ import os from "node:os";
5
17
 
6
18
  function getExePath() {
7
19
  const arch = os.arch();
@@ -11,7 +23,7 @@ function getExePath() {
11
23
  return require.resolve(`@restatedev/restate-${op}-${arch}/bin/restate`);
12
24
  } catch (e) {
13
25
  throw new Error(
14
- `Couldn't find application binary inside node_modules for ${op}-${arch}`
26
+ `Couldn't find application binary inside node_modules for ${op}-${arch}`,
15
27
  );
16
28
  }
17
29
  }