@packmind/cli 0.10.0 → 0.11.0
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/main.cjs +23 -20
- package/package.json +1 -1
package/main.cjs
CHANGED
|
@@ -3852,7 +3852,7 @@ var require_package = __commonJS({
|
|
|
3852
3852
|
"apps/cli/package.json"(exports2, module2) {
|
|
3853
3853
|
module2.exports = {
|
|
3854
3854
|
name: "@packmind/cli",
|
|
3855
|
-
version: "0.
|
|
3855
|
+
version: "0.11.0",
|
|
3856
3856
|
description: "A command-line interface for Packmind linting and code quality checks",
|
|
3857
3857
|
private: false,
|
|
3858
3858
|
bin: {
|
|
@@ -4034,17 +4034,17 @@ var UserJoinedOrganizationEvent = class extends PackmindEvent {
|
|
|
4034
4034
|
}
|
|
4035
4035
|
};
|
|
4036
4036
|
|
|
4037
|
-
// packages/types/src/accounts/events/
|
|
4038
|
-
var
|
|
4037
|
+
// packages/types/src/accounts/events/AnonymousTrialStartedEvent.ts
|
|
4038
|
+
var AnonymousTrialStartedEvent = class extends PackmindEvent {
|
|
4039
4039
|
static {
|
|
4040
|
-
this.eventName = "accounts.trial.started";
|
|
4040
|
+
this.eventName = "accounts.anonymous-trial.started";
|
|
4041
4041
|
}
|
|
4042
4042
|
};
|
|
4043
4043
|
|
|
4044
|
-
// packages/types/src/accounts/events/
|
|
4045
|
-
var
|
|
4044
|
+
// packages/types/src/accounts/events/AnonymousTrialAccountActivatedEvent.ts
|
|
4045
|
+
var AnonymousTrialAccountActivatedEvent = class extends PackmindEvent {
|
|
4046
4046
|
static {
|
|
4047
|
-
this.eventName = "accounts.trial.activated";
|
|
4047
|
+
this.eventName = "accounts.anonymous-trial.activated";
|
|
4048
4048
|
}
|
|
4049
4049
|
};
|
|
4050
4050
|
|
|
@@ -4058,27 +4058,30 @@ var createRecipeId = brandedIdFactory();
|
|
|
4058
4058
|
// packages/types/src/recipes/RecipeVersion.ts
|
|
4059
4059
|
var createRecipeVersionId = brandedIdFactory();
|
|
4060
4060
|
|
|
4061
|
-
// packages/types/src/recipes/events/
|
|
4062
|
-
var
|
|
4061
|
+
// packages/types/src/recipes/events/CommandCreatedEvent.ts
|
|
4062
|
+
var CommandCreatedEvent = class extends UserEvent {
|
|
4063
4063
|
static {
|
|
4064
4064
|
this.eventName = "recipes.recipe.created";
|
|
4065
4065
|
}
|
|
4066
4066
|
};
|
|
4067
4067
|
|
|
4068
|
-
// packages/types/src/recipes/events/
|
|
4069
|
-
var
|
|
4068
|
+
// packages/types/src/recipes/events/CommandDeletedEvent.ts
|
|
4069
|
+
var CommandDeletedEvent = class extends UserEvent {
|
|
4070
4070
|
static {
|
|
4071
4071
|
this.eventName = "recipes.recipe.deleted";
|
|
4072
4072
|
}
|
|
4073
4073
|
};
|
|
4074
4074
|
|
|
4075
|
-
// packages/types/src/recipes/events/
|
|
4076
|
-
var
|
|
4075
|
+
// packages/types/src/recipes/events/CommandUpdatedEvent.ts
|
|
4076
|
+
var CommandUpdatedEvent = class extends UserEvent {
|
|
4077
4077
|
static {
|
|
4078
4078
|
this.eventName = "recipes.recipe.updated";
|
|
4079
4079
|
}
|
|
4080
4080
|
};
|
|
4081
4081
|
|
|
4082
|
+
// packages/types/src/skills/SkillId.ts
|
|
4083
|
+
var createSkillId = brandedIdFactory();
|
|
4084
|
+
|
|
4082
4085
|
// packages/types/src/deployments/TargetId.ts
|
|
4083
4086
|
var createTargetId = brandedIdFactory();
|
|
4084
4087
|
|
|
@@ -10990,7 +10993,7 @@ async function showPackageHandler(args2, deps) {
|
|
|
10990
10993
|
log("");
|
|
10991
10994
|
}
|
|
10992
10995
|
if (pkg.recipes && pkg.recipes.length > 0) {
|
|
10993
|
-
log("
|
|
10996
|
+
log("Commands:");
|
|
10994
10997
|
pkg.recipes.forEach((recipe) => {
|
|
10995
10998
|
if (recipe.summary) {
|
|
10996
10999
|
log(` - ${recipe.name}: ${recipe.summary}`);
|
|
@@ -11121,7 +11124,7 @@ async function executeInstallForDirectory(directory, deps) {
|
|
|
11121
11124
|
// Pass for consistency
|
|
11122
11125
|
});
|
|
11123
11126
|
log(
|
|
11124
|
-
` Installing ${result.recipesCount}
|
|
11127
|
+
` Installing ${result.recipesCount} commands and ${result.standardsCount} standards...`
|
|
11125
11128
|
);
|
|
11126
11129
|
log(
|
|
11127
11130
|
` added ${result.filesCreated} files, changed ${result.filesUpdated} files, removed ${result.filesDeleted} files`
|
|
@@ -11207,7 +11210,7 @@ async function installPackagesHandler(args2, deps) {
|
|
|
11207
11210
|
log(" packmind-cli install backend frontend");
|
|
11208
11211
|
log(" packmind-cli install --list # Show available packages");
|
|
11209
11212
|
log("");
|
|
11210
|
-
log("Install
|
|
11213
|
+
log("Install commands and standards from the specified packages.");
|
|
11211
11214
|
exit(0);
|
|
11212
11215
|
return {
|
|
11213
11216
|
filesCreated: 0,
|
|
@@ -11232,7 +11235,7 @@ async function installPackagesHandler(args2, deps) {
|
|
|
11232
11235
|
// Pass previous config for change detection
|
|
11233
11236
|
});
|
|
11234
11237
|
log(
|
|
11235
|
-
`Installing ${result.recipesCount}
|
|
11238
|
+
`Installing ${result.recipesCount} commands and ${result.standardsCount} standards...`
|
|
11236
11239
|
);
|
|
11237
11240
|
log(
|
|
11238
11241
|
`
|
|
@@ -11449,7 +11452,7 @@ removed ${result.filesDeleted} files`);
|
|
|
11449
11452
|
});
|
|
11450
11453
|
if (result.recipesCount > 0 || result.standardsCount > 0) {
|
|
11451
11454
|
log(
|
|
11452
|
-
`Removing ${result.recipesCount}
|
|
11455
|
+
`Removing ${result.recipesCount} commands and ${result.standardsCount} standards...`
|
|
11453
11456
|
);
|
|
11454
11457
|
}
|
|
11455
11458
|
log(`
|
|
@@ -11597,7 +11600,7 @@ async function recursiveInstallHandler(_args, deps) {
|
|
|
11597
11600
|
// apps/cli/src/infra/commands/InstallCommand.ts
|
|
11598
11601
|
var installCommand = (0, import_cmd_ts2.command)({
|
|
11599
11602
|
name: "install",
|
|
11600
|
-
description: "Install
|
|
11603
|
+
description: "Install commands and standards from specified packages and save them to the current directory",
|
|
11601
11604
|
aliases: ["pull"],
|
|
11602
11605
|
args: {
|
|
11603
11606
|
list: (0, import_cmd_ts2.flag)({
|
|
@@ -11659,7 +11662,7 @@ var installCommand = (0, import_cmd_ts2.command)({
|
|
|
11659
11662
|
var import_cmd_ts3 = __toESM(require_cjs());
|
|
11660
11663
|
var uninstallCommand = (0, import_cmd_ts3.command)({
|
|
11661
11664
|
name: "uninstall",
|
|
11662
|
-
description: "Uninstall packages and remove their
|
|
11665
|
+
description: "Uninstall packages and remove their commands and standards from the current directory",
|
|
11663
11666
|
args: {
|
|
11664
11667
|
packagesSlugs: (0, import_cmd_ts3.restPositionals)({
|
|
11665
11668
|
type: import_cmd_ts3.string,
|