create-drobek-module 0.8.0 → 0.9.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/dist/index.js CHANGED
@@ -23,7 +23,7 @@ export const TEMPLATE_DIR = fileURLToPath(new URL('../template', import.meta.url
23
23
  const MODULE_NAME_RE = /^[a-z][a-z0-9]{1,30}$/;
24
24
  const RESERVED = ['sdk', 'v1', 'drobek', 'internal', 'errors'];
25
25
  /** The modules drobek ships: a new module needs its own name (replacing one is an operator decision, docs/MODULES.md). */
26
- const BUILT_IN = ['auth', 'email', 'forms', 'data', 'proxy', 'files', 'sync', 'oidc'];
26
+ const BUILT_IN = ['auth', 'email', 'forms', 'data', 'proxy', 'files', 'sync', 'oidc', 'webhooks'];
27
27
  const PACKAGE_RE = /^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*$/;
28
28
  /** Resolve `<name>` (a short name, `drobek-module-<x>` or a scoped package) to package, module and directory names. */
29
29
  export function parseTarget(input, moduleOverride) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-drobek-module",
3
- "version": "0.8.0",
3
+ "version": "0.9.3",
4
4
  "description": "Scaffold a drobek platform module: npm create drobek-module@latest <name> — routes, SDK, a migration, SKILL.md, vitest + PGlite tests and the checkSkill gate.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "type": "module",
@@ -44,7 +44,7 @@ task selfhost:module:add -- {{package}}@0.1.0 # or the URL of a packed tarba
44
44
  and add the module to `DROBEK_MODULES` in `.env.production`:
45
45
 
46
46
  ```sh
47
- DROBEK_MODULES=auth,email,forms,data,proxy,files,sync,oidc,{{entry}}
47
+ DROBEK_MODULES=auth,email,forms,data,proxy,files,sync,oidc,webhooks,{{entry}}
48
48
  ```
49
49
 
50
50
  Then restart drobek (see the self-hosting guide). The server refuses a module whose