@decohere/scaffold 0.0.1-dev.117 → 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.
- package/commonjs/src/add-api.action.js +1 -1
- package/commonjs/src/add-api.command.js +1 -1
- package/commonjs/src/add.command.js +1 -1
- package/commonjs/src/add.module.js +1 -1
- package/commonjs/src/auth0-configure.action.js +1 -1
- package/commonjs/src/auth0-configure.command.js +1 -1
- package/commonjs/src/auth0-login.action.js +1 -1
- package/commonjs/src/auth0-login.command.js +1 -1
- package/commonjs/src/auth0.command.js +1 -1
- package/commonjs/src/auth0.module.js +1 -1
- package/commonjs/src/create.command.js +1 -1
- package/commonjs/src/create.module.js +1 -1
- package/commonjs/src/webapi/features/finalize.feature.js +1 -1
- package/commonjs/src/webapi.action.js +1 -1
- package/commonjs/src/webapi.command.js +1 -1
- package/es6/src/add-api.action.js +1 -1
- package/es6/src/add-api.command.js +1 -1
- package/es6/src/add.command.js +1 -1
- package/es6/src/add.module.js +1 -1
- package/es6/src/auth0-configure.action.js +1 -1
- package/es6/src/auth0-configure.command.js +1 -1
- package/es6/src/auth0-login.action.js +1 -1
- package/es6/src/auth0-login.command.js +1 -1
- package/es6/src/auth0.command.js +1 -1
- package/es6/src/auth0.module.js +1 -1
- package/es6/src/create.command.js +1 -1
- package/es6/src/create.module.js +1 -1
- package/es6/src/webapi/features/finalize.feature.js +1 -1
- package/es6/src/webapi.action.js +1 -1
- package/es6/src/webapi.command.js +1 -1
- package/package.json +3 -3
- package/types/src/add-api.action.d.ts +1 -1
- package/types/src/add-api.command.d.ts +1 -1
- package/types/src/add.command.d.ts +2 -2
- package/types/src/add.module.d.ts +1 -1
- package/types/src/auth0-configure.action.d.ts +1 -1
- package/types/src/auth0-configure.command.d.ts +1 -1
- package/types/src/auth0-login.action.d.ts +1 -1
- package/types/src/auth0-login.command.d.ts +1 -1
- package/types/src/auth0.command.d.ts +2 -2
- package/types/src/auth0.module.d.ts +1 -1
- package/types/src/create.command.d.ts +2 -2
- package/types/src/create.module.d.ts +1 -1
- package/types/src/webapi.action.d.ts +1 -1
- 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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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 {
|
package/es6/src/add.command.js
CHANGED
package/es6/src/add.module.js
CHANGED
|
@@ -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/
|
|
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) {
|
|
@@ -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/
|
|
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() {
|
package/es6/src/auth0.command.js
CHANGED
package/es6/src/auth0.module.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ModuleManifest } from "@decohere/
|
|
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";
|
package/es6/src/create.module.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ModuleManifest } from "@decohere/
|
|
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/
|
|
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";
|
package/es6/src/webapi.action.js
CHANGED
|
@@ -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/
|
|
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/
|
|
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.
|
|
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/
|
|
26
|
-
"@decohere/
|
|
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,5 +1,5 @@
|
|
|
1
|
-
import type { Actions } from "@decohere/
|
|
2
|
-
import { type CommandHandler, type CommandResponse, type CommandType, DecohereCommand } from "@decohere/
|
|
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 { DecohereCommand } from "@decohere/
|
|
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 { DecohereCommand } from "@decohere/
|
|
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/
|
|
2
|
-
import { type CommandHandler, type CommandResponse, type CommandType, DecohereCommand } from "@decohere/
|
|
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/
|
|
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/
|
|
2
|
-
import { type CommandHandler, type CommandResponse, type CommandType, DecohereCommand } from "@decohere/
|
|
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/
|
|
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";
|