@decohere/scaffold 0.0.1-dev.118 → 0.0.1-dev.119

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.
Files changed (45) hide show
  1. package/commonjs/src/add-api.action.js +1 -1
  2. package/commonjs/src/add-api.command.js +1 -1
  3. package/commonjs/src/add.command.js +1 -1
  4. package/commonjs/src/add.module.js +1 -1
  5. package/commonjs/src/auth0-configure.action.js +1 -1
  6. package/commonjs/src/auth0-configure.command.js +1 -1
  7. package/commonjs/src/auth0-login.action.js +1 -1
  8. package/commonjs/src/auth0-login.command.js +1 -1
  9. package/commonjs/src/auth0.command.js +1 -1
  10. package/commonjs/src/auth0.module.js +1 -1
  11. package/commonjs/src/create.command.js +1 -1
  12. package/commonjs/src/create.module.js +1 -1
  13. package/commonjs/src/webapi/features/finalize.feature.js +1 -1
  14. package/commonjs/src/webapi.action.js +1 -1
  15. package/commonjs/src/webapi.command.js +1 -1
  16. package/es6/src/add-api.action.js +1 -1
  17. package/es6/src/add-api.command.js +1 -1
  18. package/es6/src/add.command.js +1 -1
  19. package/es6/src/add.module.js +1 -1
  20. package/es6/src/auth0-configure.action.js +1 -1
  21. package/es6/src/auth0-configure.command.js +1 -1
  22. package/es6/src/auth0-login.action.js +1 -1
  23. package/es6/src/auth0-login.command.js +1 -1
  24. package/es6/src/auth0.command.js +1 -1
  25. package/es6/src/auth0.module.js +1 -1
  26. package/es6/src/create.command.js +1 -1
  27. package/es6/src/create.module.js +1 -1
  28. package/es6/src/webapi/features/finalize.feature.js +1 -1
  29. package/es6/src/webapi.action.js +1 -1
  30. package/es6/src/webapi.command.js +1 -1
  31. package/package.json +3 -3
  32. package/types/src/add-api.action.d.ts +1 -1
  33. package/types/src/add-api.command.d.ts +1 -1
  34. package/types/src/add.command.d.ts +2 -2
  35. package/types/src/add.module.d.ts +1 -1
  36. package/types/src/auth0-configure.action.d.ts +1 -1
  37. package/types/src/auth0-configure.command.d.ts +1 -1
  38. package/types/src/auth0-login.action.d.ts +1 -1
  39. package/types/src/auth0-login.command.d.ts +1 -1
  40. package/types/src/auth0.command.d.ts +2 -2
  41. package/types/src/auth0.module.d.ts +1 -1
  42. package/types/src/create.command.d.ts +2 -2
  43. package/types/src/create.module.d.ts +1 -1
  44. package/types/src/webapi.action.d.ts +1 -1
  45. package/types/src/webapi.command.d.ts +1 -1
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "AddApiAction", {
9
9
  }
10
10
  });
11
11
  const _decorators = require("@decohere/crucible/decorators");
12
- const _cli = require("@decohere/core/cli");
12
+ const _cli = require("@decohere/devkit/cli");
13
13
  const _clioptions = require("./webapi/cli-options.js");
14
14
  function _ts_decorate(decorators, target, key, desc) {
15
15
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "AddApiCommand", {
8
8
  return AddApiCommand;
9
9
  }
10
10
  });
11
- const _cli = require("@decohere/core/cli");
11
+ const _cli = require("@decohere/devkit/cli");
12
12
  const _addapiaction = require("./add-api.action.js");
13
13
  const _clioptions = require("./webapi/cli-options.js");
14
14
  class AddApiCommand extends _cli.DecohereCommand {
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "AddCommand", {
8
8
  return AddCommand;
9
9
  }
10
10
  });
11
- const _cli = require("@decohere/core/cli");
11
+ const _cli = require("@decohere/devkit/cli");
12
12
  class AddCommand extends _cli.DecohereCommand {
13
13
  constructor(commands, handler){
14
14
  super(AddCommand);
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "AddModule", {
8
8
  return AddModule;
9
9
  }
10
10
  });
11
- const _cli = require("@decohere/core/cli");
11
+ const _cli = require("@decohere/devkit/cli");
12
12
  const _addcommand = require("./add.command.js");
13
13
  const _addapiaction = require("./add-api.action.js");
14
14
  const _addapicommand = require("./add-api.command.js");
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "Auth0ConfigureAction", {
9
9
  }
10
10
  });
11
11
  const _decorators = require("@decohere/crucible/decorators");
12
- const _cli = require("@decohere/core/cli");
12
+ const _cli = require("@decohere/devkit/cli");
13
13
  const _auth0commands = require("./webapi/auth0-commands.js");
14
14
  function _ts_decorate(decorators, target, key, desc) {
15
15
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "Auth0ConfigureCommand", {
8
8
  return Auth0ConfigureCommand;
9
9
  }
10
10
  });
11
- const _cli = require("@decohere/core/cli");
11
+ const _cli = require("@decohere/devkit/cli");
12
12
  const _auth0configureaction = require("./auth0-configure.action.js");
13
13
  class Auth0ConfigureCommand extends _cli.DecohereCommand {
14
14
  get actions() {
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "Auth0LoginAction", {
9
9
  }
10
10
  });
11
11
  const _decorators = require("@decohere/crucible/decorators");
12
- const _cli = require("@decohere/core/cli");
12
+ const _cli = require("@decohere/devkit/cli");
13
13
  const _auth0commands = require("./webapi/auth0-commands.js");
14
14
  function _ts_decorate(decorators, target, key, desc) {
15
15
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "Auth0LoginCommand", {
8
8
  return Auth0LoginCommand;
9
9
  }
10
10
  });
11
- const _cli = require("@decohere/core/cli");
11
+ const _cli = require("@decohere/devkit/cli");
12
12
  const _auth0loginaction = require("./auth0-login.action.js");
13
13
  class Auth0LoginCommand extends _cli.DecohereCommand {
14
14
  get actions() {
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "Auth0Command", {
8
8
  return Auth0Command;
9
9
  }
10
10
  });
11
- const _cli = require("@decohere/core/cli");
11
+ const _cli = require("@decohere/devkit/cli");
12
12
  class Auth0Command extends _cli.DecohereCommand {
13
13
  constructor(commands, handler){
14
14
  super(Auth0Command);
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "Auth0Module", {
8
8
  return Auth0Module;
9
9
  }
10
10
  });
11
- const _cli = require("@decohere/core/cli");
11
+ const _cli = require("@decohere/devkit/cli");
12
12
  const _auth0command = require("./auth0.command.js");
13
13
  const _auth0configureaction = require("./auth0-configure.action.js");
14
14
  const _auth0configurecommand = require("./auth0-configure.command.js");
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "CreateCommand", {
8
8
  return CreateCommand;
9
9
  }
10
10
  });
11
- const _cli = require("@decohere/core/cli");
11
+ const _cli = require("@decohere/devkit/cli");
12
12
  class CreateCommand extends _cli.DecohereCommand {
13
13
  constructor(commands, handler){
14
14
  super(CreateCommand);
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "CreateModule", {
8
8
  return CreateModule;
9
9
  }
10
10
  });
11
- const _cli = require("@decohere/core/cli");
11
+ const _cli = require("@decohere/devkit/cli");
12
12
  const _createcommand = require("./create.command.js");
13
13
  const _webapiaction = require("./webapi.action.js");
14
14
  const _webapicommand = require("./webapi.command.js");
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "FinalizeFeature", {
10
10
  });
11
11
  const _nodefs = require("node:fs");
12
12
  const _nodepath = require("node:path");
13
- const _interop = require("@decohere/core/interop");
13
+ const _interop = require("@decohere/devkit/interop");
14
14
  const _prompt = require("../../domain/prompt.js");
15
15
  const _const = require("../../models/const.js");
16
16
  const _workspacereadme = require("../workspace-readme.js");
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "WebapiAction", {
9
9
  }
10
10
  });
11
11
  const _decorators = require("@decohere/crucible/decorators");
12
- const _cli = require("@decohere/core/cli");
12
+ const _cli = require("@decohere/devkit/cli");
13
13
  const _clioptions = require("./webapi/cli-options.js");
14
14
  function _ts_decorate(decorators, target, key, desc) {
15
15
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "WebapiCommand", {
8
8
  return WebapiCommand;
9
9
  }
10
10
  });
11
- const _cli = require("@decohere/core/cli");
11
+ const _cli = require("@decohere/devkit/cli");
12
12
  const _clioptions = require("./webapi/cli-options.js");
13
13
  const _webapiaction = require("./webapi.action.js");
14
14
  class WebapiCommand extends _cli.DecohereCommand {
@@ -5,7 +5,7 @@ function _ts_decorate(decorators, target, key, desc) {
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  }
7
7
  import { injectable } from "@decohere/crucible/decorators";
8
- import { ActionResponse } from "@decohere/core/cli";
8
+ import { ActionResponse } from "@decohere/devkit/cli";
9
9
  import { runScaffoldApi, toApiOptions } from "./webapi/cli-options.js";
10
10
  export class AddApiAction {
11
11
  async run(options) {
@@ -1,4 +1,4 @@
1
- import { DecohereCommand } from "@decohere/core/cli";
1
+ import { DecohereCommand } from "@decohere/devkit/cli";
2
2
  import { AddApiAction } from "./add-api.action.js";
3
3
  import { addWebapiFeatureOptions } from "./webapi/cli-options.js";
4
4
  export class AddApiCommand extends DecohereCommand {
@@ -1,4 +1,4 @@
1
- import { DecohereCommand } from "@decohere/core/cli";
1
+ import { DecohereCommand } from "@decohere/devkit/cli";
2
2
  export class AddCommand extends DecohereCommand {
3
3
  constructor(commands, handler){
4
4
  super(AddCommand);
@@ -1,4 +1,4 @@
1
- import { ModuleManifest } from "@decohere/core/cli";
1
+ import { ModuleManifest } from "@decohere/devkit/cli";
2
2
  import { AddCommand } from "./add.command.js";
3
3
  import { AddApiAction } from "./add-api.action.js";
4
4
  import { AddApiCommand } from "./add-api.command.js";
@@ -5,7 +5,7 @@ function _ts_decorate(decorators, target, key, desc) {
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  }
7
7
  import { injectable } from "@decohere/crucible/decorators";
8
- import { ActionResponse } from "@decohere/core/cli";
8
+ import { ActionResponse } from "@decohere/devkit/cli";
9
9
  import { runAuth0Configure } from "./webapi/auth0-commands.js";
10
10
  export class Auth0ConfigureAction {
11
11
  async run(options) {
@@ -1,4 +1,4 @@
1
- import { DecohereCommand } from "@decohere/core/cli";
1
+ import { DecohereCommand } from "@decohere/devkit/cli";
2
2
  import { Auth0ConfigureAction } from "./auth0-configure.action.js";
3
3
  export class Auth0ConfigureCommand extends DecohereCommand {
4
4
  get actions() {
@@ -5,7 +5,7 @@ function _ts_decorate(decorators, target, key, desc) {
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  }
7
7
  import { injectable } from "@decohere/crucible/decorators";
8
- import { ActionResponse } from "@decohere/core/cli";
8
+ import { ActionResponse } from "@decohere/devkit/cli";
9
9
  import { runAuth0Login } from "./webapi/auth0-commands.js";
10
10
  export class Auth0LoginAction {
11
11
  async run() {
@@ -1,4 +1,4 @@
1
- import { DecohereCommand } from "@decohere/core/cli";
1
+ import { DecohereCommand } from "@decohere/devkit/cli";
2
2
  import { Auth0LoginAction } from "./auth0-login.action.js";
3
3
  export class Auth0LoginCommand extends DecohereCommand {
4
4
  get actions() {
@@ -1,4 +1,4 @@
1
- import { DecohereCommand } from "@decohere/core/cli";
1
+ import { DecohereCommand } from "@decohere/devkit/cli";
2
2
  export class Auth0Command extends DecohereCommand {
3
3
  constructor(commands, handler){
4
4
  super(Auth0Command);
@@ -1,4 +1,4 @@
1
- import { ModuleManifest } from "@decohere/core/cli";
1
+ import { ModuleManifest } from "@decohere/devkit/cli";
2
2
  import { Auth0Command } from "./auth0.command.js";
3
3
  import { Auth0ConfigureAction } from "./auth0-configure.action.js";
4
4
  import { Auth0ConfigureCommand } from "./auth0-configure.command.js";
@@ -1,4 +1,4 @@
1
- import { DecohereCommand } from "@decohere/core/cli";
1
+ import { DecohereCommand } from "@decohere/devkit/cli";
2
2
  export class CreateCommand extends DecohereCommand {
3
3
  constructor(commands, handler){
4
4
  super(CreateCommand);
@@ -1,4 +1,4 @@
1
- import { ModuleManifest } from "@decohere/core/cli";
1
+ import { ModuleManifest } from "@decohere/devkit/cli";
2
2
  import { CreateCommand } from "./create.command.js";
3
3
  import { WebapiAction } from "./webapi.action.js";
4
4
  import { WebapiCommand } from "./webapi.command.js";
@@ -1,6 +1,6 @@
1
1
  import { readFileSync } from "node:fs";
2
2
  import { join } from "node:path";
3
- import { detectPackageManager, promptForPackageManager } from "@decohere/core/interop";
3
+ import { detectPackageManager, promptForPackageManager } from "@decohere/devkit/interop";
4
4
  import { ask, closePrompt } from "../../domain/prompt.js";
5
5
  import { WELL_KNOWN_FILES } from "../../models/const.js";
6
6
  import { writeWorkspaceReadme } from "../workspace-readme.js";
@@ -5,7 +5,7 @@ function _ts_decorate(decorators, target, key, desc) {
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  }
7
7
  import { injectable } from "@decohere/crucible/decorators";
8
- import { ActionResponse } from "@decohere/core/cli";
8
+ import { ActionResponse } from "@decohere/devkit/cli";
9
9
  import { runScaffoldApi, toApiOptions } from "./webapi/cli-options.js";
10
10
  export class WebapiAction {
11
11
  async run(options) {
@@ -1,4 +1,4 @@
1
- import { DecohereCommand } from "@decohere/core/cli";
1
+ import { DecohereCommand } from "@decohere/devkit/cli";
2
2
  import { addWebapiFeatureOptions, collectName } from "./webapi/cli-options.js";
3
3
  import { WebapiAction } from "./webapi.action.js";
4
4
  export class WebapiCommand extends DecohereCommand {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decohere/scaffold",
3
- "version": "0.0.1-dev.118",
3
+ "version": "0.0.1-dev.119",
4
4
  "description": "Decohere project scaffolder (runs inside ghcr.io/typesmiths/decohere/create)",
5
5
  "keywords": [
6
6
  "decohere",
@@ -22,8 +22,8 @@
22
22
  "test": "echo \"Error: no test specified\" && exit 1"
23
23
  },
24
24
  "dependencies": {
25
- "@decohere/core": "0.0.1-dev.118",
26
- "@decohere/crucible": "0.0.1-dev.118",
25
+ "@decohere/crucible": "0.0.1-dev.119",
26
+ "@decohere/devkit": "0.0.1-dev.119",
27
27
  "commander": "^13.1.0",
28
28
  "openapi-to-postmanv2": "^5.0.0",
29
29
  "yaml": "^2.9.1"
@@ -1,4 +1,4 @@
1
- import { type Action, ActionResponse } from "@decohere/core/cli";
1
+ import { type Action, ActionResponse } from "@decohere/devkit/cli";
2
2
  export type AddApiOptions = {
3
3
  apiName?: string;
4
4
  d?: string;
@@ -1,4 +1,4 @@
1
- import { DecohereCommand } from "@decohere/core/cli";
1
+ import { DecohereCommand } from "@decohere/devkit/cli";
2
2
  import { AddApiAction } from "./add-api.action.js";
3
3
  export declare class AddApiCommand extends DecohereCommand {
4
4
  get actions(): (typeof AddApiAction)[];
@@ -1,5 +1,5 @@
1
- import type { Actions } from "@decohere/core/cli";
2
- import { type CommandHandler, type CommandResponse, type CommandType, DecohereCommand } from "@decohere/core/cli";
1
+ import type { Actions } from "@decohere/devkit/cli";
2
+ import { type CommandHandler, type CommandResponse, type CommandType, DecohereCommand } from "@decohere/devkit/cli";
3
3
  export declare class AddCommand extends DecohereCommand {
4
4
  constructor(commands: Record<string, CommandType>, handler: CommandHandler);
5
5
  run(_actions: Actions, _options: never): Promise<CommandResponse>;
@@ -1,4 +1,4 @@
1
- import { ModuleManifest } from "@decohere/core/cli";
1
+ import { ModuleManifest } from "@decohere/devkit/cli";
2
2
  import { AddCommand } from "./add.command.js";
3
3
  import { AddApiAction } from "./add-api.action.js";
4
4
  import { AddApiCommand } from "./add-api.command.js";
@@ -1,4 +1,4 @@
1
- import { type Action, ActionResponse } from "@decohere/core/cli";
1
+ import { type Action, ActionResponse } from "@decohere/devkit/cli";
2
2
  export type Auth0ConfigureOptions = {
3
3
  d?: string;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { DecohereCommand } from "@decohere/core/cli";
1
+ import { DecohereCommand } from "@decohere/devkit/cli";
2
2
  import { Auth0ConfigureAction } from "./auth0-configure.action.js";
3
3
  export declare class Auth0ConfigureCommand extends DecohereCommand {
4
4
  get actions(): (typeof Auth0ConfigureAction)[];
@@ -1,4 +1,4 @@
1
- import { type Action, ActionResponse } from "@decohere/core/cli";
1
+ import { type Action, ActionResponse } from "@decohere/devkit/cli";
2
2
  export declare class Auth0LoginAction implements Action {
3
3
  run(): Promise<ActionResponse>;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { DecohereCommand } from "@decohere/core/cli";
1
+ import { DecohereCommand } from "@decohere/devkit/cli";
2
2
  import { Auth0LoginAction } from "./auth0-login.action.js";
3
3
  export declare class Auth0LoginCommand extends DecohereCommand {
4
4
  get actions(): (typeof Auth0LoginAction)[];
@@ -1,5 +1,5 @@
1
- import type { Actions } from "@decohere/core/cli";
2
- import { type CommandHandler, type CommandResponse, type CommandType, DecohereCommand } from "@decohere/core/cli";
1
+ import type { Actions } from "@decohere/devkit/cli";
2
+ import { type CommandHandler, type CommandResponse, type CommandType, DecohereCommand } from "@decohere/devkit/cli";
3
3
  export declare class Auth0Command extends DecohereCommand {
4
4
  constructor(commands: Record<string, CommandType>, handler: CommandHandler);
5
5
  run(_actions: Actions, _options: never): Promise<CommandResponse>;
@@ -1,4 +1,4 @@
1
- import { ModuleManifest } from "@decohere/core/cli";
1
+ import { ModuleManifest } from "@decohere/devkit/cli";
2
2
  import { Auth0Command } from "./auth0.command.js";
3
3
  import { Auth0ConfigureAction } from "./auth0-configure.action.js";
4
4
  import { Auth0ConfigureCommand } from "./auth0-configure.command.js";
@@ -1,5 +1,5 @@
1
- import type { Actions } from "@decohere/core/cli";
2
- import { type CommandHandler, type CommandResponse, type CommandType, DecohereCommand } from "@decohere/core/cli";
1
+ import type { Actions } from "@decohere/devkit/cli";
2
+ import { type CommandHandler, type CommandResponse, type CommandType, DecohereCommand } from "@decohere/devkit/cli";
3
3
  export declare class CreateCommand extends DecohereCommand {
4
4
  constructor(commands: Record<string, CommandType>, handler: CommandHandler);
5
5
  run(_actions: Actions, _options: never): Promise<CommandResponse>;
@@ -1,4 +1,4 @@
1
- import { ModuleManifest } from "@decohere/core/cli";
1
+ import { ModuleManifest } from "@decohere/devkit/cli";
2
2
  import { CreateCommand } from "./create.command.js";
3
3
  import { WebapiAction } from "./webapi.action.js";
4
4
  import { WebapiCommand } from "./webapi.command.js";
@@ -1,4 +1,4 @@
1
- import { type Action, ActionResponse } from "@decohere/core/cli";
1
+ import { type Action, ActionResponse } from "@decohere/devkit/cli";
2
2
  export type WebapiOptions = {
3
3
  directory?: string;
4
4
  d?: string;
@@ -1,4 +1,4 @@
1
- import { DecohereCommand } from "@decohere/core/cli";
1
+ import { DecohereCommand } from "@decohere/devkit/cli";
2
2
  import { WebapiAction } from "./webapi.action.js";
3
3
  export declare class WebapiCommand extends DecohereCommand {
4
4
  get actions(): (typeof WebapiAction)[];