@checkstack/scripts 0.3.0 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@checkstack/scripts",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Checkstack tooling: plugin scaffolding, codegen, and the plugin-pack CLI used by external plugin authors.",
5
5
  "license": "Elastic-2.0",
6
6
  "type": "module",
@@ -22,7 +22,7 @@
22
22
  "typecheck": "tsgo -b"
23
23
  },
24
24
  "dependencies": {
25
- "@checkstack/common": "0.8.0",
25
+ "@checkstack/common": "0.9.0",
26
26
  "inquirer": "^13.4.1",
27
27
  "handlebars": "^4.7.8",
28
28
  "tar": "^7.4.3"
@@ -23,6 +23,12 @@ describe("CLI Template Scaffolding", () => {
23
23
  const rootDir = path.resolve(__dirname, "../../..");
24
24
  const scaffoldsDir = path.join(rootDir, TEST_SCAFFOLDS_DIR);
25
25
 
26
+ // bun:test gives each hook a 5s default timeout. Both `beforeAll` and
27
+ // `afterAll` shell out to `bun install` (which dwarfs that on a cold
28
+ // CI runner), so we extend the hook timeout to match the inner
29
+ // execSync ceiling. Without this the hook is aborted while the
30
+ // subprocess is still running and every `it` in the suite shows up as
31
+ // `(unnamed) [5006.01ms]` — the source of past CI flakes.
26
32
  beforeAll(() => {
27
33
  registerHelpers();
28
34
 
@@ -59,7 +65,7 @@ describe("CLI Template Scaffolding", () => {
59
65
  stdio: "pipe",
60
66
  timeout: 120_000,
61
67
  });
62
- });
68
+ }, 180_000);
63
69
 
64
70
  afterAll(() => {
65
71
  // Cleanup all test packages
@@ -73,7 +79,7 @@ describe("CLI Template Scaffolding", () => {
73
79
  stdio: "pipe",
74
80
  timeout: 60_000,
75
81
  });
76
- });
82
+ }, 120_000);
77
83
 
78
84
  for (const pluginType of PLUGIN_TYPES) {
79
85
  const pluginName = `${TEST_BASE_NAME}-${pluginType}`;