@stackbilt/cli 0.1.3 → 0.1.5

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 (46) hide show
  1. package/README.md +0 -0
  2. package/dist/__tests__/classify.test.d.ts +0 -0
  3. package/dist/__tests__/classify.test.d.ts.map +0 -0
  4. package/dist/__tests__/classify.test.js +0 -0
  5. package/dist/__tests__/classify.test.js.map +0 -0
  6. package/dist/bin.d.ts +0 -0
  7. package/dist/bin.d.ts.map +0 -0
  8. package/dist/bin.js +0 -0
  9. package/dist/bin.js.map +0 -0
  10. package/dist/commands/audit.d.ts +0 -0
  11. package/dist/commands/audit.d.ts.map +0 -0
  12. package/dist/commands/audit.js +0 -0
  13. package/dist/commands/audit.js.map +0 -0
  14. package/dist/commands/classify.d.ts +0 -0
  15. package/dist/commands/classify.d.ts.map +0 -0
  16. package/dist/commands/classify.js +0 -0
  17. package/dist/commands/classify.js.map +0 -0
  18. package/dist/commands/doctor.d.ts +0 -0
  19. package/dist/commands/doctor.d.ts.map +0 -0
  20. package/dist/commands/doctor.js +0 -0
  21. package/dist/commands/doctor.js.map +0 -0
  22. package/dist/commands/drift.d.ts +0 -0
  23. package/dist/commands/drift.d.ts.map +0 -0
  24. package/dist/commands/drift.js +0 -0
  25. package/dist/commands/drift.js.map +0 -0
  26. package/dist/commands/init.d.ts +0 -0
  27. package/dist/commands/init.d.ts.map +0 -0
  28. package/dist/commands/init.js +0 -0
  29. package/dist/commands/init.js.map +0 -0
  30. package/dist/commands/setup.d.ts +0 -0
  31. package/dist/commands/setup.d.ts.map +0 -0
  32. package/dist/commands/setup.js +0 -0
  33. package/dist/commands/setup.js.map +0 -0
  34. package/dist/commands/validate.d.ts +0 -0
  35. package/dist/commands/validate.d.ts.map +0 -0
  36. package/dist/commands/validate.js +0 -0
  37. package/dist/commands/validate.js.map +0 -0
  38. package/dist/config.d.ts +0 -0
  39. package/dist/config.d.ts.map +0 -0
  40. package/dist/config.js +0 -0
  41. package/dist/config.js.map +0 -0
  42. package/dist/index.d.ts +0 -0
  43. package/dist/index.d.ts.map +0 -0
  44. package/dist/index.js +4 -2
  45. package/dist/index.js.map +0 -0
  46. package/package.json +7 -7
package/README.md CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/bin.d.ts CHANGED
File without changes
package/dist/bin.d.ts.map CHANGED
File without changes
package/dist/bin.js CHANGED
File without changes
package/dist/bin.js.map CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/config.d.ts CHANGED
File without changes
File without changes
package/dist/config.js CHANGED
File without changes
File without changes
package/dist/index.d.ts CHANGED
File without changes
File without changes
package/dist/index.js CHANGED
@@ -15,6 +15,8 @@ const validate_1 = require("./commands/validate");
15
15
  const audit_1 = require("./commands/audit");
16
16
  const drift_1 = require("./commands/drift");
17
17
  const classify_1 = require("./commands/classify");
18
+ const package_json_1 = require("../package.json");
19
+ const CLI_VERSION = package_json_1.version;
18
20
  const HELP = `
19
21
  charter - repo-level governance toolkit
20
22
 
@@ -55,7 +57,7 @@ async function run(args) {
55
57
  return exports.EXIT_CODE.SUCCESS;
56
58
  }
57
59
  if (args.includes('--version') || args.includes('-v')) {
58
- console.log('charter v0.1.0');
60
+ console.log(`charter v${CLI_VERSION}`);
59
61
  return exports.EXIT_CODE.SUCCESS;
60
62
  }
61
63
  const command = args[0];
@@ -96,4 +98,4 @@ function getFlag(args, flag) {
96
98
  }
97
99
  return undefined;
98
100
  }
99
- //# sourceMappingURL=index.js.map
101
+ //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackbilt/cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Charter CLI — repo-level governance checks",
5
5
  "bin": {
6
6
  "charter": "./dist/bin.js"
@@ -37,12 +37,12 @@
37
37
  "build": "pnpm exec tsc -p tsconfig.json"
38
38
  },
39
39
  "dependencies": {
40
- "@stackbilt/types": "workspace:*",
41
- "@stackbilt/core": "workspace:*",
42
- "@stackbilt/git": "workspace:*",
43
- "@stackbilt/classify": "workspace:*",
44
- "@stackbilt/validate": "workspace:*",
45
- "@stackbilt/drift": "workspace:*"
40
+ "@stackbilt/types": "^0.1.3",
41
+ "@stackbilt/core": "^0.1.3",
42
+ "@stackbilt/git": "^0.1.4",
43
+ "@stackbilt/classify": "^0.1.4",
44
+ "@stackbilt/validate": "^0.1.4",
45
+ "@stackbilt/drift": "^0.1.4"
46
46
  },
47
47
  "license": "Apache-2.0"
48
48
  }