@packmind/cli 0.2.12 → 0.3.1

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 (2) hide show
  1. package/main.cjs +12 -3
  2. package/package.json +2 -1
package/main.cjs CHANGED
@@ -1177,6 +1177,15 @@ var stringToProgrammingLanguage = (input) => {
1177
1177
  );
1178
1178
  };
1179
1179
 
1180
+ // packages/shared/src/types/linter/ActiveDetectionProgram.ts
1181
+ var createActiveDetectionProgramId = brandedIdFactory();
1182
+
1183
+ // packages/shared/src/types/linter/DetectionProgram.ts
1184
+ var createDetectionProgramId = brandedIdFactory();
1185
+
1186
+ // packages/shared/src/types/linter/RuleDetectionAssessment.ts
1187
+ var createRuleDetectionAssessmentId = brandedIdFactory();
1188
+
1180
1189
  // packages/shared/src/mail/SmtpMailService.ts
1181
1190
  var import_nodemailer = __toESM(require("nodemailer"));
1182
1191
 
@@ -4021,8 +4030,8 @@ var lintCommand = (0, import_cmd_ts.command)({
4021
4030
  args: {
4022
4031
  path: (0, import_cmd_ts.positional)({
4023
4032
  displayName: "path",
4024
- description: "Path to lint (e.g., . for current directory)",
4025
- type: import_cmd_ts.string
4033
+ description: "Path to lint (e.g., . for current directory. Default is current directory)",
4034
+ type: (0, import_cmd_ts.optional)(import_cmd_ts.string)
4026
4035
  }),
4027
4036
  logger: (0, import_cmd_ts.option)({
4028
4037
  long: "logger",
@@ -4061,7 +4070,7 @@ var lintCommand = (0, import_cmd_ts.command)({
4061
4070
  );
4062
4071
  const packmindCliHexa = new PackmindCliHexa(packmindLogger);
4063
4072
  const { violations } = await packmindCliHexa.lintFilesInDirectory({
4064
- path: path2,
4073
+ path: path2 ?? ".",
4065
4074
  draftMode: draft,
4066
4075
  standardSlug: rule?.standardSlug,
4067
4076
  ruleId: rule?.ruleId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@packmind/cli",
3
- "version": "0.2.12",
3
+ "version": "0.3.1",
4
4
  "description": "A command-line interface for Packmind linting and code quality checks",
5
5
  "private": false,
6
6
  "bin": {
@@ -11,6 +11,7 @@
11
11
  "main.cjs",
12
12
  "*.wasm",
13
13
  "stubs",
14
+ "CHANGELOG.MD",
14
15
  "node_modules"
15
16
  ],
16
17
  "keywords": [