create-substrat 0.8.1 → 0.8.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/index.js CHANGED
@@ -36,11 +36,11 @@ const TEMPLATE = join(HERE, 'template');
36
36
  // The runtime packages release together off one version line (the changesets `fixed`
37
37
  // group), so one constant is right for all of them. Engines do NOT share a line —
38
38
  // each versions on its own, so one pin per engine, deliberately.
39
- const SUBSTRAT = '^0.91.1';
40
- const ENGINE_WORKORDER = '^0.9.2';
41
- const ENGINE_INVOICING = '^0.9.7';
39
+ const SUBSTRAT = '^0.93.0';
40
+ const ENGINE_WORKORDER = '^0.10.1';
41
+ const ENGINE_INVOICING = '^0.9.9';
42
42
  const BOUNDARY_LINT = '^0.2.0';
43
- const DEV_ISSUER = '^0.1.5';
43
+ const DEV_ISSUER = '^0.1.7';
44
44
 
45
45
  const DOCS = 'https://substrat.net';
46
46
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-substrat",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Scaffold a Substrat vertical — `npm create substrat <dir>`.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -1,3 +1,4 @@
1
+ <!-- Adapted by hand from the substrat skill (.claude/skills/substrat/SKILL.md in substrat-run/substrat) — NOT emitted from it. The two diverge on purpose; tools/playbook-sync.mts fails CI when the skill moves so a human ports what belongs here. Edit this file directly. -->
1
2
  # Playbook — build a vertical on Substrat
2
3
 
3
4
  The always-on rules live in [`AGENTS.md`](../AGENTS.md); read them first. This playbook is
@@ -121,7 +121,11 @@ interface Env {
121
121
  function nodeFor(req: Request, env: Env): Node {
122
122
  let routed;
123
123
  try {
124
- routed = readRoutedNode(req.headers, { expectedSecret: env.ROUTER_SECRET });
124
+ routed = readRoutedNode(req.headers, {
125
+ expectedSecret: env.ROUTER_SECRET,
126
+ // #966: an unsigned assertion is refused unless this is an un-routed dev instance.
127
+ allowUnsigned: env.ALLOW_DEV_NODE === 'true',
128
+ });
125
129
  } catch (e) {
126
130
  if (e instanceof RouterAssertionError) throw new HTTPException(400, { message: e.message });
127
131
  throw e;