@checkstack/common 0.6.0 → 0.6.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # @checkstack/common
2
2
 
3
+ ## 0.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - f676e11: Add script execution support and migrate CodeEditor to Monaco
8
+
9
+ **Integration providers** (`@checkstack/integration-script-backend`):
10
+
11
+ - **Script** - Execute TypeScript/JavaScript with context object
12
+ - **Bash** - Execute shell scripts with environment variables ($EVENT*ID, $PAYLOAD*\*)
13
+
14
+ **Health check collectors** (`@checkstack/healthcheck-script-backend`):
15
+
16
+ - **InlineScriptCollector** - Run TypeScript directly for health checks
17
+ - **ExecuteCollector** - Bash syntax highlighting for command field
18
+
19
+ **CodeEditor migration to Monaco** (`@checkstack/ui`):
20
+
21
+ - Replaced CodeMirror with Monaco Editor (VS Code's editor)
22
+ - Full TypeScript/JavaScript IntelliSense with custom type definitions
23
+ - Added `generateTypeDefinitions()` for JSON Schema → TypeScript conversion
24
+ - Removed all CodeMirror dependencies
25
+
26
+ **Type updates** (`@checkstack/common`):
27
+
28
+ - Added `javascript`, `typescript`, and `bash` to `EditorType` union
29
+
30
+ ## 0.6.1
31
+
32
+ ### Patch Changes
33
+
34
+ - 0b9fc58: Fix workspace:\* protocol resolution in published packages
35
+
36
+ Published packages now correctly have resolved dependency versions instead of `workspace:*` references. This is achieved by using `bun publish` which properly resolves workspace protocol references.
37
+
3
38
  ## 0.6.0
4
39
 
5
40
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@checkstack/common",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -18,8 +18,8 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "typescript": "^5.7.2",
21
- "@checkstack/tsconfig": "workspace:*",
22
- "@checkstack/scripts": "workspace:*"
21
+ "@checkstack/tsconfig": "0.0.3",
22
+ "@checkstack/scripts": "0.1.1"
23
23
  },
24
24
  "scripts": {
25
25
  "typecheck": "tsc --noEmit",
package/src/types.ts CHANGED
@@ -19,6 +19,9 @@ import type { AccessRule, InstanceAccessConfig } from "./access-utils";
19
19
  * - "xml": CodeEditor with XML syntax highlighting
20
20
  * - "markdown": CodeEditor with Markdown syntax highlighting
21
21
  * - "formdata": Key/value pair editor (URL-encoded)
22
+ * - "javascript": CodeEditor with JavaScript syntax highlighting and autocomplete
23
+ * - "typescript": CodeEditor with TypeScript syntax highlighting and autocomplete
24
+ * - "shell": CodeEditor with Shell syntax highlighting
22
25
  */
23
26
  export type EditorType =
24
27
  | "none"
@@ -27,7 +30,10 @@ export type EditorType =
27
30
  | "yaml"
28
31
  | "xml"
29
32
  | "markdown"
30
- | "formdata";
33
+ | "formdata"
34
+ | "javascript"
35
+ | "typescript"
36
+ | "shell";
31
37
 
32
38
  /**
33
39
  * Qualifies a resource type with the plugin namespace.