@sentry/junior 0.4.1 → 0.6.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/bin/junior.mjs CHANGED
@@ -36,6 +36,15 @@ async function runInit(dir) {
36
36
  await runInitFn(dir);
37
37
  }
38
38
 
39
+ async function runCheck(dir) {
40
+ const runCheckFn = await loadCliFunction(
41
+ "check",
42
+ "runCheck",
43
+ "Check module is unavailable; reinstall @sentry/junior and retry."
44
+ );
45
+ await runCheckFn(dir);
46
+ }
47
+
39
48
  async function main() {
40
49
  const runCli = await loadCliFunction(
41
50
  "run",
@@ -44,7 +53,8 @@ async function main() {
44
53
  );
45
54
  const exitCode = await runCli(positionals, {
46
55
  runInit,
47
- runSnapshotCreate
56
+ runSnapshotCreate,
57
+ runCheck
48
58
  });
49
59
  if (exitCode !== 0) {
50
60
  process.exit(exitCode);
@@ -4,10 +4,12 @@ import {
4
4
  createNormalizingStream,
5
5
  resetBotDepsForTests,
6
6
  setBotDepsForTests
7
- } from "./chunk-RFUE5VBK.js";
8
- import "./chunk-OZFXD5IG.js";
9
- import "./chunk-PY4AI2GZ.js";
7
+ } from "./chunk-QNOV65P4.js";
8
+ import "./chunk-KT5HARSN.js";
9
+ import "./chunk-5UJSQX4R.js";
10
10
  import "./chunk-Z5E25LRN.js";
11
+ import "./chunk-PY4AI2GZ.js";
12
+ import "./chunk-VW26MOSO.js";
11
13
  export {
12
14
  appSlackRuntime,
13
15
  bot,