create-checkstack-plugin 0.1.1 → 0.1.3

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": "create-checkstack-plugin",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Scaffold a standalone Checkstack plugin workspace (common + backend + frontend) with concrete published versions, ready to `bun install && bun run dev`.",
5
5
  "license": "Elastic-2.0",
6
6
  "type": "module",
@@ -21,7 +21,7 @@
21
21
  "typecheck": "tsgo -b"
22
22
  },
23
23
  "dependencies": {
24
- "@checkstack/scripts": "0.4.0",
24
+ "@checkstack/scripts": "0.4.2",
25
25
  "inquirer": "^13.4.1",
26
26
  "zod": "^4.2.1"
27
27
  },
@@ -36,6 +36,9 @@ describe("buildVerdaccioConfig", () => {
36
36
  expect(yaml).toContain("publish: $anonymous");
37
37
  expect(yaml).toContain("listen: 0.0.0.0:4999");
38
38
  expect(yaml).toContain('storage: "/tmp/store"');
39
+ // Large bundled platform tarballs must not hit Verdaccio's 10mb default
40
+ // body cap (413 Payload Too Large).
41
+ expect(yaml).toContain("max_body_size: 500mb");
39
42
  // Falls back to the public registry for third-party transitive deps.
40
43
  expect(yaml).toContain("proxy: npmjs");
41
44
  });
@@ -81,6 +81,10 @@ export function buildVerdaccioConfig({
81
81
  " access: $all",
82
82
  " publish: $anonymous",
83
83
  " proxy: npmjs",
84
+ // Bundled platform packages (e.g. @checkstack/frontend, @checkstack/ui)
85
+ // ship large tarballs that blow past Verdaccio's 10mb default body cap and
86
+ // get rejected with a 413. Raise the ceiling well above the largest pack.
87
+ "max_body_size: 500mb",
84
88
  "log: { type: stdout, format: pretty, level: warn }",
85
89
  `listen: 0.0.0.0:${port}`,
86
90
  "",