lalph 0.3.19 → 0.3.21

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/dist/cli.mjs CHANGED
@@ -151449,7 +151449,9 @@ const issueSourceRuntime = atomRuntime(CurrentIssueSource.layer.pipe(orDie$3));
151449
151449
  const currentIssuesAtom = family((projectId) => pipe(issueSourceRuntime.atom(fnUntraced(function* (get) {
151450
151450
  const issues = yield* pipe((yield* IssueSource).issues(projectId), withSpan("currentIssuesAtom.refresh"));
151451
151451
  const handle = setTimeout(() => {
151452
- get.refreshSelf();
151452
+ try {
151453
+ get.refreshSelf();
151454
+ } catch {}
151453
151455
  }, 3e4);
151454
151456
  get.addFinalizer(() => clearTimeout(handle));
151455
151457
  return issues;
@@ -152314,7 +152316,7 @@ const GitFlowCommit = effect$1(GitFlow, gen(function* () {
152314
152316
  - Include \`References ${options.taskId}\` in each commit message.
152315
152317
  - **DO NOT** commit any of the files in the \`.lalph\` directory.`,
152316
152318
  reviewInstructions: `You are already on the branch with their changes.
152317
- After making any changes, **you have to commit them** to the same branch.
152319
+ After making any changes, **you must** commit them to the same branch.
152318
152320
  But you **do not** need to git push your changes or switch branches.
152319
152321
 
152320
152322
  - Include \`References {task id}\` in each commit message.
@@ -152872,7 +152874,7 @@ const commandSource = make$36("source").pipe(withDescription("Select the issue s
152872
152874
 
152873
152875
  //#endregion
152874
152876
  //#region package.json
152875
- var version = "0.3.19";
152877
+ var version = "0.3.21";
152876
152878
 
152877
152879
  //#endregion
152878
152880
  //#region src/commands/projects/ls.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lalph",
3
3
  "type": "module",
4
- "version": "0.3.19",
4
+ "version": "0.3.21",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -171,7 +171,11 @@ export const currentIssuesAtom = Atom.family((projectId: ProjectId) =>
171
171
  Effect.withSpan("currentIssuesAtom.refresh"),
172
172
  )
173
173
  const handle = setTimeout(() => {
174
- get.refreshSelf()
174
+ try {
175
+ get.refreshSelf()
176
+ } catch {
177
+ // ignore - if the atom is no longer in use, refreshing will throw an error, which we can safely ignore
178
+ }
175
179
  }, 30_000)
176
180
  get.addFinalizer(() => clearTimeout(handle))
177
181
  return issues
package/src/GitFlow.ts CHANGED
@@ -130,7 +130,7 @@ export const GitFlowCommit = Layer.effect(
130
130
  - **DO NOT** commit any of the files in the \`.lalph\` directory.`,
131
131
 
132
132
  reviewInstructions: `You are already on the branch with their changes.
133
- After making any changes, **you have to commit them** to the same branch.
133
+ After making any changes, **you must** commit them to the same branch.
134
134
  But you **do not** need to git push your changes or switch branches.
135
135
 
136
136
  - Include \`References {task id}\` in each commit message.